Fix math/test-fenvinline for no-exceptions configurations.
[glibc.git] / ChangeLog
blob70b643542b433770a250a77dfd832c9a856909a7
1 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3         * math/test-fenvinline.c (do_test): Disable tests of raised
4         exceptions if !EXCEPTION_TESTS (FLOAT).
6 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8         [BZ #19390]
9         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10         maximum string size.
11         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
12         in pointer addition.
13         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
14         Likewise.
16 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
18         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
19         passed to tst-ldconfig-X.sh.
21 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
23         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
25 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
27         [BZ #21019]
28         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
29         New syscall entry.
30         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
31         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
32         lseek.
34         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
35         power4 glibc for powerpc-linux-gnu.
37 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
39         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
40         semctl.
42 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
44         * math/test-nearbyint-except.c: Include <stdbool.h>.
45         (any_supported): New variable.
46         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
47         set any_supported.
48         (do_test): Return 77 if no floating-point type supported
49         exceptions.
51         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
52         condition on [__mips_hard_float].
54 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
56         [BZ #21014]
57         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
58         in pointer addition.
59         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
61 2017-01-02  Torvald Riegel  <triegel@redhat.com>
63         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
64         new condvar.
66 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
68         * scripts/build-many-glibcs.py (Context.checkout): Default
69         binutils version to 2.28 branch.
71 2017-01-01  Florian Weimer  <fweimer@redhat.com>
73         * support/support_format_netent.c (support_format_netent): Work
74         around alpha struct netent definition difference.
76 2017-01-01  Florian Weimer  <fweimer@redhat.com>
78         * support/xwrite.c (xwrite): Use %td for pointer difference.
80 2017-01-01  Florian Weimer  <fweimer@redhat.com>
82         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
83         have-tunables only.
84         (tests-static): Add tst-malloc-usable-static-tunables for
85         have-tunables only.
87 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
89         * scripts/config.guess: Update to version 2017-01-01.
90         * scripts/config.sub: Update to version 2017-01-01.
92         * NEWS: Update copyright dates.
93         * catgets/gencat.c (print_version): Likewise.
94         * csu/version.c (banner): Likewise.
95         * debug/catchsegv.sh: Likewise.
96         * debug/pcprofiledump.c (print_version): Likewise.
97         * debug/xtrace.sh (do_version): Likewise.
98         * elf/ldconfig.c (print_version): Likewise.
99         * elf/ldd.bash.in: Likewise.
100         * elf/pldd.c (print_version): Likewise.
101         * elf/sotruss.sh: Likewise.
102         * elf/sprof.c (print_version): Likewise.
103         * iconv/iconv_prog.c (print_version): Likewise.
104         * iconv/iconvconfig.c (print_version): Likewise.
105         * locale/programs/locale.c (print_version): Likewise.
106         * locale/programs/localedef.c (print_version): Likewise.
107         * login/programs/pt_chown.c (print_version): Likewise.
108         * malloc/memusage.sh (do_version): Likewise.
109         * malloc/memusagestat.c (print_version): Likewise.
110         * malloc/mtrace.pl: Likewise.
111         * manual/libc.texinfo: Likewise.
112         * nptl/version.c (banner): Likewise.
113         * nscd/nscd.c (print_version): Likewise.
114         * nss/getent.c (print_version): Likewise.
115         * nss/makedb.c (print_version): Likewise.
116         * posix/getconf.c (main): Likewise.
117         * scripts/test-installation.pl: Likewise.
118         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
120         * All files with FSF copyright notices: Update copyright dates
121         using scripts/update-copyrights.
122         * intl/plural.c: Regenerated.
123         * locale/programs/charmap-kw.h: Likewise.
124         * locale/programs/locfile-kw.h: Likewise.
126 2016-12-31  Florian Weimer  <fweimer@redhat.com>
128         [BZ #20593]
129         Update DNS RR type definitions.
130         * scripts/gen-rrtypes.py: New file.
131         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
132         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
133         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
134         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
135         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
136         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
137         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
138         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
139         ns_t_ta, ns_t_dlv.
140         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
141         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
142         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
143         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
144         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
145         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
146         Define.
147         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
148         entry for ns_t_zxfr.
150 2016-12-31  Florian Weimer  <fweimer@redhat.com>
152         [BZ #18784]
153         CVE-2015-5180
154         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
155         T_UNSPEC.  Adjust value.
156         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
157         * resolv/res_query.c (__libc_res_nquery): Likewise.
158         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
159         QTYPEs.
160         * resolv/tst-resolv-qtypes.c: New file.
161         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
162         (tst-resolv-qtypes): Link against libresolv and libpthread.
164 2016-12-31  Florian Weimer  <fweimer@redhat.com>
166         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
168 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
170         * manual/tunables.texi: New chapter.
171         * manual/Makefile (chapters): Add it.
172         * manual/probes.texi (@node): Point to the Tunables chapter.
174         * Makeconfig (have-tunables): Check for non-negative instead
175         of positive.
176         * configure.ac: Add 'valstring' as a valid value for
177         --enable-tunables.
178         * configure: Regenerate.
179         * elf/Makefile (have-tunables): Check for non-negative instead
180         of positive.
181         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
182         dl-tunables.c.
183         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
184         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
185         (tunables_strdup): Likewise.
186         (disable_tunables): Likewise.
187         (parse_tunables): Likewise.
188         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
189         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
190         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
191         (TUNABLES_FRONTEND_yes): New macro, define as
192         TUNABLES_FRONTEND_valstring by default.
193         * manual/install.texi: Document new acceptable values for
194         --enable-tunables.
195         * INSTALL: Regenerate.
197         * config.make.in (have-loop-to-function): Define.
198         * elf/Makefile (CFLAGS-dl-tunables.c): Add
199         -fno-tree-loop-distribute-patterns.
200         * elf/dl-tunables.c: Include libc-internals.h.
201         (GLIBC_TUNABLES): New macro.
202         (tunables_strdup): New function.
203         (parse_tunables): New function.
204         (min_strlen): New function.
205         (__tunables_init): Use the new functions and macro.
206         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
207         * malloc/tst-malloc-usable-tunables.c: New test case.
208         * malloc/tst-malloc-usable-static-tunables.c: New test case.
209         * malloc/Makefile (tests, tests-static): Add tests.
211         * manual/install.texi: Add --enable-tunables option.
212         * INSTALL: Regenerate.
213         * README.tunables: New file.
214         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
215         (before-compile): Generate dl-tunable-list.h early.
216         * config.h.in: Add HAVE_TUNABLES.
217         * config.make.in: Add have-tunables.
218         * configure.ac: Add --enable-tunables option.
219         * configure: Regenerate.
220         * csu/init-first.c (__libc_init_first): Move
221         __libc_init_secure earlier...
222         * csu/init-first.c (LIBC_START_MAIN):... to here.
223         Include dl-tunables.h, libc-internal.h.
224         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
225         binaries.
226         * elf/Makefile (dl-routines): Add dl-tunables.
227         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
228         namespace.
229         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
230         only when !HAVE_TUNABLES.
231         * elf/rtld.c (process_envvars): Likewise.
232         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
233         (_dl_sysdep_start): Call __tunables_init.
234         * elf/dl-tunable-types.h: New file.
235         * elf/dl-tunables.c: New file.
236         * elf/dl-tunables.h: New file.
237         * elf/dl-tunables.list: New file.
238         * malloc/tst-malloc-usable-static.c: New test case.
239         * malloc/Makefile (tests-static): Add it.
240         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
241         Define TUNABLE_NAMESPACE.
242         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
243         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
244         callback functions.
245         (ptmalloc_init): Set tunable values.
246         * scripts/gen-tunables.awk: New file.
247         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
248         (_dl_sysdep_start): Call __tunables_init.
250 2016-12-31  Florian Weimer  <fweimer@redhat.com>
252         * resolv/resolv.h (RES_BLAST): Deprecate.
253         * resolv/res_debug.c (p_option): Remove RES_BLAST.
254         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
255         to RES_BLAST.
257 2016-12-27  Florian Weimer  <fweimer@redhat.com>
259         [BZ #19582]
260         Deprecate RES_USE_INET6.
261         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
262         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
263         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
264         RES_USE_INET6.
265         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
266         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
267         (_nss_nisplus_gethostbyaddr_r): Likewise.
268         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
269         of res_use_inet6.
270         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
271         instead of RES_USE_INET6.
272         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
273         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
274         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
275         Likewise.
276         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
277         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
278         Likewise.
279         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
280         (_nss_dns_gethostbyname_r): Likewise.
281         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
282         alternate RES_USE_INET6 handling.
283         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
284         instead of RES_USE_INET6.
285         * resolv/res_init.c (res_setoptions): Likewise.
286         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
287         * resolv/resolv-internal.h: New file.
288         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
289         make the deprecation warning non-fatal.
290         * resolv/README (Using the resolver in multi-threaded code): Drop
291         reference to RES_USE_INET6.
292         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
293         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
295 2016-12-31  Florian Weimer  <fweimer@redhat.com>
297         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
298         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
299         tst-resolv-search.
300         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
301         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
302         with libresolv and libpthread.
303         * resolv/tst-bug18665.c: New file.
304         * resolv/tst-bug18665-tcp: Likewise.
305         * resolv/tst-res_use_inet6: Likewise.
306         * resolv/tst-resolv-basic: Likewise.
307         * resolv/tst-resolv-network: Likewise.
308         * resolv/tst-resolv-search: Likewise.
309         * support/Makefile (libsupport-routines): Add check_addrinfo,
310         check_dns_packet, check_hostent, check_netent, resolv_test,
311         support_format_address_family, support_format_addrinfo,
312         support_format_dns_packet, support_format_herrno,
313         support_format_hostent, support_format_netent, support_run_diff,
314         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
315         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
316         xstrdup, xwrite.
317         * support/check_addrinfo.c: New file.
318         * support/check_dns_packet.c: Likewise.
319         * support/check_hostent.c: Likewise.
320         * support/check_netent.c: Likewise.
321         * support/check_nss.h: Likewise.
322         * support/format_nss.h: Likewise.
323         * support/resolv_test.c: Likewise.
324         * support/resolv_test.h: Likewise.
325         * support/run_diff.h: Likewise.
326         * support/support_format_address_family.c: Likewise.
327         * support/support_format_addrinfo.c: Likewise.
328         * support/support_format_dns_packet.c: Likewise.
329         * support/support_format_herrno.c: Likewise.
330         * support/support_format_hostent.c: Likewise.
331         * support/support_format_netent.c: Likewise.
332         * support/support_run_diff.c: Likewise.
333         * support/xaccept.c: Likewise.
334         * support/xbind.c: Likewise.
335         * support/xconnect.c: Likewise.
336         * support/xfclose.c: Likewise.
337         * support/xfopen.c: Likewise.
338         * support/xgetsockname.c: Likewise.
339         * support/xlisten.c: Likewise.
340         * support/xmemstream.c: Likewise.
341         * support/xmemstream.h: Likewise.
342         * support/xpoll.c: Likewise.
343         * support/xpthread_once.c: Likewise.
344         * support/xrecvfrom.c: Likewise.
345         * support/xsendto.c: Likewise.
346         * support/xsetsockopt.c: Likewise.
347         * support/xstdio.h: Likewise.
348         * support/xstrdup.c: Likewise.
349         * support/support.h (xstrdup): Declare.
350         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
351         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
352         * support/xthread.h (xpthread_once): Likwise.
353         * support/xunistd.h (xwrite): Declare.
355 2016-12-31  Florian Weimer  <fweimer@redhat.com>
357         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
358         (test_verbose): Declare.
359         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
360         * support/support_test_main.c (default_options): Likewise.
361         (usage, support_test_main): Handle 'v'.
362         (test_verbose): Define.
363         * support/tst-support_record_failure.c (do_test): Use
364         test_verbose.
365         * support/tst-support_record_failure-2.sh (different_status): Add
366         --verbose test.
368 2016-12-31  Florian Weimer  <fweimer@redhat.com>
370         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
371         test failures are recorded.
372         * support/check.c (support_print_failure_impl): Call
373         support_record_failure.
374         (support_exit_failure_impl): Call support_record_failure if status
375         indicates failure.
376         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
377         * support/xasprintf.c (xasprintf): Likewise.
378         * support/xfork.c (xfork): Likewise.
379         * support/xpthread_check_return.c (xpthread_check_return):
380         Likewise.
381         * support/xsocket.c (xsocket): Likeweise.
382         * support/xwaitpid.c (xwaitpid): Likewise.
383         * support/support_record_failure.c (struct test_failures): Adjust
384         to coding style.
385         * support/support_test_verify_impl.c (support_test_verify_impl):
386         Adjust error messages.
387         * support/tst-support_record_failure-2.sh (different_status):
388         Adjust error messages.
390 2016-12-31  Florian Weimer  <fweimer@redhat.com>
392         * support/namespace.h: New file.
393         * support/support_become_root.c: Likewise.
394         * support/support_enter_network_namespace.c: Likewise.
395         * support/tst-support-namespace.c: Likewise.
396         * support/xsocket.c: Likewise.
397         * support/xsocket.h: Likewise.
398         * support/Makefile (libsupport-routines): Add support_become_root,
399         support_enter_network_namespace, xsocket.
400         (tests): Add tst-support-namespace.
402 2016-12-31  Florian Weimer  <fweimer@redhat.com>
404         [BZ #17252]
405         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
406         __USE_GNU.
408 2016-12-31  Torvald Riegel  <triegel@redhat.com>
410         [BZ #13165]
411         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
412         use new algorithm.
413         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
414         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
415         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
416         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
417         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
418         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
419         __condvar_cleanup_waiting, __condvar_dec_grefs,
420         __pthread_cond_wait_common): New.
421         (__condvar_cleanup): Remove.
422         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
423         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
424         Likewise.
425         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
426         Likewise.
427         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
428         * nptl/tst-cond1.c: Add comment.
429         * nptl/tst-cond20.c (do_test): Adapt.
430         * nptl/tst-cond22.c (do_test): Likewise.
431         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
432         structure.
433         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
434         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
435         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
436         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
437         Likewise.
438         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
439         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
440         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
441         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
442         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
443         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
444         Likewise.
445         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
446         Likewise.
447         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
448         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
449         (COND_CLOCK_BITS): Adapt.
450         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
451         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
452         __PTHREAD_COND_SHARED_MASK): New.
453         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
454         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
455         * nptl/nptl_lock_constants.pysym: Adapt.
456         * nptl/test-cond-printers.py: Adapt.
457         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
458         cond_compat_check_and_clear): Adapt.
459         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
460         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
461         (__pthread_cond_timedwait): ... and move here.
462         * nptl/DESIGN-condvar.txt: Remove file.
463         * nptl/lowlevelcond.sym: Likewise.
464         * nptl/pthread_cond_timedwait.c: Likewise.
465         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
466         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
467         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
468         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
469         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
470         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
471         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
472         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
473         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
474         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
475         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
476         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
477         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
478         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
479         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
480         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
482 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
484         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
485         (fromfp): New declaration.
486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
489         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
494         * math/math.h: Include <bits/types.h>.
495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
496         constant and macro.
497         (FP_INT_DOWNWARD): Likewise.
498         (FP_INT_TOWARDZERO): Likewise.
499         (FP_INT_TONEARESTFROMZERO): Likewise.
500         (FP_INT_TONEAREST): Likewise.
501         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
502         (fromfpf): Likewise.
503         (fromfpl): Likewise.
504         (ufromfp): Likewise.
505         (ufromfpf): Likewise.
506         (ufromfpl): Likewise.
507         (fromfpx): Likewise.
508         (fromfpxf): Likewise.
509         (fromfpxl): Likewise.
510         (ufromfpx): Likewise.
511         (ufromfpxf): Likewise.
512         (ufromfpxl): Likewise.
513         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
514         s_fromfpxF and s_ufromfpxF.
515         * math/gen-fromfp-tests.py: New file.
516         * math/gen-fromfp-tests-inputs: Likewise.
517         * math/libm-test.inc: Include <stdint.h>
518         (check_intmax_t): New function.
519         (check_uintmax_t): Likewise.
520         (struct test_fiu_M_data): New type.
521         (struct test_fiu_U_data): Likewise.
522         (RUN_TEST_fiu_M): New macro.
523         (RUN_TEST_LOOP_fiu_M): Likewise.
524         (RUN_TEST_fiu_U): Likewise.
525         (RUN_TEST_LOOP_fiu_U): Likewise.
526         (fromfp_test_data): New array.
527         (fromfp_test): New function.
528         (fromfpx_test_data): New array.
529         (fromfpx_test): New function.
530         (ufromfp_test_data): New array.
531         (ufromfp_test): New function.
532         (ufromfpx_test_data): New array.
533         (ufromfpx_test): New function.
534         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
535         ufromfpx_test.
536         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
537         characters.
538         * math/test-tgmath-ret.c: Include <stdint.h>.
539         (rm): New variable.
540         (width): Likewise.
541         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
542         called function.
543         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
544         CHECK_RET_CONST_TYPE.
545         (CHECK_RET_CONST_DOUBLE): Likewise.
546         (CHECK_RET_CONST_LDOUBLE): Likewise.
547         (CHECK_RET_CONST): Take extra arguments and pass them to calls
548         macros.
549         (fromfp): New CHECK_RET_CONST call.
550         (ufromfp): Likewise.
551         (fromfpx): Likewise.
552         (ufromfpx): Likewise.
553         (do_test): Call check_return_fromfp, check_return_ufromfp,
554         check_return_fromfpx and check_return_ufromfpx.
555         * math/test-tgmath.c: Include <stdint.h>
556         (NCALLS): Increase to 138.
557         (F(compile_test)): Initialize i.  Call fromfp functions.
558         (F(fromfp)): New function.
559         (F(fromfpx)): Likewise.
560         (F(ufromfp)): Likewise.
561         (F(ufromfpx)): Likewise.
562         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
563         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
564         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
565         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
566         ufromfpxl.
567         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
568         ufromfp and ufromfpx.
569         * math/fromfp.h: New file.
570         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
571         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
572         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
573         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
574         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
575         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
576         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
577         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
578         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
579         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
580         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
581         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
582         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
583         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
584         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
585         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
586         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
587         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
588         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
589         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
590         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
591         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
592         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
593         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
594         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
595         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
596         ufromfp, fromfpx and ufromfpx.
597         (CFLAGS-nldbl-fromfp.c): New variable.
598         (CFLAGS-nldbl-fromfpx.c): Likewise.
599         (CFLAGS-nldbl-ufromfp.c): Likewise.
600         (CFLAGS-nldbl-ufromfpx.c): Likewise.
601         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
602         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
603         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
604         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
605         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
606         * sysdeps/nacl/libm.abilist: Update.
607         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
609         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
610         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
611         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
612         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
613         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
614         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
615         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
616         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
617         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
618         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
620         Likewise.
621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
622         Likewise.
623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
624         Likewise.
625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
626         Likewise.
627         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
628         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
629         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
630         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
631         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
633         Likewise.
634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
635         Likewise.
636         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
637         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
638         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
640 2016-12-30  Florian Weimer  <fweimer@redhat.com>
642         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
643         compat-gethnamaddr.
644         (CPPFLAGS): Remove.
645         * resolv/gethnamaddr.c: Rename ...
646         * resolv/compat-gethnamaddr.c: ... to this file.
647         (_endhtent): Make static.
648         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
649         symbol.
650         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
651         compat symbol.
652         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
653         symbol.
654         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
655         Turn into compat symbol.
656         * include/resolv.h (_endhtent): Remove declaration.
658 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
660         * bits/types.h (__intmax_t): New typedef.
661         (__uintmax_t): Likewise.
662         * sysdeps/generic/stdint.h: Include <bits/types.h>.
663         (intmax_t): Define using __intmax_t.
664         (uintmax_t): Define using __uintmax_t.
666         * support/Makefile (tests-special): Make definition conditional on
667         [$(run-built-tests) = yes].
668         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
669         on [$(run-built-tests) = yes].
671 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
673         * Rules (tests): Add tests-printers-programs to tests to be
674         built.
676 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
678         * sysvipc/Makefile (tests): Add test-sysvshm.
679         * sysvipc/test-sysvshm.c: New file.
681         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
682         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
683         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
684         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
685         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
686         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
687         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
688         Likewise.
689         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
690         Likewise.
691         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
692         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
693         is defined.
695         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
696         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
697         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
698         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
699         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
700         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
701         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
702         Likewise.
703         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
704         Likewise.
705         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
706         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
707         defined.
709         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
710         oldshmctl.
711         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
712         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
713         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
714         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
715         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
716         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
717         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
718         Likewise.
719         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
720         Likewise.
721         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
722         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
723         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
724         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
725         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
726         implementation.
727         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
728         if it is defined.
730         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
731         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
732         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
733         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
734         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
735         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
736         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
737         Likewise.
738         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
739         Likewise.
740         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
741         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
742         Define to __NR_osf_shmat.
743         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
744         defined.
746         * sysvipc/Makefile (tests): Add test-sysvsem.
747         * sysvipc/test-sysvsem.c: New file.
749         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
750         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
751         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
752         Likewise.
753         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
754         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
755         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
756         Likewise.
757         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
758         Likewise.
759         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
760         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
761         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
762         add a comment about s390 syscall difference from default one.
763         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
764         syscall if it is defined.
766         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
767         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
768         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
769         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
770         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
771         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
772         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
773         Likewise.
774         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
775         Likewise.
776         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
777         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
778         defined.
780         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
781         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
782         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
783         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
784         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
785         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
786         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
787         Likewise.
788         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
789         Likewise.
790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
791         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
792         if it is defined.
794         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
795         oldsemctl.
796         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
797         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
798         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
799         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
800         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
801         implementation.
802         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
803         syscall if it is defined.
804         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
805         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
806         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
807         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
808         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
809         Likewise.
810         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
812         * sysvipc/Makefile (tests): Add test-sysvmsg.
813         * sysvipc/test-sysvmsg.c: New file.
814         * support/check.h (FAIL_UNSUPPORTED): New define.
816         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
817         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
818         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
819         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
820         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
821         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
822         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
823         Likewise.
824         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
825         Likewise.
826         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
827         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
828         define.
830         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
831         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
832         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
833         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
834         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
835         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
836         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
837         Likewise.
838         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
839         Likewise.
840         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
841         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
842         if defined.
844         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
845         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
846         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
847         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
848         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
849         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
850         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
851         Likewise.
852         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
853         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
854         Likewise.
855         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
856         if defined.
857         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
859         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
860         oldmsgctl.
861         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
862         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
863         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
864         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
865         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
866         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
867         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
868         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
869         Likewise.
870         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
871         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
872         implementation.
873         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
874         if defined.
876         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
877         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
878         definition and define its own.
879         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
880         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
881         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
882         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
883         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
884         definitions to common header.
885         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
886         operation from ipc_ops.h.
888         * sysdeps/unix/sysv/linux/kernel-features.h
889         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
890         * sysdeps/unix/sysv/linux/i386/kernel-features.h
891         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
892         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
893         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
894         * sysdeps/unix/sysv/linux/mips/kernel-features.h
895         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
896         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
897         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
898         * sysdeps/unix/sysv/linux/s390/kernel-features.h
899         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
900         * sysdeps/unix/sysv/linux/sh/kernel-features.h
901         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
902         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
903         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
905 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
907         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
908         overflow in pointer addition.
910 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
912         * sysdeps/powerpc/powerpc64/multiarch/Makefile
913         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
915         (strchr): Add __strchr_power8 to list of strchr functions.
916         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
917         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
918         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
919         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
920         (strchr): Add __strchr_power8 to ifunc list.
921         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
922         (__strchrnul): Add __strchrnul_power8 to ifunc list.
923         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
924         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
926 2016-12-28  Florian Weimer  <fweimer@redhat.com>
928         * support/Makefile (libsupport-routines): Add
929         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
930         (tests): Add tst-support_record_failure.
931         (tests-special): tst-support_record_failure-2.
932         (tst-support_record_failure-2.out): Depend on
933         tst-support_record_failure-2.sh and tst-support_record_failure.
934         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
935         (support_test_verify_impl, support_record_failure)
936         (support_report_failure, support_report_failure_reset): Declare.
937         * support/support_test_main.c (adjust_exit_status): New function.
938         (support_test_main): Call it to incorporate record test failures.
939         * support/support_test_verify_impl.c: New file.
940         * support/support_record_failure.c: Likewise.
941         * support/tst-support_record_failure.c: Likewise.
942         * support/tst-support_record_failure-2.sh: Likewise.
943         * support/xunistd.h: Likewise.
944         * support/xfork.c: Likewise.
945         * support/xwaitpid.c: Likewise.
947 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
949         * scripts/check-c++-types.sh: Add comments.
951 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
953         [BZ #19514]
954         * resolv/res_send.c: Fix typo in comment.
955         * sysdeps/i386/i386-mcount.S: Likewise.
956         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
957         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
958         * sysdeps/sparc/sparc-mcount.S: Likewise.
960 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
962         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
963         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
964         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
965         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
966         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
967         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
968         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
969         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
971 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
973         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
975 2016-12-27  Florian Weimer  <fweimer@redhat.com>
977         [BZ #17252]
978         * posix/unistd.h (getentropy): Declare.
980 2016-12-27  Florian Weimer  <fweimer@redhat.com>
982         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
983         Remove.
984         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
985         (cmd): Remove spoof, nospoof, spoofalert.
986         (parse_line): Ignore spoof-related lines.
987         (do_init): Do not process RESOLV_SPOOF_CHECK.
989 2016-12-27  Florian Weimer  <fweimer@redhat.com>
991         [BZ #20964]
992         sunrpc: Always obtain AF_INET addresses from NSS.
993         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
994         * sunrpc/rpc_gethostbyname.c: New file.
995         * sunrpc/Makefile (routines): Add it.
996         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
997         * sunrpc/clnt_simp.c (callrpc): Likewise.
998         * sunrpc/getrpcport.c (getrpcport): Likewise.
1000 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1002         * sunrpc/rpcinfo.c: Remove.
1003         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1005 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1007         [BZ# 19387]
1008         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1009         addition.
1010         * string/test-memchr.c (do_test): Remove alignment limitation.
1011         (test_main): Add test that trigger BZ# 19387.
1013 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1015         [BZ #7065]
1016         Enable stack protectore if requested by ./configure.
1017         * Makeconfig (+stack-protector): New variable.
1018         (+cflags): Use it.
1020 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1022         [BZ #7065]
1023         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1024         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1025         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1026         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1027         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1029 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1031         [BZ #7065]
1032         * login/Makefile (pt_chown-cflags): Remove.
1033         * nscd/Makefile (CFLAGS-nscd): Likewise.
1034         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1036 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1038         [BZ #7065]
1039         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1040         non-libc-linking testcase.
1042 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1043             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1044             Florian Weimer  <fweimer@redhat.com>
1046         [BZ #7065]
1047         PLT avoidance for __stack_chk_fail*.
1048         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1049         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1050         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1051         __stack_chk_fail_local alias.
1052         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1053         (__stack_chk_fail): Turn into hidden reference to
1054         __stack_chk_fail_local.
1056 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1058         [BZ #7065]
1059         * configure.ac: Add check for unsupported stack-protection level.
1060         (libc_cv_predef_stack_protector): Remove.
1061         (no_ssp): New variable.
1062         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1063         (stack_protector): Set to -fno-stack-protector similarly.
1064         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1065         (libc_cv_asm_set_directive): Likewise.
1066         (libc_cv_protected_data): Likewise.
1067         (libc_cv_z_combreloc): Likewise.
1068         (libc_cv_hashstyle): Likewise.
1069         (libc_cv_has_glob_dat): Likewise.
1070         (libc_cv_output_format): Likewise.
1071         (libc_cv_output_format): Likewise.
1072         (libc_cv_ehdr_start): Likewise.
1073         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1074         (LIBC_LINKER_FEATURE): Likewise.
1075         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1077 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1079         [BZ #7065]
1080         * elf/Makefile (dummy-stack-chk-fail): New.
1081         (librtld.map): Use it.
1083 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1085         [BZ #7065]
1086         Compile the dynamic linker without stack protection.
1087         * elf/Makefile (elide-stack-protector): New.
1088         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1089         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1090         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1091         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1093 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1095         [BZ #7065]
1096         * config.make.in (have-ssp, no-stack-protector): New.
1097         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1098         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1099         (CFLAGS-sbrk.op): Likewise.
1100         (CFLAGS-brk.o): Likewise.
1101         (CFLAGS-brk.op): Likewise.
1102         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1103         (CFLAGS-wordcopy.c): Likewise.
1105 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1107         [BZ #7065]
1108         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1109         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1110         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1111         (__ifunc_resolver): Use it.
1112         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1113         inhibit_stack_protector.
1114         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1115         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1116         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1117         (foo_protected_ifunc): Likewise.
1118         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1119         (foo_protected_ifunc): Likewise.
1120         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1121         * sysdeps/nacl/nacl_interface_query.c
1122         (nacl_interface_query_ifunc): Likewise.
1123         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1124         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1125         Likewise.
1126         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1127         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1128         the generated vDSO syscall resolver.
1130 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1131             Florian Weimer  <fweimer@redhat.com>
1133         [BZ #7065]
1134         Initialize the stack guard earlier when linking statically.
1135         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1136         (__pthread_initialize_minimal): Declare.
1137         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1138         declaration.
1139         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1140         stack canary and apply_irel initialization up.  Call
1141         __pthread_initialize_minimal only if linked in.
1142         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1143         constant values.
1144         (__pthread_initialize_minimal): Remove.
1145         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1146         (__pthread_initialize_minimal_internal): Do not call
1147         __libc_setup_tls.
1149 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1151         [BZ #7065]
1152         * configure.ac (libc_cv_ssp): Move up.
1153         (libc_cv_ssp_strong): Likewise.
1154         (libc_cv_ssp_all): New.
1155         (stack_protector): Augment, adding -fstack-protector-all.
1156         (no_stack_protector): New.
1157         (STACK_PROTECTOR_LEVEL): New.
1158         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1159         * manual/install.texi (--enable-stack-protector): Document it.
1160         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1162 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1164         * README.pretty-printers: Must specify CPPFLAGS-* also.
1165         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1166         (CPPFLAGS-test-mutex-printers.c): Define.
1167         (CPPFLAGS-test-condattr-printers.c): Define.
1168         (CPPFLAGS-test-cond-printers.c): Define.
1169         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1170         (CPPFLAGS-test-rwlock-printers.c): Define.
1172         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1173         (tests): Add tst-cancel-getpwuid_r.
1174         * nss/tst-cancel-getpwuid_r.c: New file.
1176         [BZ #11941]
1177         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1178         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1179         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1180         tst-nodelete-dlclose.
1181         (modules-names): Add tst-nodelete-dlclose-dso and
1182         tst-nodelete-dlclose-plugin.
1183         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1184         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1185         ($(objpfx)tst-nodelete-dlclose): Define.
1186         ($(objpfx)tst-nodelete-dlclose.out): Define.
1188 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1190         * scripts/test_printers_common.py: Log GDB output in case of
1191         Python detection failure.
1193 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1195         * configure.ac: Check for python3 or python.
1196         * configure: Regenerated.
1197         * config.make.in (PYTHON): New variable.
1198         * benchtests/Makefile: Don't define PYTHON.
1199         (bench): Define target only if PYTHON was defined.
1200         * Rules: Don't define PYTHON.
1201         Define pretty printer targets only if PYTHON was defined.
1202         (tests-printers): Add to tests-unsupported if PYTHON is not
1203         found.
1204         (python-flags, python-invoke): Remove.
1205         (tests-printers-out): Use PYTHON instead of python-invoke.
1207 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1209         [BZ #20978]
1210         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1211         Compare name == NULL, not name != NULL.
1213         * manual/texinfo.tex: Update to version 2016-09-18.18 with
1214         trailing whitespace removed.
1215         * scripts/config.guess: Update to version 2016-10-02.
1216         * scripts/config.sub: Update to version 2016-11-19.
1217         * scripts/install-sh: Update to version 2016-01-11.22.
1218         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1219         * scripts/move-if-change: Update to version 2016-01-11 22:04.
1221 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
1223         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1224         (do_one_test) Restore original string so iteration works.
1225         * string/string-inlines.c (do_test): Create better input strings.
1226         (test_main) Reduce number of testruns.
1227         * string/string-inlines.c (__old_strsep_1c): New function.
1228         (__old_strsep_2c): Likewise.
1229         (__old_strsep_3c): Likewise.
1230         * string/strsep.c (__strsep): Remove case of small delim string.
1231         Call strcspn directly rather than strpbrk.
1232         * string/bits/string2.h (__strsep): Remove define.
1233         (__strsep_1c): Remove.
1234         (__strsep_2c): Remove.
1235         (__strsep_3c): Remove.
1236         (strsep): Remove.
1237         * sysdeps/unix/sysv/linux/internal_statvfs.c
1238         (__statvfs_getflags): Rename to __strsep.
1240 2016-12-21  Florian Weimer  <fweimer@redhat.com>
1242         * csu/libc-tls.c (_dl_tls_setup): Remove.
1243         * elf/dl-tls.c (_dl_tls_setup): Likewise.
1244         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1245         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1247 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1249         [BZ #7065]
1250         * sysdeps/x86_64/Makefile [$(subdir) = elf]
1251         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1253 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1254             Florian Weimer  <fweimer@redhat.com>
1256         [BZ #7065]
1257         * csu/Makefile (tests): Empty assignment and document it.
1258         (tests-static): Remove.
1259         * csu/tst-empty.c: Move to...
1260         * misc/tst-empty.c: ... here.  Switch to new test driver.
1261         * csu/tst-atomic.c: Move to...
1262         * misc/tst-atomic.c: ... here.  Switch to new test driver.
1263         * csu/tst-atomic-long.c: Move to...
1264         * misc/tst-atomic-long.c: ... here.
1265         * misc/Makefile (tests): Add tst-empty, tst-atomic,
1266         tst-atomic-long.
1267         (tests-static): Add tst-empty.
1269 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
1271         * manual/nss.texi: Change incorrect @vtable to @table.
1272         * manual/arith.texi: Convert @tables of variables to @vtables
1273         and remove unnecessary indexing.
1274         * manual/filesys.texi: Likewise.
1275         * manual/llio.texi: Likewise.
1276         * manual/memory.texi: Likewise.
1277         * manual/process.texi: Likewise.
1278         * manual/resource.texi: Likewise.
1279         * manual/search.texi: Likewise.
1280         * manual/signal.texi: Likewise.
1281         * manual/socket.texi: Likewise.
1282         * manual/stdio.texi: Likewise.
1283         * manual/sysinfo.texi: Likewise.
1284         * manual/syslog.texi: Likewise.
1285         * manual/terminal.texi: Likewise.
1286         * manual/time.texi: Likewise.
1287         * manual/users.texi: Likewise.
1289 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1291         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1292         (roundeven): New declaration.
1293         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1294         macro.
1295         * math/Versions (roundeven): New libm symbol at version
1296         GLIBC_2.25.
1297         (roundevenf): Likewise.
1298         (roundevenl): Likewise.
1299         * math/Makefile (libm-calls): Add s_roundevenF.
1300         * math/libm-test.inc (roundeven_test_data): New array.
1301         (roundeven_test): New function.
1302         (main): Call roundeven_test.
1303         * math/test-tgmath.c (NCALLS): Increase to 134.
1304         (F(compile_test)): Call roundeven.
1305         (F(roundeven)): New function.
1306         * manual/arith.texi (Rounding Functions): Document roundeven,
1307         roundevenf and roundevenl.
1308         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1309         * include/math.h (roundeven): Use libm_hidden_proto.
1310         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1311         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1312         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1313         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1314         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1315         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1316         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1317         roundeven.
1318         (CFLAGS-nldbl-roundeven.c): New variable.
1319         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1320         * sysdeps/nacl/libm.abilist: Update.
1321         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1323         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1324         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1326         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1327         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1328         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1329         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1330         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1331         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1332         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1334         Likewise.
1335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1336         Likewise.
1337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1338         Likewise.
1339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1340         Likewise.
1341         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1342         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1343         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1344         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1345         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1347         Likewise.
1348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1349         Likewise.
1350         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1351         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1352         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1354 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1356         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1357         preprocessor indentation inside #if.
1359 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1361         * math/libm-test.inc (fmt_ftostr): New function.
1362         (print_float, check_float_internal): Replace some uses of
1363         FTOSTR with uses of fmt_ftostr.
1364         (print_max_error, print_complex_max_error, print_function_ulps)
1365         (print_complex_function_ulps): Remove uses of the macros
1366         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1367         * math/test-double.h (FTOSTR): Define to strfromd.
1368         (PRINTF_EXPR): Delete.
1369         (PRINTF_XEXPR): Likewise.
1370         (PRINTF_NEXPR): Likewise.
1371         * math/test-float.h (FTOSTR): Define to strfromf.
1372         (PRINTF_EXPR): Delete.
1373         (PRINTF_XEXPR): Likewise.
1374         (PRINTF_NEXPR): Likewise.
1375         * math/test-ldouble.h (FTOSTR): Define to strfroml.
1376         (PRINTF_EXPR): Delete.
1377         (PRINTF_XEXPR): Likewise.
1378         (PRINTF_NEXPR): Likewise.
1380 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1382         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1383         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1384         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1385         (__lll_lock_elision): Decrement adapt_count while unlocking
1386         instead of before locking.
1387         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1388         (__lll_trylock_elision): Likewise.
1389         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1390         (__lll_unlock_elision): Likewise.
1392 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1394         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1395         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1396         Use __libc_tbegin_retry macro.
1398 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1400         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1401         Add -msoft-float.
1402         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1403         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1404         Use __libc_t* transaction macros instead of __builtin_t*.
1405         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1406         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1408 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1410         * sysdeps/unix/sysv/linux/s390/elision-lock.c
1411         (__lll_lock_elision): Use atomics to load / store adapt_count.
1412         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1413         (__lll_trylock_elision): Likewise.
1415 2016-12-20  Florian Weimer  <fweimer@redhat.com>
1417         Do not require memset elimination in explicit_bzero test.
1418         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1419         (enum test_expectation): Add NO_EXPECTATIONS.
1420         (subtests): NO_EXPECTATIONS for ordinary clear.
1421         (check_test_buffer): Handle NO_EXPECTATIONS.
1422         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1424 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1426         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1427         (fmaxmag): New declaration.
1428         (fminmag): Likewise.
1429         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1430         macro.
1431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1432         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1433         (fmaxmagf): Likewise.
1434         (fmaxmagl): Likewise.
1435         (fminmag): Likewise.
1436         (fminmagf): Likewise.
1437         (fminmagl): Likewise.
1438         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1439         * math/s_fmaxmag_template.c: New file.
1440         * math/s_fminmag_template.c: Likewise.
1441         * math/libm-test.inc (fmaxmag_test_data): New array.
1442         (fmaxmag_test): New function.
1443         (fminmag_test_data): New array.
1444         (fminmag_test): New function.
1445         (main): Call fmaxmag_test and fminmag_test.
1446         * math/test-tgmath.c (NCALLS): Increase to 132.
1447         (F(compile_test)): Call fmaxmag and fminmag.
1448         (F(fminmag)): New function.
1449         (F(fmaxmag)): Likewise.
1450         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1451         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1452         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1453         fminmag.
1454         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1455         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1456         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1457         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1458         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1459         and fminmag.
1460         (CFLAGS-nldbl-fmaxmag.c): New variable.
1461         (CFLAGS-nldbl-fminmag.c): Likewise.
1462         * sysdeps/nacl/libm.abilist: Update.
1463         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1464         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1465         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1466         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1467         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1468         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1469         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1470         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1471         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1472         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1473         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1474         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1476         Likewise.
1477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1478         Likewise.
1479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1480         Likewise.
1481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1482         Likewise.
1483         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1489         Likewise.
1490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1491         Likewise.
1492         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1493         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1494         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1496 2016-12-19  Torvald Riegel  <triegel@redhat.com>
1498         [BZ #20973]
1499         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1500         wake-up in robust mutexes.
1501         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1503 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1505         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1506         (CFLAGS-bench-fmaxf.c): New rule.
1507         (CFLAGS-bench-fminf.c): Likewise.
1508         * benchtests/fmaxf-inputs: New file.
1509         * benchtests/fminf-inputs: Likewise.
1511         * benchtests/Makefile (bench-math): Add fmin and fmax.
1512         (CFLAGS-bench-fmax.c): New rule.
1513         (CFLAGS-bench-fmin.c): Likewise.
1514         * benchtests/fmax-inputs: New file.
1515         * benchtests/fmin-inputs: Likewise.
1517         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1518         parenthesis.
1519         (CMDLINE_PROCESS): Define using function instead of macro.
1520         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1521         of test-skeleton.
1522         * benchtests/bench-memchr.c: Likewise.
1523         * benchtests/bench-memcmp.c: Likewise.
1524         * benchtests/bench-memcpy-large.c: Likewise.
1525         * benchtests/bench-memcpy.c: Likewise.
1526         * benchtests/bench-memmem.c: Likewise.
1527         * benchtests/bench-memmove-large.c: Likewise.
1528         * benchtests/bench-memmove.c: Likewise.
1529         * benchtests/bench-memset-large.c: Likewise.
1530         * benchtests/bench-memset.c: Likewise.
1531         * benchtests/bench-rawmemchr.c: Likewise.
1532         * benchtests/bench-strcasecmp.c: Likewise.
1533         * benchtests/bench-strcasestr.c: Likewise.
1534         * benchtests/bench-strcat.c: Likewise.
1535         * benchtests/bench-strchr.c: Likewise.
1536         * benchtests/bench-strcmp.c: Likewise.
1537         * benchtests/bench-strcpy.c: Likewise.
1538         * benchtests/bench-strcpy_chk.c: Likewise.
1539         * benchtests/bench-strlen.c: Likewise.
1540         * benchtests/bench-strncasecmp.c: Likewise.
1541         * benchtests/bench-strncmp.c: Likewise.
1542         * benchtests/bench-strncpy.c: Likewise.
1543         * benchtests/bench-strnlen.c: Likewise.
1544         * benchtests/bench-strpbrk.c: Likewise.
1545         * benchtests/bench-strrchr.c: Likewise.
1546         * benchtests/bench-strsep.c: Likewise.
1547         * benchtests/bench-strspn.c: Likewise.
1548         * benchtests/bench-strstr.c: Likewise.
1549         * benchtests/bench-strtok.c: Likewise.
1551 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1553         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1554         stepping identification.
1555         (init_cpu_features): Add handle of Haswell.
1557 2016-11-25  Jim Meyering  <meyering@fb.com>
1559         [BZ #20386]
1560         Let gcc detect assert(a = 1) errors.
1561         * assert/assert.h (assert): Rewrite, retaining the old definintion
1562         when required, but otherwise putting the expression as-is in an "if"
1563         expression (hence, with no added parentheses) within a statement
1564         expression.
1566 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1568         * benchtests/Makefile (binaries-benchset): Depend on libsupport
1569         DSO.
1571 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
1573         * Rules (python-flags, python-invoke): New.
1574         ($(test-printers-out)): Use $(python-flags).
1576 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1578         * manual/arith.texi (Math Error Reporting): Document that sNaN
1579         arguments are not considered domain errors.
1581 2016-12-16  Zack Weinberg <zackw@panix.com>
1582             Florian Weimer <fweimer@redhat.com>
1583             Nick Mathewson <nickm@torproject.org>
1585         * string/explicit_bzero.c: New routine.
1586         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1587         * string/Makefile (routines, strop-tests, tests): Add them.
1588         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1589         * string/string.h [__USE_MISC]: Declare explicit_bzero.
1591         * debug/explicit_bzero_chk.c: New routine.
1592         * debug/Makefile (routines): Add it.
1593         * debug/tst-chk1.c: Test fortification of explicit_bzero.
1594         * string/bits/string3.h: Fortify explicit_bzero.
1596         * manual/string.texi: Document explicit_bzero.
1597         * NEWS: Mention addition of explicit_bzero.
1599         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1600         data before returning, using explicit_bzero.
1601         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1602         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1603         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1605         * include/string.h: Redirect internal uses of explicit_bzero
1606         to __explicit_bzero_chk[_internal].
1607         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1608         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1609         * sysdeps/arm/nacl/libc.abilist
1610         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1611         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1612         * sysdeps/unix/sysv/linux/arm/libc.abilist
1613         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1614         * sysdeps/unix/sysv/linux/i386/libc.abilist
1615         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1616         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1617         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1618         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1619         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1620         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1621         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1622         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1623         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1628         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1629         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1630         * sysdeps/unix/sysv/linux/sh/libc.abilist
1631         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1632         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1635         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1636         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1637         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1638         Add entries for explicit_bzero and __explicit_bzero_chk.
1640 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1642         * math/fenv.h
1643         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1644         (FE_SNANS_ALWAYS_SIGNAL): New macro.
1645         * math/test-fe-snans-always-signal.c: New file.
1646         * math/Makefile (tests): Add test-fe-snans-always-signal.
1647         (CFLAGS-test-fe-snans-always-signal.c): New variable.
1648         * manual/arith.texi (Infinity and NaN): Document
1649         FE_SNANS_ALWAYS_SIGNAL.
1651 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1653         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1654         bracket.
1656 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1658         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1659         before calling execv.
1661 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1663         [BZ# 20971]
1664         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1665         overflow in pointer addition.
1666         * string/test-memchr.c (do_test): Add an argument to pass as
1667         the size on memchr.
1668         (test_main): Add check for SIZE_MAX.
1670 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1672         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1673         (libm-calls): Add w_scalblnF.
1674         * math/w_scalbln.c: Remove.
1675         * math/w_scalblnf.c: Likewise.
1676         * math/w_scalblnl.c: Likewise.
1677         * math/w_scalbln_template.c: New file with type-generic
1678         implementation based on math/w_scalbln.c.
1679         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1680         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1682 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1684         [BZ #20947]
1685         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1686         either is a signaling NaN.
1687         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
1688         follow fmaxl more closely.
1689         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1690         when either is a signaling NaN.
1691         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1692         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1693         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1694         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1695         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1696         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1697         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1698         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1699         (fmin_test_data): Likewise.
1701 2016-12-15  Andreas Schwab  <schwab@suse.de>
1703         * support/support_test_main.c (support_test_main): Don't shadow
1704         file-local variable test_pid.
1706 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1708         [BZ #20947]
1709         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1710         either is a signaling NaN.
1711         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1713 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1715         [BZ #20947]
1716         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1717         when either is a signaling NaN.
1718         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1720         * bits/long-double.h: New file.
1721         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1722         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1723         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1724         * sysdeps/mips/bits/long-double.h: Likewise.
1725         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1726         * math/Makefile (headers): Add bits/long-double.h.
1727         * misc/sys/cdefs.h: Include <bits/long-double.h>.
1728         * stdlib/strtold.c: Include <bits/long-double.h> instead of
1729         <bits/wordsize.h>.
1730         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1731         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1732         * math/math.h: Do not include <bits/mathdef.h>.
1733         * sysdeps/aarch64/bits/mathdef.h: Remove file.
1734         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1735         inclusion.
1736         * sysdeps/ia64/bits/mathdef.h: Remove file.
1737         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1738         * sysdeps/mips/bits/mathdef.h: Likewise.
1739         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1740         * sysdeps/s390/bits/mathdef.h: Likewise.
1741         * sysdeps/sparc/bits/mathdef.h: Likewise.
1742         * sysdeps/x86/bits/mathdef.h: Likewise.
1743         * sysdeps/s390/s390-32/bits/wordsize.h
1744         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1745         conditional code.
1746         * sysdeps/s390/s390-64/bits/wordsize.h
1747         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1748         Likewise.
1749         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1750         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1751         Likewise.
1752         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1753         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1754         Likewise.
1755         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1756         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1757         Likewise.
1759         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1760         <linux/falloc.h>.
1761         (FALLOC_FL_KEEP_SIZE): Remove.
1762         (FALLOC_FL_PUNCH_HOLE): Likewise.
1763         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1764         (FALLOC_FL_ZERO_RANGE): Likewise.
1766 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1768         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1770 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1772         * sysdeps/unix/sysv/linux/renameat.c: New file.
1773         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1775         * sysdeps/unix/sysv/linux/rename.c: New file.
1776         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1778 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1780         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1781         * string/strtok.c (strtok): Change to tailcall __strtok_r.
1782         * string/strtok_r.c (__strtok_r): Optimize for performance.
1783         * string/string-inlines.c (__old_strtok_r_1c): New function.
1784         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1786 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1788         * math/Makefile (gen-libm-calls): Add w_log1pF.
1789         (libm-calls): Remove w_log1pF.
1790         * math/w_log1p.c: Remove.
1791         * math/w_log1pf.c: Likewise.
1792         * math/w_log1pl.c: Likewise.
1793         * math/w_log1p_template.c: New file with type-generic
1794         implementation based on math/w_log1p.c.
1795         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1796         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1798 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1800         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1802 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1804         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1805         kernel version to 4.9.
1807 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
1809         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1810         ($(inst_libdir)/libm.a): Fix rule to create the target only.
1812 2016-12-13  Andreas Schwab  <schwab@suse.de>
1814         * sysdeps/powerpc/dl-procinfo.c: Don't define
1815         _dl_powerpc_platforms.
1816         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1817         constants instead of referencing _dl_powerpc_platforms.
1818         (_dl_platform_string): Remove.
1820 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1822         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1824 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1826         * Rules (binaries-shared-tests, binaries-pie-tests)
1827         (binaries-static-tests): Link with $(link-extra-libs-tests).
1828         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1829         Remove $(link-extra-libs-tests).
1831 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1833         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1834         (sysdep_routines): Add strncmp_power9.
1835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1836         (strncmp): Add __strncmp_power9 to list of strncmp functions.
1837         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1838         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1839         (strncmp): Add __strncmp_power9 to ifunc list.
1840         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1842 2016-12-12  Florian Weimer  <fweimer@redhat.com>
1844         [BZ #17252]
1845         Add getentropy, getrandom.
1846         * stdlib/sys/random.h: New file.
1847         (headers): Add it.
1848         * stdlib/Makefile (routines): Add getentropy, getrandom.
1849         (tests): Add tst-getrandom.
1850         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1851         * stdlib/getentropy.c: New file.
1852         * stdlib/getrandom.c: Likewise.
1853         * stdlib/tst-getrandom.c: Likewise.
1854         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1855         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1856         * manual/crypt.texi (Unpredictable Bytes): New section.
1857         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1858         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1859         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1865         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1867         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1869         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1870         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1871         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1872         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1874         Likewise.
1875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1876         Likewise.
1877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1879         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1880         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1881         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1882         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1883         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1886         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1887         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1888         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1890 2016-12-10  Florian Weimer  <fweimer@redhat.com>
1892         [BZ #20956]
1893         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1894         as additional compiler barriers.
1895         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1896         (fn2, do_test): Declare with external linkage.
1897         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1898         (do_test): Declare with external linkage.
1899         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1900         (do_test): Declare with external linkage.
1901         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1902         (do_test): Declare with external linkage.
1904 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
1906         * support/support_test_main.c (support_test_main): Use correct
1907         timeout.
1909 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
1910             Florian Weimer  <fweimer@redhat.com>
1912         [BZ #16421]
1913         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1914         and __u6_addr32 members.
1915         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1916         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1917         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1918         Use __u6_addr32.
1919         * inet/tst-checks.c: Use <support/test-driver.c>
1920         * inet/tst-checks-posix.c: New file.
1921         * inet/Makefile (tests): Add it.
1922         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1924 2016-12-09  Florian Weimer  <fweimer@redhat.com>
1926         New subdirectory support for build and test infrastructure.
1927         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
1928         setting install-lib.
1929         * Makeconfig (link-extra-libs-tests): Define.
1930         (+link-pie-tests, +link-static-tests, +link-tests): Use
1931         link-extra-libs-tests.
1932         (rpath-dirs, all-subdirs): Add support.
1933         (built-modules): Add libsupport.
1934         (libsupport): Define.
1935         * support: New directory.
1936         * support/Makefile: New file.
1937         * support/check.c: Likewise.
1938         * support/check.h: Likewise.
1939         * support/delayed_exit.c: Likewise.
1940         * support/ignore_stderr.c: Likewise.
1941         * support/oom_error.c: Likewise.
1942         * support/set_fortify_handler.c: Likewise.
1943         * support/support.h: Likewise.
1944         * support/temp_file-internal.h: Likewise.
1945         * support/temp_file.c: Likewise.
1946         * support/test-driver.c: Likewise.
1947         * support/test-driver.h: Likewise.
1948         * support/test_main.c: Likewise.
1949         * support/write_message.c: Likewise.
1950         * support/xasprintf.c: Likewise.
1951         * support/xcalloc.c: Likewise.
1952         * support/xmalloc.c: Likewise.
1953         * support/xpthread_barrier_destroy.c: Likewise.
1954         * support/xpthread_barrier_init.c: Likewise.
1955         * support/xpthread_barrier_wait.c: Likewise.
1956         * support/xpthread_cancel.c: Likewise.
1957         * support/xpthread_check_return.c: Likewise.
1958         * support/xpthread_cond_wait.c: Likewise.
1959         * support/xpthread_create.c: Likewise.
1960         * support/xpthread_detach.c: Likewise.
1961         * support/xpthread_join.c: Likewise.
1962         * support/xpthread_mutex_lock.c: Likewise.
1963         * support/xpthread_mutex_unlock.c: Likewise.
1964         * support/xpthread_sigmask.c: Likewise.
1965         * support/xpthread_spin_lock.c: Likewise.
1966         * support/xpthread_spin_unlock.c: Likewise.
1967         * support/xrealloc.c: Likewise.
1968         * support/xsignal.h: Likewise.
1969         * support/xthread.h: Likewise.
1970         * support_tempfile.h: Likewise.
1971         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1972         (TEST_DATA_LIMIT): Remove unused macro.
1973         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
1974         <support/check.h>.
1975         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1976         (ignore_stderr, set_fortify_handler): Remove.  Now in
1977         <support/support.h>.
1978         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
1979         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1980         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1981         (xpthread_join): Remove.  Now in <support/xthread.h>.
1982         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1983         Introduce legacy wrappers.
1984         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1985         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1986         (write_message): Remove.
1987         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
1988         test-skeleton.c.
1989         * io/test-open-tmpfile: Likewise.
1990         * io/tst-posix_fallocate-common.c: Likewise.
1991         * libio/tst-fseek.c: Likewise.
1992         * malloc/tst-malloc-backtrace.c: Likewise.
1993         * malloc/tst-malloc-fork-deadlock.c: Likewise.
1994         * malloc/tst-malloc-thread-exit.c: Likewise.
1995         * nptl/tst-cancel7.c: Likewise.
1996         * nptl/tst-cleanup0.c: Likewise.
1997         * posix/tst-posix_fadvise-common.c: Likewise.
1998         * rt/tst-shm.c: Likewise.
1999         * time/bug-getdate1.c: Likewise.
2000         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2001         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2002         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2004 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2006         * Rules [$(run-built-tests) != no] (tests-expected): Add
2007         $(tests-printers).
2008         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2010 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2012         [BZ #20539]
2013         * math/Makefile (install-lib-ldscripts): Add libm.a.
2014         (install_subdir): Remove.
2015         (install-others): Add.
2016         ($(inst_libdir)/libm.a): Add rule for installation as
2017         linker script.
2018         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2020 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2022         * INSTALL: Regenerated.
2023         * Makeconfig: Add comments and whitespace to make the control flow
2024         clearer.
2025         (+link-printers-tests, +link-pie-printers-tests,
2026         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2027         built-rtld-LDFLAGS, link-libc-rpath,
2028         link-libc-tests-after-rpath-link,
2029         link-libc-printers-tests): New.
2030         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2031         link-libc-tests): Use the new variables as required.
2032         * Makerules ($(py-const)): New rule.
2033         generated: Add $(py-const).
2034         * README.pretty-printers: New file.
2035         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2036         (others): Depend on $(py-const).
2037         (tests): Depend on $(tests-printers-programs) or
2038         $(tests-printers-out),
2039         as required.  Pass $(tests-printers) to merge-test-results.sh.
2040         * manual/install.texi: Add requirements for testing the pretty
2041         printers.
2042         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2043         tests-printers, CFLAGS-test-mutexattr-printers.c
2044         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2045         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2046         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2047         * nptl/nptl-printers.py: New file.
2048         * nptl/nptl_lock_constants.pysym: Likewise.
2049         * nptl/test-cond-printers.c: Likewise.
2050         * nptl/test-cond-printers.py: Likewise.
2051         * nptl/test-condattr-printers.c: Likewise.
2052         * nptl/test-condattr-printers.py: Likewise.
2053         * nptl/test-mutex-printers.c: Likewise.
2054         * nptl/test-mutex-printers.py: Likewise.
2055         * nptl/test-mutexattr-printers.c: Likewise.
2056         * nptl/test-mutexattr-printers.py: Likewise.
2057         * nptl/test-rwlock-printers.c: Likewise.
2058         * nptl/test-rwlock-printers.py: Likewise.
2059         * nptl/test-rwlockattr-printers.c: Likewise.
2060         * nptl/test-rwlockattr-printers.py: Likewise.
2061         * scripts/gen-py-const.awk: Likewise.
2062         * scripts/test_printers_common.py: Likewise.
2063         * scripts/test_printers_exceptions.py: Likewise.
2065 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2067         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2068         argument.
2069         (Glibc.build_glibc): Strip installed shared libraries if
2070         requested.
2071         (get_parser): Add --strip option.
2072         (main): Update Context call.
2074 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2075             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2077         [BZ #20847]
2078         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2079         array bounds for else branch.
2080         (__execvpe): Style fixes.
2081         * posix/tst-vfork3.c (run_script): New function.
2082         (create_script): Likewise.
2083         (do_test): Use run_script internal function.
2084         (do_prepare): Use create_script internal function.
2086 2016-12-07  Andreas Schwab  <schwab@suse.de>
2088         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2089         (__elision_available): Don't declare.
2090         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2091         (__elision_available): Don't define.
2092         (elision_init): Don't set __elision_available.
2094 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2096         [BZ #20940]
2097         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2098         return Inf for arguments Inf and sNaN.
2099         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2100         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2101         Likewise.
2102         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2103         Likewise.
2104         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2105         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2106         for arguments Inf and sNaN.  When returning a NaN, compute it by
2107         arithmetic on the arguments.
2108         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2109         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2110         arguments.
2112 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2114         [BZ #20916]
2115         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2116         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2117         to compute result.
2118         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2119         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2121 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2123         * include/atomic.h (__atomic_check_size_ls): New.
2124         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2125         atomic_store_release): Use it.
2126         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2127         (elision_adapt, ELIDE_LOCK): Use atomics.
2128         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2129         atomics and improve code comments.
2130         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2131         (__lll_trylock_elision): Likewise.
2133 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2135         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2136         programs.
2138 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2140         [BZ #20916]
2141         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2142         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2143         arguments to compute result.
2144         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2145         1 for arguments (sNaN, 0) or (1, sNaN).
2146         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2147         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2149         [BZ #20919]
2150         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2151         NaN first argument when raised to power 0.
2152         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2153         raising to power zero.
2154         * math/w_powf.c (__powf): Likewise.
2155         * math/w_powl.c (__powl): Likewise.
2156         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2157         pow (0, 0) or pow (NaN, 0).
2159 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2161         [BZ #20918]
2162         * configure.ac: Test for static NSS cryptographic libraries and set
2163         libc_cv_static_nss_crypt.
2164         * configure: Regenerate.
2165         * config.make.in (static-nss-crypt): Define.
2166         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2167         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2168         (CFLAGS-tst-linkall-static.c): Define.
2169         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2170         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2171         ($(objpfx)tst-linkall-static): Define.
2172         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2173         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2175 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2177         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2178         (one-hundred, tst-tls-many-dynamic-modules): Define.
2179         (modules-names): Add $(tst-tls-many-dynamic-modules).
2180         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2181         macros.
2182         (tst-tls-manydynamic): Link against libdl, libpthread.
2183         (tst-tls-manydynamic.out): The test needs the test modules at run
2184         time.
2185         * elf/tst-tls-manydynamic.c: New file.
2186         * elf/tst-tls-manydynamic.h: Likewise.
2187         * elf/tst-tls-manydynamicmod.c: Likewise.
2189 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2191         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2192         (TLS_DTV_UNALLOCATED): Add.
2193         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2194         offsets.
2196 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2198         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2200 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2202         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2203         Add -fno-optimize-sibling-calls.
2205 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2207         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2208         New declaration.
2209         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2210         macro.
2211         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2212         New macro.
2213         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2215         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2216         (llogbf): Likewise.
2217         (llogbl): Likewise.
2218         * math/Makefile (gen-libm-calls): Add w_llogbF.
2219         (tests): Add test-fp-llogb-constants.
2220         * math/w_llogb_template.c: New file.  Based on
2221         math/w_ilogb_template.c.
2222         * math/libm-test.inc (llogb_test_data): New array.
2223         (llogb_test): New function.
2224         (main): Call llogb_test.
2225         * math/test-fp-llogb-constants.c: New file.  Based on
2226         math/test-fp-ilogb-constants.c.
2227         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2228         (do_test): Call check_return_llogb.
2229         * math/test-tgmath.c (NCALLS): Increase to 126.
2230         (F(compile_test)): Call llogb.
2231         (F(llogb)): New function.
2232         * manual/math.texi (Exponents and Logarithms): Document llogb,
2233         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2234         * manual/libm-err-tab.pl (@all_functions): Add llogb.
2235         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2236         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2237         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2238         (CFLAGS-nldbl-llogb.c): New variable.
2239         * sysdeps/nacl/libm.abilist: Update.
2240         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2241         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2242         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2243         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2244         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2245         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2246         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2247         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2248         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2249         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2250         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2251         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2253         Likewise.
2254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2255         Likewise.
2256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2257         Likewise.
2258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2259         Likewise.
2260         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2261         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2262         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2263         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2264         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2266         Likewise.
2267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2268         Likewise.
2269         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2270         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2271         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2273 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2275         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2276         _Float128 instead of long double.
2277         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2279         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2280         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2281         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2282         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2283         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2284         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2285         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2286         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2287         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2288         Likewise.
2290 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2292         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2293         Remove redirection to __strrchr_ppc.
2295 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2297         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2298         (sysdep_routines): Add strcmp_power9.
2299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2300         (strcmp): Add __strcmp_power9 to list of strcmp functions.
2301         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2302         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2303         (strcmp): Add __strcmp_power9 to ifunc list.
2304         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2306 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2308         * bits/fp-logb.h: New file.
2309         * sysdeps/ia64/bits/fp-logb.h: Likewise.
2310         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2311         * sysdeps/x86/bits/fp-logb.h: Likewise.
2312         * math/Makefile (headers): Add bits/fp-logb.h.
2313         * math/math.h: Include <bits/fp-logb.h>.
2314         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2315         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2316         * bits/mathdef.h (FP_ILOGB0): Remove.
2317         (FP_ILOGBNAN): Likewise.
2318         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2319         (FP_ILOGBNAN): Likewise.
2320         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2321         (FP_ILOGBNAN): Likewise.
2322         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2323         (FP_ILOGBNAN): Likewise.
2324         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2325         (FP_ILOGBNAN): Likewise.
2326         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2327         (FP_ILOGBNAN): Likewise.
2328         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2329         (FP_ILOGBNAN): Likewise.
2330         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2331         (FP_ILOGBNAN): Likewise.
2332         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2333         (FP_ILOGBNAN): Likewise.
2334         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2335         (FP_ILOGBNAN): Likewise.
2337         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
2338         time module.
2339         (Context.__init__): Initialize self.logsdir_old.
2340         (Context.run_builds): Handle bot action.
2341         (Context.bot_cycle): Copy logs directory before running builds.
2342         (Context.bot_run_self): Take argument for whether to check
2343         subprocess result.  Flush stdout before running subprocess.
2344         (Context.bot): New function.
2345         (get_parser): Allow bot action.
2347 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
2349         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2350         Import email.mime.text, email.utils and smtplib modules.
2351         (Context.__init__): Initialize self.bot_config_json.
2352         (Context.run_builds): Handle bot-cycle action.
2353         (Context.load_bot_config_json): New function.
2354         (Context.part_build_old): Likewise.
2355         (Context.bot_cycle): Likewise.
2356         (Context.bot_build_mail): Likewise.
2357         (Context.bot_run_self): Likewise.
2358         (get_parser): Allow bot-cycle action.
2360 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2362         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2363         Remove redirection to __stpcpy_ppc.
2365 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2367         Remove __libc_memalign from ld.so because it is unused.
2368         * elf/dl-minimal.c: Update comment on the malloc implementation.
2369         (malloc): Renamed from __libc_memalign, replacing the original
2370         malloc implementation.  Replace the align parameter with
2371         MALLOC_ALIGNMENT.
2372         * elf/Versions (ld): Update comment and remove __libc_memalign.
2373         * sysdeps/nacl/ld.abilist: Likewise.
2374         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2375         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2376         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2377         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2378         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2379         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2380         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2381         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2382         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2383         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2384         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2385         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2386         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2390         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2391         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2392         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2393         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2394         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2397         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2398         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2399         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2400         * sysdeps/generic/localplt.data (ld.so): Likewise.
2401         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2402         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2403         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2404         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2405         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2406         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2407         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2408         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2409         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2411         (ld.so): Likewise.
2412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2413         (ld.so): Likewise.
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2415         Likewise.
2416         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2417         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2418         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2419         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2420         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2422 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2424         [BZ #16628]
2425         Implement _dl_catch_error, _dl_signal_error in libc.so.
2426         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2427         (catch_hook): Define as thread-local or regular variable,
2428         depending on DL_ERROR_BOOTSTRAP.
2429         (CATCH_HOOK): Remove.
2430         (dl_signal_error, _dl_catch_error): Use
2431         catch_hook.  Add hidden definition for libc.
2432         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
2433         for DL_ERROR_BOOTSTRAP only.
2434         * elf/dl-error.c: New file.
2435         * elf/dl-error-minimal.c: Likewise.
2436         * elf/tst-latepthread.c: Likewise.
2437         * elf/tst-latepthreadmod.c: Likewise.
2438         * elf/Makefile (routines): Add dl-error.
2439         (dl-routines): Remove dl-error.
2440         (rtld-routines): Add dl-error-minimal.
2441         [build-shared] (tests): Add tst-latepthread.
2442         (module-names): Add tst-latepthreadmod.
2443         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2444         symbol.
2445         (tst-latepthreadmod.so): Link against libpthread.
2446         (tst-latepthread): Link against libdbl.
2447         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2448         _dl_catch_error.
2449         [ld] (GLIBC_PRIVATE): Likewise.
2450         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2451         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2452         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2453         directly.
2454         * elf/dl-tsd.c: Remove file.
2455         * elf/rtld.c (_rtld_global_ro): Remove initializers for
2456         _dl_catch_error, _dl_signal_error.
2457         (_dl_initial_error_catch_tsd): Remove definition.
2458         (do_preload): Remove initialization of dl_error_catch_tsd.
2459         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2460         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2461         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2462         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2463         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2464         set dl_error_catch_tsd.
2465         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2466         _dl_error_catch_tsd member.
2467         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2468         members.
2469         (_dl_initial_error_catch_tsd): Remove declaration.
2470         (_dl_dprintf): Provide definition for use outside of ld.so.
2471         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2472         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
2473         prototype for libc.
2474         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2475         _dl_catch_error.
2476         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2477         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2478         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2479         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2480         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2481         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2482         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2483         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2484         Likewise.
2485         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2487         (ld.so): Likewise.
2488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2489         (ld.so): Likewise.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2491         Likewise.
2492         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2493         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2494         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2495         Likewise.
2496         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2497         Likewise.
2498         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2500 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2502         [BZ #4099]
2503         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2504         _IO_BUFSIZ (8192).
2506 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
2508         * PROJECTS: Remove file.
2510 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2512         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2514 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
2515             Steve Ellcey  <sellcey@caviumnetworks.com>
2517         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2518         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2519         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2520         fxstatat.
2521         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2522         lxstat.
2523         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2524         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2525         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2526         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2527         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2528         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2529         __xstat.
2531 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2533         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2534         Define.
2535         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2536         definition.
2538 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2540         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2541         version and turn into strong alias.  Remove compat symbol.
2543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2544         (__longjmp): Remove.
2546 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
2548         * bits/fp-fast.h: New file.
2549         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2550         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2551         * math/Makefile (headers): Add bits/fp-fast.h.
2552         * math/math.h: Include <bits/fp-fast.h>.
2553         * bits/mathdef.h (FP_FAST_FMA): Remove.
2554         (FP_FAST_FMAF): Likewise.
2555         (FP_FAST_FMAL): Likewise.
2556         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2557         (FP_FAST_FMAF): Likewise.
2558         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2559         (FP_FAST_FMAF): Likewise.
2560         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2561         (FP_FAST_FMAF): Likewise.
2562         (FP_FAST_FMAL): Likewise.
2563         * sysdeps/arm/bits/mathdef.h: Remove file.
2564         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2565         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2566         * sysdeps/tile/bits/mathdef.h: Likewise.
2568 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2570         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
2571         * math/w_ilogb.c: Remove.
2572         * math/w_ilogbf.c: Likewise.
2573         * math/w_ilogbl.c: Likewise.
2574         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2575         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2576         * math/Makefile (gen-libm-calls): Add w_ilogbF.
2577         (libm-calls): Remove w_ilogbF.
2578         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2579         (LDOUBLE_ilogbl_libm_version): New macro.
2581         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2583         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2584         [!__STRICT_ANSI__ && !__cplusplus].
2586 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2588         [BZ #20750]
2589         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2590         of PIC.
2592 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2593             Yury Norov  <ynorov@caviumnetworks.com>
2594             Steve Ellcey  <sellcey@caviumnetworks.com>
2596         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2597         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2598         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2599         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2600         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2601         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2602         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2603         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2604         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2605         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2606         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2607         to get correct reg name for ILP32.
2608         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2609         (RELA_SIZE): New Macro.
2610         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2611         to support ILP32.
2612         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2613         cast for ILP32 mode.
2614         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2615         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2616         * sysdeps/aarch64/memset.S (__memset): Ditto.
2617         * sysdeps/aarch64/strchr.S (strchr): Ditto.
2618         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2619         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2620         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2621         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2622         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2623         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2624         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2625         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2626         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2627         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2628         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2629         change PTR_MANGLE call to use register numbers instead of names.
2630         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2631         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2632         ILP32 mode, change PTR_MANGLE calls to use register numbers.
2633         * sysdeps/aarch64/start.S (_start): Ditto.
2634         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2635         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2636         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2637         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2638         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2639         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2640         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2641         Make defined values dependent on __ILP32__.
2642         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2643         (sem_t): Change __align type.
2644         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2645         PTR_SIZE): New Macros.
2646         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2647         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2648         Set when in ILP32 mode.
2649         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2650         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2651         Set elf flags for ILP32.
2652         (add_system_dir): Set ILP32 library directories.
2653         * sysdeps/unix/sysv/linux/aarch64/init-first.c
2654         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2655         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2656         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2657         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2658         New Macros.
2659         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2661 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2663         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2664         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2665         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2667 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2669         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2670         <asm/cachectl.h>.
2672 2016-11-27  Zack Weinberg  <zackw@panix.com>
2674         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2675         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2677 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2679         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2680         error_t to fix usage in C++ programs.
2682 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
2684         * scripts/build-many-glibcs.py: Import datetime module.
2685         (Context.__init__): Load JSON build state.  Initialize list of
2686         status logs.
2687         (Context.run_builds): Update saved build state.
2688         (Context.add_makefile_cmdlist): Update list of status logs.
2689         (Context.load_build_state_json): New function.
2690         (Context.store_build_state_json): Likewise.
2691         (Context.clear_last_build_state): Likewise.
2692         (Context.update_build_state): Likewise.
2693         (CommandList.status_logs): Likewise.
2695 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
2697         * scripts/build-many-glibcs.py (Context.__init__): Save text of
2698         script being executed.
2699         (Context.get_script_text): New function.
2700         (Context.exec_self): Likewise.
2701         (Context.checkout): Re-exec script if changed by checkout process.
2703 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2705         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2706         (setpayloadsig): New declaration.
2707         * math/Versions (setpayloadsig): New libm symbol at version
2708         GLIBC_2.25.
2709         (setpayloadsigf): Likewise.
2710         (setpayloadsigl): Likewise.
2711         * math/Makefile (libm-calls): Add s_setpayloadsigF.
2712         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2713         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2714         (setpayloadsig_test_data): New array.
2715         (setpayloadsig_test): New function.
2716         (main): Call setpayloadsig_test.
2717         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2718         setpayloadsigf and setpayloadsigl.
2719         * manual/libm-err-tab.pl: Update comment on interfaces without
2720         ulps tabulated.
2721         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2722         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2723         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2724         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2725         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2726         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2727         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2728         setpayloadsig.
2729         (CFLAGS-nldbl-setpayloadsig.c): New variable.
2730         * sysdeps/nacl/libm.abilist: Update.
2731         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2732         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2733         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2734         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2735         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2736         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2737         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2738         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2739         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2740         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2742         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2744         Likewise.
2745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2746         Likewise.
2747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2748         Likewise.
2749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2750         Likewise.
2751         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2752         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2753         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2754         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2755         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2757         Likewise.
2758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2759         Likewise.
2760         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2761         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2762         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2764         * scripts/build-many-glibcs.py: Import json module.
2765         (Context.__init__): Take replace_sources argument.  Load
2766         versions.json.
2767         (Context.load_versions_json): New function.
2768         (Context.store_json): Likewise.
2769         (Context.store_versions_json): Likewise.
2770         (Context.set_component_version): Likewise.
2771         (Context.checkout): Update versions.json.  Check for and handle
2772         changes of version.  Prefer previously explicitly specified
2773         version to default version.
2774         (Context.checkout_vcs): Return a revision identifier.
2775         (Context.git_checkout): Likewise.
2776         (Context.gcc_checkout): Likewise.
2777         (get_parser): Add --replace-sources option.
2778         (main): Pass replace_sources argument to Context call.
2780 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2782         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2783         * nptl/allocatestack.c (allocate_stack): Likewise.
2784         (__reclaim_stacks): Likewise.
2785         (setxid_signal_thread): Obtain pid through syscall.
2786         * nptl/nptl-init.c (sigcancel_handler): Likewise.
2787         (sighandle_setxid): Likewise.
2788         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2789         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2790         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2791         Likewise.
2792         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2793         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2794         comment.
2795         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2796         * nptl/descr.h (struct pthread): Change comment about pid value.
2797         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2798         pid assert.
2799         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2800         Do not set pid value.
2801         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2802         pid cache check.
2803         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2804         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2805         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2806         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2807         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2808         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2809         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2810         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2811         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2812         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2813         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2814         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2815         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2816         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2817         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2818         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2819         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2820         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2821         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2822         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2823         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2824         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2825         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2826         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2827         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2830         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2831         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2832         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2833         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2834         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2835         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2836         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2837         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2838         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2839         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2840         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2841         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2842         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2843         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2844         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2845         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2848         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2849         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2850         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2851         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2852         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2853         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2854         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2855         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2856         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2857         struct access.
2858         (clone_test): Remove function.
2859         (do_test): Rewrite to take in consideration pid is not cached anymore.
2861 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2863         * bits/flt-eval-method.h: New file.
2864         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2865         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2866         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2867         * math/Makefile (headers): Add bits/flt-eval-method.h.
2868         * math/math.h: Include <bits/flt-eval-method.h>.
2869         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2870         [__USE_ISOC99] (double_t): Likewise.
2871         * bits/mathdef.h (float_t): Remove.
2872         (double_t): Likewise.
2873         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2874         (double_t): Likewise.
2875         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2876         (double_t): Likewise.
2877         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2878         (double_t): Likewise.
2879         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2880         (double_t): Likewise.
2881         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2882         (double_t): Likewise.
2883         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2884         (double_t): Likewise.
2885         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2886         (double_t): Likewise.
2887         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2888         (double_t): Likewise.
2889         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2890         (double_t): Likewise.
2891         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2892         (double_t): Likewise.
2893         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2894         (double_t): Likewise.
2895         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2896         (double_t): Likewise.
2897         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2898         (double_t): Likewise.
2900 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
2902         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2903         instead of PIC.
2905 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2907         [BZ #20859]
2908         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2909         (-0x7fffffff) instead of 0x80000001.
2910         * math/test-fp-ilogb-constants.c: New file.
2911         * math/Makefile (tests): Add test-fp-ilogb-constants.
2913 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
2915         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2916         (_init): Use it in place of hardcoded R_MIPS_JALR.
2917         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2918         (_init): Use it in place of hardcoded R_MIPS_JALR.
2919         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2920         (_init): Use it in place of hardcoded R_MIPS_JALR.
2922 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2924         [BZ #20787]
2925         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2926         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2927         (double_t): Do not define to double if [__x86_64__] when
2928         __FLT_EVAL_METHOD__ is nonzero.
2929         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2930         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2931         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2932         test-flt-eval-method-387 and test-flt-eval-method-sse.
2933         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2934         variable.
2935         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2937 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
2939         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2940         use of -fno-isolate-erroneous-paths options for tilepro.
2942 2016-11-23  Florian Weimer  <fweimer@redhat.com>
2944         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2945         structure initialization is no longer needed.
2947 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2949         [BZ #20855]
2950         * bits/mathdef.h (float_t): Define to float.
2951         * math/test-flt-eval-method.c: New file.
2952         * math/Makefile (tests): Add test-flt-eval-method.
2953         (CFLAGS-test-flt-eval-method.c): New variable.
2955 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
2957         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2958         and __fstatfs.  Make them aliases of __fstatfs64 if
2959         STATFS_IS_STATFS64 is set to non-zero.
2960         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2961         and __statfs64.
2962         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2963         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2964         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2965         for __statfs and statfs.
2966         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2967         to 0.
2968         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2969         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2970         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2971         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2972         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2973         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2976         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2977         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2978         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2979         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2981 2016-11-22  Andreas Schwab  <schwab@suse.de>
2983         * misc/mkstemp.c: Include <fcntl.h>.
2984         * misc/mkstemps.c: Likewise.
2985         * misc/mkostemp.c: Likewise.
2986         * misc/mkostemps.c: Likewise.
2988 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
2990         [BZ #20847]
2991         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2992         array bounds.
2993         (__execvpe): Likewise.
2995 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
2997         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
2998         -fno-isolate-erroneous-paths options for tilepro.
3000 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3002         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3003         to 0 when in 32 bit mode.
3004         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3005         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3006         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3007         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3009         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3010         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3011         XSTAT_IS_XSTAT64 test.
3012         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3013         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3014         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3015         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3016         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3017         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3018         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3019         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3020         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3021         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3022         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3024 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3026         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3027         (setpayload): New declaration.
3028         * math/Versions (setpayload): New libm symbol at version
3029         GLIBC_2.25.
3030         (setpayloadf): Likewise.
3031         (setpayloadl): Likewise.
3032         * math/Makefile (libm-calls): Add s_setpayloadF.
3033         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3034         test_Ff_b1_data.
3035         (RUN_TEST_Ff_b1): New macro.
3036         (RUN_TEST_LOOP_Ff_b1): Likewise.
3037         (canonicalize_test_data): Update type.
3038         (setpayload_test_data): New array.
3039         (setpayload_test): New function.
3040         (main): Call setpayload_test.
3041         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3042         setpayloadf and setpayloadl.
3043         * manual/libm-err-tab.pl: Update comment on interfaces without
3044         ulps tabulated.
3045         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3046         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3047         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3048         Likewise.
3049         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3050         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3051         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3052         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3053         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3054         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3055         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3056         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3057         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3058         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3059         setpayload.
3060         (CFLAGS-nldbl-setpayload.c): New variable.
3061         * sysdeps/nacl/libm.abilist: Update.
3062         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3063         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3064         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3068         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3069         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3070         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3071         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3072         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3073         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3075         Likewise.
3076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3077         Likewise.
3078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3079         Likewise.
3080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3081         Likewise.
3082         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3083         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3084         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3085         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3086         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3088         Likewise.
3089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3090         Likewise.
3091         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3092         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3093         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3095 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3097         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3098         * include/unistd.h: Extend comment about __access_noerrno return
3099         semantics.
3100         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3101         (access_common): Correct typo for EACCES.
3103 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3105         * sysdeps/tile/math-tests.h: New file.
3107         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3108         (__old_set_dataplane): Rename from set_dataplane and make a
3109         compatibility symbol.
3110         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3111         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3112         sys/dataplane.h.
3114 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3116         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3117         script quote words in command output to log suitably for input to
3118         the shell.
3120 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3121             Maciej W. Rozycki  <macro@imgtec.com>
3123         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3124         `.Lno_weak_fn' label.
3125         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3126         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3128 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3129             Yury Norov  <ynorov@caviumnetworks.com>
3131         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3132         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3133         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3134         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3135         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3136         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3137         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3138         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3139         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3140         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3141         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3142         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3143         (sysdep_routines): Remove oldgetrlimit64.
3144         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3145         (sysdep_routines): Likewise.
3146         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3147         (sysdep_routines): Likewise.
3148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3149         [$(subdir) = resource] (sysdep_routines): Likewise.
3150         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3151         [$(subdir) = resource] (sysdep_routines): Likewise.
3152         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3153         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3154         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3155         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3156         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3157         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3158         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3159         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3160         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3161         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3162         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3163         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3164         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3165         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3166         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3167         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3168         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3169         setrlimit and getrlimit.
3170         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3171         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3172         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3175         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3176         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3177         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3179         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3180         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3181         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3182         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3183         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3184         (__old_getrlimit64): Add compatibility symbol.
3185         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3187 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3189         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3190         newly built gmp, mpfr and mpc.
3192         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3194 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3196         * conform/Makefile (linknamespace-libs): Rename to
3197         linknamespace-libs-thr.
3198         (linknamespace-libs-posix): New variable.
3199         (linknamespace-libs-xsi): Likewise.
3200         (linknamespace-libs-XPG3): Include libcrypt.a.
3201         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3202         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3203         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3204         (linknamespace-libs-XOPEN2K): Likewise.
3205         (linknamespace-libs-XOPEN2K8): Likewise.
3206         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3208         [BZ #20829]
3209         * stdio-common/Versions (__snprintf): Add to version
3210         GLIBC_PRIVATE.
3211         * include/stdio.h (__snprintf): Use libc_hidden_proto.
3212         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3213         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3214         of snprintf.
3215         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3217 2016-11-16  Zack Weinberg  <zackw@panix.com>
3219         * string/string.h: Remove obsolete comment stating that
3220         strcoll_l and strxfrm_l have not yet been standardized.
3222 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3224         * hurd/hurd.h (__hurd_fail_noerrno): New function.
3225         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3226         __access_noerrno.
3227         * io/access.c (__access_noerrno): New function.
3228         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3229         (hurd_fail_seterrno): Likewise.
3230         (access_common): Likewise.
3231         (__access_noerrno): Likewise.
3232         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3233         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3234         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3235         macro.
3237 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3239         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3240         Only declare fpregs if [__SH_FPU_ANY__].
3242 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
3244         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3245         Make code unconditional.
3246         [!(__SH4__ || __SH4A__)]: Remove conditional code.
3248 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
3250         * manual/sysinfo.texi (S_APPEND): Delete.
3251         (S_IMMUTABLE): Likewise.
3253 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
3254             Magnus Granberg  <zorry@gentoo.org>
3255             Mike Frysinger  <vapier@gentoo.org>
3257         [BZ #20662]
3258         * configure.ac (libc_cv_predef_stack_protector): Also check for
3259         __stack_chk_fail_local symbols.
3260         * configure: Regenerated.
3262 2016-11-15  Florian Weimer  <fweimer@redhat.com>
3264         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3265         (libc_hidden_def): Remove redefinition.
3266         (__sigsetjmp): Add hidden definition.
3267         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3268         (libc_hidden_def): Remove redefinition.
3269         (__sigsetjmp): Add hidden definition.
3271 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
3273         * scripts/build-many-glibcs.py (os.path): Do not import.
3274         (Context): Inherit explicitly from object.  Remove blank line
3275         between class and docstring.
3276         (Config): Likewise.
3277         (Glibc): Likewise.
3278         (Command): Likewise.
3279         (CommandList): Likewise.
3280         (Context.write_files): Store chmod mode in a variable.
3282         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3283         LIBC_SLIBDIR_RTLDDIR for tilegx32.
3284         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3286 2016-11-14  Zack Weinberg  <zackw@panix.com>
3288         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3289         creating or re-creating it.
3291         * string/bits/string2.h: Fix typo in comment.
3293 2016-11-14  Zack Weinberg  <zackw@panix.com>
3295         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3296         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3297         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3298         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3299         of redirected function names.
3301         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3302         as well.  Document that MESSAGE must be a single string literal.
3304 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
3306         * scripts/build-many-glibcs.py: New file.
3308         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3309         (do_test): Disable -Wmaybe-uninitialized around uses of
3310         except_mask.
3312         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3314 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
3316         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3317         (atomic_store_release): Provide tilepro-specific implementations.
3319 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
3321         * math/math.h (__MATH_TG): New macro.
3322         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3323         [__USE_ISOC99] (signbit): Likewise.
3324         [__USE_ISOC99] (isfinite): Likewise.
3325         [__USE_ISOC99] (isnan): Likewise.
3326         [__USE_ISOC99] (isinf): Likewise.
3327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3330         __MATH_TG and __MATH_EVAL_FMT2.
3331         * sysdeps/generic/math_private.h (fabs_tg): Define using
3332         __MATH_TG.
3333         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3334         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3335         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3336         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3337         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3338         macro.
3339         (__iscanonical): Likewise.
3340         (iscanonical): Define using __MATH_TG.
3342 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3344         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3345         guards.
3347         * sysdeps/unix/sysv/linux/access.c: New file.
3348         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3350 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
3352         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3353         and __WORDSIZE32_PTRDIFF_LONG.
3355 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3357         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3359 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3361         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3362         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3363         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3364         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3365         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3367         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3368         * sysdeps/unix/sysv/linux/truncate.c: New file.
3369         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3370         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3371         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3372         Remove.
3373         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3374         Likewise.
3376         * posix/tst-truncate-common.c: New file.
3377         * posix/tst-truncate.c: Use tst-truncate-common.c.
3378         * posix/tst-truncate64.c: Likewise and add LFS tests.
3379         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3380         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3381         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3382         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3383         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3385         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3386         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3387         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3388         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3389         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3390         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3391         Remove.
3392         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3393         Likewise.
3395 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
3397         [BZ #20790]
3398         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3399         to MAXLINESIZE.
3400         * sunrpc/bug20790.x: New file.
3401         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3402         variable.
3403         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3404         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3406         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3408         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3410         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3411         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
3412         calloc, realloc, free, memalign and __libc_memalign rather than
3413         making them optional.
3415         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3416         for libc.so.
3418 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3420         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3421         ptw-lseek64.
3422         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3423         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
3424         Likewise.
3425         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3426         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3427         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3428         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3429         * sysdeps/unix/sysv/linux/lseek.c: New file.
3430         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3431         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3432         __libc_lseek64 from auto-generation.
3433         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3434         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3436 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3438         * nptl/tst-basic1.c (tf, do_test): Use write_message.
3439         * nptl/tst-cleanup1.c (do_test): Likewise.
3440         * nptl/tst-cleanup3.c (do_test): Likewise.
3441         * nptl/tst-key1.c (do_test): Likewise.
3442         * nptl/tst-key2.c (tf, do_test): Likewise.
3443         * nptl/tst-key3.c (tf, do_test): Likewise.
3444         * nptl/tst-stdio1.c (do_test): Likewise.
3445         * nptl/tst-stdio2.c (do_test): Likewise.
3447         * nptl/tst-kill3.c (handler): Use write_message in place of write.
3448         * nptl/tst-kill6.c (handler): Likewise.
3449         * nptl/tst-tls2.c (CB): Likewise.
3450         * nptl/tst-tls3.c (CB): Likewise.
3452 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
3454         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3456 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
3457             Steve Ellcey  <sellcey@caviumnetworks.com>
3459         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3460           __ASSUME_ST_INO_64_BIT as 0
3461         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3462         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3463           over the code where __ASSUME_ST_INO_64_BIT is used.
3464         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3465         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3466         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3468 2016-11-07  Florian Weimer  <fweimer@redhat.com>
3470         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3471         Document ABI exposure of the __kind offset.
3472         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3473         Mention reason for the __kind offset exposure in the ABI.
3474         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3475         Likewise.
3476         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3477         Likewise.
3478         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3479         Likewise.
3480         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3481         (struct __pthread_mutex_s): Likewise.
3482         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3483         Likewise.
3484         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3485         Likewise.
3486         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3487         Likewise.
3488         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3489         Likewise.
3490         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3491         Likewise.
3492         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3493         Likewise.
3494         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3495         (struct __pthread_mutex_s): Likewise.
3496         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3497         (struct __pthread_mutex_s): Likewise.
3498         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3499         Likewise.
3501 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
3503         * test-skeleton.c: Document do_test usage.
3505 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
3507         * iconv/gconv.h (__gconv_info): Define __data element using a
3508         zero-length array.
3510 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
3512         * math/test-tgmath2.c: Split up test function.
3514 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3516         * Rules (tests-expected): New variable, depending on
3517         $(run-built-tests).
3518         (tests): Pass $(tests-expected) to merge-test-results.sh, not
3519         $(tests).
3521         * Rules [$(run-built-tests) = no] (tests): Do not depend on
3522         $(tests-unsupported).
3524 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3526         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3527         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
3529 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3531         [BZ #20768]
3532         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3533         __fegetenv instead of fegetenv.
3535         [BZ #14139]
3536         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3537         (find_files): Obtain platform name from libm-test-ulps-name and
3538         store in %pplatforms.
3539         (canonicalize_platform): Remove.
3540         (print_platforms): Use $pplatforms directly.
3541         (by_platforms): Do not allow for platforms missing from
3542         %pplatforms.
3543         * sysdeps/aarch64/libm-test-ulps-name: New file.
3544         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3545         * sysdeps/arm/libm-test-ulps-name: Likewise.
3546         * sysdeps/generic/libm-test-ulps-name: Likewise.
3547         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3548         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3549         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3550         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3551         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3552         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3553         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3554         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3555         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3556         * sysdeps/nios2/libm-test-ulps-name: Likewise.
3557         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3558         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3559         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3560         * sysdeps/sh/libm-test-ulps-name: Likewise.
3561         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3562         * sysdeps/tile/libm-test-ulps-name: Likewise.
3563         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3565         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3567         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3568         (test-xfail-check-execstack): New variable.
3570         * sysdeps/mips/localplt.data: New file.
3572 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
3573             Steve Ellcey  <sellcey@caviumnetworks.com>
3575         * bits/wordsize.h: Add documentation.
3576         * sysdeps/aarch64/bits/wordsize.h : New file
3577         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3578         definitions.
3579         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3580         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3581         with #if instead of #ifdef.
3582         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3583         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3584         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3585         Add or change defines.
3586         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3587         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3588         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3589         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3590         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3591         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3592         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3593         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3594         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3595         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3596         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3597         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3598         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3599         * sysdeps/x86/bits/wordsize.h: Likewise.
3601 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
3602             Kevin Petit  <kevin.petit@arm.com>
3604         * sysdeps/aarch64/memchr.S (__memchr): New file.
3606 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3608         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3610 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
3612         [BZ #19398]
3613         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3614         $(linknamespace-symlists-tests).
3616 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
3618         * time/tst-strptime2.c: Ignore -Wformat-length warning.
3620 2016-11-02  Florian Weimer  <fweimer@redhat.com>
3621             Carlos O'Donell  <carlos@redhat.com>
3623         [Bug #20729]
3624         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3625         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
3626         for -Os related change.
3628 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
3630         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3632 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
3634         [BZ #19673]
3635         * manual/math.texi (Exponents and Logarithms): Correct description
3636         of clog10.
3638 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
3640         [Bz #20729]
3641         * locale/weight.h: Include libc-internal.h.
3642         * locale/weightwc.h: Likewise.
3643         * nptl/nptl_dbP.h: Likewise.
3645 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
3647         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3648         when it is MACH_PORT_NULL.
3650 2016-10-31  Andreas Schwab  <schwab@suse.de>
3652         [BZ #20707]
3653         * posix/glob.c (glob): Initialize pglob before checking for
3654         GLOB_BRACE.  Don't call glob recursively if pattern contains no
3655         valid brace expression despite GLOB_BRACE.
3656         * posix/globtest.sh: Test it.
3658 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3660         [BZ #20729]
3661         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3662         Define.
3663         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3664         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3665         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3666         for seq2.back_us and seq1.back_us only for -Os compiles.
3667         * locale/weightwc.h (findix): Likewise.
3668         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3669         DB_GET_FIELD_ADDRESS only for -Os compiles.
3670         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3671         for slen only for -Os compiles.
3672         * string/strcoll_l.c (get_next_seq): Ignore
3673         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3674         for -Os compiles.
3676         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3677         * include/crypt.h: New file.
3679 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3681         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3682         from test-skeleton.c.
3683         (statclass): Replace calls to write with calls to write_message.
3685 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3687         * math/math.h
3688         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3689         New macro.
3690         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3691         Likewise.
3692         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3693         Likewise.
3694         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3695         SNANL.
3696         * math/test-double.h (snan_value_MACRO): New macro.
3697         * math/test-float.h (snan_value_MACRO): Likewise.
3698         * math/test-ldouble.h (snan_value_MACRO): Likewise.
3699         * math/libm-test.inc (issignaling_test_data): Add tests of
3700         snan_value_MACRO.
3702 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3704         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3705         behavior when eliding a lock not held by the current thread.
3706         * sysdeps/powerpc/nptl/elide.h: Likewise.
3708 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3710         [BZ #20728]
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3712         branch to _exit() by a function call.
3714 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3716         * malloc/malloc.c: Update chunk layout comments.
3717         (chunk_main_arena): Update comment.
3719 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3721         * crypt/sha256.c, crypt/sha256-block.c,
3722         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3723         sha256_process_block to __sha256_process_block.
3724         * crypt/sha512.c, crypt/sha512-block.c,
3725         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3726         sha512_process_block to __sha512_process_block.
3728 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3730         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3732         * math/test-nan-overflow.c: Include stdlib.h for malloc.
3734 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
3736         [BZ #20019]
3737         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3738         definition in unrelocated shared library.
3739         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3741 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3743         [BZ #20729]
3744         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3745         * sysdeps/unix/sysv/linux/i386/Makefile
3746         (uses-6-syscall-arguments): Define.
3747         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3748         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3749         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3750         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3751         Likewise.
3752         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3753         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3754         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3755         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3756         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3757         (CFLAGS-fallocate64.os): Likewise.
3758         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3759         (CFLAGS-pthread_rwlock_timedrdlock.os)
3760         (CFLAGS-pthread_rwlock_timedwrlock.o)
3761         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3762         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3763         (CFLAGS-sem_timedwait.os): Likewise.
3765 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3767         * elf/tst-linkall-static.c: New file.
3768         * elf/Makefile (tests-static): Add tst-linkall-static.
3769         (tst-linkall-static): Link against static libraries.
3771 2016-10-27  Florian Weimer  <fweimer@redhat.com>
3773         * malloc/malloc.c (sysmalloc): Initialize previous size field of
3774         mmaped chunks.
3776 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3778         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3779         members to mchunk_prev_size, mchunk_size.
3780         (chunk_main_arena): Reverse sense and rename from
3781         chunk_non_main_arena.
3782         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3783         mchunk_size instead of size.
3784         (set_non_main_arena): Define.
3785         (chunksize): Use chunksize_nomask instead of direct member access.
3786         (chunksize_nomask): Define.
3787         (next_chunk): Use chunksize instead of direct member access.
3788         (prev_size, set_prev_size): Define.
3789         (prev_chunk): Use prev_size instead of direct member access.
3790         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3791         (inuse_bit_at_offset, set_inuse_bit_at_offset)
3792         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3793         (mchunk_prev_size, mchunk_size): Poison tokens.
3794         (unlink): Use chunksize_nomask, prev_size accessors.
3795         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3796         (do_check_free_chunk): Use prev_size accessor.
3797         (sysmalloc): Use set_prev_size, set_head accessors.
3798         (munmap_chunk, mremap_chunk): Use prev_size accessor.
3799         (__libc_free): Use chunksize_nomask accessor.
3800         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3801         chunk_main_arena accessors.
3802         (_int_free): Use chunksize_nomask, prev_size accessors.
3803         (malloc_consolidate): Use chunksize, prev_size accessors.
3804         (_int_realloc): Use chunksize_nomask accessor.
3805         (_int_memalign): Use set_prev_size accessor.
3806         (__malloc_info): Use chunksize_nomask accessor.
3807         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3808         accessors.
3809         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3810         (heap_trim): Use chunksize_nomask, prev_size accessors.
3812 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3814         [BZ #19380]
3815         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3816         for inexact results.
3817         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3818         of inexact result where mpfr_subnormalize is the only inexact
3819         step.
3820         * stdlib/tst-strtod-round-data.h: Regenerated.
3821         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3822         Define to 0.
3823         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3825 2016-10-27  David S. Miller  <davem@davemloft.net>
3827         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3829 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3831         * malloc/malloc.c (do_set_mallopt_check): New function.
3832         (do_set_mmap_threshold): Likewise.
3833         (do_set_mmaps_max): Likewise.
3834         (do_set_top_pad): Likewise.
3835         (do_set_perturb_byte): Likewise.
3836         (do_set_trim_threshold): Likewise.
3837         (do_set_arena_max): Likewise.
3838         (do_set_arena_test): Likewise.
3839         (__libc_mallopt): Use them.
3841 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3843         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3844         (canonicalize): New declaration.
3845         * math/Versions (canonicalize): New libm symbol at version
3846         GLIBC_2.25.
3847         (canonicalizef): Likewise.
3848         (canonicalizel): Likewise.
3849         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3850         * math/s_canonicalize_template.c: New file.
3851         * math/libm-test.inc: Update comment on functions tested and
3852         testing of NaN payloads.
3853         (TEST_NAN_PAYLOAD): New macro.
3854         (NO_TEST_INLINE): Update value.
3855         (XFAIL_TEST): Likewise.
3856         (ERRNO_UNCHANGED): Likewise.
3857         (ERRNO_EDOM): Likewise.
3858         (ERRNO_ERANGE): Likewise.
3859         (IGNORE_RESULT): Likewise.
3860         (NON_FINITE): Likewise.
3861         (TEST_SNAN): Likewise.
3862         (NO_TEST_MATHVEC): Likewise.
3863         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3864         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3865         (struct test_Ffp_b1_data): New type.
3866         (RUN_TEST_Ffp_b1): New macro.
3867         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3868         (canonicalize_test_data): New array.
3869         (canonicalize_test): New function.
3870         (main): Call canonicalize_test.
3871         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3872         canonicalizef and canonicalizel.
3873         * manual/libm-err-tab.pl: Update comment on interfaces without
3874         ulps tabulated.
3875         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3876         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3877         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3878         canonicalize.
3879         (CFLAGS-nldbl-canonicalize.c): New variable.
3880         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3881         to ...
3882         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3883         ... here.
3884         (do_test): Also test canonicalizel.
3885         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3886         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3887         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3888         file.
3889         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3890         Use libm_hidden_def.
3891         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3892         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3893         (do_test): Also test canonicalizel.
3894         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3895         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3896         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3897         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3898         libm_hidden_def.
3899         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3900         macro.
3901         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3902         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3903         * sysdeps/nacl/libm.abilist: Update.
3904         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3905         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3906         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3907         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3908         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3909         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3910         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3911         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3912         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3917         Likewise.
3918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3919         Likewise.
3920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3921         Likewise.
3922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3923         Likewise.
3924         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3925         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3926         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3927         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3928         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3930         Likewise.
3931         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3932         Likewise.
3933         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3937         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3938         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3939         getpayload.
3940         (CFLAGS-nldbl-getpayload.c): New variable.
3942 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3944         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3945         integer from the format string.
3947 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3949         [BZ #19473]
3950         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3951         declarations.
3952         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3953         weak aliases.
3954         * malloc/hooks.c (__malloc_get_state): Remove definition.
3955         (malloc_get_state): New stub implementation as
3956         compatibility symbol.
3957         (malloc_set_state): Rename from __malloc_set_state.  Turn into
3958         compat symbol.
3959         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3960         malloc_set_state.
3961         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3963 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3965         * iconvdata/iso646.c (enum variant): Drop illegal_var.
3966         (names): Turn into concatenation of strings.
3967         (gconv_init): Adapt iteration over names.
3969 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3971         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3972         make const.
3973         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3974         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3975         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3976         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3977         character in sbconv.
3978         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3979         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3980         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3982 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3984         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3986         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
3987         (M_TRIM_THRESHOLD): Likewise.
3989         * manual/memory.texi (M_ARENA_TEST): Add documentation.
3990         (M_ARENA_MAX): Likewise.
3991         * malloc/malloc.c: Remove obsolete comment.
3993         * manual/memory.texi: Add environment variable alternatives to
3994         setting mallopt parameters.
3996 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
3998         * include/atomic.h
3999         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4000         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4002 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4004         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4005         * stdlib/tst-strfrom.h: New file.
4006         * stdlib/tst-strfrom.c: New file.
4007         * stdlib/tst-strfrom-locale.c: New file.
4009         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4010         * stdlib/bug-strtod2.c: Likewise.
4011         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4012         * stdlib/tst-strtod6.c: Likewise.
4013         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4015 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4017         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4018         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4019         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4020         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4021         * stdlib/stdlib.h (strfromd): New declaration.
4022         (strfromf): Likewise.
4023         (strfroml): Likewise.
4024         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4025         strfrom.
4026         * stdlib/strfromd.c: New file.
4027         * stdlib/strfromf.c: Likewise.
4028         * stdlib/strfroml.c: Likewise.
4029         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4030         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4031         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4032         * sysdeps/arm/nacl/libc.abilist: Update.
4033         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4034         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4035         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4036         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4037         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4038         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4039         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4040         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4041         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4042         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4043         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4044         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4045         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4046         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4051         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4052         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4053         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4054         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4055         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4058         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4059         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4060         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4062 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4064         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4065         instead of cmpli.
4066         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4067         instead of cmpli.
4069 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4071         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4072         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4073         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4074         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4075         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4076         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4078 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4080         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4081         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4082         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4083         SYSCALL_LL64_PRW.
4084         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4085         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4086         __ASSUME_PRW_DUMMY_ARG.
4087         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4088         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4089         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4090         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4091         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4092         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4094 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4096         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4098 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4100         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4101         "C++", to override a potential extern "C" directive around the
4102         header file inclusion.
4104 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4106         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4108 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4110         * sysdeps/powerpc/fpu/fenv_private.h:
4111         (_FPU_MASK_ALL): Rename to...
4112         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4113         XE FPSCR bits.
4115         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4117         (_FPU_MASK_ROUNDING): Rename to...
4118         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4119         NI bits.
4121         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4122         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4123         bits and rounding bits.
4125         (__libc_feholdbits_ppc): New inline function to mask, set,
4126         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4127         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4128         (libc_feholdexcept_setround_ppc): Likewise.
4130         (__libc_femergeenv_ppc): New function to dynamically mask both
4131         old and new FP environments and merge.
4132         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4133         (libc_feresetround_ppc): Likewise.
4134         (libc_feupdateenv_test_ppc): Likewise.
4135         (libc_feupdateenv_ppc): Likewise.
4137         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4138         of ISA RN bits, and update macro names.
4139         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4140         effectively the same as the previously mentioned function.
4142         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4143         usage with fe_resetround_ppc.
4145         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4146         to be used.
4147         (libc_feholdexcept_setround_ctxf): Likewise.
4148         (libc_feholdexcept_setround_ctxl): Likewise.
4150 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4152         [BZ #20715]
4153         * math/math.h [__cplusplus] (iszero): Define as function template.
4154         * math/Makefile [CXX] (tests): Add test-math-iszero.
4155         (CFLAGS-test-math-iszero.cc): Set.
4156         * math/test-math-iszero.cc: New file.
4158 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4160         [BZ #20660]
4161         * sysdeps/arm/e_sqrt.c: New file.
4162         * sysdeps/arm/e_sqrtf.c: Likewise.
4164 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4166         [BZ #20718]
4167         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4168         not use floating-point comparisons to test sign.
4169         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4170         Likewise.
4172         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4173         (getpayload): New declaration.
4174         * math/Versions (getpayload): New libm symbol at version
4175         GLIBC_2.25.
4176         (getpayloadf): Likewise.
4177         (getpayloadl): Likewise.
4178         * math/Makefile (libm-calls): Add s_getpayloadF.
4179         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4180         (struct test_f_f_data): Add comment.
4181         (RUN_TEST_fp_f): New macro.
4182         (RUN_TEST_LOOP_fp_f): Likewise.
4183         (getpayload_test_data): New array.
4184         (getpayload_test): New function.
4185         (main): Call getpayload_test.
4186         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4187         descriptor.
4188         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4189         getpayloadf and getpayloadl.
4190         * manual/libm-err-tab.pl: Update comment on interfaces without
4191         ulps tabulated.
4192         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4193         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4194         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4195         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4196         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4197         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4198         * sysdeps/nacl/libm.abilist: Update.
4199         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4200         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4201         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4202         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4203         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4204         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4205         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4206         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4207         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4208         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4209         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4210         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4212         Likewise.
4213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4214         Likewise.
4215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4216         Likewise.
4217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4218         Likewise.
4219         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4220         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4221         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4222         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4223         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4225         Likewise.
4226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4227         Likewise.
4228         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4229         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4230         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4232 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4234         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4235         tst-fallocate{64}.
4236         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4237         on syscall return.
4239 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
4241         [BZ #20689]
4242         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4243         usable.
4245 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
4247         * sysdeps/generic/nan-high-order-bit.h: New file.
4248         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4249         * sysdeps/mips/nan-high-order-bit.h: Likewise.
4250         * sysdeps/hppa/math_private.h: Remove file.
4251         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4252         not define here.
4253         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4254         <nan-high-order-bit.h>.
4255         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4256         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4257         <nan-high-order-bit.h>.
4258         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4259         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4260         <nan-high-order-bit.h>.
4261         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4262         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4263         <nan-high-order-bit.h>.
4264         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4265         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4266         <nan-high-order-bit.h>.
4267         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4268         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4269         <nan-high-order-bit.h>.
4270         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4271         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4272         <nan-high-order-bit.h>.
4273         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4274         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4275         <nan-high-order-bit.h>.
4276         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4277         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4278         <nan-high-order-bit.h>.
4279         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4280         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4281         <nan-high-order-bit.h>.
4282         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4283         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4284         <nan-high-order-bit.h>.
4285         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4286         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4287         <nan-high-order-bit.h>.
4288         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4289         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4290         <nan-high-order-bit.h>.
4291         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4292         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4293         <nan-high-order-bit.h>.
4294         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4295         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4296         <nan-high-order-bit.h>.
4297         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4298         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4299         <nan-high-order-bit.h>.
4300         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4301         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4302         <nan-high-order-bit.h>.
4303         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4304         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4305         <nan-high-order-bit.h>.
4306         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4308 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4310         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4312 2016-09-22  John David Anglin  <dave.anglin@bell.net>
4314         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4315         abort-instr.h.
4316         (EFAULT): Remove conditional define.
4317         (ENOSYS): Likewise.
4318         (atomic_compare_and_exchange_val_acq): Use instruction nullification
4319         instead of conditional branch instructions.
4321 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
4323         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4324         (totalordermag): New declaration.
4325         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4326         New macro.
4327         * math/Versions (totalordermag): New libm symbol at version
4328         GLIBC_2.25.
4329         (totalordermagf): Likewise.
4330         (totalordermagl): Likewise.
4331         * math/Makefile (libm-calls): Add s_totalordermagF.
4332         * math/libm-test.inc (totalordermag_test_data): New array.
4333         (totalordermag_test): New function.
4334         (main): Call totalordermag_test.
4335         * math/test-tgmath.c (NCALLS): Increase to 125.
4336         (F(compile_test)): Call totalordermag.
4337         (F(totalordermag)): New function.
4338         * manual/arith.texi (FP Comparison Functions): Document
4339         totalordermag, totalordermagf and totalordermagl.
4340         * manual/libm-err-tab.pl: Update comment on interfaces without
4341         ulps tabulated.
4342         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4343         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4344         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4345         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4346         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4347         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4348         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4349         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4350         totalordermag.
4351         (CFLAGS-nldbl-totalordermag.c): New variable.
4352         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4353         (do_test): Also test totalordermagl.
4354         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4355         Likewise.
4356         * sysdeps/nacl/libm.abilist: Update.
4357         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4360         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4361         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4362         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4363         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4364         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4365         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4366         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4367         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4368         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4370         Likewise.
4371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4372         Likewise.
4373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4374         Likewise.
4375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4376         Likewise.
4377         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4378         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4379         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4380         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4381         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4383         Likewise.
4384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4385         Likewise.
4386         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4387         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4388         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4390 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
4392         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4393         boolean.
4395 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
4397         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4398         raising FE_INVALID with feraisexcept in case where part of
4399         argument is infinite, subtract that part of argument from itself.
4400         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4401         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4402         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4404 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4406         * math/libm-test.inc (totalorder_test_data): Add more tests.
4408 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4410         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4411         Undefine weak_alias and add a comment why mips64 require
4412         versioning.
4414 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4416         [BZ #20647]
4417         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4418         maximum CPUID level is less than 2.
4420 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4422         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4423         (totalorder): New declaration.
4424         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4425         New macro.
4426         * math/Versions (totalorder): New libm symbol at version
4427         GLIBC_2.25.
4428         (totalorderf): Likewise.
4429         (totalorderl): Likewise.
4430         * math/Makefile (libm-calls): Add s_totalorderF.
4431         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4432         string.
4433         * math/libm-test.inc (PAYLOAD_DIG): New macro.
4434         (qnan_value_pl): Likewise.
4435         (snan_value_pl): Likewise.
4436         (qnan_value): Define using qnan_value_pl.
4437         (snan_value): Define using snan_value_pl.
4438         (struct test_ff_i_data): Add comment about which tests use this
4439         structure.
4440         (RUN_TEST_ff_b): New macro.
4441         (RUN_TEST_LOOP_ff_b): Likewise.
4442         (totalorder_test_data): New array.
4443         (totalorder_test): New function.
4444         (main): Call totalorder_test.
4445         * math/test-tgmath.c (NCALLS): Increase to 122.
4446         (F(compile_test)): Call totalorder.
4447         (F(totalorder)): New function.
4448         * manual/arith.texi (FP Comparison Functions): Document
4449         totalorder, totalorderf and totalorderl.
4450         * manual/libm-err-tab.pl: Update comment on interfaces without
4451         ulps tabulated.
4452         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4453         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4454         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4455         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4456         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4457         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4458         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4459         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4460         totalorder.
4461         (CFLAGS-nldbl-totalorder.c): New variable.
4462         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4463         file.
4464         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4465         Add test-totalorderl-ldbl-128ibm.
4466         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4467         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4468         test-totalorderl-ldbl-96.
4469         * sysdeps/nacl/libm.abilist: Update.
4470         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4471         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4473         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4474         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4475         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4476         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4477         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4478         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4479         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4480         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4481         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4483         Likewise.
4484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4485         Likewise.
4486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4487         Likewise.
4488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4489         Likewise.
4490         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4491         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4492         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4493         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4494         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4496         Likewise.
4497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4498         Likewise.
4499         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4500         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4501         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4503 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4505         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4506         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4507         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4508         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4509         remove ENOSYS implementation.
4510         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4511         Consolidate all Linux implementations.
4513 2016-10-11  Florian Weimer  <fweimer@redhat.com>
4515         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4516         * resolv/herror.c (herror): Cast away const-ness.
4517         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4518         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4520 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
4522         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4523         instead of M_NAN + M_NAN.
4524         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4526 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4528         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4529         unused variable 'p'.
4531 2016-10-09  Alan Modra  <amodra@gmail.com>
4532             Andreas Schwab  <schwab@linux-m68k.org>
4534         [BZ #20554]
4535         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4536         [PIC && !SHARED]: Set up PIC register for PLT call.
4538 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
4540         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4541         conditional on value of [__FLT_EVAL_METHOD__].
4542         * math/test-iseqsig-excess-precision.c: New file.
4543         * math/Makefile (tests): Add test-iseqsig-excess-precision.
4545 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4547         * math/s_iseqsig_template.c: Include math-private.h.
4549         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4550         * posix/tst-posix_fadvise.c: New file.
4551         * posix/tst-posix_fadvise64.c: Likewise.
4552         * posix/tst-posix_fadvise-common.c: Likewise.
4553         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4554         (__ASSUME_FADVISE64_64_6ARG): Define.
4555         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4556         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4558         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4559         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4560         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4561         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4562         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4563         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4564         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4565         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4566         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4569         Likewise.
4570         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4571         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4572         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4573         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4574         Alias to __posix_fadvise64_l32.
4575         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4576         Add compat definition to posix_fadvise64.
4577         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4578         Add versioned definition to posix_fadvise64.
4579         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4580         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4581         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4582         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4583         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4585         * io/Makefile (tests): Add tst-posix_fallocate and
4586         tst-posix_fallocate64.
4587         * io/tst-posix_fallocate-common.c: New file.
4588         * io/tst-posix_fallocate.c: Likewise.
4589         * io/tst-posix_fallocate64.c: Likewise.
4590         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4591         file.
4592         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4593         Likewise.
4594         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4595         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4596         Likewise.
4597         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4598         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4599         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4600         SYSCALL_LL to pass both offset and len arguments.
4601         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4602         Likewise.
4603         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4604         __libc_pwrite64 alias used by posix_fallocate64.
4606         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4607         tst-fallocate64.
4608         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4609         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4610         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4611         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4612         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4613         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4614         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4615         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4616         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4617         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4618         macro on offset argument.
4619         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4620         SYSCALL_LL64 on offset argument.
4622         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4623         tst-fallocate64.
4624         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4625         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4626         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4627         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4628         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4629         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4630         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4631         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4632         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4633         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4634         macro on offset argument.
4635         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4636         SYSCALL_LL64 on offset argument.
4637         * test-skeleton.c (FAIL_RET): Add macro.
4638         (FAIL_EXIT): Likewise.
4639         (FAIL_EXIT1): Likewise.
4640         (_FAIL): Likewise.
4642 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4644         [BZ #20629]
4645         resolv: Remove RES_USEBSTRING and its implementation.
4646         * resolv/resolv.h (RES_USEBSTRING): Remove.
4647         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4648         (digitvalue, encode_bitstring, decode_bitstring): Remove.
4649         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4650         (labellen): Remove extended label types support.
4651         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4652         * resolv/res_init.c (res_setoptions): Likewise.
4653         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4655 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4657         resolv: Remove RES_NOIP6DOTINT and its implementation.
4658         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4659         (RES_NOIP6DOTINT): Remove.
4660         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4661         handling.
4662         * resolv/res_debug.c (p_option): Likewise.
4663         * resolv/res_init.c (res_setoptions): Likewise.
4664         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4666 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4668         resolv: Deprecate unimplemented flags.
4669         * misc/sys/cdefs.h (__glibc_macro_warning1)
4670         (__glibc_macro_warning): Define.
4671         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4672         (RES_KEEPTSIG): Mark as deprecated.
4673         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4674         RES_NOCHECKNAME, RES_KEEPTSIG.
4675         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4677 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4679         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4680         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4681         Use strong_alias to create symbols for glibc verison 2.19.
4683 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4685         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4687 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4689         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4691 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4693         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4695 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4697         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4698         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4699         in header for using it as type for ifunc function because __GI_* symbols
4700         for ppc32 do not target the ifunc symbols.
4701         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4703 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4705         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4706         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4707         libc_ifunc_hidden_def.
4708         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4709         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4710         Redirect ifunced function in header for using it as type of ifunc'ed
4711         function. Redefine libc_hidden_def to use fallback non ifunc'ed
4712         function for __GI_* symbol.
4713         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4714         * include/libc-symbols.h
4715         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4717 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4719         [BZ #20478]
4720         * sysdeps/s390/multiarch/ifunc-resolve.h
4721         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4722         to create ifunc symbols.
4723         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4724         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4725         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4726         for using it as type for ifunc function.
4727         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4728         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4729         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4730         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4731         * sysdeps/s390/multiarch/strcat.c: Likewise.
4732         * sysdeps/s390/multiarch/strchr.c: Likewise.
4733         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4734         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4735         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4736         * sysdeps/s390/multiarch/strlen.c: Likewise.
4737         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4738         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4739         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4740         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4741         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4742         * sysdeps/s390/multiarch/strspn.c: Likewise.
4743         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4744         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4745         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4746         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4747         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4748         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4749         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4750         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4751         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4752         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4753         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4754         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4756 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4758         * include/libc-symbols.h (__ifunc_resolver):
4759         New macro is used by __ifunc* macros.
4760         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4761         depending on HAVE_GCC_IFUNC.
4762         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4763         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4765         Redirect ifunced function in header for using as type for ifunc function.
4766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4770         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4771         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4772         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4773         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4774         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4775         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4776         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4777         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4778         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4779         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4785         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4786         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4787         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4788         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4789         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4790         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4791         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4792         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4793         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4794         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4795         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4796         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4797         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4798         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4800         Add libc_hidden_def() and use libc_ifunc_hidden() macro
4801         instead of libc_ifunc() macro.
4802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4803         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4805 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4807         * config.h.in (HAVE_GCC_IFUNC): New undef.
4808         * configure.ac: Add check if gcc supports attribute ifunc feature.
4809         * configure: Regenerated.
4810         * manual/install.texi: Add recommendation for gcc with
4811         indirect-function support.
4812         * INSTALL: Regenerated.
4814 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
4816         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4817         macro.
4818         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4819         (__iseqsig): New declaration.
4820         * math/s_iseqsig_template.c: New file.
4821         * math/Versions (__iseqsigf): New libm symbol at version
4822         GLIBC_2.25.
4823         (__iseqsig): Likewise.
4824         (__iseqsigl): Likewise.
4825         * math/libm-test.inc (iseqsig_test_data): New array.
4826         (iseqsig_test): New function.
4827         (main): Call iseqsig_test.
4828         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4829         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4830         * manual/libm-err-tab.pl: Update comment on interfaces without
4831         ulps tabulated.
4832         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4833         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4834         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4835         * sysdeps/nacl/libm.abilist: Update.
4836         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4837         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4838         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4842         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4843         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4844         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4845         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4846         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4847         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4849         Likewise.
4850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4851         Likewise.
4852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4853         Likewise.
4854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4855         Likewise.
4856         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4857         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4858         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4859         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4860         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4862         Likewise.
4863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4864         Likewise.
4865         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4866         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4867         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4869 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4871         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4872         do_sincos_2, sloww, sloww1): Update comments.
4874         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4875         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4877         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4878         K boolean and rename it.
4879         (__sin): Adjust.
4880         (__cos): Adjust.
4882 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4883             Siddhesh Poyarekar  <siddhesh@sourceware.org>
4885         * manual/nss.texi: Fix typos in the manual.
4887 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4889         * manual/contrib.texi: Fix typos in the manual.
4891         * manual/maint.texi: Fix typos in the manual.
4893         * manual/install.texi: Fix typos in the manual.
4894         * INSTALL: Regenerated.
4896         * manual/lang.texi: Fix typos in the manual.
4898         * manual/probes.texi: Fix typos in the manual.
4900         * manual/threads.texi: Fix typos in the manual.
4902         * manual/debug.texi: Fix typos in the manual.
4904         * manual/crypt.texi: Fix typos in the manual.
4906         * manual/conf.texi: Fix typos in the manual.
4908         * manual/sysinfo.texi: Fix typos in the manual.
4910         * manual/users.texi: Fix typos in the manual.
4912         * manual/job.texi: Fix typos in the manual.
4914         * manual/process.texi: Fix typos in the manual.
4916         * manual/argp.texi: Fix typos in the manual.
4917         * manual/getopt.texi: Likewise.
4918         * manual/startup.texi: Likewise.
4920         * manual/signal.texi: Fix typos in the manual.
4922         * manual/setjmp.texi: Fix typos in the manual.
4924         * manual/resource.texi: Fix typos in the manual.
4926         * manual/time.texi: Fix typos in the manual.
4928         * manual/arith.texi: Fix typos in the manual.
4930         * manual/math.texi: Fix typos in the manual.
4932         * manual/syslog.texi: Fix typos in the manual.
4934         * manual/terminal.texi: Fix typos in the manual.
4936         * manual/socket.texi: Fix typos in the manual.
4938         * manual/filesys.texi: Fix typos in the manual.
4940         * manual/llio.texi: Fix typos in the manual.
4942         * manual/stdio.text: Fix typos in the manual.
4944 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4946         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4947         instead of K1.
4949         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4950         SHIFT_QUADRANT and make it bool.
4951         (do_sincos_2): Likewise.
4952         (sloww): Likewise.
4953         (sloww1): Likewise.
4954         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4955         (__cos): Likewise.
4957 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4959         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4961 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
4963         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4964         Define to __WORDSIZE, not conditional on [LONG_MAX ==
4965         0x7fffffffL].
4966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4968 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4970         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4971         inline by __inline__.
4972         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4973         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4974         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4975         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4976         sigset_t from signal.h.
4977         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4978         which is already required.
4980 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4982         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4984 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
4986         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
4987         (struct tcp_repair_window): New type.
4989 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4991         * libio/tst-memstream3.c: Include string.h.
4993 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4995         [BZ #18241]
4996         [BZ #20181]
4997         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
4998         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
4999         write position is at the end the buffer.
5000         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5001         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5002         (_IO_str_seekoff): Set correct offset from negative displacement and
5003         set EINVAL for invalid ones.
5004         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5005         buffer length.
5006         (_IO_wstr_switch_to_get_mode): New function.
5007         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5008         set EINVAL for invalid ones.
5009         * libio/tst-memstream3.c: New file.
5010         * libio/tst-wmemstream3.c: Likewise.
5011         * manual/examples/memstrm.c: Remove warning when priting size_t.
5013 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5015         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5016         macro to use __builtin_fma.
5017         * sysdeps/x86_64/fpu/dla.h: Remove file.
5019         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5020         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5021         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5023 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5025         [BZ #20292]
5026         * elf/Makefile (routines): Add dl-addr-obj.
5027         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5028         tst-_dl_addr_inside_object.
5029         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5030         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5031         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5032         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5033         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5034         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5035         * elf/dl-open.c: Likewise.
5036         * elf/dl-addr-obj.c: New file.
5037         * elf/tst-_dl_addr_inside_object.c: New file.
5039 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5041         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5042         <bits/iscanonical.h>.
5043         * bits/iscanonical.h: New file.
5044         * math/s_iscanonicall.c: Likewise.
5045         * math/Versions (__iscanonicall): New libm symbol at version
5046         GLIBC_2.25.
5047         * math/libm-test.inc (iscanonical_test_data): New array.
5048         (iscanonical_test): New function.
5049         (main): Call iscanonical_test.
5050         * math/Makefile (headers): Add bits/iscanonical.h.
5051         (type-ldouble-routines): Add s_iscanonicall.
5052         * manual/arith.texi (Floating Point Classes): Document
5053         iscanonical.
5054         * manual/libm-err-tab.pl: Update comment on interfaces without
5055         ulps tabulated.
5056         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5057         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5058         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5059         Likewise.
5060         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5061         test-iscanonical-ldbl-128ibm.
5062         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5063         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5064         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5065         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5066         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5067         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5068         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5070         Likewise.
5071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5072         Likewise.
5073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5074         Likewise.
5075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5076         Likewise.
5077         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5078         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5080 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5082         * string/bits/string3.h: Remove C++ style comments.
5084 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5086         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5087         instead of ternary condition.
5088         (do_sincos_2): Likewise.
5089         (__sin): Likewise.
5090         (__cos): Likewise.
5091         (slow): Likewise.
5092         (sloww): Likewise.
5093         (sloww1): Likewise.
5094         (bsloww): Likewise.
5095         (bsloww1): Likewise.
5097         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5098         instead of ternary condition.
5099         (do_sin_slow): Likewise.
5100         (do_sincos_1): Likewise.
5101         (do_sincos_2): Likewise.
5102         (__cos): Likewise.
5103         (sloww): Likewise.
5104         (sloww1): Likewise.
5105         (sloww2): Likewise.
5106         (bsloww): Likewise.
5107         (bsloww1): Likewise.
5108         (bsloww2): Likewise.
5110         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5111         check from here...
5112         (slow2): ... and here...
5113         (__sin): ... to here.
5115 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5117         * math/math.h
5118         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5119         Cast argument to its own type.
5120         * math/test-iszero-excess-precision.c: New file.
5121         * math/Makefile (tests): Add test-iszero-excess-precision.
5122         (CFLAGS-test-iszero-excess-precision.c): New variable.
5124 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5126         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5127         field, add err field.
5128         (__spawni_child): Report error through err member instead of pipe.
5129         (__spawnix): Likewise.
5131 2016-09-28  Zack Weinberg  <zackw@panix.com>
5133         * scripts/check-installed-headers.sh: Generalize treatment of
5134         sys/elf.h to all target architectures.
5136         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5137         deleted typedef ucontext_t.
5139 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5141         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5142         (__INTERNAL_SYSCALL1): Likewise.
5143         (__INTERNAL_SYSCALL2): Likewise.
5144         (__INTERNAL_SYSCALL3): Likewise.
5145         (__INTERNAL_SYSCALL4): Likewise.
5146         (__INTERNAL_SYSCALL5): Likewise.
5147         (__INTERNAL_SYSCALL6): Likewise.
5148         (__INTERNAL_SYSCALL7): Likewise.
5149         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5150         (__INTERNAL_SYSCALL_NARGS): Likewise.
5151         (__INTERNAL_SYSCALL_DISP): Likewise.
5152         (INTERNAL_SYSCALL_CALL): Likewise.
5153         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5154         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5155         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5156         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5157         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5158         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5159         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5160         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5161         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5162         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5163         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5164         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5165         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5167 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5169         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5170         macro.
5171         * math/libm-test.inc (iszero_test_data): New array.
5172         (iszero_test): New function.
5173         (main): Call iszero_test.
5174         * manual/arith.texi (Floating Point Classes): Document iszero.
5175         * manual/libm-err-tab.pl: Update comment on interfaces without
5176         ulps tabulated.
5178 2016-09-23  Zack Weinberg  <zackw@panix.com>
5180         * scripts/check-installed-headers.sh: New script.
5181         * Rules: In each directory that defines header files to be installed,
5182         run check-installed-headers.sh on them as a special test.
5183         * Makefile: Likewise for the headers installed at top level.
5185         * include/aliases.h, include/alloca.h, include/argz.h
5186         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5187         * include/elf.h, include/envz.h, include/err.h
5188         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5189         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5190         * include/link.h, include/malloc.h, include/mcheck.h
5191         * include/mntent.h, include/netinet/ether.h
5192         * include/nss.h, include/obstack.h, include/printf.h
5193         * include/pty.h, include/resolv.h, include/rpc/auth.h
5194         * include/rpc/auth_des.h, include/rpc/auth_unix.h
5195         * include/rpc/clnt.h, include/rpc/des_crypt.h
5196         * include/rpc/key_prot.h, include/rpc/netdb.h
5197         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5198         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5199         * include/rpc/rpc_msg.h, include/rpc/svc.h
5200         * include/rpc/svc_auth.h, include/rpc/xdr.h
5201         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5202         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5203         * include/rpcsvc/ypupd.h, include/shadow.h
5204         * include/stdio_ext.h, include/sys/epoll.h
5205         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5206         * include/sys/prctl.h, include/sys/profil.h
5207         * include/sys/statfs.h, include/sys/sysctl.h
5208         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5209         * sysdeps/arm/nacl/include/bits/setjmp.h
5210         * sysdeps/mips/include/sys/asm.h
5211         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5212         * sysdeps/unix/sysv/linux/include/sys/timex.h
5213         * sysdeps/x86/fpu/include/bits/fenv.h:
5214         Add #ifndef _ISOMAC guard around internal declarations.
5215         Add multiple-inclusion guard if not already present.
5217 2016-09-23  Zack Weinberg  <zackw@panix.com>
5219         * sysdeps/generic/sys/ucontext.h
5220         * sysdeps/arm/sys/ucontext.h
5221         * sysdeps/i386/sys/ucontext.h
5222         * sysdeps/m68k/sys/ucontext.h
5223         * sysdeps/mips/sys/ucontext.h
5224         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5225         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5226         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5227         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5228         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5229         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5230         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5231         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5232         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5233         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5234         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5235         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5236         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5237         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5238         Include both bits/sigcontext.h and bits/sigstack.h.
5239         Fix grammar error in comment, if present.
5241         * bits/sigstack.h
5242         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5243         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5244         * sysdeps/unix/sysv/linux/bits/sigstack.h
5245         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5246         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5247         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5248         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5249         * bits/sigcontext.h
5250         * sysdeps/mach/hurd/i386/bits/sigcontext.h
5251         * sysdeps/unix/sysv/linux/bits/sigcontext.h
5252         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5253         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5254         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
5255         as well as signal.h, if this was not already allowed.  Request
5256         definition of size_t if necessary.  Minimize semantically-null
5257         differences across files.
5259 2016-09-23  Zack Weinberg  <zackw@panix.com>
5261         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5262         Remove all logic conditional on __need macros.  Move all the
5263         conditionally defined types to their own headers...
5264         * time/bits/types/clock_t.h: Define clock_t here.
5265         * time/bits/types/clockid_t.h: Define clockid_t here.
5266         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5267         * time/bits/types/struct_timespec.h: Define struct timespec here.
5268         * time/bits/types/struct_timeval.h: Define struct timeval here.
5269         * time/bits/types/struct_tm.h: Define struct tm here.
5270         * time/bits/types/time_t.h: Define time_t here.
5271         * time/bits/types/timer_t.h: Define timer_t here.
5272         * time/Makefile: Install the new headers.
5274         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5275         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5276         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5277         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5278         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5279         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5280         * sysdeps/unix/sysv/linux/bits/resource.h
5281         * sysdeps/unix/sysv/linux/bits/timex.h
5282         * sysdeps/unix/sysv/linux/mips/bits/resource.h
5283         * sysdeps/unix/sysv/linux/net/ppp_defs.h
5284         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5285         * sysdeps/unix/sysv/linux/sys/acct.h
5286         * sysdeps/unix/sysv/linux/sys/timerfd.h
5287         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5288         * time/sys/time.h, time/sys/timeb.h
5289         Use the new bits/types headers.
5291         * include/time.h: Remove __need logic.
5292         * include/bits/time.h
5293         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5294         * include/bits/types/time_t.h, include/bits/types/timer_t.h
5295         * include/bits/types/struct_itimerspec.h
5296         * include/bits/types/struct_timespec.h
5297         * include/bits/types/struct_timeval.h
5298         * include/bits/types/struct_tm.h:
5299         New wrapper headers.
5301 2016-09-23  Zack Weinberg  <zackw@panix.com>
5303         * sysdeps/mach/hurd/net/if_ppp.h
5304         * sysdeps/unix/sysv/linux/net/if_ppp.h:
5305         Only define struct ifpppstatsreq and struct ifpppcstatsreq
5306         if __USE_MISC is defined, to ensure struct ifreq is declared.
5308         * inet/netinet/ether.h: Condition all function prototypes
5309         on __USE_MISC, to ensure struct ether_addr is declared.
5311         * socket/bits/types/struct_osockaddr.h: New header.
5312         * include/bits/types/struct_osockaddr.h: New wrapper.
5313         * socket/Makefile: Install the new header.
5314         * socket/sys/socket.h, inet/protocols/talkd.h:
5315         Refer to bits/types/struct_osockaddr.h for the definition of
5316         struct osockaddr.
5318 2016-09-23  Zack Weinberg  <zackw@panix.com>
5320         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5321         * inet/protocols/routed.h, inet/protocols/talkd.h
5322         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5323         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5324         * sysdeps/generic/netinet/if_ether.h
5325         * sysdeps/generic/netinet/in_systm.h
5326         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5327         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5328         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5329         * sysdeps/mach/hurd/net/if_arp.h
5330         * sysdeps/mach/hurd/net/if_ppp.h
5331         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5332         * sysdeps/unix/sysv/linux/bits/in.h
5333         * sysdeps/unix/sysv/linux/net/ethernet.h
5334         * sysdeps/unix/sysv/linux/net/if_arp.h
5335         * sysdeps/unix/sysv/linux/net/if_ppp.h
5336         * sysdeps/unix/sysv/linux/net/if_shaper.h
5337         * sysdeps/unix/sysv/linux/net/route.h
5338         * sysdeps/unix/sysv/linux/netinet/if_ether.h
5339         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5340         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5341         * sysdeps/unix/sysv/linux/netipx/ipx.h
5342         * sysdeps/unix/sysv/linux/sys/acct.h
5343         * include/arpa/nameser.h, include/resolv.h:
5344         Change all uses of u_char to unsigned char,
5345         u_short and ushort to unsigned short, u_int and uint to unsigned int,
5346         u_long and ulong to unsigned long, u_int8_t to uint8_t,
5347         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5348         and u_int64_t and u_quad_t to uint64_t.
5350         * mach/sys/reboot.h: Remove two casts of integer literals
5351         to the types they already have.
5353         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5354         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5355         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5356         from referring to 'unsigned char' to 'uint8_t' for consistency with
5357         the macro definition below.
5359         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5360         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5361         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5362         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5363         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5364         * sysdeps/unix/sysv/linux/sys/acct.h
5365         * include/arpa/nameser.h, include/resolv.h:
5366         Fix indentation disrupted by mechanical edits.
5368         * inet/protocols/talkd.h, resolv/arpa/nameser.h
5369         * sysdeps/generic/netinet/in_systm.h
5370         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5371         * sysdeps/gnu/netinet/udp.h
5372         * sysdeps/unix/sysv/linux/net/ethernet.h
5373         * sysdeps/unix/sysv/linux/net/if_arp.h
5374         * sysdeps/unix/sysv/linux/net/if_ppp.h
5375         * sysdeps/unix/sysv/linux/net/if_shaper.h
5376         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5377         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5378         * sysdeps/unix/sysv/linux/netipx/ipx.h
5379         * sysdeps/unix/sysv/linux/sys/acct.h
5380         Include stdint.h for uintNN_t definitions.
5381         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5383 2016-09-23  Zack Weinberg  <zackw@panix.com>
5385         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5386         * sysdeps/unix/sysv/linux/netrose/rose.h:
5387         Include sys/socket.h and netax25/ax25.h.
5389         * inet/netinet/icmp6.h, inet/netinet/ip6.h
5390         * resolv/arpa/nameser_compat.h:
5391         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5393         * sysdeps/unix/sysv/linux/sys/quota.h:
5394         Use __caddr_t instead of caddr_t.
5395         * sysdeps/unix/sysv/linux/sys/timerfd.h:
5396         Use __clockid_t instead of clockid_t.
5398         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5400         * argp/argp.h: Check whether _LIBC is defined before expanding it.
5401         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5402         expanding it.
5404         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5405         Define __glibc_c99_flexarr_available to 1 when the compiler
5406         supports C99-compatible flexible array members, 0 otherwise.
5407         * sysdeps/unix/sysv/linux/bits/socket.h
5408         * sysdeps/mach/hurd/bits/socket.h
5409         * bits/socket.h: Use __glibc_c99_flexarr_available in
5410         definitions of struct cmsghdr and CMSG_DATA.
5412 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5414         * manual/nss.texi (NSS Modules Interface): Adjust function return
5415         type to enum nss_status.  Document errnop argument.  Clarify
5416         h_errnop semantics.  Fix cross-reference formatting.
5417         (NSS Module Function Internals): Mention that *errnop needs to be
5418         set on failure, but not to zero.
5420 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5422         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5423         (get_random_name): New functions.
5424         (check_wrapper_flags_mode): Use linkat to give the new file a name
5425         determined by get_random_name.
5426         (do_test): Add calls to test open64 and openat64.
5428 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5430         * test-skeleton.c: Remove #include <stdarg.h>.
5432 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
5434         [BZ #19826]
5435         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5436         initialization of static TLS entries.
5437         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5438         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5440 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5442         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5443         _hurd_malloc_fork_prepare.
5444         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5445         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5446         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5447         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5448         (_hurd_fork_child_hook): Drop malloc_fork_child.
5449         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5450         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5451         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5452         after locking locks (notably hurd_dtable_lock). Call
5453         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5454         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5455         __malloc_fork_unlock_child.
5456         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5458 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
5460         * soft-fp/extendhftf2.c: New.
5461         * soft-fp/fixhfti.c: Likewise.
5462         * soft-fp/fixunshfti.c: Likewise.
5463         * soft-fp/floattihf.c: Likewise.
5464         * soft-fp/floatuntihf.c: Likewise.
5465         * soft-fp/half.h: Likewise.
5466         * soft-fp/trunctfhf2.c: Likewise.
5468 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
5470         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5471         macro.
5472         * math/libm-test.inc (issubnormal_test_data): New array.
5473         (issubnormal_test): New function.
5474         * manual/arith.texi (Floating Point Classes): Document
5475         issubnormal.
5476         * manual/libm-err-tab.pl: Update comment on interfaces without
5477         ulps tabulated.
5479         * sysdeps/generic/stdint.h: Define
5480         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5481         <bits/libc-header-start.h> instead of including <features.h>.
5482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5499         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5502         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5505         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5508         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5511         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5514         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5515         * manual/arith.texi (Integers): Document these macros for types
5516         specified by width properties.
5517         * manual/lang.texi (Width of Type): Document these macros for
5518         other standard typedefs.
5519         * stdlib/tst-width-stdint.c: New file.
5520         * stdlib/Makefile (tests): Add tst-width-stdint.
5522 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5524         [BZ #20016]
5525         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5526         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5527         Move ...
5528         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5529         ... here, as compatibility symbols in a new file.
5530         * resolv/Makefile (libresolv-routines): Add compat-hooks.
5531         * resolv/res_init.c (__res_vinit): Adjust member names.
5532         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5533         * resolv/resolv.h (res_sendhookact, res_send_qhook)
5534         (res_send_rhook): Remove.
5535         (struct __res_state): Rename qhook, rhook members.
5537 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5539         malloc: Use __libc_lock wrappers.
5540         * malloc/arena.c (list_lock, free_list_lock): Define using
5541         __libc_lock_define_initialized.
5542         (arena_lock): Adjust formatting.
5543         * malloc/malloc.c (struct malloc_state): Define mutex using
5544         __libc_lock_define.
5545         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5546         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5547         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5548         (mutex_unlock, mutex_trylock): Remove.
5549         (__pthread_initialize): Remove unused macro.
5550         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5551         (mutex_unlock, mutex_trylock): Remove.
5553 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5555         [BZ #20592]
5556         Remove RR type classification macros.
5557         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5558         (ns_t_udp_p, ns_t_xfr_p): Remove.
5560 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5562         Remove misleading version information.
5563         * resolv/arpa/nameser.h (__NAMESER): Remove.
5564         * resolv/arpa/nameser_compat.h (__BIND): Remove.
5566 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5568         Remove the always-defined BIND_4_COMPAT macro.
5569         * resolv/arpa/nameser.h: Unconditionally include
5570         <arpa/nameser_compat.h>.
5571         (BIND_4_COMPAT): Remove.
5572         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5574 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5576         [BZ #20591]
5577         Remove obsolete DNSSEC support.
5578         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5579         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5580         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5581         (ns_verify_tcp, ns_verify_tcp_init): Remove.
5582         (ns_cert_types): Add comment.
5583         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5584         separately.
5585         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5586         (dst_s_dns_key_id): Remove.
5587         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5588         variables.
5590 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5592         [BZ #20524]
5593         * manual/string.texi (String/Array Comparison): Clarify the
5594         strverscmp behavior.
5596 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5598         * test-skeleton.c (xasprintf): Add function.
5599         * io/tst-open-tmpfile.c: New test.
5600         * io/Makefile (tests): Add it.
5602 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5604         Avoid running $(CXX) during build to obtain header file paths.
5605         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5606         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5607         * Makerules (cstdlib, cmath): Remove variables.  Use
5608         $(c++-cstdlib-header), $(c++-cmath-header) instead.
5609         * configure: Regenerate.
5611 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5613         * Makeconfig (all-object-suffixes): Include .op only if
5614         $(build-profile).
5616 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5618         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5619         conditionals.  Do not define PATH_MAX.
5621 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5623         * posix/Makefile (tests): Add tst-spawn3.
5624         * posix/tst-spawn3.c: New file.
5625         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5626         if it is already opened for open action.
5628         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5629         all signals when executing the clone vfork child.
5630         (SIGALL_SET): Remove macro.
5632         * nptl/Makefile (tests): Add tst-exec5.
5633         * nptl/tst-exec5.c: New file.
5634         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5635         asynchronous cancellation.
5637 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5639         * hurd/exc2signal.c: #include <hurd/signal.h>
5640         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5641         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
5642         accordingly.
5643         * mach/mach_error.c (mach_error): Fix old-style function definition.
5644         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5646 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5648         * math/Makefile (libm-calls): Remove s_nanF.
5649         (gen-libm-calls): Add s_nanF.
5651         * math/s_nan.c: Refactor into ...
5652         * math/s_nan_template.c: New file.
5654         * math/s_nanf.c: Removed.
5655         * math/s_nanl.c: Removed.
5656         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5657         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5659         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5660         (LDOUBLE_nanl_libm_version): New macro.
5662         * sysdeps/generic/math-type-macros-double.h:
5663         (M_STRTO_NAN): New macro.
5664         * sysdeps/generic/math-type-macros-float.h: Likewise.
5665         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5667         * sysdeps/generic/math-type-macros.h: Document
5668         M_STRTO_NAN.
5670 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5672         * math/s_nanf.c: Remove __nanf undef.
5673         * math/s_nan.c: Remove __nan undef.
5674         * math/s_nanl.c: Remove __nanl undef.
5676         * sysdeps/generic/math_private.h (__nan): Remove macro
5677         override.
5678         (__nanf): Likewise.
5679         (__nanl): Likewise.
5681 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5683         * math/Makefile (gen-all-calls): New variable.
5684         (generated): Replace gen-libm-calls with gen-all-calls.
5685         (gen-libm-templates.stmp): Likewise.  Also, ensure
5686         the output directory exists or is created and add
5687         dependency on the Makefile.
5688         (calls): Move s_ldexpF into gen-calls.
5689         (gen-calls): New variable.
5691         * math/s_ldexpf.c: Removed.
5692         * math/s_ldexpl.c: Removed.
5693         * math/s_ldexp.c: Refactored into ...
5694         * math/s_ldexp_template.c: New file.
5696         * sysdeps/generic/math-type-macros-double.h: Remove
5697         redundant fall-through definition of declare_mgen_alias.
5698         (declare_mgen_alias_2): New macro.
5700         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5701         New macro for function aliased to two exported symbols.
5703         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5704         new template file.
5705         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5707 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5709         * Makeconfig (all-object-suffixes): Remove .og.
5710         * Makerules (elide-routines.og): Remove.
5711         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5712         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5713         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5715 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5717         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5718         .os objects.
5720 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5722         [BZ #20615]
5723         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5724         fpu directory by non-fpu.
5725         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5726         on non-fpu directory from a fpu directory.
5728 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
5730         * include/limits.h: Define
5731         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5732         <bits/libc-header-start.h> instead of including <features.h>.
5733         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5734         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5735         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5736         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5737         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5744         * manual/lang.texi (Width of Type): Document these macros.
5745         * stdlib/tst-width.c: New file.
5746         * stdlib/Makefile (tests): Add tst-width.
5748 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5750         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5751         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5753 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5755         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5756         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5757         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5759 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5761         [BZ #18243]
5762         * rt/Makefile (test): Add tst-shm-cancel.
5763         * rt/tst-shm-cancel.c: New file.
5764         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5766         [BZ #18243]
5767         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5768         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5769         definition.
5770         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5771         uncontended case.
5772         * nptl/sem_wait.c (__new_sem_wait): Likewise.
5773         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5774         (tf): Fix check for uncontended case.
5775         (do_test): Likewise.
5776         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5777         (tf): Fix check for uncontended case.
5778         (do_test): Likewise.
5779         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5780         (tf): Fix check for uncontended case.
5781         (do_test): Likewise.
5782         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5783         (tf): Fix check for uncontended case.
5784         (do_test): Likewise.
5786         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5787         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5789         [BZ #15765]
5790         * nptl/Makefile (tests): Add tst-sem16.
5791         * nptl/tst-sem16.c: New file.
5792         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5794         * nptl/sem_open.c (sem_open): Init pad value to 0.
5795         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5796         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5798 2016-09-15  Florian Weimer  <fweimer@redhat.com>
5800         [BZ #20611]
5801         * inet/Makefile (routines): Add inet6_scopeid_pton.
5802         (tests): Add tst-inet6_scopeid_pton.
5803         * inet/inet6_scopeid_pton.c: New file.
5804         * inet/net-internal.h: Likewise.
5805         * inet/tst-inet6_scopeid_pton.c: New test.
5806         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5807         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5808         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5810 2016-09-14  Florian Weimer  <fweimer@redhat.com>
5812         Remove support for compiling wrappers with PTW.
5813         * sysdeps/nptl/Makeconfig: Drop ptw- support.
5814         * nptl/Makefile (pthread-compat-wrappers): Define.
5815         (libpthread-routines): Use pthread-compat-wrappers.
5816         * sysdeps/unix/sysv/linux/alpha/Makefile
5817         (libpthread-routines, libpthread-shared-only-routines): Remove
5818         ptw- prefix.
5819         * sysdeps/s390/nptl/Makefile
5820         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5821         * sysdeps/ia64/nptl/Makefile
5822         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5823         * sysdeps/nacl/Makefile (libpthread-routines): Use
5824         pthread-compat-wrappers to filter the routines list instead of the
5825         ptw- prefix.
5827 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5829         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5830         with L() and remove explicit suffix, convert real literals
5831         which can be equivalentally substituted with integers, and
5832         transform -L(x) to L(-x).
5834         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5835         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5836         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5837         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5838         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5839         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5840         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5841         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5842         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5843         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5845         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5846         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5847         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5848         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5849         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5850         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5851         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5852         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5853         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5854         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5855         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5856         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5857         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5858         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5859         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5860         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5861         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5862         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5863         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5864         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5865         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5866         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5867         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5868         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5869         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5870         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5871         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5872         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5873         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5874         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5875         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5876         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5877         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5878         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5879         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5880         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5881         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5882         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5883         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5885 2016-09-13  Florian Weimer  <fweimer@redhat.com>
5887         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5889 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5891         * malloc/Makefile (tests): Remove individual static test names
5892         and just add all of tests-static.
5894         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5896 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5898         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5899         file.
5901         * sysdeps/sparc/fpu/fegetmode.c: New file.
5902         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5904         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5905         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5907         * sysdeps/s390/fpu/fegetmode.c: New file.
5908         * sysdeps/s390/fpu/fesetmode.c: Likewise.
5910         * sysdeps/powerpc/fpu/fegetmode.c: New file.
5911         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5912         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5913         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5914         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5915         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5917         * sysdeps/mips/fpu/fegetmode.c: New file.
5918         * sysdeps/mips/fpu/fesetmode.c: Likewise.
5920         * sysdeps/m68k/fpu/fegetmode.c: New file.
5921         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5923         * sysdeps/ia64/fpu/fegetmode.c: New file.
5924         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5926         * sysdeps/hppa/fpu/fegetmode.c: New file.
5927         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5929         * sysdeps/arm/fegetmode.c: New file.
5930         * sysdeps/arm/fesetmode.c: Likewise.
5932         * sysdeps/alpha/fpu/fegetmode.c: New file.
5933         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5935         * sysdeps/aarch64/fpu/fegetmode.c: New file.
5936         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5938         * math/fegetmode.c: New file.
5939         * math/fesetmode.c: Likewise.
5940         * sysdeps/i386/fpu/fegetmode.c: Likewise.
5941         * sysdeps/i386/fpu/fesetmode.c: Likewise.
5942         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5943         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5944         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5946         declaration.
5947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5948         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5949         typedef.
5950         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5951         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5952         (femode_t): New typedef.
5953         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5954         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5955         (femode_t): New typedef.
5956         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5957         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5958         (femode_t): New typedef.
5959         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5960         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5961         (femode_t): New typedef.
5962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5963         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5964         (femode_t): New typedef.
5965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5966         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5967         (femode_t): New typedef.
5968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5969         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5970         (femode_t): New typedef.
5971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5972         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5973         (femode_t): New typedef.
5974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5975         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5976         (femode_t): New typedef.
5977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5978         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5979         (femode_t): New typedef.
5980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5981         declaration.
5982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5983         * sysdeps/s390/fpu/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/sh/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/sparc/fpu/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/tile/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/x86/fpu/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         * manual/arith.texi (FE_DFL_MODE): Document macro.
5999         (fegetmode): Document function.
6000         (fesetmode): Likewise.
6001         * math/Versions (fegetmode): New libm symbol at version
6002         GLIBC_2.25.
6003         (fesetmode): Likewise.
6004         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6005         (tests): Add test-femode and test-femode-traps.
6006         * math/test-femode-traps.c: New file.
6007         * math/test-femode.c: Likewise.
6008         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6009         alias for __fe_dfl_env.
6010         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6011         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6012         (__fe_dfl_mode): Likewise.
6013         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6014         version GLIBC_2.25.
6015         * sysdeps/nacl/libm.abilist: Update.
6016         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6017         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6018         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6019         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6020         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6021         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6022         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6023         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6024         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6025         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6026         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6027         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6029         Likewise.
6030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6031         Likewise.
6032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6033         Likewise.
6034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6035         Likewise.
6036         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6037         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6038         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6039         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6040         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6042         Likewise.
6043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6044         Likewise.
6045         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6046         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6047         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6049 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6051         [BZ #20495]
6052         [BZ #20508]
6053         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6054         processors, set Use_dl_runtime_resolve_slow and set
6055         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6056         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6057         New.
6058         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6059         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6060         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6061         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6062         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6063         if Use_dl_runtime_resolve_opt is set.  Use
6064         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6065         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6066         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6067         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6068         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6069         New.
6070         (_dl_runtime_resolve_opt): Likewise.
6071         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6072         defined.
6074 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6076         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6077         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6079 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6081         Convert malloc to __libc_lock.  Automated part, using this Perl
6082         s/// command:
6083           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6084             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6085         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6086         conversion.
6088 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6090         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6091         (linknamespace-symlists-tests): Likewise.
6092         (linknamespace-header-tests): Likewise.
6094 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6096         [BZ #19810]
6097         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6098         * elf/tst-noload.c: New test case.
6099         * elf/Makefile (tests): Add tst-noload.
6101 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6103         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6105         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6106         not any more.
6108         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6110 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6112         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6113         (do_cos_slow): Likewise.
6114         (do_sin): Likewise.
6115         (do_sin_slow): Likewise.
6116         (slow): Likewise.
6117         (slow1): Likewise.
6118         (slow2): Likewise.
6119         (sloww): Likewise.
6120         (sloww1): Likewise.
6121         (sloww2): Likewise.
6122         (bsloww): Likewise.
6123         (bsloww1): Likewise.
6124         (bsloww2): Likewise.
6125         (cslow2): Likewise.
6127         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6129         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6130         arguments.  Consolidate input partitioning from callers here.
6131         (do_cos_slow): Likewise.
6132         (do_sin): Likewise.
6133         (do_sin_slow): Likewise.
6134         (do_sincos_1): Remove the no longer necessary input partitioning.
6135         (do_sincos_2): Likewise.
6136         (__sin): Likewise.
6137         (__cos): Likewise.
6138         (slow1): Likewise.
6139         (slow2): Likewise.
6140         (sloww1): Likewise.
6141         (sloww2): Likewise.
6142         (bsloww1): Likewise.
6143         (bsloww2): Likewise.
6144         (cslow2): Likewise.
6146 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6148         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6149         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6150         outside of allocated array.
6152 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6154         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6155         instead of MB_CUR_MAX to avoid variable-length array.
6157 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6159         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6160         (type-double-routines): Add k_rem_pio2.
6161         (type-float-routines): Add k_rem_pio2f.
6163         * sysdeps/generic/math_private.h:
6164         (__kernel_rem_pio2l): Removed.
6166         * math/k_rem_pio2l.c: Removed.
6167         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6168         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6169         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6170         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6172 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6174         * math/Makefile (gen-libm-calls): Add s_fmin
6175         (libm-calls): Remove above.
6177         * math/s_fmin.c: Refactor into ...
6178         * math/s_fmin_template.c: New file.
6180         * math/s_fminf.c: Removed.
6181         * math/s_fminl.c: Removed.
6182         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6183         (LDOUBLE_fmin_libm_version): New macro.
6185         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6186         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6188 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6190         * math/Makefile: (gen-libm-calls): Add s_fmax.
6191         (libm-calls): Remove above.
6193         * math/s_fmax.c: Refactor into ...
6194         * math/s_fmax_template.c: New file.
6195         * math/s_fmaxf.c: Removed.
6196         * math/s_fmaxl.c: Removed.
6198         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6199         (LDOUBLE_fmaxl_libm_version): New macro.
6201         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6202         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6204         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6205         s_fmin.c to pick the aarch64 version of the file.
6206         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6207         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6209 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6211         * math/Makefile: (gen-libm-calls): Add s_nextdown.
6212         (libm-calls): Remove above.
6214         * math/s_nextdown.c: Refactor into ...
6215         * math/s_nextdown_template.c: New file.
6216         * math/s_nextdownf.c: Removed.
6217         * math/s_nextdownl.c: Removed.
6219         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6221 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6223         * math/Makefile (gen-libm-calls): Add s_fdim.
6224         (libm-calls): Move to above.
6226         * math/s_fdim.c: Renamed and refactored into to ...
6227         * math/s_fdim_template.c: New file.
6228         * math/s_fdiml.c: Removed.
6229         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6230         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6232         * sysdeps/generic/math-type-macros-double.h:
6233         (declare_mgen_alias): Don't declare if already declared.
6234         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6235         Likewise.
6237         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6238         (declare_mgen_alias): Don't declare if already declared.
6239         (M_LIBM_NEED_COMPAT): Likewise.
6240         (declare_mgen_libm_compat): Likewise.
6241         (LDOUBLE_fdiml_libm_version): New macro.
6243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6244         Include math/s_fdim.c now that ldbl-opt version is not needed.
6245         (declare_mgen_alias): New macro to disable aliasing.
6247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6248         (declare_mgen_alias): Likewise.
6249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6250         (declare_mgen_alias): Likewise.
6251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6252         (declare_mgen_alias): Likewise.
6253         (M_LIBM_NEED_COMPAT): Likewise.
6255 2016-09-01  Florian Weimer  <fweimer@redhat.com>
6257         [BZ #20525]
6258         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6259         Include <linux/quota.h>.
6260         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6261         and btodb.
6262         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6263         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6264         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6265         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6266         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6267         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6268         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6269         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6270         types.
6271         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6272         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6274 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6276         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6277         (gammal_positive): Fix spacing.
6278         (__ieee754_gammal_r): Likewise.
6280 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6282         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6283         (_Float128): Define as long double, always.
6284         (L): Apply long double type suffix, always.
6286         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6287         _Float128, excepting comments.
6289         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6290         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6291         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6292         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6293         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6294         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6295         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6296         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6297         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6298         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6299         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6300         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6301         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6303         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6304         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6305         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6307         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6308         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6309         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6311         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6312         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6313         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6314         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6315         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6316         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6317         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6318         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6319         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6320         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6321         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6322         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6323         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6324         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6325         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6326         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6327         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6328         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6329         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6335         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6337         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6339         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6340         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6341         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6343         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6344         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6345         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6349         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6350         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6351         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6352         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6353         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6354         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6355         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6356         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6358         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6359         _Float128, and include math_private.h.
6360         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6362         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6363         long double semantics.
6364         (_Float128): Likewise.
6365         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6366         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6367         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6368         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6370 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6372         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6373         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6374         * sysdeps/s390/configure: Regenerated.
6375         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6376         instruction for raising over-/underflow if z196 zarch is supported
6377         by default.
6378         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6380 2016-08-30  Svante Signell  <svante.signell@gmail.com>
6382         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6383         it point to a dumb buffer for RPC to fill it.
6385 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6387         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6388         instead of if/else.
6389         (do_sin_slow): Likewise.
6390         (do_sincos_1): Use fabs instead of if/else.
6391         (do_sincos_2): Likewise.
6392         (__sin): Likewise.
6393         (__cos): Likewise.
6394         (slow2): Likewise.
6395         (sloww): Likewise.
6396         (sloww1): Likewise.  Drop argument M.
6397         (sloww2): Use fabs instead of if/else.
6398         (bsloww): Likewise.
6399         (bsloww1): Likewise.
6400         (bsloww2): Likewise.
6402         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6403         fall through comment.
6404         (do_sincos_1): Likewise.
6406         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6407         Consolidate switch cases 0 and 2.
6409 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6411         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6412         (libm-calls): Remove the above.
6414         * math/s_cexp_template.c: Update using type-generic macros.
6415         * math/s_clog10_template.c: Likewise.
6416         * math/s_cpow_template.c: Likewise.
6417         * math/s_clog_template.c: Likewise.
6418         * math/s_cproj_template.c: Likewise.
6419         * math/s_csqrt_template.c: Likewise.
6421         * math/s_cexp.c: Removed.
6422         * math/s_cexpf.c: Removed.
6423         * math/s_cexpl.c: Removed.
6424         * math/s_clog10.c: Removed.
6425         * math/s_clog10f.c: Removed.
6426         * math/s_clog10l.c: Removed.
6427         * math/s_cpow.c: Removed.
6428         * math/s_cpowf.c: Removed.
6429         * math/s_cpowl.c: Removed.
6430         * math/s_clog.c: Removed.
6431         * math/s_clogf.c: Removed.
6432         * math/s_clogl.c: Removed.
6433         * math/s_cproj.c: Removed.
6434         * math/s_cprojf.c: Removed.
6435         * math/s_cprojl.c: Removed.
6436         * math/s_csqrt.c: Removed.
6437         * math/s_csqrtf.c: Removed.
6438         * math/s_csqrtl.c: Removed.
6440         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6441         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6442         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6443         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6444         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6445         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6447         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6448         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6449         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6450         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6451         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6452         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6453         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6454         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6455         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6456         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6457         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6459         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6460         version.
6462         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6463         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6464         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6465         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6467 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6469         * s_cexp_template.c: Copy of s_cexp.c.
6470         * s_clog_template.c: Copy of s_clog.c.
6471         * s_clog10_template.c: Copy of s_clog10.c.
6472         * s_cpow_template.c: Copy of s_cpow.c.
6473         * s_cproj_template.c: Copy of s_cproj.c.
6474         * s_csqrt_template.c: Copy of s_csqrt.c.
6476 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6478         [BZ #20517]
6479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6480         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6481         exported.
6483 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
6485         * math/fetestexceptflag.c: New file.
6486         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
6487         Stefan Liebler.
6488         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6489         (fetestexceptflag): New function declaration.
6490         * manual/arith.texi (fetestexceptflag): Document function.
6491         * math/Versions (fetestexceptflag): New libm symbol at version
6492         GLIBC_2.25.
6493         * math/Makefile (libm-support): Add fetestexceptflag.
6494         (tests): Add test-fetestexceptflag.
6495         * math/test-fetestexceptflag.c: New file.
6496         * sysdeps/nacl/libm.abilist: Update.
6497         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6498         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6499         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6500         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6501         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6502         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6503         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6504         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6505         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6506         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6507         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6508         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6510         Likewise.
6511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6512         Likewise.
6513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6514         Likewise.
6515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6516         Likewise.
6517         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6518         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6519         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6520         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6521         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6523         Likewise.
6524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6525         Likewise.
6526         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6527         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6528         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6530 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6532         [BZ #20432]
6533         Avoid strong references to malloc-internal symbols when linking
6534         statically, to support statically interposed mallocs.
6535         * include/libc-symbols.h (call_function_static_weak): New macro.
6536         * malloc/Makefile (tests): Add tst-interpose-nothread,
6537         tst-interpose-thread, tst-interpose-static-nothread,
6538         tst-interpose-static-thread.
6539         (tests-static): Add tst-interpose-static-nothread,
6540         tst-interpose-static-thread.
6541         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6542         tst-interpose-aux-thread.o.
6543         (test-extras): Add tst-interpose-aux-nothread,
6544         tst-interpose-aux-thread.
6545         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6546         tst-interpose-aux-nothread.o.
6547         (tst-interpose-thread, tst-interpose-static-thread): Link with
6548         tst-interpose-aux-thread.o and libthread.
6549         * malloc/tst-interpose-aux-nothread.c: New file.
6550         * malloc/tst-interpose-aux-thread.c: Likewise.
6551         * malloc/tst-interpose-aux.c: Likewise.
6552         * malloc/tst-interpose-aux.h: Likewise.
6553         * malloc/tst-interpose-nothread.c: Likewise.
6554         * malloc/tst-interpose-skeleton.c: Likewise.
6555         * malloc/tst-interpose-static-nothread.c: Likewise.
6556         * malloc/tst-interpose-static-thread.c: Likewise.
6557         * malloc/tst-interpose-thread.c: Likewise.
6558         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6559         * sysdeps/mach/hurd/fork.c (__fork): Only call
6560         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6561         __malloc_fork_unlock_child if defined.
6562         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6564 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6566         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6567         timespec C99 designated initialization.
6569 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6571         [BZ #19946]
6572         Avoid expected SIGALRM signals.
6573         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6574         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6575         (xpthread_create, xpthread_detach, xpthread_join)
6576         (delayed_exit_thread, delayed_exit): New functions.
6577         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6578         (tf): Use xpthread_cond_wait.
6579         (do_test): Likewise.  Replace alarm with delayed_exit.
6580         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6581         (do_test): Call delayed_exit.  Report failure.
6582         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6583         (do_test): Call delayed_exit.
6584         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6585         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
6586         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6587         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
6588         error.
6589         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6590         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
6591         error.
6592         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6593         (do_test): Call delayed_exit.
6594         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6595         (do_test): Call delayed_exit.
6596         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6597         (do_test): Call delayed_exit instead of alarm.  Use
6598         xpthread_mutex_lock.
6599         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6600         (do_test): Call delayed_exit instead of alarm.  Use
6601         xpthread_mutex_lock.
6602         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6603         (do_test): Call delayed_exit instead of alarm.
6604         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6605         (do_test): Call delayed_exit instead of alarm.  Use
6606         xpthread_spin_lock.
6607         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6608         (do_test): Call delayed_exit instead of alarm.  Use
6609         xpthread_join.
6611 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6613         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6614         adjust CFA when allocating register save area on re-aligned
6615         stack.
6617 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6619         * string/tst-cmp.c: New test.
6620         * string/Makefile (tests): Add it.
6622 2016-08-25  Mark Wielaard  <mark@klomp.org>
6624         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6625         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
6626         (check_tree_recurse): Use newly defined accessors.
6627         (check_tree): Likewise.
6628         (maybe_split_for_insert): Likewise.
6629         (__tfind): Likewise.
6630         (__tdelete): Likewise.
6631         (trecurse): Likewise.
6632         (tdestroy_recurse): Likewise.
6633         (__tsearch): Likewise. And add asserts for malloc alignment.
6634         (__twalk): Cast root to node in case CHECK_TREE is defined.
6636 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6638         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6640 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6642         * math/Makefile (libm-gen-calls): Add
6643         catan, catanh, ctan, ctanh.
6644         (libm-calls): Remove the above.
6646         * math/s_catan_template.c: Update using type-generic macros.
6647         * math/s_catanh_template.c: Likewise.
6648         * math/s_ctan_template.c: Likewise.
6649         * math/s_ctanh_template.c: Likewise.
6651         * math/s_catanf.c: Removed.
6652         * math/s_catan.c: Removed.
6653         * math/s_catanl.c: Removed.
6654         * math/s_catanhf.c: Removed.
6655         * math/s_catanh.c: Removed.
6656         * math/s_catanhl.c: Removed.
6657         * math/s_ctanf.c: Removed.
6658         * math/s_ctan.c: Removed.
6659         * math/s_ctanl.c: Removed.
6660         * math/s_ctanhf.c: Removed.
6661         * math/s_ctanh.c: Removed.
6662         * math/s_ctanhl.c: Removed.
6664         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6665         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6666         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6667         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6668         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6669         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6671         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6672         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6673         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6674         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6676 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6678         * s_catan_template.c: Copy of s_catan.c.
6679         * s_catanh_template.c: Copy of s_catanh.c.
6680         * s_ctan_template.c: Copy of s_ctan.c.
6681         * s_ctanh_template.c: Copy of s_ctanh.c.
6683 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6685         * math/Makefile (gen-libm-calls): Move
6686         casin, casinh, csin, csinh here.
6687         (libm-calls): Remove the above.
6689         * math/s_casin_template.c: Update using type-generic macros.
6690         * math/s_casinh_template.c: Likewise.
6691         * math/s_csin_template.c: Likewise.
6692         * math/s_csinh_template.c: Likewise.
6693         * math/k_casinh_template.c: Likewise.
6695         * math/s_casinf.c: Removed.
6696         * math/s_casin.c: Removed.
6697         * math/s_casinl.c: Removed.
6698         * math/s_casinh.c: Removed.
6699         * math/s_casinhf.c: Removed.
6700         * math/s_casinhl.c: Removed.
6701         * math/s_csin.c: Removed.
6702         * math/s_csinf.c: Removed.
6703         * math/s_csinl.c: Removed.
6704         * math/s_csinh.c: Removed.
6705         * math/s_csinhf.c: Removed.
6706         * math/s_csinhl.c: Removed.
6707         * math/k_casinh.c: Removed.
6708         * math/k_casinhf.c: Removed.
6709         * math/k_casinhl.c: Removed.
6711         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6712         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6713         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6714         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6716         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6717         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6718         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6719         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6720         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6721         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6722         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6723         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6725         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6726         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6727         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6728         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6730         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6731         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6732         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6733         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6735 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6737         * s_casin_template.c: Copy of s_casin.c.
6738         * s_casinh_template.c: Copy of s_casinh.c.
6739         * s_csin_template.c: Copy of s_csin.c.
6740         * s_csinh_template.c: Copy of s_csinh.c.
6741         * k_casinh_template.c: Copy of k_casinh.c.
6743 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6745         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6747 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6749         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6750         (mul_split) Remove, rename as mul_splitl, remove
6751         redundant float.h include, and include via mul_splitl.h
6753         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6754         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6755         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6756         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6757         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6759         * math/mul_splitl.h: New file.
6761         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6762         Move into mul_split.h, and remove redundant float.h include.
6764         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6765         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6766         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6767         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6769         * math/mul_split.h: New file.
6771 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6773         * math/Makefile (libm-gen-calls): Move
6774         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6775         (libm-calls): Remove above.
6777         * math/s_cacos_template.c: Update using type-generic macros.
6778         * math/s_cacosh_template.c: Likewise.
6779         * math/s_ccos_template.c: Likewise.
6780         * math/s_ccosh_template.c: Likewise.
6782         * math/s_cacosf.c: Removed.
6783         * math/s_cacos.c: Removed.
6784         * math/s_cacosl.c: Removed.
6785         * math/s_cacoshf.c: Removed.
6786         * math/s_cacosh.c: Removed.
6787         * math/s_cacoshl.c: Removed.
6788         * math/s_ccosf.c: Removed.
6789         * math/s_ccos.c: Removed.
6790         * math/s_ccosl.c: Removed.
6791         * math/s_ccoshf.c: Removed.
6792         * math/s_ccosh.c: Removed.
6793         * math/s_ccoshl.c: Removed.
6795         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6796         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6797         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6798         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6799         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6800         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6802         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6803         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6804         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6805         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6807         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6808         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6809         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6810         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6812 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6814         * s_cacos_template.c: Copy of s_cacos.c.
6815         * s_cacosh_template.c: Copy of s_cacosh.c.
6816         * s_ccos_template.c: Copy of s_ccos.c.
6817         * s_ccosh_template.c: Copy of s_ccosh.c.
6819 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6821         * stdlib/tst-strtod-round-skeleton.c:
6822         Refactored from tst-strtod-round.c.
6824         (L_): New macro to apply literal modifier.
6825         (FNPFX): New macro to select str or wcs prefix.
6826         (CHAR): New macro to choose wchar_t or char.
6827         (STRM): New macro to choose printf for tested character type.
6829         (STRTO): New macro to choose appropriate string -> real function.
6830         (FNPFXS): Stringitized version of FNPFX.
6831         (STR): Support for above macro.
6832         (STRX): Likewise.
6834         (TEST): Update with above macros.
6835         (test): Likewise.
6836         (GEN_ONE_TEST): Likewise.
6837         (test_in_one_mode): Likewise.
6839         * stdlib/tst-strtod-round.c: New file.
6840         * wcsmbs/tst-wcstod-round.c: New file.
6842         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6843         (tst-wcstod-round): Add libm depencency for fesetround.
6845 2016-08-19  Zack Weinberg  <zackw@panix.com>
6847         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6849 2016-08-18  Torvald Riegel  <triegel@redhat.com>
6851         [BZ #20477]
6852         * resolv/res_hconf.c (do_init): Use atomic access.
6853         * resolv/res_hconf.h: Add comments.
6854         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6855         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6856         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6858 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6860         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6861         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6862         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6863         Likewise.
6865 2016-08-18  Florian Weimer  <fweimer@redhat.com>
6867         [BZ #16907]
6868         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6869         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6870         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6871         (__attribute__): Remove definition.
6873 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6875         * sysdeps/ieee754/ldbl-128/e_asinl.c:
6876         Remove unused sqrtl declaration.
6878 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6880         * math/Makefile: (gen-libm-templates.stmp): New rule.
6881         (libm-calls): Move carg conj cimag and cabs into ...
6882         (gen-libm-calls): New variable.
6883         (generated): Inform Make objects from gen-libm-calls
6884         may be generated.
6886         * sysdeps/generic/math-type-macros.h: New file.
6887         * sysdeps/generic/math-type-macros-float.h: Likewise.
6888         * sysdeps/generic/math-type-macros-double.h: Likewise.
6889         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6890         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6891         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6893         * math/cabs.c: Refactor into
6894         * math/cabs_template.c: new file.
6895         * math/cabsf.c: Removed.
6896         * math/cabsl.c: Removed.
6897         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6898         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6900         * math/carg.c: Refactor into
6901         * math/carg_template.c: new file.
6902         * math/cargf.c: Removed.
6903         * math/cargl.c: Removed.
6904         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6905         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6907         * math/conj.c: Refactor into
6908         * math/conj_template.c: new file.
6909         * math/conjf.c: Removed.
6910         * math/conjl.c: Removed.
6911         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6912         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6914         * math/cimag.c: Refactor into
6915         * math/cimag_template.c: new file.
6916         * math/cimagf.c: Removed.
6917         * math/cimagl.c: Removed.
6918         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6919         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6921         * math/cimag.c: Refactor into
6922         * math/cimag_template.c: new file.
6923         * math/cimagf.c: Removed.
6924         * math/cimagl.c: Removed.
6925         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6926         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6928 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6930         Reduce time to expected nptl/tst-once5 failure.
6931         * nptl/tst-once5.cc (TIMEOUT): Define.
6933 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6935         [BZ #20452]
6936         Avoid additional copies of objects in libc.a in static libraries.
6937         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6938         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6939         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6940         rt-sysdep.
6941         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6942         Add nptl-sysdep.
6943         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6944         Add ptw-sysdep.
6945         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6946         rt-sysdep.
6947         * sysdeps/unix/sysv/linux/alpha/Makefile
6948         (libpthread-shared-only-routines): Add ptw-sysdep,
6949         ptw-sigprocmask, ptw-rt_sigaction.
6950         * sysdeps/unix/sysv/linux/ia64/Makefile
6951         (librt-shared-only-routines): Add rt-sysdep.
6952         * sysdeps/unix/sysv/linux/i386/Makefile
6953         (libpthread-shared-only-routines): Add libc-do-syscall.
6954         * sysdeps/unix/sysv/linux/microblaze/Makefile
6955         (libpthread-shared-only-routines): Add sysdep.
6956         * sysdeps/unix/sysv/linux/powerpc/Makefile
6957         (librt-shared-only-routines): Add rt-sysdep.
6958         (libpthread-shared-only-routines): Add sysdep.
6959         * sysdeps/unix/sysv/linux/s390/Makefile
6960         (librt-shared-only-routines): Add rt-sysdep.
6961         * sysdeps/unix/sysv/linux/sparc/Makefile
6962         (librt-shared-only-routines): Add rt-sysdep.
6963         (libpthread-shared-only-routines): Add sysdep.
6964         * sysdeps/unix/sysv/linux/tile/Makefile
6965         (libpthread-shared-only-routines): Likewise.
6967 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
6969         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6970         Mask implicit bit out of unpacked value.
6971         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6975         * sysdeps/sparc/fpu/fesetexcept.c: New file.
6977         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6979         * sysdeps/s390/fpu/fesetexcept.c: New file.
6981         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6982         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6983         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6985         * sysdeps/mips/fpu/fesetexcept.c: New file.
6987         * sysdeps/m68k/fpu/fesetexcept.c: New file.
6989         * sysdeps/ia64/fpu/fesetexcept.c: New file.
6991         * sysdeps/hppa/fpu/fesetexcept.c: New file.
6993         * sysdeps/arm/fesetexcept.c: New file.
6995         * sysdeps/alpha/fpu/fesetexcept.c: New file.
6997         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
6999         * math/fesetexcept.c: New file.
7000         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7001         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7002         * math/fenv.h: Define
7003         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7004         <bits/libc-header-start.h> instead of including <features.h>.
7005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7006         declaration.
7007         * manual/arith.texi (fesetexcept): Document function.
7008         * math/Versions (fesetexcept): New libm symbol at version
7009         GLIBC_2.25.
7010         * math/Makefile (libm-support): Add fesetexcept.
7011         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7012         * math/test-fesetexcept.c: New file.
7013         * math/test-fesetexcept-traps.c: Likewise.
7014         * sysdeps/nacl/libm.abilist: Update.
7015         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7016         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7017         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7018         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7019         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7020         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7021         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7022         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7023         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7024         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7025         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7026         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7028         Likewise.
7029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7030         Likewise.
7031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7032         Likewise.
7033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7034         Likewise.
7035         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7036         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7037         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7038         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7039         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7041         Likewise.
7042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7043         Likewise.
7044         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7045         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7046         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7048 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7050         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7051         New.
7052         (do_test): Apply default_stack_size_in_mb if not set.
7053         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7055 2016-08-15  Andreas Schwab  <schwab@suse.de>
7057         [BZ #20435]
7058         CVE-2016-6323
7059         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7060         as .cantunwind.
7062 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7064         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7065         comment from fraiseexcpt.c.
7067         * math/test-fexcept.c (feraiseexcept_exact): New function.
7068         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7069         (test_except): Likewise.
7071 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7073         [BZ #20455]
7074         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7075         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7076         to be restored.
7078         * math/test-fexcept-traps.c: New file.
7079         * math/test-fexcept.c: Likewise.
7080         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7081         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7082         macro.
7083         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7084         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7086 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7088         * include/atomic.h (atomic_fetch_and_relaxed,
7089         atomic_fetch_and_release, atomic_fetch_or_release,
7090         atomic_fetch_xor_release): New.
7092 2016-08-06  Christian Seiler  <christian@iwakd.de>
7094         [BZ #20444]
7095         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7096         MACH_PORT_NULL.
7098 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7100         * math/s_fdim.c: Avoid alias renamed.
7101         * math/s_fdimf.c: Likewise.
7102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7103         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7104         Add s_fdimf-vis3, s_fdim-vis3.
7105         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7106         (CFLAGS-s_fdim-vis3.c): Likewise.
7107         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7108         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7110 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7113         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7114         Remove s_fdimf-vis3, s_fdim-vis3.
7115         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7116         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7122         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7123         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7124         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7126 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7128         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7129         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7130         -Wa,-Av9a -mvis.
7132 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7134         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7135         LIT() to individual constants in simple expressions
7136         after splitting on spaces.
7137         (_apply_lit): Rename replaced version, and use it to
7138         apply to what appears to be a token.
7140         * math/libm-test.inc: Fix many, many issues with
7141         spacing.
7143 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7145         * math/math.h: Move comment about <bits/mathdef.h> definitions
7146         above inclusion of <bits/mathdef.h>.  Do not mention
7147         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7149 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7151         * include/atomic.h (atomic_exchange_relaxed): New.
7153 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7155         * math/e_scalb.c: Do not include <fenv.h>.
7156         (invalid_fn): Do calculation resulting in NaN instead of raising
7157         FE_INVALID and returning a NaN explicitly.
7158         * math/e_scalbf.c: Do not include <fenv.h>.
7159         (invalid_fn): Do calculation resulting in NaN instead of raising
7160         FE_INVALID and returning a NaN explicitly.
7161         * math/e_scalbl.c: Do not include <fenv.h>.
7162         (invalid_fn): Do calculation resulting in NaN instead of raising
7163         FE_INVALID and returning a NaN explicitly.
7165 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7167         * po/de.po: Updated from Translation Project.
7168         * po/fi.po: Likewise.
7169         * po/sv.po: Likewise.
7171 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7173         [BZ #20452]
7174         Use sysdep.o from libc.a in static libraries.
7175         * sysdeps/unix/sysv/linux/i386/Makefile
7176         (libpthread-shared-only-routines): Add sysdep.
7177         (librt-shared-only-routines): Likewise.
7179 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7181         * math/tgmath.h (nextdown): Define if
7182         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7183         (nextup): Likewise.
7185         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7186         macro.
7187         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7188         Document.
7189         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7190         Document macro.
7191         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7192         (exp10f): Likewise.
7193         (exp10l): Likewise.
7194         * math/bits/mathcalls.h (exp10): Declare if
7195         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7197         * manual/arith.texi (nextup): Fix typo in last change.
7199 2016-08-03  Zack Weinberg  <zackw@panix.com>
7201         [BZ #19239]
7202         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7203         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7204         define major, minor, and makedev to issue deprecation warnings on use.
7205         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7206         previously-activated deprecation warnings for these macros and prevent
7207         subsequent inclusions of this header from having any effect.
7208         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7209         including <sys/sysmacros.h>, and undefine it again afterward.
7211 2016-08-03  Zack Weinberg  <zackw@panix.com>
7213         * sysdeps/generic/sys/sysmacros.h: Delete file.
7214         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7215         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7216         * bits/sysmacros.h: ... here; this encoding is now the generic
7217         encoding.  Now defines only the following macros:
7218         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7219         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7220         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7222         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7223         bits/sysmacros.h and the above new macros to generate the
7224         public implementations of major, minor, and makedev.
7225         * misc/tst-makedev.c: New test.
7226         * include/sys/sysmacros.h: New wrapper.
7228         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7229         (routines): Add makedev.
7230         (tests): Add tst-makedev.
7231         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7232         gnu_dev_makedev.
7233         * posix/Makefile (headers): Remove sys/sysmacros.h.
7234         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7236         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7237         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7238         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7239         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7240         * sysdeps/unix/sysv/linux/arm/libc.abilist
7241         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7242         * sysdeps/unix/sysv/linux/i386/libc.abilist
7243         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7244         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7245         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7246         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7247         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7248         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7249         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7250         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7251         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7256         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7257         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7258         * sysdeps/unix/sysv/linux/sh/libc.abilist
7259         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7260         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7263         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7264         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7265         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7266         Add GLIBC_2.25.
7268         * include/features.h (__glibc_clang_prereq): New macro.
7269         * misc/sys/cdefs.h (__glibc_clang_has_extension)
7270         (__attribute_deprecated_msg__): New macros.
7272 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7274         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7275         macro.
7276         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7277         * manual/arith.texi (issignaling): Document as ISO from TS
7278         18661-1:2014.
7279         (nextup): Likewise.
7280         (nextupf): Likewise.
7281         (nextupl): Likewise.
7282         (nextdown): Likewise.
7283         (nextdownf): Likewise.
7284         (nextdownl): Likewise.
7285         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7286         macro.
7287         * math/math.h: Define
7288         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7289         <bits/libc-header-start.h> instead of including <features.h>.
7290         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7291         [__USE_GNU].
7292         * math/bits/mathcalls.h (nextdown): Declare if
7293         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7294         (nextup): Likewise.
7295         (__issignaling): Likewise.
7297 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7299         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7300         check, and remove __glibc_likely hint
7301         from FP_INFINITE check.
7302         * s_csinhf.c (__csinhf): Likewise.
7304         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7305         hint from FP_INFINITE check.
7306         * s_csinhl.c (__csinhl): Likewise.
7308 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7310         * math/Makefile (libm-calls): Insert F placeholder into
7311         object names.  Move w_lgamma_compat* routines into
7312         (libm-compat-calls): New variable.
7313         (libm-compat-calls-ldouble-yes): New variable.
7314         (calls): Insert F placeholder.
7315         (generated): Redefine using new type-foreach macro call.
7316         (routines): Likewise.
7318         (types): New variable to hold a list of symbolic names
7319         for each type supported by the target machine.
7320         (libm-routines): Redefine using new types variable.
7321         (type-foreach): macro to replace fooF with the
7322         appropriately suffixed foo for each types.
7324         (type-ldouble-suffix): New variable.
7325         (type-ldouble-routines): Likewise.
7326         (type-ldouble-yes): Likewise.
7327         (type-double-suffix): Likewise.
7328         (type-double-routines): Likewise.
7329         (type-float-suffix): Likewise.
7330         (type-float-routines): Likewise.
7332         (dbl-only-routines): Remove.
7333         (long-c-yes): Likewise.
7334         (long-m-routines): Likewise.
7335         (long-m-support): Likewise.
7336         (long-m-yes): Likewise.
7337         (test-longdouble-yes): Likewise.
7339         (test-float.o): Simplify by increasing the scope of the
7340         recipe which adds libm-test.stmp to the vector types.
7341         (test-ifloat.o): Likewise.
7342         (test-float-finite.o): Likewise.
7343         (test-double.o): Likewise
7344         (test-idouble.o): Likewise.
7345         (test-double-finite.o): Likewise.
7346         (test-ldouble.o): Likewise
7347         (test-ildoubl.o): Likewise.
7348         (test-ldouble-finite.o): Likewise.
7350         (libm-tests): Redefine type tests using foreach and the
7351         list of types in types.
7353         (CPPFLAGS-test-ildoubl.c): Rename to
7354         (CPPFLAGS-test-ildouble.c): New variable
7356         * math/test-ildoubl.c: Rename to
7357         * math/test-ildouble.c: New file.
7359 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7361         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7362         Use fabsl instead of fabs.
7363         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7364         Likewise.
7365         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7366         Add long double suffix to constant to ensure proper
7367         promotion to long double.
7369 2016-08-03  Tom Tromey  <tom@tromey.com>
7371         [BZ #20311]
7372         * nptl_db/Makefile (headers): Add proc_service.h.
7373         * nptl_db/proc_service.h: Add include guard.  Use
7374         __BEGIN/__END_DECLS.
7375         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7376         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7377         arguments.
7380 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7382         [BZ #17730]
7383         Avoid using memalign for TCB allocations.
7384         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7385         (_dl_allocate_tls_storage): Use malloc and manual alignment.
7386         Avoid alignment gap in the TLS_DTV_AT_TP case.
7387         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7388         determine the pointer to free.
7389         * nptl/tst-tls3-malloc.c: New test.
7390         * nptl/Makefile (tests): Add it.
7391         (tst-tls3-malloc): Link with libdl, libpthread.
7392         (LDFLAGS-tst-tls3-malloc): Set.
7393         (tst-tls3-malloc.out): Depend on DSO used in test.
7395 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7397         [BZ #17730]
7398         Avoid using memalign for TLS allocations.
7399         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
7400         is_static member with to_free member.
7401         (union dtv): Use struct dtv_pointer.
7402         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7403         dtv_pointer instead of is_static.
7404         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7405         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7406         instead of val.
7407         (allocate_dtv_entry): New function.
7408         (allocate_and_init): Return struct dtv_pointer.  Call
7409         allocate_dtv_entry instead of __libc_memalign.
7410         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7411         instead of val.
7412         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7413         instead of is_static.  Adjust call to allocate_and_init.
7414         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7415         struct dtv_pointer instead of val.
7417 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7419         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7420         (MALLOC_ALIGN_MASK): Move ...
7421         * malloc/malloc-internal.h: ... to here.
7422         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7424 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7426         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7427         (UDP_ENCAP_GTP1U): Likewise.
7429         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7430         (PF_MAX): Update value.
7431         (AF_QIPCRTR): New macro.
7433 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7435         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7436         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7437         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7438         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7439         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7440         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7441         s_truncf-vis3, s_trunc-vis3.
7442         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7443         (CFLAGS-s_ceil-vis3.c): Likewise.
7444         (CFLAGS-s_floorf-vis3.c): Likewise.
7445         (CFLAGS-s_floor-vis3.c): Likewise.
7446         (CFLAGS-s_truncf-vis3.c): Likewise.
7447         (CFLAGS-s_trunc-vis3.c): Likewise.
7448         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7449         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7450         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7451         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7452         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7453         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7454         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7455         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7456         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7457         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7458         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7459         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7461 2016-08-02  David S. Miller  <davem@davemloft.net>
7463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7464         (__nearbyint_vis3): Don't check for sNaN before float register is
7465         loaded with the incoming argument.
7466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7467         (__nearbyintf_vis3): Likewise.
7468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7469         Likewise.
7470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7471         Likewise.
7473         * string/test-strncmp.c (do_test_limit): Make sure the test data
7474         stream is aligned as required for the type "CHAR".
7475         (do_test): Likewise.
7477 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7479         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7480         by beq instructions jumping to the end of the function.
7481         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7482         clobber list. Use "i" constraint instead of "X".
7483         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7484         of "X".
7486 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
7488         * bits/libc-header-start.h: New file.
7489         * Makefile (headers): Add bits/libc-header-start.h.
7490         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7491         (__GLIBC_USE): New macro.
7492         * libio/stdio.h: Define
7493         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7494         <bits/libc-header-start.h> instead of including <features.h>.
7495         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7496         (open_memstream): Likewise.
7497         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7498         (__asprintf): Likewise.
7499         (asprintf): Likewise.
7500         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7501         (getdelim): Likewise.
7502         (getline): Likewise.
7503         * string/string.h: Define
7504         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7505         <bits/libc-header-start.h> instead of including <features.h>.
7506         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7507         (strndup): Likewise.
7508         * wcsmbs/wchar.h: Define
7509         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7510         <bits/libc-header-start.h> instead of including <features.h>.
7511         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7512         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7514 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7516         Support linking against compatibility symbols, for use in tests.
7517         * include/libc-symbols.h (symbol_version_reference): New macro.
7518         (symbol_version): Use it.
7519         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7520         (compat_symbol): Use compat_symbol_reference.
7521         (compat_symbol_1, compat_symbol_2): Remove.
7522         (compat_symbol_reference, compat_symbol_reference_1)
7523         (compat_symbol_reference_2): New macro.  Use
7524         symbol_version_reference.
7526 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7528         [BZ #19469]
7529         * malloc/Makefile (CPPFLAGS): Compile tests with
7530         -DTEST_NO_MALLOPT.
7531         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7533 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
7535         [BZ #20033]
7536         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7537         finite version.
7538         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7539         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7540         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7541         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7542         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7543         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7544         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7545         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7546         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7547         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7548         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7549         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7550         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7551         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7552         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7553         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7554         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7555         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7556         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7557         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7558         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7559         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7560         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7561         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7562         in zero power.
7564 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7566         [BZ #20370]
7567         * malloc/arena.c (get_free_list): Update comment.  Assert that
7568         arenas on the free list have no attached threads.
7569         (remove_from_free_list): New function.
7570         (reused_arena): Call it.
7572 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
7574         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7575         when it is a NaN.
7576         [_IEEE_FP_INEXACT] Remove.
7577         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7578         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7579         when it is a NaN.
7580         [_IEEE_FP_INEXACT] Remove.
7581         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7582         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7583         when it is a NaN.
7584         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7585         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7586         when its absolute value is greater than 0x1.0p52.
7587         [_IEEE_FP_INEXACT] Remove.
7588         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7589         when its absolute value is greater than 0x1.0p23.
7590         [_IEEE_FP_INEXACT] Remove.
7592 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
7594         * version.h (RELEASE): Set to "development"
7595         (VERSION): Set to 2.24.90.
7596         * NEWS: Add 2.25 section.
7598         * version.h (RELEASE): Set to "stable"
7599         (VERSION): Set to 2.24.
7600         * include/features.h (__GLIBC_MINOR__): Set to 24.
7602         * NEWS: Add 2.24 fixed bugs.
7603         * po/libc.pot: Regenerate.
7605 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
7607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7608         [$(subdir) = math] (libm-sysdep_routines): Remove.
7609         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7610         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7611         s_truncf-vis3, s_trunc-vis3.
7612         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7614         file.
7615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7631         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7636         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7645         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7646         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7647         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7648         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7649         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7650         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7651         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7652         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7653         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7654         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7655         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7656         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7657         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7659 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
7661         [BZ #20384]
7662         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7663         test-double-libmvec-sincos-avx-main.o,
7664         test-double-libmvec-sincos-avx2-main.o,
7665         test-double-libmvec-sincos-main.o,
7666         test-float-libmvec-sincosf-avx-main.o,
7667         test-float-libmvec-sincosf-avx2-main.o and
7668         test-float-libmvec-sincosf-main.o.
7669         test-float-libmvec-sincosf-avx512-main.o.
7670         ($(objpfx)test-double-libmvec-sincos): Also link with
7671         $(objpfx)test-double-libmvec-sincos-main.o.
7672         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7673         $(objpfx)test-double-libmvec-sincos-avx-main.o.
7674         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7675         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7676         ($(objpfx)test-float-libmvec-sincosf): Also link with
7677         $(objpfx)test-float-libmvec-sincosf-main.o.
7678         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7679         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7680         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7681         test-double-libmvec-sincos-avx512-main.o and
7682         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7683         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7684         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7685         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7686         (CFLAGS-test-double-libmvec-sincos.c): Removed.
7687         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7688         (CFLAGS-test-double-libmvec-sincos-main.c): New.
7689         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7690         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7691         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7692         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7693         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7694         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7695         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7696         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7697         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7698         -DREQUIRE_AVX2.
7699         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7700         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7701         -DREQUIRE_AVX512F.
7702         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7703         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7704         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7705         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7706         file.
7707         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7708         Likewise.
7709         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7710         Likewise.
7711         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7712         Likewise.
7713         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7714         Likewise.
7715         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7716         Likewise.
7717         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7718         Likewise.
7719         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7720         Likewise.
7722 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
7724         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7726 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
7728         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7729         and typo in a comment about AT_HWCAP entry.
7731 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7733         * sysdeps/aarch64/libm-test-ulps: Updated.
7735 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7737         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7738         of r13 as it is not restored in mvcle case.
7740 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
7742         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7743         Rename "ret" to "__ret".
7744         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7745         inline_syscall5, inline_syscall6): Likewise.
7747 2016-07-19   Will Newton  <will.newton@gmail.com>
7749         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7750         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7751         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7752         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7753         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7755 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
7757         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7758         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7759         -mfpmath=387 with $(rtld-CFLAGS).
7760         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7761         $(rtld-CFLAGS).
7763 2016-07-18   Ross Burton  <ross.burton@intel.com>
7764              Khem Raj  <raj.khem@gmail.com>
7766         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7767         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7768         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7769         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7770         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7771         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7772         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7773         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7774         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7775         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7776         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7777         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7778         R_METAG_TLS_DTPOFF): New.
7780 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7781             Matt Clay  <mclay@lycos.com>
7783         [BZ #20357]
7784         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7785         to call __mpsin/__mpcos and to negate values.
7786         * math/auto-libm-test-in: Add test.
7787         * math/auto-libm-test-out: Regenerate.
7789 2016-07-18  Zack Weinberg  <zackw@panix.com>
7791         * grp/Makefile: Don't install the internal header grp-merge.h.
7793 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7795         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7797 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7799         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7801 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7803         [BZ #15368]
7804         * sysdeps/unix/sysv/linux/nptl-signals.h
7805         (__nptl_clear_internal_signals): New function.
7806         (__libc_signal_block_all): Likewise.
7807         (__libc_signal_block_app): Likewise.
7808         (__libc_signal_restore_set): Likewise.
7809         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7810         implementation.
7811         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7812         the cached pid/tid value in pthread structure.
7814 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
7816         [BZ #20347]
7817         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7819 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7821         [BZ #20348]
7822         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7823         preadv64, pwrite64 and pwritev64.
7825 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7827         [BZ #20350]
7828         * posix/tst-preadwrite.c: Renamed to ...
7829         * posix/tst-preadwrite-common.c: This.
7830         (PREAD): Removed.
7831         (PWRITE): Likewise.
7832         (STRINGIFY): Likewise.
7833         (STRINGIFY2): Likewise.
7834         (do_prepare): Make it static and remove function arguments.
7835         (do_test): Likewise.
7836         (PREPARE): Updated.
7837         (TEST_FUNCTION): New.
7838         (name): Make it static.
7839         (fd): Likewise.
7840         (do_prepare): Use create_temp_file.
7841         (do_test): Renamed to ...
7842         (do_test_with_offset): This.  Make it static and accept offset.
7843         Properly check return value of PWRITE and PREAD.  Return bytes
7844         read.  Don't close fd nor unlink name.
7845         * posix/tst-preadwrite.c: Rewrite.
7846         * posix/tst-preadwrite64.c: Likewise.
7848 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7850         [BZ #20309]
7851         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7852         -mtls-dialect=gnu2 works.
7853         * configure: Regenerated.
7854         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7855         (tests): Add tst-gnu2-tls1.
7856         (modules-names): Add tst-gnu2-tls1mod.
7857         ($(objpfx)tst-gnu2-tls1): New.
7858         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7859         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7860         * elf/tst-gnu2-tls1.c: New file.
7861         * elf/tst-gnu2-tls1mod.c: Likewise.
7862         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7863         bytes for push in the PLT entry to align the stack.
7865 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7867         [BZ #20349]
7868         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7870 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7872         [BZ #18707]
7873         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7874         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7876 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7878         * sysdeps/unix/sysv/linux/sysdep.h
7879         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7880         guards.
7881         * misc/tst-preadvwritev-common.c: New file.
7882         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7883         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7884         a check for files larger than 2GB.
7886         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7887         (__ASSUME_OFF_DIFF_OFF64): Remove define.
7888         * sysdeps/unix/sysv/linux/pread.c
7889         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7890         __OFF_T_MATCHES_OFF64_T.
7891         * sysdeps/unix/sysv/linux/pread64.c
7892         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7893         * sysdeps/unix/sysv/linux/preadv.c
7894         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7895         * sysdeps/unix/sysv/linux/preadv64.c
7896         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7897         * sysdeps/unix/sysv/linux/pwrite.c
7898         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7899         * sysdeps/unix/sysv/linux/pwrite64.c
7900         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7901         * sysdeps/unix/sysv/linux/pwritev.c
7902         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7903         * sysdeps/unix/sysv/linux/pwritev64.c
7904         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7906 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
7908         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7909         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7911 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7913         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7915 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7917         [BZ #20240]
7918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7919         (CFLAGS-s_modf-ppc32.c): New variable.
7920         (CFLAGS-s_modff-ppc32.c): Likewise.
7921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7922         (CFLAGS-s_modf-ppc64.c): Likewise.
7923         (CFLAGS-s_modff-ppc64.c): Likewise.
7925 2016-07-07  Andreas Schwab  <schwab@suse.de>
7927         [BZ #20263]
7928         * nptl/tst-robust10.c: New test.
7929         * nptl/Makefile (tests): Add tst-robust10.
7931 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
7933         [BZ #20263]
7934         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7936 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7938         * sysdeps/s390/linkmap.h (struct link_map_machine):
7939         Remove member gotplt and add member jmprel.
7940         * sysdeps/s390/s390-32/dl-machine.h
7941         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7942         instead of gotplt with &got[3].
7943         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7944         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7946 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
7948         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7950 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7952         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7953         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7954         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7955         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7956         * libio/vtables.c (_IO_vtable_check)
7957         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7958         * libio/libioP.h (IO_set_accept_foreign_vtables)
7959         [!PTR_MANGLE]: Do not call PTR_MANGLE.
7961 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
7963         [BZ #20314]
7964         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7965         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7966         $(common-objpfx)cmath.
7967         ($(common-objpfx)cstdlib): New target.
7968         ($(common-objpfx)cmath): Likewise.
7970 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
7972         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7974 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7976         [BZ #20327]
7977         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7978         are not part of the string.
7980 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7982         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7983         * nptl/tst-cancel4-common.h (fifoname): New variable.
7984         (fifofd): Likewise.
7985         (cl_fifo): New function.
7986         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
7987         SIGINT.
7988         (tf_open): Add early cancel test.
7990 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7992         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
7994 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
7996         * sysdeps/generic/ldsodefs.h
7997         (dl_symbol_visibility_binds_local_p): New inline function.
7998         * elf/dl-addr.c (determine_info): Treat hidden and internal
7999         symbols as local.
8000         * elf/dl-lookup.c (do_lookup_x): Likewise.
8001         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8003 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8005         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8006         invalid exception for a sNaN input.
8007         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8008         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8009         (__nearbyint_vis3): Likewise
8010         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8011         (__nearbyintf_vis3): Likewise
8012         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8013         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8014         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8015         Likewise.
8016         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8017         Likewise.
8019 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8021         [BZ #20139]
8022         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8023         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8024         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8025         2.24 or above.
8026         (HAVE_AVX512_ASM_SUPPORT): Removed.
8027         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8028         * sysdeps/x86_64/configure: Regenerated.
8029         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8030         check unconditional.
8031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8032         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8033         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8034         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8035         Likewise.
8036         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8037         Likewise.
8038         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8039         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8040         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8041         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8042         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8043         Likewise.
8044         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8045         Likewise.
8046         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8047         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8049         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8050         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8051         Likewise.
8052         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8053         Likewise.
8054         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8055         Likewise.
8056         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8057         Likewise.
8058         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8059         Likewise.
8060         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8061         Likewise.
8062         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8063         Likewise.
8064         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8065         Likewise.
8066         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8067         Likewise.
8068         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8069         Likewise.
8070         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8071         Likewise.
8073 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8075         [BZ #20024]
8076         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8077         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8078         of this implementation of vector function.
8079         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8080         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8081         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8082         Likewise.
8083         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8085         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8086         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8087         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8088         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8089         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8090         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8091         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8092         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8093         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8094         for testing vector sincos with fixed ABI.
8095         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8096         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8097         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8098         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8099         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8100         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8101         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8102         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8103         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8104         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8105         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8106         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8107         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8108         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8109         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8110         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8112 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8114         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8116 2016-06-30  Anton Blanchard  <anton@samba.org>
8118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8119         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8120         s_sinf-ppc64.
8121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8124         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8126 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8129         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8130         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8131         e_expf-ppc64.
8132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8133         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8134         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8135         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8137 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8139         [BZ #20277]
8140         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8141         when SHARED is defined.
8143 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8145         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8146         (index_arch_Prefer_ERMS): Likewise.
8147         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8148         __memcpy_erms for Prefer_ERMS.
8149         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8150         (__memmove_erms): Enabled for libc.a.
8151         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8152         __memmove_erms or Prefer_ERMS.
8153         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8154         __mempcpy_erms for Prefer_ERMS.
8155         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8156         __memset_erms for Prefer_ERMS.
8158 2016-06-30  Andreas Schwab  <schwab@suse.de>
8160         [BZ #20262]
8161         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8162         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8163         of memory.
8165 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8167         [BZ #18645]
8168         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8169         (test-extras): Add tst-cleanupx4aux.
8170         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8171         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8172         tst-cleanupx4aux.o.
8173         * nptl/tst-cleanupx4aux.c: New file.
8175 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8177         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8179 2016-06-29  Andreas Schwab  <schwab@suse.de>
8181         [BZ #20260]
8182         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8183         address before the beginning of the string as an integer to avoid
8184         array-bounds warning.
8186 2016-06-28  Richard Henderson  <rth@redhat.com>
8188         * elf/elf.h (EM_BPF): New.
8189         (EM_NUM): Update.
8190         (R_BPF_NONE, R_BPF_MAP_FD): New.
8192         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8193         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8194         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8195         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8196         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8197         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8198         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8199         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8200         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8201         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8202         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8203         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8204         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8205         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8206         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8207         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8208         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8209         (EM_NUM): Update.
8211 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
8213         [BZ #18960]
8214         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8215         Set _nl_current_LC_CATEGORY_used to two instead of one.
8217 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
8219         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8220         (do_test): ... this.
8221         (TEST_FUNCTION): New macro.
8222          Include test-skeleton.c.
8223         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8224         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8226 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
8228         [BZ #15479]
8229         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8230         floating-point environment rather than just control word.
8231         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8232         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8233         floating-point environment, with "invalid" exceptions merged in,
8234         rather than just control word.
8235         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8236         * math/libm-test.inc (trunc_test_data): Do not allow spurious
8237         "inexact" exceptions.
8239         [BZ #15479]
8240         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8241         floating-point environment rather than just control word.
8242         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8243         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8244         floating-point environment, with "invalid" exceptions merged in,
8245         rather than just control word.
8246         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8247         * math/libm-test.inc (floor_test_data): Do not allow spurious
8248         "inexact" exceptions.
8250         [BZ #15479]
8251         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8252         floating-point environment rather than just control word.
8253         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8254         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8255         floating-point environment, with "invalid" exceptions merged in,
8256         rather than just control word.
8257         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8258         * math/libm-test.inc (ceil_test_data): Do not allow spurious
8259         "inexact" exceptions.
8261 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
8263         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8264         __libc_vfork.
8265         (__vfork) [IS_IN (libc)]: Remove alias.
8266         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8267         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8268         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8270 2016-06-24  Torvald Riegel  <triegel@redhat.com>
8272         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8273         of atomic_compare_and_exchange_bool_rel.
8274         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8275         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8276         catomic_compare_and_exchange_bool_rel): Remove.
8277         * sysdeps/aarch64/atomic-machine.h
8278         (atomic_compare_and_exchange_bool_rel): Likewise.
8279         * sysdeps/alpha/atomic-machine.h
8280         (atomic_compare_and_exchange_bool_rel): Likewise.
8281         * sysdeps/arm/atomic-machine.h
8282         (atomic_compare_and_exchange_bool_rel): Likewise.
8283         * sysdeps/mips/atomic-machine.h
8284         (atomic_compare_and_exchange_bool_rel): Likewise.
8285         * sysdeps/microblaze/atomic-machine.h
8286         ( __arch_compare_and_exchange_bool_8_rel,
8287         __arch_compare_and_exchange_bool_16_rel): Likewise.
8288         * sysdeps/powerpc/atomic-machine.h
8289         ( __arch_compare_and_exchange_bool_8_rel,
8290         __arch_compare_and_exchange_bool_16_rel): Likewise.
8291         * sysdeps/powerpc/powerpc32/atomic-machine.h
8292         ( __arch_compare_and_exchange_bool_32_rel,
8293         __arch_compare_and_exchange_bool_64_rel): Likewise.
8294         * sysdeps/powerpc/powerpc64/atomic-machine.h
8295         ( __arch_compare_and_exchange_bool_32_rel,
8296         __arch_compare_and_exchange_bool_64_rel): Likewise.
8297         * sysdeps/tile/atomic-machine.h
8298         (atomic_compare_and_exchange_bool_rel): Likewise.
8300 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
8302         [BZ #20296]
8303         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8304         when either argument is a NaN.
8305         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8306         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8308         * math/libm-test.inc (snan_value_ld): New macro.
8309         (isgreater_test_data): Add sNaN tests.
8310         (isgreaterequal_test_data): Likewise.
8311         (isless_test_data): Likewise.
8312         (islessequal_test_data): Likewise.
8313         (islessgreater_test_data): Likewise.
8314         (isunordered_test_data): Likewise.
8315         (nextafter_test_data): Likewise.
8316         (nexttoward_test_data): Likewise.
8317         (remainder_test_data): Likewise.
8318         (remquo_test_data): Likewise.
8319         (significand_test_data): Likewise.
8320         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8322 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8324         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8325         environment macros are defined.
8326         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8328 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8330         [BZ #20191]
8331         Implement vtable verification in libio.
8332         * Makerules (shlib.lds): Place __libc_IO_vtables section.
8333         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8334         * debug/vdprintf_chk.c (__vdprintf_chk): Call
8335         _IO_new_file_init_internal instead of _IO_file_init.
8336         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8337         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8338         * libio/Makefile (routines): Add vtables.
8339         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8340         (_IO_init): Remove, not for internal use.
8341         (_IO_init_internal): Declare, internal replacement for _IO_init.
8342         (_IO_file_init): Remove, not for internal use.
8343         (_IO_new_file_init): Remove, not for internal use.
8344         (_IO_new_file_init_internal): Declare, internal replacement for
8345         _IO_new_file_init.
8346         (_IO_old_file_init): Remove, not for internal use.
8347         (_IO_old_file_init_internal): Declare, internal replacement for
8348         _IO_old_file_init.
8349         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8350         internal use.
8351         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8352         Declare.
8353         (libio_vtable): New macro.
8354         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8355         functions.
8356         * libio/fileops.c (_IO_new_file_init_internal): Rename from
8357         _IO_new_file_init.
8358         (_IO_new_file_init): New externally visible wrapper which disables
8359         vtable verification.
8360         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8361         Define as vtables.
8362         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8363         (_IO_init): New externally visible wrapper which disables
8364         vtable verification.
8365         * libio/iofdopen.c (_IO_new_fdopen): Call
8366         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
8367         comment.
8368         * libio/iofopen.c (__fopen_internal): Call
8369         _IO_new_file_init_internal instead of _IO_file_init.
8370         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8371         Define as vtables.
8372         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8373         _IO_new_file_init_internal instead of _IO_file_init.
8374         * libio/iopopen.c (_IO_new_popen): Likewise.
8375         (_IO_proc_jumps): Define as vtable.
8376         * libio/iovdprintf.c (_IO_vdprintf): Call
8377         _IO_new_file_init_internal instead of _IO_file_init.
8378         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8379         (__open_memstream): Call _IO_init_internal instead of _IO_init.
8380         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8381         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8382         _IO_old_file_init.
8383         (_IO_old_file_init): New externally visible wrapper which disables
8384         vtable verification.
8385         (_IO_old_file_jumps): Define as vtable.
8386         * libio/oldiofdopen.c (_IO_old_fdopen): Call
8387         _IO_old_file_init_internal instead of _IO_old_file_init.
8388         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8389         * libio/oldiopopen.c (_IO_old_popen): Likewise.
8390         (_IO_old_proc_jumps): Define as vtable.
8391         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8392         Define as vtables.
8393         * libio/vtables.c: New file.
8394         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8395         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8396         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8397         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8398         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8399         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8400         instead of _IO_init.
8402 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8404         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8406 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8408         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8409         potentially unused.
8411 2016-06-22  Florian Weimer  <fweimer@redhat.com>
8413         * test-skeleton.c (write_message): New function.
8414         * malloc/tst-mallocfork2.c (write_message): Remove.
8415         * debug/tst-longjmp_chk2.c (write_indented): New function.
8416         (write_message): Remove.
8417         (stackoverflow_handler): Call write_indented.
8419 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
8421         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8422         "inexact" exceptions after fnstenv.
8423         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8424         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8425         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8427 2015-06-22  Zack Weinberg  <zackw@panix.com>
8429         * sysdeps/generic/bits/hwcap.h: Moved to ...
8430         * bits/hwcap.h: Here.
8432 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
8434         * sysdeps/aarch64/memcpy.S (memcpy):
8435         Further tuning for performance.
8437 2016-06-21  Florian Weimer  <fweimer@redhat.com>
8439         [BZ #20284]
8440         * malloc/arena.c (reused_arena): Do not return NULL if we start
8441         out with a non-corrupted arena.
8443 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8445         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8446         * misc/tst-preadvwritev.c: New file.
8447         * misc/tst-preadvwritev64.c: Likewise.
8448         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8449         usage.
8450         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8451         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8452         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8453         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8455 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
8457         [BZ #19654]
8458         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8459         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8460         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8461         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8462         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8463         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8464         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8465         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8466         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8467         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8468         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8469         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8470         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8471         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8472         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8473         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8474         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8475         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8476         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8477         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8478         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8479         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8480         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8481         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8482         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8483         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8485 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8487         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8488         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8490 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8492         * sysdeps/aarch64/memcpy.S (memcpy):
8493         Rewrite of optimized memcpy and memmove.
8494         * sysdeps/aarch64/memmove.S (memmove): Remove
8495         memmove code (merged into memcpy.S).
8497 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8499         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8500         * sysdeps/generic/dl-dtv.h: New file.
8501         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8502         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8503         (dtv_t): Remove.
8504         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8505         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8506         (dtv_t): Remove.
8507         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8508         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8509         (dtv_t): Remove.
8510         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8511         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8512         (dtv_t): Remove.
8513         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8514         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8515         (dtv_t): Remove.
8516         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8517         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8518         (dtv_t): Remove.
8519         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8520         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8521         (dtv_t): Remove.
8522         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8523         (dtv_t): Remove.
8524         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8525         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8526         (dtv_t): Remove.
8527         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8528         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8529         (dtv_t): Remove.
8530         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8531         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8532         (dtv_t): Remove.
8533         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8534         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8535         (dtv_t): Remove.
8536         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8537         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8538         (dtv_t): Remove.
8539         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8540         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8541         (dtv_t): Remove.
8542         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8543         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8544         (dtv_t): Remove.
8545         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8546         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8547         (dtv_t): Remove.
8549 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8551         Revert symbol poisoning of  __malloc_initialize_hook.
8552         * include/stdc-predef.h (__malloc_initialize_hook): Remove
8553         poisoning.
8554         * malloc/Makefile: Remove un-poisoning.
8555         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8556         instead of old__malloc_initialize_hook.
8557         * malloc/malloc-hooks.h: Likewise.
8558         * malloc/malloc.c: Likewise.
8559         * malloc/mcheck-init.c: Likewise.
8561 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
8563         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8565 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
8567         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8568         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8569         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8570         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8572 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8574         * NEWS: Mention addition of nextup and nextdown.
8575         * manual/arith.texi: Document nextup and nextdown.
8576         * manual/libm-err-tab.pl: Add nextup and nextdown.
8577         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8578         * math/Versions (libm): Add GLIBC_2.24.
8579         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8580         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8581         Add new test.
8582         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8583         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8584         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8585         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8586         (nextup_test_data): Likewise.
8587         (nextdown_test_data): Likewise.
8588         * math/s_nextdown.c: New file.
8589         * math/s_nextdownf.c: Likewise.
8590         * math/s_nextdownl.c: Likewise.
8591         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8592         F(nextup): New function.
8593         F(nextdown): Likewise.
8594         * math/tgmath.h: Add nextup and nextdown.
8595         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8596         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8597         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8598         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8599         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8600         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8601         Add nextup and nextdown.
8602         (CFLAGS-nldbl-nextup.c): New variable.
8603         (CFLAGS-nldbl-nextdown.c): Likewise.
8604         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8605         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8606         * sysdeps/nacl/libm.abilist: Update.
8607         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8608         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8609         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8610         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8611         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8612         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8613         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8614         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8615         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8616         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8617         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8618         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8621         Likewise.
8622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8624         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8625         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8626         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8627         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8628         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8631         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8632         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8633         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8634         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8636 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8638         * manual/pattern.texi: Fix typos & grammar errors.
8640 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8642         * manual/search.texi: Fix typos & grammar errors.
8644 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8646         * manual/message.texi: Fix typos & grammar errors.
8648 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
8650         * manual/contrib.texi: Fix spelling typos.
8651         * manual/crypt.texi: Likewise.
8652         * manual/filesys.texi: Likewise.
8653         * manual/locale.texi: Likewise.
8654         * manual/message.texi: Likewise.
8655         * manual/nss.texi: Likewise.
8656         * manual/string.texi: Likewise.
8658 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8660         * manual/locale.texi: Fix typos & grammar errors.
8662 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8664         * manual/charset.texi: Fix typos & grammar errors.
8666 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8668         * manual/string.texi: Fix typos.
8670 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8672         * manual/ctype.texi: Fix typos.
8674 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8676         * manual/memory.texi: Fix various typos & grammar errors.
8678 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
8680         [BZ #20255]
8681         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
8682         * math/libm-test.inc (fdim_test_data): Add another test.
8684         [BZ #6796]
8685         [BZ #20255]
8686         [BZ #20256]
8687         * math/s_fdim.c: Include <math_private.h>.
8688         (__fdim): Use math_narrow_eval on result.
8689         * math/s_fdimf.c: Include <math_private.h>.
8690         (__fdimf): Use math_narrow_eval on result.
8691         * sysdeps/i386/fpu/s_fdim.S: Remove file.
8692         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8693         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8694         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8695         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8696         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8697         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8698         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8699         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8700         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8701         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8702         * math/libm-test.inc (fdim_test_data): Expect errno setting on
8703         overflow.  Add sNaN tests.
8705         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8706         fpclassify.
8707         * math/s_fdimf.c (__fdimf): Likewise.
8708         * math/s_fdiml.c (__fdiml): Likewise.
8710 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8712         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8713         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8715         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8716         ifunc'ed strcasecmp/strncasecmp.
8717         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8718         [EALIGN]: Removed.
8719         [END]: Likewise.
8720         [__strcasecmp]: Define instead of the above to control symbol name.
8721         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8722         for __strcasecmp_power8.
8723         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8724         for __strncasecmp_power8.
8725         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8726         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8727         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8728         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8729         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8730         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8732 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
8734         [BZ #20252]
8735         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8736         arguments when second argument is a NaN.
8737         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8738         qNaN tests.
8740         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8741         (conj_test_data): Likewise.
8742         (copysign_test_data): Likewise.
8743         (creal_test_data): Likewise.
8744         (fma_test_data): Likewise.
8745         (fmod_test_data): Likewise.
8747         [BZ #20250]
8748         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8749         itself.
8750         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8751         zero input to itself.
8752         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8753         Likewise.
8754         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8755         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8756         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8757         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8758         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8760 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8762         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8763         * nptl/tst-cancel4-common.c: New file.
8764         * nptl/tst-cancel4-common.h: Likewise.
8765         * nptl/tst-cancel4.c: Move common definitions to
8766         tst-cancel4-common.{c,h} file.
8767         * nptl/tst-cancel4_1.c: New test.
8768         * nptl/tst-cancel4_2.c: New test.
8770 2016-06-13  Florian Weimer  <fweimer@redhat.com>
8772         [BZ #20248]
8773         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8774         (write_message): New function.
8775         (stackoverflow_handler): Call it instead of printf, to avoid
8776         excessive stack usage by printf.
8777         (do_test): Restore SIGSEGV, SIGBUS default handlers.
8779 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8781         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8782         (prio_inherit_missing): Remove define.
8783         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8784         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8785         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8786         Likewise.
8787         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8788         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8789         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8790         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8791         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8792         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8794 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8796         [BZ #19670]
8797         [BZ #19672]
8799         * io/test-lfs.c (do_prepare): Use xmalloc.
8800         * io/tst-fcntl.c (do_prepare): Likewise.
8801         * libio/tst-fopenloc.c (do_bz17916): Likewise.
8802         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8803         * login/tst-utmp.c (do_prepare): Likewise.
8804         * posix/tst-exec.c (do_prepare): Likewise.
8805         * posix/tst-pathconf.c (prepare): Likewise.
8806         * posix/tst-spawn.c (do_prepare): Likewise.
8807         * posix/tst-truncate.c (do_prepare): Likewise.
8808         * rt/tst-aio.c (do_prepare): Likewise.
8809         * rt/tst-aio64.c (do_prepare): Likewise.
8811 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8813         [BZ #20237]
8814         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8815         (get*ent): Set entidx to NULL during initialization.  If entidx is
8816         NULL, start iteration from the beginning.
8818 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8820         * malloc/malloc.c (musable): Return correct size for dumped fake
8821         mmapped chunk.
8823 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8825         [BZ #20222]
8826         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8827         (_IO_cookie_write): Likewise.
8828         (_IO_cookie_seek): Likewise.
8829         (_IO_cookie_close): Likewise.
8830         (_IO_old_cookie_seek): Likewise.
8831         (set_callbacks): New function.
8832         (_IO_cookie_init): Call set_callbacks to copy callbacks.
8834 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
8836         * locale/programs/localedef.c (oldstyle_tables): Remove.
8837         * locale/programs/localedef.h (oldstyle_tables): Likewise.
8839 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
8841         [BZ #20240]
8842         * math/Makefile (CFLAGS-s_modf.c): New variable.
8843         (CFLAGS-s_modff.c): Likewise.
8844         (CFLAGS-s_modfl.c): Likewise.
8845         * math/libm-test.inc (modf_test_data): Add sNaN tests.
8847 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
8849         [BZ #20215]
8850         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8851         [!__GNUC_PREREQ (3,2)]: Likewise.
8853 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8855         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8856         (msghdr.msg_controllen): Likewise.
8857         (cmsghdr.cmsg_len): Likewise.
8858         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8859         ptw-oldsendmsg.
8860         (CFLAGS-oldrecvmsg.c): Remove rule.
8861         (CFLAGS-oldsendmsg.c): Likewise.
8862         (CFLAGS-recvmsg.c): Add rule.
8863         (CFLAGS-sendmsg.c): Likewise.
8864         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8865         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8866         (CFLAGS-recvmsg.c): Remove rule.
8867         (CFLAGS-sendmsg.c): Likewise.
8868         (CFLAGS-oldrecvmsg.c): Likewise.
8869         (CFLAGS-oldsendmsg.c): Likewise.
8870         (CFLAGS-recvmmsg.c): Likewise.
8871         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8872         to kernel defined interfaces.
8873         (msghdr.msg_controllen): Likewise.
8874         (cmsghdr.cmsg_len): Likewise.
8875         (msghdr.__glibc_reserved1): Remove member.
8876         (msghdr.__glibc_reserved2): Likewise.
8877         (cmsghdr.__glibc_reserved1): Likewise.
8878         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8879         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8880         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8881         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8882         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8883         version.
8884         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8885         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8886         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8887         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8888         Remove recvmsg and sendmsg.
8889         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8890         Likewise.
8891         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8892         Likewise.
8893         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8894         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8895         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8896         Likewise.
8897         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8898         Likewise.
8899         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8900         [libc] (GLIBC_2.24): Likewise.
8901         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8902         Likewise.
8903         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8904         Likewise.
8905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8906         [libc] (GLIBC_2.24): Likewise.
8907         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8908         Likewise.
8909         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8910         Likewise.
8911         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8912         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8913         Likewise.
8914         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8915         Likewise.
8916         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8917         Likewise.
8918         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8919         Likewise.
8920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8921         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8922         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8923         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8924         version for {recv,send,recm,sendm}msg.
8925         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8926         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8927         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8928         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8929         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8930         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8931         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8932         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8933         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8934         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8935         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8936         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8938         Likewise.
8939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8940         Likewise.
8941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8943         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8944         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8945         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8946         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8947         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8948         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8949         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8951         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8952         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8953         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8955 2016-06-10  Florian Weimer  <fweimer@redhat.com>
8957         [BZ #19564]
8958         Remove __malloc_initialize_hook from the API.
8959         * malloc/malloc.h (__malloc_initialize_hook): Remove.
8960         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8961         #pragma GCC poison.
8962         * malloc/malloc-hooks.h: New file.
8963         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8964         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8965         (old__malloc_initialize_hook): Rename from
8966         __malloc_initialize_hook to evade poisoning.  Turn into compat
8967         symbol.
8968         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8969         __malloc_initialize_hook.
8970         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8971         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8972         * manual/memory.texi (Hooks for Malloc): Remove
8973         __malloc_initialize_hook.  Adjust hook example.
8975 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
8977         [BZ #20235]
8978         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8979         itself.
8980         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8981         * math/libm-test.inc (log2_test_data): Add sNaN tests.
8983         [BZ #20234]
8984         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8985         infinity or NaN input to itself.
8987         [BZ #20233]
8988         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
8989         to itself.
8991         [BZ #20232]
8992         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
8993         itself.
8995 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8997         * sysdeps/x86_64/start.S (_start): Always indirect branch to
8998         __libc_start_main via GOT.
9000 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9002         * sysdeps/x86_64/memcopy.h: New file.
9003         * sysdeps/x86_64/wordcopy.c: Likewise.
9005 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9007         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9008         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9009         <cstdlib>.
9010         (optimization_barrier): New.
9011         (do_test): Use it.  Call quick_exit in the global namespace.
9012         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9013         instead of <cstdlib>, <thread>.
9014         (optimization_barrier): New.
9015         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9016         Call quick_exit in the global namespace.
9017         (do_test): Call optimization_barrier.  Use pthread_create,
9018         pthread_join instead of std::thread.
9020 2016-06-09  Andreas Schwab  <schwab@suse.de>
9022         [BZ #19755]
9023         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9024         new entries in auto-propagate mode.
9025         * nscd/grpcache.c (cache_addgr): Likewise.
9027 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9029         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9030         New functions.
9031         (add_temp_file): Use them.
9033 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9035         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9037 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9039         [BZ #20229]
9040         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9041         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9042         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9044         [BZ #20228]
9045         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9046         itself.
9047         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9048         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9050         [BZ #20227]
9051         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9052         itself.
9053         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9054         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9055         * math/libm-test.inc (log_test_data): Add sNaN tests.
9057         [BZ #20226]
9058         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9059         itself.
9060         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9061         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9062         (exp10_test_data): Likewise.
9063         (expm1_test_data): Likewise.
9065         [BZ #20225]
9066         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9067         itself.
9068         * math/s_ldexpf.c (__ldexpf): Likewise.
9069         * math/s_ldexpl.c (__ldexpl): Likewise.
9070         * math/w_scalbln.c (__w_scalbln): Likewise.
9071         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9072         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9073         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9074         (scalbln_test_data): Likewise.
9076         [BZ #20224]
9077         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9078         argument to itself.
9079         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9081 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9083         [BZ #19776]
9084         * sysdeps/x86_64/memcpy.S: Make it dummy.
9085         * sysdeps/x86_64/mempcpy.S: Likewise.
9086         * sysdeps/x86_64/memmove.S: New file.
9087         * sysdeps/x86_64/memmove_chk.S: Likewise.
9088         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9089         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9090         * sysdeps/x86_64/memmove.c: Removed.
9091         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9092         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9093         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9094         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9095         Likewise.
9096         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9097         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9098         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9099         memcpy-sse2-unaligned, memmove-avx-unaligned,
9100         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9101         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9102         (__libc_ifunc_impl_list): Replace
9103         __memmove_chk_avx512_unaligned_2 with
9104         __memmove_chk_avx512_unaligned.  Remove
9105         __memmove_chk_avx_unaligned_2.  Replace
9106         __memmove_chk_sse2_unaligned_2 with
9107         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9108         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9109         with __memmove_avx512_unaligned.  Replace
9110         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9111         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9112         with __memcpy_chk_avx512_unaligned.  Remove
9113         __memcpy_chk_avx_unaligned_2.  Replace
9114         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9115         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9116         Replace __memcpy_avx512_unaligned_2 with
9117         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9118         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9119         with __mempcpy_chk_avx512_unaligned.  Remove
9120         __mempcpy_chk_avx_unaligned_2.  Replace
9121         __mempcpy_chk_sse2_unaligned_2 with
9122         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9123         Replace __mempcpy_avx512_unaligned_2 with
9124         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9125         Replace __mempcpy_sse2_unaligned_2 with
9126         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9127         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9128         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9129         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9130         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9131         (ENTRY): Removed.
9132         (END): Likewise.
9133         (ENTRY_CHK): Likewise.
9134         (libc_hidden_builtin_def): Likewise.
9135         Don't include ../memcpy.S.
9136         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9137         __memcpy_chk_avx512_unaligned_erms and
9138         __memcpy_chk_avx512_unaligned.  Use
9139         __memcpy_chk_avx_unaligned_erms and
9140         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9141         Default to __memcpy_chk_sse2_unaligned.
9142         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9143         Change function suffix from unaligned_2 to unaligned.
9144         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9145         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9146         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9147         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9148         (ENTRY): Removed.
9149         (END): Likewise.
9150         (ENTRY_CHK): Likewise.
9151         (libc_hidden_builtin_def): Likewise.
9152         Don't include ../mempcpy.S.
9153         (mempcpy): New.  Add a weak alias.
9154         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9155         __mempcpy_chk_avx512_unaligned_erms and
9156         __mempcpy_chk_avx512_unaligned.  Use
9157         __mempcpy_chk_avx_unaligned_erms and
9158         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9159         Default to __mempcpy_chk_sse2_unaligned.
9161 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9163         [BZ #19881]
9164         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9165         into ...
9166         * sysdeps/x86_64/memset.S: This.
9167         (__bzero): Removed.
9168         (__memset_tail): Likewise.
9169         (__memset_chk): Likewise.
9170         (memset): Likewise.
9171         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9172         defined.
9173         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9174         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9175         (__memset_zero_constant_len_parameter): Check SHARED instead of
9176         PIC.
9177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9178         memset-avx2 and memset-sse2-unaligned-erms.
9179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9180         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9181         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9182         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9183         (__bzero): Enabled.
9184         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9185         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9186         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9187         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9188         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9189         (memset): Removed.
9190         (__memset_chk): Likewise.
9191         (MEMSET_SYMBOL): New.
9192         (libc_hidden_builtin_def): Replace __memset_sse2 with
9193         __memset_sse2_unaligned.
9194         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9195         __memset_chk_sse2 and __memset_chk_avx2 with
9196         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9197         Use __memset_chk_sse2_unaligned_erms or
9198         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
9199         __memset_chk_avx512_unaligned_erms and
9200         __memset_chk_avx512_unaligned.
9202 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9204         * math/gen-auto-libm-test.c (fp_format_desc): remove
9205         suffix member.
9206         (output_generic_value): Remove usage of suffix member,
9207         and the resulting unuse of the fp_format argument.
9208         (output_for_one_input_case): Remove unused fp_format
9209         parameter.
9211         * math/auto-libm-test-out: Regenerate.
9213         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9214         usage with TEST_COND_ibm128.
9215         (TEST_COND_flt_32): Remove.
9216         (TEST_COND_dbl_64): Remove.
9217         (TEST_COND_ldbl_96_intel): Remove.
9218         (TEST_COND_ldbl_96_m68k): Remove.
9219         (TEST_COND_ldbl_128): Remove.
9221 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9223         * auto-libm-test-in:
9224         Replace flt-32 usage with binary32.
9225         Replace dbl-64 usage with binary64.
9226         Replace ldbl-intel-96 usage with intel96.
9227         Replace ldbl-m68k-96 usage with m68k96.
9228         Replace ldbl-128ibm usage with ibm128.
9229         Replace ldbl-128 usage with binary128.
9231         * auto-libm-test-out: Regenerate.
9233 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9235         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9236         (parse_ulps): Dynamically generate type name matching
9237         string from all_floats.
9238         (get_ulps): Generate the ulps as an array instead.
9239         (output_ulps): Dynamically compose the type based
9240         on the number of supported formats, and print
9241         the indices as type specific helper macros.
9243         * math/libm-test.inc: Remove comment about CHOOSE.
9244         (ulp_data): Generate the type in libm-test-ulps.h.
9245         (ULP_IDX): New macro.
9246         (find_ulps): Update usage of max_ulp.
9248         * math/test-double-vlen2.h (CHOOSE): Remove.
9249         * math/test-double-vlen4.h (CHOOSE): Likewise.
9250         * math/test-double-vlen8.h (CHOOSE): Likewise.
9251         * math/test-float.c (CHOOSE): Likewise.
9252         * math/test-float-finite.c (CHOOSE): Likewise.
9253         * math/test-double.c (CHOOSE): Likewise.
9254         * math/test-double-finite.c (CHOOSE): Likewise.
9255         * math/test-idouble.c (CHOOSE): Likewise.
9256         * math/test-ifloat.c (CHOOSE): Likewise.
9257         * math/test-ildoubl.c (CHOOSE): Likewise.
9258         * math/test-ldouble-finite.c (CHOOSE): Likewise.
9259         * math/test-ldouble.c (CHOOSE): Likewise.
9261         * math/test-float.h (TEST_FLOAT): Remove.
9262         * math/test-double.h (TEST_DOUBLE): Likewise.
9263         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9265 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9267         * math/gen-libm-test.pl: (apply_lit): New subroutine.
9268         (parse_args): Strip C suffix from floating point literals
9269         typed with 'f' and wrap them with LIT().
9271         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9272         (test_ff_f_data_nexttoward): Rename to
9273         (test_fj_f_data): New struct.
9274         (nexttoward_test_data): Relabel tests as
9275         TEST_fj_f instead of TEST_ff_f.
9277 2016-06-08  Florian Weimer  <fweimer@redhat.com>
9279         Emacs bug 23726.
9280         * malloc/malloc.c (dumped_main_arena_start): Update comment.
9281         (__libc_realloc): Correct size computation for dumped fake mmapped
9282         chunks.
9284 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
9286         [BZ #20219]
9287         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9288         to itself.
9289         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9291         [BZ #20218]
9292         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9293         to itself.
9294         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9296 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
9298         [BZ #20195]
9299         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9300         check to ...
9301         (init_cpu_features): Here.
9303 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
9305         [BZ #20214]
9306         * sysdeps/unix/sysv/linux/bits/in.h
9307         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9308          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9309         Define to 1.
9310         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9311          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9312         Define to 0.
9313         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9314         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9316 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
9318         [BZ #20198]
9319         * stdlib/Makefile (tests): Add tst-quick_exit, and
9320         tst-thread-quick_exit.
9321         [ifeq ($(have-cxx-thread_local),yes)]
9322         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9323         (CFLAGS-tst-thread-quick_exit.o): Likewise.
9324         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9325         (LDLIBS-tst-thread-quick_exit): Likewise.
9326         [ifneq ($(have-cxx-thread_local),yes)]
9327         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9328         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9329         If run_dtors is true call __call_tls_dtors.
9330         (exit): Call __run_exit_handlers with run_dtors set to true.
9331         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9332         definition.
9333         * stdlib/quick_exit.c (quick_exit): Remove function.
9334         (__new_quick_exit): New function.
9335         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9336         function.
9337         * stdlib/tst-quick_exit.cc: New file.
9338         * stdlib/tst-thread-quick_exit.cc: New file.
9339         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9340         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9341         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9342         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9343         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9344         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9345         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9346         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9347         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9348         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9349         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9350         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9351         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9352         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9353         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9354         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9359         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9360         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9361         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9362         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9363         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9366         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9367         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9368         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9370 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9372         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9373         a typo in comments.
9375 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9377         [BZ #20213]
9378         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9379         argument to itself.
9380         * math/libm-test.inc (asin_test_data): Add sNaN tests.
9382 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9384         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9385         required flags.
9386         (CFLAGS-pwritev64.c): Likewise.
9387         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9388         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9389         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9390         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9391         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9392         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9393         syscall from auto-generation.
9394         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9395         [WORDSIZE == 64] (pwritev64): Remove macro.
9396         [!PWRITEV] (PWRITEV): Likewise.
9397         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9398         [!PWRITEV] (PWRITE): Likewise.
9399         [!PWRITEV] (OFF_T): Likewise.
9400         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9401         (LO_HI_LONG): Remove macro.
9402         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9403         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9404         (PWRITEV): Remove macro.
9405         (PWRITEV_REPLACEMENTE): Likewise.
9406         (PWRITE): Likewise.
9407         (OFF_T): Likewise.
9408         (pwritev64): New function.
9409         * nptl/tst-cancel4.c (tf_writev): Add test.
9411         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9412         required flags.
9413         (CFLAGS-preadv64.c): Likewise.
9414         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9415         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9416         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9417         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9418         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9419         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9420         syscall from auto-generation.
9421         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9422         [WORDSIZE == 64] (preadv64): Remove macro.
9423         [!PREADV] (PREADV): Likewise.
9424         [!PREADV] (PREADV_REPLACEMENT): Likewise.
9425         [!PREADV] (PREAD): Likewise.
9426         [!PREADV] (OFF_T): Likewise.
9427         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9428         (LO_HI_LONG): Remove macro.
9429         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9430         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9431         (PREADV): Remove macro.
9432         (PREADV_REPLACEMENTE): Likewise.
9433         (PREAD): Likewise.
9434         (OFF_T): Likewise.
9435         (preadv64): New function.
9436         * nptl/tst-cancel4.c (tf_preadv): Add test.
9438 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9440         [BZ #20212]
9441         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9442         argument to itself.
9443         * math/libm-test.inc (acos_test_data): Add sNaN tests.
9445 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9447         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9448         New symbol defined as libc_hidden_def.
9449         (strcasestr): Became a weak alias to __strcasestr.
9450         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9451         according to multi-arch support.  Move __stpncpy hidden
9452         definition from here to...
9453         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
9454         symbol stpncpy.
9455         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9456         libc_hidden_builtin_def.
9457         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9458         memset symbol to use when multi-arch support is available.
9460 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9462         * dlfcn/tst-rec-dlopen.c: Include string.h.
9464 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9466         * manual/install.texi: Remove mention of --without-tls
9467         * INSTALL: Regenerate.
9469 2016-06-05  Florian Weimer  <fweimer@redhat.com>
9471         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9472         Remove.
9473         (call_function, interposed_malloc_called): New variables.
9474         (malloc): New function.
9475         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
9476         and clear call_function as needed.
9478 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
9480         * include/wchar.h (__wmemset): Use __typeof.
9482 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
9484         * include/wchar.h (__wmemset): Declare function without typeof.
9486 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
9488         [BZ #20205]
9489         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9490         exponent when incrementing negative subnormal with low mantissa
9491         word zero.
9492         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9493         Add another test.
9495 2016-06-03  Florian Weimer  <fweimer@redhat.com>
9497         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9498         __wmemset instead of wmemset.
9500 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
9502         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9503         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9504         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9505         __USE_KERNEL_IPV6_DEFS to 0.
9506         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9507         Update comment.
9509 2016-06-01  Florian Weimer  <fweimer@redhat.com>
9511         [BZ #19861]
9512         Do not use IFUNC resolver with potentially unrelocated symbol.
9513         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9514         (DEFINE_FORK): Remove macro and inline definition.
9515         (fork_alias): Renamed from fork_ifunc.
9516         (__fork_alias): Renamed from __fork_ifunc.
9518 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
9520         [BZ 19653]
9521         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9522         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9524 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9526         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9527         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9528         i386-linux-gnu).
9529         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9530         Set to no.
9531         * sysdeps/mach/hurd/configure: Refresh.
9533 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9535         [BZ #20178]
9536         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9537         on failure instead of exit.
9539 2016-05-30  Roland McGrath  <roland@hack.frob.com>
9541         [BZ #3629]
9542         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9543         of POSIX.1-2008.
9545 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9547         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9548           Use PLT entry for calling _hurd_self_sigstate.
9550 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
9552         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9553         available logical processors with SMT level type sharing L2
9554         cache for Intel processors.
9556 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9558         [BZ #20160]
9559         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9560         argument to itself before returning the result.
9561         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9562         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9563         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9564         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9565         Likewise.
9566         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9567         Likewise.
9568         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9569         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9570         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9571         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9572         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9573         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9575         [BZ #20160]
9576         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9577         argument to itself before returning the result.
9578         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9579         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9580         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9582         Likewise.
9583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9584         Likewise.
9585         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9586         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9587         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9588         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9589         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9590         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9592 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9594         * libm-test.inc: Replace usage of M_El with
9595         (lit_e): New macro.
9597 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9599         * libm-test.inc: Replace usage of M_PI_4l with
9600         (lit_pi_4_d): New macro.
9602 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9604         * libm-test.inc: Replace usage of M_PIl with
9605         (lit_pi): New macro.
9607 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9609         * libm-test.inc: Replace usage of M_PI2l with
9610         (lit_pi_2_d): New macro.
9612         * math/test-double.h (LITM): New macro.
9613         * math/test-float.h (LITM): Likewise.
9614         * math/test-ldouble.h (LITM): Likewise.
9616 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9618         * libm-test.inc (M_PI_34l): Rename to
9619         (lit_pi_3_m_4_d): New Macro.
9620         (M_PI_34_LOG10El): Rename to
9621         (lit_pi_3_m_4_ln10_m_d): New Macro.
9622         (M_PI2_LOG10El): Rename to
9623         (lit_pi_2_ln10_m_d):  New Macro.
9624         (M_PI4_LOG10El): Rename to
9625         (lit_pi_4_ln10_m_d):  New Macro.
9626         (M_PI_LOG10El): Rename to
9627         (lit_pi_ln10_d):  New Macro.
9629 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9631         [BZ #20157]
9632         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9633         determine whether to negate low half if [_ARCH_PPCGR], and integer
9634         comparison otherwise.
9635         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9636         determine whether to negate low half.
9638         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9639         (NO_TEST_INLINE_DOUBLE): Likewise.
9640         (TEST_COND_x86_64): Likewise.
9641         (TEST_COND_x86): Likewise.
9642         (M_PI_6l): Likewise.
9644 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9646         * math/libm-test.inc:
9647         (TEST_FLOAT): Change usage to TEST_COND_binary32.
9648         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9649         (TEST_LDOUBLE): Update usage to evaluate as true if
9650         the guarded tests match the property being tested.
9651         (LDBL_MAX_EXP): Change to MAX_EXP.
9652         (LDBL_MIN_EXP): Change to MIN_EXP.
9653         (LDBL_MANT_DIG): Change to MANT_DIG, except for
9654         nexttoward tests.
9656 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9658         * math/libm-test.inc:
9659         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9660         (TYPE_MIN): Likewise.
9661         (TYPE_TRUE_MIN): Likewise.
9662         (TYPE_MAX): Likewise.
9663         (MIN_EXP): Likewise.
9664         (MAX_EXP): Likewise.
9665         (MANT_DIG): Likewise.
9667         (FSTR_MAX): New macro.
9668         (__CONCATX): Likewise.
9669         (QTYPE_STR): Likewise.
9670         (TEST_COND_binary32): Likewise.
9671         (TEST_COND_binary64): Likewise.
9672         (TEST_COND_binary128): Likewise.
9673         (TEST_COND_ibm128): Likewise.
9674         (TEST_COND_intel96): Likewise.
9675         (TEST_COND_m68k96): Likewise.
9677         (TEST_COND_flt_32): Redefine as equivalent format test macro.
9678         (TEST_COND_dbl_64): Likewise.
9679         (TEST_COND_ldbl_96_intel): Likewise.
9680         (TEST_COND_ldbl_96_m68k): Likewise.
9681         (TEST_COND_ldbl_128): Likewise.
9682         (TEST_COND_ldbl_128ibm): Likewise.
9684         (plus_zero): Redefine using LIT macro.
9685         (minus_zero): Likewise.
9686         (plus_infty): Redefine as (INF).
9687         (minux_infty): Redefine as (-INF).
9688         (max_value): Redefine as TYPE_MAX.
9689         (min_value): Redefine as TYPE_MIN.
9690         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9692         (print_float): Refactor to use snprintf to convert FLOAT values
9693         to string. This brings it closer to dropin replacement of strtof
9694         for the TS 18661 defined types.
9695         (update_stats): Likewise.
9696         (print_complex_function_ulps): Likewise.
9697         (print_max_error): Likewise.
9698         (print_complex_max_error): Likewise.
9699         (check_float_internal): Likewise.
9701         * math/test-float.h (PREFIX): New macro.
9702         (LIT): Likewise.
9703         (TYPE_STR): Likewise.
9704         (FTOSTR): Likewise.
9706         * math/test-double.h (PREFIX): New macro.
9707         (LIT): Likewise.
9708         (TYPE_STR): Likewise.
9709         (FTOSTR): Likewise.
9711         * math/test-ldouble.h (PREFIX): New macro.
9712         (LIT): Likewise.
9713         (TYPE_STR): Likewise.
9714         (FTOSTR): Likewise.
9716 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9718         [BZ #20156]
9719         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9720         to itself when zero or not finite.
9721         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9722         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9723         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9724         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9726 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
9728         [BZ #20153]
9729         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9730         x * x + x for infinities and NaNs.
9732         [BZ #20151]
9733         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9734         argument to itself before returning result.
9735         (__ieee754_y0l): Likewise.
9736         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9737         (__ieee754_y1l).
9739         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9740         (atan_test_data): Likewise.
9741         (ceil_test_data): Likewise.
9742         (cos_test_data): Likewise.
9743         (cosh_test_data): Likewise.
9744         (erf_test_data): Likewise.
9745         (exp2_test_data): Likewise.
9746         (fabs_test_data): Likewise.
9747         (floor_test_data): Likewise.
9748         (ilogb_test_data): Likewise.
9749         (j0_test_data): Likewise.
9750         (j1_test_data): Likewise.
9751         (jn_test_data): Likewise.
9752         (lgamma_test_data): Likewise.
9753         (lrint_test_data): Likewise.
9754         (llrint_test_data): Likewise.
9755         (logb_test_data): Likewise.
9756         (lround_test_data): Likewise.
9757         (llround_test_data): Likewise.
9758         (nearbyint_test_data): Likewise.
9759         (rint_test_data): Likewise.
9760         (round_test_data): Likewise.
9761         (sin_test_data): Likewise.
9762         (sincos_test_data): Likewise.
9763         (sinh_test_data): Likewise.
9764         (sqrt_test_data): Likewise.
9765         (tan_test_data): Likewise.
9766         (tanh_test_data): Likewise.
9767         (tgamma_test_data): Likewise.
9768         (trunc_test_data): Likewise.
9769         (y0_test_data): Likewise.
9770         (y1_test_data): Likewise.
9771         (yn_test_data): Likewise.
9773         * math/libm-test.inc: Update comment about NaN testing.
9774         (TEST_SNAN): New macro.
9775         (snan_value): Likewise.
9776         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9777         (fpclassify_test_data): Add sNaN tests.
9778         (isfinite_test_data): Likewise.
9779         (isinf_test_data): Likewise.
9780         (isnan_test_data): Likewise.
9781         (isnormal_test_data): Likewise.
9782         (issignaling_test_data): Likewise.
9783         (signbit_test_data): Likewise.
9784         * math/gen-libm-test.pl (%beautify): Add snan_value.
9785         (show_exceptions): Add argument $test_snan.
9786         (parse_args): Handle snan_value as non-finite.  Update call to
9787         show_exceptions.
9788         * math/Makefile (libm-test-no-inline-cflags): Add
9789         -fsignaling-nans.
9791 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9793         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9794         (CFLAGS-oldsendmsg.c): Add rule.
9795         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9796         Correct recvmsg symbol name.
9797         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9798         Likewise.
9800 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9802         * sysdeps/unix/sysv/linux/Makefile
9803         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9804         oldsendmmsg.
9805         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9806         sendmmsg.
9807         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9808         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9809         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9810         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9812         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9815         Likewise.
9816         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9817         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9818         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9819         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9820         iovlen and controllen fields to adjust to POSIX specification.
9821         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9823         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9824         and change to correct expected type.
9825         (msghdr.msg_controllen): Likewise.
9826         (cmsghdr.cmsg_len): Likewise.
9827         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9828         expected POSIX assumption about the size.
9829         (msghdr.msg_controllen): Likewise.
9830         (msghdr.__glibc_reserved1): Likewise.
9831         (msghdr.__glibc_reserved2): Likewise.
9832         (cmsghdr.cmsg_len): Likewise.
9833         (cmsghdr.__glibc_reserved1): Likewise.
9834         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9835         Add ptw-oldrecvmsg and ptw-oldsendmsg.
9836         (CFLAGS-sendmsg.c): Remove rule.
9837         (CFLAGS-recvmsg.c): Likewise.
9838         (CFLAGS-oldsendmsg.c): Add rule.
9839         (CFLAGS-oldrecvmsg.c): Likewise.
9840         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9841         recvmsg and sendmsg.
9842         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9843         Likewise.
9844         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9845         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9846         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9847         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9848         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9849         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9850         Likewise.
9851         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9852         Likewise.
9853         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9854         Likewise.
9855         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9856         Likewise.
9857         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9858         Likewise.
9859         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9860         Likewise.
9861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9862         (GLIBC_2.24): Likewise.
9863         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9864         Likewise.
9865         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9866         Likewise.
9867         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9868         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9869         Likewise.
9870         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9871         Likewise.
9872         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9873         Likewise.
9874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9875         (GLIBC_2.24): Likewise.
9876         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9877         Likewise.
9878         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9879         Likewise.
9880         * sysdeps/unix/sysv/linux/Makefile
9881         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9882         (CFLAGS-sendmsg.c): Add rule.
9883         (CFLAGS-recvmsg.c): Likewise.
9884         (CFLAGS-oldsendmsg.c): Likewise.
9885         (CFLAGS-oldrecvmsg.c): Likewise.
9886         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9887         initialization.
9888         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9889         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9890         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9891         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9892         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9893         iovlen and controllen fields to adjust to POSIX specification.
9894         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9895         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9896         added recvmsg and sendmsg.
9897         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9898         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9899         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9900         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9901         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9902         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9903         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9904         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9905         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9906         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9907         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9908         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9910         Likewise.
9911         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9913         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9914         Likewise.
9915         Likewise.
9916         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9917         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9918         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9919         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9920         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9921         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9923         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9925         Likewise.
9926         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9927         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9929         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9930         from auto-generation.
9931         (sendmsg): Likewise.
9932         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9933         (sendmsg): Likewise.
9934         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9935         (sendmsg): Likewise.
9936         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9937         (sendmsg): Likewise.
9938         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9939         (sendmsg): Likewise.
9940         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9941         (sendmsg): Likewise.
9942         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9943         Likewise.
9944         (sendmsg): Likewise.
9945         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9946         (sendmsg): Likewise.
9947         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9948         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9949         Remove.
9950         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9951         Likewise.
9952         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9953         Undefine.
9954         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9955         Likewise.
9956         * sysdeps/unix/sysv/linux/kernel-features.h
9957         (__ASSUME_SENDMSG_SYSCALL): Define.
9958         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9959         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9960         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9961         Remove.
9962         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9963         Likewise.
9964         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9965         Undefine.
9966         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9967         Likewise.
9968         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9970         Remove.
9971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9972         Likewise.
9973         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9974         Undefine.
9975         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9976         Likewise.
9977         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9978         (__ASSUME_SENDMSG_SYSCALL): Undefine.
9979         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9980         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9981         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9982         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9983         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9984         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9985         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9987 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9989         * stdlib/gen-tst-strtod-round.c: Add backslash to
9990         compile command in comment.
9991         (printfp): Remove the literal suffix, and define an infinite
9992         value as INF to avoid expansion clash with INFINITY.
9993         (round_str): Remove the literal suffix.
9994         (round_for_all): Likewise, remove the now duplicate ldbl-64
9995         entry, and remove some magic constants.
9997         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
9998         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
9999         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10000         (_CONCAT): New macro.
10001         (CONCAT): Likewise.
10002         (CHOOSE_ld): Likewise.
10003         (CHOOSE_f): Likewise.
10004         (CHOOSE_d): Likewise.
10005         (FTYPE_MEMBER): Likewise.
10006         (BOOL_MEMBER): Likewise.
10007         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10008         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10009         (_XNTRY): Likewise.
10010         (XNTRY): Likewise.
10011         (_ENTRY): Likewise.
10012         (ENTRY): Likewise.
10013         (test_exactness): Generate members via macro.
10014         (test_results): Likewise.
10015         (test): Update members.
10016         (TEST): Redefine using new macros.
10017         (INF): New macro.
10018         (fetestmodes): New structure.
10019         (do_test): Refactor to be type generic.
10020         (test_in_one_mode): Refactor duplicate code into
10021         (GEN_ONE_TEST): New macro.
10023         * stdlib/tst-strtod-round-data.h: Regenerate.
10025         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10026         Extend to pass additional arbitrary parameters to
10027         generators.
10029 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10031         [BZ #15479]
10032         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10033         floating-point state after first floating-point operation on
10034         input.  Restore full floating-point state instead of just rounding
10035         mode.
10036         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10037         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10038         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10039         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10040         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10042         [BZ #15479]
10043         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10044         floating-point state after first floating-point operation on
10045         input.  Restore full floating-point state instead of just rounding
10046         mode.
10047         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10048         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10049         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10050         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10051         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10053 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10055         [BZ #19727]
10056         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10057         valid high surrogate.
10058         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10059         of an utf16 surrogate.
10060         * iconv/gconv_simple.c (BODY): Likewise.
10061         * iconvdata/bug-iconv12.c: New file.
10062         * iconvdata/Makefile (tests): Add bug-iconv12.
10064 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10066         [BZ #19726]
10067         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10068         outptrp in case of an illegal input.
10069         * iconv/tst-iconv6.c: New file.
10070         * iconv/Makefile (tests): Add tst-iconv6.
10072 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10074         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10075         an error in case of a value in range of an utf16 low surrogate.
10077 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10079         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10080         an error in case of a value in range of an utf16 low surrogate.
10082 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10084         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10085         Move to ...
10086         * sysdeps/s390/Makefile: ... here.
10087         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10088         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10089         (BRANCH_ON_COUNT): New define.
10090         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10091         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10092         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10093         run on s390-32, too.
10094         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10095         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10096         run on s390-32, too.
10097         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10098         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10099         run on s390-32, too.
10101 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10103         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10104         etf3eh or new vector loop-variant.
10106 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10108         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10109         etf3eh or new vector loop-variant.
10111 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10113         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10114         or new vector loop-variant.
10116 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10118         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10119         Rename to TR_LOOP and usage of tr instead of troo instruction.
10121 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10123         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10124         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10126 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10128         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10129         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10130         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10131         New override define.
10132         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10134 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10136         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10137         * sysdeps/s390/configure.ac: Add test for S390 vector register
10138         support in gcc.
10139         * sysdeps/s390/configure: Regenerated.
10141 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10143         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10144         Install file from $(objpfx)gconv-modules.
10145         ($(objpfx)gconv-modules): Concatenate architecture specific file
10146         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10147         * sysdeps/s390/gconv-modules: New file.
10148         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10149         Deleted.
10150         ($(objpfx)gconv-modules-s390): Deleted.
10151         (sysdeps-gconv-modules): New variable.
10153 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10155         [BZ #15479]
10156         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10157         of immediate operand to rounding instruction.
10158         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10159         Likewise.
10160         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10161         Likewise.
10162         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10163         Likewise.
10165 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10167         * math/libm-test.inc (MIN_EXP): Directly define as
10168         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10170 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10172         * math/libm-test.inc (MANT_DIG): Directly define as
10173         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10175 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10177         * stdlib/gen-tst-strtod-round.c (main):
10178           Change usage to more closely match the generated
10179           output.  Add usage and compilation instructions.
10180           (string_to_fp): Add and use FILE* parameter as
10181           output target.
10182           (print_fp): Likewise.
10183           (round_str): Likewise.
10184           (round_for_all): Likewise.
10185         * stdlib/tst-strtod-round.c (tests): Move into
10186         * stdlib/tst-strtod-round-data.h: New file.
10188 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10190         [BZ #15479]
10191         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10192         (__round): Do not force "inexact" exception.
10193         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10194         variable.
10195         (__round): Do not force "inexact" exception.
10196         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10197         (__roundf): Do not force "inexact" exception.
10198         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10199         (__roundl): Do not force "inexact" exception.
10200         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10201         (__roundl): Do not force "inexact" exception.
10202         * math/libm-test.inc (round_test_data): Do not allow spurious
10203         "inexact" exceptions.
10205         [BZ #15479]
10206         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10207         exception in comment.
10208         (huge): Remove variable.
10209         (__floor): Do not force "inexact" exception.
10210         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10211         "inexact" exception in comment.
10212         (huge): Remove variable.
10213         (__floor): Do not force "inexact" exception.
10214         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10215         exception in comment.
10216         (huge): Remove variable.
10217         (__floorf): Do not force "inexact" exception.
10218         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10219         exception in comment.
10220         (huge): Remove variable.
10221         (__floorl): Do not force "inexact" exception.
10223         [BZ #15479]
10224         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10225         exception in comment.
10226         (huge): Remove variable.
10227         (__ceil): Do not force "inexact" exception.
10228         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10229         "inexact" exception in comment.
10230         (huge): Remove variable.
10231         (__ceil): Do not force "inexact" exception.
10232         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10233         (__ceilf): Do not force "inexact" exception.
10234         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10235         exception in comment.
10236         (huge): Remove variable.
10237         (__ceill): Do not force "inexact" exception.
10239 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10241         * config.h.in (BIND_NOW): New.
10242         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
10243         * configure: Regenerated.
10244         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10245         indirect branch via the GOT slot.
10247 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10249         [BZ #19765]
10250         * sysdeps/s390/mempcpy.S: New File.
10251         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10252         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10253         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10254         Add mempcpy variants.
10255         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10256         (memcpy): Adjust to be usable from mempcpy entry point.
10257         (__memcpy_mvcle): Likewise.
10258         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10259         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10260         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10261         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10262         (__memcpy_z10): Likewise.
10263         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10265 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10267         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10268         Remove __GI_ symbol.
10269         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10270         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10271         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10272         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10273         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10274         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10276 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10278         * sysdeps/s390/s390-64/memcpy.S (memcpy):
10279         Use cghi instead of chi to compare 64bit value.
10281 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10283         * sysdeps/s390/s390-32/memcpy.S (memcpy):
10284         Jump to 1MB check before executing mvc-loop.
10286 2016-05-24  Florian Weimer  <fweimer@redhat.com>
10288         [BZ #6527]
10289         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10290         unconditionally.
10291         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10293 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10295         * stdlib/tst-strtod6.c (do_test): Use new type generic
10296         invocation of the test function.
10297         (test): Refactor into ...
10298         (TEST_STRTOD): New macro base function.
10300 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10302         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10303         (TEST_STRTOD): New macro.
10304         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10306 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10308         * stdlib/tst-strtod6.c (do_test): Use new type generic
10309         invocation of the test function.
10310         (test): Refactor into ...
10311         (TEST_STRTOD): New macro base function.
10313 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10315         CVE-2016-4429
10316         [BZ #20112]
10317         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10318         payload.
10320 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10322         [BZ #20111]
10323         * bits/sockaddr.h (_SS_SIZE): Define.
10324         * bits/socket.h (_SS_SIZE): Remove.
10325         (_SS_PADSIZE): Adjust to account for all padding.
10326         (struct sockaddr_storage): Update comment.  Avoid implicit
10327         padding.
10328         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10329         (_SS_PADSIZE): Adjust to account for all padding.
10330         (struct sockaddr_storage): Update comment.  Avoid implicit
10331         padding.
10332         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10333         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10334         (_SS_PADSIZE): Adjust to account for all padding.
10335         (struct sockaddr_storage): Update comment.  Avoid implicit
10336         padding.
10337         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10338         __SS_SIZE is 126 in this version.
10339         * inet/tst-sockaddr.c: New file.
10340         * inet/Makefile (tests): Add tst-sockaddr.c
10341         (tst-sockaddr.c): Compile with non-strict aliasing.
10343 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
10345         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10346         [XPG3 || XPG4].
10347         (NL_ARGMAX): Also expect for [XPG3].
10348         (NL_LANGMAX): Likewise.
10349         (NL_MSGMAX): Likewise.
10350         (NL_NMAX): Likewise.
10351         (NL_SETMAX): Likewise.
10352         (NL_TEXTMAX): Likewise.
10353         (NZERO): Likewise.
10354         (TMP_MAX): Likewise.
10355         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10356         variable.
10358         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10359         (PF_MAX): Update value.
10360         (AF_KCM): New macro.
10361         (SOL_NETBEUI): Likewise.
10362         (SOL_LLC): Likewise.
10363         (SOL_DCCP): Likewise.
10364         (SOL_NETLINK): Likewise.
10365         (SOL_TIPC): Likewise.
10366         (SOL_RXRPC): Likewise.
10367         (SOL_PPPOL2TP): Likewise.
10368         (SOL_BLUETOOTH): Likewise.
10369         (SOL_PNPIPE): Likewise.
10370         (SOL_RDS): Likewise.
10371         (SOL_IUCV): Likewise.
10372         (SOL_CAIF): Likewise.
10373         (SOL_ALG): Likewise.
10374         (SOL_NFC): Likewise.
10375         (SOL_KCM): Likewise.
10376         (MSG_BATCH): New enum value and macro.
10378 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
10380         [BZ #18185]
10381         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10382         sharing L2 cache to 2 for Knights Landing.
10384 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
10386         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10387         (FTW_DP): Do not expect for [XPG3 || XPG4].
10388         (FTW_SL): Do not expect for [XPG3].
10389         (FTW_SLN): Likewise.
10390         (FTW_PHYS): Likewise.
10391         (FTW_MOUNT): Likewise.
10392         (FTW_DEPTH): Likewise.
10393         (FTW_CHDIR): Likewise.
10394         (nftw): Likewise.
10395         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10396         variable.
10398 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10400         * manual/errno.texi: Fix various typos & grammar errors.
10402 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10404         * manual/intro.texi: Fix duplicated typo.
10406 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10408         [BZ #13304]
10409         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10410         <float.h>, <math_private.h> and <stdlib.h>.
10411         (add_split): New function.
10412         (mul_split): Likewise.
10413         (ext_val): New typedef.
10414         (store_ext_val): New function.
10415         (mul_ext_val): New function.
10416         (compare): New function.
10417         (add_split_ext): New function.
10418         (__fmal): After checking for Inf, NaN and zero, compute result as
10419         an exact sum of scaled double values in round-to-nearest before
10420         adding those up and adjusting for other rounding modes.
10421         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10422         tests of fma.
10423         * math/auto-libm-test-out: Regenerated.
10425 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10427         [BZ #20119]
10428         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10429         processor level type mask for CPUID with EAX == 11.
10431 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10433         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10434         logical threads if the HTT bit is 0.
10435         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10436         (index_cpu_HTT): Likewise.
10437         (reg_HTT): Likewise.
10439 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10441         [BZ #20115]
10442         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10443         Remove alignments on jump targets.
10445 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10447         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10448         (getpwent): Likewise.
10449         (setpwent): Likewise.
10450         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10451         variable.
10453         * conform/data/search.h-data (insque): Do not expect for [XPG3].
10454         (remque): Likewise.
10455         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10456         variable.
10458 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10460         * math/libm-test.inc: Update comment not to refer to signs of NaNs
10461         not being tested.
10463 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10465         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10466         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
10467         call.
10468         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10469         (__condvar_cleanup1): Likewise.
10471 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10473         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10474         New
10475         (__pthread_unwind): Renamed to ...
10476         (PTHREAD_UNWIND): This.
10477         (__pthread_enable_asynccancel): Replace
10478         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10480 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10482         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10483         (CLONE_NEWCGROUP): New macro.
10485         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10486         (Q_GETNEXTQUOTA): New macro.
10488 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10490         [BZ #19907]
10491         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10492         buffer updated by the previous run.
10493         * string/test-memcpy.c (do_one_test): Likewise.
10494         * benchtests/bench-memmove.c (do_one_test): Add a comment.
10495         * string/test-memmove.c (do_one_test): Likewise.
10497 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
10499         [BZ #20094]
10500         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10501         not [__USE_XOPEN].
10502         (unlockpt): Likewise.
10503         (ptsname): Likewise.
10504         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10505         variable.
10507         [BZ #20076]
10508         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10509         instead of [__USE_UNIX98].
10510         (S_ISSOCK): Likewise.
10511         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10512         variable.
10514         [BZ #20074]
10515         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10516         [__USE_POSIX].
10517         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10518         variable.
10520         [BZ #20051]
10521         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10522         (ttyslot): Do not declare.
10523         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10524         (ttyslot): New prototype.
10525         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10526         variable.
10527         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10529 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10531         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10533 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10535         Fix race condition in tst-mallocfork2, use fewer resources.
10536         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10537         to current process group.
10538         (signal_sender): Yield in the non-sleeping case.
10540 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
10542         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10543         (ecvt): Likewise.
10544         (fcvt): Likewise.
10545         (gcvt): Likewise.
10546         (getsubopt): Likewise.
10547         (grantpt): Likewise.
10548         (initstate): Likewise.
10549         (l64a): Likewise.
10550         (mktemp): Likewise.
10551         (mkstemp): Likewise.
10552         (ptsname): Likewise.
10553         (random): Likewise.
10554         (realpath): Likewise.
10555         (setstate): Likewise.
10556         (srandom): Likewise.
10557         (ttyslot): Likewise.
10558         (unlockpt): Likewise.
10559         (valloc): Likewise.
10561         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10562         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10563         variable.
10565 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10567         [BZ #20072]
10568         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10569         init_cpu_features only if SHARED is defined.
10570         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10572 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10574         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10575         non-inclusive caches on Intel processors.
10577 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10579         * malloc/malloc.c (dumped_main_arena_start)
10580         (dumped_main_arena_end): New variables.
10581         (DUMPED_MAIN_ARENA_CHUNK): New macro.
10582         (do_check_chunk): Skip dumped fake mmapped chunks.
10583         (munmap_chunk): Likewise.
10584         (__libc_free): Do not adjust statistics for fake mmapped chunks.
10585         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
10586         mmapped chunks.
10587         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10588         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
10589         and dumped_main_arena_end to cover the dumped heap.
10591 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
10593         * conform/data/time.h-data (getdate_err): Do not expect for
10594         [XPG3].
10595         (getdate): Likewise.
10596         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10597         variable.
10599         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10600         (F_ULOCK): Likewise.
10601         (F_TEST): Likewise.
10602         (F_TLOCK): Likewise.
10603         (useconds_t): Likewise.
10604         (intptr_t): Do not expect for [XPG3] or [XPG4].
10605         (brk): Do not expect for [XPG3]
10606         (fchown): Likewise.
10607         (fchdir): Likewise.
10608         (ftruncate): Likewise.
10609         (getdtablesize): Likewise.
10610         (gethostid): Likewise.
10611         (getpagesize): Likewise.
10612         (getpgid): Likewise.
10613         (getsid): Likewise.
10614         (getwd): Likewise.
10615         (lchown): Likewise.
10616         (lockf): Likewise.
10617         (readlink): Likewise.
10618         (sbrk): Likewise.
10619         (setpgrp): Likewise.
10620         (setregid): Likewise.
10621         (setreuid): Likewise.
10622         (symlink): Likewise.
10623         (sync): Likewise.
10624         (truncate): Likewise.
10625         (ualarm): Likewise.
10626         (usleep): Likewise.
10627         (vfork): Likewise.
10628         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10629         variable.
10631         [BZ #20054]
10632         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10633         not [__USE_UNIX98].
10634         * conform/data/unistd.h-data (gethostname): Do not expect for
10635         [XPG3].
10637         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10638         [!POSIX] (S_IFBLK): Likewise.
10639         [!POSIX] (S_IFCHR): Likewise.
10640         [!POSIX] (S_IFIFO): Likewise.
10641         [!POSIX] (S_IFREG): Likewise.
10642         [!POSIX] (S_IFDIR): Likewise.
10643         [!POSIX] (S_IFLNK): Likewise.
10644         [!POSIX] (S_IFSOCK): Likewise.
10645         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10646         variable.
10647         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10649 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
10651         * sysdeps/aarch64/memset.S (__memset):
10652         Rewrite of optimized memset.
10654 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10656         [BZ #19703]
10657         Partially async-signal-safe fork for single-threaded processes.
10658         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10659         variable.  Do not acquire and reset/release malloc and libio locks
10660         in single-threaded processes.
10661         * malloc/tst-mallocfork2.c: New file.
10662         * malloc/Makefile (tests): Add it.
10664 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10666         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10667         argument.  Use scratch buffer instead of extend_alloca.
10668         (gethosts): Use scratch buffer instead of extend_alloca.
10669         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
10670         extend_alloca.
10671         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10673 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
10675         [BZ #20055]
10676         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10677         instead of [__USE_UNIX98].
10678         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10679         [__USE_UNIX98].
10680         * conform/data/termios.h-data (tcgetsid): Do not expect for
10681         [XPG3].
10682         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10683         variable.
10684         (test-xfail-XPG4/termios.h/conform): Likewise.
10686 2016-05-11  Florian Weimer  <fweimer@redhat.com>
10688         Do not use mcheck in localedef.
10689         * locale/programs/localedef.c (turn_on_mcheck)
10690         (__malloc_initialize_hook): Remove.
10692 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10694         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10695         * sysdeps/s390/s390-64/Makefile: Likewise.
10697 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10699         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10700         Remove ifunc-defines.sym.
10701         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10702         Likewise.
10703         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10704         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10705         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10706         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10707         rtld-global-offsets.sym.
10708         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10709         * sysdeps/x86/cpu-features-offsets.sym: This.
10710         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10711         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10713 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
10715         [BZ #20073]
10716         * io/sys/stat.h (fchmod): Declare for
10717         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10718         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10719         variable.
10721         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10722         [XPG3] (S_IFSOCK): Likewise.
10723         [XPG3] (S_ISVTX): Likewise.
10724         [XPG3] (S_ISLNK): Likewise.
10725         [XPG3] (S_ISSOCK): Likewise.
10726         [XPG3] (fchmod): Likewise.
10727         [XPG3] (lstat): Likewise.
10728         [XPG3] (mknod): Likewise.
10730         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10731         [XPG3].  Expect type long and XFAIL for [XPG4].
10732         (st_blocks): Likewise.
10734         [BZ #20044]
10735         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10736         (pthread_atfork): New prototype.
10737         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10738         variable.
10740         [BZ #20043]
10741         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10742         prototype.
10744 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10746         [BZ #20017]
10747         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10748         gmtime.
10750 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10752         [BZ #19994]
10753         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10754         flag in _res.options.
10756 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
10758         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10759         [XPG3 || XPG4].
10760         (blksize_t): Likewise.
10761         (clockid_t): Likewise.
10762         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10763         variable.
10764         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10766 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10768         * sysdeps/unix/sysv/linux/s390/init-first.c:
10769         Add VDSO_SYMBOL(getcpu).
10770         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10771         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10772         Add VDSO_SYMBOL(getcpu).
10773         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10774         New define HAVE_GETCPU_VSYSCALL.
10775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10777 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10779         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10780         instead of <sysdeps/x86_64/cacheinfo.c>.
10781         * sysdeps/x86_64/cacheinfo.c: Moved to ...
10782         * sysdeps/x86/cacheinfo.c: Here.
10784 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10786         * malloc/malloc-internal.h: Adjust header file guard.
10788 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10790         [BZ #19787]
10791         * inet/getnameinfo.c (check_sprintf_result): New function.
10792         (CHECKED_SNPRINTF): New macro.
10793         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10794         to the host buffer.
10795         (gni_host_local): Use checked_copy to copy the host name.
10796         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10797         (gni_serv_local): Use checked_copy to copy the service name.
10798         (getnameinfo): Remove unnecessary truncation of result buffers.
10800 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10802         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10803         in case of inet_ntop failure.
10805 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10807         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10808         avoid long lines.
10809         (gni_host_inet_numeric): Likewise.  Reduce scope of local
10810         variables.
10811         (gni_host_inet, gni_host_local): Add comment.
10812         (gni_host): Add comment.  Use temporary to avoid long lines.
10814 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10816         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10817         registers specifiers where general purpose registers specifiers should
10818         have been used.
10820 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10822         [BZ #19779]
10823         CVE-2016-1234
10824         Avoid copying names of directory entries.
10825         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10826         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10827         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10828         (struct readdir_result): New type.
10829         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10830         (GL_READDIR): New macros.
10831         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10832         (convert_dirent, convert_dirent64): New functions.
10833         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
10834         convert_dirent64.  Adjust references to the readdir result.
10835         * sysdeps/unix/sysv/linux/i386/glob64.c:
10836         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10837         * posix/bug-glob2.c (LONG_NAME): Define.
10838         (filesystem): Add LONG_NAME.
10839         (my_DIR): Increase the size of room_for_dirent.
10841 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
10843         [BZ #20041]
10844         * misc/sys/select.h (__need_timespec): Only define if
10845         [__USE_XOPEN2K].
10846         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10847         variable.
10848         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10849         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10850         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10852 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10853             Segher Boessenkool  <segher@gcc.gnu.org>
10855         [BZ #20004]
10856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10857         (__novec_swapcontext): Add missing load.
10859 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
10861         [BZ #20023]
10862         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10863         <time.h>.
10864         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10865         variable.
10866         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10868 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10871         flags CLONE_VM compare.
10873 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10875         [BZ #20031]
10876         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10877         completely empty.
10879 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10881         [BZ #19573]
10882         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10883         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10884         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10885         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10886         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10887         (hesiod_free_list): Mark as hidden.
10888         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10889         res_set, res_get.
10890         * hesiod/hesiod.c: Remove unnecessary forward declarations.
10891         (init, __hesiod_res_get, __hesiod_res_set): Remove.
10892         (hesiod_init): Remove obsolete res_ninit call.
10893         (hesiod_end): Do not free resolver state.  Do not invoke callback.
10894         (hesiod_bind): Do not call init.
10895         (get_txt_records): Use res_mkquery, res_send instead of
10896         res_nmkquery, res_nsend.
10897         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10898         instead of _nss_hesiod_init.
10899         (_nss_hesiod_initgroups_dyn): Likewise.
10900         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10901         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10902         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10904 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10906         * hesiod/hesiod_p.h (DEF_RHS): Remove.
10907         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10909 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10911         * hesiod/hesiod.h: Remove RCS keyword.
10912         * hesiod/hesiod_p.h: Likewise.
10914         * hesiod/hesiod.c: Likewise.
10916 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
10918         [BZ #12450]
10919         * locale/iso-639.def: Add Samogitian/sgs.
10921 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10923         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10925         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10927 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
10928             Carlos O'Donell  <carlos@redhat.com>
10930         [BZ #19072]
10931         * grp/Makefile (headers): Add grp-merge.h
10932         (routines): Add grp-merge.
10933         * grp/getgrgid_r.c: Include grp-merge.h.
10934         (DEEPCOPY_FN): Define.
10935         (MERGE_FN): Define.
10936         * grp/getgrname_r.c: Include grp-merge.h.
10937         (DEEPCOPY_FN): Define.
10938         (MERGE_FN): Define.
10939         * grp/grp-merge.c: New file.
10940         * grp/grp-merge.h: New file.
10941         * include/grp-merge.h: New file.
10942         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10943         __copy_grp@GLIBC_PRIVATE.
10944         * manual/nss.texi (Actions in the NSS configuration): Describe
10945         return, continue, and merge.
10946         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10947         (DEEPCOPY_FN): Define.
10948         (MERGE_FN): Define.
10949         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10950         (DEEPCOPY_FN): Define.
10951         (MERGE_FN): Define.
10952         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10953         [!MERGE_FN]: Define __merge_einval.
10954         (CHECK_MERGE): Define.
10955         (REENTRANT_NAME): Process merge if do_merge is true.
10956         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10957         (__nss_getent_r): Likewise.
10958         * nss/nsswitch.c (nss_parse_service_list): Likewise.
10959         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10961 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10963         [BZ #20012]
10964         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10965         length to calculate the buffer to read.
10966         (fmemopen_write): Set the buffer position based on bytes written.
10967         (fmemopen_seek): Return EINVAL for invalid whence modes.
10969         [BZ #19957]
10970         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10971         tst-getpid2.
10972         (test): Add tst-clone2.
10973         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10974         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10975         pid/tid fields for CLONE_VM.
10976         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10977         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10978         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10979         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10980         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10981         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10982         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10983         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10985         Likewise.
10986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10987         Likewise.
10988         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10989         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10990         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10991         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10992         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10993         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10994         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10995         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
10997 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10999         [BZ #19642]
11000         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11001         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11002         (gni_serv_local, gni_serv): New functions extracted from
11003         getnameinfo.
11004         (getnameinfo): Call gni_host and gni_serv to perform the
11005         processing.  Always free scratch buffer.
11007 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11009         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11010         remaining bytes in the dest string, with zeros.
11012 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11014         [BZ #20010]
11015         CVE-2016-3706
11016         * sysdeps/posix/getaddrinfo.c
11017         (convert_hostent_to_gaih_addrtuple): New function.
11018         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11019         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11020         AF_INET data.
11022 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11024         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11025         callback function gl_readdir.
11026         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11027         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11028         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11029         memcpy to copy the name.
11030         * manual/pattern.texi (Calling Glob): Document requirements for
11031         implementations of the gl_readdir callback function.
11032         * manual/examples/mkdirent.c: New example.
11033         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11034         per the manual guidance.
11035         * posix/tst-gnuglob.c (my_readdir): Likewise.
11037 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11039         [BZ #20014]
11040         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11041         not [__USE_POSIX].
11042         (getchar_unlocked): Likewise.
11043         (putc_unlocked): Likewise.
11044         (putchar_unlocked): Likewise.
11045         (flockfile): Likewise.
11046         (ftrylockfile): Likewise.
11047         (funlockfile): Likewise.
11048         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11049         variable.
11050         (test-xfail-XPG4/stdio.h/conform): Likewise.
11052         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11053         Expect constant.
11054         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11055         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11056         variable.
11057         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11058         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11060         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11061         [__USE_LARGEFILE64] (off64_t): Likewise.
11062         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11063         variable.
11065 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11067         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11069 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11071         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11072         * resolv/res_init.c: Likewise.
11073         * resolv/res_mkquery.c: Likewise.
11075 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11077         * resolv/res_init.c (isascii): Do not define.  Use definition in
11078         <ctype.h>.
11079         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11080         (LOG_AUTH): Remove.
11081         (SPRINTF): Remove, adjust caller.
11082         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11084 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11086         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11087         SUNSECURITY conditional.
11088         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11090 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11092         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11093         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11094         Remove BSD-related preprocessor conditionals.
11095         * conf/portability.h: Remove.
11097 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11099         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11100         * resolv/res_data.c: Likewise.
11102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11104         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11105         * resolv/res_data.c: Remove code conditional on ultrix.
11107 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11109         * resolv/res_init.c (RFC1535): Do not define.  Remove
11110         RFC1535 preprocessor conditionals.
11111         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11112         because there configuration options which make the resolver
11113         behavior different.
11115 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11117         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11118         RESOLVSORT preprocessor conditionals.
11119         * resolv/nss_dns/dns-host.c: Likewise.
11120         * resolv/res_init.c: Likewise.
11122 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11124         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11125         is never defined.
11127 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11129         * inet/inet_lnaof.c: Remove SCSS keyword.
11130         * inet/inet_mkadr.c: Likewise.
11131         * inet/inet_net.c: Likewise.
11132         * inet/inet_netof.c: Likewise.
11133         * inet/rcmd.c: Likewise.
11134         * inet/rexec.c: Likewise.
11135         * inet/ruserpass.c: Likewise.
11137 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11139         * resolv/inet_addr.c: Remove _LIBC conditionals.
11140         * resolv/res_data.c: Likewise.
11141         * resolv/res_init.c: Likewise.
11142         * resolv/res_mkquery.c: Likewise.
11143         * resolv/res_libc.c: Update comment.
11144         * resolv/README: Update.
11146 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11148         * resolv/gethnamaddr.c: Remove SCSS keyword.
11149         * resolv/herror.c: Likewise.
11150         * resolv/inet_addr.c: Likewise.
11151         * resolv/inet_net_ntop.c: Likewise.
11152         * resolv/inet_net_pton.c: Likewise.
11153         * resolv/inet_neta.c: Likewise.
11154         * resolv/inet_ntop.c: Likewise.
11155         * resolv/inet_pton.c: Likewise.
11156         * resolv/ns_date.c: Remove RCS keyword.
11157         * resolv/ns_name.c: Likewise.
11158         * resolv/ns_netint.c: Likewise.
11159         * resolv/ns_parse.c: Likewise.
11160         * resolv/ns_print.c: Likewise.
11161         * resolv/ns_samedomain.c: Likewise.
11162         * resolv/ns_ttl.c: Likewise.
11163         * resolv/nsap_addr.c: Likewise.
11164         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11165         * resolv/res_data.c: Remove RCS keyword.
11166         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11167         * resolv/res_init.c: Likewise.
11168         * resolv/res_mkquery.c: Likewise.
11169         * resolv/res_query.c: Likewise.
11170         * resolv/res_send.c: Likewise.
11172 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11174         * conform/data/stdio.h-data (fdopen): Expect also for
11175         [XPG3 || XPG4].
11177         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11178         (fseeko): Likewise.
11179         (ftello): Likewise.
11180         (ftrylockfile): Likewise.
11181         (funlockfile): Likewise.
11182         (getc_unlocked): Likewise.
11183         (getchar_unlocked): Likewise.
11184         (putc_unlocked): Likewise.
11185         (putchar_unlocked): Likewise.
11187 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11189         [BZ #19868]
11190         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11191         DNS packet syntax checks (which were not needed before).  Skip
11192         over non-PTR records.
11194 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11196         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11197         definition.  Include <stddef.h> instead.
11199 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11201         [BZ #19831]
11202         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11203         function.
11204         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11205         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11207 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11209         [BZ #19862]
11210         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11211         (getanswer_r): Do not call syslog.
11212         (gaih_getanswer_slice): Likewise.
11213         * resolv/gethnamaddr.c (AskedForGot): Remove.
11214         (getanswer): Do not call syslog.
11215         (gethostbyaddr): Likewise.
11217 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11219         * conform/data/signal.h-data (union sigval): Expect also if
11220         [XOPEN2K].
11221         (struct sigevent): Likewise.
11222         (SIGEV_NONE): Likewise.
11223         (SIGEV_SIGNAL): Likewise.
11224         (SIGEV_THREAD): Likewise.
11225         (SIGRTMIN): Likewise.
11226         (SIGRTMAX): Likewise.
11227         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11228         variable.
11229         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11231 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11233         [BZ #19830]
11234         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11235         (gaih_getanswer_slice): Likewise.
11236         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11237         Also check for availability of RR metadata.
11239 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11241         [BZ #19825]
11242         * resolv/res_send.c (send_vc): Remove early *resplen2
11243         initialization.  Set *resplen2 on socket error.  Call
11244         close_and_return_error for other errors.
11246 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11248         * sysdeps/unix/sysv/linux/netiucv/iucv.h
11249         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11250         (SCM_IUCV_TRGCLS): New define.
11252 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11254         [BZ #20005]
11255         * libio/fmemopen.c (fmemopen_write): Update internal position after
11256         write.
11257         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11258         * stdio-common/tst-fmemopen4.c: New file..
11260 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
11262         [BZ #19996]
11263         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11264         not [__USE_XOPEN2K].
11265         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11266         variable.
11268         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11269         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11270         variable.
11272         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11273         [__USE_XOPEN2K8].
11274         [__USE_LARGEFILE64] (off64_t): Likewise.
11275         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11276         variable.
11278 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
11280         [BZ #19989]
11281         * libio/stdio.h (cuserid): Do not declare if
11282         [__USE_XOPEN2K && !__USE_GNU].
11283         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11284         variable.
11286 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11288         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11289         (sysdep_routines): Add P8 and PPC64 strcspn targets.
11290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11291         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11292         ifunc'ed strcspn.
11293         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11294         [EALIGN]: Removed.
11295         [END]: Likewise
11296         [STRSPN]: Define instead of the above to control symbol name.
11297         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11298         New file.
11299         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11300         Likewise.
11301         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11302         Likewise.
11303         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11304         Likewise.
11305         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11306         [INITIAL_MASK]: New macro.
11307         [STRCSPN]: Likewise.
11308         [UPDATE_MASK]: Likewise.
11309         [USE_AS_STRCSPN]: Likewise.
11311 2016-04-25  Florian Weimer  <fweimer@redhat.com>
11313         [BZ #19931]
11314         * stdio-common/tst-vfprintf-width-prec.c: New file.
11315         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11316         (tests-special): Add tst-vfprintf-width-prec-mem.out.
11317         (generated): Add mtrace-related files.
11318         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11319         (tst-%-mem.out): New pattern rule, replaces
11320         tst-printf-bz18872-mem.out.
11321         * stdio-common/vfprintf.c (vfprintf): When handling a precision
11322         specifier, deallocate any previously allocated work buffer.
11324 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11326         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11327         Add nop before __startcontext, add explaining comments.
11329 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
11331         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11332         any more. Notably since IPV6_PKTINFO has been reintroduced with a
11333         completely different API.
11335         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11336         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11337         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11338         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11339         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11340         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11341         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11342         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11343         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11344         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11346 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
11348         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11350 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
11352         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11353         when it is the default of 0.
11355 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11357         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
11358         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11359         (sysdep_routines): Add new strcasestr targets.
11360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11361         (__libc_ifunc_impl_list): Likewise.
11362         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11363         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11364         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11365         * sysdeps/powerpc/powerpc64/power8/Makefile:
11366         New file to add strcasestr-ppc64 to sysdep_routines.
11367         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11368         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11370 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
11372         * benchtests/Makefile (wcsmbs-benchset): Include only for
11373         native builds and runs.
11374         (LOCALES): Likewise.
11375         (bench-build): Build timing-type here instead of the bench
11376         target.  Generate locale only for native builds.
11377         * benchtests/README: Add note for cross-building.
11379         * benchtests/Makefile (bench-clean): Clean up extra-objs.
11381         * benchtests/README: Update README to include instructions on
11382         using bench-build.
11384         * Makefile.in (bench-build): New target.
11385         * Rules (PHONY): Add bench-build target.
11386         * benchtests/Makefile (bench): Depend on bench-build.
11387         (bench-build): New target.
11389 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11391         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11392         profil_reply_port.
11393         (profile_waiter): Do not initialize profil_reply_port.
11394         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11395         frequency instead of tick length in us.
11397 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
11399         [BZ #18712]
11400         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11401         (__old_mempcpy_small): Likewise.
11402         (__old_strcpy_small): Likewise.
11403         (__old_stpcpy_small): Likewise.
11404         (__old_strpbrk_c2): Fix compat symbol name.
11405         (__old_strpbrk_c3): Likewise.
11406         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11407         (__mempcpy_small): Remove.
11408         (__strcpy_small): Remove.
11409         (__stpcpy_small): Remove.
11411 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
11413         [BZ #19400]
11414         * locale/iso-639.def: Add the Talossan/tzl language.
11416 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11418         [BZ #16983]
11419         * locale/programs/ld-address.c (address_finish): Update postal_fmt
11420         comment.  Add "ln" to strchr check on postal_fmt.
11422 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11424         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11425         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
11426         tel_dom_fmt.
11428 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11430         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11431         (sysdep_routines): Added __strlen_power8.
11432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11433         __strlen_power8 entry.
11434         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11435         Implementation for POWER8.
11436         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11437         for __strlen_power8.
11438         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11439         Implementation for POWER8.
11441 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
11443         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11445 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
11447         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11448         Goldmont and Airmont processors.
11450 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
11452         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11453         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11454         (__STRING2_SMALL_GET32): Remove.
11455         (memset): Remove.
11456         (__memset_1): Remove.
11457         (__memset_gc): Remove.
11458         (__mempcpy): Remove.
11459         (mempcpy): Remove.
11460         (__mempcpy_args): Remove.
11461         (strchr): Remove.
11462         (strcpy): Remove.
11463         (strcpy_args): Remove.
11464         (__stpcpy_args): Remove.
11465         (__strcmp_cc): Remove.
11466         (__strcmp_gc): Remove.
11467         (strstr): Remove.
11469 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
11471         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11472         * nis/nis_call.c (nis_server_cache_add): Likewise.
11474 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11476         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11478 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11480         * malloc/arena.c (__malloc_fork_lock_parent)
11481         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11482         internal_function attribute.
11484 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
11486         * stdio-common/printf_fp.c (__printf_fp_l):
11487         Rename ___printf_fp_l to __printf_fp_l and
11488         remove strong alias. Use libc_hidden_def instead
11489         of ldbl_hidden_def macro.
11491 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11493         Remove malloc hooks from fork handler.  They are no longer needed
11494         because malloc runs right before fork, and no malloc calls from
11495         other fork handlers are not possible anymore.
11496         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11497         declarations.
11498         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11499         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11500         (atfork_recursive_cntr): Remove.
11501         (__malloc_fork_lock_parent): Do not override malloc hooks and
11502         thread_arena.
11503         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11504         thread_arena.
11505         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
11506         thread_arena instead of save_arena.
11508 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11510         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11511         (thread_atfork, thread_atfork_static): Remove.
11512         * sysdeps/mach/hurd/malloc-machine.h:
11513         (thread_atfork, thread_atfork_static): Remove.
11515 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11517         [BZ #19431]
11518         Run the malloc fork handler as late as possible to avoid deadlocks.
11519         * malloc/malloc-internal.h: New file.
11520         * malloc/malloc.c: Include it.
11521         * malloc/arena.c (ATFORK_MEM): Remove.
11522         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11523         Update comment.
11524         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11525         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11526         Remove outdated comment.
11527         (ptmalloc_init): Do not call thread_atfork.  Remove
11528         thread_atfork_static.
11529         * malloc/tst-malloc-fork-deadlock.c: New file.
11530         * Makefile (tests): Add tst-malloc-fork-deadlock.
11531         (tst-malloc-fork-deadlock): Link against libpthread.
11532         * manual/memory.texi (Aligned Memory Blocks): Update safety
11533         annotation comments.
11534         * sysdeps/nptl/fork.c (__libc_fork): Call
11535         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11536         __malloc_fork_unlock_child.
11537         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11539 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11541         [BZ #19613]
11542         Remove union wait.
11543         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11544         (w_stopsig, w_stopval): Remove.
11545         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11546         stat_loc argument.
11547         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11548         (__WAIT_STATUS_DEFN): Remove.
11549         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11550         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11551         (wait, wait3, wait4): Use int * for the stat_loc argument.
11552         * posix/wait.c (__wait): Likewise.
11553         * posix/wait3.c (__wait3): Likewise.
11554         * posix/wait4.c (__wait4): Likewise.
11555         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11556         (__WAIT_STATUS_DEFN): Remove.
11557         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11558         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11559         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11560         argument.
11561         * sysdeps/posix/wait.c (__libc_wait): Likewise.
11562         * sysdeps/posix/wait3.c (__wait3): Likewise.
11563         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11564         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11565         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11566         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11567         stat_loc argument.
11568         * manual/process.texi (BSD Wait Functions): Remove union wait.
11570 2016-04-13  Andreas Schwab  <schwab@suse.de>
11572         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11573         (test-extras): Add tst-tlsalign-vars.
11574         * math/Makefile: Wrap long lines.
11575         (libm-vec-test-wrappers): Define.
11576         (test-extras): Add $(libm-vec-test-wrappers).
11577         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11578         * nss/Makefile (extra-test-objs): Add nss_test1.os.
11579         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11580         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11581         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11582         (extra-test-objs): Add corresponding objects.
11584 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
11586         [BZ #19928]
11587         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11588         New.
11589         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11590         times of shared cache size.
11591         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11592         (VMOVNT): New.
11593         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11594         (VMOVNT): Likewise.
11595         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11596         (VMOVNT): Likewise.
11597         (VMOVU): Changed to movups for smaller code sizes.
11598         (VMOVA): Changed to movaps for smaller code sizes.
11599         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11600         comments.
11601         (PREFETCH): New.
11602         (PREFETCH_SIZE): Likewise.
11603         (PREFETCHED_LOAD_SIZE): Likewise.
11604         (PREFETCH_ONE_SET): Likewise.
11605         Rewrite to use forward and backward loops, which move 4 vector
11606         registers at a time, to support overlapping addresses and use
11607         non temporal store if size is above the threshold and there is
11608         no overlap between destination and source.
11610 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
11612         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11613         Include dl-vdso.
11614         * sysdeps/unix/sysv/linux/mips/Versions: Add
11615         __vdso_clock_gettime.
11616         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11617         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11618         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11619         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11620         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11621         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11622         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11623         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11624         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11626 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11628         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11629         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11630         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11631         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11632         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11633         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11636         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11637         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11638         syscalls generation.
11639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11640         [__NR_pwrite64] (__NR_write): Remove define.
11641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11642         [__NR_pwrite64] (__NR_write): Remove define.
11643         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11644         Remove define.
11645         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11646         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11647         Remove define.
11648         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11649         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11650         Linux implementation as base.
11651         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11653         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11654         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11655         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11659         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11660         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11661         syscall generation.
11662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11663         [__NR_pread64] (__NR_pread): Remove define.
11664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11665         [__NR_pread64] (__NR_pread): Likewise.
11666         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11667         define.
11668         (__libc_pread): Use SYSCALL_LL macro on offset argument.
11669         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11670         Remove define.
11671         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11672         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11673         Linux implementation as base.
11674         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11675         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11676         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11678         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11679         definition.
11680         (__ALIGNMENT_COUNT): Likewise.
11681         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11682         (__ALIGNMENT_COUNT): Likewise.
11683         (SYSCALL_LL): New define.
11684         (SYSCALL_LL64): Likewise.
11685         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11686         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11687         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11688         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11690         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11691         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11692         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11693         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11694         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11695         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11697 2016-04-11  Florian Weimer  <fweimer@redhat.com>
11699         [BZ #19865]
11700         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11701         original buffer before retry.
11703 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11705         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11706         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11707         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11708         GLRO(dl_auxv) list.
11709         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11710         including <ldsodefs.h>.
11711         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11713 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
11715         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11716         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11717         $(CPPFLAGS).
11719 2016-04-09  Khem Raj  <raj.khem@gmail.com>
11721         [BZ #17950]
11722         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11723         Add -mfpmath=387.
11725 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
11727         * sysdeps/i386/configure.ac: Change == to = when calling test.
11728         * sysdeps/x86_64/configure.ac: Likewise.
11729         * sysdeps/i386/configure: Regenerated.
11730         * sysdeps/x86_64/configure: Likewise.
11732 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
11734         [BZ #16137]
11735         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11736         * benchtests/bench-strcoll.c (input_files): Likewise.
11737         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11738         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11739         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11741 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
11743         [BZ #19929]
11744         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11745         [__USE_XOPEN2K8 && !__USE_GNU].
11746         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11747         variable.
11749         [BZ #19925]
11750         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11751         define if [!__USE_MISC && __USE_XOPEN2K].
11752         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11753         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11754         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11755         Likewise.
11756         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11757         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11758         variable.
11759         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11761 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11763         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11764         (sysdep_routines): Add new strspn targets.
11765         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11766         (__libc_ifunc_impl_list): Add strspn.
11767         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11768         New file.
11769         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11770         Likewise.
11771         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11772         Likewise.
11773         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11774         Likewise.
11776 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11778         * misc/hsearch_r.c: Include <limits.h>.
11780 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11782         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11784 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11786         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11787         (MEMCPY_SYMBOL): New.
11788         (MEMPCPY_SYMBOL): Likewise.
11789         (MEMMOVE_CHK_SYMBOL): Likewise.
11790         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11791         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11792         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
11793         Provide alias for memcpy in libc.a and ld.so.
11795 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11797         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11798         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
11799         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11800         Disabled fro now.
11801         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11802         symbols.  Properly check USE_MULTIARCH on __memset symbols.
11804 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11806         * benchtests/Makefile (string-benchset): Add memcpy-large,
11807         memmove-large and memset-large.
11808         * benchtests/bench-memcpy-large.c: New file.
11809         * benchtests/bench-memmove-large.c: Likewise.
11810         * benchtests/bench-memmove-large.c: Likewise.
11811         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11813 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11815         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11816         32-bit displacement to avoid long nop between instructions.
11818 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11820         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11821         a comment on VMOVU and VMOVA.
11823 2016-04-04  Florian Weimer  <fweimer@redhat.com>
11825         [BZ #19633]
11826         Use specified locale for number formatting in strfmon_l.
11827         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11828         (__nl_lookup_word): New inline functions.
11829         * include/printf.h (__print_fp_l): Declare.
11830         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11831         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
11832         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11833         (___printf_fp): New function.
11834         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11835         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11836         * stdlib/tst-strfmon_l.c (do_test): New test.
11837         * stdlib/Makefile (tests): Add kt.
11838         (LOCALES): Build additional locales.
11839         (tst-strfmon_l.out): Require locales.
11841 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11843         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11844         if not in libc.
11845         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11846         Likewise.
11847         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11848         Likewise.
11849         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11850         Likewise.
11852 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11854         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11855         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11856         with unaligned_erms.
11857         (__memmove_erms): Skip if source == destination.
11858         (__memmove_unaligned_erms): Don't check source == destination
11859         first.
11861 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11863         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11864         bit_arch_Fast_Copy_Backward for Intel Core proessors.
11866 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11868         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11869         * string/strspn.c (strspn): Likewise.
11871 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11873         * benchtests/bench-memset.c (do_test): Support 64-byte
11874         alignment.
11875         (test_main): Test 64-byte alignment.
11877 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11879         * benchtests/bench-memmove.c (test_main): Test 64-byte
11880         alignment.
11882 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11884         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11886 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11888         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11889         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11890         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11892         * string/strpbrk.c (strpbrk): Rewrite function.
11893         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11894         (__strpbrk_c2): Likewise.
11895         (__strpbrk_c3): Likewise.
11896         * string/string-inlines.c
11897         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11898         Likewise.
11899         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11900         Likewise.
11902         * string/strspn.c (strcspn): Rewrite function.
11903         * string/bits/string2.h (strspn): Use __builtin_strcspn.
11904         (__strspn_c1): Remove inline function.
11905         (__strspn_c2): Likewise.
11906         (__strspn_c3): Likewise.
11907         * string/string-inlines.c
11908         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11909         compatibility symbol.
11910         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11911         Likewise.
11912         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11913         Likewise.
11914         * string/string-inlines.c: Include generic version.
11916 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
11917             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11919         * string/Version (libc): Add GLIBC_2.24.
11920         * string/strcspn.c (strcspn): Rewrite function.
11921         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11922         (__strcspn_c1): Remove inline function.
11923         (__strcspn_c2): Likewise.
11924         (__strcspn_c3): Likewise.
11925         * string/string-inline.c
11926         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11927         compatibility symbol.
11928         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11929         Likewise.
11930         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11931         Likewise.
11932         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11934 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11936         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11937         Use ahi instead of aghi to adjust stack pointer.
11939 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11941         [BZ #19853]
11942         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11943         TEST to take significant digits as second parameter.
11944         [TEST]: Redefine in terms of TEST_N taking 30
11945         significant digits.
11946         (do_test): Add test case to demonstrate precision
11947         failure in the ldbl-128ibm printf.
11948         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11949         (__mpn_extract_long_double): Carry 7 extra intermediate
11950         bits of precision to aide computing difference when
11951         signs differ.
11953 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11955         [BZ #19881]
11956         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11957         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11958         memset-avx512-unaligned-erms.
11959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11960         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11961         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11962         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11963         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11964         __memset_sse2_unaligned_erms, __memset_erms,
11965         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11966         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11967         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11968         file.
11969         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11970         Likewise.
11971         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11972         Likewise.
11973         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11974         Likewise.
11976 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11978         [BZ #19776]
11979         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11980         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11981         memmove-avx512-unaligned-erms.
11982         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11983         (__libc_ifunc_impl_list): Test
11984         __memmove_chk_avx512_unaligned_2,
11985         __memmove_chk_avx512_unaligned_erms,
11986         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
11987         __memmove_chk_sse2_unaligned_2,
11988         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
11989         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
11990         __memmove_avx512_unaligned_erms, __memmove_erms,
11991         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
11992         __memcpy_chk_avx512_unaligned_2,
11993         __memcpy_chk_avx512_unaligned_erms,
11994         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
11995         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
11996         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
11997         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
11998         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
11999         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12000         __mempcpy_chk_avx512_unaligned_erms,
12001         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12002         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12003         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12004         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12005         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12006         __mempcpy_erms.
12007         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12008         file.
12009         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12010         Likewise.
12011         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12012         Likewise.
12013         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12014         Likewise.
12016 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12018         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12019         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12020         (La_s390_64_regs): Likewise.
12021         (La_s390_32_retval): Append vector register lrv_v24.
12022         (La_s390_64_retval): Likeweise.
12023         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12024         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12025         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12026         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12028 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12030         [BZ #19916]
12031         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12032         to create a non-vector/vector version for _dl_runtime_resolve and
12033         _dl_runtime_profile. Move implementation to ...
12034         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12035         (_dl_runtime_resolve) Save and restore fpr/vrs.
12036         (_dl_runtime_profile) Save and restore vrs and fix some issues
12037         if _dl_call_pltexit is called.
12038         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12039         Choose the correct resolver function if running on a machine with vx.
12040         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12041         to create a non-vector/vector version for _dl_runtime_resolve and
12042         _dl_runtime_profile. Move implementation to ...
12043         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12044         (_dl_runtime_resolve) Save and restore fpr/vrs.
12045         (_dl_runtime_profile) Save and restore vrs and fix some issues
12046         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12047         Choose the correct resolver function if running on a machine with vx.
12049 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12051         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12053 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12055         [BZ #19509]
12056         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12057         skip_map != NULL.
12058         * elf/tst-dlsym-error.c: New file.
12059         * elf/Makefile (tests): Add tst-dlsym-error.
12060         (tst-dlsym-error): Link against libdl.
12062 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12064         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12065         (__ASSUME_FUTIMESAT): Remove macro.
12066         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12068 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12070         [BZ #19879]
12071         CVE-2016-3075
12072         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12073         copy name.
12075 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12077         [BZ #19837]
12078         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12079         error if parse_line fails.
12081 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12083         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12084         (index_cpu_ERMS): Likewise.
12085         (reg_ERMS): Likewise.
12087 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12089         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12090         PER_LINUX_FDPIC): Add.
12092 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12095         memcpy-avx512-no-vzeroupper.
12096         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12097         to ...
12098         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12099         (MEMCPY): Don't define.
12100         (MEMCPY_CHK): Likewise.
12101         (MEMPCPY): Likewise.
12102         (MEMPCPY_CHK): Likewise.
12103         (MEMPCPY_CHK): Renamed to ...
12104         (__mempcpy_chk_avx512_no_vzeroupper): This.
12105         (MEMPCPY_CHK): Renamed to ...
12106         (__mempcpy_chk_avx512_no_vzeroupper): This.
12107         (MEMCPY_CHK): Renamed to ...
12108         (__memmove_chk_avx512_no_vzeroupper): This.
12109         (MEMCPY): Renamed to ...
12110         (__memmove_avx512_no_vzeroupper): This.
12111         (__memcpy_avx512_no_vzeroupper): New alias.
12112         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12114 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12116         [BZ #18858]
12117         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12118         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12119         and mempcpy-avx512-no-vzeroupper.
12120         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12121         New.
12122         (MEMPCPY): Likewise.
12123         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12124         (MEMPCPY_CHK): New.
12125         (MEMPCPY): Likewise.
12126         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12127         (MEMPCPY): Likewise.
12128         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12129         (MEMPCPY): Likewise.
12130         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12131         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12132         Likewise.
12133         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12134         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12136 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12137              Amit Pawar  <Amit.Pawar@amd.com>
12139         [BZ #19583]
12140         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12141         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12142         processors.  Set Fast_Copy_Backward for AMD Excavator
12143         processors.
12144         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12145         New.
12146         (index_arch_Fast_Unaligned_Copy): Likewise.
12147         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12148         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12150 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12152         [BZ #19791]
12153         * resolv/res_send.c (close_and_return_error): New function.
12154         (send_dg): Initialize *resplen2 after reopen failure.  Call
12155         close_and_return_error for error returns.  On error paths without
12156         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12157         successful return.
12159 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12161         [BZ# 19860]
12162         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12163         zero if the compiler does not provide the AVX512F bit.
12165 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12167         [BZ #19848]
12168         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12169         from 8 to 4.
12170         (__ieee754_powl): Compare integer exponent against 4 not 8.
12171         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12172         from 8 to 4.
12173         (__ieee754_powl): Compare integer exponent against 4 not 8.
12174         * math/auto-libm-test-in: Add more tests of pow.
12175         * math/auto-libm-test-out: Regenerated.
12176         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12179 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12181         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12182         Make code unconditional.
12183         [!__NR_utimensat]: Remove conditional code.
12184         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12185         Make code unconditional.
12186         [!__NR_utimensat]: Remove conditional code.
12187         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12188         Make code unconditional.
12189         [!__NR_utimensat]: Remove conditional code.
12191 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12193         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12194         Make code unconditional.
12196 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
12198         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12199         call-clobbered %eax on retry path.
12200         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12202 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12204         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12205         Don't set %rcx twice before "rep movsb".
12207 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12209         [BZ #19583]
12210         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12211         inline.  Check family before setting family, model and
12212         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
12213         bits here.
12214         (init_cpu_features): Replace HAS_CPU_FEATURE and
12215         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12216         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
12217         for Intel processors with usable AVX2.  Call get_common_indeces
12218         for other processors with family == NULL.
12219         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12220         (CPU_FEATURES_ARCH_P): Likewise.
12221         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12222         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12224 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12226         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12227         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12228         $(shared-thread-library) instead of hardcoding the path to libpthread.
12230 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
12232         * sysdeps/unix/sysv/linux/kernel-features.h
12233         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12234         * sysdeps/unix/sysv/linux/getdents.c
12235         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12236         [!have_no_getdents64_defined]: Likewise.
12237         (__GETDENTS): Remove __have_no_getdents64 conditional.
12239 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
12241         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12242         Remove macro.
12243         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12244         <kernel-features.h>.
12245         (signalfd) [__NR_signalfd4]: Make code unconditional.
12246         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12248 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12250         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12251         style.
12253 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12255         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12256         (__pthread_enable_asynccancel): Use JUMPTARGET to call
12257         __pthread_unwind.
12258         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12259         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12260         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12261         (__condvar_cleanup1): Likewise.
12263 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
12265         [BZ #19822]
12266         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12267         move it to the final $@ location.
12269 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12271         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12272         access where posix_spawn success and pid argument is null.
12273         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12274         success case.
12276 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
12278         * sysdeps/mach/hurd/i386/c++-types.data: New file.
12280         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12282         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12283         and __fcntl.
12284         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12285         __fcntl only.
12286         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12287         adding attribute_hidden to __open and __fcntl.
12289         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12290         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12291         depend on libc-modules.h,
12292         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12294 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
12296         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12297         Remove macro.
12298         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12299         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12300         entry.
12302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12303         Remove macro.
12304         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12305         include <kernel-features.h>.
12306         [!__ASSUME_FALLOCATE]: Remove conditional code.
12307         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12309 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12311         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12312         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12314         (_ZGVdN4v_cos_avx2): Likewise.
12315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12316         (_ZGVdN4v_cos): Likewise.
12317         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12318         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12319         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12320         (_ZGVdN4v_exp_avx2): Likewise.
12321         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12322         (_ZGVdN4v_exp): Likewise.
12323         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12324         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12325         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12326         (_ZGVdN4v_log_avx2): Likewise.
12327         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12328         (_ZGVdN4v_log): Likewise.
12329         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12330         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12331         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12332         (_ZGVdN4vv_pow_avx2): Likewise.
12333         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12334         (_ZGVdN4vv_pow): Likewise.
12335         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12336         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12337         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12338         (_ZGVdN4v_sin_avx2): Likewise.
12339         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12340         (_ZGVdN4v_sin): Likewise.
12341         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12342         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12343         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12344         (_ZGVdN4vvv_sincos_avx2): Likewise.
12345         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12346         (_ZGVdN4vvv_sincos): Likewise.
12347         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12348         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12349         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12350         (_ZGVbN4v_cosf_sse4): Likewise.
12351         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12352         (_ZGVdN8v_cosf_avx2): Likewise.
12353         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12354         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12355         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12356         (_ZGVbN4v_expf_sse4): Likewise.
12357         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12358         (_ZGVdN8v_expf_avx2): Likewise.
12359         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12360         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12361         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12362         (_ZGVbN4v_logf_sse4): Likewise.
12363         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12364         (_ZGVdN8v_logf_avx2): Likewise.
12365         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12366         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12367         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12368         (_ZGVbN4vv_powf_sse4): Likewise.
12369         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12370         (_ZGVdN8vv_powf_avx2): Likewise.
12371         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12372         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12373         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12374         (_ZGVbN4vvv_sincosf_sse4): Likewise.
12375         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12376         (_ZGVdN8vvv_sincosf_avx2): Likewise.
12377         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12378         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12379         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12380         (_ZGVbN4v_sinf_sse4): Likewise.
12381         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12382         (_ZGVdN8v_sinf_avx2): Likewise.
12383         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12384         Use JUMPTARGET to call callee.
12385         (WRAPPER_IMPL_SSE2_ff): Likewise.
12386         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12387         (WRAPPER_IMPL_AVX): Likewise.
12388         (WRAPPER_IMPL_AVX_ff): Likewise.
12389         (WRAPPER_IMPL_AVX_fFF): Likewise.
12390         (WRAPPER_IMPL_AVX512): Likewise.
12391         (WRAPPER_IMPL_AVX512_ff): Likewise.
12392         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12393         Likewise.
12394         (WRAPPER_IMPL_SSE2_ff): Likewise.
12395         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12396         (WRAPPER_IMPL_AVX): Likewise.
12397         (WRAPPER_IMPL_AVX_ff): Likewise.
12398         (WRAPPER_IMPL_AVX_fFF): Likewise.
12399         (WRAPPER_IMPL_AVX512): Likewise.
12400         (WRAPPER_IMPL_AVX512_ff): Likewise.
12401         (WRAPPER_IMPL_AVX512_fFF): Likewise.
12403 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12405         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12406         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12407         qualifier.
12408         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12409         internal_function qualifiers.
12411 2016-03-15  Carlos O'Donell <carlos@redhat.com>
12413         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12414         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12415         * math/atest-exp.c (exp_mpn): Mark chk unused.
12416         * math/atest-exp2.c (exp_mpn): Likewise.
12417         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12418         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12420 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
12422         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12423         Remove macro.
12424         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12425         <kernel-features.h>.
12426         [__NR_ppoll]: Make code unconditional.
12427         [!__ASSUME_PPOLL]: Remove conditional code.
12429         * sysdeps/unix/sysv/linux/kernel-features.h
12430         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12431         (__ASSUME_ACCEPT4): Likewise.
12432         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12433         Define.
12434         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12435         Likewise.
12436         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12437         Likewise.
12438         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12439         Likewise.
12440         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12441         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12442         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12443         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12444         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12445         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12446         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12447         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12448         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12449         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12450         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12451         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12452         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12453         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12454         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12455         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12456         Likewise.
12457         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12458         Likewise.
12459         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12460         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12461         0x040300].
12462         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12463         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12464         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12465         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12466         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12467         0x030300].
12468         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12469         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12470         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12471         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12472         0x040300].
12473         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12474         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12476         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12477         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12478         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12479         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12480         0x030300].
12481         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12482         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12483         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12484         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12485         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12486         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12487         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12488         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12489         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12490         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12491         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12492         0x040300].
12493         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12494         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12495         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12496         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12497         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12498         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12499         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12500         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12501         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12502         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12503         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12504         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12505         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12506         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12507         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12508         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12509         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12510         Likewise.
12511         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12512         Likewise.
12514 2016-03-15  Andreas Schwab  <schwab@suse.de>
12516         [BZ #19257]
12517         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12518         statp->_u._ext.nscount as loop count.
12520 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12522         * math/test-signgam-finite-c99.c: Also #undef
12523         __LIBC_INTERNAL_MATH_INLINES.
12524         * math/test-signgam-main.c: Likewise.
12526 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
12528         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12529         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12530         (MADV_FREE): Likewise.
12531         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12532         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12533         EPOLLEXCLUSIVE.
12535 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
12537         * timezone/README: Remove mention of checktab.awk. Mention wiki
12538         SharedSourceFiles.
12540 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
12542         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12543         WUNTRACED.
12545 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12547         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12548         order to match the type of p when calling atomic_exchange_acq().
12550 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12552         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12553         cfi_offset calls.
12554         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12555         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12556         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12557         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12558         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12560 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
12562         * timezone/checktab.awk: Removed.
12564 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
12566         * manual/math.texi (Errors in Math Functions): Document relaxed
12567         accuracy goals for IBM long double.
12568         * math/libm-test.inc (test_exceptions): Always allow spurious
12569         "underflow" and "inexact" exceptions for IBM long double.
12571 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
12573         [BZ #19762]
12574         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12575         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12576         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12577         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12578         (bit_arch_*): This for feature array.
12579         (bit_*): Renamed to ...
12580         (bit_cpu_*): This for cpu array.
12581         (index_*): Renamed to ...
12582         (index_arch_*): This for feature array.
12583         (index_*): Renamed to ...
12584         (index_cpu_*): This for cpu array.
12585         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12586         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12587         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12588         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12589         bit_##name with index_cpu_##name and bit_cpu_##name.
12590         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12591         bit_##name with index_arch_##name and bit_arch_##name.
12593 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
12595         [BZ #19792]
12596         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12597         Terminate FDE before return label.
12599 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
12601         [BZ #19790]
12602         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12603         (rintl): Define as macro.
12604         [USE_AS_NEARBYINTL] (__rintl): Likewise.
12605         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12606         of fesetround.  Ensure results are evaluated before end of scope.
12607         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12608         USE_AS_NEARBYINTL and include s_rintl.c.
12609         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12610         Disable exception traps in new environment.
12611         (libc_feholdsetround_ppc_ctx): Likewise.
12613 2016-03-08  Roland McGrath  <roland@hack.frob.com>
12615         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12616         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12617         (tst_audit10_aux) [__AVX512F__]: ... here.
12619 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
12621         * include/sys/auxv.h: New file.
12623 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12625         [BZ #19759]
12626         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12628 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12630         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12631         operand modifier.
12632         (feclearexcept): Likewise.
12634 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12636         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12637         to reflect the entire 32-bit HWCAP.
12638         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12639         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
12641 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12643         [BZ #19783]
12644         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12645         $(test-via-rtld-prefix).
12646         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12648 2016-03-08  Florian Weimer  <fweimer@redhat.com>
12650         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12651         union wait.  Report any non-zero exit status as error.
12653 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12655         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12656         configured with --enable-hardcoded-path-in-tests.
12658 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
12660         [BZ #19677]
12661         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12662         (__ieee754_remainderl): Put zero low parts in canonical form.
12663         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12664         file.  Based on
12665         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12666         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12667         with wrapper round test-fmodrem-ldbl-128ibm.c.
12668         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12669         file.
12670         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12671         Likewise.
12672         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12673         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12675 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12677         [BZ #19610]
12678         * elf/ldconfig.c (opt_link): Update comment.
12679         (options): Update help string for option -X.
12680         (search_dir): Unlink stale symbolic link only if updating symbolic
12681         links.
12682         * elf/tst-ldconfig-X.sh: New file.
12683         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12684         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12686 2016-03-07  Andreas Schwab  <schwab@suse.de>
12688         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12689         needed arguments.
12691 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
12693         [BZ #15333]
12694         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12695         to lstat64.
12697 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12699         * libio/filedoalloc.c (isatty): Remove.
12700         (local_isatty): Add comment.  Call __isatty directly.
12701         (_IO_file_doallocate): Update comment.  Assume _LIBC.
12702         * libio/wfiledoalloc.c (isatty): Remove.
12703         (_IO_wfile_doallocate): Update comment.
12705 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12707         [BZ #19269]
12708         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12709         tst-audit4-aux.o.
12710         (tst-audit10): Depend on tst-audit10-aux.o.
12711         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12712         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12713         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12714         instead of inline AVX code.
12715         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12716         instead of inline AVX512 code.
12717         * sysdeps/x86_64/tst-audit4-aux.c: New file
12718         * sysdeps/x86_64/tst-audit10-aux.c: New file
12720         [BZ #19648]
12721         * test-skeleton.c (main): Do not set RLIMIT_DATA.
12723 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12725         [BZ #14750]
12726         [BZ #10354]
12727         [BZ #18433]
12728         * include/sched.h (__clone): Add hidden prototype.
12729         (__clone2): Likewise.
12730         * include/unistd.h (__dup): Likewise.
12731         * posix/Makefile (tests): Add tst-spawn2.
12732         * posix/tst-spawn2.c: New file.
12733         * sysdeps/posix/dup.c (__dup): Add hidden definition.
12734         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12735         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12736         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12737         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12738         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12739         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12740         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12741         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12742         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12743         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12745         Likewise.
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12747         Likewise.
12748         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12749         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12750         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12751         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12752         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12753         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12754         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12755         * sysdeps/unix/sysv/linux/nptl-signals.h
12756         (____nptl_is_internal_signal): New function.
12757         * sysdeps/unix/sysv/linux/spawni.c: New file.
12759         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12760         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12761         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12762         * posix/tst-execvp2.c (do_test): Likewise.
12763         * posix/tst-execvp3.c (do_test): Likewise.
12764         * posix/tst-execvp4.c (do_test): Likewise.
12765         * posix/tst-execvpe1.c: New file.
12766         * posix/tst-execvpe2.c: Likewise.
12767         * posix/tst-execvpe3.c: Likewise.
12768         * posix/tst-execvpe4.c: Likewise.
12769         * posix/tst-execvpe5.c: Likewise.
12770         * posix/tst-execvpe6.c: Likewise.
12772         [BZ #19534]
12773         * posix/execl.c (execl): Remove dynamic memory allocation.
12774         * posix/execle.c (execle): Likewise.
12775         * posix/execlp.c (execlp): Likewise.
12777 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12779         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12780         Replace .text with .text.avx512.
12781         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12782         Likewise.
12784 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
12786         * sysdeps/generic/libnsl.abilist: New file.
12787         * sysdeps/generic/libutil.abilist: New file.
12789 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12791         [BZ #19762]
12792         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12793         HAS_ARCH_FEATURE with Fast_Rep_String.
12794         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12795         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12796         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12797         Likewise.
12798         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12799         Likewise.
12800         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12801         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12802         Likewise.
12803         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12804         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12805         Likewise.
12807 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12809         [BZ #19745]
12810         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12811         with *%rax in call.
12813 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12815         [BZ #19745]
12816         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12817         with *__libc_start_main@GOTPCREL(%rip) in call.
12819 2016-03-04  Roland McGrath  <roland@hack.frob.com>
12821         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12822         inside conditional for nonempty $(CXX).
12824         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12825         nonempty.
12827         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12828         to test for empty $(CXX) rather than $(CXX) of "no".
12830 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12832         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12834 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
12835             H.J. Lu  <hongjiu.lu@intel.com>
12837         [BZ #18880]
12838         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12839         instead of Slow_BSF, and also check for Fast_Copy_Backward to
12840         enable __memcpy_ssse3_back.
12842 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12844         [BZ #19758]
12845         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12846         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12848 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12850         [BZ #19490]
12851         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12852         (__fentry__): Likewise.
12854 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12856         * gmon/Makefile (noprof): Add $(sysdep_noprof).
12857         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12859 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12861         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12862         __mcount_internal directly.
12863         (C_LABEL(__fentry__)): Likewise.
12864         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12865         directly.
12867 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12869         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12870         (__start_context): Call __setcontext directly.
12872 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
12874         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12875         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12876         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12877         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12878         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12879         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12880         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12881         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12882         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12883         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12884         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12885         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12886         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12887         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12888         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12889         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12890         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12892         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12893         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12894         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12895         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12896         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12897         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12898         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12899         Remove conditional code.
12900         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12901         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12902         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12903         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12904         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12905         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12906         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12907         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12908         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12909         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12910         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12911         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12913 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
12915         * NEWS (2.23): Fix typo in bug 19048 text.
12917 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
12919         [BZ #14259]
12920         * Makeconfig: Rename msgcatdir to localedir.
12921         Rename inst_msgcatdir to inst_localedir.
12922         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12923         * config.make.in: Add localedir.
12924         * elf/Makefile ($(objpfx)sotruss): Use localedir.
12925         (ldd-rewrite): Likewise.
12926         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12927         (install-others): Use inst_localedir.
12928         (CPPFLAGS): Use localedir.
12929         * locale/Makefile (locale-CPPFLAGS): Likewise.
12930         * po/Makefile (mo-installed): Use inst_localedir.
12932         [BZ #19575]
12933         * localedata/charmaps/GB18030: Update comments regarding PAU to
12934         non-PUA mappings.
12936 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
12938         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12939         test for header.
12940         * sysdeps/unix/sysv/linux/configure: Regenerated.
12941         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12942         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12943         Remove conditional code.
12944         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12946         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12947         Define to 3.2.0.
12948         (arch_minimum_kernel): Likewise.
12949         * sysdeps/unix/sysv/linux/configure: Regenerated.
12950         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12951         Define to 2.6.32.
12952         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12953         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12954         (arch_minimum_kernel): Define to 2.6.32.
12955         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12956         * README: Document Linux 3.2 requirement.
12957         * manual/install.texi (Linux): Document Linux 3.2 headers
12958         requirement.
12959         * INSTALL: Regenerated.
12961 2016-02-24  Andreas Schwab  <schwab@suse.de>
12963         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12964         if !NO_LONG_DOUBLE.
12966 2016-02-22  Roland McGrath  <roland@hack.frob.com>
12968         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12969         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12971 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
12973         [BZ #19512]
12974         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12976 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12978         * posix/tst-dir.c: Include libc-internal.h.
12980 2016-02-20  Florian Weimer  <fweimer@redhat.com>
12982         [BZ #19056]
12983         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12984         * manual/filesys.texi (Reading/Closing Directory): Mention
12985         deprecaion.
12986         * posix/tst-dir.c (main): Disable deprecation warning in test.
12988 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
12990         [BZ #19679]
12991         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
12992         Renamed to ...
12993         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
12994         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12995         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
12996         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12997         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12998         * sysdeps/x86_64/dl-trampoline.h
12999         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13000         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13002 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13004         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13006 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13008         * elf/elf.h (R_386_GOT32X): New.
13009         (R_386_NUM): Update.
13010         (R_X86_64_GOTPCRELX: New.
13011         (R_X86_64_REX_GOTPCRELX): New.
13012         (R_X86_64_NUM): Update.
13014 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13016         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13018 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13020         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13021         assign attr->stackaddr to it, and adjust it down when
13022         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13023         [_STACK_GROWS_UP]: Delete assert.
13024         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13025         Implement stack grows up logic.
13026         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13027         stack grows up logic.
13029 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13031         * NEWS: Update with 2.24 template.
13033 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13035         [BZ #19678]
13036         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13037         Ensure +0.0 is returned when taking the next value below the least
13038         positive value.
13040 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13042         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13043         available.  Do not define NO_THREADS.
13044         * malloc/malloc.c: Do not check NO_THREADS.
13045         * malloc/arena.c: Likewise.
13047 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13049         * malloc/malloc.c (__libc_mallinfo): Update comment.
13050         (struct malloc_par): Remove max_total_mem member, it was always 0.
13051         (int_mallinfo): Store 0 into usmblks (no functional change).
13052         * malloc/hooks.c (struct malloc_state): Document that
13053         max_total_mem is always 0.
13054         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13055         always 0.
13056         * manual/memory.texi (Statistics of Malloc): Likewise.
13058 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13060         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13061         * malloc/arena.c (arena_max): Remove.
13062         (heap_trim, _int_new_arena): Do not update arena_max.
13064 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13066         * resolv/res_init.c (res_ninit): Update comment.
13068 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13070         [BZ #19505]
13071         * posix/spawn_int.h: Add headers and include guard.
13072         (__spawn_valid_fd): New function.
13073         * posix/spawn_faction_addopen.c
13074         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13075         * posix/spawn_faction_addclose.c
13076         (posix_spawn_file_actions_addclose): Likewise.
13077         * posix/spawn_faction_adddup2.c
13078         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13079         second file descriptor.
13080         * posix/spawn_valid_fd.c: New file.
13081         * posix/tst-posix_spawn-fd.c: New file.
13082         * posix/Makefile (routines): Add spawn_valid_fd.
13083         (tests): Add tst-posix_spawn-fd.
13085 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13087         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13088         (do_test): Limit the number of arenas, so that we can use fewer
13089         outer threads.  Limit timeout to 3 seconds, in preparation for a
13090         larger TIMEOUT value.
13092 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13094         [BZ #19674]
13095         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13096         sign in overflowing and underflowing results when overflow or
13097         underflow is detected early.  Include sign in result before rather
13098         than after scaling.
13100         [BZ #19603]
13101         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13102         (__ieee754_remainderl): Adjust sign of integer version of low part
13103         when taking absolute value of high part.
13104         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13105         * math/libm-test.inc (remainder_test_data): Add another test.
13106         (remquo_test_data): Likewise.
13108 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13110         [BZ #19602]
13111         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13112         equal high parts and both low parts zero specially.
13113         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13114         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13115         Add test-fmodl-ldbl-128ibm.
13117         [BZ #19595]
13118         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13119         common logic for all cases of shifting subnormal results.  Do not
13120         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13121         exponent to ldbl_insert_mantissa in subnormal case.
13123         [BZ #19594]
13124         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13125         on high and low parts then adjust result and use
13126         ldbl_canonicalize_int if needed.
13128         [BZ #19593]
13129         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13130         on high part and __floor or __ceil on low part then use
13131         ldbl_canonicalize_int if needed.
13133         [BZ #19592]
13134         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13135         high and low parts then use ldbl_canonicalize_int if needed.
13137         [BZ #17899]
13138         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13139         New function.
13140         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13141         on high and low parts then use ldbl_canonicalize_int if needed.
13143 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13145         * configure: Regenerated.
13147         * po/libc.pot: Regenerated.
13149         * po/be.po: Updated translation.
13150         * po/bg.po: Likewise.
13151         * po/ca.po: Likewise.
13152         * po/cs.po: Likewise.
13153         * po/da.po: Likewise.
13154         * po/el.po: Likewise.
13155         * po/eo.po: Likewise.
13156         * po/es.po: Likewise.
13157         * po/fi.po: Likewise.
13158         * po/fr.po: Likewise.
13159         * po/gl.po: Likewise.
13160         * po/hr.po: Likewise.
13161         * po/hu.po: Likewise.
13162         * po/ia.po: Likewise.
13163         * po/id.po: Likewise.
13164         * po/it.po: Likewise.
13165         * po/ja.po: Likewise.
13166         * po/lt.po: Likewise.
13167         * po/nb.po: Likewise.
13168         * po/nl.po: Likewise.
13169         * po/pt_BR.po: Likewise.
13170         * po/rw.po: Likewise.
13171         * po/sk.po: Likewise.
13172         * po/sl.po: Likewise.
13173         * po/sv.po: Likewise.
13174         * po/tr.po: Likewise.
13175         * po/zh_CN.po: Likewise.
13176         * po/zh_TW.po: Likewise.
13178         * version.h (RELEAES): Set to "development".
13179         (VERSION): Set to 2.23.90.
13181         * version.h (RELEASE): Set to "stable".
13182         (VERSION): Set to 2.23.
13183         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13185         * NEWS: Updated fixed bugs.
13187 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13188             Wilco Dijkstra  <wdijkstr@arm.com>
13190         [BZ #19462]
13191         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13192         (_STRING_INLINE_unaligned): This.
13193         * include/string.h: Include <string_private.h>.
13194         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13195         _STRING_INLINE_unaligned.
13196         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13197         (_STRING_INLINE_unaligned): New.
13198         * sysdeps/aarch64/string_private.h: New file.
13199         * sysdeps/generic/string_private.h: Likewise.
13200         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13201         * sysdeps/s390/string_private.h: Likewise.
13202         * sysdeps/x86/string_private.h: Likewise.
13203         * sysdeps/m68k/m680x0/m68020/bits/string.h
13204         (_STRING_ARCH_unaligned): Renamed to ...
13205         (_STRING_INLINE_unaligned): This.
13206         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13207         to ...
13208         (_STRING_INLINE_unaligned): This.
13209         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13210         to ...
13211         (_STRING_INLINE_unaligned): This.
13212         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13213         to ...
13214         (_STRING_INLINE_unaligned): This.
13216 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13217             H.J. Lu  <hongjiu.lu@intel.com>
13219         [BZ #19590]
13220         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13221         relocation.
13223 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
13225         [BZ #18665]
13226         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13227         *herrno_p.
13228         (gaih_getanswer): Document functional behviour. Return tryagain
13229         if any result is tryagain.
13230         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13231         when freed.
13232         * resolv/res_send.c: Add copyright text.
13233         (__libc_res_nsend): Document that MAXPACKET is expected.
13234         (send_vc): Document. Remove buffer reuse.
13235         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13236         size of the buffer. Add Dprint for truncated UDP buffer.
13238 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
13240         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13241         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13242         * INSTALL: Regenerate.
13244 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
13245             Jonathan Wakely  <jwakely@redhat.com>
13246             Carlos O'Donell  <carlos@redhat.com>
13248         [BZ 19439]
13249         * math/Makefile (tests): Add test-math-isinff.
13250         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13251         * math/bits/mathcalls.h [__USE_MISC]: Use
13252         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13253         functions not in C++11 and which don't conflict e.g. isinff,
13254         isinfl etc.
13255         * math/test-math-isinff.cc: New file.
13257 2016-02-12  Florian Weimer  <fweimer@redhat.com>
13259         * misc/bug18240.c (do_test): Set RLIMIT_AS.
13261 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13263         [BZ #19529]
13264         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13266 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13268         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13270 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
13272         [BZ #19550]
13273         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13274         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13275         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13276         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13277         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13278         New syscall entry.
13279         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13280         New syscall entry.
13281         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13282         syscall entry.
13284 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
13286         [BZ #18240]
13287         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13288         unsigned int wraparound.
13290 2016-01-27  Florian Weimer  <fweimer@redhat.com>
13292         [BZ #18240]
13293         * misc/bug18240.c: New test.
13294         * misc/Makefile (tests): Add it.
13296 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
13297             Joseph Myers  <joseph@codesourcery.com>
13299         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13300         load in branch delay slot when less than a word of input left.
13302 2016-01-27  Andreas Schwab  <schwab@suse.de>
13304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13305         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13306         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13307         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13309 2016-01-26  David S. Miller  <davem@davemloft.net>
13311         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13313 2016-01-25  David S. Miller  <davem@davemloft.net>
13315         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13316         __sqrtl_finite.
13317         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13318         instead using versioned_symbol.
13319         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13320         of entries.
13322         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13323         __sqrtl_finite to GLIBC_2.23
13325 2016-01-25  Ricchard Henderson  <rth@redhat.com>
13327         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13329 2016-01-25  Andreas Schwab  <schwab@suse.de>
13331         [BZ #17514]
13332         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13333         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13334         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13335         * nptl/tst-mutex-errorcheck.c: New file.
13337 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13339         [BZ #18560]
13340         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13341         (IPCOP_semop): Likewise.
13342         (IPCOP_semget): Likewise.
13343         (IPCOP_semctl): Likewise.
13344         (IPCOP_msgsnd): Likewise.
13345         (IPCOP_msgrcv): Likewise.
13346         (IPCOP_msgget): Likewise.
13347         (IPCOP_msgctl): Likewise.
13348         (IPCOP_shmat): Likewise.
13349         (IPCOP_shmdt): Likewise.
13350         (IPCOP_shmget): Likewise.
13351         (IPCOP_shmctl): Likewise.
13353 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13355         * string/tst-endian.c: Include <libc-internal.h>.
13356         (do_test): Ignore tautological-compare warnings around
13357         "htobeXX (beXXtoh (i)) != i" and
13358         "htoleXX (leXXtoh (i)) != i" if-statements.
13360 2016-01-24  David S. Miller  <davem@davemloft.net>
13362         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13363         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13364         alias.
13365         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13366         __sqrtl_finite.
13368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13370 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
13372         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13373         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13374         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13376 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13378         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13379         (thread_func): Use new function to simplify barrier check.
13380         (do_test): Use new function to simplify checking barrier exit
13381         code, and actually join the child thread.
13383 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13385         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13386         semicolon.
13387         (__libc_tend): Likewise.
13388         (__libc_tabort): Likewise.
13390 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
13392         * sysdeps/nios2/libm-test-ulps: Update.
13393         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13394         (__gtsf2): Likewise.
13395         (__unorddf2): Likewise.
13396         (__unordsf2): Likewise.
13397         (__ledf2): Likewise.
13399 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
13401         * nis/nis_table.c (__follow_path): Disable diagnostic for
13402         uninitialized variable that is a false positive for gcc 4.7.
13403         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13405 2016-01-20  Roland McGrath  <roland@hack.frob.com>
13407         * sysdeps/nacl/lowlevellock-futex.h
13408         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13409         Always evaluate PRIVATE argument.
13411 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
13413         [BZ #19490]
13414         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13415         (pthread_cond_broadcast): Use ENTRY/END
13416         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13417         (pthread_cond_signal): Likewise.
13418         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13419         Likewise.
13420         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13421         Likewise.
13422         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13423         Likewise.
13425 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
13427         * sysdeps/ieee754/dbl-64/s_finite.c
13428         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13429         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13430         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13431         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13432         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13435         (__gtsf2): Add as optional for libc.so.
13436         (__unordsf2): Likewise.
13437         (__signbit): Remove for libc.so.
13438         (__signbitl): Likewise.
13440 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13442         * iconvdata/bug-iconv11.c (test_ibm93x):
13443         Use %zu printf format specifier for size_t argument.
13445 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
13447         * math/gen-libm-test.pl (parse_ulps): Do not reduce
13448         already-recorded ulps.
13449         * sysdeps/arm/libm-test-ulps: Regenerated.
13450         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13451         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13452         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13454 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13455             Paul Pluzhnikov  <ppluzhnikov@google.com>
13457         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13458         assembler not supporting AVX-512.
13460 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13462         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13464 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
13466         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13467         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13469         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13471         * sysdeps/arm/libm-test-ulps: Regenerated.
13473 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13475         [BZ #19451]
13476         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13478 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13480         [BZ #19486]
13481         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13482         * sysdeps/generic/fix-fp-int-convert-overflow.h
13483         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13484         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13485         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13486         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13487         Likewise.
13488         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13489         Avoid conversions to long int where inexact exceptions
13490         could be raised.
13491         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13492         Likewise.
13493         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13494         Avoid conversions to long long int where inexact exceptions
13495         could be raised.
13496         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13497         Likewise.
13499 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
13501         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13502         * configure: Regenerated.
13504 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13506         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13508 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
13510         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13511         outside of comment.
13513 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13515         * nptl/tst-barrier1.c: Add description on first line.
13516         * nptl/tst-barrier2.c: Likewise.
13517         * nptl/tst-barrier3.c: Likewise.
13518         * nptl/tst-barrier4.c: Likewise.
13519         * nptl/tst-barrier5.c: Likewise.
13521 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13523         [BZ #18868]
13524         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13526 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13529         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13530         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13531         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13532         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13533         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13534         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13535         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13536         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13537         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13538         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13540 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13542         [BZ #13065]
13543         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13544         new implementation.
13545         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13546         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13547         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13548         (BARRIER_IN_THRESHOLD): New macro.
13549         * nptl/pthread_barrierattr_setpshared.c
13550         (pthread_barrierattr_setpshared): Clean up.
13551         * nptl/tst-barrier4.c: Correct comment.
13552         * nptl/tst-barrier5.c: New file.
13553         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13554         (gen-as-const-headers): Remove lowlevelbarrier.sym.
13555         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13556         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13557         * nptl/lowlevelbarrier.sym: Remove.
13558         * nptl/DESIGN-barrier.txt: Remove.
13559         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13560         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13561         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13562         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13563         error.
13564         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13565         implementation.
13567 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13569         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13570         (do_child): Mask SIGRTMIN while thr is running.
13572 2016-01-15  Martin Sebor  <msebor@redhat.com>
13574         [BZ #19432]
13575         * iconvdata/Makefile: Add bug-iconv11.
13576         * iconvdata/bug-iconv11.c: New test.
13577         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13578         * iconvdata/ibm933.c: Same.
13579         * iconvdata/ibm935.c: Same.
13580         * iconvdata/ibm937.c: Same.
13581         * iconvdata/ibm939.c: Same.
13583 2016-01-15  Martin Sebor  <msebor@redhat.com>
13585         [BZ #19443]
13586         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13587         [DEBUG] (_ufc_set_bits): Declare used.
13588         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13589         [DEBUG] (print_all): Declare used.
13590         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13591         operands of the ternary ?: expression to target type.
13592         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13593         calling the undeclared abort.
13594         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13596 2016-01-15  Martin Sebor  <msebor@redhat.com>
13598         [BZ #18755]
13599         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13600         warnings.
13601         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13602         (__gai_create_helper_thread): Same.
13603         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13604         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13605         to suppress -Wmaybe-uninitialized warnings.
13607 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
13609         [BZ #19465]
13610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13611         inside if.
13612         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13613         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13614         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13616 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
13618         [BZ #19466]
13619         * time/tst-mktime2.c (time_t_max): Removed.
13620         (time_t_min): Likewise.
13621         (TYPE_SIGNED): New.
13622         (TYPE_MINIMUM): Likewise.
13623         (TYPE_MAXIMUM): Likewise.
13624         (TIME_T_MIN): Likewise.
13625         (TIME_T_MAX): Likewise.
13626         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13627         and TIME_T_MIN.
13628         (do_test): Likewise.
13630 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
13632         [BZ #19467]
13633         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13634         index_Fast_Unaligned_Load flag for Excavator family CPUs.
13636 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
13638         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13640 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
13642         * benchtests/Makefile (PYTHON): Define.
13643         (bench-func): Use $(PYTHON) to run python scripts.
13644         ($(objpfx)bench-%.c): Likewise.
13646 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
13648         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13649         leading slash when `file_name' is "/".
13651 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
13653         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13654         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13655         Likewise.
13656         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13657         Likewise.
13658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13659         Likewise.
13660         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13661         enum constant and macro.
13662         (PTRACE_SETSIGMASK): Likewise.
13663         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13664         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13665         (PTRACE_GETSIGMASK): Likewise.
13666         (PTRACE_SETSIGMASK): Likewise.
13667         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13668         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13669         Likewise.
13670         (PTRACE_SETSIGMASK): Likewise.
13671         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13672         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13673         (PTRACE_GETSIGMASK): Likewise.
13674         (PTRACE_SETSIGMASK): Likewise.
13675         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13676         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13677         Likewise.
13678         (PTRACE_SETSIGMASK): Likewise.
13679         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13680         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13681         Likewise.
13682         (PTRACE_SETSIGMASK): Likewise.
13683         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13684         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13685         Likewise.
13686         (PTRACE_SETSIGMASK): Likewise.
13687         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13689 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
13690             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13692         [BZ #19439]
13693         * math/bits/mathcalls.h
13694         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13695         prototype.
13696         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13698 2016-01-11  Andreas Schwab  <schwab@suse.de>
13700         [BZ #19253]
13701         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13702         cache when TZDEFRULES was used.
13703         * time/tst-tzname.c: New file.
13704         * time/Makefile (test): Add tst-tzname.
13705         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13706         * timezone/Makefile (test-zones): Add $(posixrules-file).
13707         ($(testdata)/$(posixrules-file)): New rule.
13709 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
13711         Fix doc quoting problems with Texinfo 5
13712         Without this change, in the info file output, Texinfo 5 quotes code
13713         in text with undirected single quotes 'like this' and generates
13714         code examples that with many PDF readers cannot be cut out of PDFs
13715         and pasted into code.
13716         * manual/libc.texinfo: Configure the libc manual like the GNU
13717         Emacs manual, by using @documentencoding and setting
13718         txicodequoteundirected and txicodequotebacktick.  This way,
13719         Texinfo 5 quotes code in text with directed single quotes ‘like
13720         this’ and produces examples that can be cut out of PDFs.  This
13721         change causes Texinfo 5 to generate info files that contain UTF-8
13722         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13723         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13725 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13727         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13728         __libc_tabort, __libc_tend): New wrappers that enforce compiler
13729         barriers to their respective compiler built-ins.
13730         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13731         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13732         * sysdeps/powerpc/sysdep.h: Likewise.
13733         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13734         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13735         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13737 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
13739         * scripts/config.guess: Revert previous shebang change.
13740         * scripts/config.sub: Likewise.
13741         * scripts/mkinstalldirs: Likewise.
13743 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13745         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13746         PPC_FEATURE2_HAS_IEEE128.
13747         * sysdeps/powerpc/dl-procinfo.c:
13748         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13750 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
13752         [BZ #19415]
13753         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13754         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
13755         (_dl_lookup_address): Rewrite using function resolver trampoline.
13756         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13757         two bits in address.
13759 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13761         * longlong.h: Change !__SHMEDIA__ to
13762         (!defined (__SHMEDIA__) || !__SHMEDIA__).
13763         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13765 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
13766             Joseph Myers  <joseph@codesourcery.com>
13767             Mark Shinwell  <shinwell@codesourcery.com>
13768             Andrew Stubbs  <ams@codesourcery.com>
13769             Rich Felker <dalias@libc.org>
13771         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13773 2016-01-07  Richard Henderson  <rth@redhat.com>
13775         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13777 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13779         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13780         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13781         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13782         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13783         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13785 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
13786             Joseph Myers  <joseph@codesourcery.com>
13788         * timezone/private.h: Update from tzcode 2015g.
13789         * timezone/tzfile.h: Likewise.
13790         * timezone/tzselect.ksh: Likewise.
13791         * timezone/zdump.c: Likewise.
13792         * timezone/zic.c: Likewise.
13793         * timezone/ialloc.c: Remove file.
13794         * timezone/scheck.c: Likewise.
13795         * timezone/Makefile (extra-objs): Remove variable.
13796         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13797         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13798         -Wno-maybe-uninitialized.
13799         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13800         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13801         (CFLAGS-ialloc.c): Remove variable.
13802         (CFLAGS-scheck.c): Likewise.
13803         * timezone/README: Update list of files from tzcode.
13805 2016-01-07  Khem Raj  <raj.khem@gmail.com>
13807         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13808         instead of __fxprintf when _LIBC is undefined.
13810 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
13812         * catgets/test-gencat.sh: Remove space after shebang.
13813         * conform/GlibcConform.pm: Likewise.
13814         * conform/check-header-lists.sh: Likewise.
13815         * conform/conformtest.pl: Likewise.
13816         * conform/linknamespace.pl: Likewise.
13817         * conform/list-header-symbols.pl: Likewise.
13818         * debug/catchsegv.sh: Likewise.
13819         * elf/genrtldtbl.awk: Likewise.
13820         * elf/tst-pathopt.sh: Likewise.
13821         * elf/tst-rtld-load-self.sh: Likewise.
13822         * grp/tst_fgetgrent.sh: Likewise.
13823         * iconvdata/gen-8bit-gap-1.sh: Likewise.
13824         * iconvdata/gen-8bit-gap.sh: Likewise.
13825         * iconvdata/gen-8bit.sh: Likewise.
13826         * iconvdata/run-iconv-test.sh: Likewise.
13827         * intl/tst-gettext.sh: Likewise.
13828         * intl/tst-gettext2.sh: Likewise.
13829         * intl/tst-gettext4.sh: Likewise.
13830         * intl/tst-gettext6.sh: Likewise.
13831         * intl/tst-translit.sh: Likewise.
13832         * io/ftwtest-sh: Likewise.
13833         * libio/test-freopen.sh: Likewise.
13834         * locale/gen-translit.pl: Likewise.
13835         * malloc/tst-mtrace.sh: Likewise.
13836         * manual/check-safety.sh: Likewise.
13837         * manual/libc-texinfo.sh: Likewise.
13838         * manual/tsort.awk: Likewise.
13839         * manual/xtract-typefun.awk: Likewise.
13840         * nptl/tst-cancel-wrappers.sh: Likewise.
13841         * nptl/tst-tls6.sh: Likewise.
13842         * posix/globtest.sh: Likewise.
13843         * posix/tst-getconf.sh: Likewise.
13844         * posix/wordexp-tst.sh: Likewise.
13845         * scripts/check-c++-types.sh: Likewise.
13846         * scripts/check-local-headers.sh: Likewise.
13847         * scripts/config.guess: Likewise.
13848         * scripts/config.sub: Likewise.
13849         * scripts/cpp: Likewise.
13850         * scripts/cross-test-ssh.sh: Likewise.
13851         * scripts/documented.sh: Likewise.
13852         * scripts/evaluate-test.sh: Likewise.
13853         * scripts/gen-libc-abis: Likewise.
13854         * scripts/gen-sorted.awk: Likewise.
13855         * scripts/list-fixed-bugs.py: Likewise.
13856         * scripts/merge-test-results.sh: Likewise.
13857         * scripts/mkinstalldirs: Likewise.
13858         * scripts/rellns-sh: Likewise.
13859         * scripts/test-installation.pl: Likewise.
13860         * scripts/update-copyrights: Likewise.
13861         * stdio-common/tst-printf.sh: Likewise.
13862         * stdio-common/tst-unbputc.sh: Likewise.
13863         * stdlib/tst-fmtmsg.sh: Likewise.
13864         * stdlib/tst-setcontext3.sh: Likewise.
13865         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13866         * sysdeps/unix/make-syscalls.sh: Likewise.
13868 2016-01-06  John David Anglin  <dave.anglin@bell.net>
13870         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13871         asm stw with atomic_exchange_rel.  Add explanatory comment.
13872         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13873         Likewise.
13875 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13877         [BZ #19122]
13878         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13879         * sysdeps/generic/dl-unistd.h: New file.
13880         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13882 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13884          [BZ #19122]
13885          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13886          * sysdeps/generic/dl-mman.h: New file.
13887          * sysdeps/mach/hurd/dl-mman.h: Likewise.
13889 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
13891         * manual/texinfo.tex: Update to version 2016-01-04.21 with
13892         trailing whitespace removed.
13893         * scripts/config.guess: Update to version 2016-01-01.
13894         * scripts/config.sub: Update to version 2016-01-01.
13895         * scripts/move-if-change: Update from gnulib.
13897 2016-01-04  Anton Blanchard  <anton@samba.org>
13899         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13900         for array indices.
13901         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13903 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
13905         * NEWS: Update copyright dates.
13906         * catgets/gencat.c (print_version): Likewise.
13907         * csu/version.c (banner): Likewise.
13908         * debug/catchsegv.sh: Likewise.
13909         * debug/pcprofiledump.c (print_version): Likewise.
13910         * debug/xtrace.sh (do_version): Likewise.
13911         * elf/ldconfig.c (print_version): Likewise.
13912         * elf/ldd.bash.in: Likewise.
13913         * elf/pldd.c (print_version): Likewise.
13914         * elf/sotruss.sh: Likewise.
13915         * elf/sprof.c (print_version): Likewise.
13916         * iconv/iconv_prog.c (print_version): Likewise.
13917         * iconv/iconvconfig.c (print_version): Likewise.
13918         * locale/programs/locale.c (print_version): Likewise.
13919         * locale/programs/localedef.c (print_version): Likewise.
13920         * login/programs/pt_chown.c (print_version): Likewise.
13921         * malloc/memusage.sh (do_version): Likewise.
13922         * malloc/memusagestat.c (print_version): Likewise.
13923         * malloc/mtrace.pl: Likewise.
13924         * manual/libc.texinfo: Likewise.
13925         * nptl/version.c (banner): Likewise.
13926         * nscd/nscd.c (print_version): Likewise.
13927         * nss/getent.c (print_version): Likewise.
13928         * nss/makedb.c (print_version): Likewise.
13929         * posix/getconf.c (main): Likewise.
13930         * scripts/test-installation.pl: Likewise.
13931         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13933         * All files with FSF copyright notices: Update copyright dates
13934         using scripts/update-copyrights.
13935         * intl/plural.c: Regenerated.
13936         * locale/programs/charmap-kw.h: Likewise.
13937         * locale/programs/locfile-kw.h: Likewise.
13939 2016-01-02  Helge Deller  <deller@gmx.de>
13941         [BZ #19285]
13942         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13943         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13944         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13945         (MADV_xxK_PAGES): Remove.
13947 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
13949         [BZ #15421]
13950         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13951         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
13952         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13953         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13955 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
13957         [BZ #19408]
13958         * sysdeps/unix/sysv/linux/personality.c: New file.
13959         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13960         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13961         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13962         (sysdep_routines): Add personality.
13963         (tests): Add tst-personality.
13964         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13965         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13966         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13967         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13968         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13969         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13970         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13971         Likewise.
13972         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13973         Likewise.
13974         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13975         Likewise.
13976         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13977         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13978         Likewise.
13980 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
13982         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13983         (PATH_ARM_SYSTYPE): Remove.
13984         (PATH_CPUINFO): Likewise.
13985         (IO_BASE_FOOTBRIDGE): Likewise.
13986         (IO_SHIFT_FOOTBRIDGE): Likewise.
13987         (struct platform): Likewise.
13988         (init_iosys): Remove compatibility code for 2.4 kernels.
13989         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
13991 2015-12-29  Florian Weimer  <fweimer@redhat.com>
13993         * malloc/tst-malloc-thread-fail.c: New file.
13994         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
13995         (tst-malloc-thread-fail): Link against libpthread.
13997 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
13999         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14000         (get_parser): New function.
14001         (main): New function.
14003 2015-12-29  Rob Wu  <rob@robwu.nl>
14005         [BZ #19369]
14006         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14008 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14010         [BZ #19270]
14011         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14013 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14015         [BZ #15421]
14016         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14018 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14020         [BZ #13690]
14021         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14022         after releasing it.
14023         (__lll_robust_unlock): Likewise.
14024         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14025         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14026         (lll_robust_unlock): Likewise.
14027         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14028         Prevent warnings in callers.
14030 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14032         * malloc/arena.c (list_lock): Update comment.
14034 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14036         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14037         __parse_hwcap_and_convert_at_platform to libc.a.
14039 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14041         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14042         platform and feature support for POWER9.
14043         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14044         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14045         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14046         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14047         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14048         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14049         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14050         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14052 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14054         Harmonize generic stdio-lock support with nptl
14056         This fixes build when _IO_funlockfile is a macro, fixes build where
14057         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14058         stack unwind.
14060         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14061         _IO_release_lock ): Use cleanup attribute on new
14062         _IO_acquire_lock_file variable instead of assuming that
14063         _IO_release_lock will be called.
14064         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14065         _IO_acquire_lock_needs_exceptions_enabled.
14066         (_IO_acquire_lock_clear_flags2): New macro.
14068 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14070         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14072 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14074         [BZ #19182]
14075         * malloc/arena.c (list_lock): Document lock ordering requirements.
14076         (free_list_lock): New lock.
14077         (ptmalloc_lock_all): Comment on free_list_lock.
14078         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14079         (detach_arena): Update comment.  free_list_lock is now needed.
14080         (_int_new_arena): Use free_list_lock around detach_arena call.
14081         Acquire arena lock after list_lock.  Add comment, including FIXME
14082         about incorrect synchronization.
14083         (get_free_list): Switch to free_list_lock.
14084         (reused_arena): Acquire free_list_lock around detach_arena call
14085         and attached threads counter update.  Add two FIXMEs about
14086         incorrect synchronization.
14087         (arena_thread_freeres): Switch to free_list_lock.
14088         * malloc/malloc.c (struct malloc_state): Update comments to
14089         mention free_list_lock.
14091 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14093         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14094         Remove functions.
14095         (sloww, sloww1): Accept argument to offset quadrant.
14096         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14097         quadrant.
14098         (__sin, __cos): Consolidate common code into new functions.
14099         (reduce_sincos_1, do_sincos_1): New functions.
14100         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14102         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14103         code to new functions.
14104         (reduce_sincos_2, do_sincos_2): New functions.
14105         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14108         common code for sincos.
14109         (__cos) [!IN_SINCOS]: Likewise.
14110         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14111         New function.
14112         (__sincos): Use it.
14114 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14116         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14117         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14118         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14120 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14122         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14125         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14126         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14127         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14128         index_Prefer_No_VZEROUPPER): New feature.
14129         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14130         Prefer_No_VZEROUPPER for Knights Landing.
14132 015-12-18  Torvald Riegel  <triegel@redhat.com>
14134         * math/atest-exp2.c (mp_exp_m1): Remove.
14136 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14138         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14139         syscalls.
14140         (__SYSCALL0): New macro.
14141         (__SYSCALL1): Likewise.
14142         (__SYSCALL2): Likewise.
14143         (__SYSCALL3): Likewise.
14144         (__SYSCALL4): Likewise.
14145         (__SYSCALL5): Likewise.
14146         (__SYSCALL6): Likewise.
14147         (__SYSCALL_CONCAT_X): Likewise.
14148         (__SYSCALL_CONCAT): Likewise.
14149         (__SYSCALL_DIST): Likewise.
14150         (__SYSCALL_CALL): Likewise.
14152 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14154         [BZ #19363]
14155         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14157 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14159         [BZ #19375]
14160         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14161         negative subnormals.
14163 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14165         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14166         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14167         (INTERNAL_SYSCALL_NCS): Use it.
14168         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14170 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14172         [BZ #19243]
14173         * malloc/arena.c (get_free_list): Remove assert and adjust
14174         reference count handling.  Add comment about reused_arena
14175         interaction.
14176         (reused_arena): Add comments abount get_free_list interaction.
14177         * malloc/tst-malloc-thread-exit.c: New file.
14178         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14179         (tst-malloc-thread-exit): Link against libpthread.
14181 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14183         [BZ #19367]
14184         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14185         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14186         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14187         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14188         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14190 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14192         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14193         Silvermont optimizations for Knights Landing.
14195 2015-12-15  Andreas Schwab  <schwab@suse.de>
14197         [BZ #17197]
14198         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14199         immediately after emitting SI.
14200         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14201         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14202         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14203         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14204         * iconvdata/bug-iconv10.c: New file.
14205         * iconvdata/Makefile (tests): Add bug-iconv10.
14206         ($(objpfx)bug-iconv10.out): New rule.
14208 2015-12-15  Florian Weimer  <fweimer@redhat.com>
14210         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14211         aliasing violation.
14213 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
14215         [BZ #18472]
14216         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14217         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14218         conditionals for them.
14219         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14220         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14222         sys/kdaemon.h.
14223         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14224         compat-only syscall, obsoleted in glibc 2.23.
14225         (create_module): Likewise.
14226         (get_kernel_syms): Likewise.
14227         (query_module): Likewise.
14228         (uselib): Likewise.
14229         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14231 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
14233         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14234         <linux/version.h>.
14235         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14236         conditional code.
14237         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14238         and ioshift_name initialization.
14240 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14242         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14243         Fix indentation.
14245 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14247         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14249 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14251         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14253 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
14254             Jakub Wilk  <jwilk@debian.org>
14256         [BZ #19347]
14257         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14258         to change the group of the device to the tty group.
14260 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
14262         Split large string section; add truncation advice
14263         * manual/examples/strncat.c: Remove.
14264         This example was misleading, as the code would have undefined
14265         behavior if "hello" was longer than SIZE.  Anyway, the manual
14266         shouldn't encourage strncpy+strncat for this sort of thing.
14267         * manual/string.texi (Copying Strings and Arrays): Split into
14268         three sections Copying Strings and Arrays, Concatenating Strings,
14269         and Truncating Strings, as this section was way too long.  All
14270         cross-referenced changed.  Add advice about string-truncation
14271         functions.  Remove misleading strncat example.
14273 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
14275         * manual/nss.texi (NSS Modules Interface): Document
14276         NSS_STATUS_NOTFOUND and SUCCESS.
14278 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14280         [BZ 18568]
14281         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14282         201505L, for Unicode 8.
14284 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
14286         * locale/C-translit.h: Regenerate.
14288 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14290         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14291         and U+0153.
14293 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
14295         [BZ #19351]
14296         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14297         expanding log(1+z), compare z rather than its square with epsilon
14298         to determine when to avoid evaluating the expansion.
14300         [BZ #19350]
14301         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14302         Increase overflow threshold.
14304         [BZ #19349]
14305         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14306         when small.
14308         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14309         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14310         New macro.
14311         [__LINUX_KERNEL_VERSION >= 0x040300]
14312         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14313         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14314         Likewise.
14315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14316         Likewise.
14317         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14318         Likewise.
14319         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14320         Likewise.
14321         [__LINUX_KERNEL_VERSION >= 0x040300]
14322         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14323         [__LINUX_KERNEL_VERSION >= 0x040300]
14324         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14325         [__LINUX_KERNEL_VERSION >= 0x040300]
14326         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14327         [__LINUX_KERNEL_VERSION >= 0x040300]
14328         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14329         [__LINUX_KERNEL_VERSION >= 0x040300]
14330         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14331         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14332         Likewise.
14333         [__LINUX_KERNEL_VERSION >= 0x040300]
14334         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14335         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14336         Likewise.
14337         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14338         Likewise.
14339         [__LINUX_KERNEL_VERSION >= 0x040300]
14340         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14341         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14342         Likewise.
14343         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14344         Likewise.
14345         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14346         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14347         Likewise.
14348         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14349         Likewise.
14350         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14351         Likewise.
14352         [__LINUX_KERNEL_VERSION >= 0x040300]
14353         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14354         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14355         Likewise.
14356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14357         Likewise.
14358         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14359         Likewise.
14360         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14361         Likewise.
14362         [__LINUX_KERNEL_VERSION >= 0x040300]
14363         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14364         [__LINUX_KERNEL_VERSION >= 0x040300]
14365         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14366         [__LINUX_KERNEL_VERSION >= 0x040300]
14367         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14368         [__LINUX_KERNEL_VERSION >= 0x040300]
14369         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14370         [__LINUX_KERNEL_VERSION >= 0x040300]
14371         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14372         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14373         Likewise.
14374         [__LINUX_KERNEL_VERSION >= 0x040300]
14375         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14376         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14377         Likewise.
14378         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14379         Likewise.
14380         [__LINUX_KERNEL_VERSION >= 0x040300]
14381         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14382         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14383         Likewise.
14384         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14385         Likewise.
14386         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14387         (__ASSUME_SOCKET_SYSCALL): Likewise.
14388         (__ASSUME_BIND_SYSCALL): Likewise.
14389         (__ASSUME_CONNECT_SYSCALL): Likewise.
14390         (__ASSUME_LISTEN_SYSCALL): Likewise.
14391         (__ASSUME_ACCEPT_SYSCALL): Likewise.
14392         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14393         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14394         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14395         (__ASSUME_SEND_SYSCALL): Likewise.
14396         (__ASSUME_SENDTO_SYSCALL): Likewise.
14397         (__ASSUME_RECV_SYSCALL): Likewise.
14398         (__ASSUME_RECVFROM_SYSCALL): Likewise.
14399         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14400         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14401         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14402         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14403         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14404         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14405         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14406         Likewise.
14407         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14408         Likewise.
14409         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14410         Likewise.
14411         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14412         Likewise.
14413         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14414         Likewise.
14415         [__LINUX_KERNEL_VERSION >= 0x020625]
14416         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14417         [__LINUX_KERNEL_VERSION >= 0x020625]
14418         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14419         [__LINUX_KERNEL_VERSION >= 0x020625]
14420         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14421         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14422         Likewise.
14423         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14424         Likewise.
14425         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14426         Likewise.
14427         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14428         Likewise.
14429         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14430         Likewise.
14431         [__LINUX_KERNEL_VERSION >= 0x020625]
14432         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14433         [__LINUX_KERNEL_VERSION >= 0x020625]
14434         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14435         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14436         Likewise.
14437         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14438         Likewise.
14440 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14442         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14443         record the current if the current ABI and CPU support the FP64
14444         extension.
14445         (has-modd-spreg): Define to record the current if the current ABI and
14446         CPU support 32-bit floating point values in odd FPU registers.
14447         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14448         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14449         $(has-modd-spreg) equals yes.
14450         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14451         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14452         $(has-modd-spreg) equal yes.
14454 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14456         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14457         basename.
14459 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
14461         * benchtests/Makefile (bench-math): Move ffs and ffsll...
14462         (bench-string): ... here.
14463         (bench): Add bench-string.
14464         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14465         to *-benchset to reflect what they are.
14466         (benchset): Adjust.
14468         * benchtests/sincos-inputs: Add inputs from sin-inputs and
14469         cos-inputs.
14471 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
14473         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14474         __attribute__ ((__simd__)) for vector math function declarations.
14476 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14478         Fix typo in strncat, wcsncat manual entries
14479         * manual/string.texi (Copying and Concatenation): Fix typos in
14480         sample implementations of strncat and wcsncat, by having them use
14481         the old value of the destination length, not the new one.
14483 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
14485         [BZ #16961]
14486         [BZ #16962]
14487         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14488         string on the stack for strtod.
14489         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14490         a string on the stack for strtof.
14491         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14492         constructing a string on the stack for strtold.
14493         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14494         __strtold_nan to GLIBC_PRIVATE.
14495         * math/test-nan-overflow.c: New file.
14496         * math/test-nan-payload.c: Likewise.
14497         * math/Makefile (tests): Add test-nan-overflow and
14498         test-nan-payload.
14500 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14502         Consistency about byte vs character in string.texi
14503         * manual/string.texi (String and Array Utilities):
14504         Distinguish more carefully among bytes, multibyte characters,
14505         and wide characters.  Use "byte" when talking about C 'char',
14506         to distinguish it more clearly from multibyte characters.
14507         Say "wide character" or "multibyte character" instead of
14508         "character", when a wide or multibyte character is intended.
14509         Similarly for "multibyte string" versus "string".
14510         Define these terms more carefully.
14512 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
14514         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14515         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14516         Likewise.
14517         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14518         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14519         * sysdeps/sh/math_private.h: New file.
14520         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14521         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14522         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14523         long double function name.
14524         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14525         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14526         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14527         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14528         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14530         Remove __finitel, __isinfl, and __isnanl.
14531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14532         Likewise.
14533         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14535         Remove __finitel.
14536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14537         Likewise.
14538         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14540 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
14542         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14543         installed libmvec_nonshared.a.
14545 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14547         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14548         (sysdep_routines): Likewise.
14549         (sysdep-rtld-routines): Likewise.
14550         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14551         [$(subdir) = nptl](tests-static): test-get_hwcap-static
14552         * sysdeps/powerpc/Versions: Added new
14553         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14554         * sysdeps/powerpc/hwcapinfo.c: New file.
14555         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14556         and parse hwcap, hwcap2 and platform number information.
14557         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
14558         to store HWCAP+HWCAP2 and platform number.
14559         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14560         for HWCAP+HWCAP2 and platform number in the TCB.
14561         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
14562         the HWCAP, HWCAP2 and platform number in the TCB.
14563         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14564         (TLS_INIT_TP): Included calls to add the hwcap and
14565         at_platform values in the TCB in TP initialization.
14566         (TLS_DEFINE_INIT_TP): Likewise.
14567         (THREAD_GET_HWCAP): New macro.
14568         (THREAD_SET_HWCAP): Likewise.
14569         (THREAD_GET_AT_PLATFORM): Likewise.
14570         (THREAD_SET_AT_PLATFORM): Likewise.
14571         * sysdeps/powerpc/powerpc32/dl-machine.h:
14572         (dl_platform_init): New function that calls
14573         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14574         powerpc32.
14575         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14576         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
14577         this functionality, static linking case.
14578         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
14579         linking case.
14580         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14581         __parse_hwcap_and_convert_at_platform for the static linking case.
14582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14583         Included the new __parse_hwcap_and_convert_at_platform symbol in the
14584         ABI list for GLIBC 2.23.
14585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14586         Likewise.
14587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14588         Likewise.
14590 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
14592         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14593         * configure: Regenerate.
14594         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14595         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
14597 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
14599         * iconvdata/ibm930.c: Add comment explaining encoding uses.
14600         * iconvdata/ibm933.c: Likewise.
14601         * iconvdata/ibm935.c: Likewise.
14602         * iconvdata/ibm937.c: Likewise.
14603         * iconvdata/ibm939.c: Likewise.
14605 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14607         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14608         pthread_join.
14609         * nptl/tst-cancel21.c (tf): Likewise.
14611 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
14613         [BZ #19313]
14614         * bits/typesizes.h (__CPU_MASK_TYPE): New.
14615         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14616         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14617         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14618         Likewise.
14619         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14620         Likewise.
14621         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14622         Likewise.
14623         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14624         Likewise.
14625         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14626         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14627         unsigned long int with __CPU_MASK_TYPE.
14629 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14631         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14633 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
14635         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14636         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14637         t512.x.
14638         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14640 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
14642         [BZ #19214]
14643         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14644         argument to return extended model.  Update family and model
14645         with extended family and model when family == 0x0f.
14646         (init_cpu_features): Updated.
14648 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14650         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14651         signed off_t, so 32bit bigger than 2GiB values are fine actually.
14653         * sysdeps/mach/hurd/mmap64.c: New file.
14655 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
14657         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14658         rights for its main user thread in NEWTASK.
14660 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
14662         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14663         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14665 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
14667         [BZ #14259]
14668         * Makeconfig: Rename localedir to complocaledir.
14669         Rename inst_localedir to inst_complocaledir.
14670         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14671         * config.make.in: Use complocaledir and libc_cv_complocaledir.
14672         * configure.ac: Use libc_cv_complocaledir.
14673         * configure: Regenerate.
14674         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14675         -DCOMPLOCALEDIR.
14676         * locale/findlocale.c: Use COMPLOCALEDIR.
14677         * locale/loadarchive.c: Likewise.
14678         * locale/programs/locale.c: Likewise.
14679         * locale/programs/localedef.c: Likewise.
14680         * locale/programs/locarchive.c: Likewise.
14681         * localedata/Makefile: Use inst_complocaledir.
14682         * sysdeps/gnu/configure: Regenerate.
14683         * sysdeps/hppa/configure: Regenerate.
14684         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14685         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14687         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14688         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14689         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14690         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14692 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
14694         [BZ #19058]
14695         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14696         AS_NEEDED.
14697         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14698         workaround.
14699         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14700         libmvec-static-only-routines): Added new file.
14701         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14703 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14705         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14706         of interrupted RPC instead of restoring it.
14708         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14709         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14710         libc_hidden_def.
14711         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14712         into initialized data instead of common. Define rtld_hidden_data_def.
14713         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14714         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14715         libc_hidden_def.
14716         (if_freenameindex): Add libc_hidden_weak.
14717         (if_nameindex): Add libc_hidden_weak.
14718         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14719         __open64.
14720         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14721         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14722         * sysdeps/mach/nanosleep.c: Include <time.h>
14723         (__nanosleep): Rename to __libc_nanosleep.
14724         (__nanosleep): Add weak_alias.
14725         (nanosleep): Update alias.
14727 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
14729         * stdlib/strtod_nan.c: New file.
14730         * stdlib/strtod_nan_double.h: Likewise.
14731         * stdlib/strtod_nan_float.h: Likewise.
14732         * stdlib/strtod_nan_main.c: Likewise.
14733         * stdlib/strtod_nan_narrow.h: Likewise.
14734         * stdlib/strtod_nan_wide.h: Likewise.
14735         * stdlib/strtof_nan.c: Likewise.
14736         * stdlib/strtold_nan.c: Likewise.
14737         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14738         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14739         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14740         * wcsmbs/wcstod_nan.c: Likewise.
14741         * wcsmbs/wcstof_nan.c: Likewise.
14742         * wcsmbs/wcstold_nan.c: Likewise.
14743         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14744         strtold_nan.
14745         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14746         wcstof_nan.
14747         * include/stdlib.h (__strtof_nan): Declare and use
14748         libc_hidden_proto.
14749         (__strtod_nan): Likewise.
14750         (__strtold_nan): Likewise.
14751         (__wcstof_nan): Likewise.
14752         (__wcstod_nan): Likewise.
14753         (__wcstold_nan): Likewise.
14754         * include/wchar.h (____wcstoull_l_internal): Declare.
14755         * stdlib/strtod_l.c: Do not include <ieee754.h>.
14756         (____strtoull_l_internal): Remove declaration.
14757         (STRTOF_NAN): Define macro.
14758         (SET_MANTISSA): Remove macro.
14759         (STRTOULL): Likewise.
14760         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14761         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14762         (STRTOF_NAN): Define macro.
14763         (SET_MANTISSA): Remove macro.
14764         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14765         (SET_MANTISSA): Remove macro.
14766         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14767         macro.
14768         (SET_MANTISSA): Remove macro.
14769         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14770         macro.
14771         (SET_MANTISSA): Remove macro.
14772         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14773         (SET_MANTISSA): Remove macro.
14774         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14775         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14776         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14778         [BZ #19266]
14779         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14780         upper case and lower case letters inside NAN(), not using TOLOWER.
14781         * stdlib/tst-strtod-nan-locale-main.c: New file.
14782         * stdlib/tst-strtod-nan-locale.c: Likewise.
14783         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14784         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14785         Depend on $(gen-locales).
14786         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14787         * wcsmbs/tst-wcstod-nan-locale.c: New file.
14788         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14789         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14790         Depend on $(gen-locales).
14791         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14793 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
14795         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14797         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14799         __finitel, __isinfl, and __isnanl.
14800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14801         Likewise.
14802         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14804         __finitel.
14805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14806         Likewise.
14807         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14809 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14811         * malloc/memusage.c (me): Remove redundant getenv call.
14813 2015-10-24  Florian Weimer  <fweimer@redhat.com>
14815         [BZ #19143]
14816         [BZ #19164]
14817         * nptl/check-cpuset.h: Remove.
14818         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14819         Remove CPU set size check.
14820         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14821         Likewise.
14822         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14823         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14824         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14825         (__pthread_setaffinity_new): Remove CPU set size check.
14826         * sysdeps/unix/sysv/linux/sched_setaffinity.c
14827         (__kernel_cpumask_size): Remove.
14828         (__sched_setaffinity_new): Remove CPU set size check.
14829         * manual/threads.texi (Default Thread Attributes): Remove stale
14830         reference to check_cpuset_attr, determine_cpumask_size in comment.
14831         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14832         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
14833         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14834         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14835         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14836         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14837         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14838         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14839         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14840         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14841         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14842         skeleton test file.
14843         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
14844         tst-affinity-pid.
14846 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14848         * scripts/update-abilist.sh: New file.
14849         * Makefile (+subdir_targets): Add subdir_update-all-abi.
14850         * Makerules (update-all-abi-%, update-all-abi)
14851         (subdir_update-all-abi): New targets.
14852         * elf/Makefile (update-all-abi): New target.
14854 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14856         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14857         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14858         (__libc_lock_define_initialized): Use it.
14859         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14860         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14861         * malloc/malloc.c (main_arena): Likewise.
14862         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14863         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14865 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
14867         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14868         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14869         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14870         (PTRACE_O_MASK): Update value.
14871         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14872         New value in enum __ptrace_setoptions.
14873         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14874         (PTRACE_O_MASK): Update value.
14875         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14876         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14877         (PTRACE_O_MASK): Update value.
14878         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14879         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14880         (PTRACE_O_MASK): Update value.
14881         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14882         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14883         (PTRACE_O_MASK): Update value.
14884         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14885         New value in enum __ptrace_setoptions.
14886         (PTRACE_O_MASK): Update value.
14887         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14888         New value in enum __ptrace_setoptions.
14889         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14890         (PTRACE_O_MASK): Update value.
14892         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14893         New macro.
14894         (PACKET_AUXDATA): Likewise.
14895         (PACKET_ORIGDEV): Likewise.
14896         (PACKET_VERSION): Likewise.
14897         (PACKET_HDRLEN): Likewise.
14898         (PACKET_RESERVE): Likewise.
14899         (PACKET_TX_RING): Likewise.
14900         (PACKET_LOSS): Likewise.
14901         (PACKET_VNET_HDR): Likewise.
14902         (PACKET_TX_TIMESTAMP): Likewise.
14903         (PACKET_TIMESTAMP): Likewise.
14904         (PACKET_FANOUT): Likewise.
14905         (PACKET_TX_HAS_OFF): Likewise.
14906         (PACKET_QDISC_BYPASS): Likewise.
14907         (PACKET_ROLLOVER_STATS): Likewise.
14908         (PACKET_FANOUT_DATA): Likewise.
14909         (PACKET_MR_UNICAST): Likewise.
14911         [BZ #19242]
14912         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14913         (TOUPPER): Likewise.
14914         * stdlib/tst-strtol-locale-main.c: New file.
14915         * stdlib/tst-strtol-locale.c: Likewise.
14916         * stdlib/Makefile (tests): Add tst-strtol-locale.
14917         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14918         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14919         Depend on $(gen-locales).
14920         * wcsmbs/tst-wcstol-locale.c: New file.
14921         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14922         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14923         tr_TR.ISO-8859-9.
14924         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14925         Depend on $(gen-locales).
14927 2015-11-20  Roland McGrath  <roland@hack.frob.com>
14929         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14930         __glibc_likely instead of __builtin_expect.  After falling back to
14931         dyncode_create in a non-ET_DYN case, use the allocate_code_data
14932         system interface to register the code pages as occupied.
14934 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
14936         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14937         [!ARM_MATH_PRIVATE_H].
14938         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14939         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14940         [!HPPA_MATH_PRIVATE_H].
14941         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14942         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14943         to [!I386_MATH_PRIVATE_H].
14944         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14945         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14946         Change guard to [!M68K_MATH_PRIVATE_H].
14947         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14948         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14949         guard to [!MICROBLAZE_MATH_PRIVATE_H].
14950         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14951         macro.
14952         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14953         [!MIPS_MATH_PRIVATE_H].
14954         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14955         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14956         [!NIO2_MATH_PRIVATE_H].
14957         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14958         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14959         [!TILE_MATH_PRIVATE_H].
14960         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14962         [BZ #15421]
14963         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14964         initialize with 0 and define as weak alias of __signgam.
14965         * include/math.h [!_ISOMAC] (__signgam): Declare.
14966         * math/Makefile (libm-calls): Add w_lgamma_compat.
14967         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14968         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14969         test-signgam-ullong-init.
14970         (tests-static): Add test-signgam-uchar-static,
14971         test-signgam-uchar-init-static, test-signgam-uint-static,
14972         test-signgam-uint-init-static, test-signgam-ullong-static and
14973         test-signgam-ullong-init-static.
14974         (CFLAGS-test-signgam-uchar.c): New variable.
14975         (CFLAGS-test-signgam-uchar-init.c): Likewise.
14976         (CFLAGS-test-signgam-uchar-static.c): Likewise.
14977         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14978         (CFLAGS-test-signgam-uint.c): Likewise.
14979         (CFLAGS-test-signgam-uint-init.c): Likewise.
14980         (CFLAGS-test-signgam-uint-static.c): Likewise.
14981         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14982         (CFLAGS-test-signgam-ullong.c): Likewise.
14983         (CFLAGS-test-signgam-ullong-init.c): Likewise.
14984         (CFLAGS-test-signgam-ullong-static.c): Likewise.
14985         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14986         * math/Versions (libm): Add GLIBC_2.23.
14987         * math/lgamma-compat.h: New file.
14988         * math/test-signgam-main.c: Likewise.
14989         * math/test-signgam-uchar-init-static.c: Likewise.
14990         * math/test-signgam-uchar-init.c: Likewise.
14991         * math/test-signgam-uchar-static.c: Likewise.
14992         * math/test-signgam-uchar.c: Likewise.
14993         * math/test-signgam-uint-init-static.c: Likewise.
14994         * math/test-signgam-uint-init.c: Likewise.
14995         * math/test-signgam-uint-static.c: Likewise.
14996         * math/test-signgam-uint.c: Likewise.
14997         * math/test-signgam-ullong-init-static.c: Likewise.
14998         * math/test-signgam-ullong-init.c: Likewise.
14999         * math/test-signgam-ullong-static.c: Likewise.
15000         * math/test-signgam-ullong.c: Likewise.
15001         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15002         wrapper of w_lgamma_main.c.
15003         * math/w_lgamma_compat.c: New file.
15004         * math/w_lgamma_compatf.c: Likewise.
15005         * math/w_lgamma_compatl.c: Likewise.
15006         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15007         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15008         defining compatibility symbols.
15009         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15010         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15011         wrapper of w_lgammaf_main.c.
15012         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15013         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15014         defining compatibility symbols.
15015         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15016         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15017         wrapper of w_lgammal_main.c.
15018         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15019         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15020         defining compatibility symbols.
15021         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15022         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15023         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15024         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15025         <lgamma-compat.h>.
15026         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15027         (__ieee754_gamma): Define as alias.
15028         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15029         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15030         <lgamma-compat.h>.
15031         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15032         (__ieee754_gammaf): Define as alias.
15033         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15034         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15035         <lgamma-compat.h>.
15036         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15037         (__ieee754_gammal): Define as alias.
15038         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15039         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15040         <math/w_lgamma_compat.c>.
15041         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15042         Define as alias of __lgamma_compat and use in defining lgammal.
15043         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15044         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15045         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15046         (USE_AS_COMPAT): New macro.
15047         (LGAMMA_OLD_VER): Undefine and redefine.
15048         (lgammal): Do not define here.
15049         (gammal): Only define here if [GAMMA_ALIAS].
15050         * conform/linknamespace.pl (@whitelist): Remove signgam.
15051         * sysdeps/nacl/libm.abilist: Update.
15052         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15053         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15054         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15055         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15056         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15057         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15058         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15059         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15060         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15061         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15062         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15063         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15065         Likewise.
15066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15067         Likewise.
15068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15069         Likewise.
15070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15071         Likewise.
15072         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15073         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15074         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15075         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15076         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15078         Likewise.
15079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15080         Likewise.
15081         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15082         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15083         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15085 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15087         [BZ #16364]
15088         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15089         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15091 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15093         * sysdeps/s390/fpu/bits/mathinline.h:
15094         Use __asm__ [__volatile__] instead of asm [volatile].
15095         * sysdeps/s390/abort-instr.h: Likewise.
15096         * sysdeps/s390/atomic-machine.h: Likewise.
15097         * sysdeps/s390/bits/string.h: Likewise.
15098         * sysdeps/s390/dl-tls.h: Likewise.
15099         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15100         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15101         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15102         * sysdeps/s390/fpu/fesetround.c: Likewise.
15103         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15104         * sysdeps/s390/fpu/s_fma.c: Likewise.
15105         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15106         * sysdeps/s390/memusage.h: Likewise.
15107         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15108         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15109         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15110         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15111         * sysdeps/s390/nptl/tls.h: Likewise.
15112         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15113         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15114         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15115         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15116         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15117         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15118         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15119         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15120         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15121         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15122         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15123         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15124         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15125         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15126         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15127         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15128         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15129         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15130         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15131         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15132         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15133         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15134         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15136 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15137             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15139         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15140         Add lwarx hint, and use macro for acquire instruction.
15141         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15142         Likewise.
15143         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15144         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15145         update to use new atomic macros.
15147 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15149         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15150         (__lll_trylock_elision): Fix setting of adapt_count.
15151         * sysdeps/unix/sysv/linux/powerpc/htm.h
15152         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15153         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15154         (_ABORT_SYSCALL): Renumber, and clarify definition.
15155         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15157 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15159         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15160         after system headers to prevent MIN/MAX redefinition.  Define
15161         HAVE_ALLOCA to preserve builtin alloca usage.
15163 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15165         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15166         static and don't set or restore rounding.
15167         (__cos)[IN_SINCOS]: Likewise.
15168         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15169         (__sincos): Set and restore rounding mode.  Remove check for infinite
15170         or NaN input.
15172         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15174         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15175         as used.
15177 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15179         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15181 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15183         * config.make.in (have-glob-dat-reloc): New.
15184         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15185         target supports GLOB_DAT relocaton. AC_SUBST.
15186         * configure: Regenerated.
15187         * elf/Makefile (tests): Add tst-prelink.
15188         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15189         (tst-prelink-ENV): New.
15190         ($(objpfx)tst-prelink-conflict.out): Likewise.
15191         ($(objpfx)tst-prelink-cmp.out): Likewise.
15192         * sysdeps/x86/tst-prelink.c: Moved to ...
15193         * elf/tst-prelink.c: Here.
15194         * sysdeps/x86/tst-prelink.exp: Moved to ...
15195         * elf/tst-prelink.exp: Here.
15196         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15197         (tst-prelink-ENV): Removed.
15198         ($(objpfx)tst-prelink-conflict.out): Likewise.
15199         ($(objpfx)tst-prelink-cmp.out): Likewise.
15200         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15202 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
15204         [BZ #14551]
15205         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15206         (__mpn_construct_long_double): If high part overflows to infinity,
15207         set errno and recompute overflowed result of the correct sign.
15208         * sysdeps/ieee754/ldbl-128ibm/Makefile
15209         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15210         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15211         $(libm).
15212         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15214 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
15216         [BZ #15479]
15217         [BZ #19238]
15218         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15219         floating-point state after first operation on input.  Restore full
15220         state rather than just rounding mode.
15221         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15222         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15223         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15225         [BZ #19235]
15226         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15227         add 0.5 to integer arguments.
15228         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15229         Likewise.
15230         (.LC2): New object.
15232 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
15234         * scripts/pylintrc (reports): Set to no.
15236 2015-11-10  Roland McGrath  <roland@hack.frob.com>
15238         * elf/dl-load.c (open_verify): Take new argument FD.
15239         Skip __open call if passed FD is not -1.
15240         (_dl_map_object, open_path): Update callers.
15241         * elf/dl-sysdep-open.h: New file.
15242         * elf/dl-load.c: Include it.
15243         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15244         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15245         * sysdeps/nacl/dl-sysdep-open.h: New file.
15246         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15247         from libc to rtld.
15249 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15251         [BZ #19228]
15252         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15253         and restore full floating-point state.
15254         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15255         Likewise.
15256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15257         Likewise.
15258         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15259         Likewise.
15260         * math/test-nearbyint-except-2.c: New file.
15261         * math/Makefile (tests): Add test-nearbyint-except-2.
15263 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
15265         [BZ #19178]
15266         * sysdeps/x86/Makefile (tests): Add tst-prelink.
15267         (tst-prelink-ENV): New.
15268         ($(objpfx)tst-prelink-conflict.out): Likewise.
15269         ($(objpfx)tst-prelink-cmp.out): Likewise.
15270         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15271         * sysdeps/x86/tst-prelink.c: New file.
15272         * sysdeps/x86/tst-prelink.exp: Likewise.
15274 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15276         * math/auto-libm-test-in: Add another test of pow.
15277         * math/auto-libm-test-out: Regenerated.
15278         * math/libm-test.inc (pow_test_data): Add another test.
15280 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15282         [BZ #19219]
15283         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15284         weak_alias to nearbyintl.
15286 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15288         * sysdeps/aarch64/bits/string.h: New file.
15289         (_STRING_ARCH_unaligned): Define.
15291 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15293         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15294         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15295         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15296         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15299 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
15301         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15302         for original name of the DSO.  Add it to the name list of the DSO
15303         if it is actually given.
15304         (_dl_map_object): Keep track of whether an audit module rewrote
15305         the file name.  If yes, pass the original name to
15306         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
15307         debugging is enabled, log the change of the file name.
15308         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15309         _dl_map_object_from_fd.
15310         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15311         * elf/tst-audit11.c: New file
15312         * elf/tst-auditmod11.c: New file.
15313         * elf/tst-audit11mod1.c: New file.
15314         * elf/tst-audit11mod2.c: New file.
15315         * elf/tst-audit11mod2.map: New file.
15316         * elf/tst-audit12.c: New file
15317         * elf/tst-auditmod12.c: New file.
15318         * elf/tst-audit12mod1.c: New file.
15319         * elf/tst-audit12mod2.c: New file.
15320         * elf/tst-audit12mod2.map: New file.
15321         * elf/tst-audit12mod3.c: New file.
15323 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15325         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15326         Don't create weak aliases,
15327         because versioned symbols are created later.
15328         * sysdeps/s390/s390-32/setjmp.S
15329         (setjmp, _setjmp): Remove weak and rename to an unique name
15330         in SHARED case due to existing versioned symbols.
15331         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15332         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15333         (getcontext): Create weak alias only in non SHARED case.
15334         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15336 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15338         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15339         (__ASSUME_*_SYSCALL) Define new macros.
15340         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15341         Remove socketcall syscalls.
15342         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15343         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15344         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15345         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15346         * sysdeps/unix/sysv/linux/send.c (__libc_send):
15347         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15349 2015-11-09  Florian Weimer  <fweimer@redhat.com>
15351         [BZ #12926]
15352         Terminate process on invalid netlink response.
15353         * sysdeps/unix/sysv/linux/netlinkaccess.h
15354         (__netlink_assert_response): Declare.
15355         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15356         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15357         (sysdep_routines): Add netlink_assert_response.
15358         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15359         __netlink_assert_response.
15360         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15361         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15362         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15363         __netlink_assert_response.
15365 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15367         [BZ #19178]
15368         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15369         (RTYPE_CLASS_PLT): Likewise.
15370         (RTYPE_CLASS_COPY): Likewise.
15371         (RTYPE_CLASS_TLS): Likewise.
15372         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15373         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
15374         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15375         DL_DEBUG_PRELINK.
15377 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
15379         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15380         calls with argument -0.5.
15381         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15383         * configure.ac (libc_cv_z_nodelete): Remove configure test.
15384         (libc_cv_z_nodlopen): Likewise.
15385         (libc_cv_z_initfirst): Likewise.
15386         * configure: Regenerated.
15388 2015-11-06  Florian Weimer  <fweimer@redhat.com>
15390         Simplify abilist format to be line-based.
15391         * scripts/abilist.awk: Collect descriptors in the descs variable.
15392         (emit): Write descs variable and sort it
15393         externally, with sort.
15394         * sysdeps/**/*.abilist: Convert to new format.
15396 2015-11-06  Mark Wielaard  <mjw@redhat.com>
15398         [BZ #11460]
15399         * io/Makefile (routines): Add fts64.
15400         (tests): Add tst-fts and tst-fts-lfs.
15401         (CFLAGS-fts64.c): New.
15402         * io/Versions (GLIBC_2.23): New.
15403         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15404         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15405         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15406         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15407         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15408         (FTSENT64): Likewise.
15409         (fts64_children): Likewise.
15410         (fts64_close): Likewise.
15411         (fts64_open): Likewise.
15412         (fts64_read): Likewise.
15413         (fts64_set): Likewise.
15414         * io/fts64.c: New file.
15415         * io/tst-fts.c: New test.
15416         * io/tst-fts-lfs.c: Likewise.
15417         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15418         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15419         fts64_set.
15420         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15421         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15422         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15423         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15424         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15425         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15426         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15427         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15428         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15429         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15430         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15431         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15432         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15434         Likewise.
15435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15436         Likewise.
15437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15439         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15440         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15441         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15442         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15446         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15447         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15448         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15449         * sysdeps/wordsize-64/fts.c: New file.
15450         * sysdeps/wordsize-64/fts64.c: Likewise.
15451         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15452         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15453         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15454         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15456 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15458         * math/libm-test.inc (NON_FINITE): New macro.
15459         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15460         * math/gen-libm-test.pl (show_exceptions): Add argument
15461         $non_finite.
15462         (parse_args): Update call to show_exceptions.
15463         * math/test-math-finite.h: New file.
15464         * math/test-math-no-finite.h: Likewise.
15465         * math/test-double-finite.c: Likewise.
15466         * math/test-float-finite.c: Likewise.
15467         * math/test-ldouble-finite.c: Likewise.
15468         * math/test-double.c: Include "test-math-no-finite.h".
15469         * math/test-float.c: Include "test-math-no-finite.h".
15470         * math/test-ldouble.c: Include "test-math-no-finite.h".
15471         * math/test-math-inline.h (TEST_FINITE): New macro.
15472         * math/test-math-vector.h (TEST_FINITE): Likewise.
15473         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15474         (libm-tests): Add test-float-finite and test-double-finite.
15475         ($(objpfx)test-float-finite.o): New dependency on
15476         $(objpfx)libm-test.stmp.
15477         ($(objpfx)test-double-finite.o): Likewise.
15478         ($(objpfx)test-ldouble-finite.o): Likewise.
15479         (libm-test-no-inline-cflags): New variable.
15480         (libm-test-finite-cflags): Likewise.
15481         (CFLAGS-test-float-finite.c): Likewise.
15482         (CFLAGS-test-double-finite.c): Likewise.
15483         (CFLAGS-test-ldouble-finite.c): Likewise.
15484         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15485         (CFLAGS-test-double.c): Likewise.
15486         (CFLAGS-test-ldouble.c): Likewise.
15488 2015-11-05  Roland McGrath  <roland@hack.frob.com>
15490         * io/fcntl.c (__fcntl): Add ... to prototype.
15491         * misc/ioctl.c (__ioctl): Likewise.
15492         * misc/syscall.c (syscall): Likewise.
15494 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15496         * scripts/list-fixed-bugs.py: New file.
15498         [BZ #19213]
15499         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15500         returned for argument 1.
15501         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15502         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15503         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15504         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15505         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15506         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15508         [BZ #19211]
15509         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15510         __USE_XOPEN], not if [!__USE_ISOC99].
15511         (lgammaf): Likewise.
15512         (lgammal): Likewise.
15513         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15514         (gammaf): Likewise.
15515         (gammal): Likewise.
15516         * math/test-signgam-finite-c11.c: New file.
15517         * math/test-signgam-finite-c99.c: Likewise.
15518         * math/test-signgam-finite.c: Likewise.
15519         * math/Makefile (tests): Add test-signgam-finite,
15520         test-signgam-finite-c99 and test-signgam-finite-c11.
15521         (CFLAGS-test-signgam-finite.c): New variable.
15522         (CFLAGS-test-signgam-finite-c99.c): Likewise.
15523         (CFLAGS-test-signgam-finite-c11.c): Likewise.
15525         [BZ #19212]
15526         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15527         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15528         500].
15529         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15530         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15531         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15532         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15533         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15534         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15535         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15536         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15537         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15538         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15540         [BZ #19209]
15541         * math/bits/math-finite.h (ldexp): Remove declaration.
15542         (ldexpf): Likewise.
15543         (ldexpl): Likewise.
15545         [BZ #19205]
15546         * math/bits/math-finite.h (acosf): Condition declaration on
15547         [__USE_ISOC99].
15548         (acosl): Likewise.
15549         (acoshf): Likewise.
15550         (acoshl): Likewise.
15551         (asinf): Likewise.
15552         (asinl): Likewise.
15553         (atan2f): Likewise.
15554         (atan2l): Likewise.
15555         (atanhf): Likewise.
15556         (atanhl): Likewise.
15557         (coshf): Likewise.
15558         (coshl): Likewise.
15559         (expf): Likewise.
15560         (expl): Likewise.
15561         (fmodf): Likewise.
15562         (fmodl): Likewise.
15563         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15564         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15565         (j0l): Likewise.
15566         (y0f): Likewise.
15567         (y0l): Likewise.
15568         (j1f): Likewise.
15569         (j1l): Likewise.
15570         (y1f): Likewise.
15571         (y1l): Likewise.
15572         (jnf): Likewise.
15573         (jnl): Likewise.
15574         (ynf): Likewise.
15575         (ynl): Likewise.
15576         (lgammaf_r): Condition declaration on [__USE_ISOC99].
15577         (lgammal_r): Likewise.
15578         (__lgamma_r_finite): New declaration.
15579         (__lgammaf_r_finite): Likewise.
15580         (__lgammal_r_finite): Likewise.
15581         (lgamma): Use __lgamma_r_finite.
15582         (lgammaf): Condition definition on [__USE_ISOC99].  Use
15583         __lgammaf_r_finite.
15584         (lgammal): Condition definition on [__USE_ISOC99].  Use
15585         __lgammal_r_finite.
15586         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
15587         __lgamma_r_finite.
15588         (gammaf): Condition definition on [__USE_ISOC99].  Use
15589         __lgammaf_r_finite.
15590         (gammal): Condition definition on [__USE_ISOC99].  Use
15591         __lgammal_r_finite.
15592         (logf): Condition declaration on [__USE_ISOC99].
15593         (logl): Likewise.
15594         (log10f): Likewise.
15595         (log10l): Likewise.
15596         (ldexpf): Likewise.
15597         (ldexpl): Likewise.
15598         (powf): Likewise.
15599         (powl): Likewise.
15600         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15601         __USE_ISOC99].
15602         (remainderf): Condition declaration on [__USE_ISOC99].
15603         (remainderl): Likewise.
15604         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15605         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15606         (scalbl): Likewise.
15607         (sinhf): Condition declaration on [__USE_ISOC99].
15608         (sinhl): Likewise.
15609         (sqrtf): Likewise.
15610         (sqrtl): Likewise.
15612 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15614         * sysdeps/arm/atomic-machine.h
15615         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15616         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15617         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15618         Remove conditional code.
15619         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15620         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15621         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15622         Change conditional to [__ASSEMBLER__].
15623         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15624         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15625         [!__ASSEMBLER__].
15626         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15627         code.
15628         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15629         conditional macro definitions.
15630         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15631         (__arch_compare_and_exchange_val_16_acq): Likewise.
15632         (__arch_compare_and_exchange_val_32_acq): Likewise.
15633         (atomic_exchange_and_add): Likewise.
15634         (atomic_add): Likewise.
15635         (atomic_add_negative): Likewise.
15636         (atomic_add_zero): Likewise.
15637         (atomic_bit_set): Likewise.
15638         (atomic_bit_test_set): Likewise.
15639         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15640         code unconditional.
15641         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15643         * math/test-math-errno.h: New file.
15644         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15645         empty.
15646         (TEST_ERRNO): New macro.
15647         (TEST_EXCEPTIONS): Likewise.
15648         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15649         (TEST_EXCEPTIONS): Likewise.
15650         * math/test-math-vector.h (TEST_ERRNO): Likewise.
15651         * math/test-double.c: Include "test-math-errno.h".
15652         * math/test-float.c: Likewise.
15653         * math/test-ldouble.c: Likewise.
15654         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15655         code unconditional.
15656         (test_exceptions): Only run code if TEST_EXCEPTIONS.
15657         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15658         unconditional.
15659         (test_errno): Only run code if TEST_ERRNO.
15660         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15662 2015-11-04  Florian Weimer  <fweimer@redhat.com>
15664         * nptl/tst-once5.cc: Remove attribution.
15666 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15668         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15669         sqrt, tan, tanh, y0, y1 and yn.
15670         * math/auto-libm-test-out: Regenerated.
15671         * math/libm-test.inc (scalb_test_data): Add more tests.
15672         (scalbn_test_data): Likewise.
15673         (scalbln_test_data): Likewise.
15674         (signbit_test_data): Likewise.
15675         (sin_test_data): Likewise.
15676         (sincos_test_data): Likewise.
15677         (sinh_test_data): Likewise.
15678         (sqrt_test_data): Likewise.
15679         (tan_test_data): Likewise.
15680         (tanh_test_data): Likewise.
15681         (tgamma_test_data): Likewise.
15682         (y0_test_data): Likewise.
15683         (y1_test_data): Likewise.
15684         (yn_test_data): Likewise.
15685         (significand_test_data): Likewise.
15686         * sysdeps/i386/fpu/libm-test-ulps: Update.
15688 2015-11-03  David Kastrup  <dak@gnu.org>
15690         [BZ #18604]
15691         * assert/assert.h (assert): Don't macro-expand failed assertion
15692         expression in error message.
15693         * malloc/malloc.c (assert): Likewise.
15695 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
15697         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15698         test.
15699         * configure: Regenerated.
15701 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
15703         * math/libm-test.inc (modf_test_data): Add more tests.
15704         (nearbyint_test_data): Likewise.
15705         (nextafter_test_data): Likewise.
15706         (nexttoward_test_data): Likewise.
15707         (pow_test_data): Likewise.
15708         (remainder_test_data): Likewise.
15709         (remquo_test_data): Likewise.
15710         (rint_test_data): Likewise.
15712         [BZ #19201]
15713         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15714         Check for zero remainder in case of large exponents and ensure
15715         correct sign of result in that case.
15716         * math/libm-test.inc (remainder_test_data): Add more tests.
15718         [BZ #6799]
15719         * math/s_nextafter.c: Include <errno.h>.
15720         (__nextafter): Set errno on overflow and underflow.
15721         * math/s_nexttowardf.c: Include <errno.h>.
15722         (__nexttowardf): Set errno on overflow and underflow.
15723         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15724         (__nextafterl): Set errno on overflow and underflow.
15725         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15726         (__nexttoward): Set errno on overflow and underflow.
15727         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15728         (__nexttowardf): Set errno on overflow and underflow.
15729         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15730         (__nextafterf): Set errno on overflow and underflow.
15731         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15732         (__nextafterl): Set errno on overflow and underflow.
15733         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15734         (__nexttoward): Set errno on overflow and underflow.
15735         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15736         (__nexttowardf): Set errno on overflow and underflow.
15737         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15738         (__nextafterl): Set errno on overflow and underflow.
15739         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15740         (__nexttoward): Set errno on overflow and underflow.
15741         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15742         (__nexttowardf): Set errno on overflow and underflow.
15743         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15744         (__nexttoward): Set errno on overflow and underflow.
15745         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15746         (__nexttowardf): Set errno on overflow and underflow.
15747         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15748         (__nldbl_nexttowardf): Set errno on overflow and underflow.
15749         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15750         (__nextafterl): Set errno on overflow and underflow.
15751         * math/libm-test.inc (nextafter_test_data): Do not allow errno
15752         setting to be missing on overflow.  Add more tests.
15753         (nexttoward_test_data): Likewise.
15755         * configure.ac (libc_cv_initfini_array): Remove configure test.
15756         * configure: Regenerated.
15758 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
15760         [BZ #19189]
15761         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15762         non-finite argument handle arguments with negative sign.
15764         * math/libm-test.inc (j0_test_data): Do not test sign of zero
15765         result from infinite argument.
15766         (j1_test_data): Likewise.
15767         (jn_test_data): Likewise.
15768         (y0_test_data): Likewise.
15769         (y1_test_data): Likewise.
15770         (yn_test_data): Likewise.
15772         [BZ #16171]
15773         * math/w_remainder.c (drem): Define as weak alias of __remainder.
15774         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15775         * math/w_remainderf.c (dremf): Define as weak alias of
15776         __remainderf.
15777         * math/w_remainderl.c (dreml): Define as weak alias of
15778         __remainderl.
15779         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15780         __remainder.
15781         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15782         __remainderf.
15783         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15784         __remainderl.
15785         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15786         weak alias of remainderl.
15787         * sysdeps/ieee754/ldbl-opt/w_remainder.c
15788         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15789         alias of __remainder.
15790         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15791         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15792         strong alias of __remainderl.
15793         (dreml): Use long_double_symbol.
15794         * math/Makefile (libm-calls): Remove w_drem.
15795         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15796         (CFLAGS-nldbl-drem.c): Remove variable.
15797         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15798         * math/w_drem.c: Remove file.
15799         * math/w_dremf.c: Likewise.
15800         * math/w_dreml.c: Likewise.
15801         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15802         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15803         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15805         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15806         * sysdeps/i386/configure: Regenerated.
15807         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15808         * sysdeps/x86_64/configure: Regenerated.
15810         * configure.ac (libc_cv_asm_protected_directive): Remove configure
15811         test.
15812         (libc_cv_visibility_attribute): Likewise.
15813         (libc_cv_protected_data): Test unconditionally.
15814         (libc_cv_broken_visibility_attribute): Remove configure test.
15815         (libc_cv_have_sdata_section): Test unconditionally.
15816         * configure: Regenerated.
15818         * include/libc-internal.h (libc_max_align_t): Remove typedef.
15819         * include/scratch_buffer.h: Include <stddef.h> instead of
15820         <libc-internal.h>.
15821         (struct scratch_buffer): Use max_align_t instead of
15822         libc_max_align_t.
15824 2015-10-29  Florian Weimer  <fweimer@redhat.com>
15826         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15827         instead of extend_alloca.  Change control flow to avoid a goto.
15828         Remove assert which is trivially always true.
15830 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15832         [BZ #16068]
15833         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15834         (FE_ALL_EXCEPT_X86): New macro.
15835         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15836         FE_ALL_EXCEPT.  Ensure precision control is included in
15837         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15838         handle "denormal operand exception" and clear FZ and DAZ bits.
15839         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15840         (FE_ALL_EXCEPT_X86): New macro.
15841         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15842         FE_ALL_EXCEPT.  Ensure precision control is included in
15843         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15844         handle "denormal operand exception" and clear FZ and DAZ bits.
15845         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15846         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15847         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15848         test-fenv-x87 and test-fenv-sse-2.
15849         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15851         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15852         * math/test-double.h (BUILD_COMPLEX): New macro.
15853         * math/test-float.h (BUILD_COMPLEX): Likewise.
15854         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15856         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15857         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15858         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15859         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15860         instead of DBL_DENORM_MIN in comment.
15861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15862         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15863         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15864         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15865         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15866         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15868 2015-10-28  Florian Weimer  <fweimer@redhat.com>
15870         [BZ# 19048]
15871         * malloc/malloc.c (struct malloc_state): Update comment.  Add
15872         attached_threads member.
15873         (main_arena): Initialize attached_threads.
15874         * malloc/arena.c (list_lock): Update comment.
15875         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15876         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15877         (deattach_arena): New function.
15878         (_int_new_arena): Initialize arena reference count and deattach
15879         replaced arena.
15880         (get_free_list, reused_arena): Update reference count and deattach
15881         replaced arena.
15882         (arena_thread_freeres): Update arena reference count and only put
15883         unreferenced arenas on the free list.
15885 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15887         [BZ #19181]
15888         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15889         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15890         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15891         * math/test-fenv-clear-main.c: New file.
15892         * math/test-fenv-clear.c: Likewise.
15893         * math/Makefile (tests): Add test-fenv-clear.
15894         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15895         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15896         test-fenv-clear-sse.
15897         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15899         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15900         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15901         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15903 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15905         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15906         static libc.
15908 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15910         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15911         test.
15912         * sysdeps/i386/configure: Regenerated.
15913         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15914         test.
15915         * sysdeps/x86_64/configure: Regenerated.
15916         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15917         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15918         memset-avx2 unconditionally instead of conditionally on
15919         [$(config-cflags-avx2) = yes].
15920         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15921         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15922         unconditional.
15923         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15924         * sysdeps/x86_64/multiarch/memset_chk.S
15925         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15926         to [IS_IN (libc) && SHARED].
15928 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15930         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15931         configure test.
15932         * sysdeps/arm/configure: Regenerated.
15933         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15934         Define variable if not already defined.
15936         [BZ #17404]
15937         * sysdeps/mips/atomic-machine.h
15938         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15939         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15940         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15942         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15943         unconditional.
15944         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15945         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15946         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15947         unconditional.
15948         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15949         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15950         unconditional.
15951         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15952         * stdlib/setenv.c
15953         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15954         code unconditional.
15955         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15956         Remove conditional code.
15957         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15958         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15959         unconditional.
15960         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15961         code.
15962         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15963         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15964         unconditional.
15965         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15966         code.
15967         * sysdeps/ieee754/ldbl-128/k_tanl.c
15968         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15969         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15970         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15971         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15972         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15973         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15974         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15975         unconditional.
15976         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15977         code.
15978         * sysdeps/ieee754/ldbl-96/k_tanl.c
15979         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15980         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15982         * nptl/tst-initializers1-c11.c: New file.
15983         * nptl/tst-initializers1-gnu11.c: Likewise.
15984         * nptl/Makefile (tests): Add these new tests.
15985         (CFLAGS-tst-initializers1-c11.c): New variable.
15986         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15988         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
15989         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
15990         instead of -std=gnu99.
15991         * configure.ac (systemtap): Test with -std=gnu11 instead of
15992         -std=gnu99.
15993         * configure: Regenerated.
15994         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
15995         in compilation command in comment.
15997         * sysdeps/nptl/configure.ac: Remove file.
15998         * sysdeps/nptl/configure: Remove generated file.
15999         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16000         * configure: Regenerated.
16001         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16002         * config.make.in (have-forced-unwind): Remove variable.
16003         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16004         unconditional.
16005         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16006         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16007         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16008         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16009         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16010         unconditional.
16012 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16014         [BZ #19174]
16015         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16016         .skip_lock_out_of_tbegin_retries.
16017         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16018         (__lll_lock_elision): Likewise, and respect a value of
16019         try_tbegin <= 0.
16021 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16023         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16024         statement.
16026 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16028         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16029         variable.
16030         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16031         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16033         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16034         of -std=c1x -D_ISOC11_SOURCE.
16036         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16037         * configure: Regenerated.
16038         * manual/install.texi (Tools for Compilation): Document
16039         requirement for GCC 4.7 or later.
16040         * INSTALL: Regenerated.
16042 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16044         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16045         on CNT to a conditional jump to 'puntdata'.
16047 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16049         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16050         (libc_cv_gcc_tls_model_attr): Likewise.
16051         * configure: Regenerated.
16053         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16054         * configure: Regenerated.
16055         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16057 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16059         * configure.ac (old_glibc_headers): Remove configure test.
16060         * configure: Regenerated.
16061         * config.make.in (old-glibc-headers): Remove variable.
16062         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16063         (install): Remove dependency on remove-old-headers.
16064         (headers2_0): Remove variable.
16065         (remove-old-headers): Remove rule.
16067         * configure.ac (libc_cv_dot_text): Remove configure test.
16068         (libc_cv_asm_set_directive): Use .text instead of
16069         ${libc_cv_dot_text} in configure test.
16070         * configure: Regenerated.
16072 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16074         [BZ #19168]
16075         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16077 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16079         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16080         not support static linking.
16081         * configure: Regenerate.
16083 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16085         * math/libm-test.inc (check_float_internal): Do not special-case
16086         errors up to 0.5 ulp.
16088         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16089         log2.
16090         * math/auto-libm-test-out: Regenerated.
16091         * math/libm-test.inc (MAX_EXP): New macro.
16092         (ilogb_test_data): Add more tests.
16093         (isfinite_test_data): Likewise.
16094         (isgreater_test_data): Likewise.
16095         (isgreaterequal_test_data): Likewise.
16096         (isinf_test_data): Likewise.
16097         (isless_test_data): Likewise.
16098         (islessequal_test_data): Likewise.
16099         (islessgreater_test_data): Likewise.
16100         (isnan_test_data): Likewise.
16101         (isnormal_test_data): Likewise.
16102         (issignaling_test_data): Likewise.
16103         (isunordered_test_data): Likewise.
16104         (j0_test_data): Likewise.
16105         (j1_test_data): Likewise.
16106         (jn_test_data): Likewise.
16107         (lgamma_test_data): Likewise.
16108         (log_test_data): Likewise.
16109         (log10_test_data): Likewise.
16110         (log1p_test_data): Likewise.
16111         (log2_test_data): Likewise.
16112         (logb_test_data): Likewise.
16113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16115         [BZ #18611]
16116         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16117         avoid excess range and precision on underflow.
16118         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16119         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16120         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16121         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16122         underflow.
16123         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16124         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16125         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16126         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16127         * math/auto-libm-test-in: Do not allow missing errno setting for
16128         tests of j1 and jn.
16129         * math/auto-libm-test-out: Regenerated.
16131 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16133         [BZ #15491]
16134         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16135         floating-point environment instead of clearing all exceptions.
16136         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16137         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16138         merging in "invalid" exceptions from frndint.
16139         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16140         * math/test-nearbyint-except.c: New file.
16141         * math/Makefile (tests): Add test-nearbyint-except.
16143 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16145         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16147         * sysdeps/tile/libm-test-ulps: Regenerated.
16149 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16152         (__NR_sync_file_range2): Assume it is always defined.
16153         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16154         (__NR_sync_file_range): Assume it is always defined.
16156 2015-10-22  Andreas Schwab  <schwab@suse.de>
16158         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16159         INTERNAL_SYSCALL_ERRNO.
16160         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16161         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16162         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16163         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16164         Likewise.
16165         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16167 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16169         * io/tst-fcntl.c (fd): New static variable.
16170         (do_prepare): Open temporary file here....
16171         (do_test): ...not here.
16173         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16175 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16177         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16178         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16179         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16180         Moved before "#ifdef __ASSEMBLER__".
16182 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16184         [BZ #19156]
16185         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16186         arguments very close to 0.
16188 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16190         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16191         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16193 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16195         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16196         New.  Defined for GCC 5 and above when not compiling for
16197         profiling.
16198         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16200         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16201         Renamed to ...
16202         (CFLAGS-epoll_pwait.o): This.
16203         (CFLAGS-mmap.c): Renamed to ...
16204         (CFLAGS-mmap.o): This.
16205         (CFLAGS-mmap64.c): Renamed to ...
16206         (CFLAGS-mmap64.o): This.
16207         (CFLAGS-epoll_pwait.os): New.
16208         (CFLAGS-mmap.os): Likewise.
16209         (CFLAGS-mmap64.os): Likewise.
16210         (CFLAGS-semtimedop.os): Likewise.
16211         (CFLAGS-semtimedop.c): Renamed to ...
16212         (CFLAGS-semtimedop.o): This.
16214 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16216         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16217         warning message.
16219 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16221         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16222         * Makefile ($(objpfx)c++-types-check.out): Filter out
16223         $(+gccwarn-c) instead of -Wstrict-prototypes.
16225         * io/fts.c (fts_open): Convert to prototype-style function
16226         definition.
16227         * malloc/mcheck.c (mcheck): Likewise.
16228         (mcheck_pedantic): Likewise.
16229         * posix/regexec.c (re_search_2_stub): Likewise.  Use
16230         internal_function.
16231         (re_search_internal): Likewise.
16232         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16233         prototype-style function definition.
16234         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16235         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16236         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16237         (xdr_utmpptr): Likewise.
16238         (xdr_utmparr): Likewise.
16239         (xdr_utmpidle): Likewise.
16240         (xdr_utmpidleptr): Likewise.
16241         (xdr_utmpidlearr): Likewise.
16243         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16244         log, log10 and log2.
16245         * math/auto-libm-test-out: Regenerated.
16246         * math/libm-test.inc (fmod_test_data): Add more tests.
16247         (fpclassify_test_data): Likewise.
16248         (frexp_test_data): Likewise.
16249         (hypot_test_data): Likewise.
16250         (ilogb_test_data): Likewise.
16252 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
16254         * debug/fortify_fail.c (__fortify_fail): Convert to
16255         prototype-style function definition.  Use internal_function.
16256         * libio/genops.c (save_for_backup): Convert to prototype-style
16257         function definition.
16258         * libio/wgenops.c (save_for_wbackup): Likewise.
16259         * login/grantpt.c (grantpt): Likewise.
16260         * login/ptsname.c (ptsname): Likewise.
16261         (__ptsname_r): Likewise.
16262         * login/unlockpt.c (unlockpt): Likewise.
16263         * mach/msgserver.c (__mach_msg_server): Likewise.
16264         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16265         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16266         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16267         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16268         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16269         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16270         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16271         Likewise.
16272         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
16273         internal_function.
16274         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16275         prototype-style function definition.
16276         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16277         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16278         (__pthread_create_2_0): Likewise.
16279         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16280         * nptl/register-atfork.c (__register_atfork): Likewise.
16281         * posix/glob.c (glob): Likewise.
16282         * posix/regcomp.c (re_comp): Likewise.
16283         * posix/regexec.c (re_exec): Likewise.
16284         * stdlib/add_n.c [__STDC__]: Make code unconditional.
16285         [!__STDC__]: Remove conditional code.
16286         * stdlib/cmp.c [__STDC__]: Make code unconditional.
16287         [!__STDC__]: Remove conditional code.
16288         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16289         [!__STDC__]: Remove conditional code.
16290         * stdlib/divrem.c [__STDC__]: Make code unconditional.
16291         [!__STDC__]: Remove conditional code.
16292         * stdlib/lshift.c [__STDC__]: Make code unconditional.
16293         [!__STDC__]: Remove conditional code.
16294         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16295         [!__STDC__]: Remove conditional code.
16296         * stdlib/mul.c [__STDC__]: Make code unconditional.
16297         [!__STDC__]: Remove conditional code.
16298         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16299         [!__STDC__]: Remove conditional code.
16300         * stdlib/rshift.c [__STDC__]: Make code unconditional.
16301         [!__STDC__]: Remove conditional code.
16302         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16303         function definition.
16304         (STRTOF): Likewise.
16305         * stdlib/strtod_l.c (__STRTOF): Likewise.
16306         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16307         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16308         (__strtol_l): Likewise.
16309         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16310         [!__STDC__]: Remove conditional code.
16311         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16312         definition.
16313         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16314         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16315         type.
16316         (__strcasecmp): Convert to prototype-style function definition.
16317         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16318         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16319         type.
16320         (__strncasecmp): Convert to prototype-style function definition.
16321         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16322         * sunrpc/xdr.c (xdr_union): Likewise.
16323         * sunrpc/xdr_array.c (xdr_array): Likewise.
16324         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16325         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16326         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16327         Likewise.
16328         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16329         Likewise.
16330         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16331         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16332         Likewise.
16333         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16334         (LOCALE_PARAM_PROTO): Likewise.
16335         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16336         argument type.
16337         (ut_argument_spec): Remove macro.
16338         (ut_argument_spec_iso): Rename to ut_argument_spec.
16339         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
16340         prototype-style function definition.
16341         (memcpy_uppcase): Likewise.
16342         (__strftime_internal): Likewise.
16343         (my_strftime): Likewise.
16344         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16345         (LOCALE_PARAM_DECL): Likewise.
16346         [_LIBC] (LOCALE_PARAM): Include argument type.
16347         (__strptime_internal): Convert to prototype-style function
16348         definition.
16349         (strptime): Likewise.
16350         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16351         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16352         type.
16353         (__wcscasecmp): Convert to prototype-style function definition.
16354         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16355         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16356         type.
16357         (__wcsncasecmp): Convert to prototype-style function definition.
16359         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16360         function definition.
16361         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16362         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16363         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16364         * elf/dl-minimal.c (_itoa): Likewise.
16365         * hurd/hurdmalloc.c (malloc): Likewise.
16366         (free): Likewise.
16367         (realloc): Likewise.
16368         * inet/inet6_option.c (inet6_option_space): Likewise.
16369         (inet6_option_init): Likewise.
16370         (inet6_option_append): Likewise.
16371         (inet6_option_alloc): Likewise.
16372         (inet6_option_next): Likewise.
16373         (inet6_option_find): Likewise.
16374         * io/ftw.c (FTW_NAME): Likewise.
16375         (NFTW_NAME): Likewise.
16376         (NFTW_NEW_NAME): Likewise.
16377         (NFTW_OLD_NAME): Likewise.
16378         * libio/iofwide.c (_IO_fwide): Likewise.
16379         * libio/strops.c (_IO_str_init_static_internal): Likewise.
16380         (_IO_str_init_static): Likewise.
16381         (_IO_str_init_readonly): Likewise.
16382         (_IO_str_overflow): Likewise.
16383         (_IO_str_underflow): Likewise.
16384         (_IO_str_count): Likewise.
16385         (_IO_str_seekoff): Likewise.
16386         (_IO_str_pbackfail): Likewise.
16387         (_IO_str_finish): Likewise.
16388         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16389         (_IO_wstr_overflow): Likewise.
16390         (_IO_wstr_underflow): Likewise.
16391         (_IO_wstr_count): Likewise.
16392         (_IO_wstr_seekoff): Likewise.
16393         (_IO_wstr_pbackfail): Likewise.
16394         (_IO_wstr_finish): Likewise.
16395         * locale/programs/localedef.c (normalize_codeset): Likewise.
16396         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16397         (add_locales_to_archive): Likewise.
16398         (delete_locales_from_archive): Likewise.
16399         * malloc/malloc.c (__libc_mallinfo): Likewise.
16400         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16401         * misc/tsearch.c (__tfind): Likewise.
16402         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16403         * nptl/pthread_attr_getdetachstate.c
16404         (__pthread_attr_getdetachstate): Likewise.
16405         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16406         Likewise.
16407         * nptl/pthread_attr_getinheritsched.c
16408         (__pthread_attr_getinheritsched): Likewise.
16409         * nptl/pthread_attr_getschedparam.c
16410         (__pthread_attr_getschedparam): Likewise.
16411         * nptl/pthread_attr_getschedpolicy.c
16412         (__pthread_attr_getschedpolicy): Likewise.
16413         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16414         Likewise.
16415         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16416         Likewise.
16417         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16418         Likewise.
16419         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16420         Likewise.
16421         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16422         (__pthread_attr_init_2_0): Likewise.
16423         * nptl/pthread_attr_setdetachstate.c
16424         (__pthread_attr_setdetachstate): Likewise.
16425         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16426         Likewise.
16427         * nptl/pthread_attr_setinheritsched.c
16428         (__pthread_attr_setinheritsched): Likewise.
16429         * nptl/pthread_attr_setschedparam.c
16430         (__pthread_attr_setschedparam): Likewise.
16431         * nptl/pthread_attr_setschedpolicy.c
16432         (__pthread_attr_setschedpolicy): Likewise.
16433         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16434         Likewise.
16435         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16436         Likewise.
16437         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16438         Likewise.
16439         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16440         Likewise.
16441         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16442         Likewise.
16443         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16444         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16445         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16446         use internal_function.
16447         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16448         prototype-style function definition.
16449         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16450         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
16451         internal_function.
16452         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16453         Convert to prototype-style function definition.
16454         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16455         Likewise.
16456         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16457         Likewise.
16458         (__pthread_mutex_unlock): Likewise.
16459         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16460         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16461         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16462         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16463         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16464         * nss/makedb.c (process_input): Likewise.
16465         * posix/fnmatch.c (__strchrnul): Likewise.
16466         (__wcschrnul): Likewise.
16467         (fnmatch): Likewise.
16468         * posix/fnmatch_loop.c (FCT): Likewise.
16469         * posix/glob.c (globfree): Likewise.
16470         (__glob_pattern_type): Likewise.
16471         (__glob_pattern_p): Likewise.
16472         * posix/regcomp.c (re_compile_pattern): Likewise.
16473         (re_set_syntax): Likewise.
16474         (re_compile_fastmap): Likewise.
16475         (regcomp): Likewise.
16476         (regerror): Likewise.
16477         (regfree): Likewise.
16478         * posix/regexec.c (regexec): Likewise.
16479         (re_match): Likewise.
16480         (re_search): Likewise.
16481         (re_match_2): Likewise.
16482         (re_search_2): Likewise.
16483         (re_search_stub): Likewise.  Use internal_function
16484         (re_copy_regs): Likewise.
16485         (re_set_registers): Convert to prototype-style function
16486         definition.
16487         (prune_impossible_nodes): Likewise.  Use internal_function.
16488         * resolv/inet_net_pton.c (inet_net_pton): Convert to
16489         prototype-style function definition.
16490         (inet_net_pton_ipv4): Likewise.
16491         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16492         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16493         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16494         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16495         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16496         Make variadic.
16497         * time/strptime_l.c (localtime_r): Convert to prototype-style
16498         function definition.
16499         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16500         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16501         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16502         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16504         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16505         definition.
16506         (_ufc_doit_r): Likewise.
16507         * crypt/crypt_util.c (_ufc_copymem): Likewise.
16508         (_ufc_output_conversion_r): Likewise.
16509         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16510         * inet/rcmd.c (rcmd_af): Likewise.
16511         (rcmd): Likewise.
16512         (ruserok_af): Likewise.
16513         (ruserok): Likewise.
16514         (ruserok2_sa): Likewise.
16515         (ruserok_sa): Likewise.
16516         (iruserok_af): Likewise.
16517         (iruserok): Likewise.
16518         (__ivaliduser): Likewise.
16519         (__validuser2_sa): Likewise.
16520         * inet/rexec.c (rexec_af): Likewise.
16521         (rexec): Likewise.
16522         * inet/ruserpass.c (ruserpass): Likewise.
16523         * locale/programs/xmalloc.c (xcalloc): Likewise.
16524         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16525         * math/w_drem.c (__drem): Likewise.
16526         * math/w_dremf.c (__dremf): Likewise.
16527         * math/w_dreml.c (__dreml): Likewise.
16528         * misc/daemon.c (daemon): Likewise.
16529         * resolv/res_debug.c (p_fqnname): Likewise.
16530         * stdlib/div.c (div): Likewise.
16531         * string/memcmp.c (memcmp_bytes): Likewise.
16532         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16533         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16535         * crypt/cert.c (main): Convert to prototype-style function
16536         definition.
16537         * io/pipe.c (__pipe): Likewise.
16538         * io/pipe2.c (__pipe2): Likewise.
16539         * misc/futimesat.c (futimesat): Likewise.
16540         * misc/utimes.c (__utimes): Likewise.
16541         * posix/execve.c (__execve): Likewise.
16542         * posix/execvp.c (execvp): Likewise.
16543         * posix/execvpe.c (__execvpe): Likewise.
16544         * posix/fexecve.c (fexecve): Likewise.
16545         * socket/socketpair.c (socketpair): Likewise.
16546         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16547         * stdlib/erand48.c (erand48): Likewise.
16548         * stdlib/erand48_r.c (__erand48_r): Likewise.
16549         * stdlib/jrand48.c (jrand48): Likewise.
16550         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16551         * stdlib/lcong48.c (lcong48): Likewise.
16552         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16553         * stdlib/nrand48.c (nrand48): Likewise.
16554         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16555         * stdlib/seed48.c (seed48): Likewise.
16556         * stdlib/seed48_r.c (__seed48_r): Likewise.
16557         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16558         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16559         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16561 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16563         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16564         * configure: Regenerated.
16565         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16566         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16567         unconditional.
16568         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16569         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16570         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16571         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16572         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16573         unconditional.
16574         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16576         * posix/Makefile (CFLAGS-regex.c): Remove variable.
16577         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16579         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16580         function definition.
16581         * crypt/crypt_util.c (__encrypt_r): Likewise.
16582         * libio/genops.c (_IO_no_init): Likewise.
16583         * libio/iofopncook.c (_IO_fopencookie): Likewise.
16584         (_IO_old_fopencookie): Likewise.
16585         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16586         * libio/iogetline.c (_IO_getline): Likewise.
16587         (_IO_getline_info): Likewise.
16588         * libio/iogetwline.c (_IO_getwline): Likewise.
16589         (_IO_getwline_info): Likewise.
16590         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16591         * libio/vswprintf.c (_IO_vswprintf): Likewise.
16592         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16593         (find_entry): Likewise.
16594         (iterate_table): Likewise.
16595         (lookup): Likewise.
16596         * login/forkpty.c (forkpty): Likewise.
16597         * misc/hsearch_r.c (__hsearch_r): Likewise.
16598         * misc/select.c (__select): Likewise.
16599         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16600         Likewise.
16601         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16602         Likewise.
16603         * nptl/old_pthread_cond_timedwait.c
16604         (__pthread_cond_timedwait_2_0): Likewise.
16605         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16606         * nptl/pthread_barrierattr_getpshared.c
16607         (pthread_barrierattr_getpshared): Likewise.
16608         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16609         Likewise.
16610         * nptl/pthread_mutex_setprioceiling.c
16611         (pthread_mutex_setprioceiling): Likewise.
16612         * nptl/pthread_mutexattr_getprioceiling.c
16613         (pthread_mutexattr_getprioceiling): Likewise.
16614         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16615         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16616         Likewise.
16617         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16618         Likewise.
16619         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16620         Likewise.
16621         * socket/recvfrom.c (__recvfrom): Likewise.
16622         * socket/sendto.c (__sendto): Likewise.
16623         * socket/setsockopt.c (__setsockopt): Likewise.
16624         * stdio-common/_itoa.c (_itoa): Likewise.
16625         * stdio-common/_itowa.c (_itowa): Likewise.
16626         * stdio-common/reg-printf.c (__register_printf_specifier):
16627         Likewise.
16628         (__register_printf_function): Likewise.
16629         * stdio-common/tempname.c (__path_search): Likewise.
16630         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16631         * stdlib/mul_1.c (mpn_mul_1): Likewise.
16632         * stdlib/random_r.c (__initstate_r): Likewise.
16633         * stdlib/setenv.c (__add_to_environ): Likewise.
16634         * stdlib/submul_1.c (mpn_submul_1): Likewise.
16635         * streams/getpmsg.c (getpmsg): Likewise.
16636         * streams/putmsg.c (putmsg): Likewise.
16637         * streams/putpmsg.c (putpmsg): Likewise.
16638         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16639         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16640         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16641         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16642         * sunrpc/pm_getport.c (pmap_getport): Likewise.
16643         * sunrpc/svc_udp.c (cache_get): Likewise.
16644         * sunrpc/xdr_array.c (xdr_vector): Likewise.
16645         * sysdeps/mach/hurd/getcwd.c
16646         (__canonicalize_directory_name_internal): Likewise.
16647         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16648         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16649         * sysdeps/mach/hurd/select.c (__select): Likewise.
16650         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16651         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16652         * sysdeps/sparc/nptl/pthread_barrier_init.c
16653         (__pthread_barrier_init): Likewise.
16654         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16655         (__pthread_cond_timedwait): Likewise.
16656         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16657         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16658         Likewise.
16659         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16660         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16661         Likewise.
16662         * sysvipc/semtimedop.c (semtimedop): Likewise.
16663         * time/setitimer.c (__setitimer): Likewise.
16664         * time/strftime_l.c (emacs_strftime): Likewise.
16666 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16668         * config.make.in (have-ssp): Delete.
16669         (stack-protector): New variable.
16670         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
16671         cache test for -fstack-protector-strong.  Export stack_protector to
16672         the best ssp flag.
16673         * configure: Regenerated.
16674         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16675         * nscd/Makefile (CFLAGS-nscd): Likewise.
16676         * resolv/Makefile (CFLAGS-libresolv): Likewise.
16678 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
16680         [BZ #19122]
16681         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16682         attribute_hidden.
16684 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16686         [BZ #18743]
16687         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16688         code to...
16689         (ELIDE_LOCK): ...here.
16690         (__get_new_count): New function with part of the code from
16691         __elide_lock that updates the value of adapt_count after a
16692         transaction abort.
16693         (__elided_trylock): Moved this code to...
16694         (ELIDE_TRYLOCK): ...here.
16696 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16698         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16699         * configure: Regenerate.
16700         * INSTALL: Regenerate.
16701         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16702         and tweak grammar.
16704 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
16706         * login/programs/pt_chown.c: Include signal.h
16707         (main): Clear any signal mask from the parent process.
16709 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16711         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16712         * configure: Regenerated.
16713         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16714         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16715         $(gnu89-inline-CFLAGS).
16717         * configure.ac (libc_cv_asm_weak_directive): Remove configure
16718         test.
16719         (libc_cv_asm_weakext_directive): Likewise.
16720         * configure: Regenerated.
16721         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16722         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16723         * include/libc-symbols.h
16724         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16725         #error.
16726         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16727         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16729         * sysdeps/arm/backtrace.c (__backtrace): Convert to
16730         prototype-style function definition.
16731         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16732         * sysdeps/i386/ffs.c (__ffs): Likewise.
16733         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16734         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16735         Likewise.
16736         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16737         Likewise.
16738         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16739         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16740         Likewise.
16741         * sysdeps/m68k/ffs.c (__ffs): Likewise.
16742         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16743         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16744         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16745         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16746         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16747         * sysdeps/mach/hurd/access.c (__access): Likewise.
16748         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16749         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16750         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16751         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16752         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16753         (cthread_getspecific): Likewise.
16754         (cthread_setspecific): Likewise.
16755         (__libc_getspecific): Likewise.
16756         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16757         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16758         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16759         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16760         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16761         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16762         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16763         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16764         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16765         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16766         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16767         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16768         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16769         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16770         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16771         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16772         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16773         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16774         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16775         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16776         * sysdeps/mach/hurd/link.c (__link): Likewise.
16777         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16778         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16779         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16780         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16781         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16782         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16783         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16784         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16785         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16786         * sysdeps/mach/hurd/rename.c (rename): Likewise.
16787         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16788         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16789         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16790         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16791         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16792         * sysdeps/mach/hurd/send.c (__send): Likewise.
16793         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16794         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16795         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16796         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16797         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16798         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16799         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16800         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16801         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16802         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16803         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16804         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16805         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16806         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16807         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16808         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16809         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16810         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16811         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16812         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16813         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16814         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16815         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16816         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16817         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16818         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16819         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16820         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16821         * sysdeps/posix/alarm.c (alarm): Likewise.
16822         * sysdeps/posix/cuserid.c (cuserid): Likewise.
16823         * sysdeps/posix/dirfd.c (dirfd): Likewise.
16824         * sysdeps/posix/dup.c (__dup): Likewise.
16825         * sysdeps/posix/dup2.c (__dup2): Likewise.
16826         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16827         (main): Likewise.
16828         * sysdeps/posix/flock.c (__flock): Likewise.
16829         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16830         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16831         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16832         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16833         * sysdeps/posix/isatty.c (__isatty): Likewise.
16834         * sysdeps/posix/killpg.c (killpg): Likewise.
16835         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16836         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16837         * sysdeps/posix/raise.c (raise): Likewise.
16838         * sysdeps/posix/remove.c (remove): Likewise.
16839         * sysdeps/posix/rename.c (rename): Likewise.
16840         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16841         * sysdeps/posix/seekdir.c (seekdir): Likewise.
16842         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16843         * sysdeps/posix/sigignore.c (sigignore): Likewise.
16844         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16845         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16846         * sysdeps/posix/sigset.c (sigset): Likewise.
16847         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16848         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16849         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16850         * sysdeps/posix/time.c (time): Likewise.
16851         * sysdeps/posix/ttyname.c (getttyname): Likewise.
16852         (ttyname): Likewise.
16853         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16854         * sysdeps/posix/utime.c (utime): Likewise.
16855         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16856         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16857         Likewise.
16858         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16859         (pthread_spin_trylock): Likewise.
16860         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16861         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16862         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16863         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16864         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16865         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16866         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16867         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16868         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16869         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16870         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16871         * sysdeps/s390/ffs.c (__ffs): Likewise.
16872         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16873         Likewise.
16874         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16875         Likewise.
16876         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16877         Likewise.
16878         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16879         (pthread_barrier_destroy): Likewise.
16880         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16881         (__pthread_barrier_wait): Likewise.
16882         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16883         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16884         (__pthread_barrier_wait): Likewise.
16885         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16886         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16887         (memcmp_not_common_alignment): Likewise.
16888         (MEMCMP): Likewise.
16889         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16890         (_wordcopy_fwd_dest_aligned): Likewise.
16891         (_wordcopy_bwd_aligned): Likewise.
16892         (_wordcopy_bwd_dest_aligned): Likewise.
16893         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16894         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16895         * sysdeps/unix/bsd/stty.c (stty): Likewise.
16896         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16897         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16898         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16899         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16900         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16901         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16902         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16903         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16904         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16905         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16906         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16907         * sysdeps/unix/stime.c (stime): Likewise.
16908         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16909         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16910         Likewise.  Use internal_function.
16911         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16912         Convert to prototype-style function definition.
16913         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16914         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16915         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16916         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16917         Likewise.  Use internal_function.
16918         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16919         prototype-style function definition
16920         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16921         Likewise.
16922         (__getlogin_r): Likewise.
16923         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16924         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16925         (__pthread_cond_broadcast): Likewise.
16926         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16927         (__pthread_cond_destroy): Likewise.
16928         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16929         (__pthread_cond_init): Likewise.
16930         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16931         (__pthread_cond_signal): Likewise.
16932         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16933         (__pthread_cond_wait): Likewise.
16934         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16935         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16936         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16937         Likewise.
16938         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16939         Likewise.
16940         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16941         Likewise.
16942         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16943         Likewise.
16944         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16946         (__ftruncate64): Likewise.
16947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16948         (truncate64): Likewise.
16949         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16950         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16951         (pthread_getcpuclockid): Likewise.
16952         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16953         Likewise.
16954         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16955         Likewise.
16956         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16957         Likewise.
16958         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16959         Likewise.
16960         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16961         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16962         (__libc_sigaction): Likewise.
16963         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16964         Likewise.
16965         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16966         (__sigprocmask): Likewise.
16967         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16968         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16969         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16970         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16971         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16972         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16973         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16974         Likewise.
16975         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16976         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16977         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16978         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16979         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16980         Likewise.
16981         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16982         (__sigprocmask): Likewise.
16983         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16984         (cfgetispeed): Likewise.
16985         (cfsetospeed): Likewise.
16986         (cfsetispeed): Likewise.
16987         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
16988         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
16989         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16990         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16991         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
16992         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
16993         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
16994         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
16995         Likewise.
16996         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
16997         Likewise.
16998         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
16999         Likewise.
17000         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17001         Likewise.
17002         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17004 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17006         sunrpc: Rewrite with explicit TLS access using __thread.
17007         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17008         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17009         directly.
17010         (__rpc_thread_variables): Access thread_rpc_vars directly.
17011         Eliminate redundant assignment of the tvp variable.
17013 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17015         malloc: Rewrite with explicit TLS access using __thread.
17016         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17017         (tsd_setspecific, tsd_getspecific): Remove.
17018         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17019         (tsd_setspecific, tsd_getspecific): Likewise.
17020         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17021         (tsd_setspecific, tsd_getspecific): Likewise.
17022         * malloc/arena.c (thread_arena): New TLS variable.
17023         (arena_key): Remove variable.
17024         (arena_get): Use thread_arena.
17025         (arena_lookup): Remove macro.
17026         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17027         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17028         (_int_new_arena, get_free_list, reused_arena)
17029         (arena_thread_freeres): Use thread_arena.
17030         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17031         tsd_getspecific, tsd_setspecific from safety annotations.
17032         (Allocating Cleared Space): Remove arena_lookup from safety
17033         annotations.
17035 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17037         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17038         struct scratch_buffer instead of extend_alloca.
17040 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17042         * sysdeps/unix/sysv/linux/kernel-features.h
17043         (__ASSUME_SOCK_CLOEXEC): Remove.
17044         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17045         (__have_paccept): Remove unused macro.
17046         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17047         * misc/syslog.c (openlog_internal): Remove fallback code for
17048         !__ASSUME_SOCK_CLOEXEC.
17049         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17050         missing SOCK_CLOEXEC.
17051         * nscd/connections.c (have_sock_cloexec): Remove definition.
17052         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17053         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17054         !__ASSUME_SOCK_CLOEXEC.
17055         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17056         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17057         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17058         definition.
17059         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17060         code for !__ASSUME_SOCK_CLOEXEC.
17062 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17064         [BZ #18982]
17065         * manual/stdio.texi (Variable Arguments Output): Add portability
17066         note, explaining that vfprintf clobbers the va_list pointer.
17068 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17070         * math/libm-test.inc (fabs_test_data): Add more tests.
17071         (fdim_test_data): Likewise.
17072         (fma_test_data): Likewise.
17073         (fmax_test_data): Likewise.
17074         (fmin_test_data): Likewise.
17075         (fmod_test_data): Likewise.
17077 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17079         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17080         data.
17082 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17084         * math/libm-test.inc (ceil_test_data): Add more tests and more
17085         expectations for "inexact".
17086         (floor_test_data): Add more tests.
17087         (round_test_data): Likewise.
17088         (trunc_test_data): Likewise.
17090         * crypt/cert.c (good_bye): Convert to prototype-style function
17091         definition.
17092         (get8): Likewise.
17093         (put8): Likewise.
17094         * crypt/crypt-entry.c (crypt): Likewise.
17095         (__fcrypt): Likewise.
17096         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17097         (_ufc_set_bits): Likewise.
17098         (_ufc_clearmem): Likewise.
17099         (__init_des_r): Likewise.
17100         (shuffle_sb): Likewise.
17101         (shuffle_sb): Likewise.
17102         (_ufc_setup_salt_r): Likewise.
17103         (_ufc_mk_keytab_r): Likewise.
17104         (_ufc_dofinalperm_r): Likewise.
17105         (encrypt): Likewise.
17106         (__setkey_r): Likewise.
17107         (setkey): Likewise.
17108         * crypt/md5.c (md5_init_ctx): Likewise.
17109         (md5_read_ctx): Likewise.
17110         (md5_finish_ctx): Likewise.
17111         (md5_stream): Likewise.
17112         (md5_buffer): Likewise.
17113         (md5_process_bytes): Likewise.
17114         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17115         (__sha256_finish_ctx): Likewise.
17116         (__sha256_process_bytes): Likewise.
17117         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17118         (__sha512_finish_ctx): Likewise.
17119         (__sha512_process_bytes): Likewise.
17120         * ctype/isctype.c (__isctype): Likewise.
17121         * debug/backtrace.c (__backtrace): Likewise.
17122         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17123         * debug/fgets_chk.c (__fgets_chk): Likewise.
17124         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17125         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17126         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17127         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17128         * debug/memset_chk.c (__memset_chk): Likewise.
17129         * debug/strcat_chk.c (__strcat_chk): Likewise.
17130         * debug/strncat_chk.c (__strncat_chk): Likewise.
17131         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17132         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17133         * dirent/dirfd.c (dirfd): Likewise.
17134         * dirent/getdents.c (__getdirentries): Likewise.
17135         * dirent/getdents64.c (getdirentries64): Likewise.
17136         * dirent/rewinddir.c (__rewinddir): Likewise.
17137         * dirent/seekdir.c (seekdir): Likewise.
17138         * dirent/telldir.c (telldir): Likewise.
17139         * elf/sln.c (makesymlinks): Likewise.
17140         (makesymlink): Likewise.
17141         * gmon/gmon.c (__moncontrol): Likewise.
17142         (__monstartup): Likewise.
17143         (write_hist): Likewise.
17144         (write_call_graph): Likewise.
17145         (write_bb_counts): Likewise.
17146         * grp/setgroups.c (setgroups): Likewise.
17147         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17148         * inet/inet_net.c (inet_network): Likewise.
17149         * inet/inet_netof.c (inet_netof): Likewise.
17150         * inet/rcmd.c (rresvport_af): Likewise.
17151         (rresvport): Likewise.
17152         * io/access.c (__access): Likewise.
17153         * io/chdir.c (__chdir): Likewise.
17154         * io/chmod.c (__chmod): Likewise.
17155         * io/chown.c (__chown): Likewise.
17156         * io/close.c (__close): Likewise.
17157         * io/creat.c (creat): Likewise.
17158         * io/creat64.c (creat64): Likewise.
17159         * io/dup.c (__dup): Likewise.
17160         * io/dup2.c (__dup2): Likewise.
17161         * io/dup3.c (__dup3): Likewise.
17162         * io/euidaccess.c (__euidaccess): Likewise.
17163         * io/faccessat.c (faccessat): Likewise.
17164         * io/fchmod.c (__fchmod): Likewise.
17165         * io/fchmodat.c (fchmodat): Likewise.
17166         * io/fchown.c (__fchown): Likewise.
17167         * io/fchownat.c (fchownat): Likewise.
17168         * io/fcntl.c (__fcntl): Likewise.
17169         * io/flock.c (__flock): Likewise.
17170         * io/fts.c (fts_load): Likewise.
17171         (fts_close): Likewise.
17172         (fts_read): Likewise.
17173         (fts_set): Likewise.
17174         (fts_children): Likewise.
17175         (fts_build): Likewise.
17176         (fts_stat): Likewise.
17177         (fts_sort): Likewise.
17178         (fts_alloc): Likewise.
17179         (fts_lfree): Likewise.
17180         (fts_palloc): Likewise.
17181         (fts_padjust): Likewise.
17182         (fts_maxarglen): Likewise.
17183         (fts_safe_changedir): Likewise.
17184         * io/getwd.c (getwd): Likewise.
17185         * io/isatty.c (__isatty): Likewise.
17186         * io/lchown.c (__lchown): Likewise.
17187         * io/link.c (__link): Likewise.
17188         * io/linkat.c (linkat): Likewise.
17189         * io/lseek.c (__libc_lseek): Likewise.
17190         * io/mkdir.c (__mkdir): Likewise.
17191         * io/mkdirat.c (mkdirat): Likewise.
17192         * io/mkfifo.c (mkfifo): Likewise.
17193         * io/mkfifoat.c (mkfifoat): Likewise.
17194         * io/open.c (__libc_open): Likewise.
17195         * io/open64.c (__libc_open64): Likewise.
17196         * io/readlink.c (__readlink): Likewise.
17197         * io/readlinkat.c (readlinkat): Likewise.
17198         * io/rmdir.c (__rmdir): Likewise.
17199         * io/symlink.c (__symlink): Likewise.
17200         * io/symlinkat.c (symlinkat): Likewise.
17201         * io/ttyname.c (ttyname): Likewise.
17202         * io/ttyname_r.c (__ttyname_r): Likewise.
17203         * io/umask.c (__umask): Likewise.
17204         * io/unlink.c (__unlink): Likewise.
17205         * io/unlinkat.c (unlinkat): Likewise.
17206         * io/utime.c (utime): Likewise.
17207         * libio/clearerr.c (clearerr): Likewise.
17208         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17209         * libio/feof.c (_IO_feof): Likewise.
17210         * libio/feof_u.c (feof_unlocked): Likewise.
17211         * libio/ferror.c (_IO_ferror): Likewise.
17212         * libio/ferror_u.c (ferror_unlocked): Likewise.
17213         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17214         * libio/fileno.c (__fileno): Likewise.
17215         * libio/fputc.c (fputc): Likewise.
17216         * libio/fputc_u.c (fputc_unlocked): Likewise.
17217         * libio/fputwc.c (fputwc): Likewise.
17218         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17219         * libio/freopen.c (freopen): Likewise.
17220         * libio/freopen64.c (freopen64): Likewise.
17221         * libio/fseek.c (fseek): Likewise.
17222         * libio/fseeko.c (fseeko): Likewise.
17223         * libio/fseeko64.c (fseeko64): Likewise.
17224         * libio/ftello.c (__ftello): Likewise.
17225         * libio/ftello64.c (ftello64): Likewise.
17226         * libio/fwide.c (fwide): Likewise.
17227         * libio/genops.c (_IO_un_link): Likewise.
17228         (_IO_link_in): Likewise.
17229         (_IO_least_marker): Likewise.
17230         (_IO_switch_to_main_get_area): Likewise.
17231         (_IO_switch_to_backup_area): Likewise.
17232         (_IO_switch_to_get_mode): Likewise.
17233         (_IO_free_backup_area): Likewise.
17234         (_IO_switch_to_put_mode): Likewise.
17235         (__overflow): Likewise.
17236         (__underflow): Likewise.
17237         (__uflow): Likewise.
17238         (_IO_setb): Likewise.
17239         (_IO_doallocbuf): Likewise.
17240         (_IO_default_underflow): Likewise.
17241         (_IO_default_uflow): Likewise.
17242         (_IO_default_xsputn): Likewise.
17243         (_IO_sgetn): Likewise.
17244         (_IO_default_xsgetn): Likewise.
17245         (_IO_sync): Likewise.
17246         (_IO_default_setbuf): Likewise.
17247         (_IO_default_seekpos): Likewise.
17248         (_IO_default_doallocate): Likewise.
17249         (_IO_init): Likewise.
17250         (_IO_old_init): Likewise.
17251         (_IO_default_sync): Likewise.
17252         (_IO_default_finish): Likewise.
17253         (_IO_default_seekoff): Likewise.
17254         (_IO_sputbackc): Likewise.
17255         (_IO_sungetc): Likewise.
17256         (_IO_set_column): Likewise.
17257         (_IO_set_column): Likewise.
17258         (_IO_adjust_column): Likewise.
17259         (_IO_get_column): Likewise.
17260         (_IO_init_marker): Likewise.
17261         (_IO_remove_marker): Likewise.
17262         (_IO_marker_difference): Likewise.
17263         (_IO_marker_delta): Likewise.
17264         (_IO_seekmark): Likewise.
17265         (_IO_unsave_markers): Likewise.
17266         (_IO_nobackup_pbackfail): Likewise.
17267         (_IO_default_pbackfail): Likewise.
17268         (_IO_default_seek): Likewise.
17269         (_IO_default_stat): Likewise.
17270         (_IO_default_read): Likewise.
17271         (_IO_default_write): Likewise.
17272         (_IO_default_showmanyc): Likewise.
17273         (_IO_default_imbue): Likewise.
17274         (_IO_iter_next): Likewise.
17275         (_IO_iter_file): Likewise.
17276         * libio/getc.c (_IO_getc): Likewise.
17277         * libio/getwc.c (_IO_getwc): Likewise.
17278         * libio/iofclose.c (_IO_new_fclose): Likewise.
17279         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17280         * libio/iofflush.c (_IO_fflush): Likewise.
17281         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17282         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17283         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17284         * libio/iofgets.c (_IO_fgets): Likewise.
17285         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17286         * libio/iofgetws.c (fgetws): Likewise.
17287         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17288         * libio/iofopen64.c (_IO_fopen64): Likewise.
17289         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17290         (_IO_cookie_write): Likewise.
17291         (_IO_cookie_seek): Likewise.
17292         (_IO_cookie_close): Likewise.
17293         (_IO_cookie_seekoff): Likewise.
17294         (_IO_old_cookie_seek): Likewise.
17295         * libio/iofputs.c (_IO_fputs): Likewise.
17296         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17297         * libio/iofputws.c (fputws): Likewise.
17298         * libio/iofputws_u.c (fputws_unlocked): Likewise.
17299         * libio/iofread.c (_IO_fread): Likewise.
17300         * libio/iofread_u.c (__fread_unlocked): Likewise.
17301         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17302         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17303         * libio/ioftell.c (_IO_ftell): Likewise.
17304         * libio/iofwrite.c (_IO_fwrite): Likewise.
17305         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17306         * libio/iogets.c (_IO_gets): Likewise.
17307         * libio/iopadn.c (_IO_padn): Likewise.
17308         * libio/iopopen.c (_IO_new_proc_open): Likewise.
17309         (_IO_new_popen): Likewise.
17310         (_IO_new_proc_close): Likewise.
17311         * libio/ioputs.c (_IO_puts): Likewise.
17312         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17313         (_IO_seekoff): Likewise.
17314         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17315         (_IO_seekpos): Likewise.
17316         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17317         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17318         * libio/ioungetc.c (_IO_ungetc): Likewise.
17319         * libio/ioungetwc.c (ungetwc): Likewise.
17320         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17321         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17322         * libio/iowpadn.c (_IO_wpadn): Likewise.
17323         * libio/libc_fatal.c (__libc_fatal): Likewise.
17324         * libio/memstream.c (__open_memstream): Likewise.
17325         (_IO_mem_sync): Likewise.
17326         (_IO_mem_finish): Likewise.
17327         * libio/oldfileops.c (_IO_old_file_init): Likewise.
17328         (_IO_old_file_close_it): Likewise.
17329         (_IO_old_file_finish): Likewise.
17330         (_IO_old_file_fopen): Likewise.
17331         (_IO_old_file_attach): Likewise.
17332         (_IO_old_file_setbuf): Likewise.
17333         (_IO_old_do_write): Likewise.
17334         (old_do_write): Likewise.
17335         (_IO_old_file_underflow): Likewise.
17336         (_IO_old_file_overflow): Likewise.
17337         (_IO_old_file_sync): Likewise.
17338         (_IO_old_file_seekoff): Likewise.
17339         (_IO_old_file_write): Likewise.
17340         (_IO_old_file_xsputn): Likewise.
17341         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17342         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17343         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17344         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17345         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17346         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17347         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17348         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17349         (_IO_old_popen): Likewise.
17350         (_IO_old_proc_close): Likewise.
17351         * libio/oldpclose.c (__old_pclose): Likewise.
17352         * libio/pclose.c (__new_pclose): Likewise.
17353         * libio/peekc.c (_IO_peekc_locked): Likewise.
17354         * libio/putc.c (_IO_putc): Likewise.
17355         * libio/putc_u.c (putc_unlocked): Likewise.
17356         * libio/putchar.c (putchar): Likewise.
17357         * libio/putchar_u.c (putchar_unlocked): Likewise.
17358         * libio/putwc.c (putwc): Likewise.
17359         * libio/putwc_u.c (putwc_unlocked): Likewise.
17360         * libio/putwchar.c (putwchar): Likewise.
17361         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17362         * libio/rewind.c (rewind): Likewise.
17363         * libio/setbuf.c (setbuf): Likewise.
17364         * libio/setlinebuf.c (setlinebuf): Likewise.
17365         * libio/vasprintf.c (_IO_vasprintf): Likewise.
17366         * libio/vscanf.c (_IO_vscanf): Likewise.
17367         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17368         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17369         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17370         * libio/wgenops.c (_IO_least_wmarker): Likewise.
17371         (_IO_switch_to_main_wget_area): Likewise.
17372         (_IO_switch_to_wbackup_area): Likewise.
17373         (_IO_wsetb): Likewise.
17374         (_IO_wdefault_pbackfail): Likewise.
17375         (_IO_wdefault_finish): Likewise.
17376         (_IO_wdefault_uflow): Likewise.
17377         (__woverflow): Likewise.
17378         (__wuflow): Likewise.
17379         (__wunderflow): Likewise.
17380         (_IO_wdefault_xsputn): Likewise.
17381         (_IO_wdefault_xsgetn): Likewise.
17382         (_IO_wdoallocbuf): Likewise.
17383         (_IO_wdefault_doallocate): Likewise.
17384         (_IO_switch_to_wget_mode): Likewise.
17385         (_IO_free_wbackup_area): Likewise.
17386         (_IO_switch_to_wput_mode): Likewise.
17387         (_IO_sputbackwc): Likewise.
17388         (_IO_sungetwc): Likewise.
17389         (_IO_adjust_wcolumn): Likewise.
17390         (_IO_init_wmarker): Likewise.
17391         (_IO_wmarker_delta): Likewise.
17392         (_IO_seekwmark): Likewise.
17393         (_IO_unsave_wmarkers): Likewise.
17394         * libio/wmemstream.c (open_wmemstream): Likewise.
17395         (_IO_wmem_sync): Likewise.
17396         (_IO_wmem_finish): Likewise.
17397         * locale/nl_langinfo.c (nl_langinfo): Likewise.
17398         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17399         * locale/programs/simple-hash.c (init_hash): Likewise.
17400         (delete_hash): Likewise.
17401         (insert_entry): Likewise.
17402         (set_entry): Likewise.
17403         (next_prime): Likewise.
17404         (is_prime): Likewise.
17405         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17406         (xmalloc): Likewise.
17407         (xrealloc): Likewise.
17408         * locale/programs/xstrdup.c (xstrdup): Likewise.
17409         * localedata/collate-test.c (xstrcoll): Likewise.
17410         * localedata/xfrm-test.c (xstrcmp): Likewise.
17411         * login/getlogin_r.c (__getlogin_r): Likewise.
17412         * login/getpt.c (__posix_openpt): Likewise.
17413         * login/login_tty.c (login_tty): Likewise.
17414         * login/setlogin.c (setlogin): Likewise.
17415         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17416         (mach_msg_destroy_port): Likewise.
17417         (mach_msg_destroy_memory): Likewise.
17418         * malloc/mcheck.c (flood): Likewise.
17419         * misc/acct.c (acct): Likewise.
17420         * misc/brk.c (__brk): Likewise.
17421         * misc/chflags.c (chflags): Likewise.
17422         * misc/chroot.c (chroot): Likewise.
17423         * misc/fchflags.c (fchflags): Likewise.
17424         * misc/fstab.c (getfsspec): Likewise.
17425         (getfsfile): Likewise.
17426         * misc/fsync.c (fsync): Likewise.
17427         * misc/ftruncate.c (__ftruncate): Likewise.
17428         * misc/ftruncate64.c (__ftruncate64): Likewise.
17429         * misc/getdomain.c (getdomainname): Likewise.
17430         (getdomainname): Likewise.
17431         * misc/gethostname.c (__gethostname): Likewise.
17432         * misc/getpass.c (getpass): Likewise.
17433         * misc/getttyent.c (skip): Likewise.
17434         (value): Likewise.
17435         * misc/gtty.c (gtty): Likewise.
17436         * misc/hsearch.c (hsearch): Likewise.
17437         (hcreate): Likewise.
17438         * misc/hsearch_r.c (__hcreate_r): Likewise.
17439         (__hdestroy_r): Likewise.
17440         * misc/ioctl.c (__ioctl): Likewise.
17441         * misc/mkdtemp.c (mkdtemp): Likewise.
17442         * misc/mkostemp.c (mkostemp): Likewise.
17443         * misc/mkostemp64.c (mkostemp64): Likewise.
17444         * misc/mkostemps.c (mkostemps): Likewise.
17445         * misc/mkostemps64.c (mkostemps64): Likewise.
17446         * misc/mkstemp.c (mkstemp): Likewise.
17447         * misc/mkstemp64.c (mkstemp64): Likewise.
17448         * misc/mkstemps.c (mkstemps): Likewise.
17449         * misc/mkstemps64.c (mkstemps64): Likewise.
17450         * misc/mktemp.c (__mktemp): Likewise.
17451         * misc/preadv.c (preadv): Likewise.
17452         * misc/preadv64.c (preadv64): Likewise.
17453         * misc/pwritev.c (pwritev): Likewise.
17454         * misc/pwritev64.c (pwritev64): Likewise.
17455         * misc/readv.c (__readv): Likewise.
17456         * misc/revoke.c (revoke): Likewise.
17457         * misc/setdomain.c (setdomainname): Likewise.
17458         * misc/setegid.c (setegid): Likewise.
17459         * misc/seteuid.c (seteuid): Likewise.
17460         * misc/sethostid.c (sethostid): Likewise.
17461         * misc/sethostname.c (sethostname): Likewise.
17462         * misc/setregid.c (__setregid): Likewise.
17463         * misc/setreuid.c (__setreuid): Likewise.
17464         * misc/sstk.c (sstk): Likewise.
17465         * misc/stty.c (stty): Likewise.
17466         * misc/syscall.c (syscall): Likewise.
17467         * misc/syslog.c (setlogmask): Likewise.
17468         * misc/truncate.c (__truncate): Likewise.
17469         * misc/truncate64.c (truncate64): Likewise.
17470         * misc/ualarm.c (ualarm): Likewise.
17471         * misc/usleep.c (usleep): Likewise.
17472         * misc/ustat.c (ustat): Likewise.
17473         * misc/writev.c (__writev): Likewise.
17474         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17475         * nptl/old_pthread_cond_broadcast.c
17476         (__pthread_cond_broadcast_2_0): Likewise.
17477         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17478         Likewise.
17479         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17480         Likewise.
17481         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17482         Likewise.
17483         * nptl/pt-raise.c (raise): Likewise.
17484         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17485         Likewise.
17486         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17487         * nptl/pthread_barrierattr_destroy.c
17488         (pthread_barrierattr_destroy): Likewise.
17489         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17490         Likewise.
17491         * nptl/pthread_barrierattr_setpshared.c
17492         (pthread_barrierattr_setpshared): Likewise.
17493         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17494         Likewise.
17495         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17496         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17497         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17498         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17499         Likewise.
17500         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17501         Likewise.
17502         * nptl/pthread_condattr_getpshared.c
17503         (pthread_condattr_getpshared): Likewise.
17504         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17505         Likewise.
17506         * nptl/pthread_condattr_setpshared.c
17507         (pthread_condattr_setpshared): Likewise.
17508         * nptl/pthread_detach.c (pthread_detach): Likewise.
17509         * nptl/pthread_equal.c (__pthread_equal): Likewise.
17510         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17511         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17512         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17513         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17514         Likewise.
17515         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17516         Likewise.
17517         * nptl/pthread_mutex_getprioceiling.c
17518         (pthread_mutex_getprioceiling): Likewise.
17519         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17520         Likewise.
17521         * nptl/pthread_mutexattr_getprotocol.c
17522         (pthread_mutexattr_getprotocol): Likewise.
17523         * nptl/pthread_mutexattr_getpshared.c
17524         (pthread_mutexattr_getpshared): Likewise.
17525         * nptl/pthread_mutexattr_getrobust.c
17526         (pthread_mutexattr_getrobust): Likewise.
17527         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17528         Likewise.
17529         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17530         Likewise.
17531         * nptl/pthread_mutexattr_setprioceiling.c
17532         (pthread_mutexattr_setprioceiling): Likewise.
17533         * nptl/pthread_mutexattr_setprotocol.c
17534         (pthread_mutexattr_setprotocol): Likewise.
17535         * nptl/pthread_mutexattr_setpshared.c
17536         (pthread_mutexattr_setpshared): Likewise.
17537         * nptl/pthread_mutexattr_setrobust.c
17538         (pthread_mutexattr_setrobust): Likewise.
17539         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17540         Likewise.
17541         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17542         Likewise.
17543         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17544         Likewise.
17545         * nptl/pthread_rwlockattr_getkind_np.c
17546         (pthread_rwlockattr_getkind_np): Likewise.
17547         * nptl/pthread_rwlockattr_getpshared.c
17548         (pthread_rwlockattr_getpshared): Likewise.
17549         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17550         Likewise.
17551         * nptl/pthread_rwlockattr_setkind_np.c
17552         (pthread_rwlockattr_setkind_np): Likewise.
17553         * nptl/pthread_rwlockattr_setpshared.c
17554         (pthread_rwlockattr_setpshared): Likewise.
17555         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17556         Likewise.
17557         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17558         Likewise.
17559         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17560         Likewise.
17561         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17562         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17563         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17564         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17565         * nptl/sem_close.c (sem_close): Likewise.
17566         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17567         * nptl/sem_init.c (__old_sem_init): Likewise.
17568         * nptl/sigaction.c (__sigaction): Likewise.
17569         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17570         * posix/_exit.c (_exit): Likewise.
17571         * posix/alarm.c (alarm): Likewise.
17572         * posix/confstr.c (confstr): Likewise.
17573         * posix/fpathconf.c (__fpathconf): Likewise.
17574         * posix/getgroups.c (__getgroups): Likewise.
17575         * posix/getpgid.c (__getpgid): Likewise.
17576         * posix/group_member.c (__group_member): Likewise.
17577         * posix/pathconf.c (__pathconf): Likewise.
17578         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17579         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17580         * posix/setgid.c (__setgid): Likewise.
17581         * posix/setpgid.c (__setpgid): Likewise.
17582         * posix/setuid.c (__setuid): Likewise.
17583         * posix/sleep.c (__sleep): Likewise.
17584         * posix/sysconf.c (__sysconf): Likewise.
17585         * posix/times.c (__times): Likewise.
17586         * posix/uname.c (__uname): Likewise.
17587         * posix/waitid.c (__waitid): Likewise.
17588         * pwd/getpw.c (__getpw): Likewise.
17589         * resolv/base64.c (b64_pton): Likewise.
17590         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17591         * resolv/gethnamaddr.c (Dprintf): Likewise.
17592         (gethostbyname): Likewise.
17593         (gethostbyname2): Likewise.
17594         (gethostbyaddr): Likewise.
17595         (_sethtent): Likewise.
17596         (_gethtbyname): Likewise.
17597         (_gethtbyname2): Likewise.
17598         (_gethtbyaddr): Likewise.
17599         (map_v4v6_address): Likewise.
17600         (map_v4v6_hostent): Likewise.
17601         (addrsort): Likewise.
17602         (ht_sethostent): Likewise.
17603         (ht_gethostbyname): Likewise.
17604         (ht_gethostbyaddr): Likewise.
17605         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17606         (inet_net_ntop_ipv4): Likewise.
17607         * resolv/inet_neta.c (inet_neta): Likewise.
17608         * resolv/inet_ntop.c (inet_ntop): Likewise.
17609         (inet_ntop4): Likewise.
17610         (inet_ntop6): Likewise.
17611         * resolv/inet_pton.c (__inet_pton): Likewise.
17612         (inet_pton4): Likewise.
17613         (inet_pton6): Likewise.
17614         * resolv/res_debug.c (loc_aton): Likewise.
17615         (loc_ntoa): Likewise.
17616         * resource/getpriority.c (__getpriority): Likewise.
17617         * resource/getrusage.c (__getrusage): Likewise.
17618         * resource/nice.c (nice): Likewise.
17619         * resource/setpriority.c (__setpriority): Likewise.
17620         * resource/setrlimit64.c (setrlimit64): Likewise.
17621         * resource/vlimit.c (vlimit): Likewise.
17622         * resource/vtimes.c (vtimes): Likewise.
17623         * rt/aio_error.c (aio_error): Likewise.
17624         * rt/aio_return.c (aio_return): Likewise.
17625         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17626         * signal/kill.c (__kill): Likewise.
17627         * signal/killpg.c (killpg): Likewise.
17628         * signal/raise.c (raise): Likewise.
17629         * signal/sigaction.c (__sigaction): Likewise.
17630         * signal/sigaddset.c (sigaddset): Likewise.
17631         * signal/sigaltstack.c (sigaltstack): Likewise.
17632         * signal/sigandset.c (sigandset): Likewise.
17633         * signal/sigblock.c (__sigblock): Likewise.
17634         * signal/sigdelset.c (sigdelset): Likewise.
17635         * signal/sigempty.c (sigemptyset): Likewise.
17636         * signal/sigfillset.c (sigfillset): Likewise.
17637         * signal/sighold.c (sighold): Likewise.
17638         * signal/sigignore.c (sigignore): Likewise.
17639         * signal/sigintr.c (siginterrupt): Likewise.
17640         * signal/sigisempty.c (sigisemptyset): Likewise.
17641         * signal/sigismem.c (sigismember): Likewise.
17642         * signal/signal.c (signal): Likewise.
17643         * signal/sigorset.c (sigorset): Likewise.
17644         * signal/sigpause.c (__sigpause): Likewise.
17645         * signal/sigpending.c (sigpending): Likewise.
17646         * signal/sigprocmask.c (__sigprocmask): Likewise.
17647         * signal/sigrelse.c (sigrelse): Likewise.
17648         * signal/sigreturn.c (__sigreturn): Likewise.
17649         * signal/sigset.c (sigset): Likewise.
17650         * signal/sigsetmask.c (__sigsetmask): Likewise.
17651         * signal/sigstack.c (sigstack): Likewise.
17652         * signal/sigsuspend.c (__sigsuspend): Likewise.
17653         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17654         * signal/sysv_signal.c (__sysv_signal): Likewise.
17655         * socket/accept.c (accept): Likewise.
17656         * socket/accept4.c (__libc_accept4): Likewise.
17657         * socket/bind.c (__bind): Likewise.
17658         * socket/connect.c (__connect): Likewise.
17659         * socket/getpeername.c (getpeername): Likewise.
17660         * socket/getsockname.c (__getsockname): Likewise.
17661         * socket/getsockopt.c (getsockopt): Likewise.
17662         * socket/listen.c (__listen): Likewise.
17663         * socket/recv.c (__recv): Likewise.
17664         * socket/recvmsg.c (__recvmsg): Likewise.
17665         * socket/send.c (__send): Likewise.
17666         * socket/sendmsg.c (__sendmsg): Likewise.
17667         * socket/shutdown.c (shutdown): Likewise.
17668         * socket/sockatmark.c (sockatmark): Likewise.
17669         * socket/socket.c (__socket): Likewise.
17670         * stdio-common/ctermid.c (ctermid): Likewise.
17671         * stdio-common/cuserid.c (cuserid): Likewise.
17672         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17673         * stdio-common/remove.c (remove): Likewise.
17674         * stdio-common/rename.c (rename): Likewise.
17675         * stdio-common/renameat.c (renameat): Likewise.
17676         * stdio-common/tempname.c (__gen_tempname): Likewise.
17677         * stdio-common/xbug.c (InitBuffer): Likewise.
17678         (AppendToBuffer): Likewise.
17679         (ReadFile): Likewise.
17680         * stdlib/a64l.c (a64l): Likewise.
17681         * stdlib/drand48_r.c (drand48_r): Likewise.
17682         * stdlib/getcontext.c (getcontext): Likewise.
17683         * stdlib/getenv.c (getenv): Likewise.
17684         * stdlib/l64a.c (l64a): Likewise.
17685         * stdlib/llabs.c (llabs): Likewise.
17686         * stdlib/lldiv.c (lldiv): Likewise.
17687         * stdlib/lrand48_r.c (lrand48_r): Likewise.
17688         * stdlib/mrand48_r.c (mrand48_r): Likewise.
17689         * stdlib/putenv.c (putenv): Likewise.
17690         * stdlib/random.c (__srandom): Likewise.
17691         (__initstate): Likewise.
17692         (__setstate): Likewise.
17693         * stdlib/random_r.c (__srandom_r): Likewise.
17694         (__setstate_r): Likewise.
17695         (__random_r): Likewise.
17696         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17697         * stdlib/setcontext.c (setcontext): Likewise.
17698         * stdlib/setenv.c (setenv): Likewise.
17699         (unsetenv): Likewise.
17700         * stdlib/srand48.c (srand48): Likewise.
17701         * stdlib/srand48_r.c (__srand48_r): Likewise.
17702         * stdlib/swapcontext.c (swapcontext): Likewise.
17703         * stdlib/system.c (__libc_system): Likewise.
17704         * stdlib/tst-strtod.c (expand): Likewise.
17705         * stdlib/tst-strtol.c (expand): Likewise.
17706         * stdlib/tst-strtoll.c (expand): Likewise.
17707         * streams/fattach.c (fattach): Likewise.
17708         * streams/fdetach.c (fdetach): Likewise.
17709         * streams/getmsg.c (getmsg): Likewise.
17710         * streams/isastream.c (isastream): Likewise.
17711         * string/ffs.c (__ffs): Likewise.
17712         * string/ffsll.c (ffsll): Likewise.
17713         * string/memcmp.c (memcmp_common_alignment): Likewise.
17714         (memcmp_not_common_alignment): Likewise.
17715         (MEMCMP): Likewise.
17716         * string/memcpy.c (memcpy): Likewise.
17717         * string/memmove.c (MEMMOVE): Likewise.
17718         * string/memset.c (memset): Likewise.
17719         * string/rawmemchr.c (RAWMEMCHR): Likewise.
17720         * string/strchrnul.c (STRCHRNUL): Likewise.
17721         * string/strerror.c (strerror): Likewise.
17722         * string/strndup.c (__strndup): Likewise.
17723         * string/strverscmp.c (__strverscmp): Likewise.
17724         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17725         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17726         (clnttcp_freeres): Likewise.
17727         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17728         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17729         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17730         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17731         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17732         (xdr_callhdr): Likewise.
17733         * sunrpc/rpcinfo.c (udpping): Likewise.
17734         (tcpping): Likewise.
17735         (pstatus): Likewise.
17736         (pmapdump): Likewise.
17737         (brdcst): Likewise.
17738         (deletereg): Likewise.
17739         (getprognum): Likewise.
17740         (getvers): Likewise.
17741         (get_inet_address): Likewise.
17742         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17743         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17744         (svcudp_stat): Likewise.
17745         (svcudp_recv): Likewise.
17746         (svcudp_reply): Likewise.
17747         (svcudp_getargs): Likewise.
17748         (svcudp_freeargs): Likewise.
17749         (svcudp_destroy): Likewise.
17750         * sunrpc/xdr.c (xdr_bytes): Likewise.
17751         (xdr_netobj): Likewise.
17752         (xdr_string): Likewise.
17753         (xdr_wrapstring): Likewise.
17754         * sunrpc/xdr_float.c (xdr_float): Likewise.
17755         (xdr_double): Likewise.
17756         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17757         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17758         * sysvipc/ftok.c (ftok): Likewise.
17759         * sysvipc/msgctl.c (msgctl): Likewise.
17760         * sysvipc/msgget.c (msgget): Likewise.
17761         * sysvipc/msgrcv.c (msgrcv): Likewise.
17762         * sysvipc/msgsnd.c (msgsnd): Likewise.
17763         * sysvipc/semget.c (semget): Likewise.
17764         * sysvipc/semop.c (semop): Likewise.
17765         * sysvipc/shmat.c (shmat): Likewise.
17766         * sysvipc/shmctl.c (shmctl): Likewise.
17767         * sysvipc/shmdt.c (shmdt): Likewise.
17768         * sysvipc/shmget.c (shmget): Likewise.
17769         * termios/cfmakeraw.c (cfmakeraw): Likewise.
17770         * termios/speed.c (cfgetospeed): Likewise.
17771         (cfgetispeed): Likewise.
17772         (cfsetospeed): Likewise.
17773         (cfsetispeed): Likewise.
17774         * termios/tcflow.c (tcflow): Likewise.
17775         * termios/tcflush.c (tcflush): Likewise.
17776         * termios/tcgetattr.c (__tcgetattr): Likewise.
17777         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17778         * termios/tcgetsid.c (tcgetsid): Likewise.
17779         * termios/tcsendbrk.c (tcsendbreak): Likewise.
17780         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17781         * time/adjtime.c (__adjtime): Likewise.
17782         * time/dysize.c (dysize): Likewise.
17783         * time/ftime.c (ftime): Likewise.
17784         * time/getitimer.c (__getitimer): Likewise.
17785         * time/gettimeofday.c (__gettimeofday): Likewise.
17786         * time/gmtime.c (__gmtime_r): Likewise.
17787         (gmtime): Likewise.
17788         * time/localtime.c (__localtime_r): Likewise.
17789         (localtime): Likewise.
17790         * time/offtime.c (__offtime): Likewise.
17791         * time/settimeofday.c (__settimeofday): Likewise.
17792         * time/stime.c (stime): Likewise.
17793         * time/strftime_l.c (tm_diff): Likewise.
17794         (iso_week_days): Likewise.
17795         * time/strptime.c (strptime): Likewise.
17796         * time/time.c (time): Likewise.
17797         * time/timespec_get.c (timespec_get): Likewise.
17798         * time/tzset.c (tzset_internal): Likewise.
17799         (compute_change): Likewise.
17800         (__tz_compute): Likewise.
17801         * wcsmbs/btowc.c (__btowc): Likewise.
17802         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17803         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17804         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17805         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17806         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17807         * wcsmbs/wcscat.c (__wcscat): Likewise.
17808         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17809         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17810         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17811         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17812         * wcsmbs/wcsdup.c (wcsdup): Likewise.
17813         * wcsmbs/wcslen.c (__wcslen): Likewise.
17814         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17815         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17816         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17817         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17818         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17819         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17820         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17821         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17822         * wcsmbs/wcstok.c (wcstok): Likewise.
17823         * wcsmbs/wctob.c (wctob): Likewise.
17824         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17825         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17826         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17827         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17828         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17829         * wcsmbs/wmemset.c (__wmemset): Likewise.
17830         * wctype/wcfuncs.c (__towlower): Likewise.
17831         (__towupper): Likewise.
17833         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17834         (lll_unlock_elision): Add adapt_count parameter.
17836 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17838         * sysdeps/nptl/configure.ac: Do not give errors based on the
17839         results of top-level configure tests.
17840         * sysdeps/nptl/configure: Regenerated.
17842         * configure.ac (libc_cv_Bgroup): Remove configure test.
17843         * configure: Regenerated.
17844         * config.make.in (have-Bgroup): Remove variable.
17846         * configure.ac (sizeof_long_double): Remove configure test.
17847         * configure: Regenerated.
17848         * config.make.in (sizeof-long-double): Remove variable.
17850         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17851         * configure: Regenerated.
17852         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17853         variable.
17854         (exceptions): Likewise.
17855         * sysdeps/arm/configure: Regenerated.
17856         * config.make.in (exceptions): Remove variable.
17857         * Makeconfig (uses-callbacks): Use -fexceptions instead of
17858         $(exceptions).
17859         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17860         (CFLAGS-vdprintf_chk.c): Likewise.
17861         (CFLAGS-printf_chk.c): Likewise.
17862         (CFLAGS-fprintf_chk.c): Likewise.
17863         (CFLAGS-vprintf_chk.c): Likewise.
17864         (CFLAGS-vfprintf_chk.c): Likewise.
17865         (CFLAGS-gets_chk.c): Likewise.
17866         (CFLAGS-fgets_chk.c): Likewise.
17867         (CFLAGS-fgets_u_chk.c): Likewise.
17868         (CFLAGS-fread_chk.c): Likewise.
17869         (CFLAGS-fread_u_chk.c): Likewise.
17870         (CFLAGS-wprintf_chk.c): Likewise.
17871         (CFLAGS-fwprintf_chk.c): Likewise.
17872         (CFLAGS-vwprintf_chk.c): Likewise.
17873         (CFLAGS-vfwprintf_chk.c): Likewise.
17874         (CFLAGS-fgetws_chk.c): Likewise.
17875         (CFLAGS-fgetws_u_chk.c): Likewise.
17876         * libio/Makefile (CFLAGS-fileops.c): Likewise.
17877         (CFLAGS-fputc.c): Likewise.
17878         (CFLAGS-fputwc.c): Likewise.
17879         (CFLAGS-freopen64.c): Likewise.
17880         (CFLAGS-freopen.c): Likewise.
17881         (CFLAGS-fseek.c): Likewise.
17882         (CFLAGS-fseeko64.c): Likewise.
17883         (CFLAGS-fseeko.c): Likewise.
17884         (CFLAGS-ftello64.c): Likewise.
17885         (CFLAGS-ftello.c): Likewise.
17886         (CFLAGS-fwide.c): Likewise.
17887         (CFLAGS-genops.c): Likewise.
17888         (CFLAGS-getc.c): Likewise.
17889         (CFLAGS-getchar.c): Likewise.
17890         (CFLAGS-getwc.c): Likewise.
17891         (CFLAGS-getwchar.c): Likewise.
17892         (CFLAGS-iofclose.c): Likewise.
17893         (CFLAGS-iofflush.c): Likewise.
17894         (CFLAGS-iofgetpos64.c): Likewise.
17895         (CFLAGS-iofgetpos.c): Likewise.
17896         (CFLAGS-iofgets.c): Likewise.
17897         (CFLAGS-iofgetws.c): Likewise.
17898         (CFLAGS-iofputs.c): Likewise.
17899         (CFLAGS-iofputws.c): Likewise.
17900         (CFLAGS-iofread.c): Likewise.
17901         (CFLAGS-iofsetpos64.c): Likewise.
17902         (CFLAGS-iofsetpos.c): Likewise.
17903         (CFLAGS-ioftell.c): Likewise.
17904         (CFLAGS-iofwrite.c): Likewise.
17905         (CFLAGS-iogetdelim.c): Likewise.
17906         (CFLAGS-iogetline.c): Likewise.
17907         (CFLAGS-iogets.c): Likewise.
17908         (CFLAGS-iogetwline.c): Likewise.
17909         (CFLAGS-ioputs.c): Likewise.
17910         (CFLAGS-ioseekoff.c): Likewise.
17911         (CFLAGS-ioseekpos.c): Likewise.
17912         (CFLAGS-iosetbuffer.c): Likewise.
17913         (CFLAGS-iosetvbuf.c): Likewise.
17914         (CFLAGS-ioungetc.c): Likewise.
17915         (CFLAGS-ioungetwc.c): Likewise.
17916         (CFLAGS-oldfileops.c): Likewise.
17917         (CFLAGS-oldiofclose.c): Likewise.
17918         (CFLAGS-oldiofgetpos64.c): Likewise.
17919         (CFLAGS-oldiofgetpos.c): Likewise.
17920         (CFLAGS-oldiofsetpos64.c): Likewise.
17921         (CFLAGS-oldiofsetpos.c): Likewise.
17922         (CFLAGS-peekc.c): Likewise.
17923         (CFLAGS-putc.c): Likewise.
17924         (CFLAGS-putchar.c): Likewise.
17925         (CFLAGS-putwc.c): Likewise.
17926         (CFLAGS-putwchar.c): Likewise.
17927         (CFLAGS-rewind.c): Likewise.
17928         (CFLAGS-wfileops.c): Likewise.
17929         (CFLAGS-wgenops.c): Likewise.
17930         (CFLAGS-oldiofopen.c): Likewise.
17931         (CFLAGS-iofopen.c): Likewise.
17932         (CFLAGS-iofopen64.c): Likewise.
17933         (CFLAGS-oldtmpfile.c): Likewise.
17934         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17935         (CFLAGS-fprintf.c): Likewise.
17936         (CFLAGS-printf.c): Likewise.
17937         (CFLAGS-vfwprintf.c): Likewise.
17938         (CFLAGS-vfscanf.c): Likewise.
17939         (CFLAGS-vfwscanf.c): Likewise.
17940         (CFLAGS-fscanf.c): Likewise.
17941         (CFLAGS-scanf.c): Likewise.
17942         (CFLAGS-isoc99_vfscanf.c): Likewise.
17943         (CFLAGS-isoc99_vscanf.c): Likewise.
17944         (CFLAGS-isoc99_fscanf.c): Likewise.
17945         (CFLAGS-isoc99_scanf.c): Likewise.
17946         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17947         (CFLAGS-isoc99_fwscanf.c): Likewise.
17948         (CFLAGS-isoc99_vwscanf.c): Likewise.
17949         (CFLAGS-isoc99_vfwscanf.c): Likewise.
17951         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17952         after mkstemp64.
17953         * login/tst-utmp.c (do_prepare): Likewise.
17954         * rt/tst-aio.c (do_prepare): Likewise.
17955         * rt/tst-aio64.c (do_prepare): Likewise.
17957 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17959         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17960         (__lll_lock_elision): Remove adapt_count decrement...
17961         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17962         (__lll_trylock_elision): Likewise.
17963         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17964         (__lll_unlock_elision): ... to here. And utilize
17965         new adapt_count parameter.
17966         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17967         (__lll_unlock_elision): Update to include adapt_count
17968         parameter.
17969         (lll_unlock_elision): Pass pointer to adapt_count
17970         variable.
17972 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17974         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17975         Add elision adapt_count parameter to list of arguments.
17976         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17977         (lll_unlock_elision): Update with new parameter list
17978         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17979         (lll_unlock_elision): Likewise.
17980         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17981         (lll_unlock_elision): Likewise.
17983 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17985         [BZ #19122]
17986         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
17987         attribute_hidden.
17989         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
17990         attribute_hidden.
17991         [IS_IN (rtld)] (__strdup): Likewise.
17992         [IS_IN (rtld)] (__strerror_r): Likewise.
17993         [IS_IN (rtld)] (__strsep_g): Likewise.
17994         [IS_IN (rtld)] (memchr): Likewise.
17995         [IS_IN (rtld)] (memcmp): Likewise.
17996         [IS_IN (rtld)] (memcpy): Likewise.
17997         [IS_IN (rtld)] (memmove): Likewise.
17998         [IS_IN (rtld)] (memset): Likewise.
17999         [IS_IN (rtld)] (rawmemchr): Likewise.
18000         [IS_IN (rtld)] (stpcpy): Likewise.
18001         [IS_IN (rtld)] (strchr): Likewise.
18002         [IS_IN (rtld)] (strcmp): Likewise.
18003         [IS_IN (rtld)] (strlen): Likewise.
18004         [IS_IN (rtld)] (strnlen): Likewise.
18005         [IS_IN (rtld)] (strsep): Likewise.
18007         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18008         attribute_hidden.
18009         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18011         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18012         attribute_hidden.
18013         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18015         * include/setjmp.h (__longjmp): Add attribute_hidden.
18016         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18018         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18019         Add attribute_hidden.
18021         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18022         [IS_IN (rtld)] (__open): Likewise.
18023         [IS_IN (rtld)] (__fcntl): Likewise.
18025         * include/dirent.h (__opendirat): Add attribute_hidden.
18026         (__getdents): Likewise.
18027         (__getdents64): Likewise.
18028         (__alloc_dir): Likewise.
18029         [IS_IN (rtld)] (__closedir): Likewise.
18030         [IS_IN (rtld)] (__fdopendir): Likewise.
18031         [IS_IN (rtld)] (__readdir): Likewise.
18032         [IS_IN (rtld)] (__readdir64): Likewise.
18033         [IS_IN (rtld)] (__rewinddir): Likewise.
18035         * include/dlfcn.h (_dl_catch_error): Moved to ...
18036         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18037         attribute_hidden.
18039         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18040         (_itoa_word): Likewise.
18042         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18043         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18044         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18045         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18046         (_dl_higher_prime_number): Likewise.
18047         (_dl_debug_printf_c): Likewise.
18048         (_dl_signal_cerror): Likewise.
18049         (_dl_receive_error): Likewise.
18050         (_dl_reloc_bad_type): Likewise.
18051         (_dl_resolve_conflicts): Likewise.
18052         (_dl_check_all_versions): Likewise.
18053         (_dl_check_map_versions): Likewise.
18054         (_dl_sort_fini): Likewise.
18055         (_dl_debug_initialize): Likewise.
18056         (_dl_init_paths): Likewise.
18057         (_dl_show_auxv): Likewise.
18058         (_dl_next_ld_env_entry): Likewise.
18059         (_dl_important_hwcaps): Likewise.
18060         (_dl_load_cache_lookup): Likewise.
18061         (_dl_update_slotinfo): Likewise.
18062         (_dl_show_scope): Likewise.
18064         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18065         attribute_hidden.
18066         (_wordcopy_fwd_dest_aligned): Likewise.
18067         (_wordcopy_bwd_aligned): Likewise.
18068         (_wordcopy_bwd_dest_aligned): Likewise.
18070         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18071         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18072         Likewise.
18073         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18074         Likewise.
18075         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18077 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18079         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18080         GCC 5 requirement.
18082 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18084         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18085         test.
18086         * sysdeps/i386/configure: Regenerated.
18087         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18088         code unconditional.
18090         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18091         test.
18092         (libc_cv_asm_popsection_directive): Likewise.
18093         * configure: Regenerated.
18094         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18095         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18096         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18097         (__make_section_unallocated): Make definition unconditional.
18098         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18099         Remove conditional definition.
18100         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18101         (__make_section_unallocated): Likewise.
18103         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18104         * configure: Regenerated.
18105         * config.make.in (static-libgcc): Remove variable.
18106         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18107         $(static-libgcc).
18108         (build-module-helper): Likewise.
18110         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18111         * configure: Regenerated.
18113 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18115         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18116         (struct char_buffer): New type.
18117         (char_buffer_start, char_buffer_size, char_buffer_error)
18118         (char_buffer_rewind, char_buffer_add): New functions.
18119         (ADDW): Remove macro, replaced by the char_buffer_add function.
18120         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18121         of extend_alloca.  Make control flow more explicit.
18123 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18125         [BZ #19137]
18126         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18127         Add -fomit-frame-pointer.
18128         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18130 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18132         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18133         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18134         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18135         only if !__GNUC_PREREQ (5,0).
18136         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18137         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18138         (INTERNAL_SYSCALL_NCS): Likewise.
18139         (LOADREGS_0): New macro for GCC 5.
18140         (ASMARGS_0): Likewise.
18141         (LOADREGS_1): Likewise.
18142         (ASMARGS_1): Likewise.
18143         (LOADREGS_2): Likewise.
18144         (ASMARGS_2): Likewise.
18145         (LOADREGS_3): Likewise.
18146         (ASMARGS_3): Likewise.
18147         (LOADREGS_4): Likewise.
18148         (ASMARGS_4): Likewise.
18149         (LOADREGS_5): Likewise.
18150         (ASMARGS_5): Likewise.
18151         (LOADREGS_6): Likewise.
18152         (ASMARGS_6): Likewise.
18154 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18156         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18157         -fomit-frame-pointer.
18158         (CFLAGS-mmap64.c): Likewise.
18159         (CFLAGS-semtimedop.c): Likewise.
18160         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18161         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18162         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18163         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18165 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18167         [BZ #18928]
18168         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18169         _dl_pointer_guard member.
18170         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18171         initializer.
18172         (security_init): Always set up pointer guard.
18173         (process_envvars): Do not process LD_POINTER_GUARD.
18175 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18177         [BZ #19134]
18178         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18179         (.LC2): Likewise.
18180         (.LC3): Likewise.
18181         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18183 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18185         [BZ #19129]
18186         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18187         r0 and r1.
18189 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18191         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18193 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
18195         * include/stap-probe.h: Fix macro definition formatting.
18197 2015-10-14  Florian Weimer  <fweimer@redhat.com>
18199         [BZ #19074]
18200         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18201         load and store num_ifs.
18203 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18205         [BZ #18822]
18206         * sysdeps/unix/sysv/linux/sched_getaffinity.c
18207         (__sched_getaffinity_new): Add libc_hidden_proto and
18208         libc_hidden_def.
18210 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18212         [BZ #19007]
18213         * scripts/localplt.awk: Also allow GOT references.
18214         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18215         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18216         with "+ REL R_386_GLOB_DAT".
18217         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18218         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18220 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18222         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18223         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18224         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18225         Likewise.
18226         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18227         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18228         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18229         INTERNAL_SYSCALLINTERNAL_SYSCALL and
18230         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18231         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18232         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18233         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18234         Likewise.
18235         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18237 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18239         [BZ #19125]
18240         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18241         <math_private.h> and <stdint.h>.
18242         (__llround): Avoid conversions to and from long long int, and
18243         subtractions, where those might raise spurious exceptions.
18244         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18245         <math_private.h> and <stdint.h>.
18246         (__llroundf): Avoid conversions to and from long long int, and
18247         subtractions, where those might raise spurious exceptions.
18249 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18251         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18252         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18253         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18254         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18255         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18256         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18257         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18258         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18259         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18260         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18261         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18262         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18263         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18264         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18265         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18266         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18267         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18268         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18269         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18270         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18271         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18272         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18273         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18274         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18275         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18276         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18277         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18278         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18279         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18280         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18281         (__xstat64_conv): Likewise.
18282         (__xstat32_conv): Likewise.
18284 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18286         * sysdeps/unix/sysv/linux/sysdep.h: New file.
18287         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18288         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18289         <sysdeps/unix/sysv/linux/sysdep.h>.
18290         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18291         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18292         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18293         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18294         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18295         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18296         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18297         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18298         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18301         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18302         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18303         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18304         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18305         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18306         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18307         (sysdep-dl-routines): Add sysdep.
18308         [$(subdir) == nptl] (libpthread-routines): Likewise.
18309         [$(subdir) == rt] (librt-routines): Likewise.
18310         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18311         PIC when branching to SYSCALL_ERROR_LABEL.
18312         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18313         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18314         <sysdeps/unix/sysv/linux/sysdep.h>.
18315         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18316         (SYSCALL_ERROR_ERRNO): Removed.
18317         (SYSCALL_ERROR_HANDLER): Changed to empty.
18318         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18319         (__syscall_error): New prototype.
18320         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18321         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18323 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18325         [BZ #19124]
18326         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18327         (_dl_runtime_resolve_avx512): Make it a hidden alias of
18328         _dl_runtime_resolve_avx.
18329         (_dl_runtime_profile_avx512): Make it a hidden alias of
18330         _dl_runtime_profile_avx.
18332 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18334         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18335         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18336         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18337         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18339         [BZ #16422]
18340         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18341         New configure test.
18342         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18343         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18344         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18345         <math_private.h> and <stdint.h>.
18346         (__llrint): Avoid conversions to long long int where those might
18347         raise spurious exceptions.
18348         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18349         <math_private.h> and <stdint.h>.
18350         (__llrintf): Avoid conversions to long long int where those might
18351         raise spurious exceptions.
18353 2015-10-12  Andreas Schwab  <schwab@suse.de>
18355         [BZ #18969]
18356         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
18357         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18358         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
18359         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18360         $(gen-locales).
18361         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
18362         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18363         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18364         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18365         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18366         $(gen-locales).
18367         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
18368         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18369         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18370         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18371         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18372         ($(objpfx)tst-ftell-active-handler.out)
18373         ($(objpfx)tst-ftell-append.out)
18374         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18375         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18376         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18377         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18378         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
18379         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18380         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18381         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18382         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18383         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18384         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18385         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18386         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18387         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18388         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18389         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18390         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18391         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18392         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
18393         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18394         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18395         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18396         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18397         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
18398         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18399         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18400         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18401         $(gen-locales).
18402         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
18403         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18404         $(gen-locales).
18405         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
18406         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18407         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18408         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18409         $(gen-locales).
18410         * libio/tst_wprintf2.c (main): Use explicit locale.
18411         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18413 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18415         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18416         __msg_sig_post.
18417         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18419 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18421         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18422         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18424         * sysdeps/arm/libm-test-ulps: Regenerated.
18426         [BZ #15470]
18427         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18429         [BZ #16399]
18430         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18431         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18432         and <fix-fp-int-convert-overflow.h>.
18433         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18434         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18435         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18436         and <fix-fp-int-convert-overflow.h>.
18437         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18438         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18439         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18440         <fix-fp-int-convert-overflow.h>.
18441         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18442         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18443         * sysdeps/ieee754/dbl-64/s_lround.c: Include
18444         <fix-fp-int-convert-overflow.h>.
18445         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18446         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18447         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18448         and <fix-fp-int-convert-overflow.h>.
18449         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18450         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18451         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18452         <limits.h> and <fix-fp-int-convert-overflow.h>.
18453         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18454         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18455         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18456         and <fix-fp-int-convert-overflow.h>.
18457         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18458         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18459         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18460         and <fix-fp-int-convert-overflow.h>.
18461         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18462         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18463         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18465 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
18467         [BZ #18589]
18468         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18469         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18470         $(gen-locales).
18472 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18473             Phil Blundell <pb@pbcl.net>
18475         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18476         * nptl/tst-cancel26.c: New file.
18477         * nptl/tst-cancel27.c: Likewise.
18479 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
18481         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18482         __ILP32__ isn't defined.
18483         (lrint): Likewise.
18484         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18485         (lrintf): Likewise.
18486         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18487         (lrintl): Likewise.
18488         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18489         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18490         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18492 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18494         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18495         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18497         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18498         file.
18499         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18500         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18502 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18504         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18505         configure test.
18506         * sysdeps/i386/configure: Regenerated.
18507         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18508         configure test.
18509         * sysdeps/x86_64/configure: Regenerated.
18510         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18511         Make code unconditional.
18513         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18514         test.
18515         * sysdeps/i386/configure: Regenerated.
18516         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18517         test.
18518         * sysdeps/x86_64/configure: Regenerated.
18519         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18520         Make code unconditional.
18521         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18522         Likewise.
18523         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18524         Likewise.
18525         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18526         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18527         code unconditional.
18528         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18529         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18530         code unconditional.
18531         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18532         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18533         code unconditional.
18534         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18535         code unconditional.
18536         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18537         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18538         code unconditional.
18539         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18540         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18541         code unconditional.
18542         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18543         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18544         code unconditional.
18545         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18546         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18547         code unconditional.
18548         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18549         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18551         [BZ #19095]
18552         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18553         mantissa to long int before shifting left.
18555 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18557         [BZ #19094]
18558         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18559         <limits.h>.
18560         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18561         when result overflows but exception would not result from cast.
18562         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18563         <limits.h>.
18564         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18565         when result overflows but exception would not result from cast.
18566         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18567         <limits.h>.
18568         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18569         when result overflows but exception would not result from cast.
18570         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18571         <limits.h>.
18572         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18573         when result overflows but exception would not result from cast.
18574         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18575         <limits.h>.
18576         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18577         when result overflows but exception would not result from cast.
18578         * math/libm-test.inc (lrint_test_data): Add more tests.
18579         (llrint_test_data): Likewise.
18581 2015-10-08  Roland McGrath  <roland@hack.frob.com>
18583         [BZ #18872]
18584         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18585         Move out from under [$(run-built-tests) = yes] conditional.
18586         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18587         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18589 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
18591         [BZ #18589]
18592         * string/Makefile (tests): Add bug-strcoll2.
18593         (LOCALES): Add cs_CZ.UTF-8.
18594         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18596         [BZ #18589]
18597         * string/bug-strcoll2.c: New file.
18598         * locale/categories.def: Revert commit
18599         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18600         * locale/langinfo.h: Likewise.
18601         * locale/localeinfo.h: Likewise.
18602         * locale/C-collate.c: Likewise.
18603         * locale/programs/ld-collate.c (collate_output): Likewise.
18604         * string/strcoll_l.c (STRDIFF): Likewise.
18605         (STRCOLL): Likewise.
18606         * wcsmbs/wcscoll_l.c: Likewise.
18608 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18610         * math/libm-test.inc (lround_test_data): Do not expect the absence
18611         of "inexact" for some tests with non-integer arguments.
18612         (llround_test_data): Likewise.
18614         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18615         test.
18616         (libc_cv_cc_sse2avx): Likewise.
18617         * sysdeps/i386/configure: Regenerated.
18618         * sysdeps/i386/i686/multiarch/Makefile
18619         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18620         [$(subdir) = math].
18621         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18622         code unconditional.
18623         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18624         Likewise.
18625         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18626         Likewise.
18627         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18628         Likewise.
18629         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18630         test.
18631         (libc_cv_cc_sse2avx): Likewise.
18632         * sysdeps/x86_64/configure: Regenerated.
18633         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18634         unconditional.
18635         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18636         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18637         unconditional.
18638         (_dl_runtime_profile)
18639         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18640         conditional code.
18641         * sysdeps/x86_64/fpu/multiarch/Makefile
18642         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18643         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18644         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18645         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18646         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18647         * sysdeps/x86_64/fpu/multiarch/e_log.c
18648         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18649         * sysdeps/x86_64/fpu/multiarch/s_atan.c
18650         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18651         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18652         Likewise.
18653         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18654         Likewise.
18655         * sysdeps/x86_64/fpu/multiarch/s_sin.c
18656         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18657         * sysdeps/x86_64/fpu/multiarch/s_tan.c
18658         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18659         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18660         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18661         (HAVE_SSE2AVX_SUPPORT): Likewise.
18663 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
18665         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18666         instead of #pragma optimize.
18668 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18670         [BZ #17195]
18671         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18672         as is similarly done in systrim and _int_free already.
18674 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18676         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18678 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18680         [BZ #19088]
18681         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18682         <limits.h>.
18683         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18684         overflows but exception would not result from cast.
18685         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18686         and <limits.h>.
18687         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18688         overflows but exception would not result from cast.
18689         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18690         <limits.h>.
18691         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18692         overflows but exception would not result from cast.
18693         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18694         <limits.h>.
18695         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18696         overflows but exception would not result from cast.
18697         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18698         <limits.h>.
18699         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18700         overflows but exception would not result from cast.
18701         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18702         <limits.h>.
18703         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18704         overflows but exception would not result from cast.
18705         * math/libm-test.inc (lround_test_data): Add more tests.
18706         (llround_test_data): Likewise.
18708 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
18710         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18711         (CFLAGS-ialloc.c): Ditto.
18712         (CFLAGS-scheck.c): Ditto.
18714 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18716         [BZ #19086]
18717         * manual/filesys.texi (Storage Allocation): Fix argument order for
18718         posix_fallocate64.
18720 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18722         [BZ #19085]
18723         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18724         exponent below 48 inside case for non-overflowing exponent.
18725         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18727 2015-10-07  Florian Weimer  <fweimer@redhat.com>
18729         * iconvdata/cp737.h (from_idx): Add const.
18730         * iconvdata/cp775.h (from_idx): Likewise.
18732 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18734         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18735         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18736         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18738         [BZ #19079]
18739         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18740         file, conditioned on [!_LP64].
18741         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18742         [!_LP64] (__lround): Do not define as function or alias.
18743         [!_LP64] (lround): Likewise.
18744         [!_LP64] (__lroundl): Likewise.
18745         [!_LP64] (lroundl): Likewise.
18746         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18747         macro.
18748         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18749         Likewise.
18751 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18753         * math/libm-test.inc (lrint_test_data): Add more tests.
18754         (llrint_test_data): Likewise.
18755         (lround_test_data): Likewise.
18756         (llround_test_data): Likewise.
18758         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18759         (llrint_test_data): Add tests used for lrint.
18761         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18762         test.
18763         * sysdeps/i386/configure: Regenerated.
18764         * sysdeps/i386/i686/multiarch/Makefile
18765         [$(config-cflags-sse4) = yes]: Make code unconditional.
18766         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18767         Likewise.
18768         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18769         Likewise.
18770         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18771         test.
18772         * sysdeps/x86_64/configure: Regenerated.
18773         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18774         Make code unconditional.
18775         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18776         Likewise.
18777         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18778         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18780         * scripts/rpm2dynsym.sh: Remove file.
18782 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18784         * configure.ac (libc_cv_cxx_thread_local): Define.
18785         * configure: Regenerate.
18786         * config.make.in (have-cxx-thread_local): Define.
18787         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18788         (LDLIBS-tst-thread_local1): Define.
18789         (tests): Add tst-thread_local1.
18790         [have-cxx-thread_local != yes] (tests-unsupported): Add
18791         tst-thread_local1.
18792         * nptl/tst-thread_local1.cc: New file.
18794 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18796         [BZ #19078]
18797         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18798         (u_thres): Likewise.
18799         (__expl): Determine whether to call __kernel_standard_l based on
18800         value of result, not argument.
18802         * math/libm-test.inc (scalb_test_data): Add more expectations for
18803         the "inexact" exception.
18805         [BZ #19077]
18806         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18807         0.0L for argument 1.0L.
18809         [BZ #19076]
18810         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18811         constant 0.0L when computing infinite result.
18813 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18815         [BZ #10432]
18816         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18817         malloc_usable_size.
18819 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18821         [BZ #19018]
18822         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18823         Mangle function pointer before storing it.
18824         (__call_tls_dtors): Demangle function pointer before calling it.
18826 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18828         [BZ #19012]
18829         * iconv/gconv_db.c (gen_steps): Check for additional errors.
18830         Clean up on failure.
18832 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
18834         [BZ #19071]
18835         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18836         long int variable to store possibly incremented high part of
18837         mantissa.
18838         * math/libm-test.inc (lround_test_data): Add tests used for
18839         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
18840         for tests requiring 64-bit long.  Do not condition tests on
18841         [TEST_FLOAT] unnecessarily.
18842         (llround_test_data): Add tests used for lround.  Add another
18843         expectation for the "inexact" exception.  Do not condition tests
18844         on [TEST_FLOAT] unnecessarily.
18846         [BZ #887]
18847         [BZ #19049]
18848         [BZ #19050]
18849         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18850         * sysdeps/ieee754/dbl-64/e_log10.c: Include
18851         <fix-int-fp-convert-zero.h>.
18852         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18853         * sysdeps/ieee754/dbl-64/e_log2.c: Include
18854         <fix-int-fp-convert-zero.h>.
18855         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18856         * sysdeps/ieee754/dbl-64/s_erf.c: Include
18857         <fix-int-fp-convert-zero.h>.
18858         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18859         * sysdeps/ieee754/dbl-64/s_logb.c: Include
18860         <fix-int-fp-convert-zero.h>.
18861         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18862         * sysdeps/ieee754/flt-32/e_log10f.c: Include
18863         <fix-int-fp-convert-zero.h>.
18864         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18865         * sysdeps/ieee754/flt-32/e_log2f.c: Include
18866         <fix-int-fp-convert-zero.h>.
18867         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18868         * sysdeps/ieee754/flt-32/s_erff.c: Include
18869         <fix-int-fp-convert-zero.h>.
18870         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18871         * sysdeps/ieee754/flt-32/s_logbf.c: Include
18872         <fix-int-fp-convert-zero.h>.
18873         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18874         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18875         <fix-int-fp-convert-zero.h>.
18876         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18877         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18878         <fix-int-fp-convert-zero.h>.
18879         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18880         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18881         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18882         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18883         file.
18884         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18886 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18888         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18890 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
18892         [BZ #19059]
18893         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18894         overflowing computation.
18895         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18896         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18897         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18898         Likewise.
18899         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18900         Likewise.
18901         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18902         Likewise.
18903         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18904         Likewise.
18905         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18906         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18907         Likewise.
18908         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18909         Likewise.
18910         * math/libm-test.inc (nexttoward_test_data): Add more tests.
18912         * nss/rewrite_field.c (__nss_rewrite_field): Use
18913         internal_function.
18914         * nss/valid_field.c (__nss_valid_field): Likewise.
18915         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18917 2015-10-02  Florian Weimer  <fweimer@redhat.com>
18919         [BZ #18724]
18920         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18921         (__nss_invalid_field_characters, __nss_valid_field)
18922         (__nss_valid_list_field, __nss_rewrite_field): Declare.
18923         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18924         tst-field.c: New file.
18925         * nss/Makefile (routines): Add valid_field, rewrite_field.
18926         (tests-static): Define unconditionally.
18927         (tests): Include tests-static.
18928         [build-static-nss] (tests-static): Use append.
18929         [build-static-nss] (tests): Remove modification.
18930         * nss/getent.c (print_group): Call putgrent.  Report error.
18931         (print_gshadow): Call putsgent.  Report error.
18932         (print_passwd): Call putpwent.  Report error.
18933         (print_shadow): Call putspent.  Report error.
18934         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18935         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18936         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
18937         name, password, directory, shell fields for valid syntax.  Rewrite
18938         GECOS field to match syntax.
18939         * pwd/Makefile (tests): Add tst-putpwent.
18940         * pwd/tst-putpwent.c: New file.
18941         * grp/putgrent.c (putgrent): Convert to ISO function definition.
18942         Check grName, grpasswd, gr_mem fields for valid syntax.
18943         Change loop variable i to size_t.
18944         * grp/Makefile (tests): Add tst-putgrent.
18945         * grp/tst-putgrent.c: New file.
18946         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18947         valid syntax.
18948         * shadow/Makefile (tests): Add tst-putspent.
18949         * shadow/tst-putspent.c: New file.
18950         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18951         sg_mem fields for valid syntax.
18952         * gshadow/Makefile (tests): Add tst-putsgent.
18953         * gshadow/tst-putsgent.c: New file.
18955 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18957         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18958         assembly instructions.
18960 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18962         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18963         prefix from operands.
18965 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
18967         [BZ #16347]
18968         [BZ #19046]
18969         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18970         <libc-internal.h>.
18971         (MAXLGM): Do not use diagnostic control macros.
18972         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18973         threshold for ldbl-128ibm.
18974         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18975         instead of multiplying by log then subtracting.
18976         * math/auto-libm-test-in: Add more tests of lgamma.
18977         * math/auto-libm-test-out: Regenerated.
18979         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18980         (TYPE_HEX_DIG): Likewise.
18981         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18982         precisions when printing floating-point numbers.
18983         (check_float_internal): Likewise.
18985 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
18987         [BZ #16620]
18988         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
18989         of log (10) rounded downward to 48 bits.
18990         (log10_low): Use corresponding low part of log (10).
18992         [BZ #19032]
18993         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
18994         compute result as (x - x) / (x - x) not as 0 / 0.
18995         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18996         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
18998         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18999         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19000         and expm1.
19001         * math/auto-libm-test-out: Regenerated.
19002         * math/libm-test.inc (acos_test_data): Add more tests.
19003         (asin_test_data): Likewise.
19004         (asinh_test_data): Likewise.
19005         (atan_test_data): Likewise.
19006         (atanh_test_data): Likewise.
19007         (atan2_test_data): Likewise.
19008         (cbrt_test_data): Likewise.
19009         (ceil_test_data): Likewise.
19010         (copysign_test_data): Likewise.
19011         (cos_test_data): Likewise.
19012         (cosh_test_data): Likewise.
19013         (erf_test_data): Likewise.
19014         (erfc_test_data): Likewise.
19015         (exp_test_data): Likewise.
19016         (exp10_test_data): Likewise.
19017         (exp2_test_data): Likewise.
19018         (expm1_test_data): Likewise.
19019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19021 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19023         [BZ #19006]
19024         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19025         to ...
19026         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19027         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19028         to ...
19029         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19030         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19031         to ...
19032         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19033         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19034         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19035         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19036         to ...
19037         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19038         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19039         Moved to ...
19040         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19041         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19042         Moved to ...
19043         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19044         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19045         to ...
19046         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19047         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19048         Moved to ...
19049         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19050         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19051         to ...
19052         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19053         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19054         Removed.
19055         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19056         Likewise.
19057         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19058         Likewise.
19059         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19060         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19061         Likewise.
19062         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19063         Likewise.
19064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19065         Likewise.
19066         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19067         Likewise.
19068         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19069         Likewise.
19070         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19071         Likewise.
19072         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19073         Likewise.
19074         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19075         Likewise.
19076         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19077         Likewise.
19078         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19079         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19080         Likewise.
19081         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19082         Likewise.
19083         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19084         Likewise.
19085         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19086         Likewise.
19087         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19088         Likewise.
19089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19090         Replace ../i486/pthread_cond_timedwait.S with
19091         ../pthread_cond_timedwait.S.
19093 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19095         * math/libm-test.inc (acos_test_data): Refine expectations for
19096         errno and "inexact" exceptions.
19097         (acosh_test_data): Likewise.
19098         (asin_test_data): Likewise.
19099         (asinh_test_data): Likewise.
19100         (atan_test_data): Likewise.
19101         (atanh_test_data): Likewise.
19102         (atan2_test_data): Likewise.
19103         (cbrt_test_data): Likewise.
19104         (ceil_test_data): Likewise.
19105         (copysign_test_data): Likewise.
19106         (cosh_test_data): Likewise.
19107         (erf_test_data): Likewise.
19108         (erfc_test_data): Likewise.
19109         (exp_test_data): Likewise.
19110         (exp10_test_data): Likewise.
19111         (exp2_test_data): Likewise.
19112         (expm1_test_data): Likewise.
19113         (fabs_test_data): Likewise.
19114         (floor_test_data): Likewise.
19115         (fma_test_data): Likewise.
19116         (fmax_test_data): Likewise.
19117         (fmin_test_data): Likewise.
19118         (fmod_test_data): Likewise.
19119         (fpclassify_test_data): Likewise.
19120         (frexp_test_data): Likewise.
19121         (hypot_test_data): Likewise.
19122         (ilogb_test_data): Likewise.
19123         (isgreater_test_data): Likewise.
19124         (isgreaterequal_test_data): Likewise.
19125         (isinf_test_data): Likewise.
19126         (isless_test_data): Likewise.
19127         (islessequal_test_data): Likewise.
19128         (islessgreater_test_data): Likewise.
19129         (isnan_test_data): Likewise.
19130         (isnormal_test_data): Likewise.
19131         (issignaling_test_data): Likewise.
19132         (isunordered_test_data): Likewise.
19133         (j0_test_data): Likewise.
19134         (j1_test_data): Likewise.
19135         (jn_test_data): Likewise.
19136         (lgamma_test_data): Likewise.
19137         (lrint_test_data): Likewise.
19138         (llrint_test_data): Likewise.
19139         (log_test_data): Likewise.
19140         (log10_test_data): Likewise.
19141         (log1p_test_data): Likewise.
19142         (log2_test_data): Likewise.
19143         (logb_test_data): Likewise.
19144         (lround_test_data): Likewise.
19145         (llround_test_data): Likewise.
19146         (modf_test_data): Likewise.
19147         (nearbyint_test_data): Likewise.
19148         (nextafter_test_data): Likewise.
19149         (nexttoward_test_data): Likewise.
19150         (pow_test_data): Likewise.
19151         (remainder_test_data): Likewise.
19152         (remquo_test_data): Likewise.
19153         (rint_test_data): Likewise.
19154         (round_test_data): Likewise.
19155         (signbit_test_data): Likewise.
19156         (sinh_test_data): Likewise.
19157         (sqrt_test_data): Likewise.
19158         (tanh_test_data): Likewise.
19159         (tgamma_test_data): Likewise.
19160         (trunc_test_data): Likewise.
19161         (y0_test_data): Likewise.
19162         (y1_test_data): Likewise.
19163         (yn_test_data): Likewise.
19164         (significand_test_data): Likewise.
19166 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19168         * manual/filesys.texi (Storage Allocation): Document that
19169         posix_fallocate emulation fails when fd is open with O_WRONLY.
19171 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19173         [BZ #19016]
19174         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19175         allow more cases with X^2 + Y^2 >= 0.5.
19176         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19177         normal element in sum instead of special-casing based on values of
19178         arguments.
19179         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19180         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19181         -1 as normal element in sum instead of special-casing based on
19182         values of arguments.
19183         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19184         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19185         (__x2y2m1): Update comment.
19186         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19187         as normal element in sum instead of special-casing based on values
19188         of arguments.
19189         * math/s_clog.c (__clog): Handle more cases using log1p without
19190         hypot.
19191         * math/s_clog10.c (__clog10): Likewise.
19192         * math/s_clog10f.c (__clog10f): Likewise.
19193         * math/s_clog10l.c (__clog10l): Likewise.
19194         * math/s_clogf.c (__clogf): Likewise.
19195         * math/s_clogl.c (__clogl): Likewise.
19196         * math/auto-libm-test-in: Add more tests of clog and clog10.
19197         * math/auto-libm-test-out: Regenerated.
19198         * sysdeps/i386/fpu/libm-test-ulps: Update.
19199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19201 2015-09-28  Martin Sebor  <msebor@redhat.com>
19203         [BZ #18969]
19204         * string/Makefile (LOCALES): Define.
19205         (gen-locales.mk): Include.
19206         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19207         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19208         * string/tst-strxfrm2.c (do_test): Print the name of the locale
19209         on setlocale failure.
19211 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19213         [BZ #18985]
19214         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19215         (__strftime_internal): Likewise.
19216         * time/tst-strftime.c (do_bz18985): New test.
19217         (do_test): Call it.
19219 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
19221         [BZ #18956]
19222         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19223         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
19224         extracting high part.
19225         * math/auto-libm-test-in: Add another test of pow.
19226         * math/auto-libm-test-out: Regenerated.
19227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19229 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19231         [BZ #18825]
19232         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19233         New macro.
19234         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19235         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19236         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19237         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19238         DBL_NARROW_EVAL, reloading the PIC register as needed.
19239         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19240         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19241         FLT_NARROW_EVAL.  Use separate return path for case when first
19242         argument is NaN.
19243         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
19244         DEFINE_LDBL_MIN.
19245         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19246         PIC register.
19247         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19248         math_check_force_underflow_nonneg.
19249         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19250         underflow for subnormal result.
19251         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19252         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19253         math_check_force_underflow_nonneg.
19254         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19255         math_check_force_underflow.
19256         * sysdeps/x86_64/fpu/x86_64-math-asm.h
19257         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19258         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
19259         DEFINE_LDBL_MIN.
19260         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19261         * math/auto-libm-test-in: Add more tests of pow.
19262         * math/auto-libm-test-out: Regenerated.
19264 2015-09-25  Florian Weimer  <fweimer@redhat.com>
19266         * nss/bug17079.c (init_test_items): Add diagnostic for
19267         inconsistent entries.
19268         (test_buffer_size): Skip inconsistent entries.
19270 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19272         [BZ #13304]
19273         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19274         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19275         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19277         [BZ #13304]
19278         * sysdeps/microblaze/s_fma.c: New file.
19279         * sysdeps/microblaze/s_fmaf.c: Likewise.
19280         * sysdeps/microblaze/sfp-machine.h: Likewise.
19282 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
19284         [BZ #17250]
19285         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19286         member.
19288 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19290         [BZ #18803]
19291         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19292         (MO): New macro.
19293         (__ieee754_hypot) [PIC]: Load PIC register.
19294         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19295         DBL_NARROW_EVAL.
19296         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19297         math_check_force_underflow_nonneg in case where result might be
19298         tiny.
19299         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19300         Likewise.
19301         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19302         Likewise.
19303         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19304         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19305         * math/auto-libm-test-in: Add more tests of hypot.
19306         * math/auto-libm-test-out: Regenerated.
19308 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
19310         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19312 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19314         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19315         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19316         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19317         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19318         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19319         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19320         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19322         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19323         LOAD_PIC_REG.
19325         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19326         (FLT_CHECK_FORCE_UFLOW): Likewise.
19327         (DBL_CHECK_FORCE_UFLOW): Likewise.
19328         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19329         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19330         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19331         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19332         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19333         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19334         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19335         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19336         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19337         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19338         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19339         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19340         (flt_min): Replace with use of DEFINE_FLT_MIN.
19341         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19342         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19343         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19344         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19345         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19346         (flt_min): Replace with use of DEFINE_FLT_MIN.
19347         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19348         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19349         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19350         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19351         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19352         (flt_min): Replace with use of DEFINE_FLT_MIN.
19353         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19354         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19355         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19356         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19357         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19358         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19359         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19360         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19361         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19362         (__atan): Use DBL_CHECK_FORCE_UFLOW.
19363         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19364         (flt_min): Replace with use of DEFINE_FLT_MIN.
19365         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19366         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19367         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19368         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
19369         main computation.
19370         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19371         (flt_min): Replace with use of DEFINE_FLT_MIN.
19372         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
19373         main computation.
19374         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19375         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19376         (MO): New macro.
19377         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19378         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19379         (flt_min): Replace with use of DEFINE_FLT_MIN.
19380         (MO): New macro.
19381         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19382         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19383         (__log1pl): Use MO.
19385         [BZ #19003]
19386         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19387         $(config-cflags-nofma).
19389 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19391         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19393 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
19395         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19396         (TWO127): Likewise.
19398         * sysdeps/generic/math_private.h (fabs_tg): New macro.
19399         (min_of_type): Likewise.
19400         (math_check_force_underflow): Likewise.
19401         (math_check_force_underflow_nonneg): Likewise.
19402         (math_check_force_underflow_complex): Likewise.
19403         * math/e_exp2l.c (__ieee754_exp2l): Use
19404         math_check_force_underflow_nonneg.
19405         * math/k_casinh.c (__kernel_casinh): Likewise.
19406         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19407         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19408         * math/s_catan.c (__catan): Use
19409         math_check_force_underflow_complex.
19410         * math/s_catanf.c (__catanf): Likewise.
19411         * math/s_catanh.c (__catanh): Likewise.
19412         * math/s_catanhf.c (__catanhf): Likewise.
19413         * math/s_catanhl.c (__catanhl): Likewise.
19414         * math/s_catanl.c (__catanl): Likewise.
19415         * math/s_ccosh.c (__ccosh): Likewise.
19416         * math/s_ccoshf.c (__ccoshf): Likewise.
19417         * math/s_ccoshl.c (__ccoshl): Likewise.
19418         * math/s_cexp.c (__cexp): Likewise.
19419         * math/s_cexpf.c (__cexpf): Likewise.
19420         * math/s_cexpl.c (__cexpl): Likewise.
19421         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19422         * math/s_clog10.c (__clog10): Likewise.
19423         * math/s_clog10f.c (__clog10f): Likewise.
19424         * math/s_clog10l.c (__clog10l): Likewise.
19425         * math/s_clogf.c (__clogf): Likewise.
19426         * math/s_clogl.c (__clogl): Likewise.
19427         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19428         * math/s_csinf.c (__csinf): Likewise.
19429         * math/s_csinh.c (__csinh): Likewise.
19430         * math/s_csinhf.c (__csinhf): Likewise.
19431         * math/s_csinhl.c (__csinhl): Likewise.
19432         * math/s_csinl.c (__csinl): Likewise.
19433         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19434         * math/s_csqrtf.c (__csqrtf): Likewise.
19435         * math/s_csqrtl.c (__csqrtl): Likewise.
19436         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19437         * math/s_ctanf.c (__ctanf): Likewise.
19438         * math/s_ctanh.c (__ctanh): Likewise.
19439         * math/s_ctanhf.c (__ctanhf): Likewise.
19440         * math/s_ctanhl.c (__ctanhl): Likewise.
19441         * math/s_ctanl.c (__ctanl): Likewise.
19442         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19443         instead of volatile.
19444         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19445         math_check_force_underflow.
19446         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19447         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19448         volatile when forcing underflow.
19449         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19450         math_check_force_underflow_nonneg.
19451         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19452         Likewise.
19453         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19454         math_check_force_underflow.
19455         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19456         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19457         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19458         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19459         math_check_force_underflow_nonneg.
19460         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19461         math_check_force_underflow.
19462         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19463         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19464         instead of volatile.
19465         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19466         math_check_force_underflow.
19467         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19468         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19469         math_check_force_underflow_nonneg.
19470         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19471         math_check_force_underflow.
19472         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19473         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19474         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19475         math_check_force_underflow_nonneg.
19476         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19477         Likewise.
19478         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19479         math_check_force_underflow.
19480         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19481         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19482         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19483         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19484         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19485         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19486         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19487         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19488         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19489         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19490         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19491         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19492         Likewise.
19493         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19494         math_check_force_underflow_nonneg.
19495         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19496         Likewise.
19497         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19498         math_check_force_underflow.
19499         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19500         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19501         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19502         Likewise.
19503         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19504         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19505         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19506         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19507         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19508         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19509         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19510         instead of volatile.
19511         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19512         math_check_force_underflow.
19513         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19514         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19515         math_check_force_underflow.
19516         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19517         Likewise.
19518         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19519         Use math_check_force_underflow_nonneg.
19520         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19521         math_check_force_underflow.
19522         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19523         Likewise.
19524         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19525         Likewise.
19526         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19527         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19528         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19529         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19530         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19531         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19532         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19533         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19534         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19535         math_check_force_underflow_nonneg.
19536         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19537         math_check_force_underflow.
19538         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19539         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19540         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19541         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19542         math_check_force_underflow_nonneg.
19543         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19544         math_check_force_underflow.
19545         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19547         instead of volatile.
19548         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19549         math_check_force_underflow.
19551         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19552         * stdlib/strtod_l.c: Include <math_private.h>.
19553         (overflow_value): Use math_narrow_eval.
19554         (underflow_value): Likewise.
19555         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19556         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19557         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19558         (__ieee754_gamma_r): Likewise.
19559         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19560         Likewise.
19561         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19562         Likewise.
19563         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19564         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19565         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19566         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19567         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19568         (__ieee754_gammaf_r): Likewise.
19569         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19570         Likewise.
19571         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19572         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19573         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19574         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19575         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19576         volatile.
19577         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19578         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19579         math_narrow_eval.
19580         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19581         Likewise.
19582         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19583         Likewise.
19584         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19585         Likewise.
19586         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19587         volatile.
19588         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19589         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19590         math_narrow_eval.
19591         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19592         Likewise.
19593         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19594         Likewise.
19596 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
19598         * nptl/Versions: Remove ignored symbols.
19600 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19602         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
19603         * nss/Makefile (tests): Update.
19605 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19607         * nss/bug18287.c: New file.
19608         * nss/Makefile (tests): Add bug18287.
19610 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19612         * mach/Versions (__mach_host_self_): Add symbol.
19614 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19616         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19617         vm_page_size.
19619 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19621         Really fix sysdeps/i386/fpu/s_scalbn.S build
19623         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19624         (libc: GLIBC_2_22): Remove unused version set.
19626 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19628         * config.make.in (enable-timezone-tools): New variable.
19629         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19630         (enable_timezone_tools): Export to generated files.
19631         * configure: Regenerate.
19632         * INSTALL: Regenerate.
19633         * manual/install.texi (--disable-timezone-tools): Document new flag.
19634         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19635         ifeq ($(enable-timezone-tools),yes) check.
19637 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19639         * timezone/Makefile: Revert previous change.
19641         [BZ #18980]
19642         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19643         (DEFINE_DBL_MIN): Likewise.
19644         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19645         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19646         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19647         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19648         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19649         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19650         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19651         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19652         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19653         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19654         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19655         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19656         (flt_min): Replace with use of DEFINE_FLT_MIN.
19657         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19658         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19659         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19660         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19661         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19662         (flt_min): Replace with use of DEFINE_FLT_MIN.
19663         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19664         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19665         (flt_min): Replace with use of DEFINE_FLT_MIN.
19666         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19667         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19668         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19669         (__ieee754_hypot): Use DBL_NARROW_EVAL.
19670         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19671         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19672         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19673         (__ieee754_pow): Use DBL_NARROW_EVAL.
19674         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19675         (__ieee754_powf): Use FLT_NARROW_EVAL.
19676         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19677         (__ieee754_expf_sse2): Convert double-precision result to single
19678         precision.
19679         * sysdeps/i386/fpu/libm-test-ulps: Update.
19681 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19683         * timezone/Makefile: Ignore unused variable errors due to private.h
19684         (time_t_min) and (time_t_max).
19685         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
19686         Likewise.
19688 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19690         [BZ #18981]
19691         * sysdeps/i386/fpu/i386-math-asm.h: New file.
19692         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19693         (__ieee754_scalb): Use DBL_NARROW_EVAL.
19694         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19695         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19696         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19697         (__scalbn): Use DBL_NARROW_EVAL.
19698         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19699         (__scalbnf): Use FLT_NARROW_EVAL.
19701 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19703         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19704         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19705         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19706         * stdio-common/printf_fp.c (___printf_fp):
19707         Use signbit to get the sign. Use isinf macro to allow inlining.
19708         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19709         * stdio-common/printf_size.c (__printf_size): Likewise.
19711 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19713         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19715 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19717         [BZ #18980]
19718         * sysdeps/generic/math_private.h: Include <float.h>.
19719         (math_narrow_eval): New macro.
19720         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19721         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19722         math_narrow_eval on overflowing return value.
19723         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19724         Likewise.
19725         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19726         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19727         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19728         Likewise.
19729         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19731 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19733         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19734         * math/Makefile: Remove isinf_ns.c.
19735         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19736         * math/multc3.c (__multc3): Likewise.
19737         * math/s_casin.c (__casin): Likewise.
19738         * math/s_casinf.c (__casinf): Likewise.
19739         * math/s_casinl.c (__casinl): Likewise.
19740         * math/s_cproj.c (__cproj): Likewise.
19741         * math/s_cprojf.c (__cprojf): Likewise.
19742         * math/s_cprojl.c (__cprofl): Likewise.
19743         * math/s_ctan.c (__ctan): Likewise.
19744         * math/s_ctanf.c (__ctanf): Likewise.
19745         * math/s_ctanh.c (__ctanh): Likewise.
19746         * math/s_ctanhf.c (__ctanhf): Likewise.
19747         * math/s_ctanhl.c (__ctanhl): Likewise.
19748         * math/s_ctanl.c (__ctanl): Likewise.
19749         * math/w_fmod.c (__fmod): Likewise.
19750         * math/w_fmodf.c (__fmodf): Likewise.
19751         * math/w_fmodl.c (_fmodl): Likewise.
19752         * math/w_remainder.c (__remainder): Likewise.
19753         * math/w_remainderf.c (__remainderf): Likewise.
19754         * math/w_remainderl.c (__remainderl): Likewise.
19755         * math/w_scalb.c (__scalb): Likewise.
19756         * math/w_scalbf.c (__scalbf): Likewise.
19757         * math/w_scalbl.c (__scalbl): Likewise.
19758         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19759         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19760         with isinf.
19761         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19762         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19763         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19764         __isinf_nsf with isinf.
19765         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19766         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19767         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19768         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19769         with isinf.
19770         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19771         __isinf_nsl with isinf.
19772         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19773         with isinf.
19774         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19775         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19776         __isinf_nsl with isinf.
19777         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19778         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19779         with isinf.
19781 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19783         * resolv/base64.c (rcsid): Remove unused static.
19784         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19785         static.  (tqpi1): Likewise.
19786         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19787         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19788         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19789         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19790         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19791         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19792         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19793         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
19794         Likewise.
19796 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
19798         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19799         <nptl/pthreadP.h>.
19800         (_longjmp_unwind): Use __libc_ptf_call.
19801         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19803 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
19805         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19806         * sysdeps/arm/__longjmp.S: Likewise.
19808 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19810         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19811         Use __builtin_signbit.
19812         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19813         Use __builtin_signbitf.
19814         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19815         Use __builtin_signbitl.
19816         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19817         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19819 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19821         [BZ #15367]
19822         [BZ #17441]
19824         * math/Makefile: Build test-snan.c with -fsignaling-nans.
19825         * math/math.h (fpclassify): Use __builtin_fpclassify when
19826         available.  (signbit): Use __builtin_signbit(f/l).
19827         (isfinite): Use__builtin_isfinite.  (isnormal): Use
19828         __builtin_isnormal.  (isnan): Use __builtin_isnan.
19829         (isinf): Use __builtin_isinf_sign.
19831 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19833         * benchtests/Makefile: Add bench-math-inlines, link with libm.
19834         * benchtests/bench-math-inlines.c: New benchmark.
19835         * benchtests/bench-util.h: New file.
19836         * benchtests/bench-util.c: New file.
19837         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19839 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
19841         * elf/tst-dlmopen1.c: Define TEST_SO.
19842         (do_test): Use TEST_SO.
19844         * elf/dl-load.c: Include libc-internal.h.
19845         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19847 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19849         [BZ #17887]
19850         * time/strptime_l.c (__strptime_internal): Make %z accept
19851         [+-]HH:MM time zones.
19853 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19855         [BZ #17886]
19856         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19857         valid time zone.
19859 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
19861         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19862         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19863         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19864         (__ASSUME_FDATASYNC): Delete.
19866 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19868         * conform/linknamespace.pl: Require weak undefined symbols to be
19869         in the standard namespace.
19870         (%strong_syms): Rename to %seen_syms.
19871         (%strong_seen): Rename to %seen_where.
19873 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
19875         [BZ #18970]
19876         * misc/error.c (error): Replace pthread_setcancelstate with
19877         __pthread_setcancelstate.
19878         (error_at_line): Likewise.
19879         * posix/wordexp.c (parse_comm): Likewise.
19880         * stdlib/fmtmsg.c (fmtmsg): Likewise.
19881         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19882         (__pthread_setcancelstate): This.
19883         (pthread_setcancelstate): Add an alias.
19884         * nptl/nptl-init.c (pthread_functions): Replace
19885         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19886         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19887         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19888         hidden_proto.
19889         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19890         it with hidden_def.
19891         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19892         (pthread_setcancelstate): Renamed to ...
19893         (__pthread_setcancelstate): This.
19894         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19895         __libc_ptf_call with __pthread_setcancelstate.
19897 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19898             Andreas Schwab  <schwab@suse.de>
19900         [BZ #17118]
19901         * math/s_ctan.c (__ctan): Determine sign of zero real part of
19902         result when imaginary part of argument is infinite using sine and
19903         cosine.
19904         * math/s_ctanf.c (__ctanf): Likewise.
19905         * math/s_ctanl.c (__ctanl): Likewise.
19906         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19907         of result when real part of argument is infinite using sine and
19908         cosine.
19909         * math/s_ctanhf.c (__ctanhf): Likewise.
19910         * math/s_ctanhl.c (__ctanhl): Likewise.
19911         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19912         (ctanh_test_data): Add more tests of ctanh.
19914 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19916         [BZ #15384]
19917         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19918         bit-mask as in subtraction.
19919         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19920         Likewise.
19921         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19922         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19923         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19925         [BZ #18951]
19926         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19927         underflow exception for small results.
19928         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19929         Likewise.
19930         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19931         Likewise.
19932         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19933         Likewise.
19934         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19935         Likewise.
19936         * math/auto-libm-test-in: Add more tests of tgamma.
19937         * math/auto-libm-test-out: Regenerated.
19939 2015-09-17  Andreas Schwab  <schwab@suse.de>
19941         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19943 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19945         [BZ #18977]
19946         * math/bits/mathcalls.h
19947         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19948         not declare.
19949         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19950         Likewise.
19951         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19952         Likewise.
19953         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19954         Likewise.
19955         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19956         Likewise.
19957         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19958         Likewise.
19959         * conform/data/math.h-data
19960         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19961         function.
19962         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19963         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19964         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19965         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19966         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19967         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19968         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19969         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19970         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19971         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19972         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19974         [BZ #6803]
19975         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19976         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19977         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19978         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19979         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19980         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19981         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19982         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19983         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19984         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19985         Likewise.
19986         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19987         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
19988         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
19989         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
19990         long_double_symbol calls.
19991         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
19992         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
19993         strong alias of __ldexpl.
19994         (scalbnl): Define using long_double_symbol.
19995         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
19996         Remove alias.
19997         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
19998         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
19999         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20000         (scalbln_test_data): Add more errno expectations.
20002 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20004         Cache the host port like we cache the task port.  This way we do not
20005         need to call the kernel just to get the port.  Furthermore, we no
20006         longer increase the reference count on every invocation of
20007         `mach_host_self'.
20009         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20010         Protect declarations against the macro expansion.
20011         * mach/mach_init.c (__mach_host_self_): New variable.
20012         (mach_init): Initialize `__mach_host_self_'.
20013         * mach/mach_init.h (__mach_host_self_): New declaration.
20014         (__mach_host_self, mach_host_self): New macros.
20015         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20016         Release reference.
20018 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20020         [BZ #4404]
20021         * po/de.po: Update from Translation Project.
20023         [BZ #16415]
20024         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20025         (__expm1l): Remove code to handle positive infinity and overflow.
20026         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20027         variable.
20028         (__expm1l): Remove code to handle positive infinity and overflow.
20030 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20031             Paul Pluzhnikov  <ppluzhnikov@google.com>
20033         [BZ #18872]
20034         * stdio-common/Makefile (tst-printf-bz18872): New test.
20035         (tst-printf-bz18872-mem.out): Likewise.
20036         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20037         * stdio-common/vfprintf.c: Fix memory leaks.
20039 2015-09-16  Andreas Schwab  <schwab@suse.de>
20041         [BZ #17244]
20042         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20043         Remove extra va_start/va_end calls.
20045         [BZ #17243]
20046         * posix/execl.c (execl): Add missing va_end.
20047         * posix/execle.c (execle): Likewise.
20048         * posix/execlp.c (execlp): Likewise.
20050 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20052         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20053         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20055 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20057         [BZ #18967]
20058         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20059         undefine around includes of <bits/mathcalls.h>.
20060         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20061         not declare function.
20062         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20063         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20064         (scalb): Likewise.
20065         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20066         not define macro.
20067         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20068         variable.
20069         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20070         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20071         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20073         [BZ #18857]
20074         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20075         return non-finite argument without doing ordered comparisons on
20076         it.
20078         [BZ #16296]
20079         * math/fenv.h (fegetround): Use __attribute_pure__.
20080         * include/fenv.h (__fegetround): Likewise.
20082         [BZ #18595]
20083         * math/s_ctan.c (__ctan): Force underflow exception for results
20084         whose real or imaginary part has small absolute value.
20085         * math/s_ctanf.c (__ctanf): Likewise.
20086         * math/s_ctanh.c (__ctanh): Likewise.
20087         * math/s_ctanhf.c (__ctanhf): Likewise.
20088         * math/s_ctanhl.c (__ctanhl): Likewise.
20089         * math/s_ctanl.c (__ctanl): Likewise.
20090         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20091         and ctanh.  Add more tests of ctan and ctanh.
20093         [BZ #15918]
20094         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20095         handling of cases where one argument is an infinity.
20097         [BZ #18875]
20098         [BZ #18966]
20099         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20100         (MO): New macro.
20101         (__ieee754_exp10): For small results, force underflow exception
20102         and remove excess range and precision from return value.
20103         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20104         (MO): New macro.
20105         (__ieee754_exp10f): For small results, force underflow exception
20106         and remove excess range and precision from return value.
20107         * math/auto-libm-test-in: Add more tests of exp10.
20108         * math/auto-libm-test-out: Regenerated.
20110 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20112         [BZ #18875]
20113         [BZ #18961]
20114         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20115         (MO): New macro.
20116         (__ieee754_exp): For small results, force underflow exception and
20117         remove excess range and precision from return value.
20118         (__exp_finite): Likewise.
20119         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20120         (MO): New macro.
20121         (__ieee754_expf): For small results, force underflow exception and
20122         remove excess range and precision from return value.
20123         (__expf_finite): Likewise.
20124         * math/auto-libm-test-in: Add more tests of exp.
20125         * math/auto-libm-test-out: Regenerated.
20127         [BZ #16521]
20128         [BZ #18875]
20129         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20130         small results.
20131         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20132         (MO): New macro.
20133         (__ieee754_exp2): For small results, force underflow exception and
20134         remove excess range and precision from return value.
20135         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20136         (MO): New macro.
20137         (__ieee754_exp2f): For small results, force underflow exception
20138         and remove excess range and precision from return value.
20139         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20140         (MO): New macro.
20141         (__ieee754_exp2l): Force underflow exception for small results.
20142         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20143         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20144         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20145         (MO): New macro.
20146         (__ieee754_exp2l): Force underflow exception for small results.
20147         * math/auto-libm-test-in: Add more tests or exp2.
20148         * math/auto-libm-test-out: Regenerated.
20150 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20152         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20154         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20155         /dev/null.
20157 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20159         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20160         io fs process)): Drop spurious backslash.
20162 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20165         Use sysinfo system call instead of parsing /proc/meminfo.
20166         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20167         Likewise.
20169 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20171         [BZ #16985]
20172         * programs/localedef.c (main): Display argv[remaining] when
20173         output_path is NULL.
20175 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20177         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20178         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20179         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20180         tanh.
20181         * math/auto-libm-test-out: Regenerated.
20182         * sysdeps/i386/fpu/libm-test-ulps: Update.
20183         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20184         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20187 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20189         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20190         Use 'override' keyword to freeze the value here, preventing
20191         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20193 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20195         [BZ #14912]
20196         * sysdeps/aarch64/bits/atomic.h: Move to ...
20197         * sysdeps/aarch64/atomic-machine.h: ...here.
20198         (_AARCH64_BITS_ATOMIC_H): Rename macro to
20199         _AARCH64_ATOMIC_MACHINE_H.
20200         * sysdeps/alpha/bits/atomic.h: Move to ...
20201         * sysdeps/alpha/atomic-machine.h: ...here.
20202         * sysdeps/arm/bits/atomic.h: Move to ...
20203         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
20204         * bits/atomic.h: Move to ...
20205         * sysdeps/generic/atomic-machine.h: ...here.
20206         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20207         * sysdeps/i386/bits/atomic.h: Move to ...
20208         * sysdeps/i386/atomic-machine.h: ...here.
20209         * sysdeps/ia64/bits/atomic.h: Move to ...
20210         * sysdeps/ia64/atomic-machine.h: ...here.
20211         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20212         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20213         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20214         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20215         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20216         * sysdeps/microblaze/bits/atomic.h: Move to ...
20217         * sysdeps/microblaze/atomic-machine.h: ...here.
20218         * sysdeps/mips/bits/atomic.h: Move to ...
20219         * sysdeps/mips/atomic-machine.h: ...here.
20220         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20221         * sysdeps/powerpc/bits/atomic.h: Move to ...
20222         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
20223         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20224         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
20225         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
20226         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20227         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
20228         <atomic-machine.h> instead of <bits/atomic.h>.
20229         * sysdeps/s390/bits/atomic.h: Move to ...
20230         * sysdeps/s390/atomic-machine.h: ...here.
20231         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20232         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20233         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20234         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20235         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20236         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20237         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20238         * sysdeps/tile/bits/atomic.h: Move to ...
20239         * sysdeps/tile/atomic-machine.h: ...here.
20240         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20241         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
20242         <sysdeps/tile/atomic-machine.h> instead of
20243         <sysdeps/tile/bits/atomic.h>.
20244         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20245         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20246         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
20247         <sysdeps/tile/atomic-machine.h> instead of
20248         <sysdeps/tile/bits/atomic.h>.
20249         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20250         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20251         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
20252         <sysdeps/arm/atomic-machine.h> instead of
20253         <sysdeps/arm/bits/atomic.h>.
20254         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20255         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20256         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20257         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20258         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20259         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20260         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20261         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20262         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20263         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20264         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20265         * sysdeps/x86_64/bits/atomic.h: Move to ...
20266         * sysdeps/x86_64/atomic-machine.h: ...here.
20267         * include/atomic.h: Include <atomic-machine.h> instead of
20268         <bits/atomic.h>.
20270         * sysdeps/mips/mips32/libm-test-ulps: Update.
20271         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20273         [BZ #18952]
20274         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20275         not convert non-integer negative arguments to int to determine the
20276         value of signgam.
20277         * math/auto-libm-test-in: Add more tests of lgamma.
20278         * math/auto-libm-test-out: Regenerated.
20280         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20281         cosh, csqrt, erfc, expm1 and lgamma.
20282         * math/auto-libm-test-out: Regenerated.
20283         * sysdeps/i386/fpu/libm-test-ulps: Update.
20284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20286 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
20288         [BZ #2542]
20289         [BZ #2543]
20290         [BZ #2558]
20291         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20292         __lgamma_neg for arguments from -28.0 to -2.0.
20293         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20294         __lgamma_negf for arguments from -15.0 to -2.0.
20295         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20296         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20297         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20298         Call __lgamma_negl for arguments from -33.0 to -2.0.
20299         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20300         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20301         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20302         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20303         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20304         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20305         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20306         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20307         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20308         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20309         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20310         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20311         (__lgamma_neg): Likewise.
20312         (__lgamma_negl): Likewise.
20313         (__lgamma_product): Likewise.
20314         (__lgamma_productl): Likewise.
20315         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20316         * math/auto-libm-test-in: Add more tests of lgamma.
20317         * math/auto-libm-test-out: Regenerated.
20318         * sysdeps/i386/fpu/libm-test-ulps: Update.
20319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20321 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
20323         [BZ #18675]
20324         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20326 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
20328         [BZ #14912]
20329         * bits/libc-lock.h: Move to ...
20330         * sysdeps/generic/libc-lock.h: ...here.
20331         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20332         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20333         * sysdeps/mach/hurd/libc-lock.h: ...here.
20334         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20335         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20336         * sysdeps/mach/bits/libc-lock.h: Move to ...
20337         * sysdeps/mach/libc-lock.h: ...here.
20338         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20339         * sysdeps/nptl/bits/libc-lock.h: Move to ...
20340         * sysdeps/nptl/libc-lock.h: ...here.
20341         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20342         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20343         * sysdeps/nptl/libc-lockP.h: ...here.
20344         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20345         * crypt/crypt_util.c: Include <libc-lock.h> instead of
20346         <bits/libc-lock.h>.
20347         * dirent/scandir-tail.c: Likewise.
20348         * dlfcn/dlerror.c: Likewise.
20349         * elf/dl-close.c: Likewise.
20350         * elf/dl-iteratephdr.c: Likewise.
20351         * elf/dl-lookup.c: Likewise.
20352         * elf/dl-open.c: Likewise.
20353         * elf/dl-support.c: Likewise.
20354         * elf/dl-writev.h: Likewise.
20355         * elf/rtld.c: Likewise.
20356         * grp/fgetgrent.c: Likewise.
20357         * gshadow/fgetsgent.c: Likewise.
20358         * gshadow/sgetsgent.c: Likewise.
20359         * iconv/gconv_conf.c: Likewise.
20360         * iconv/gconv_db.c: Likewise.
20361         * iconv/gconv_dl.c: Likewise.
20362         * iconv/gconv_int.h: Likewise.
20363         * iconv/gconv_trans.c: Likewise.
20364         * include/link.h: Likewise.
20365         * inet/getnameinfo.c: Likewise.
20366         * inet/getnetgrent.c: Likewise.
20367         * inet/getnetgrent_r.c: Likewise.
20368         * intl/bindtextdom.c: Likewise.
20369         * intl/dcigettext.c: Likewise.
20370         * intl/finddomain.c: Likewise.
20371         * intl/gettextP.h: Likewise.
20372         * intl/loadmsgcat.c: Likewise.
20373         * intl/localealias.c: Likewise.
20374         * intl/textdomain.c: Likewise.
20375         * libidn/idn-stub.c: Likewise.
20376         * libio/libioP.h: Likewise.
20377         * locale/duplocale.c: Likewise.
20378         * locale/freelocale.c: Likewise.
20379         * locale/newlocale.c: Likewise.
20380         * locale/setlocale.c: Likewise.
20381         * login/getutent_r.c: Likewise.
20382         * login/getutid_r.c: Likewise.
20383         * login/getutline_r.c: Likewise.
20384         * login/utmp-private.h: Likewise.
20385         * login/utmpname.c: Likewise.
20386         * malloc/mtrace.c: Likewise.
20387         * misc/efgcvt.c: Likewise.
20388         * misc/error.c: Likewise.
20389         * misc/fstab.c: Likewise.
20390         * misc/getpass.c: Likewise.
20391         * misc/mntent.c: Likewise.
20392         * misc/syslog.c: Likewise.
20393         * nis/nis_call.c: Likewise.
20394         * nis/nis_callback.c: Likewise.
20395         * nis/nss-default.c: Likewise.
20396         * nis/nss_compat/compat-grp.c: Likewise.
20397         * nis/nss_compat/compat-initgroups.c: Likewise.
20398         * nis/nss_compat/compat-pwd.c: Likewise.
20399         * nis/nss_compat/compat-spwd.c: Likewise.
20400         * nis/nss_nis/nis-alias.c: Likewise.
20401         * nis/nss_nis/nis-ethers.c: Likewise.
20402         * nis/nss_nis/nis-grp.c: Likewise.
20403         * nis/nss_nis/nis-hosts.c: Likewise.
20404         * nis/nss_nis/nis-network.c: Likewise.
20405         * nis/nss_nis/nis-proto.c: Likewise.
20406         * nis/nss_nis/nis-pwd.c: Likewise.
20407         * nis/nss_nis/nis-rpc.c: Likewise.
20408         * nis/nss_nis/nis-service.c: Likewise.
20409         * nis/nss_nis/nis-spwd.c: Likewise.
20410         * nis/nss_nisplus/nisplus-alias.c: Likewise.
20411         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20412         * nis/nss_nisplus/nisplus-grp.c: Likewise.
20413         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20414         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20415         * nis/nss_nisplus/nisplus-network.c: Likewise.
20416         * nis/nss_nisplus/nisplus-proto.c: Likewise.
20417         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20418         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20419         * nis/nss_nisplus/nisplus-service.c: Likewise.
20420         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20421         * nis/ypclnt.c: Likewise.
20422         * nptl/libc_pthread_init.c: Likewise.
20423         * nss/getXXbyYY.c: Likewise.
20424         * nss/getXXent.c: Likewise.
20425         * nss/getXXent_r.c: Likewise.
20426         * nss/nss_db/db-XXX.c: Likewise.
20427         * nss/nss_db/db-netgrp.c: Likewise.
20428         * nss/nss_db/nss_db.h: Likewise.
20429         * nss/nss_files/files-XXX.c: Likewise.
20430         * nss/nss_files/files-alias.c: Likewise.
20431         * nss/nsswitch.c: Likewise.
20432         * posix/regex_internal.h: Likewise.
20433         * posix/wordexp.c: Likewise.
20434         * pwd/fgetpwent.c: Likewise.
20435         * resolv/res_hconf.c: Likewise.
20436         * resolv/res_libc.c: Likewise.
20437         * shadow/fgetspent.c: Likewise.
20438         * shadow/lckpwdf.c: Likewise.
20439         * shadow/sgetspent.c: Likewise.
20440         * socket/opensock.c: Likewise.
20441         * stdio-common/reg-modifier.c: Likewise.
20442         * stdio-common/reg-printf.c: Likewise.
20443         * stdio-common/reg-type.c: Likewise.
20444         * stdio-common/vfprintf.c: Likewise.
20445         * stdio-common/vfscanf.c: Likewise.
20446         * stdlib/abort.c: Likewise.
20447         * stdlib/cxa_atexit.c: Likewise.
20448         * stdlib/fmtmsg.c: Likewise.
20449         * stdlib/random.c: Likewise.
20450         * stdlib/setenv.c: Likewise.
20451         * string/strsignal.c: Likewise.
20452         * sunrpc/auth_none.c: Likewise.
20453         * sunrpc/bindrsvprt.c: Likewise.
20454         * sunrpc/create_xid.c: Likewise.
20455         * sunrpc/key_call.c: Likewise.
20456         * sunrpc/rpc_thread.c: Likewise.
20457         * sysdeps/arm/backtrace.c: Likewise.
20458         * sysdeps/generic/ldsodefs.h: Likewise.
20459         * sysdeps/generic/stdio-lock.h: Likewise.
20460         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20461         * sysdeps/i386/backtrace.c: Likewise.
20462         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20463         * sysdeps/m68k/backtrace.c: Likewise.
20464         * sysdeps/mach/hurd/cthreads.c: Likewise.
20465         * sysdeps/mach/hurd/dirstream.h: Likewise.
20466         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20467         * sysdeps/nptl/malloc-machine.h: Likewise.
20468         * sysdeps/nptl/stdio-lock.h: Likewise.
20469         * sysdeps/posix/dirstream.h: Likewise.
20470         * sysdeps/posix/getaddrinfo.c: Likewise.
20471         * sysdeps/posix/system.c: Likewise.
20472         * sysdeps/pthread/aio_suspend.c: Likewise.
20473         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20474         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20475         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20476         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20477         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20478         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20479         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20480         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20481         * sysdeps/unix/sysv/linux/system.c: Likewise.
20482         * sysdeps/x86_64/backtrace.c: Likewise.
20483         * time/alt_digit.c: Likewise.
20484         * time/era.c: Likewise.
20485         * time/tzset.c: Likewise.
20486         * wcsmbs/wcsmbsload.c: Likewise.
20487         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20488         instead of <bits/libc-lock.h> in comment.
20490 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
20492         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20493         Only use .set mips2 if the current ISA is below mips2.
20494         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20495         Likewise.
20496         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20497         mips32r2 if the current ISA is below mips32r2.
20498         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20499         (TLS_IE): Updated to use the TLD_RDHWR macro.
20500         (TLS_LE): Likewise.
20501         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20502         __ASSEMBLER__ condition.
20504 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20506         Fix parallel build of before-compile targets.
20508         * sysdeps/mach/Makefile ($(patsubst
20509         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20510         mach-before-compile target.
20511         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20512         io fs process)): Move rule to dedicated hurd-before-compile target.
20514 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20516         Fix rules generating headers in hurd/ and mach/ when initial make call
20517         has subdir= explicitly set.
20519         * sysdeps/mach/Makefile ($(patsubst
20520         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20521         calling $(MAKE).
20522         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20523         io fs process)): Force subdir to hurd when calling $(MAKE).
20524         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20525         subdir to mach when calling $(MAKE).
20527 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
20529         Check sysheaders when looking for Mach and Hurd headers
20531         * sysdeps/mach/configure.ac: Add sysheaders check.
20532         * sysdeps/mach/configure: Regenerate.
20533         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20534         * sysdeps/mach/hurd/configure: Regenerate.
20536 2015-09-04  Roland McGrath  <roland@hack.frob.com>
20538         [BZ #18921]
20539         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20540         Fix inverted sense of test of 'o_directory_works' value.
20541         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20542         Bernhard Voelker <mail@bernhard-voelker.de>.
20544 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20546         [BZ #14912]
20547         * bits/linkmap.h: Move to ...
20548         * sysdeps/generic/linkmap.h: ...here.
20549         * sysdeps/aarch64/bits/linkmap.h: Move to ...
20550         * sysdeps/aarch64/linkmap.h: ...here.
20551         * sysdeps/arm/bits/linkmap.h: Move to ...
20552         * sysdeps/arm/linkmap.h: ...here.
20553         * sysdeps/hppa/bits/linkmap.h: Move to ...
20554         * sysdeps/hppa/linkmap.h: ...here.
20555         * sysdeps/ia64/bits/linkmap.h: Move to ...
20556         * sysdeps/ia64/linkmap.h: ...here.
20557         * sysdeps/mips/bits/linkmap.h: Move to ...
20558         * sysdeps/mips/linkmap.h: ...here.
20559         * sysdeps/s390/bits/linkmap.h: Move to ...
20560         * sysdeps/s390/linkmap.h: ...here.
20561         * sysdeps/sh/bits/linkmap.h: Move to ...
20562         * sysdeps/sh/linkmap.h: ...here.
20563         * sysdeps/x86/bits/linkmap.h: Move to ...
20564         * sysdeps/x86/linkmap.h: ...here.
20565         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20567 2015-09-04  Andreas Schwab  <schwab@suse.de>
20569         [BZ #18635]
20570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20571         (__makecontext): Terminate FDE before return label.
20572         (__novec_makecontext): Likewise.
20574 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20576         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20577         first member of struct sv in syscall macro.
20579 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20581         [BZ #14912]
20582         * bits/stdio-lock.h: Move to ...
20583         * sysdeps/generic/stdio-lock.h: ...here.
20584         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20585         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20586         * sysdeps/nptl/stdio-lock.h: ...here.
20587         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20588         * include/libio.h: Include <stdio-lock.h> instead of
20589         <bits/stdio-lock.h>.
20590         * sysdeps/nptl/fork.c: Likewise.
20591         * sysdeps/pthread/flockfile.c: Likewise.
20592         * sysdeps/pthread/ftrylockfile.c: Likewise.
20593         * sysdeps/pthread/funlockfile.c: Likewise.
20595         [BZ #14912]
20596         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20597         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20598         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20599         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20600         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20601         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20602         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20604 2015-09-03  Roland McGrath  <roland@hack.frob.com>
20606         * elf/Makefile (test-xfail-tst-protected1a): New variable.
20607         (test-xfail-tst-protected1b): New variable.
20609 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
20611         [BZ #14912]
20612         * bits/libc-tsd.h: Move to ...
20613         * sysdeps/generic/libc-tsd.h: ...here.
20614         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20615         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20616         * sysdeps/mach/hurd/libc-tsd.h: ...here.
20617         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20618         * include/ctype.h: Include <libc-tsd.h> instead of
20619         <bits/libc-tsd.h>.
20620         * include/rpc/rpc.h: Likewise.
20621         * locale/localeinfo.h: Likewise.
20622         * sunrpc/rpc_thread.c: Likewise.
20623         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20624         * sysdeps/nptl/malloc-machine.h: Likewise.
20626         * Makefile (headers): Remove bits/libc-lock.h.
20627         * libio/Makefile (headers): Remove bits/stdio-lock.h.
20629         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20630         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20631         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20632         <bits/stdio-lock.h>.
20633         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20634         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20636 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20638         [BZ #18757]
20639         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20640         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20641         BZ #18757.
20643 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20645         * malloc/mtrace.pl: Filter out NULL entries.
20647 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
20649         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20650         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20651         macro.
20653         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20654         (TCP_CC_INFO): Likewise.
20655         (TCP_SAVE_SYN): Likewise.
20656         (TCP_SAVED_SYN): Likewise.
20658 2015-08-31  Brett Neumeier <brett@neumeier.us>
20660         [BZ #18870]
20661         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20663 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
20665         [BZ #18873]
20666         Fix broken overflow check in posix_fallocate
20667         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20668         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20669         Fix parenthesization typo.
20671 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
20673         [BZ #18887]
20674         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20675         tst-mntent-blank-passno.
20676         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20677         * misc/tst-mntent-blank-corrupt.c: New test.
20678         * misc/tst-mntent-blank-passno.c: New test ripped from ...
20679         * misc/tst-mntent.c (do_test): ... here.
20681 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
20683         [BZ #4404]
20684         * po/de.po: Fix SIGALRM typo.
20686 2015-08-28  James Perkins  <james@loowit.net>
20688         * time/tst-strptime2.c (tests): Replace short list of test
20689         strings for strptime %z specifier with code which exhaustively
20690         tests every combination of sign and 0 to 5 digits. Tests for
20691         rejection of invalid strings.
20693 2015-08-28  James Perkins  <james@loowit.net>
20695         [BZ #16141]
20696         * time/strptime_l.c (__strptime_internal): Fix %z minutes
20697         calculation, removing incorrect decimal time rounding, so that
20698         all minute values result in a valid seconds value.
20699         * time/strptime_l.c (__strptime_internal): Extend %z time zone
20700         offset range limits to UTC-99:59 through UTC+99:59 to parse
20701         current and historical use cases.
20702         * time/tst-strptime2.c (tests): Modify and add tests for the
20703         strptime %z input field descriptor, specifically conversion of
20704         minutes to seconds and validating an offset range of -9959 to
20705         +9959.
20707 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20708             Dmitry V. Levin  <ldv@altlinux.org>
20710         [BZ #18877]
20711         * posix/Makefile (tests): Add tst-mmap-offset.
20712         * posix/tst-mmap.c: New file.
20713         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20714         offset calculation for negative values.
20716 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20718         * sysdeps/i386/init-arch.h: New file.
20719         * sysdeps/i386/i586/init-arch.h: Likewise.
20720         * sysdeps/i386/i686/init-arch.h: Likewise.
20721         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20722         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
20723         * sysdeps/x86/cpu-features.h (bit_I586): New.
20724         (bit_I686): Likewise.
20725         (bit_CX8): Likewise.
20726         (bit_CMOV): Likewise.
20727         (index_CX8): Likewise.
20728         (index_CMOV): Likewise.
20729         (index_I586): Likewise.
20730         (index_I686): Likewise.
20731         (reg_CX8): Likewise.
20732         (reg_CMOV): Likewise.
20733         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20734         available at compile-time.
20735         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20736         available at compile-time.
20737         * sysdeps/x86/init-arch.h (USE_I586): New macro.
20738         (USE_I686): Likewise.
20740 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20742         * sysdeps/i386/bcopy.S: New file.
20743         * sysdeps/i386/bzero.S: Likewise.
20744         * sysdeps/i386/memcpy.S: Likewise.
20745         * sysdeps/i386/memmove.S: Likewise.
20746         * sysdeps/i386/mempcpy.S: Likewise.
20747         * sysdeps/i386/memset.S: Likewise.
20748         * sysdeps/i386/bzero.c: Removed.
20749         * sysdeps/i386/memset.c: Likewise.
20750         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20751         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20752         * sysdeps/i386/i586/memset_chk.S: Likewise.
20753         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20754         * sysdeps/i386/memcpy_chk.S: Here.
20755         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20756         * sysdeps/i386/memmove_chk.S: Here.
20757         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20758         * sysdeps/i386/mempcpy_chk.S: Likewise.
20759         * sysdeps/i386/i686/memset_chk.S: Moved to ...
20760         * sysdeps/i386/memset_chk.S: Likewise.
20762 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
20764         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20765         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20766         file, move DIAG_POP_NEEDS_COMMENT to end of file.
20767         * soft-fp/fmadf4.c: Ditto.
20768         * soft-fp/fmatf4.c: Ditto.
20770 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20772         * sysdeps/i386/i586/Implies: Removed.
20773         * sysdeps/i386/i686/Implies: Likewise.
20775 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20777         * sysdeps/i386/i486/strlen.S: Moved to ...
20778         * sysdeps/i386/strlen.S: Here.
20780 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20782         * sysdeps/i386/i486/strcat.S: Moved to ...
20783         * sysdeps/i386/strcat.S: Here.
20785 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20787         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20788         * sysdeps/i386/pthread_spin_trylock.S: Here.
20789         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20790         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20792 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20794         * sysdeps/i386/i486/string-inlines.c: Moved to ...
20795         * sysdeps/i386/string-inlines.c: Here.
20797 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20799         * sysdeps/i386/i486/htonl.S: Moved ...
20800         * sysdeps/i386/htonl.S: here.
20802 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20804         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20805         * sysdeps/i386/bits/atomic.h: Here.
20807 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20809         * sysdeps/i386/i486/Versions: Removed.
20811 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20813         [BZ #2898]
20814         * misc/mktemp.c: Add mkdtemp to the link_warning message.
20815         Based on patch by Aurelien Jarno.
20817 2015-08-26  Stan Shebs  <stanshebs@google.com>
20819         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20820         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20822 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20824         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20825         * sysdeps/powerpc/dl-procinfo.c:
20826         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20827         feature so it shows when LD_SHOW_AUXV=1.
20829 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20831         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20832         (__arch_compare_and_exchange_val_32_acq): Remove and use common
20833         definition.  ISA 2.07B no longer requires full sync.
20835 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
20837         [BZ #18863]
20838         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20839         (si_call_addr): Define.
20840         (si_syscall): Define.
20841         (si_arch): Define.
20843 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20845         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20846         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20847         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20848         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20849         (__memset_zero_constant_len_parameter): New.
20850         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20851         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20852         (__memset_zero_constant_len_parameter): Don't define if
20853         __memset_chk or USE_AS_BZERO are defined.
20855         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20856         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20857         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20859         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20860         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20861         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20862         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
20863         comments.
20864         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20865         -mno-mmx for $(all-rtld-routines).
20866         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20867         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
20868         i386.
20870 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20872         * sysdeps/generic/unwind.h
20873         (_Unwind_Word): Use __mode__(__unwind_word__)
20874         instead of __mode__(__word__).
20875         (_Unwind_Sword): Likewise.
20877         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20878         (MAX_NEEDED_INPUT): New define.
20879         (MAX_NEEDED_OUTPUT): New define.
20881         * NEWS: New item for IBM z13 string optimizations.
20883         * sysdeps/s390/multiarch/memrchr-c.c: New File.
20884         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20885         * sysdeps/s390/multiarch/memrchr.c: Likewise.
20886         * sysdeps/s390/multiarch/Makefile
20887         (sysdep_routines): Add memrchr functions.
20888         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20889         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20891         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20892         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20893         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20894         * sysdeps/s390/multiarch/Makefile
20895         (sysdep_routines): Add wmemcmp functions.
20896         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20897         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20898         * benchtests/bench-wmemcmp.c: New File.
20899         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20901         * sysdeps/s390/multiarch/wmemset-c.c: New File.
20902         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20903         * sysdeps/s390/multiarch/wmemset.c: Likewise.
20904         * sysdeps/s390/multiarch/Makefile
20905         (sysdep_routines): Add wmemset functions.
20906         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20907         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20908         * wcsmbs/wmemset.c: Use WMEMSET if defined.
20909         * string/test-memset.c: Add wmemset support.
20910         * wcsmbs/test-wmemset.c: New File.
20911         * wcsmbs/Makefile (strop-tests): Add wmemset.
20912         * benchtests/bench-memset.c: Add wmemset support.
20913         * benchtests/bench-wmemset.c: New File.
20914         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20916         * sysdeps/s390/multiarch/memccpy-c.c: New File.
20917         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20918         * sysdeps/s390/multiarch/memccpy.c: Likewise.
20919         * sysdeps/s390/multiarch/Makefile
20920         (sysdep_routines): Add memccpy functions.
20921         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20922         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20923         * string/memccpy.c: Use MEMCCPY if defined.
20925         * sysdeps/s390/multiarch/memchr-vx.S: New File.
20926         * sysdeps/s390/multiarch/memchr.c: Likewise.
20927         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20928         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20929         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20930         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20931         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20932         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20933         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20934         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20935         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20936         and rawmemchr functions.
20937         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20938         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20939         and wmemchr.
20940         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20941         * string/test-memchr.c: Add wmemchr support.
20942         * wcsmbs/test-wmemchr.c: New File.
20943         * wcsmbs/Makefile (strop-tests): Add wmemchr.
20944         * benchtests/bench-memchr.c: Add wmemchr support.
20945         * benchtests/bench-wmemchr.c: New File.
20946         * benchtests/Makefile (wcsmbs-bench): wmemchr.
20948         * sysdeps/s390/multiarch/strcspn-c.c: New File.
20949         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20950         * sysdeps/s390/multiarch/strcspn.c: Likewise.
20951         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20952         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20953         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20954         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20955         wcscspn functions.
20956         * sysdeps/s390/multiarch/ifunc-impl-list.c
20957         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20958         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20959         * string/test-strcspn.c: Add wcscspn support.
20960         * wcsmbs/test-wcscspn.c: New File.
20961         * wcsmbs/Makefile (strop-tests): Add wcscspn.
20962         * benchtests/bench-strcspn.c: Add wcscspn support.
20963         * benchtests/bench-wcscspn.c: New File.
20964         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20966         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20967         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20968         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20969         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20970         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20971         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20972         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20973         wcspbrk functions.
20974         * sysdeps/s390/multiarch/ifunc-impl-list.c
20975         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20976         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20977         * string/test-strpbrk.c: Add wcspbrk support.
20978         * wcsmbs/test-wcspbrk.c: New File.
20979         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20980         * benchtests/bench-strpbrk.c: Add wcspbrk support.
20981         * benchtests/bench-wcspbrk.c: New File.
20982         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20984         * sysdeps/s390/multiarch/strspn-c.c: New File.
20985         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20986         * sysdeps/s390/multiarch/strspn.c: Likewise.
20987         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
20988         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
20989         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
20990         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
20991         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
20992         wcsspn functions.
20993         * sysdeps/s390/multiarch/ifunc-impl-list.c
20994         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
20995         * string/test-strspn.c: Add wcsspn support.
20996         * wcsmbs/test-wcsspn.c: New File.
20997         * wcsmbs/Makefile (strop-tests): Add wcsspn.
20998         * benchtests/bench-strspn.c: Add wcsspn support.
20999         * benchtests/bench-wcsspn.c: New File.
21000         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21002         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21003         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21004         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21005         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21006         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21007         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21008         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21009         wcsrchr functions.
21010         * sysdeps/s390/multiarch/ifunc-impl-list.c
21011         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21012         * benchtests/bench-wcsrchr.c: New File.
21013         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21015         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21016         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21017         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21018         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21019         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21020         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21021         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21022         wcschrnul functions.
21023         * sysdeps/s390/multiarch/ifunc-impl-list.c
21024         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21025         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21026         * string/test-strchr.c: Add wcschrnul support.
21027         * wcsmbs/test-wcschrnul.c: New File.
21028         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21029         * benchtests/bench-strchr.c: Add wcschrnul support.
21030         * benchtests/bench-wcschrnul.c: New File.
21031         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21033         * sysdeps/s390/multiarch/strchr-c.c: New File.
21034         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21035         * sysdeps/s390/multiarch/strchr.c: Likewise.
21036         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21037         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21038         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21039         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21040         wcschr functions.
21041         * sysdeps/s390/multiarch/ifunc-impl-list.c
21042         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21043         * string/strchr.c (STRCHR): Define and use macro.
21044         * benchtests/bench-wcschr.c: New File.
21045         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21047         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21048         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21049         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21050         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21051         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21052         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21053         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21054         wcsncmp functions.
21055         * sysdeps/s390/multiarch/ifunc-impl-list.c
21056         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21057         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21058         * benchtests/bench-strncmp.c: Add wcsncmp support.
21059         * benchtests/bench-wcsncmp.c: New File.
21060         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21062         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21063         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21064         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21065         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21066         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21067         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21068         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21069         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21070         wcscmp functions.
21071         * sysdeps/s390/multiarch/ifunc-impl-list.c
21072         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21073         * string/strcmp.c (STRCMP): Define and use macro.
21074         * benchtests/bench-wcscmp.c: New File.
21075         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21076         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21077         instead of _HAVE_STRING_ARCH_memchr.
21079         * sysdeps/s390/multiarch/strncat-c.c: New File.
21080         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21081         * sysdeps/s390/multiarch/strncat.c: Likewise.
21082         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21083         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21084         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21085         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21086         wcsncat functions.
21087         * sysdeps/s390/multiarch/ifunc-impl-list.c
21088         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21089         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21090         * string/test-strncat.c: Add wcsncat support.
21091         * wcsmbs/test-wcsncat.c: New File.
21092         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21093         * benchtests/bench-strncat.c: Add wcsncat support.
21094         * benchtests/bench-wcsncat.c: New File.
21095         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21097         * sysdeps/s390/multiarch/strcat-c.c: New File.
21098         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21099         * sysdeps/s390/multiarch/strcat.c: Likewise.
21100         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21101         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21102         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21103         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21104         wcscat functions.
21105         * sysdeps/s390/multiarch/ifunc-impl-list.c
21106         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21107         * string/strcat.c (STRCAT): Define and use macro.
21108         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21109         * string/test-strcat.c: Add wcscat support.
21110         * wcsmbs/test-wcscat.c: New File.
21111         * wcsmbs/Makefile (strop-tests): Add wcscat.
21112         * benchtests/bench-strcat.c: Add wcscat support.
21113         * benchtests/bench-wcscat.c: New File.
21114         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21116         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21117         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21118         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21119         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21120         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21121         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21123         wcpncpy functions.
21124         * sysdeps/s390/multiarch/ifunc-impl-list.c
21125         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21126         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21127         * string/test-stpncpy.c: Add wcpncpy support.
21128         * wcsmbs/test-wcpncpy.c: New File.
21129         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21130         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21131         * benchtests/bench-wcpncpy.c: New File.
21132         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21134         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21135         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21136         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21137         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21138         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21139         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21140         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21141         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21142         wcsncpy functions.
21143         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21144         * sysdeps/s390/multiarch/ifunc-impl-list.c
21145         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21146         * string/test-strncpy.c: Add wcsncpy support.
21147         * wcsmbs/test-wcsncpy.c: New File.
21148         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21149         * benchtests/bench-strncpy.c: Add wcsncpy support.
21150         * benchtests/bench-wcsncpy.c: New File.
21151         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21153         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21154         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21155         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21156         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21157         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21158         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21159         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21160         wcpcpy functions.
21161         * string/stpcpy.c: Use STPCPY if defined.
21162         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21163         * sysdeps/s390/multiarch/ifunc-impl-list.c
21164         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21165         * string/test-stpcpy.c: Add wcpcpy support.
21166         * wcsmbs/test-wcpcpy.c: New File.
21167         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21168         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21169         * benchtests/bench-wcpcpy.c: New File.
21170         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21172         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21173         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21174         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21175         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21176         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21177         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21178         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21180         wcscpy functions.
21181         * sysdeps/s390/multiarch/ifunc-impl-list.c
21182         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21183         * benchtests/bench-wcscpy.c: New File.
21184         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21186         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21187         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21188         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21189         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21190         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21191         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21192         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21193         wcsnlen functions.
21194         * sysdeps/s390/multiarch/ifunc-impl-list.c
21195         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21196         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21197         * string/test-strnlen.c: Add wcsnlen support.
21198         * wcsmbs/test-wcsnlen.c: New File.
21199         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21200         * benchtests/bench-strnlen.c: Add wcsnlen support.
21201         * benchtests/bench-wcsnlen.c: New File.
21202         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21204         * sysdeps/s390/multiarch/Makefile: New File.
21205         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21206         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21207         * sysdeps/s390/multiarch/strlen.c: Likewise.
21208         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21209         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21210         * sysdeps/s390/multiarch/wcslen.c: Likewise.
21211         * string/strlen.c (STRLEN): Define and use macro.
21212         * sysdeps/s390/multiarch/ifunc-impl-list.c
21213         (IFUNC_VX_IMPL): New macro function.
21214         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21215         * benchtests/Makefile (wcsmbs-bench): New variable.
21216         (string-bench-all): Added wcsmbs-bench.
21217         * benchtests/bench-wcslen.c: New File.
21219         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21220         s390_vx_libc_ifunc2): New macro function.
21222         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21223         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21224         assembler support.
21225         * sysdeps/s390/configure: Regenerated.
21227         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21228         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21230         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21231         * sysdeps/s390/dl-procinfo.h: Add vector capability.
21232         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21234         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21235         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21236         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21237         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21238         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21239         (memcmp, bcmp): Use __memcmp_default as alias source.
21240         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21241         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21242         Rename to __memcmp_default.
21243         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21244         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21245         (memcpy): Use __memcpy_default as alias source.
21246         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21247         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21248         Rename to __memcpy_default.
21249         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21250         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21251         (memset): Use __memset_default as alias source.
21252         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21253         * sysdeps/s390/s390-32/memset.S (__memset_g5):
21254         Rename to __memset_default.
21255         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21256         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21257         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21258         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21259         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21260         (memcmp, bcmp): Use __memcmp_default as alias source.
21261         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21262         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21263         Rename to __memcmp_default.
21264         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21265         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21266         (memcpy): Use __memcpy_default as alias source.
21267         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21268         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21269         Rename to __memcpy_default.
21270         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21271         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21272         (memset): Use __memset_default as alias source.
21273         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21274         * sysdeps/s390/s390-64/memset.S (__memset_z900):
21275         Rename to __memset_default.
21276         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21277         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21279         [BZ #18610]
21280         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21281         __ieee_instruction_pointer to __unused.
21282         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21283         __ieee_instruction_pointer.
21284         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21285         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21286         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21287         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21288         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21289         Mark dxc-field as reserved.
21291 2015-08-25  Roland McGrath  <roland@hack.frob.com>
21293         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21294         if the weak reference is not null.
21296 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21298         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21300         [BZ #11214]
21301         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21303 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21305         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21306         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21307         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21308         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21309         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21310         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21311         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21312         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21313         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21314         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21315         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21316         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21317         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21318         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21319         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21320         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21321         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21322         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21324 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21326         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21327         register other than r0 for tabort, it has special meaning.
21328         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21329         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21330         transaction before starting syscall.
21332 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21334         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21336 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21338         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21340         * sysdeps/x86_64/rtld-memcmp.c: Removed.
21341         * sysdeps/x86_64/rtld-memset.S: Likewise.
21342         * sysdeps/x86_64/rtld-strchr.S: Likewise.
21343         * sysdeps/x86_64/rtld-strlen.S: Likewise.
21344         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21345         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21347         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21349 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
21351         * debug/strcpy_chk.c: Improve performance.
21352         * debug/stpcpy_chk.c: Likewise.
21353         * sysdeps/x86_64/strcpy_chk.S: Remove.
21354         * sysdeps/x86_64/stpcpy_chk.S: Remove.
21356         [BZ #18240]
21357         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21359 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21361         [BZ #15128]
21362         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21363         ifuncmain8.
21364         (modules-names): Add ifuncmod8.
21365         ($(objpfx)ifuncmain8): New rule.
21366         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21367         <cpuid.h>.
21368         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21369         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21370         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21371         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21372         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21373         * sysdeps/x86_64/dl-trampoline.h: Likewise.
21374         * sysdeps/x86_64/ifuncmain8.c: New file.
21375         * sysdeps/x86_64/ifuncmod8.c: Likewise.
21376         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21377         Removed.
21378         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21379         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21380         Change rtld_savespace_sse to __glibc_unused2.
21381         (RTLD_CHECK_FOREIGN_CALL): Removed.
21382         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21383         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21384         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21386 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21388         * sysdeps/aarch64/bzero.S (__bzero): Remove.
21390 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21392         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21393         Unconditionally set __fpcr to avoid uninialized warning.
21394         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21396 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21398         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21399         is corrupt.
21401         * malloc/arena.c (arena_get2): Drop unused argument.
21402         (arena_lock): Adjust.
21403         (arena_get_retry): Likewise.
21405 2015-08-24  Andreas Schwab  <schwab@suse.de>
21407         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21408         Don't define.
21409         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21410         (__ASSUME_IPC64): Don't undef.
21411         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21412         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21413         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21414         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21415         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21416         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21417         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21418         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21419         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21420         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21421         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21422         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21423         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21424         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21425         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21426         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21427         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21428         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21429         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21430         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21431         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21433 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
21435         * manual/Makefile (install): Only build manual when perl is available.
21437 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21439         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21440         '#undef memcpy' by '#undef memchr'.
21442 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21444         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21445         memchr not point to the internal __GI_memchr implementation.
21447 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21449         * timezone/Makefile (CFLAGS-zdump.c): Remove
21450         -Wno-strict-prototypes.
21451         (CFLAGS-zic.c): Likewise.
21452         (CFLAGS-ialloc.c): Likewise.
21453         (CFLAGS-scheck.c): Likewise.
21455         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21456         -Wno-error=undef.
21458 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21460         * i386/i686/multiarch/strcasestr-c.c: Removed.
21461         * x86_64/multiarch/strcasestr.c: Likewise.
21462         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21463         Remove strcasestr.
21465 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21467         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21469         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21470         variables for high and low parts before possibly modifying them.
21472 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21474         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21475         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21476         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21477         of "multiarch/init-arch.h".
21478         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21479         * sysdeps/x86/init-arch.h: This.
21481 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21483         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21484         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21486 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
21488         [BZ #17787]
21489         * manual/macros.texi: Add twoexp macro.
21490         * manual/filesys.texi: Fix exponents.
21491         * manual/llio.texi: Likewise.
21492         * manual/stdio.texi: Likewise.
21494 2015-08-20  Florian Weimer  <fweimer@redhat.com>
21496         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21497         incorrect use.
21499 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21501         [BZ #18370]
21502         * math/s_csqrt.c (__csqrt): Force underflow exception for results
21503         whose real or imaginary part has small absolute value.
21504         * math/s_csqrtf.c (__csqrtf): Likewise.
21505         * math/s_csqrtl.c (__csqrtl): Likewise.
21506         * math/auto-libm-test-in: Add more tests of csqrt.
21507         * math/auto-libm-test-out: Regenerated.
21508         * sysdeps/i386/fpu/libm-test-ulps: Update.
21510 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21512         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21513         __ppc_set_ppr_very_low): New functions.
21514         * manual/platform.texi: Add documentation about
21515         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21517 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
21519         * string/stpncpy.c (stpncpy): Improve performance using
21520         __strnlen/memcpy/memset.
21522 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21524         [BZ #18796]
21525         * scripts/test-installation.pl: Don't add -lmvec to build options if
21526         libmvec wasn't built.
21528 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21530         [BZ #14341]
21531         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21532         case when there is a gap between DT_REL and DT_JMPREL sections.
21533         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21534         (LDFLAGS-tst-split-dynreloc): New.
21535         (tst-split-dynreloc-ENV): Likewise.
21536         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21537         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21539 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21541         [BZ #18822]
21542         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21543         attribute_hidden.
21544         (__xstat64_conv): Likewise.
21545         (__xstat32_conv): Likewise.
21547 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21549         [BZ #18822]
21550         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21551         Don't load %ebx when calling __setcontext.  Call __setcontext
21552         with HIDDEN_JUMPTARGET.
21553         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21554         libc_hidden_def.
21556 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21558         * sysdeps/i386/i686/Makefile
21559         [$(subdir) == string] (sysdep_routines): Moved to ...
21560         * sysdeps/i386/Makefile: Here.
21561         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21562         * sysdeps/i386/cacheinfo.c: Here.
21563         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21564         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21565         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21566         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21568 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21570         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21571         __i586__ is defined.
21572         (HAS_I686): Defined to 1 if __i686__ is defined.
21574 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21576         * elf/Makefile [$(have-z-execstack) = yes]
21577         (CPPFLAGS-tst-execstack.c): New variable.
21579         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21580         conditional to [defined UTMPX || _HAVE_UT_TYPE].
21581         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21582         UTMPX || _HAVE_UT_TV].
21583         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21584         UTMPX || _HAVE_UT_TV - 0].
21586 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
21588         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21589         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21590         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21592 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21594         * sysdeps/powerpc/dl-procinfo.c:
21595         (_dl_powerpc_cap_flags): Added missing strings for some
21596         hwcap features.
21597         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21599 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
21601         Port the 0x7efe...feff pattern to GCC 6.
21602         See Steve Ellcey's bug report in:
21603         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21604         * string/memrchr.c (MEMRCHR):
21605         * string/rawmemchr.c (RAWMEMCHR):
21606         * string/strchr.c (strchr):
21607         * string/strchrnul.c (STRCHRNUL):
21608         Rewrite code to avoid issues with signed shift overflow.
21610 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
21612         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21613         whether cpuid is available only if HAS_CPUID is 0.
21614         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21615         (HAS_I586): Likewise.
21616         (HAS_I686): Likewise.
21618 2015-08-18  Zack Weinberg  <zackw@panix.com>
21620         * misc/Versions (libc): Add GLIBC_2.23.
21622 2015-08-18  Alan Modra  <amodra@gmail.com>
21624         [BZ #18421]
21625         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21626         .Lp__global.
21627         (_start): Load %dp via .Lp__global.
21628         [!SHARED]: Use .section .rodata.
21630 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21632         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21633         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21635 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21637         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21638         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21640 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21642         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21643         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21645 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21647         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21648         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21650 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21652         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21653         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21655 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21657         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21658         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21660 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21662         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21664 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21666         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21667         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
21668         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21669         (__ASSUME_LWS_CAS): Delete.
21671 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21673         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21674         * sysdeps/hppa/configure: Regenerated.
21675         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21676         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21677         * sysdeps/hppa/nptl/tls.h: Likewise.
21679 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
21681         [BZ #18823]
21682         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21683         for scaling up small arguments.
21684         * math/s_csqrtf.c (__csqrtf): Likewise.
21685         * math/s_csqrtl.c (__csqrtl): Likewise.
21686         * math/auto-libm-test-in: Add more tests of csqrt.
21687         * math/auto-libm-test-out: Regenerated.
21689 2015-08-17  Andreas Schwab  <schwab@suse.de>
21691         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21692         version set GLIBC_2.19.
21694 2015-08-16  Zack Weinberg  <zackw@panix.com>
21696         [BZ #18681]
21697         * misc/regexp.h: This interface is no longer supported.
21698         Remove all contents, leaving only an #error directive.
21699         * misc/regexp.c (loc1, loc2, locs, step, advance):
21700         Demote to compatibility symbols.
21702 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
21704         [BZ #18084]
21705         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21706         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21707         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21708         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21709         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21710         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21711         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21712         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21713         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21715 2015-08-15  Zack Weinberg  <zackw@panix.com>
21717         [BZ #18795]
21718         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21719         buffer length is known to be too large, not if it's known to be
21720         small enough.
21721         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21722         overflow at runtime, involving a length parameter, twice: once
21723         with a compile-time constant length parameter, once without.
21725 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
21727         [BZ #18824]
21728         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21729         scaling x * y up instead of down.
21730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21732         * math/auto-libm-test-in: Add more tests of fma.
21733         * math/auto-libm-test-out: Regenerated.
21735 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21737         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21739 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21741         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21742         unnecessary movq.
21743         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21744         Likewise.
21746 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
21748         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21749         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21750         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21751         and tgamma.
21752         * math/auto-libm-test-out: Regenerated.
21753         * sysdeps/i386/fpu/libm-test-ulps: Update.
21754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21756         [BZ #16520]
21757         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21758         (__tanh): Force underflow exception for arguments with small
21759         absolute value.
21760         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21761         (__tanhf): Force underflow exception for arguments with small
21762         absolute value.
21763         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21764         (__tanhl): Force underflow exception for arguments with small
21765         absolute value.
21766         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21767         (__tanhl): Force underflow exception for arguments with small
21768         absolute value.
21769         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21770         (__tanhl): Force underflow exception for arguments with small
21771         absolute value.
21772         * math/auto-libm-test-in: Add more tests of tanh.
21773         * math/auto-libm-test-out: Regenerated.
21774         * sysdeps/i386/fpu/libm-test-ulps: Update.
21776 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21778         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21779         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21781 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21783         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21784         <cpuid.h>.
21786 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21788         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21789         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21791 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21793         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21794         Remove $(objpfx)init-arch.o.
21795         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21796         init-arch.
21797         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21798         (INIT_ARCH_EXT): Defined as empty.
21799         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21800         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21801         __init_cpu_features call.  Replace HAS_XXX with
21802         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21803         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21804         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21805         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21806         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21807         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21808         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21809         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21810         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21811         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21812         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21813         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21814         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21815         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21816         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21818         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21819         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21820         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21821         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21822         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21823         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21824         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21825         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21826         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21827         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21828         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21829         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21830         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21831         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21832         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21833         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21834         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21835         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21836         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21837         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21839 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21841         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21842         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21843         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21844         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21845         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21846         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21847         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21848         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21849         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21850         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21851         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21852         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
21853         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21854         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21855         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21856         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21857         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21858         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21859         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21860         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21861         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21862         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21863         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21864         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21865         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21866         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21867         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21868         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21869         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21870         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21871         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21872         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21873         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21874         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21875         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21876         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21877         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21878         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21879         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21880         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21881         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21882         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21883         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21885 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21887         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21888         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21889         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21890         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21891         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21892         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21893         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21894         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21895         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21896         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21897         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21898         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21899         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21900         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21901         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21902         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21903         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21904         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21905         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21906         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21907         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21908         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21909         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21910         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21911         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21912         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21913         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21914         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
21915         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21916         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21917         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21918         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21919         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21920         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21921         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21922         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21923         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21924         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21925         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21926         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21927         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21928         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21929         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21931 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21933         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21934         (dl_platform_init): Call init_cpu_features.
21935         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21936         * sysdeps/i386/i686/cacheinfo.c
21937         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21938         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21939         * sysdeps/i386/i686/multiarch/Versions: Removed.
21940         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21941         Removed.
21942         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21943         * sysdeps/unix/sysv/linux/x86/Makefile
21944         (libpthread-sysdep_routines): Remove init-arch.
21945         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21946         <sysdeps/x86_64/dl-procinfo.c> instead of
21947         sysdeps/generic/dl-procinfo.c>.
21948         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21949         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21950         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21951         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21952         [$(subdir) == elf] (tests-static): Add
21953         tst-get-cpu-features-static.
21954         * sysdeps/x86/Versions: New file.
21955         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21956         * sysdeps/x86/cpu-features.c: Likewise.
21957         * sysdeps/x86/cpu-features.h: Likewise.
21958         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21959         * sysdeps/x86/libc-start.c: Likewise.
21960         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21961         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21962         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21963         * sysdeps/x86_64/dl-procinfo.c: Likewise.
21964         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21965         Assume USE_MULTIARCH is defined and don't check it.
21966         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21967         (is_amd): Likewise.
21968         (max_cpuid): Likewise.
21969         (intel_check_word): Likewise.
21970         (__cache_sysconf): Don't call __init_cpu_features.
21971         (__x86_preferred_memory_instruction): Removed.
21972         (init_cacheinfo): Don't call __init_cpu_features. Replace
21973         __cpu_features with GLRO(dl_x86_cpu_features).
21974         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21975         (dl_platform_init): Call init_cpu_features.
21976         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21977         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21978         * sysdeps/x86_64/multiarch/Versions: Removed.
21979         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21980         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21981         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21982         Removed.
21983         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21985 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21987         [BZ #18820]
21988         * libio/Makefile (test-fmemopen-mem): New test.
21989         * libio/test-fmemopen.c (do_bz18820): New test.
21990         * libio/fmemopen.c (__fmemopen): Fix memory leak.
21991         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
21993 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21995         [BZ #16734]
21996         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
21997         (FREE_BUF): Delete.
21998         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
21999         * libio/genops.c (_IO_setb): Use malloc and free directly.
22000         (_IO_default_doallocate, _IO_default_finish): Likewise.
22001         ( _IO_unbuffer_all): Likewise.
22002         ( libc_freeres_fn): Likewise.
22003         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22004         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22005         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22006         (_IO_wdefault_doallocate): Likewise.
22008 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22010         [BZ #18086]
22011         * sysdeps/posix/nice.c (nice): Restore old errno.
22012         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22014 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22016         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22018 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22020         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22021         __bcopy and add a weak_alias to bcopy.
22022         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22023         for static build.
22025         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22026         cleanup macro usage.
22027         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22028         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22029         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22030         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22031         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22032         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22033         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22034         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22035         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22036         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22037         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22038         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22040         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22041         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22042         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22043         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22044         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22045         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22047         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22048         libc_hidden_def.
22049         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22051         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22052         (sysdep_routines): Add strstr-ppc64.
22053         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22055 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22057         [BZ #18778]
22058         * elf/Makefile (tests): Add Add tst-nodelete2.
22059         (modules-names): Add tst-nodelete2mod.
22060         (tst-nodelete2mod.so-no-z-defs): New.
22061         ($(objpfx)tst-nodelete2): Likewise.
22062         ($(objpfx)tst-nodelete2.out): Likewise.
22063         (LDFLAGS-tst-nodelete2): Likewise.
22064         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22065         out of loop through all loaded libraries.
22066         * elf/tst-nodelete2.c: New file.
22067         * elf/tst-nodelete2mod.c: Likewise.
22068         * elf/tst-znodelete-zlib.cc: Delete.
22070 2015-08-11  Andreas Schwab  <schwab@suse.de>
22072         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22073         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22074         (__openat64_nocancel): Likewise.
22076 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22078         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22079         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22080         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22081         * math/auto-libm-test-out: Regenerated.
22082         * sysdeps/i386/fpu/libm-test-ulps: Update.
22083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22085 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22087         [BZ #18790]
22088         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22089         threshold for returning +/- 1.
22090         * math/auto-libm-test-in: Add more tests of tanh.
22091         * math/auto-libm-test-out: Regenerated.
22092         * sysdeps/i386/fpu/libm-test-ulps: Update.
22094 2015-08-10  Andreas Schwab  <schwab@suse.de>
22096         [BZ #18781]
22097         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22098         MORE_OFLAGS to oflag.
22099         * io/test-lfs.c (do_test): Test openat64.
22101 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22103         [BZ #18789]
22104         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22105         smaller threshold for returning the argument.
22106         * math/auto-libm-test-in: Add more tests of sinh.
22107         * math/auto-libm-test-out: Regenerated.
22108         * sysdeps/i386/fpu/libm-test-ulps: Update.
22110 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22112         [BZ #18674]
22113         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22114         break.
22116 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22118         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22119         (generated): Don't add $(addprefix z.,$(tzfiles)).
22121 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22123         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22124         * scripts/sysd-rules.awk: Likewise.
22126 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22128         * iconvdata/tst-tables.sh: Change echo -n to printf.
22129         * nss/db-Makefile: Likewise.
22130         * posix/tst-getconf.sh: Likewise.
22131         * stdio-common/tst-unbputc.sh: Likewise.
22133 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22135         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22136         MADV_*_PAGES defines behind this feature check.
22138 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22140         [BZ #18480]
22141         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22142         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22143         Define.
22144         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22145         LOAD_REGS_5, LOAD_REGS_6): Update.
22146         (INTERNAL_SYSCALL): Update using new LOAD defines.
22147         (INTERNAL_SYSCALL_NCS): Likewise.
22148         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22150 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22152         [BZ #16734]
22153         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22155 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22157         [BZ #17905]
22158         * catgets/Makefile (tst-catgets-mem): New test.
22159         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22160         * catgets/open_catalog.c (__open_catalog): Likewise.
22161         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22163 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22165         [BZ #18787]
22166         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22167         clobber registers.
22168         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22169         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22170         Cast return to __typeof (oldval).
22172 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22174         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22175         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22176         and delete sys/syscall.h include.
22178 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22180         [BZ #16517]
22181         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22182         (tan): Force underflow exception for arguments with small absolute
22183         value.
22184         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22185         (__kernel_tanf): Force underflow exception for arguments with
22186         small absolute value.
22187         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22188         (__kernel_tanl): Force underflow exception for arguments with
22189         small absolute value.
22190         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22191         (__kernel_tanl): Force underflow exception for arguments with
22192         small absolute value.
22193         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22194         (__kernel_tanl): Force underflow exception for arguments with
22195         small absolute value.
22196         * math/auto-libm-test-in: Add more tests of tan.
22197         * math/auto-libm-test-out: Regenerated.
22199 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22201         Fix sysdeps/i386/fpu/s_scalbn.S build
22203         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22205 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
22207         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22209 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22211         Fix gcrt0.o compilation
22213         When static-start-installed-name is different from
22214         start-installed-name, we must not use the shared objects.
22216         * csu/Makefile
22217         (extra-objs): Add gmon-start.o when building shared library and
22218         $(static-start-installed-name) is different from
22219         $(start-installed-name).
22220         $(objpfx)g$(static-start-installed-name): When building shared
22221         library and $(static-start-installed-name) is different from
22222         $(static-start-installed-name), revert to non-shared rule,
22223         i.e. using $(objpfx)% and gmon-start.o.
22225 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
22227         [BZ #16519]
22228         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22229         (__ieee754_sinh): Force underflow exception for arguments with
22230         small absolute value.
22231         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22232         (__ieee754_sinhf): Force underflow exception for arguments with
22233         small absolute value.
22234         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22235         (__ieee754_sinhl): Force underflow exception for arguments with
22236         small absolute value.
22237         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22238         (__ieee754_sinhl): Force underflow exception for arguments with
22239         small absolute value.
22240         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22241         (__ieee754_sinhl): Force underflow exception for arguments with
22242         small absolute value.
22243         * math/auto-libm-test-in: Add more tests of sinh.
22244         * math/auto-libm-test-out: Regenerated.
22245         * sysdeps/i386/fpu/libm-test-ulps: Update.
22247 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22249         * libio/oldfileops.c: Include unistd.h.
22251 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
22253         * stdlib/isomac.c: Include ctype.h.
22255 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
22257         * dirent/tst-seekdir.c (main): Converted to ...
22258         (do_test): ... this.
22259         (TEST_FUNCTION): New macro.
22260         Include test-skeleton.c.
22261         * elf/tst-dlmodcount.c (main): Converted to ...
22262         (do_test): ... this.
22263         (TEST_FUNCTION): New macro.
22264         Include test-skeleton.c.
22265         * elf/tst-order-main.c (main): Converted to ...
22266         (do_test): ... this.
22267         (TEST_FUNCTION): New macro.
22268         Include test-skeleton.c.
22269         * elf/tst-pie2.c (main): Converted to ...
22270         (do_test): ... this.
22271         (TEST_FUNCTION): New macro.
22272         Include test-skeleton.c.
22273         * inet/tst-ether_aton.c (main): Converted to ...
22274         (do_test): ... this.
22275         (TEST_FUNCTION): New macro.
22276         Include test-skeleton.c.
22277         * misc/tst-mntent.c (main): Converted to ...
22278         (do_test): ... this.
22279         (TEST_FUNCTION): New macro.
22280         Include test-skeleton.c.
22281         * misc/tst-tsearch.c (main): Converted to ...
22282         (do_test): ... this.
22283         (TEST_FUNCTION): New macro.
22284         Include test-skeleton.c.
22285         * posix/tst-regexloc.c (main): Converted to ...
22286         (do_test): ... this.
22287         (TEST_FUNCTION): New macro.
22288         Include test-skeleton.c.
22289         * resolv/tst-aton.c (main): Converted to ...
22290         (do_test): ... this.
22291         (TEST_FUNCTION): New macro.
22292         Include test-skeleton.c.
22293         * stdio-common/test-fwrite.c (main): Converted to ...
22294         (do_test): ... this.
22295         (TEST_FUNCTION): New macro.
22296         Include test-skeleton.c.
22297         * stdio-common/tst-ferror.c (main): Converted to ...
22298         (do_test): ... this.
22299         (TEST_FUNCTION): New macro.
22300         Include test-skeleton.c.
22301         * stdio-common/tst-printf.c (main): Converted to ...
22302         (do_test): ... this.
22303         (TEST_FUNCTION): New macro.
22304         Include test-skeleton.c.
22305         * stdio-common/tst-printfsz.c (main): Converted to ...
22306         (do_test): ... this.
22307         (TEST_FUNCTION): New macro.
22308         Include test-skeleton.c.
22309         * stdlib/tst-strtod.c (main): Converted to ...
22310         (do_test): ... this.
22311         (TEST_FUNCTION): New macro.
22312         Include test-skeleton.c.
22313         * string/tst-strlen.c (main): Converted to ...
22314         (do_test): ... this.
22315         (TEST_FUNCTION): New macro.
22316         Include test-skeleton.c.
22317         * string/tst-svc.c (main): Converted to ...
22318         (do_test): ... this.
22319         (TEST_FUNCTION): New macro.
22320         Include test-skeleton.c.
22321         * time/tst-strptime.c (main): Converted to ...
22322         (do_test): ... this.
22323         (TEST_FUNCTION): New macro.
22324         Include test-skeleton.c.
22325         * timezone/tst-timezone.c (main): Converted to ...
22326         (do_test): ... this.
22327         (TEST_FUNCTION): New macro.
22328         Include test-skeleton.c.
22330 2015-08-05  Zack Weinberg  <zackw@panix.com>
22332         * misc/regexp.h: Update comments.
22334 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
22336         [BZ #18635]
22337         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22338         before return label.
22340 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22342         [BZ #18661]
22343         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22344         when calling __errno_location.
22345         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22346         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22348 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22350         [BZ #18661]
22351         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22352         (__lll_timedwait_tid): Align stack to 16 bytes when calling
22353         __gettimeofday.
22355 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22357         [BZ #18661]
22358         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22359         (__start_context): Don't use pop to restore %rdi so that stack
22360         is aligned to 16 bytes when calling __setcontext.
22362 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22364         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22365         only for libc.
22366         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22368 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22370         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22371         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
22372         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22374 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22376         * string/memccpy.c (memccpy):
22377         Improve performance by using memchr/memcpy/__mempcpy.
22379 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22381         * string/strncpy.c (strncpy):
22382         Improve performance by using __strnlen/memcpy.
22384 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22386         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22387         Optimize to avoid an unnecessary FPCR read.
22389 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22391         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22392         Optimize to reduce FPCR/FPSR accesses.
22394 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22396         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22397         dead->data[category] != NULL.
22399 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
22401         [BZ #18647]
22402         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22403         and |x| close to 1, use absolute value of x when computing log.
22404         * math/auto-libm-test-in: Add more tests of pow.
22405         * math/auto-libm-test-out: Regenerated.
22407 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22409         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22410         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22411         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22413 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
22415         [BZ #18525]
22416         * locales/km_KH: Remove timezone definition.
22417         * locales/lo_LA: Likewise.
22418         * locales/my_MM: Likewise.
22419         * locales/nan_TW@latin: Likewise.
22420         * locales/th_TH: Likewise.
22421         * locales/uk_UA: Likewise.
22423 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22425         [BZ #18265]
22426         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22427         (wcsncat): Likewise.
22428         (wcscmp): Likewise.
22429         (wcsncmp): Likewise.
22431 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22433         * test-skeleton.c (usage): New function.
22434         (main): Call usage when opt is '?'.
22436 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22438         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22439         before first use.
22441 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22443         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22444         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
22445         in there too.
22447 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
22449         * version.h (RELEASE): Set to "development".
22450         (VERSION): Set to "2.22.90"
22452         * version.h (RELEASE): Set to "stable".
22453         (VERSION): Set to "2.22"
22454         * include/features.h (__GLIBC_MINOR__): Set to 22.
22456 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
22458         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22459         Restructure macro to avoid "value computed is not used" warning.
22460         (atomic_compare_and_exchange_val_acq): Likewise.
22462 2015-08-04  Andreas Schwab  <schwab@suse.de>
22464         [BZ #18635]
22465         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22466         ret.
22467         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22469 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
22471         * po/pl.po: Updated translation.
22472         * po/uk.po: Likewise.
22473         * po/fi.po: Likewise.
22474         * po/ko.po: Likewise.
22475         * po/ru.po: Likewise.
22476         * po/vi.po: Likewise.
22478 2015-07-31  Zack Weinberg  <zackw@panix.com>
22480         [BZ #18681]
22481         * regexp.h: Add unconditional #warning stating that this header
22482         will be removed soon.  Revise banner comment to match.
22483         (compile): Consistently use ERROR instead of RETURN to report
22484         errors (partial fix for bz#18681).
22485         * regexp.c: Don't include regexp.h. Remove some unnecessary
22486         declarations.
22488 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
22490         * po/libc.pot: Regenerated.
22492 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22494         [BZ #18740]
22495         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22496         float-vlen4-arch-ext-cflags): Removed.
22497         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22498         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22500 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22502         [BZ #14113]
22503         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22504         aligned to __aligned__.
22505         (pthread_cond_t, pthread_rwlock_t): Likewise.
22507 2015-07-30  Torvald Riegel  <triegel@redhat.com>
22509         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22511 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22513         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22514         (struct sigaction): Change sa_flags from a long to an int, and add
22515         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22517 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22519         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22520         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22521         sysdeps/generic/sysdep.h include.
22522         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22523         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
22524         sysdeps/hppa/sysdep.h.
22525         (ENTRY, PSEUDO): Undefine before defining.
22527 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22529         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22530         from scratch to use INTERNAL_SYSCALL.
22532 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
22534         [BZ #18078]
22535         * scripts/check-localplt.awk: Support alternate relocations.
22536         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22537         sections.
22538         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22539         malloc entries with + REL R_386_GLOB_DAT.
22540         * sysdeps/x86_64/localplt.data: New file.
22542 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
22544         [BZ #18731]
22545         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22546         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22547         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22549 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22551         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22553 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22555         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22556         directly in terms of __sync_fetch_and_add and delete (int) cast.
22558 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22560         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22561         the -D_ASM_IA64_CURRENT_H flag.
22563 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22565         [BZ #18641]
22566         * pwd/pwd.h (putpwent): Delete __nonnull markings.
22568 2015-07-27  Andreas Schwab  <schwab@suse.de>
22570         * conform/conformtest.pl (checknamespace): Filter out string
22571         literals while tokenizing.
22573 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22575         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22576         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22577         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22579 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22581         * nptl/tst-join7mod.c: Add #include <string.h>.
22583 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22585         * sysdeps/nios2/libm-test-ulps: Update.
22587 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22589         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22590         Fix order of arguments to the rt_sigprocmask syscall.
22591         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22592         Likewise.
22594 2015-07-24  Roland McGrath  <roland@hack.frob.com>
22596         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22598 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22600         [BZ #18457]
22601         * nptl/Makefile (tests): New test case tst-join7.
22602         (modules-names): New test case module tst-join7mod.
22603         * nptl/tst-join7.c: New file.
22604         * nptl/tst-join7mod.c: New file.
22605         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22606         all translation units in libc.so, libpthread.so and rtld.
22608 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22610         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22612 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22614         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22615         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22616         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22617         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22618         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22619         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22620         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22621         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22622         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22624         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22625         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22626         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22627         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22628         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22629         implementation.
22631 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22633         [BZ #17711]
22634         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22635         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22636         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22637         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22638         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22639         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22641 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22643         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22644         instead of just saying load lock in the comments.
22646 2015-07-23  Roland McGrath  <roland@hack.frob.com>
22648         * sysdeps/unix/Subdirs: Moved ...
22649         * sysdeps/posix/Subdirs: ... here.
22650         * login/pty.h (struct termios, struct winsize): Add forward decls.
22651         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22652         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22653         * sysdeps/arm/nacl/libc.abilist: Updated.
22654         * sysdeps/nacl/libutil.abilist: New file.
22656         * bits/signum.h: Update comments to mention 1003.1-2013 too.
22657         (SIGWINCH): New macro.
22659         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22660         * sysdeps/arm/nacl/libc.abilist: Add it.
22662 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22664         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22666 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22668         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22669         Swap __glibc_reserved0 and sa_flags order.
22671 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22673         [BZ #18657]
22674         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22675         are pending TLS destructor calls.
22676         * include/link.h (struct link_map): Add concurrency note for
22677         L_TLS_DTOR_COUNT.
22678         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22679         Don't touch the link map flag.  Atomically increment
22680         l_tls_dtor_count.
22681         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22682         Avoid taking the load lock and don't touch the link map flag.
22683         * stdlib/tst-tls-atexit-nodelete.c: New test case.
22684         * stdlib/Makefile (tests): Use it.
22685         * stdlib/tst-tls-atexit.c (do_test): dlopen
22686         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
22687         to allow tst-tls-atexit-nodelete test case to use it.
22689 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22691         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22692         to bits/types.h.
22693         (msgqnum_t): New typedef.
22694         (msglen_t): Likewise.
22695         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
22696         and msg_qbytes type to msglen_t.
22698 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22700         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22701         pad0 to __glibc_reserved0.
22702         (struct stat64): Likewise.
22704 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22706         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22707         Change sa_flags from a long to an int and add __glibc_reserved0 before
22708         it for padding.
22710 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22712         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22713         anonymous by deleting "siginfo" name.
22715 2015-07-21  Roland McGrath  <roland@hack.frob.com>
22717         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22718         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22719         rather than __nacl_irt_filename.
22720         * sysdeps/nacl/xstat.c (__xstat): Likewise.
22722         * NEWS: New item for arm-nacl port.
22723         * sysdeps/arm/nacl/libc.abilist: New file.
22724         * sysdeps/nacl/ld.abilist: New file.
22725         * sysdeps/nacl/libBrokenLocale.abilist: New file.
22726         * sysdeps/nacl/libanl.abilist: New file.
22727         * sysdeps/nacl/libcrypt.abilist: New file.
22728         * sysdeps/nacl/libdl.abilist: New file.
22729         * sysdeps/nacl/libm.abilist: New file.
22730         * sysdeps/nacl/libpthread.abilist: New file.
22731         * sysdeps/nacl/libresolv.abilist: New file.
22732         * sysdeps/nacl/librt.abilist: New file.
22734 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
22736         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22737         __startcontext to initialize the new context.
22738         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22739         up CFI directive to forbid further backtracing.
22741 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
22743         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22744         reference.
22745         * charmaps/ANSI_X3.4-1968: Likewise.
22746         * charmaps/BS_4730: Likewise.
22747         * charmaps/BS_VIEWDATA: Likewise.
22748         * charmaps/CP1250: Likewise.
22749         * charmaps/CP1251: Likewise.
22750         * charmaps/CP1252: Likewise.
22751         * charmaps/CP1253: Likewise.
22752         * charmaps/CP1254: Likewise.
22753         * charmaps/CP1255: Likewise.
22754         * charmaps/CP1256: Likewise.
22755         * charmaps/CSN_369103: Likewise.
22756         * charmaps/EBCDIC-DK-NO: Likewise.
22757         * charmaps/GB_1988-80: Likewise.
22758         * charmaps/GREEK-CCITT: Likewise.
22759         * charmaps/GREEK7: Likewise.
22760         * charmaps/INIS-8: Likewise.
22761         * charmaps/ISIRI-3342: Likewise.
22762         * charmaps/ISO_2033-1983: Likewise.
22763         * charmaps/ISO_5427-EXT: Likewise.
22764         * locales/POSIX: Likewise.
22765         * locales/ar_SA: Likewise.
22766         * locales/be_BY: Likewise.
22767         * locales/be_BY@latin: Likewise.
22768         * locales/ca_ES: Likewise.
22769         * locales/cs_CZ: Likewise.
22770         * locales/da_DK: Likewise.
22771         * locales/de_BE: Likewise.
22772         * locales/de_CH: Likewise.
22773         * locales/de_LU: Likewise.
22774         * locales/en_AU: Likewise.
22775         * locales/en_BW: Likewise.
22776         * locales/en_CA: Likewise.
22777         * locales/en_DK: Likewise.
22778         * locales/en_GB: Likewise.
22779         * locales/en_IE: Likewise.
22780         * locales/en_NZ: Likewise.
22781         * locales/en_ZA: Likewise.
22782         * locales/en_ZW: Likewise.
22783         * locales/es_AR: Likewise.
22784         * locales/es_BO: Likewise.
22785         * locales/es_CL: Likewise.
22786         * locales/es_CO: Likewise.
22787         * locales/es_DO: Likewise.
22788         * locales/es_EC: Likewise.
22789         * locales/es_ES: Likewise.
22790         * locales/es_HN: Likewise.
22791         * locales/es_MX: Likewise.
22792         * locales/es_PA: Likewise.
22793         * locales/es_PE: Likewise.
22794         * locales/es_PY: Likewise.
22795         * locales/es_SV: Likewise.
22796         * locales/es_US: Likewise.
22797         * locales/es_UY: Likewise.
22798         * locales/es_VE: Likewise.
22799         * locales/et_EE: Likewise.
22800         * locales/fa_IR: Likewise.
22801         * locales/fo_FO: Likewise.
22802         * locales/fr_CA: Likewise.
22803         * locales/fr_CH: Likewise.
22804         * locales/gv_GB: Likewise.
22805         * locales/he_IL: Likewise.
22806         * locales/hr_HR: Likewise.
22807         * locales/id_ID: Likewise.
22808         * locales/is_IS: Likewise.
22809         * locales/it_CH: Likewise.
22810         * locales/iw_IL: Likewise.
22811         * locales/kl_GL: Likewise.
22812         * locales/ko_KR: Likewise.
22813         * locales/kw_GB: Likewise.
22814         * locales/lg_UG: Likewise.
22815         * locales/lt_LT: Likewise.
22816         * locales/lv_LV: Likewise.
22817         * locales/mi_NZ: Likewise.
22818         * locales/nhn_MX: Likewise.
22819         * locales/nl_BE: Likewise.
22820         * locales/pl_PL: Likewise.
22821         * locales/sk_SK: Likewise.
22822         * locales/sl_SI: Likewise.
22823         * locales/sv_FI: Likewise.
22824         * locales/tl_PH: Likewise.
22825         * locales/tr_TR: Likewise.
22826         * locales/vi_VN: Likewise.
22828 2015-07-21  Khem Raj  <raj.khem@gmail.com>
22830         [BZ #17475]
22831         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22832         of tu_IN and bh_IN.
22834 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
22836         [BZ #18694]
22837         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22838         bits/wordsize.h.
22839         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22841 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22843         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22844         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22845         (spawn_thread): New function.
22846         (load): Rename to reg_dtor_and_close.  Move dlopen to...
22847         (do_test): ... here.  Use IS_LOADED to test for its
22848         availability.
22850 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
22852         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22854 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
22856         [BZ #18696]
22857         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22858         si_addr_bnd.
22859         (si_lower): New.
22860         (si_upper): Likewise.
22862 2015-07-16  David S. Miller  <davem@davemloft.net>
22864         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22866 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22868         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22869         buffer.
22870         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22871         fail output information.
22873 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22876         and strstr-ppc64..
22877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22878         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22879         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22880         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22881         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22883 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22885         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22886         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22887         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22888         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22890 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22892         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22893         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22894         rtld_hidden_proto.
22895         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22897 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22899         * tst-nodelete-opened.c (do_test): Add comment to clarify how
22900         the test can fail.
22902         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22904         [BZ #18676]
22905         * elf/tst-nodelete-opened.c: New test case.
22906         * elf/tst-nodelete-opened-lib.c: New test case module.
22907         * elf/Makefile (tests, modules-names): Use them.
22908         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22909         early.
22911 2015-07-15  David S. Miller  <davem@davemloft.net>
22913         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22914         futex-intenal.h
22915         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22916         * sysdeps/sparc/sparc64/Makefile: Likewise.
22917         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22918         Remove space from macro define.
22919         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22921 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
22923         [BZ #17475]
22924         * locale/iso-639.def: Update Bhili and Tulu language codes as
22925         per iso639-3.
22927 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
22929         * elf/tst-leaks1.c (main): Converted to ...
22930         (do_test): ... this.
22931         (TEST_FUNCTION): New macro.
22932         Include test-skeleton.c.
22933         * localedata/tst-langinfo.c (main): Converted to ...
22934         (do_test): ... this.
22935         (TEST_FUNCTION): New macro.
22936         Include test-skeleton.c.
22937         * math/test-fpucw.c (main): Converted to ...
22938         (do_test): ... this.
22939         (TEST_FUNCTION): New macro.
22940         Include test-skeleton.c.
22941         * math/test-tgmath.c (main): Converted to ...
22942         (do_test): ... this.
22943         (TEST_FUNCTION): New macro.
22944         Include test-skeleton.c.
22945         * math/test-tgmath2.c (main): Converted to ...
22946         (do_test): ... this.
22947         (TEST_FUNCTION): New macro.
22948         Include test-skeleton.c.
22949         * setjmp/tst-setjmp.c (main): Converted to ...
22950         (do_test): ... this.
22951         (TEST_FUNCTION): New macro.
22952         Include test-skeleton.c.
22953         * stdio-common/tst-sscanf.c (main): Converted to ...
22954         (do_test): ... this.
22955         (TEST_FUNCTION): New macro.
22956         Include test-skeleton.c.
22957         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22958         (do_test): ... this.
22959         (TEST_FUNCTION): New macro.
22960         Include test-skeleton.c.
22962         * elf/tst-audit9.c (main): Converted to ...
22963         (do_test): ... this.
22964         (TEST_FUNCTION): New macro.
22965         Include test-skeleton.c.
22967 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
22969         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22971 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22973         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22974         New variable.
22976 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22978         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22980 2015-07-14  Roland McGrath  <roland@hack.frob.com>
22982         * sysdeps/generic/dl-fileid.h: New file.
22983         * sysdeps/posix/dl-fileid.h: New file.
22984         * sysdeps/nacl/dl-fileid.h: New file.
22985         * include/link.h: Include <dl-fileid.h>.
22986         (struct link_map): Replace l_dev and l_ino with l_file_id.
22987         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
22988         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
22989         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
22991 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22993         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
22995 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22997         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
22998         Add iff $CXX is set.
22999         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23000         Likewise.
23001         (tst-nodelete-zmodiff): Likewise.
23002         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23004 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23006         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23008 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23010         * sysdeps/aarch64/fpu/math_private.h
23011         (define math_opt_barrier): Add AArch64 version.
23012         (math_force_eval): Likewise.
23014 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23016         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23018 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23020         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23021         %ld with %jd and cast to intmax_t.
23022         (do_test_length_zero): Likewise.
23024 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23026         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23028 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23030         * sysdeps/tile/libm-test-ulps: Regenerated.
23032         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23033         Comment out the whole function, not just its body.
23035 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23037         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23038         locks.
23040         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23042 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23044         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23045         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23047 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23049         * sysdeps/nptl/futex-internal.h: New file.
23050         * sysdeps/nacl/futex-internal.h: New file.
23051         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23052         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23053         error checking.
23054         (setxid_unmark_thread): Likewise.
23055         (__nptl_setxid): Likewise.
23056         (__wait_lookup_done): Likewise.
23057         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23058         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23059         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23060         * nptl/pthread_once.c (clear_once_control): Likewise.
23061         (__pthread_once_slow): Likewise.
23062         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23063         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23064         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23065         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23066         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23067         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23068         Likewise.
23069         (__pthread_rwlock_rdlock): Likewise.
23070         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23071         Likewise.
23072         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23073         Likewise.
23074         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23075         Likewise.
23076         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23077         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23078         Likewise.
23079         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23080         __ASSUME_PRIVATE_FUTEX check.
23081         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23082         Check that shared futexes are supported.
23083         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23084         wrappers with error checking.
23085         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23086         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23087         * nptl/pthread_barrierattr_setpshared.c
23088         (pthread_barrierattr_setpshared): Check that shared futexes are
23089         supported.
23090         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23091         Likewise.
23092         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23093         Likewise.
23094         * nptl/sem_init.c (futex_private_if_supported): Remove.
23095         (__new_sem_init): Adapt and check that shared futexes are supported.
23096         * nptl/sem_open.c (sem_open): Likewise.
23097         * nptl/sem_post.c (futex_wake): Remove.
23098         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23099         (do_futex_wait): Use futex wrappers with error checking.
23100         * nptl/sem_wait.c: Include lowlevellock.h.
23101         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23102         Use futex_supports_pshared.
23103         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23104         Use futex wrappers with error checking.
23105         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23106         Likewise.
23107         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23108         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23109         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23110         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23111         (futex_wake): Likewise.
23112         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23113         (do_futex_wait): Use futex wrappers with error checking.
23114         (__new_sem_wait_slow): Update EINTR handling.
23115         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23117 2015-07-09  Martin Sebor  <msebor@redhat.com>
23119         [BZ #18435]
23120         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23121         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23122         * nptl/Makefile (test-xfail-tst-once5): Define.
23124 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23126         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23127         * elf/dl-minimal.c: For readability, reorder some definitions and
23128         introduce more page breaks.  Include <stdio.h>.
23129         (__libc_fatal): New function.
23131         * include/unistd.h: Add rtld_hidden_proto for _exit.
23132         * posix/_exit.c: Add rtld_hidden_def.
23133         * sysdeps/mach/hurd/_exit.c: Likewise.
23134         * sysdeps/nacl/_exit.c: Likewise.
23135         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23136         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23138 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23140         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23141         bndmov encoding with zero displacement.
23143 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23144             H.J. Lu  <hongjiu.lu@intel.com>
23146         [BZ #18134]
23147         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23148         * sysdeps/i386/configure: Regenerated.
23149         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23150         (_dl_runtime_profile): Save and restore Intel MPX return bound
23151         registers when calling _dl_call_pltexit.  Add
23152         PRESERVE_BND_REGS_PREFIX before return.
23153         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23154         (LRV_BND1_OFFSET): Likewise.
23155         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23156         lrv_bnd1.
23157         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23158         typo in bndmov encoding.
23159         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23160         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23161         branch instructions to preserve bounds.
23163 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23166         [GLIBC_2.22]: Add fmemopen.
23168 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23170         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23171         returns an error, also try to use host port from __mach_host_self for
23172         the __vm_wire call.
23173         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23175 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23177         [BZ #18400]
23178         [BZ #18648]
23179         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23180         Fix pr_uid and pr_gid members.
23181         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23182         definition to elf_greg_t.
23184 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23186         [BZ #18383]
23187         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23188         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23189         * sysdeps/arm/configure: Regenerated.
23190         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23191         (test-xfail-tst-tlsalign-static): Variable removed.
23193         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23194         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23195         rather than explicit 'ln -s'.
23197         * resolv/rpc/netdb.h: New file.
23198         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23200 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23202         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23203         length buffers.
23204         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23205         test-skeleton.c.
23207         [BZ #6544]
23208         [BZ #11216]
23209         [BZ #12836]
23210         [BZ #13151]
23211         [BZ #13152]
23212         [BZ #14292]
23213         * include/stdio.h (fmemopen): Remove hidden prototype.
23214         (__fmemopen): Add new hidden prototype.
23215         * libio/Makefile: Add oldfmemopen object.
23216         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23217         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23218         compliance.
23219         * libio/oldfmemopen.c: New file: old fmemopen implementation for
23220         symbol compatibility.
23221         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23222         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23223         fmemopen.
23224         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23225         on append and read mode.
23226         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23227         fmemopen.
23228         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23229         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23230         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23231         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23232         Likewise.
23233         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23234         [GLIBC_2.22]: Likewise.
23235         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23236         Likewise.
23237         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23238         Likewise.
23239         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23240         [GLIBC_2.22]: Likewise.
23241         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23242         [GLIBC_2.22]: Likewise.
23243         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23244         [GLIBC_2.22]: Likewise.
23245         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23246         [GLIBC_2.22]: Likewise.
23247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23248         [GLIBC_2.22]: Likewise.
23249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23250         [GLIBC_2.22]: Likewise.
23251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23252         [GLIBC_2.22]: Likewise.
23253         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23254         Likewise.
23255         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23256         Likewise.
23257         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23258         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23259         [GLIBC_2.22]: Likewise.
23260         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23261         [GLIBC_2.22]: Likewise.
23262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23263         [GLIBC_2.22]: Likewise.
23264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23265         [GLIBC_2.22]: Likewise.
23266         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23267         Likewise.
23268         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23269         Likewise.
23270         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23271         Likewise.
23272         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23273         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23275 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23277         [BZ #18643]
23278         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23279         IPV6_PATHMTU, and IPV6_DONTFRAG.
23281 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
23283         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23284         and _IO_UNBUFFERED.
23285         * libio/oldfileops.c: Likewise.
23286         * libio/wfileops.c: Likewise.
23288 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23290         * nscd/selinux.c: Delete selinux/flask.h include.
23292 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23294         [BZ #18641]
23295         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23296         (putpwent): Likewise.
23297         (getpwnam): Likewise.
23298         (getpwent_r): Likewise.
23299         (getpwuid_r): Likewise.
23300         (getpwnam_r): Likewise.
23301         (fgetpwent_r): Likewise.
23303 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23305         [BZ #18557]
23306         * inet/rcmd.c (__validuser2_sa): Check user first to
23307         short-circuit host check.
23309 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
23310             Mikhail Ilin  <m.ilin@samsung.com>
23312         [BZ #17833]
23313         * elf/Makefile (tests): Add tst-nodelete.
23314         (modules-names): Add tst-nodelete-uniquemod.
23315         (tst-nodelete-uniquemod.so-no-z-defs): New.
23316         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23317         (tst-nodelete-zmod.so-no-z-defs): Likewise.
23318         ($(objpfx)tst-nodelete): Likewise.
23319         ($(objpfx)tst-nodelete.out): Likewise.
23320         (LDFLAGS-tst-nodelete): Likewise.
23321         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23322         * elf/dl-close.c (_dl_close_worker): Add a parameter to
23323         implement forced object deletion.
23324         (_dl_close): Pass false to _dl_close_worker.
23325         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23326         * elf/tst-nodelete.cc: New file.
23327         * elf/tst-nodeletelib.cc: Likewise.
23328         * elf/tst-znodeletelib.cc: Likewise.
23329         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23331 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23333         [BZ #18508]
23334         * stdlib/Makefile ($(objpfx)tst-makecontext3):
23335         Depend on $(libdl).
23336         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23337         is not called infinitely times.
23338         (backtrace_helper): New function.
23339         (trace_arg): New struct.
23340         (st1): Enlarge stack size.
23341         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23342         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23343         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23344         Likewise.
23346 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23348         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23350 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23352         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23353         Include sys/types.h instead of bits/types.h.
23354         Remove inclusion of bits/wordsize.h.
23356 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23358         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23359         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23360         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23361         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23362         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23363         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23365 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23367         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23368         link-defines.sym.
23369         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23370         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23371         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23372         and LR_SIZE.
23373         * sysdeps/i386/link-defines.sym: New file.
23375 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23377         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23378         (modules-names): Add tst-auditmod3a tst-auditmod3b.
23379         ($(objpfx)tst-audit3): New rule.
23380         ($(objpfx)tst-audit3.out): Likewise.
23381         * sysdeps/i386/tst-audit3.c: New file.
23382         * sysdeps/i386/tst-audit3.h: Likewise.
23383         * sysdeps/i386/tst-auditmod3a.c: Likewise.
23384         * sysdeps/i386/tst-auditmod3b.c: Likewise.
23386 2015-07-07  Torvald Riegel  <triegel@redhat.com>
23388         [BZ #18633]
23389         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23390         pointer in C code.
23391         (__strcat_c): Likewise.
23392         (__strcat_g): Likewise.
23394 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
23396         [BZ #18592]
23397         * misc/sbrk.c: Set errno to ENOMEM on overflow.
23399 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23401         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23402         New function.  (__ieee754_sqrtf): New function.
23403         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23404         New function.
23405         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23406         New function.
23408 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23410         * sysdeps/ieee754/support.c: Remove unused file.
23412 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23414         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23415         registers instead of d ones so the layout is kernel abi compatible.
23416         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23417         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23418         Likewise.
23420 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23422         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23424 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23426         [BZ #18619]
23427         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23428         and return argument in case of subnormal argument.
23430 2015-07-01  Martin Sebor  <msebor@redhat.com>
23432         [BZ #18435]
23433         * nptl/Makefile: Add tst-once5.cc.
23434         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23435         Remove macro redefinitions.
23436         * nptl/tst-once5.cc: New test.
23438 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23440         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23442         * sysdeps/arm/libm-test-ulps: Regenerated.
23444         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23445         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23447 2015-06-30  Torvald Riegel  <triegel@redhat.com>
23449         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23450         lll_lock_wait_private and lll_futex_wake probes.
23452         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23453         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23454         Likewise.
23455         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23456         atomic_spin_nop.
23457         * sysdeps/x86_64/bits/atomic.h: Likewise.
23458         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23459         to atomic_spin_nop and move ...
23460         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23461         ... here and ...
23462         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23463         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23464         atomic_spin_nop instead of BUSY_WAIT_NOP.
23465         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23466         Likewise.
23467         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23468         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23469         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23470         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23471         instead of atomic_delay.
23473 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
23475         [BZ #18613]
23476         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23477         X_ADJ not X when adjusting exponent.
23478         (__ieee754_gamma_r): Do intermediate computations in
23479         round-to-nearest then adjust overflowing and underflowing results
23480         as needed.
23481         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23482         of X_ADJ not X when adjusting exponent.
23483         (__ieee754_gammaf_r): Do intermediate computations in
23484         round-to-nearest then adjust overflowing and underflowing results
23485         as needed.
23486         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23487         log of X_ADJ not X when adjusting exponent.
23488         (__ieee754_gammal_r): Do intermediate computations in
23489         round-to-nearest then adjust overflowing and underflowing results
23490         as needed.  Use 1.0L not 1.0f as numerator of division.
23491         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23492         log of X_ADJ not X when adjusting exponent.
23493         (__ieee754_gammal_r): Do intermediate computations in
23494         round-to-nearest then adjust overflowing and underflowing results
23495         as needed.  Use 1.0L not 1.0f as numerator of division.
23496         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23497         of X_ADJ not X when adjusting exponent.
23498         (__ieee754_gammal_r): Do intermediate computations in
23499         round-to-nearest then adjust overflowing and underflowing results
23500         as needed.  Use 1.0L not 1.0f as numerator of division.
23501         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
23502         to auto-libm-test-in.
23503         (tgamma_test): Use ALL_RM_TEST.
23504         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
23505         tests of tgamma with spurious-overflow.
23506         * math/auto-libm-test-out: Regenerated.
23507         * math/gen-libm-have-vector-test.sh: Do not check for START.
23508         * sysdeps/i386/fpu/libm-test-ulps: Update.
23509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23511         [BZ #18612]
23512         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23513         arguments, just return 0.5 times the argument, with underflow
23514         forced as needed.
23515         * math/auto-libm-test-in: Add more tests of j1.
23516         * math/auto-libm-test-out: Regenerated.
23518         [BZ #16559]
23519         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23520         (__ieee754_j1): Force underflow exception for small results.
23521         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23522         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23523         (__ieee754_j1f): Force underflow exception for small results.
23524         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23525         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23526         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23527         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23528         (__ieee754_j1l): Force underflow exception for small results.
23529         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23530         * math/auto-libm-test-in: Add more tests of j1 and jn.
23531         * math/auto-libm-test-out: Regenerated.
23533         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23534         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23535         (PF_MPLS): Likewise.
23536         (AF_IB): Likewise.
23537         (AF_MPLS): Likewise.
23538         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23539         value and macro.
23540         (MS_RMT_MASK): Include MS_LAZYTIME.
23542 2015-06-26  Mel Gorman  <mgorman@suse.de>
23544         [BZ #18502]
23545         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23546         already minimal.
23548 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
23550         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23551         (DT_MIPS_NUM): Update.
23552         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23553         DT_MIPS_RLD_MAP_REL.
23555 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
23557         [BZ #16559]
23558         [BZ #18602]
23559         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23560         round-to-nearest internally then recompute results that
23561         underflowed to zero in the original rounding mode.
23562         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23563         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23565         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23566         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23567         * sysdeps/i386/fpu/libm-test-ulps: Update.
23568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23570 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23572         * NEWS: Fixed description of link with vector math library.
23574 2015-06-25  Andreas Schwab  <schwab@suse.de>
23576         [BZ #18549]
23577         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23578         * libio/test-fmemopen.c (do_test): Add test for it.
23580 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23582         [BZ #17841]
23583         * Makeconfig (no-pie-ldflag): New.
23584         (+link): Set to $(+link-pie) if default to PIE.
23585         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23586         * config.make.in (build-pie-default): New.
23587         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
23588         is default.  AC_SUBST.
23589         * configure: Regenerated.
23590         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23592 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23594         * nptl/descr.h (struct pthread): Change type of field setxid_futex
23595         to 'unsigned int'.
23597         * resolv/gai_misc.h (struct waitlist): Change type of field
23598         counterp to 'volatile unsigned int *'.
23599         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23600         FUTEXADDR and OLDVAL.
23601         * resolv/getaddrinfo_a.c (getaddrinfo_a):
23602         Give local variable TOTAL type 'volatile unsigned int'.
23603         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23604         * resolv/gai_suspend.c (gai_suspend):
23605         Give local variable CNTR type 'unsigned int'.
23607         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23608         counterp to 'volatile unsigned int *'.
23609         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23610         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23611         (aio_suspend): Give local variable CNTR type 'unsigned int'.
23612         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23613         Give local variable TOTAL type 'volatile unsigned int'.
23614         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23616 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23618         [BZ #18383]
23619         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23620         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
23621         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23622         comment for i386/x86-64.
23623         (test-xfail-tst-tlsalign-extern-static): Removed.
23625 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23627         * math/test-double.h: New file.
23628         * math/test-float.h: Likewise.
23629         * math/test-ldouble.h: Likewise.
23630         * math/test-math-inline.h: Likewise.
23631         * math/test-math-no-inline.h: Likewise.
23632         * math/test-math-scalar.h: Likewise.
23633         * math/test-math-vector.h: Likewise.
23634         * math/test-vec-loop.h: Remove file.  Contents moved into
23635         test-math-vector.h.
23636         * math/libm-test.inc (MATHCONST): Do not document macro.
23637         * math/test-double.c: Include test-double.h, test-math-no-inline.h
23638         and test-math-scalar.h.
23639         (FUNC): Remove macro.
23640         (FUNC_TEST): Likewise.
23641         (FLOAT): Likewise.
23642         (MATHCONST): Likewise.
23643         (PRINTF_EXPR): Likewise.
23644         (PRINTF_XEXPR): Likewise.
23645         (PRINTF_NEXPR): Likewise.
23646         (TEST_DOUBLE): Likewise.
23647         (TEST_MATHVEC): Likewise.
23648         (__NO_MATH_INLINES): Likewise.
23649         * math/test-float.c: Include test-float.h, test-math-no-inline.h
23650         and test-math-scalar.h.
23651         (FUNC): Remove macro.
23652         (FUNC_TEST): Likewise.
23653         (FLOAT): Likewise.
23654         (MATHCONST): Likewise.
23655         (PRINTF_EXPR): Likewise.
23656         (PRINTF_XEXPR): Likewise.
23657         (PRINTF_NEXPR): Likewise.
23658         (TEST_FLOAT): Likewise.
23659         (TEST_MATHVEC): Likewise.
23660         (__NO_MATH_INLINES): Likewise.
23661         * math/test-idouble.c: Include test-double.h, test-math-inline.h
23662         and test-math-scalar.h.
23663         (FUNC): Remove macro.
23664         (FUNC_TEST): Likewise.
23665         (FLOAT): Likewise.
23666         (MATHCONST): Likewise.
23667         (PRINTF_EXPR): Likewise.
23668         (PRINTF_XEXPR): Likewise.
23669         (PRINTF_NEXPR): Likewise.
23670         (TEST_DOUBLE): Likewise.
23671         (TEST_MATHVEC): Likewise.
23672         (TEST_INLINE): Likewise.
23673         (__NO_MATH_INLINES): Likewise.
23674         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23675         test-math-scalar.h.
23676         (FUNC): Remove macro.
23677         (FUNC_TEST): Likewise.
23678         (FLOAT): Likewise.
23679         (MATHCONST): Likewise.
23680         (PRINTF_EXPR): Likewise.
23681         (PRINTF_XEXPR): Likewise.
23682         (PRINTF_NEXPR): Likewise.
23683         (TEST_FLOAT): Likewise.
23684         (TEST_MATHVEC): Likewise.
23685         (TEST_INLINE): Likewise.
23686         (__NO_MATH_INLINES): Likewise.
23687         * math/test-ildoubl.c: Include test-ldouble.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_LDOUBLE): Likewise.
23697         (TEST_MATHVEC): Likewise.
23698         (TEST_INLINE): Likewise.
23699         (__NO_MATH_INLINES): Likewise.
23700         * math/test-ldouble.c: Include test-ldouble.h,
23701         test-math-no-inline.h and test-math-scalar.h.
23702         (FUNC): Remove macro.
23703         (FUNC_TEST): Likewise.
23704         (FLOAT): Likewise.
23705         (MATHCONST): Likewise.
23706         (PRINTF_EXPR): Likewise.
23707         (PRINTF_XEXPR): Likewise.
23708         (PRINTF_NEXPR): Likewise.
23709         (TEST_LDOUBLE): Likewise.
23710         (TEST_MATHVEC): Likewise.
23711         (__NO_MATH_INLINES): Likewise.
23712         * math/test-double-vlen2.h: Include test-double.h,
23713         test-math-no-inline.h and test-math-vector.h.
23714         (FLOAT): Remove macro.
23715         (FUNC): Likewise.
23716         (MATHCONST): Likewise.
23717         (PRINTF_EXPR): Likewise.
23718         (PRINTF_XEXPR): Likewise.
23719         (PRINTF_NEXPR): Likewise.
23720         (TEST_DOUBLE): Likewise.
23721         (TEST_MATHVEC): Likewise.
23722         (__NO_MATH_INLINES): Likewise.
23723         (CNCT): Likewise.
23724         (CONCAT): Likewise.
23725         (WRAPPER_NAME): Likewise.
23726         (WRAPPER_DECL): Likewise.
23727         (WRAPPER_DECL_ff): Likewise.
23728         (WRAPPER_DECL_fFF): Likewise.
23729         (VECTOR_WRAPPER): Likewise.
23730         (VECTOR_WRAPPER_ff): Likewise.
23731         (VECTOR_WRAPPER_fFF): Likewise.
23732         (VEC_LEN): New macro.
23733         * math/test-double-vlen4.h: Include test-double.h,
23734         test-math-no-inline.h and test-math-vector.h.
23735         (FLOAT): Remove macro.
23736         (FUNC): Likewise.
23737         (MATHCONST): Likewise.
23738         (PRINTF_EXPR): Likewise.
23739         (PRINTF_XEXPR): Likewise.
23740         (PRINTF_NEXPR): Likewise.
23741         (TEST_DOUBLE): Likewise.
23742         (TEST_MATHVEC): Likewise.
23743         (__NO_MATH_INLINES): Likewise.
23744         (CNCT): Likewise.
23745         (CONCAT): Likewise.
23746         (WRAPPER_NAME): Likewise.
23747         (WRAPPER_DECL): Likewise.
23748         (WRAPPER_DECL_ff): Likewise.
23749         (WRAPPER_DECL_fFF): Likewise.
23750         (VECTOR_WRAPPER): Likewise.
23751         (VECTOR_WRAPPER_ff): Likewise.
23752         (VECTOR_WRAPPER_fFF): Likewise.
23753         (VEC_LEN): New macro.
23754         * math/test-double-vlen8.h: Include test-double.h,
23755         test-math-no-inline.h and test-math-vector.h.
23756         (FLOAT): Remove macro.
23757         (FUNC): Likewise.
23758         (MATHCONST): Likewise.
23759         (PRINTF_EXPR): Likewise.
23760         (PRINTF_XEXPR): Likewise.
23761         (PRINTF_NEXPR): Likewise.
23762         (TEST_DOUBLE): Likewise.
23763         (TEST_MATHVEC): Likewise.
23764         (__NO_MATH_INLINES): Likewise.
23765         (CNCT): Likewise.
23766         (CONCAT): Likewise.
23767         (WRAPPER_NAME): Likewise.
23768         (WRAPPER_DECL): Likewise.
23769         (WRAPPER_DECL_ff): Likewise.
23770         (WRAPPER_DECL_fFF): Likewise.
23771         (VECTOR_WRAPPER): Likewise.
23772         (VECTOR_WRAPPER_ff): Likewise.
23773         (VECTOR_WRAPPER_fFF): Likewise.
23774         (VEC_LEN): New macro.
23775         * math/test-float-vlen4.h: Include test-float.h,
23776         test-math-no-inline.h and test-math-vector.h.
23777         (FLOAT): Remove macro.
23778         (FUNC): Likewise.
23779         (MATHCONST): Likewise.
23780         (PRINTF_EXPR): Likewise.
23781         (PRINTF_XEXPR): Likewise.
23782         (PRINTF_NEXPR): Likewise.
23783         (TEST_FLOAT): Likewise.
23784         (TEST_MATHVEC): Likewise.
23785         (__NO_MATH_INLINES): Likewise.
23786         (CNCT): Likewise.
23787         (CONCAT): Likewise.
23788         (WRAPPER_NAME): Likewise.
23789         (WRAPPER_DECL): Likewise.
23790         (WRAPPER_DECL_ff): Likewise.
23791         (WRAPPER_DECL_fFF): Likewise.
23792         (VECTOR_WRAPPER): Likewise.
23793         (VECTOR_WRAPPER_ff): Likewise.
23794         (VECTOR_WRAPPER_fFF): Likewise.
23795         (VEC_LEN): New macro.
23796         * math/test-float-vlen8.h: Include test-float.h,
23797         test-math-no-inline.h and test-math-vector.h.
23798         (FLOAT): Remove macro.
23799         (FUNC): Likewise.
23800         (MATHCONST): Likewise.
23801         (PRINTF_EXPR): Likewise.
23802         (PRINTF_XEXPR): Likewise.
23803         (PRINTF_NEXPR): Likewise.
23804         (TEST_FLOAT): Likewise.
23805         (TEST_MATHVEC): Likewise.
23806         (__NO_MATH_INLINES): Likewise.
23807         (CNCT): Likewise.
23808         (CONCAT): Likewise.
23809         (WRAPPER_NAME): Likewise.
23810         (WRAPPER_DECL): Likewise.
23811         (WRAPPER_DECL_ff): Likewise.
23812         (WRAPPER_DECL_fFF): Likewise.
23813         (VECTOR_WRAPPER): Likewise.
23814         (VECTOR_WRAPPER_ff): Likewise.
23815         (VECTOR_WRAPPER_fFF): Likewise.
23816         (VEC_LEN): New macro.
23817         * math/test-float-vlen16.h: Include test-float.h,
23818         test-math-no-inline.h and test-math-vector.h.
23819         (FLOAT): Remove macro.
23820         (FUNC): Likewise.
23821         (MATHCONST): Likewise.
23822         (PRINTF_EXPR): Likewise.
23823         (PRINTF_XEXPR): Likewise.
23824         (PRINTF_NEXPR): Likewise.
23825         (TEST_FLOAT): Likewise.
23826         (TEST_MATHVEC): Likewise.
23827         (__NO_MATH_INLINES): Likewise.
23828         (CNCT): Likewise.
23829         (CONCAT): Likewise.
23830         (WRAPPER_NAME): Likewise.
23831         (WRAPPER_DECL): Likewise.
23832         (WRAPPER_DECL_ff): Likewise.
23833         (WRAPPER_DECL_fFF): Likewise.
23834         (VECTOR_WRAPPER): Likewise.
23835         (VECTOR_WRAPPER_ff): Likewise.
23836         (VECTOR_WRAPPER_fFF): Likewise.
23837         (VEC_LEN): New macro.
23838         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23839         test-vec-loop.h.
23840         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23841         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23842         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23843         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23844         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23845         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23846         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23848 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23850         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23851         (__getlogin_r): ... this.
23853 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23855         [BZ #18594]
23856         * math/s_ccosh.c (__ccosh): Compare with least normal value
23857         instead of comparing class with FP_SUBNORMAL.
23858         * math/s_ccoshf.c (__ccoshf): Likewise.
23859         * math/s_ccoshl.c (__ccoshl): Likewise.
23860         * math/s_cexp.c (__cexp): Likewise.
23861         * math/s_cexpf.c (__cexpf): Likewise.
23862         * math/s_cexpl.c (__cexpl): Likewise.
23863         * math/s_csin.c (__csin): Likewise.
23864         * math/s_csinf.c (__csinf): Likewise.
23865         * math/s_csinh.c (__csinh): Likewise.
23866         * math/s_csinhf.c (__csinhf): Likewise.
23867         * math/s_csinhl.c (__csinhl): Likewise.
23868         * math/s_csinl.c (__csinl): Likewise.
23869         * math/s_ctan.c (__ctan): Likewise.
23870         * math/s_ctanf.c (__ctanf): Likewise.
23871         * math/s_ctanh.c (__ctanh): Likewise.
23872         * math/s_ctanhf.c (__ctanhf): Likewise.
23873         * math/s_ctanhl.c (__ctanhl): Likewise.
23874         * math/s_ctanl.c (__ctanl): Likewise.
23875         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23876         csin, csinh, ctan and ctanh.
23877         * math/auto-libm-test-out: Regenerated.
23878         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23879         * sysdeps/i386/fpu/libm-test-ulps: Update.
23880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23882 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23884         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23885         return value is wrong, print the expected value too.
23887 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23889         [BZ #18585]
23890         * elf/readlib.c (is_gdb_python_file): New.
23891         (process_file): Don't issue errors on filenames with -gdb.py
23892         suffix.
23894 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23896         * math/auto-libm-test-in: Add more tests of csin and csinh.
23897         * math/auto-libm-test-out: Regenerated.
23898         * math/libm-test.inc (csin_test_data): Remove tests moved to
23899         auto-libm-test-in.
23900         (csinh_test_data): Likewise.
23902         [BZ #18593]
23903         * math/s_csin.c (__csin): Negate before rather than after possibly
23904         overflowing multiplication.
23905         * math/s_csinf.c (__csinf): Likewise.
23906         * math/s_csinh.c (__csinh): Likewise.
23907         * math/s_csinhf.c (__csinhf): Likewise.
23908         * math/s_csinhl.c (__csinhl): Likewise.
23909         * math/s_csinl.c (__csinl): Likewise.
23910         * math/auto-libm-test-in: Add some tests of csin and csinh.
23911         * math/auto-libm-test-out: Regenerated.
23912         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23913         (csinh_test_data): Likewise.
23914         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23916         [BZ #18586]
23917         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23918         underflow exception for small results.
23920 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23922         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23923         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23924         variable and included header.
23925         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23926         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23927         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23928         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23929         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23930         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23931         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23932         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23933         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23934         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23935         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23936         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23937         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23938         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23939         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23940         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23942 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23944         [BZ #16526]
23945         [BZ #16538]
23946         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23947         (__sin): Force underflow exception for arguments with small
23948         absolute value.
23949         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23950         (__kernel_sinf): Force underflow exception for arguments with
23951         small absolute value.
23952         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23953         (__kernel_sincosl): Force underflow exception for arguments with
23954         small absolute value.
23955         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23956         (__kernel_sinl): Force underflow exception for arguments with
23957         small absolute value.
23958         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23959         (__kernel_sincosl): Force underflow exception for arguments with
23960         small absolute value.
23961         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23962         (__kernel_sinl): Force underflow exception for arguments with
23963         small absolute value.
23964         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23965         (__kernel_sinl): Force underflow exception for arguments with
23966         small absolute value.
23967         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23968         (__kernel_sinf): Force underflow exception for arguments with
23969         small absolute value.
23970         * math/auto-libm-test-in: Add more tests of sin and sincos.
23971         * math/auto-libm-test-out: Regenerated.
23973         [BZ #18245]
23974         [BZ #18583]
23975         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23976         (__kernel_standard_l): Use feholdexcept and fesetenv around
23977         conversion to double instead of special-casing overflow and
23978         underflow.
23979         * math/libm-test.inc (fmod_test_data): Add more tests.
23980         (remainder_test_data): Likewise.
23981         (sqrt_test_data): Likewise.
23983 2015-06-23  Torvald Riegel  <triegel@redhat.com>
23985         [BZ #17403]
23986         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
23987         atomic_read_barrier, atomic_write_barrier): Define.
23988         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
23989         atomic_read_barrier, atomic_write_barrier): Define.
23991 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23993         * math/Makefile [$(PERL) != no]
23994         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
23995         dependency on libm-test.stmp below the inclusion of Rules.
23997 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
23999         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24000         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24001         and included header.
24002         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24003         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24005         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24006         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24008         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24009         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24010         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24011         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24012         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24013         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24014         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24015         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24016         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24017         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24018         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24019         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24020         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24022 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24024         [BZ #18371]
24025         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24026         intermediate but not final result might underflow.
24027         * math/s_csqrtf.c (__csqrtf): Likewise.
24028         * math/s_csqrtl.c (__csqrtl): Likewise.
24029         * math/auto-libm-test-in: Add more tests of csqrt.
24030         * math/auto-libm-test-out: Regenerated.
24031         * sysdeps/i386/fpu/libm-test-ulps: Update.
24033         [BZ #18219]
24034         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24035         threshold on absolute value of exponent for which scaling is used.
24036         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24037         * math/auto-libm-test-in: Add more tests of exp2.
24038         * math/auto-libm-test-out: Regenerated.
24040 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24042         [BZ #17977]
24043         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24044         when initializing interface list, based on the bug analysis
24045         and the patch proposed by Eric Newton.
24046         * resolv/tst-res_hconf_reorder.c: New test.
24047         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24048         tst-res_hconf_reorder.
24049         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24050         and $(shared-thread-library).
24051         (tst-res_hconf_reorder-ENV): New variable.
24053         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24054         in comment.
24056 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24058         [BZ #16353]
24059         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24060         (__expm1): Force underflow exception for arguments with small
24061         absolute value.
24062         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24063         (__expm1f): Force underflow exception for arguments with small
24064         absolute value.
24065         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24066         (__expm1): Force underflow exception for arguments with small
24067         absolute value.
24068         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24069         (__expm1f): Force underflow exception for arguments with small
24070         absolute value.
24071         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24072         Check for small arguments before calling __expm1.
24073         * math/auto-libm-test-in: Do not mark underflow exceptions as
24074         possibly missing for bug 16353.
24075         * math/auto-libm-test-out: Regenerated.
24077 2015-06-22  Andreas Schwab  <schwab@suse.de>
24079         [BZ #18513]
24080         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24081         PTR queries.
24083 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24085         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24087         * string/strcoll_l.c: Remove unused struct element idxnow.
24089 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24091         [BZ #18569]
24092         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24093         underflow and return argument in case of subnormal argument.
24094         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24095         Likewise.
24096         * math/auto-libm-test-in: Add more tests of expm1.
24097         * math/auto-libm-test-out: Regenerated.
24099         [BZ #16361]
24100         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24101         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24102         tiny results.
24103         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24104         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24105         tiny results.
24106         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24107         mark underflow exceptions as possibly missing for bug 16361.
24108         * math/auto-libm-test-out: Regenerated.
24110 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24112         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24113         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24114         Remove variable.
24115         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24116         (test-xfail-XOPEN2K8/utmpx.h/conform).
24118         * conform/conformtest.pl ($xerrors): New variable.
24119         (note_error): New function.
24120         (compiletest): New argument $xfail.  Use not_error.
24121         (runtest): Likewise.
24122         (top level): Handle xfail- lines.  Update calls to compiletest and
24123         runtest.  Handle xfail- and optional- in headers listed with
24124         allow-header.
24125         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24126         (O_EXEC): Likewise.
24127         (O_SEARCH): Likewise.
24128         * conform/data/stropts.h-data (ioctl): Likewise.
24129         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24130         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24131         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24132         (msghdr.msg_controllen): Likewise.
24133         (cmsghdr.cmsg_len): Likewise.
24134         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24135         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24136         variable.
24137         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24138         (test-xfail-XPG4/stropts.h/conform): Likewise.
24139         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24140         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24141         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24142         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24143         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24144         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24145         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24146         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24147         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24148         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24149         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24150         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24151         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24152         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24153         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24154         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24155         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24156         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24157         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24159 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24161         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24162         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24163         definitions for proper unfolding of __MATHDECL_VEC.
24165 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24167         * benchtests/bench-strcoll.c:
24168         Include string.h.
24169         (main): Remove unused variable res.
24171 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24173         * timezone/Makefile (%/UTC %/Universal):
24174         Generate test-result files for UTC and Universal.
24176 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24178         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24180 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24182         [BZ #16350]
24183         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24184         for arguments with small absolute value.
24185         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24186         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24187         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24188         (__asinh): Force underflow exception for arguments with small
24189         absolute value.
24190         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24191         (__asinhf): Force underflow exception for arguments with small
24192         absolute value.
24193         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24194         (__asinhl): Force underflow exception for arguments with small
24195         absolute value.
24196         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24197         (__asinhl): Force underflow exception for arguments with small
24198         absolute value.
24199         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24200         (__asinhl): Force underflow exception for arguments with small
24201         absolute value.
24202         * math/auto-libm-test-in: Do not mark underflow exceptions as
24203         possibly missing for bug 16350.
24204         * math/auto-libm-test-out: Regenerated.
24206         * include/bits/ipc.h: Remove file.
24207         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24208         variable.
24209         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24210         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24211         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24212         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24213         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24214         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24215         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24216         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24217         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24219         * math/auto-libm-test-in: Remove spurious underflow allowance for
24220         tests of cexp.
24221         * math/auto-libm-test-out: Regenerated.
24223         [BZ #18558]
24224         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24225         unconditional definition.
24226         (MCAST_BLOCK_SOURCE): Likewise.
24227         (MCAST_UNBLOCK_SOURCE): Likewise.
24228         (MCAST_LEAVE_GROUP): Likewise.
24229         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24230         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24231         (MCAST_MSFILTER): Likewise.
24232         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24233         Remove variable.
24234         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24235         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24236         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24237         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24238         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24240 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
24242         * NEWS: Mention addition of x86_64 vector sincosf.
24243         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24244         * math/test-float-vlen4.h: Likewise.
24245         * math/test-float-vlen8.h: Likewise.
24246         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24247         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24248         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24249         * sysdeps/x86_64/fpu/Versions: New versions added.
24250         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24251         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24252         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24253         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24254         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24255         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24256         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24257         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24258         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24259         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24260         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24261         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24262         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24263         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24264         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24265         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24266         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24267         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24268         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24269         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24270         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24271         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24272         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24273         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24275         * NEWS: Mention addition of x86_64 vector sincos.
24276         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24277         * math/math.h (__MATHDECL_VEC): New macro.
24278         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24279         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24280         declaration under condition.
24281         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24282         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24283         TEST_VEC_LOOP change.
24284         * math/test-double-vlen4.h: Likewise.
24285         * math/test-double-vlen8.h: Likewise.
24286         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24287         * math/test-float-vlen4.h: Likewise.
24288         * math/test-float-vlen8.h: Likewise.
24289         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24290         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24291         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24292         * sysdeps/x86_64/fpu/Versions: New versions added.
24293         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24294         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24295         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24296         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24297         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24298         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24299         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24301         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24302         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24303         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24304         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24305         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24306         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24307         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24308         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24309         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24310         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24311         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24312         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24313         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24314         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24315         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24316         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24318         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24319         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24320         redirections for powf.
24321         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24322         * sysdeps/x86_64/fpu/Versions: New versions added.
24323         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24324         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24325         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24326         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24327         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24328         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24329         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24330         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24331         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24332         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24333         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24334         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24335         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24336         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24337         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24338         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24339         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24340         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24341         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24342         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24343         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24344         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24345         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24346         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24347         * math/test-float-vlen16.h: Fixed 2 argument macro.
24348         * math/test-float-vlen4.h: Likewise.
24349         * math/test-float-vlen8.h: Likewise.
24350         * NEWS: Mention addition of x86_64 vector powf.
24352 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
24354         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24355         and redefine.
24356         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24357         and redefine.
24358         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24359         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24360         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24362         [BZ #18553]
24363         * resource/getpriority.c (getpriority): Rename to __getpriority
24364         and define as weak alias of __getpriority.
24365         * resource/setpriority.c (setpriority): Rename to __setpriority
24366         and define as weak alias of __setpriority.
24367         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24368         __getpriority and define as weak alias of __getpriority.
24369         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24370         __setpriority and define as weak alias of __setpriority.
24371         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24372         strong name.
24373         (setpriority): Use __setpriority as strong name.
24374         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24375         __getpriority and define as weak alias of __getpriority.
24376         * include/sys/resource.h (__getpriority): Declare.  Use
24377         libc_hidden_proto.
24378         (__setpriority): Likewise.
24379         (getpriority): Don't use libc_hidden_proto.
24380         (setpriority): Likewise.
24381         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24382         getpriority.  Call __setpriority instead of setpriority.
24383         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24384         Remove variable.
24386         [BZ #18547]
24387         * misc/getttyent.c (getttynam): Rename to __getttynam and define
24388         as weak alias of __getttynam.  Use prototype function definition.
24389         Call __setttyent, __getttyent and __endttyent instead of
24390         setttyent, getttyent and endttyent.
24391         (getttyent): Rename to __getttyent and define as weak alias of
24392         __getttyent.  Call __setttyent instead of setttyent.  Call
24393         __fgets_unlocked instead of fgets_unlocked.
24394         (setttyent): Rename to __setttyent and define as weak alias of
24395         __setttyent.
24396         (endttyent): Rename to __endttyent and define as weak alias of
24397         __endttyent.
24398         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
24399         (__setttyent): Likewise.
24400         (__endttyent): Likewise.
24401         (getttyent): Don't use libc_hidden_proto.
24402         (setttyent): Likewise.
24403         (endttyent): Likewise.
24404         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24405         __endttyent instead of setttyent, getttyent and endttyent.
24406         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24407         Remove variable.
24409         [BZ #18546]
24410         * socket/recv.c (__recv): Use libc_hidden_def.
24411         * socket/socket.c (__socket): Likewise.
24412         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24413         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24414         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24415         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24416         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24417         libc_hidden_def.
24418         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24419         libc_hidden_weak.
24420         * include/sys/socket.h (__socket): Do not use attribute_hidden.
24421         Use libc_hidden_proto.
24422         (__recv): Likewise.
24423         * socket/Versions (libc): Export __recv and __socket at version
24424         GLIBC_PRIVATE.
24425         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24426         instead of recv.
24427         (init_mq_netlink): Call __socket instead of socket.
24428         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24429         Remove variable.
24431         [BZ #18545]
24432         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24433         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
24434         hidden_weak.
24435         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24436         define as alias of __mq_timedsend.  Use hidden_weak.
24437         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24438         __mq_timedsend as strong name.
24439         (mq_timedreceive): Use __mq_timedreceive as strong name.
24440         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
24441         (__mq_timedreceive): Likewise.
24442         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24443         __mq_timedreceive instead of mq_timedreceive.
24444         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24445         instead of mq_timedsend.
24446         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24447         Remove variable.
24449         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24450         hidden_def and hidden_weak instead of libc_hidden_def and
24451         libc_hidden_weak.
24452         (top level): Refer to hidden_def in comment.
24453         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24454         macro.  Use it instead of libc_hidden_def.
24455         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24456         specify __GI_* name explicitly.
24457         (mq_timedreceive): Likewise.
24458         (mq_setattr): Likewise.
24460         [BZ #18544]
24461         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24462         __pthread_barrier_init and define as weak alias of
24463         __pthread_barrier_init.
24464         * sysdeps/sparc/nptl/pthread_barrier_init.c
24465         (pthread_barrier_init): Likewise.
24466         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24467         __pthread_barrier_wait and define as weak alias of
24468         __pthread_barrier_wait.
24469         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24470         (pthread_barrier_wait): Likewise.
24471         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24472         (pthread_barrier_wait): Likewise.
24473         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24474         (pthread_barrier_wait): Likewise.
24475         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24476         (pthread_barrier_wait): Likewise.
24477         * nptl/Versions (libpthread): Export __pthread_barrier_init and
24478         __pthread_barrier_wait at version GLIBC_PRIVATE.
24479         * include/pthread.h (__pthread_barrier_init): Declare.
24480         (__pthread_barrier_wait): Likewise.
24481         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24482         Call __pthread_barrier_wait instead of pthread_barrier_wait.
24483         (helper_thread): Likewise.
24484         (init_mq_netlink): Call __pthread_barrier_init instead of
24485         pthread_barrier_init.
24487         [BZ #18542]
24488         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24489         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24490         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
24491         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24492         vswscanf.
24493         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24494         Remove variable.
24496         [BZ #18540]
24497         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24498         strong alias of _IO_fflush.  Use libc_hidden_def.
24499         * libio/iofflush_u.c (fflush_unlocked): Rename to
24500         __fflush_unlocked and define as weak alias of __fflush_unlocked.
24501         Use libc_hidden_weak.
24502         * include/stdio.h (__fflush_unlocked): Declare.  Use
24503         libc_hidden_proto.
24504         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24505         fflush_unlocked.
24506         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24507         Remove variable.
24509         [BZ #18539]
24510         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24511         define as weak alias of __addseverity.
24512         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24513         Remove variable.
24514         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24515         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24516         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24518         [BZ #18536]
24519         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24520         (__tfind): Likewise.
24521         (__tdelete): Likewise.
24522         (__twalk): Likewise.
24523         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24524         __twalk to GLIBC_PRIVATE.
24525         * include/search.h (__tsearch): Use libc_hidden_proto.
24526         (__tfind): Likewise.
24527         (__tdelete): Likewise.
24528         (__twalk): Likewise.
24529         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24530         Call __tdelete instead of tdelete.
24531         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24532         tfind.  Call __tsearch instead of tsearch.
24533         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24534         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24535         Remove variable.
24536         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24538         [BZ #18534]
24539         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24540         (dprintf): Define as a weak alias of __dprintf, not a strong
24541         alias.
24542         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
24543         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24544         dprintf.
24545         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24546         Remove variable.
24547         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24548         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24550         [BZ #18533]
24551         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24552         not a strong alias.
24553         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24554         Remove variable.
24556         [BZ #18532]
24557         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24558         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
24559         (in6addr_loopback): Rename to __in6addr_loopback and define as
24560         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
24561         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
24562         libc_hidden_proto.
24563         (__in6addr_any): Likewise.
24564         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24565         in6addr_any.
24566         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24567         variable.
24568         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24570 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24572         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24573         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24574         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24575         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24576         redirections for pow.
24577         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24578         * sysdeps/x86_64/fpu/Versions: New versions added.
24579         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24580         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24581         build of SSE, AVX2 and AVX512 IFUNC versions.
24582         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24583         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24584         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24585         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24586         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24588         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24589         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24590         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24591         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24592         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24593         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24594         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24595         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24596         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24597         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24598         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24599         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24600         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24601         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24602         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24603         * NEWS: Mention addition of x86_64 vector pow.
24605         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24606         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24607         redirections for expf.
24608         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24609         * sysdeps/x86_64/fpu/Versions: New versions added.
24610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24611         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24612         build of SSE, AVX2 and AVX512 IFUNC versions.
24613         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24614         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24615         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24616         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24617         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24618         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24619         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24620         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24621         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24622         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24623         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24624         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24625         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24626         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24627         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24628         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24629         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24630         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24631         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24632         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24633         * NEWS: Mention addition of x86_64 vector expf.
24635         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24636         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24637         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24638         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24639         redirections for exp.
24640         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24641         * sysdeps/x86_64/fpu/Versions: New versions added.
24642         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24643         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24644         build of SSE, AVX2 and AVX512 IFUNC versions.
24645         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24646         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24647         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24648         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24649         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24651         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24652         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24653         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24654         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24655         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24656         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24657         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24658         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24660         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24661         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24662         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24663         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24664         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24665         * NEWS: Mention addition of x86_64 vector exp.
24667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24668         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24669         redirections for logf.
24670         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24671         * sysdeps/x86_64/fpu/Versions: New versions added.
24672         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24673         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24674         build of SSE, AVX2 and AVX512 IFUNC versions.
24675         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24676         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24677         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24678         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24679         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24680         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24681         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24682         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24683         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24684         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24685         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24686         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24687         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24688         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24689         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24690         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24692         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24693         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24694         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24695         * NEWS: Mention addition of x86_64 vector logf.
24697         * bits/libm-simd-decl-stubs.h: Added stubs for log.
24698         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24699         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24700         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24701         redirections for log.
24702         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24703         * sysdeps/x86_64/fpu/Versions: New versions added.
24704         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24705         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24706         build of SSE, AVX2 and AVX512 IFUNC versions.
24707         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24708         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24709         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24710         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24711         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24712         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24713         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24714         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24715         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24716         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24717         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24718         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24719         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24720         test.
24721         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24722         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24723         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24724         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24725         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24726         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24727         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24728         * NEWS: Mention addition of x86_64 vector log.
24730 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24732         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24733         cfi_adjust_cfa_offset argument.
24734         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24735         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24737         [BZ #18034]
24738         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24739         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24740         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24741         ordering using ldar.
24742         (_dl_tlsdesc_dynamic): Likewise.
24743         (_dl_tlsdesc_return_lazy): Likewise.
24744         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24745         relaxed atomics instead of volatile and synchronize with release store.
24746         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24747         volatile.
24748         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24750 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
24752         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24753         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24754         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24755         * sysdeps/x86_64/fpu/Versions: New versions added.
24756         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24757         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24758         build of SSE, AVX2 and AVX512 IFUNC versions.
24759         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24760         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24761         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24762         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24763         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24764         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24765         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24766         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24767         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24768         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24769         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24770         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24771         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24772         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24773         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24774         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24775         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24776         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24777         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24778         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24779         * NEWS: Mention addition of x86_64 vector sinf.
24781 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
24783         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24784         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24785         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24786         Remove variable.
24787         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24788         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24790 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24792         [BZ #18530]
24793         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24794         strong alias of _IO_fputs.  Use libc_hidden_def.
24795         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24796         and define as weak alias of __fputs_unlocked.  Use
24797         libc_hidden_weak.
24798         * include/stdio.h (__fputs_unlocked): Declare.  Use
24799         libc_hidden_proto.
24800         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24801         fputs_unlocked.
24803         [BZ #18529]
24804         * resolv/netdb.h [__USE_POSIX]: Change condition to
24805         [__USE_XOPEN2K].
24806         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24807         not expect.
24808         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24809         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24810         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24811         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24812         [XPG4 || UNIX98] (AI_ALL): Likewise.
24813         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24814         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24815         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24816         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24817         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24818         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24819         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24820         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24821         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24822         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24823         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24824         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24825         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24826         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24827         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24828         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24829         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24830         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24831         [XPG4 || UNIX98] (gai_strerror): Likewise.
24832         [XPG4 || UNIX98] (getaddrinfo): Likewise.
24833         [XPG4 || UNIX98] (getnameinfo): Likewise.
24835         [BZ #18528]
24836         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24837         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24838         __USE_XOPEN2K8].
24839         (getgrent): Likewise.
24840         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24841         expect.
24842         [XPG3 || POSIX2008] (endgrent): Likewise.
24843         [XPG3] (setgrent): Likewise.
24844         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24845         variable.
24846         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24848         [BZ #18527]
24849         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24850         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
24851         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24852         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24853         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24854         * include/unistd.h (__getlogin_r): Declare.  Use
24855         libc_hidden_proto.
24856         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24857         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24858         variable.
24859         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24860         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24861         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24863 2015-06-12  Martin Sebor  <msebor@redhat.com>
24865         [BZ #18512]
24866         * Makerules (check-install-supported): New target.
24867         (install): Add check-install-supported as a dependency.
24868         * manual/install.texi (Installing the C Library): Document
24869         that overriding prefix and exec_prefix is not supported.
24870         Mention DESTDIR.
24871         * INSTALL: Regenerate from the above.
24873 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24875         [BZ #18519]
24876         * posix/Versions (libc): Export __libc_pread at version
24877         GLIBC_PRIVATE.
24878         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24879         instead of pread.
24880         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24881         variable.
24883         [BZ #18522]
24884         * misc/efgcvt_r.c
24885         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24886         (cvt_symbol): Use weak_alias instead of strong_alias.
24887         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24888         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24889         Remove variable.
24890         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24891         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24893         [BZ #18520]
24894         * inet/herrno.c (h_errno): Rename to __h_errno.
24895         (__libc_h_errno): Define as alias of __h_errno not h_errno.
24896         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24897         to __h_errno instead of h_errno.
24898         * nptl/herrno.c (h_errno): Rename to __h_errno.
24899         (__h_errno_location): Refer to __h_errno not h_errno.
24900         * resolv/Versions (h_errno): Rename to __h_errno.
24901         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24902         Remove variable.
24903         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24905 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
24907         * configure.ac: More strict check for AVX512 assembler support.
24908         * configure: Regenerated.
24910         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24911         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24912         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24913         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24914         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24915         * sysdeps/x86_64/fpu/Versions: New versions added.
24916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24917         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24918         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24919         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24921         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24922         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24923         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24924         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24925         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24926         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24927         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24928         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24929         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24930         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24931         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24932         test.
24933         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24934         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24935         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24936         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24937         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24938         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24939         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24940         * NEWS: Mention addition of x86_64 vector sin.
24942 2015-06-11  Florian Weimer  <fweimer@redhat.com>
24944         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24945         comment.
24947 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24949         [BZ #18479]
24950         * nptl/pt-interp.c: New file.
24951         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24952         Add pt-interp.
24953         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24954         $(common-objpfx)runtime-linker.h.
24956 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
24958         * Makeconfig (+interp): Remove unused variable.
24959         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24960         only.  Depend on $(common-objpfx)runtime-linker.h instead of
24961         $(elf-objpfx)runtime-linker.h.
24962         ($(elf-objpfx)runtime-linker.h): Rename to
24963         $(common-objpfx)runtime-linker.h and move ...
24964         * Makerules [$(build-shared) = yes]: ... here.
24965         * elf/interp.c: Include <runtime-linker.h> instead of
24966         <elf/runtime-linker.h>.
24968 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24970         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24971         (__gettimeofday_syscall): Remove vsyscall fallback.
24972         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24973         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24974         Add syscall fallback function.
24975         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24976         if vDSO is not present.
24977         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24978         fallback function.
24979         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24980         present.
24981         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24982         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24984 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
24986         [BZ #18497]
24987         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
24988         of wcscmp.
24989         (wcscmp): Define as weak alias of WCSCMP.
24990         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
24991         wcscoll.
24992         (USE_HIDDEN_DEF): Define.
24993         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
24994         __wcscoll.  Don't use libc_hidden_weak.
24995         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
24996         wcscmp.
24997         * sysdeps/i386/i686/multiarch/wcscmp-c.c
24998         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
24999         __GI_wcscmp.
25000         (weak_alias): Undefine and redefine.
25001         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25002         __wcscmp and define as weak alias of __wcscmp.
25003         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25004         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25005         (__wcscoll): Likewise.
25006         (wcscmp): Don't use libc_hidden_proto.
25007         (wcscoll): Likewise.
25008         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25009         wcscoll.
25010         * posix/regexec.c (check_node_accept_bytes): Likewise.
25011         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25012         variable.
25013         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25014         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25016         [BZ #18507]
25017         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25018         __fstatvfs and define as weak alias of __fstatvfs.  Use
25019         libc_hidden_weak.
25020         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25021         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25022         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25023         Define as alias of __fstatvfs, not fstatvfs.
25024         (fstatvfs64): Likewise.
25025         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25026         Define as alias of __statvfs, not statvfs.
25027         (statvfs64): Likewise.
25028         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25029         Remove variable.
25031 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25034         (HAVE_GETCPU_VSYSCALL): Define.
25035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25036         (HAVE_GETCPU_VSYSCALL): Likewise.
25037         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25038         * sysdeps/unix/sysv/linux/sched_getcpu.c
25039         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25040         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25041         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25042         prototype.
25043         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25044         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25045         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25047         Define.
25048         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25049         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25050         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25051         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25053 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25055         * sysdeps/x86_64/fpu/Makefile: New file.
25056         * sysdeps/x86_64/fpu/Versions: New file.
25057         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25058         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25059         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25060         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25061         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25062         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25063         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25064         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25065         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25066         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25067         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25068         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25069         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25070         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25071         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25072         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25073         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25074         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25075         * sysdeps/x86_64/configure: Regenerated.
25076         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25077         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25078         * manual/install.texi (Configuring and compiling): Document
25079         --disable-mathvec.
25080         * INSTALL: Regenerated.
25081         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25083         * math/Makefile: Added rules for vector tests.
25084         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25085         declaration under condition.
25086         * math/test-double-vlen2.h: New file.
25087         * math/test-double-vlen4.h: New file.
25088         * math/test-double-vlen8.h: New file.
25089         * math/test-vec-loop.h: Added initialization macro.
25090         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25091         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25092         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25093         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25094         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25095         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25096         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25097         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25098         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25099         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25100         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25102         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25103         * sysdeps/x86_64/fpu/Versions: New versions added.
25104         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25105         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25106         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25107         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25108         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25109         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25110         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25111         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25112         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25114         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25115         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25116         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25117         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25118         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25119         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25120         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25121         * NEWS: Mention addition of x86_64 vector cosf.
25123         * math/Makefile: Added CFLAGS for new tests.
25124         * math/test-float-vlen16.h: New file.
25125         * math/test-float-vlen4.h: New file.
25126         * math/test-float-vlen8.h: New file.
25127         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25128         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25129         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25130         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25131         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25132         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25133         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25134         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25135         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25136         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25137         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25139 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25141         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25142         * locale/programs/ld-ctype.c: Likewise.
25144 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25146         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25147         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25148         bit_ZMM16_31_state): New macro.
25149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25150         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25152 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25154         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25156 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25158         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25160 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25162         [BZ #18498]
25163         * libio/memstream.c (open_memstream): Rename to __open_memstream
25164         and define as weak alias of __open_memstream.
25165         * include/stdio.h (__open_memstream): Declare.  Use
25166         libc_hidden_proto.
25167         (open_memstream): Don't use libc_hidden_proto.
25168         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25169         open_memstream.
25170         * posix/getopt.c (_getopt_internal_r): Likewise.
25171         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25172         variable.
25173         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25174         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25175         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25177         [BZ #18496]
25178         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25179         instead of wcrtomb.
25181         [BZ #18483]
25182         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25183         [__USE_XOPEN2K8].  Remove redundant #endif.
25184         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25185         Remove redundant #if.
25186         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25187         Remove variable.
25188         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25189         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25191         [BZ #18495]
25192         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25193         (__iswlower): Likewise.
25194         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
25195         (__iswlower): Likewise.
25196         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25197         instead of towlower.
25198         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25199         instead of iswlower.  Call __towupper instead of towupper.
25200         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25201         instead of iswalnum.
25203 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25205         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25206         errors to stderr.
25208 2015-06-05  Florian Weimer  <fweimer@redhat.com>
25210         [BZ #15661]
25211         [BZ #17322]
25212         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25213         Check for overflow properly.  Check for O_APPEND.  Ignore large
25214         file system block sizes.  Add comments about problems.
25215         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25216         * manual/filesys.texi (Storage Allocation): New node.
25218 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25220         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25221         cancellable syscalls.
25222         (SYS_ify): Add guard to no redefine it.
25223         (INLINE_SYSCALL): Likewise.
25224         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25225         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25226         SYSCALL_CANCEL instead.
25227         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25228         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25229         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25230         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25231         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25232         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25233         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25234         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25235         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25236         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25237         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25238         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25239         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25240         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25241         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25242         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25243         Likewise.
25244         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25245         (__libc_pread64): Likewise.
25246         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25247         (__libc_preadv): Likewise.
25248         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25249         (__libc_readv64): Likewise.
25250         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25251         (__libc_pwrite): Likewise.
25252         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25253         (__libc_pwrite64): Likewise.
25254         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25255         (__libc_pwritev): Likewise.
25256         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25257         (__libc_pwritev64): Likewise.
25258         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25259         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25260         (sync_file_range): Likewise.
25261         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25262         Likewise.
25263         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25264         Likewise.
25265         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25266         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25267         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25268         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25269         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25270         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25271         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25272         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25274         Likewise.
25275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25276         (__libc_read64): Likewise.
25277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25278         Likewise.
25279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25280         Likewise.
25281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25282         Likewise.
25283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25284         Likewise.
25285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25286         (__libc_pread64): Likewise.
25287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25288         Likewise.
25289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25290         (__libc_pwrite64): Likewise.
25291         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25292         (sync_file_range): Likewise.
25293         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25294         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25295         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25296         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25297         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25298         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25299         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25300         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25301         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25302         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25303         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25304         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25305         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25306         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25307         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25308         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25309         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25310         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25311         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25312         Likewise.
25313         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25314         Likewise.
25315         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25316         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25317         Likewise.
25318         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25319         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25320         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25321         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25322         Likewise.
25323         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25324         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25325         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25326         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25327         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25329 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
25331         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25332         Include dl-vdso.
25333         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25334         Use VDSO routines for gettimeofday, clock_gettime if
25335         available.
25336         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25337         Declare VDSO symbols.
25338         * sysdeps/unix/sysv/linux/arm/sysdep.h:
25339         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25340         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25341         * sysdeps/unix/sysv/linux/arm/Versions: Add
25342         __vdso_clock_gettime.
25344 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25346         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25347         be an inline implementation regardless of library is built within.
25348         (open_not_cancel_2): Likewise.
25349         (__read_nocancel): Likewise.
25350         (__write_nocancel): Likewise.
25351         (openat_not_cancel): Likewise.
25352         (openat_not_cancel_3): Likewise.
25353         (openat64_not_cancel): Likewise.
25354         (openat64_not_cancel_3): Likewise.
25355         (__close_nocancel): Likewise.
25356         (pause_not_cancel): Likewise.
25357         (nanosleep_not_cancel): Likewise.
25358         (sigsuspend_not_cancel): Likewise.
25360 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25362         [BZ #14958]
25363         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25364         wake-up.
25365         (__pthread_rwlock_rdlock_slow): Likewise.
25366         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25367         Likewise.
25368         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25369         Likewise.
25370         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25371         * nptl/tst-rwlock16.c: New file.
25372         * nptl/Makefile (tests): Add new test.
25374 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25376         [BZ #18324]
25377         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25378         missing wake-up of readers.
25379         * nptl/tst-rwlock15.c: New file.
25380         * nptl/Makefile (tests): Add new test.
25382 2015-06-03  Roland McGrath  <roland@hack.frob.com>
25384         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25385         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25386         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25387         and __nacl_supply_interface_rtld.
25388         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25389         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25390         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25391         Add __nacl_supply_interface_rtld.
25392         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25394 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25396         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25397         isfinite.
25398         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25399         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25401 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25403         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25404         __signbit* with standard C99 macros.
25405         * math/e_exp10l.c: Likewise.
25406         * math/e_exp2l.c: Likewise.
25407         * math/e_scalb.c: Likewise.
25408         * math/e_scalbf.c: Likewise.
25409         * math/e_scalbl.c: Likewise.
25410         * math/s_ldexp.c: Likewise.
25411         * math/s_ldexpf.c: Likewise.
25412         * math/s_ldexpl.c: Likewise.
25413         * math/w_atan2.c: Likewise.
25414         * math/w_atan2f.c: Likewise.
25415         * math/w_atan2l.c: Likewise.
25416         * math/w_cosh.c: Likewise.
25417         * math/w_coshf.c: Likewise.
25418         * math/w_coshl.c: Likewise.
25419         * math/w_exp10.c: Likewise.
25420         * math/w_exp10f.c: Likewise.
25421         * math/w_exp10l.c: Likewise.
25422         * math/w_exp2.c: Likewise.
25423         * math/w_exp2f.c: Likewise.
25424         * math/w_exp2l.c: Likewise.
25425         * math/w_fmod.c: Likewise.
25426         * math/w_fmodf.c: Likewise.
25427         * math/w_fmodl.c: Likewise.
25428         * math/w_hypot.c: Likewise.
25429         * math/w_hypotf.c: Likewise.
25430         * math/w_hypotl.c: Likewise.
25431         * math/w_jnl.c: Likewise.
25432         * math/w_lgamma.c: Likewise.
25433         * math/w_lgamma_r.c: Likewise.
25434         * math/w_lgammaf.c: Likewise.
25435         * math/w_lgammaf_r.c: Likewise.
25436         * math/w_lgammal.c: Likewise.
25437         * math/w_lgammal_r.c: Likewise.
25438         * math/w_pow.c: Likewise.
25439         * math/w_powf.c: Likewise.
25440         * math/w_powl.c: Likewise.
25441         * math/w_remainder.c: Likewise.
25442         * math/w_remainderf.c: Likewise.
25443         * math/w_remainderl.c: Likewise.
25444         * math/w_scalb.c: Likewise.
25445         * math/w_scalbf.c: Likewise.
25446         * math/w_scalbl.c: Likewise.
25447         * math/w_scalbln.c: Likewise.
25448         * math/w_scalblnf.c: Likewise.
25449         * math/w_scalblnl.c: Likewise.
25450         * math/w_sinh.c: Likewise.
25451         * math/w_sinhf.c: Likewise.
25452         * math/w_sinhl.c: Likewise.
25453         * math/w_tgamma.c: Likewise.
25454         * math/w_tgammaf.c: Likewise.
25455         * math/w_tgammal.c: Likewise.
25456         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25457         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25458         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25459         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25460         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25461         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25462         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25463         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25464         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25465         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25466         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25467         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25468         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25469         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25470         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25471         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25472         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25473         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25474         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25475         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25476         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25477         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25478         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25479         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25480         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25481         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25482         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25483         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25484         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25485         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25486         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25487         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25488         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25489         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25490         * stdio-common/printf_fp.c: Likewise.
25491         * stdio-common/printf_fphex.c: Likewise.
25492         * stdio-common/printf_size.c: Likewise.
25494 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
25496         [BZ #18470]
25497         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25498         strnlen.
25499         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25500         Remove variable.
25501         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25502         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25503         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25504         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25505         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25506         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25507         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25508         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25509         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25510         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25512         [BZ #18468]
25513         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25514         weak alias of __wmemchr.  Use libc_hidden_weak.
25515         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
25516         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25517         instead of wmemchr.
25519 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25521         [BZ #18383]
25522         * elf/tst-tlsalign-extern.c: New file.
25523         * elf/tst-tlsalign-extern-static.c: New file.
25524         * elf/tst-tlsalign-vars.c: New file.
25525         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25526         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25527         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25528         ($(objpfx)tst-tlsalign-extern-static): Likewise.
25529         (test-xfail-tst-tlsalign-extern-static): New variable.
25531 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
25533         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25534         Use variable name _sc_err instead of err.
25535         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25536         instead of ret.
25537         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25538         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25539         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25540         (INLINE_SYSCALL): Likewise.
25542         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25543         * include/string.h (__strnlen): Use libc_hidden_proto.
25544         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25545         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25546         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25547         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25548         (libc_hidden_def): Undefine and redefine.
25549         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25550         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25551         __GI_strnlen.
25552         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25553         libc_hidden_def.
25554         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25556         [BZ #18469]
25557         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25558         weak alias of __towlower.  Use libc_hidden_weak.
25559         (towupper): Rename to __towupper and define as weak alias of
25560         __towupper.  Use libc_hidden_weak.
25561         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
25562         (__towupper): Likewise.
25563         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25564         __towlower instead of towlower.
25566 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25568         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25569         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25571 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25573         * sysdeps/aarch64/libm-test-ulps: Update.
25575 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25577         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25578         Define.
25579         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25581         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25582         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25583         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25584         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25585         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25587 2015-06-01  Martin Sebor  <msebor@redhat.com>
25589         [BZ #18116]
25590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25591         (__setcontext): Use extended four-operand version of mtsf whenever
25592         possible.
25593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25594         (__novec_swapcontext): Likewise.
25596 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25598         * benchtests/scripts/compare_bench.py: New file.
25599         * benchtests/scripts/import_bench.py (mean): New function.
25600         (split_list): Likewise.
25601         (do_for_all_timings): Likewise.
25602         (compress_timings): Likewise.
25604         * benchtests/scripts/import_bench.py: New file.
25605         * benchtests/scripts/validate_benchout.py: Import import_bench
25606         instead of jsonschema.
25607         (validate_bench): Remove function.
25608         (main): Use import_bench.
25610 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
25612         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25613         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25615 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25619 2015-05-28  Roland McGrath  <roland@hack.frob.com>
25621         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25622         set THREAD_SELF->tid to a magic value and futex-wake it.
25623         Pass its address to the thread_exit system call.
25624         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25625         bit is clear.
25626         * sysdeps/nacl/lowlevellock.h: New file.
25627         * sysdeps/nacl/lll_timedwait_tid.c: New file.
25629         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25630         Add TIMEOUT to current time, don't subtract it.
25632 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
25634         [BZ #2981]
25635         [BZ #18422]
25636         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25637         ($(objpfx)tst-audit2.out): Also depend on
25638         $(objpfx)tst-auditmod9b.so.
25639         * elf/tst-audit2.c: Include <dlfcn.h>.
25640         (calloc_called): New.
25641         (calloc): Allow to be called more than once.
25642         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25644 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
25646         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25647         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25649 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
25651         * stdlib/monetary.h: Fix comment.
25653 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
25655         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25656         Avoid using variables in #defines that might cause shadowing.
25657         (INTERNAL_VSYSCALL_CALL): Likewise.
25659 2015-05-26  Roland McGrath  <roland@hack.frob.com>
25661         * sysdeps/nacl/lll_timedlock_wait.c: New file.
25663         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25664         * nptl/lll_timedlock_wait.c: ... to this new file.
25665         * nptl/Makefile (libpthread-routines): Add it.
25666         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25667         * nptl/lll_timedwait_tid.c: ... to this new file.
25668         * nptl/Makefile (libpthread-routines): Add it.
25669         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25670         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25671         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25672         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25673         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25674         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25675         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25676         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25677         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25678         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25680 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25682         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25683         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25684         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25685         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25686         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25687         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25688         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25689         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25690         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25691         * sysdeps/unix/sysv/linux/tile/sysdep.h
25692         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25693         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25694         using vDSO syscall macro.
25696 2015-05-26  Andriy Rysin  <arysin@gmail.com>
25698         [BZ #17293]
25699         * uk_UA: Fix sorting order for Ukrainian locale
25701 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
25703         * stdlib/monetary.h: Fix comment.
25705 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25707         [BZ #18234]
25708         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25709         st_mtim and st_ctim members.
25710         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25711         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25712         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25713         (struct stat64): Likewise.
25714         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25715         (struct stat64): Likewise.
25716         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25717         (struct stat64): Likewise.
25719 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25721         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25722         Define and include sysdep-vdso.h.
25723         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25724         Likewise.
25725         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25726         Likewise.
25727         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25728         Define with VDSO_SYMBOL and use PTR_MANGLE.
25729         (__vdso_clock_gettime): Likewise.
25730         (__vdso_clock_getres): Likewise.
25731         (_libc_vdso_platform_setup): Likewise.
25732         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25733         Likewise.
25734         (_libc_vdso_platform_setup): Likewise.
25735         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25736         Likewise.
25737         (__vdso_clock_gettime): Likewise.
25738         (__vdso_clock_getres): Likewise.
25739         (__vdso_get_tbfreq): Likewise.
25740         (__vdso_getcpu): Likewise.
25741         (__vdso_time): Likewise.
25742         (__vdso_sigtramp_rt64): Likewise.
25743         (__vdso_signtramp32): Likewise.
25744         (__vdso_sigtramp_rt32): Likewise.
25745         (_libc_vdso_platform_setup): Likewise.
25746         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25747         Likewise.
25748         (__vdso_clock_gettime): Likewise.
25749         (__vdso_clock_getres): Likewise.
25750         (_libc_vdso_platform_setup): Likewise.
25751         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25752         Likewise.
25753         (__vdso_clock_gettime): Likewise.
25754         (_libc_vdso_platform_setup): Likewise.
25755         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25756         Likewise.
25757         (__vdso_getcpu): Likewise.
25758         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25759         Use VDSO_SYMBOL macro to define.
25760         (__vdso_clock_gettime): Likewise.
25761         (__vdso_clock_getres): Likewise.
25762         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25763         Likewise.
25764         (__vdso_clock_gettime): Likewise.
25765         (__vdso_clock_getres): Likewise.
25766         (__vdso_get_tbfreq): Likewise.
25767         (__vdso_getcpu): Likewise.
25768         (__vdso_time): Likewise.
25769         (__vdso_sigtramp_rt64): Likewise.
25770         (__vdso_signtramp32): Likewise.
25771         (__vdso_sigtramp_rt32): Likewise.
25772         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25773         Likewise.
25774         (__vdso_clock_gettime): Likewise.
25775         (__vdso_clock_getres): Likewise.
25776         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25777         Likewise.
25778         (__vdso_clock_gettime): Likewise.
25779         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25780         Likewise.
25781         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
25782         macro.
25783         (INTERNAL_VSYSCALL): Likewise.
25784         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25785         Remove macro.
25786         (INTERNAL_VSYSCALL): Likewise.
25787         (INTERNAL_VSYSCALL_NCS): Likewise.
25788         (INTERNAL_VSYSCALL_CALL): New macro.
25789         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25790         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25791         Likewise.
25792         (INTERNAL_VSYSCALL): Likewise.
25793         (INTERNAL_VSYSCALL_NCS): Likewise.
25794         (INTERNAL_VSYSCALL_CALL): New macro.
25795         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25797         (INLINE_VSYSCALL): Remove macro.
25798         (INTERNAL_VSYSCALL): Remove macro.
25799         (INTERNAL_VSYSCALL_NCS): Remove macro.
25800         (INTERNAL_VSYSCALL_CALL): New macro.
25801         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25802         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25803         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25804         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25805         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25807         (INLINE_VSYSCALL): Remove macro.
25808         (INTERNAL_VSYSCALL): Likewise.
25809         (INTERNAL_VSYSCALL_NCS): Likewise.
25810         (INTERNAL_VSYSCALL_CALL): New macro.
25811         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25812         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25813         PTR_DEMANGLE on vDSO pointer.
25814         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25815         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25816         macro.
25817         (INTERNAL_SYSCALL): Likewise.
25818         (INTERNAL_VSYSCALL_NCS): Remove macro.
25819         (INTERNAL_VSYSCALL_CALL): New macro.
25820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25821         Remove macro.
25822         (INTERNAL_VSYSCALL): Likewise.
25823         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25824         sysdep-vdso.h instead of libc-vdso.h.
25825         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25826         definition.
25827         (INLINE_VSYSCALL): Likewise.
25828         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25829         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25830         definition.
25831         (INLINE_VSYSCALL): Likewise.
25832         (INTERNAL_VSYSCALL): Likewise.
25833         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25834         * sysdeps/unix/sysv/linux/timespec_get.c
25835         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25836         (timespec_get): Use ANSI prototype.
25837         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25838         and definition for Linux.
25840 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25842         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25843         * include/libc-symbols.h: libmvec_hidden_* macro series added.
25845 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25847         [BZ #2981]
25848         [BZ #18410]
25849         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25850         for missing DT_PLTRELSZ.
25852 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25854         Remove obsolete aliases that broke 'locale -a'
25855         [BZ #18412]
25856         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25857         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25858         breaking some applications that use 'locale -a' output.
25859         Change the encoding of this file from Latin-1 to ASCII to avoid
25860         other potential problems with people grepping this file.
25862 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25864         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25865         -fasynchronous-unwind-tables.
25866         (CFLAGS-sendto.c): Likewise.
25867         (CFLAGS-sendmsg.c): Likewise.
25868         (CFLAGS-connect.c): Likewise.
25869         (CFLAGS-recvmsg.c): Likewise.
25870         (CFLAGS-recvfrom.c): Likewise.
25871         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25872         (SOCKETCALL): New macro: non-cancellable socketcall.
25873         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25874         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25875         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25876         * sysdeps/unix/sysv/linux/accept.c: New file.
25877         * sysdeps/unix/sysv/linux/bind.c: Likewise.
25878         * sysdeps/unix/sysv/linux/connect.c: Likewise.
25879         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25880         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25881         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25882         * sysdeps/unix/sysv/linux/listen.c: Likewise.
25883         * sysdeps/unix/sysv/linux/recv.c: Likewise.
25884         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25885         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25886         * sysdeps/unix/sysv/linux/send.c: Likewise.
25887         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25888         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25889         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25890         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25891         * sysdeps/unix/sysv/linux/socket.c: Likewise.
25892         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25893         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25894         prototype.
25895         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25896         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25897         instead of __internal_xxx function.
25898         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25899         prototype.
25900         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25901         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25902         instead of __internal_xxx function.
25903         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25904         prototype.
25905         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25906         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25907         instead of __internal_xxx function.
25908         * sysdeps/unix/sysv/linux/accept.S: Remove file.
25909         * sysdeps/unix/sysv/linux/bind.S: Likewise.
25910         * sysdeps/unix/sysv/linux/connect.S: Likewise.
25911         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25912         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25913         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25914         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25915         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25916         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25917         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25918         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25919         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25920         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25921         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25922         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25923         * sysdeps/unix/sysv/linux/listen.S: Likewise.
25924         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25925         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25926         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25927         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25930         * sysdeps/unix/sysv/linux/recv.S: Likewise.
25931         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25932         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25933         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25934         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25935         * sysdeps/unix/sysv/linux/send.S: Likewise.
25936         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25937         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25938         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25939         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25940         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25941         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25942         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25943         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25944         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25945         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25946         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25947         socketcall is implemented in GLIBC.
25949 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25951         * soft-fp/fmadf4.c: Include <libc-internal.h>.
25952         (__fma): Ignore uninitialized warnings around packing.
25953         * soft-fp/fmasf4.c: Include <libc-internal.h>.
25954         (__fmaf): Ignore uninitialized warnings around packing.
25955         * soft-fp/fmatf4.c: Include <libc-internal.h>.
25956         (__fmal): Ignore uninitialized warnings around packing.
25958         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25959         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25960         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25961         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25963         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25964         switch statement into default case.
25965         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25967         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25968         a conditional in forcing "inexact".
25969         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25970         Likewise.
25972 2015-05-22  Roland McGrath  <roland@hack.frob.com>
25974         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25975         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25976         for each INTERNAL_SYSCALL use.
25978 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25980         [BZ #438]
25981         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25982         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25983         variable.
25985         [BZ #18444]
25986         * string/basename.c (basename): Rename to __basename and define as
25987         weak alias of __basename.  Use libc_hidden_weak.
25988         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
25989         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
25990         __basename instead of basename.
25991         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
25992         Remove variable.
25993         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25995 2015-05-18  Florian Weimer  <fweimer@redhat.com>
25997         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
25998         (_IO_JUMPS_FILE_plus): New.
25999         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26000         _IO_CAST_FIELD_ACCESS.
26001         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26002         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26003         * libio/freopen.c (freopen): Likewise.
26004         * libio/freopen64.c (freopen64): Likewise.
26005         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26006         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26007         * libio/iofwide.c (_IO_fwide): Likewise.
26008         * libio/memstream.c (open_memstream): Likewise.
26009         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26010         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26011         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26013 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26015         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26016         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26017         NADJ.
26018         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26019         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26020         NADJ.
26021         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26022         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26023         NADJ.
26025         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26026         (p == 4) case.
26028         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26029         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26030         Remove variable.
26031         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26032         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26033         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26035 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26037         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26038         Adjust jump table label generation macros.
26040 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26042         * stdio-common/vfprintf.c (vfprintf): Move local variables
26043         args_malloced, specs, specs_malloced, and the code after
26044         do_positional to the printf_positional function.
26045         (printf_positional): New function.
26047 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26049         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26050         function.
26051         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26052         STEP4_TABLE, process_arg): Move macro definitions
26053         out of the vfprintf function.  (Cosmetic change only.)
26055 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26057         * benchtests/Makefile (stdio-common-bench): Define.
26058         (benchset): Add stdio-common-bench.
26059         * sprintf-inputs: New file.
26060         * sprintf-source.c: New file.
26062 2015-05-21  Andreas Schwab  <schwab@suse.de>
26064         [BZ #13028]
26065         [BZ #17053]
26066         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26067         of struct __res_state.
26068         * resolv/res_send.c (__libc_res_nsend): Likewise.
26069         (get_nsaddr): New function.
26070         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26071         statp directly.
26073 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26075         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26076         -D_POSIX_C_SOURCE=199506L.
26078         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26080         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26081         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26082         Do not mention otherwise.
26083         [POSIX] (_XOPEN_VERSION): Do not expect.
26084         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26085         [POSIX] (_POSIX2_C_BIND): Likewise.
26086         [POSIX] (_POSIX2_VERSION): Likewise.
26087         [POSIX] (_XOPEN_XPG2): Likewise.
26088         [POSIX] (_XOPEN_XPG3): Likewise.
26089         [POSIX] (_XOPEN_XPG4): Likewise.
26090         [POSIX] (_XOPEN_UNIX): Likewise.
26091         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26092         [POSIX] (_POSIX_BARRIERS): Likewise.
26093         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26094         [POSIX] (_POSIX_CPUTIME): Likewise.
26095         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26096         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26097         [POSIX] (_POSIX_SHELL): Likewise.
26098         [POSIX] (_POSIX_SPAWN): Likewise.
26099         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26100         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26101         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26102         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26103         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26104         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26105         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26106         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26107         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26108         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26109         [POSIX] (_POSIX2_PBS): Likewise.
26110         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26111         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26112         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26113         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26114         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26115         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26116         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26117         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26118         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26119         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26120         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26121         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26122         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26123         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26124         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26125         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26126         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26127         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26128         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26129         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26130         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26131         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26132         [POSIX] (_SC_2_C_BIND): Likewise.
26133         [POSIX] (_SC_2_C_VERSION): Likewise.
26134         [POSIX] (_SC_2_PBS): Likewise.
26135         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26136         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26137         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26138         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26139         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26140         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26141         [POSIX] (_SC_BARRIERS): Likewise.
26142         [POSIX] (_SC_BASE): Likewise.
26143         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26144         [POSIX] (_SC_DEVICE_IO): Likewise.
26145         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26146         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26147         [POSIX] (_SC_FD_MGMT): Likewise.
26148         [POSIX] (_SC_FIFO): Likewise.
26149         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26150         [POSIX] (_SC_FILE_LOCKING): Likewise.
26151         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26152         [POSIX] (_SC_IOV_MAX): Likewise.
26153         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26154         [POSIX] (_SC_NETWORKING): Likewise.
26155         [POSIX] (_SC_PAGE_SIZE): Likewise.
26156         [POSIX] (_SC_PASS_MAX): Likewise.
26157         [POSIX] (_SC_PIPE): Likewise.
26158         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26159         [POSIX] (_SC_REGEXP): Likewise.
26160         [POSIX] (_SC_SHELL): Likewise.
26161         [POSIX] (_SC_SIGNALS): Likewise.
26162         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26163         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26164         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26165         [POSIX] (_SC_USER_GROUPS): Likewise.
26166         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26167         [POSIX] (_SC_STREAMS): Likewise.
26168         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26169         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26170         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26171         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26172         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26173         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26174         [POSIX] (_PC_FILESIZEBITS): Likewise.
26175         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26176         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26177         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26178         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26179         [POSIX] (uid_t): Likewise.
26180         [POSIX] (gid_t): Likewise.
26181         [POSIX] (off_t): Likewise.
26182         [POSIX] (pid_t): Likewise.
26183         [POSIX] (cuserid): Allow.
26184         (_SC_2_CHAR_TERM): Require constant.
26185         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26186         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26187         variable.
26189 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26191         * sysdeps/nacl/pthread-pids.h: New file.
26192         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26193         (create_thread): Use __nacl_get_tid to initialize PD->tid.
26195         * nptl/pthread-pids.h: New file.
26196         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26197         * nptl/nptl-init.c: Include <pthread-pids.h>.
26198         (__pthread_initialize_minimal_internal):
26199         Call __pthread_initialize_pids instead of set_tid_address syscall.
26201         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26202         * sysdeps/posix/usleep.c: ... here.
26204 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26206         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26207         call_pselect6 object.
26208         [$(subdir) = io]: Remove call_sync_file_range object.
26209         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26210         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26211         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26212         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26214 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
26216         * math/s_cproj.c: Add include "math_private.h".
26217         * math/s_cprojf.c: Likewise.
26218         * math/s_cprojl.c: Likewise.
26220 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
26222         [BZ #18244]
26223         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26224         high mantissa bit when testing whether P is a NaN.
26225         * math/libm-test.inc (remainder_test_data): Add more tests.
26226         (remquo_test_data): Likewise.
26228         [BZ #18049]
26229         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26230         below -32, return the argument, with underflow if subnormal.
26231         * math/auto-libm-test-in: Add more tests of atanh.
26232         * math/auto-libm-test-out: Regenerated.
26234 2015-05-19  Roland McGrath  <roland@hack.frob.com>
26236         [BZ #18434]
26237         * nptl/tst-sem15.c: New file.
26238         * nptl/Makefile (tests): Add it.
26239         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26240         s/<</>>/ to fix typo in EOVERFLOW check.
26241         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26243 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26245         * manual/strings.texi (envz_remove): Fix typo in safety
26246         annotations.
26248 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
26249             Steve Ellcey  <sellcey@imgtec.com>
26251         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26252         in order to avoid strict alias warnings.
26253         (iruserok_af): Ditto for ra.
26255 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
26257         [BZ #17581]
26258         * malloc/hooks.c
26259         (magicbyte): Convert to a function and avoid returning 0x01.
26260         (mem2mem_check): Avoid using a length byte equal to the magic byte.
26261         (mem2chunk_check): Fix unsigned comparisons to zero.
26262         Hoist defs of sz and magic.
26264 2015-05-19  Richard Henderson  <rth@redhat.com>
26266         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26268         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26270 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26272         [BZ #16159]
26273         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26274         * malloc/arena.c (arena_lock): Check if arena is corrupt.
26275         (reused_arena): Find a non-corrupt arena.
26276         (heap_trim): Pass arena to unlink.
26277         * malloc/hooks.c (malloc_check_get_size): Pass arena to
26278         malloc_printerr.
26279         (top_check): Likewise.
26280         (free_check): Likewise.
26281         (realloc_check): Likewise.
26282         * malloc/malloc.c (malloc_printerr): Add arena argument.
26283         (unlink): Likewise.
26284         (munmap_chunk): Adjust.
26285         (ARENA_CORRUPTION_BIT): New macro.
26286         (arena_is_corrupt): Likewise.
26287         (set_arena_corrupt): Likewise.
26288         (sysmalloc): Use mmap if there are no usable arenas.
26289         (_int_malloc): Likewise.
26290         (__libc_malloc): Don't fail if arena_get returns NULL.
26291         (_mid_memalign): Likewise.
26292         (__libc_calloc): Likewise.
26293         (__libc_realloc): Adjust for additional argument to
26294         malloc_printerr.
26295         (_int_free): Likewise.
26296         (malloc_consolidate): Likewise.
26297         (_int_realloc): Likewise.
26298         (_int_memalign): Don't touch corrupt arenas.
26299         * malloc/tst-malloc-backtrace.c: New test case.
26301         * Makefile (summarize-tests): Fix return value on success.
26303         * manual/string.texi (Envz Functions): Add envz_remove.
26305 2015-05-18  Roland McGrath  <roland@hack.frob.com>
26307         * sysdeps/posix/opendir.c: Include <stdbool.h>.
26308         (invalid_name): New function, broken out of ...
26309         (__opendirat): ... here.  Call it.
26310         (need_isdir_precheck): New function, broken out of ...
26311         (__opendirat): ... here.  Call it.
26312         Use __fxstatat64, not __xstatat64.
26313         (opendir_oflags): New function, broken out of ...
26314         (__opendirat): ... here.  Call it.
26315         (opendir_tail): New function, broken out of ...
26316         (__opendirat): ... here.  Call it.
26317         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26318         opendir_tail, rather than punting to __opendirat.
26319         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26321 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26323         * .gitignore: Ignore generated *.pyc.
26325 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
26327         * include/stdio.h: Define __need_wint_t.
26328         * test-skeleton.c: Avoid `for' loop initial declaration.
26329         * nptl/tst-initializers1.c: Use test-skeleton.c.
26331 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26333         [BZ #18418]
26334         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26336 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26338         [BZ #16352]
26339         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26340         (__ieee754_atanh): Force underflow exception for results with
26341         small absolute value.
26342         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26343         (__ieee754_atanhf): Force underflow exception for results with
26344         small absolute value.
26345         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26346         (__ieee754_atanh): Force underflow exception for results with
26347         small absolute value.
26348         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26349         (__ieee754_atanhf): Force underflow exception for results with
26350         small absolute value.
26351         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26352         (__ieee754_atanhl): Force underflow exception for results with
26353         small absolute value.
26354         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26355         (__ieee754_atanhl): Force underflow exception for results with
26356         small absolute value.
26357         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26358         (__ieee754_atanhl): Force underflow exception for results with
26359         small absolute value.
26360         * math/auto-libm-test-in: Do not allow missing underflow
26361         exceptions from atanh.
26362         * math/auto-libm-test-out: Regenerated.
26364         [BZ #18221]
26365         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26366         2**-28 as threshold for returning x or +/- 1/x.
26367         * math/auto-libm-test-in: Add more tests of tan.
26368         * math/auto-libm-test-out: Regenerated.
26370         [BZ #18220]
26371         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26372         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26373         * math/auto-libm-test-in: Add another test of lgamma.
26374         * math/auto-libm-test-out: Regenerated.
26376 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
26378         * stdio-common/printf_fp.c (___printf_fp): Use abs.
26379         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
26380         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26381         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26382         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
26383         (ADD2A): Use fabs.  (SUB2A): Use fabs.
26384         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26385         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26387         (log1): Use fabs.  (my_log2): Use fabs.
26388         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26389         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26390         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26391         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26393         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
26394         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
26395         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
26396         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
26397         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26398         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26400 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26402         [BZ #18217]
26403         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26404         as threshold for returning 1 - x.
26405         * math/auto-libm-test-in: Add more tests of erfc.
26406         * math/auto-libm-test-out: Regenerated.
26408 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
26410         [BZ #18196]
26411         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26412         threshold for large arguments.
26413         * math/auto-libm-test-in: Add another test of atan.
26414         * math/auto-libm-test-out: Regenerated.
26416         [BZ #16339]
26417         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26418         (__log1p): Force underflow exception for results with small
26419         absolute value.
26420         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26421         (__log1pf): Force underflow exception for results with small
26422         absolute value.
26423         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26424         (__log1p): Force underflow exception for results with small
26425         absolute value.
26426         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26427         (__log1pf): Force underflow exception for results with small
26428         absolute value.
26429         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26430         (__log1pl): Force underflow exception for results with small
26431         absolute value.
26432         * math/auto-libm-test-in: Do not allow missing underflow
26433         exceptions from log1p.
26434         * math/auto-libm-test-out: Regenerated.
26436 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
26437             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26439         [BZ #16704]
26440         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26442 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
26444         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26445         (libmvec): New variable.
26446         * configure.ac: Added option for mathvec build.
26447         * configure: Regenerated.
26448         * mathvec/Depend: New file.
26449         * mathvec/Makefile: New file.
26450         * shlib-versions: Added libmvec.
26451         * math/Makefile: Added rule for libm.so installation.
26453         * bits/math-vector.h: New file.
26454         * bits/libm-simd-decl-stubs.h: New header.
26455         * math/Makefile (headers): Added new header
26456         libm-simd-decl-stubs.h.
26457         * math/math.h (__MATHCALL_VEC): New macro.
26459         * math/gen-libm-have-vector-test.sh: Script generates series of macros
26460         for conditions in testing functions.
26461         * math/Makefile: Added call of libm-have-vector-test.sh.
26462         * math/libm-test.inc (HAVE_VECTOR): New macros.
26464         * math/libm-test.inc: START refactored.
26465         * math/test-double.c (TEST_MATHVEC): Add define.
26466         * math/test-float.c: Likewise.
26467         * math/test-idouble.c: Likewise.
26468         * math/test-ifloat.c: Likewise.
26469         * math/test-ildoubl.c: Likewise.
26470         * math/test-ldouble.c: Likewise.
26471         * sysdeps/generic/math-tests-arch.h
26472         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26473         architecture check.
26475         * math/test-double.c (FUNC_TEST): New macro.
26476         * math/test-float.c: Likewise.
26477         * math/test-idouble.c: Likewise.
26478         * math/test-ifloat.c: Likewise.
26479         * math/test-ildoubl.c: Likewise.
26480         * math/test-ldouble.c: Likewise.
26481         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26483 2015-05-13  Roland McGrath  <roland@hack.frob.com>
26485         * sysdeps/nacl/fdopendir.c: New file.
26487         * dirent/scandir-tail.c: New file.
26488         * dirent/scandir64-tail.c: New file.
26489         * dirent/Makefile (routines): Add them.
26490         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26491         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26492         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26493         [!SCANDIR] (SCANDIR_TAIL): New macro.
26494         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26495         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26496         (SCANDIRAT): Macro removed.
26497         (SCANDIR_TAIL): New macro.
26498         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26499         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26500         (SCANDIRAT): Just call __opendirat and __scandir_tail.
26501         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26502         (READDIR): Macro removed.
26503         (SCANDIR_TAIL): New macro.
26504         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26505         (SCANDIR_TAIL): New macro.
26507         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26508         * dirent/scandir-cancel.c: ... to this new file.
26509         * dirent/Makefile (routines): Add it.
26510         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26511         * sysdeps/unix/sysv/linux/i386/scandir64.c
26512         (SKIP_SCANDIR_CANCEL): Macro removed.
26513         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26515         * dirent/tst-scandir.c: New file.
26516         * dirent/tst-scandir64.c: New file.
26517         * dirent/Makefile (tests): Add them.
26519 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
26521         [BZ #18409]
26522         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26524 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26526         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26527         list.
26529 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
26531         * benchtests/bench-strcoll.c: New benchmark.
26532         * benchtests/Makefile: Generate locales and run benchmark.
26533         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26534         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26535         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26536         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26537         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26538         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26539         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26540         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26541         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26542         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26543         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26544         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26545         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26546         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26547         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26548         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26549         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26550         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26551         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26552         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26553         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26554         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26555         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26556         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26558 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
26560         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26561         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26563 2015-05-12  Roland McGrath  <roland@hack.frob.com>
26565         * posix/uname-values.h: New file.
26566         * posix/uname.c: Include that instead of <config-name.h>.
26567         * sysdeps/nacl/uname-values.h: New file.
26568         * sysdeps/arm/nacl/uname-values.h: New file.
26570 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
26572         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26573         splitting into fields.
26575 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
26577         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26578         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26579         * locale/localeinfo.h: Add enum collation_encoding_type.
26580         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26581         * programs/ld-collate.c (collate_output): Add encoding type info.
26582         * string/strcoll_l.c (STRDIFF): New function.
26583         * (STRCOLL): Use STRDIFF to skip over equal prefix.
26584         * wcsmbs/wcscoll_l.c: Define STRDIFF.
26586 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
26588         [BZ #18397]
26589         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26590         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
26591         <fpu_control.h> instead of <math/fpu_control.c>.
26592         * sysdeps/mips/mips32/fpu/Makefile: New file.
26594 2015-05-11  Andreas Schwab  <schwab@suse.de>
26596         [BZ #18007]
26597         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26598         nss_endgrent.
26599         (_nss_compat_endgrent): Call nss_endgrent.
26600         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26601         nss_endpwent.
26602         (_nss_compat_endpwent): Call nss_endpwent.
26603         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26604         needent, call nss_setspent only if non-zero.
26605         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26606         (internal_endspent): Don't call nss_endspent.
26607         (_nss_compat_endspent): Call nss_endspent.
26608         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26609         Remove.  All uses removed.
26610         (internal_setent): Remove parameter stayopen, add parameter
26611         stream.  Use it instead of global variable.
26612         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26613         (internal_endent, internal_getent): Add parameter stream.  Use it
26614         instead of global variable.
26615         (CONCAT(_nss_files_end,ENTNAME))
26616         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26617         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
26618         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
26619         uses removed.
26620         (internal_setent, internal_endent): Add parameter stream.  Use it
26621         instead of global variable.
26622         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26623         stream.
26624         (get_next_alias): Add parameter stream.
26625         (_nss_files_getaliasent_r): Pass global stream.
26626         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
26627         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26628         (_nss_files_gethostbyname4_r): Pass local stream to
26629         internal_setent, internal_getent and internal_endent.  Remove
26630         locking.
26632 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26634         * tst-strfmon1.c (tests): Update expected currency symbol.
26636 2015-05-08  Roland McGrath  <roland@hack.frob.com>
26638         * sysdeps/nacl/gethostname.c: New file.
26640 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
26642         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26643         and sinh.
26644         * math/auto-libm-test-out: Regenerated.
26645         * sysdeps/i386/fpu/libm-test-ulps: Update.
26646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26648 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
26650         [BZ #18125]
26651         * stdlib/tst-setcontext3.c: New file.
26652         * stdlib/tst-setcontext3.sh: New file.
26653         * stdlib/Makefile (tests): Add tst-setcontext3.
26654         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26655         to verify test program created output file.
26656         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26657         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26658         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26659         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26661 2015-05-06  Roland McGrath  <roland@hack.frob.com>
26663         [BZ #18383]
26664         * elf/tst-tlsalign.c: New file.
26665         * elf/tst-tlsalign-static.c: New file.
26666         * elf/tst-tlsalign-lib.c: New file.
26667         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26668         (tests-static): Add tst-tlsalign-static.
26669         (modules-names): Add tst-tlsalign-lib.
26670         (test-xfail-tst-tlsalign): New variable.
26671         (test-xfail-tst-tlsalign-static): New variable.
26673         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26674         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26676 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
26678         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26679         csqrt, erfc, sin and sincos.
26680         * math/auto-libm-test-out: Regenerated.
26681         * sysdeps/i386/fpu/libm-test-ulps: Update.
26682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26684 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26686         * sysdeps/aarch64/libm-test-ulps: Update.
26688 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
26690         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26691         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26692         * math/auto-libm-test-out: Regenerated.
26693         * sysdeps/i386/fpu/libm-test-ulps: Update.
26694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26696 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26698         [BZ #18265]
26699         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26700         (wcsncpy): Likewise.
26702 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26704         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26705         Assume __ASSUME_FALLOCATE is always true.
26706         * sysdeps/unix/sysv/linux/posix_fallocate64.c
26707         (__posix_fallocate64_l64): Likewise.
26708         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26709         (posix_fallocate): Likewise.
26710         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26711         (__posix_fallocate64_l64): Likewise.
26712         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26713         [!__ASSUME_FALLOCATE]: Add comment.
26715 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26717         * sysdeps/unix/sysv/linux/i386/Makefile
26718         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26719         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26720         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26721         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26722         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26723         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26724         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26726 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
26728         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26729         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26730         tgamma.
26731         * math/auto-libm-test-out: Regenerated.
26732         * sysdeps/i386/fpu/libm-test-ulps: Update.
26733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26735 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26737         * math/auto-libm-test-in: Add more tests of tgamma.
26738         * math/auto-libm-test-out: Regenerated.
26739         * sysdeps/i386/fpu/libm-test-ulps: Update.
26740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26742         * math/auto-libm-test-in: Add more tests of tanh.
26743         * math/auto-libm-test-out: Regenerated.
26744         * sysdeps/i386/fpu/libm-test-ulps: Update.
26745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26747         * math/auto-libm-test-in: Add more tests of tan.
26748         * math/auto-libm-test-out: Regenerated.
26749         * sysdeps/i386/fpu/libm-test-ulps: Update.
26750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26752         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26753         * math/auto-libm-test-out: Regenerated.
26754         * sysdeps/i386/fpu/libm-test-ulps: Update.
26755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26757         * math/auto-libm-test-in: Add another test of pow.
26758         * math/auto-libm-test-out: Regenerated.
26759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26761         * math/auto-libm-test-in: Add more tests of lgamma.
26762         * math/auto-libm-test-out: Regenerated.
26763         * sysdeps/i386/fpu/libm-test-ulps: Update.
26764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26766         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26767         log1p.
26768         * math/auto-libm-test-out: Regenerated.
26769         * sysdeps/i386/fpu/libm-test-ulps: Update.
26770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26772 2015-05-01  Mark Wielaard  <mjw@redhat.com>
26774         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26775         Elf64_Chdr structs and ELFCOMPRESS constants.
26777 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26779         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26780         expm1.
26781         * math/auto-libm-test-out: Regenerated.
26782         * sysdeps/i386/fpu/libm-test-ulps: Update.
26783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26785         * math/auto-libm-test-in: Add more tests of erf and erfc.
26786         * math/auto-libm-test-out: Regenerated.
26787         * sysdeps/i386/fpu/libm-test-ulps: Update.
26788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26790 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26792         * config.h.in (HAVE_AARCH64_BE): Add.
26794 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
26796         * math/auto-libm-test-in: Add more tests of csqrt.
26797         * math/auto-libm-test-out: Regenerated.
26798         * sysdeps/i386/fpu/libm-test-ulps: Update.
26799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26801         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26802         * math/auto-libm-test-out: Regenerated.
26803         * sysdeps/i386/fpu/libm-test-ulps: Update.
26804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26806         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26808 2015-04-29  Roland McGrath  <roland@hack.frob.com>
26810         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26811         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26813         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26814         (euidaccess, eaccess): Define as weak aliases.
26816         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26817         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
26818         but __suseconds_t is often 'long int' so some sources assume that
26819         type is being used (e.g. they use %ld to print tv_usec).
26821 2015-04-29  Florian Weimer  <fweimer@redhat.com>
26823         [BZ #18007]
26824         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26825         (CVE-2014-8121)
26826         * nss/tst-nss-getpwent.c: New file.
26827         * nss/Makefile (tests): Add new test.
26829 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
26831         [BZ #18346]
26832         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26833         exponents less than 48 as cases where high part of mantissa needs
26834         examining to determine whether argument is integral.
26835         * math/libm-test.inc (round_test_data): Add more tests.
26837 2015-04-28  Mark Wielaard  <mjw@redhat.com>
26839         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26841 2015-04-27  David S. Miller  <davem@davemloft.net>
26843         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26844         __tls_get_addr.
26845         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26847 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
26849         [BZ#18333]
26850         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26852 2015-04-27  Florian Weimer  <fweimer@redhat.com>
26854         [BZ#18333]
26855         * time/tzset.c (parse_tzname): Return error on memory allocation
26856         failure.
26857         * test-skeleton.c (struct temp_name_list): Change type of name
26858         member to non-const.
26859         (add_temp_file): Create a copy of the file name.
26860         (delete_temp_files): Deallocate memory.
26861         (create_temp_file): Add comment.
26863 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26865         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26866         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26868 2015-04-24  Roland McGrath  <roland@hack.frob.com>
26870         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26871         * sysdeps/arm/configure: Regenerated.
26873 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26875         [BZ #17715]
26876         * time/tzfile.c (__tzfile_read): Check for large values of
26877         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
26878         * time/tzset.c (__tzstring_len): New function, based on the old
26879         __tzstring function.
26880         (__tzstring): Call __tzstring_len.
26881         (parse_tzname): New helper function extracted from
26882         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
26883         the input string.
26884         (parse_offset): New helper function extracted from
26885         __tzset_parse_tz.  Replace switch with fallthrough with
26886         initialization before sscanf.
26887         (parse_rule): Likewise.
26888         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
26889         new-style function definition.
26890         * timezone/Makefile (tests): Add tst-tzset.
26891         (tst-tzset.out): Dependencies on time zone files.
26892         (tst-tzset-ENV): Set TZDIR.
26893         (testdata/XT%): Copy crafted time zone files.
26894         * timezone/README: Mention crafted time zone files.
26895         * timezone/testdata/XT1, timezone/testdata/XT2,
26896         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26897         files.
26898         * timezone/tst-tzset.c: New test.
26900 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26902         * Makeconfig (+gccwarn): Remove -Winline.
26904 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26906         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26908 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26910         * NEWS: Mention sysconf() cache information support for s390.
26911         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26913 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
26915         * math/k_casinh.c (__kernel_casinh): Use __copysign.
26916         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26917         (__nearbyint): Likewise.
26918         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26919         (copysignl): Likewise.
26921 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
26923         [BZ #18287]
26924         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26925         based on padding.  (CVE-2015-1781)
26927 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26929         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26930         libc-vdso.h.
26931         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26932         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26933         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26934         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26935         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26936         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26937         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26938         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26939         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26940         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26941         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26942         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26943         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26944         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26945         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26946         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26947         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26948         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26949         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26950         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26951         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26952         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26953         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26955 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
26957         * stdlib/setenv.c (__add_to_environ):
26958         Dump core quickly if setenv (..., NULL, ...) is called.
26959         This time, do it the right way, and pacify GCC with a pragma.
26961 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26963         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26964         IMAP->l_prev cannot be null, and #if out the code for the contrary
26965         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26966         believe that NS (&_dl_ns[NSID]) could point outside the array.
26968         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26969         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26970         before using NSID as an index.
26972 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
26974         [BZ #17825]
26975         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26976         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26977         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26979 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26981         Add preliminary port to Google Native Client on ARM.
26982         * abi-tags (.*-.*-nacl.*): New entry.
26983         * sysdeps/arm/nacl: New directory.
26984         * sysdeps/nacl: New directory.
26986 2015-04-16  David S. Miller  <davem@davemloft.net>
26988         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
26989         lowlevellock-futex.h
26991 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
26993         * sysdeps/tile/configure.ac: New file.
26994         * sysdeps/tile/configure: Regenerated.
26996 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26998         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
26999         conditionals for weak_alias and libc_hidden_weak.
27000         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27001         libc_hidden_weak and weak_alias.
27002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27003         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27004         and weak_alias for static one.
27006 2015-04-15  David S. Miller  <davem@davemloft.net>
27008         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27010 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27012         [BZ #18206]
27013         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27014           Use signed comparision instead of substraction to avoid
27015           overflow bug.
27016         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27017           Take the sign of ret.
27018         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27019           Do not expect precise return values. Only the sign matters.
27020         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27021         * wcsmbs/test-wcsncmp.c: New File.
27022         * string/test-strncmp.c: Add wcsncmp support.
27024 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27026         [BZ #6792]
27027         * math/w_log1p.c: New file.
27028         * math/w_log1pf.c: Likewise.
27029         * math/w_log1pl.c: Likewise.
27030         * math/Makefile (libm-calls): Add w_log1p.
27031         * math/s_log1pl.c (log1pl): Remove weak_alias.
27032         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27033         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27034         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27035         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27036         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27037         [NO_LONG_DOUBLE] (log1pl): Likewise.
27038         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27039         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27040         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27041         (log1p): Remove long_double_symbol.
27042         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27043         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27044         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27045         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27046         remove weak_alias for corresponding log1p function.
27047         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27048         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27049         * sysdeps/ia64/fpu/w_log1p.c: New file.
27050         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27051         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27052         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27054 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27056         [BZ #18247]
27057         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27058         decimal exponent by 1.
27059         * stdlib/tst-strtod-round-data: Add more tests.
27060         * stdlib/tst-strtod-round.c (tests): Regenerated.
27062 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27064         * math/auto-libm-test-in: Add more tests of clog and clog10.
27065         * math/auto-libm-test-out: Regenerated.
27066         * sysdeps/i386/fpu/libm-test-ulps: Update.
27067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27069 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27071         * Makeconfig (module-cppflags): Exclude all .v.i files.
27072         (skip-module-cppflags): Variable removed.
27074         * configure.ac (libc_config_ok): Initialize before reading
27075         preconfigure scripts, not after.
27076         * configure: Regenerated.
27078         * test-skeleton.c (TIMEOUT): Move #define to top level.
27079         (main): Grok environment variable TEST_DIRECT.  If set, print
27080         test expectation details into that file and then behave as if
27081         given --direct.
27083 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27085         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27086         warning on 32-bit.
27088 2015-04-08  David S. Miller  <davem@davemloft.net>
27090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27092 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27094         * math/auto-libm-test-in: Add more tests of atanh.
27095         * math/auto-libm-test-out: Regenerated.
27096         * sysdeps/i386/fpu/libm-test-ulps: Update.
27097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27099         * math/auto-libm-test-in: Add more tests of atan.
27100         * math/auto-libm-test-out: Regenerated.
27101         * sysdeps/i386/fpu/libm-test-ulps: Update.
27102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27104 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27106         * elf/pldd.c (main): Rewrite to use struct
27107         scratch_buffer instead of extend_alloca.
27108         * elf/pldd-xx.c (find_maps): Likewise.
27109         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27110         <alloca.h>.
27111         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27112         scratch_buffer instead of extend_alloca.
27113         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27114         grp/compat-initgroups.c.
27115         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27116         Rewrite to use struct scratch_buffer instead of extend_alloca.
27117         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27118         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27120 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27122         * math/auto-libm-test-in: Add more tests of cbrt.
27123         * math/auto-libm-test-out: Regenerated.
27124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27126         * math/auto-libm-test-in: Add more tests of cabs.
27127         * math/auto-libm-test-out: Regenerated.
27128         * sysdeps/i386/fpu/libm-test-ulps: Update.
27129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27131         [BZ #18210]
27132         [BZ #18211]
27133         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27134         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27135         computations.
27136         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27137         clog10.
27138         * math/auto-libm-test-out: Regenerated.
27139         * sysdeps/i386/fpu/libm-test-ulps: Update.
27140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27142         [BZ #18197]
27143         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27144         (atan): Set FE_TONEAREST mode for internal computations.
27145         * math/auto-libm-test-in: Add more tests of atan.
27146         * math/auto-libm-test-out: Regenerated.
27148 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27150         [BZ #17930]
27151         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27153 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27155         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27157 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27159         * include/scratch_buffer.h: New file.
27160         * malloc/scratch_buffer_grow.c: Likewise.
27161         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27162         * malloc/scratch_buffer_set_array_size.c: Likewise.
27163         * malloc/tst-scratch_buffer.c: Likewise.
27164         * malloc/Makefile (routines): Add scratch_buffer_grow.
27165         (tests): Add test case.
27166         * malloc/Versions (GLIBC_PRIVATE): Export
27167         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27168         __libc_scratch_buffer_set_array_size.
27170 2015-04-06  Richard Henderson  <rth@redhat.com>
27172         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27173         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27175         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27176         unsigned int before printing.
27178 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27180         [BZ #17596]
27181         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27182         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27184 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27186         * include/libc-internal.h (libc_max_align_t): Define.
27188 2015-04-02  Andreas Schwab  <schwab@suse.de>
27190         [BZ #16850]
27191         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27193 2015-04-02  Mel Gorman  <mgorman@suse.de>
27195         [BZ #17195]
27196         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27197         as well as the main arena.
27199 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27201         [BZ #18185]
27202         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27203         sharing L2 cache to 2 for Silvermont/Knights Landing.
27205 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27207         [BZ #17711]
27208         * config.make.in (have-protected-data): New.
27209         * configure.ac: Check linker support for protected data symbol.
27210         * configure: Regenerated.
27211         * elf/Makefile (modules-names): Add tst-protected1moda and
27212         tst-protected1modb if $(have-protected-data) is yes.
27213         (tests): Add tst-protected1a and tst-protected1b if
27214         $(have-protected-data) is yes.
27215         ($(objpfx)tst-protected1a): New.
27216         ($(objpfx)tst-protected1b): Likewise.
27217         (tst-protected1modb.so-no-z-defs): Likewise.
27218         * elf/tst-protected1a.c: New file.
27219         * elf/tst-protected1b.c: Likewise.
27220         * elf/tst-protected1mod.h: Likewise.
27221         * elf/tst-protected1moda.c: Likewise.
27222         * elf/tst-protected1modb.c: Likewise.
27224 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27226         [BZ #17711]
27227         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27228         indicates it is called from do_lookup_x on relocation against
27229         protected data, skip the data definion in the executable from
27230         copy reloc.
27231         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27232         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27233         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27234         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27235         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27236         otherwise to 0.
27237         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27238         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27239         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27240         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27241         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27242         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27244 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
27246         * sysdeps/nptl/pthread.h: Remove duplicate definition of
27247         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27249 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
27251         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27252         THREAD_SETMEM_NC.
27253         * sysdeps/x86_64/nptl/tls.h: Ditto.
27255 2015-03-27  Roland McGrath  <roland@hack.frob.com>
27257         * dlfcn/tststatic.c (main): Converted to ...
27258         (do_test): ... this.
27259         (TEST_FUNCTION): New macro.
27260         Include test-skeleton.c.
27262 2015-03-26  Alan Modra  <amodra@gmail.com>
27264         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27265         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
27266         zero for undefined weak.
27267         (elf_machine_plt_conflict): Similarly.
27269 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27271         * math/auto-libm-test-in: Add more tests of acosh, asinh and
27272         atanh.
27273         * math/auto-libm-test-out: Regenerated.
27274         * sysdeps/i386/fpu/libm-test-ulps: Update.
27275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27277         * math/auto-libm-test-in: Add another test of asin.
27278         * math/auto-libm-test-out: Regenerated.
27279         * sysdeps/i386/fpu/libm-test-ulps: Update.
27280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27282         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27283         Remove macro.
27284         (LLL_EBX_REG): Likewise.
27285         (LLL_ENTER_KERNEL): Likewise.
27287         * math/auto-libm-test-in: Add more tests of asin.
27288         * math/auto-libm-test-out: Regenerated.
27289         * sysdeps/i386/fpu/libm-test-ulps: Update.
27290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27292         [BZ #18138]
27293         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27294         libc_do_syscall_args): New structure.
27295         (INTERNAL_SYSCALL_MAIN_0): New macro.
27296         (INTERNAL_SYSCALL_MAIN_1): Likewise.
27297         (INTERNAL_SYSCALL_MAIN_2): Likewise.
27298         (INTERNAL_SYSCALL_MAIN_3): Likewise.
27299         (INTERNAL_SYSCALL_MAIN_4): Likewise.
27300         (INTERNAL_SYSCALL_MAIN_5): Likewise.
27301         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
27302         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27303         Replace conditional definitions by conditional definitions of ....
27304         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
27305         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27306         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27307         (libpthread-sysdep_routines): Add libc-do-syscall.
27308         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27309         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27310         to __NR_futex not 240.
27312 2015-03-25  Alan Modra  <amodra@gmail.com>
27314         * NEWS: Advertise TLS optimization.
27315         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27316         (DT_PPC_NUM): Increment.
27317         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27318         (CHECK_STATIC_TLS): Use here.
27319         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27320         TLS descriptors.
27321         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27322         * sysdeps/powerpc/dl-tls.c: New file.
27323         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27324         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27325         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27326         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27331 2015-03-25  Alan Modra  <amodra@gmail.com>
27333         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27334         for overlapping .opd entries" to "support...".
27335         * sysdeps/powerpc/powerpc64/configure: Regenerate
27337 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27339         * math/auto-libm-test-in: Add more tests of acos.
27340         * math/auto-libm-test-out: Regenerated.
27341         * sysdeps/i386/fpu/libm-test-ulps: Update.
27342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27344         * math/auto-libm-test-in: Add more tests of expm1.
27345         * math/auto-libm-test-out: Regenerated.
27346         * sysdeps/i386/fpu/libm-test-ulps: Update.
27347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27349 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
27351         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27352         * math/auto-libm-test-out: Regenerated.
27353         * sysdeps/i386/fpu/libm-test-ulps: Update.
27354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27356         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27359         * math/auto-libm-test-in: Add more tests of log2.
27360         * math/auto-libm-test-out: Regenerated.
27361         * sysdeps/i386/fpu/libm-test-ulps: Update.
27362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27364 2015-03-23  Roland McGrath  <roland@hack.frob.com>
27366         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27367         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
27368         _IO_IS_APPENDING bit in READ_WRITE instead.
27370 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27372         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27373         (__determine_cpumask_size): Replace extend_alloca with a
27374         variable-length array.  Do not treat res == 0 as an error.
27376 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27378         [BZ #18100]
27379         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27380         and integer overflow.
27381         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27382         (main): Add integer overflow tests.
27383         * manual/pattern.texi (Calling Wordexp): Document additional use
27384         for WRDE_SYNTAX.
27386 2015-03-23  Alan Modra  <amodra@gmail.com>
27388         * config.h.in: Remove HAVE_ASM_PPC_REL16.
27389         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27390         and false branch of conditional.
27391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27392         Likewise.
27394 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
27396         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27397         libc-modules.h
27398         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27399         unused declaration of _hurd_intr_rpc_msg_in_trap.
27400         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27401         defined instead of whether it is non-zero.
27402         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27403         input constraint instead of both input and output constraint.  Use ecx
27404         clobber instead of %ecx.
27405         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27406         mutex_unlock): Use a statement expression instead of an expression list.
27407         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27408         type to vm_size_t instead of vm_address_t.
27409         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27410         defined instead of whether it is non-zero.
27411         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27412         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27413         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27414         comparisons with mapaddr.
27415         * nscd/nscd-client.h: Include <time.h>.
27416         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27417         9th parameter to __vm_region instead of int.
27418         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27419         * scripts/check-local-headers.sh (exclude): Add device/,
27420         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27421         cthreads.h.
27423 2015-03-19  Roland McGrath  <roland@hack.frob.com>
27425         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27426         to account for alignment padding.
27427         * sysdeps/arm/memmove.S: Likewise.
27429 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
27431         * sysdeps/unix/sysv/linux/generic/README: New file.
27433 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
27435         [BZ #18138]
27436         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27437         (futex_abstimed_wait)
27438         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27439         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27440         of lll_futex_timed_wait.
27442 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
27444         [BZ #17542]
27445         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27447 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
27449         [BZ #17090]
27450         [BZ #17620]
27451         [BZ #17621]
27452         [BZ #17628]
27453         * NEWS: Update.
27454         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27455         entries with Static TLS too.  Skip entries past the end of the
27456         allocated DTV, from Alan Modra.
27457         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
27458         Static TLS DTV entry set up from...
27459         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27460         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27461         * nptl/allocatestack.c (init_one_static_tls): ... and here...
27462         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27463         for Static TLS.
27464         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
27465         that the slot we find is associated with the given map before
27466         using its generation count.
27467         * nptl_db/db_info.c: Include ldsodefs.h.
27468         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27469         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27470         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27471         (link_map::l_tls_offset): New struct field.
27472         (dtv_t::counter): Likewise.
27473         (rtld_global): New struct.
27474         (_rtld_global): New rtld variable.
27475         (dl_tls_dtv_slotinfo_list): New rtld global field.
27476         (dtv_slotinfo_list): New struct.
27477         (dtv_slotinfo): Likewise.
27478         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27479         (td_lookup): Rename to...
27480         (td_mod_lookup): ... this.  Use new mod parameter instead of
27481         LIBPTHREAD_SO.
27482         * nptl_db/td_thr_tlsbase.c: Include link.h.
27483         (dtv_slotinfo_list, dtv_slotinfo): New functions.
27484         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
27485         addresses even if the DTV is out of date or missing them.
27486         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27487         index zero-length arrays.
27488         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27489         (td_lookup): Make it a macro implemented in terms of...
27490         (td_mod_lookup): ... this declaration.
27491         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27492         (DB_MAIN_VARIABLE): Likewise.
27494 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27496         [BZ #18134]
27497         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27499 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
27501         * stdlib/setenv.c (__add_to_environ): Revert previous change.
27503 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
27505         [BZ #18128]
27506         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27507         (atomic_add, atomic_increment_and_test)
27508         (atomic_decrement_and_test): Fix 64-bit arithmetic.
27510 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
27512         * stdlib/setenv.c (__add_to_environ):
27513         Dump core quickly if setenv (..., NULL, ...) is called.
27515 2015-03-13  Roland McGrath  <roland@hack.frob.com>
27517         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27518         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27519         all the necessary asm magic in one place.
27520         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27521         using those.
27523 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
27525         [BZ #14906]
27526         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27527         traced file mtime. Use consistent log message.
27528         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27529         (register_traced_file): Call install_watches. Always set mtime.
27530         (invalidate_cache): Iterate over all trace files. Call install_watches.
27531         (inotify_check_files): Don't inline. Handle watching parent
27532         directories and configuration file movement in and out.
27533         (handle_inotify_events): New function.
27534         (main_loop_poll): Call handle_inotify_events.
27535         (main_loop_epoll): Likewise.
27536         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27537         (struct traced_file): Use array of inotify fds. Add parent directory,
27538         and basename.
27539         (struct database_dyn): Remove unused file_mtime.
27540         (init_traced_file): New inline function.
27541         (define_traced_file): New macro.
27542         * nss/nss_db/db-init.c: Use define_traced_file.
27543         (_nss_db_init): Use init_traced_file.
27544         * nss/nss_files/files-init.c: Use define_traced_file.
27545         (_nss_files_init): Use init_traced_file.
27547 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
27549         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27550         [_LIBC]: Do not include <stdlib.h>.
27551         [!_LIBC] (abort): Remove declaration.
27552         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27553         _FP_STATIC_ASSERT instead of conditionally calling abort.
27554         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27555         (_FP_EXTEND_CNAN): Likewise.
27556         (FP_TRUNC): Likewise.
27557         (__FP_CLZ): Likewise.
27558         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27560 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
27562         * manual/string.texi (XPG basename): Fix prototype.
27564 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27566         [BZ #18080]
27567         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27568         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27569         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27570         (__setcontext): Likewise.
27571         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27572         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27573         Call rt_sigprocmask syscall one time to set new signal mask
27574         and retrieve the current signal mask instead of two calls.
27575         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27576         (__swapcontext): Likewise.
27577         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27578         * stdlib/tst-setcontext2.c: New file.
27580 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27582         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27584 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
27586         [BZ #18093]
27587         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27588         the wrong size.
27590 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27592         [BZ #18043]
27593         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27595 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27597         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27598         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27599         Remove define.
27600         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27601         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27602         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27603         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27604         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27605         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27606         define.
27607         * nptl_db/td_symbol_list.c (td_lookup): Remove
27608         HAVE_ASM_GLOBAL_DOT_NAME code.
27609         * sysdeps/powerpc/powerpc64/configure.ac: Remove
27610         HAVE_ASM_GLOBAL_DOT_NAME check.
27611         * sysdeps/powerpc/powerpc64/configure: Regenerate.
27612         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27613         (DOT_LABEL): Remove define.
27614         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27615         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27616         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27617         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27618         (__TLS_GET_ADDR): Likewise.
27619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27620         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27622 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
27624         [BZ #18111]
27625         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27626         (_FPU_SETCW): Initialize cw from fpsr before storing.
27627         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27628         (fesetexceptflag): Rewrite using fpu_control.h.
27629         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27631 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
27633         [BZ #18110]
27634         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27635         asms.
27636         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27638 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
27640         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27641         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27642         abort.
27643         (_FP_FMA): Likewise.
27644         (_FP_DIV): Likewise.
27646 2015-03-10  Roland McGrath  <roland@hack.frob.com>
27648         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27649         with 0 in that case.
27650         * Makefile (summarize-tests): New canned sequence, factored out of
27651         commands for targets tests and xtests.  Display summary lines that
27652         don't start with PASS: or XFAIL: rather than ones that do start with
27653         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
27654         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27655         do start with ERROR: or FAIL:.
27656         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27657         (except for [$(build-shared) = yes]).
27658         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27659         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27660         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27661         * nptl/Makefile: Revert 2015-03-04 changes.
27662         [$(CXX) empty] (tests-unsupported): New variable.
27663         * debug/Makefile: Likewise.
27665         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27666         gnulib file.  Replace __attribute with __attribute__ throughout.
27668 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
27670         * sysdeps/hppa/fpu/libm-test-ulps: Update.
27672 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27674         [BZ #18104]
27675         * math/auto-libm-test-in: Add another test of pow.
27676         * math/auto-libm-test-out: Regenerated.
27678 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27680         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27681         $(config-cflags-nofma).
27683 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27685         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27686         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27687         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27688         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27689         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27690         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27691         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27692         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27693         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27694         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27695         Add comment on closing #endif.
27697 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27699         * posix/wordexp.c (CHAR_IN_SET): New macro.
27700         (parse_param): Use it.
27702 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27704         * sysdeps/powerpc/fpu/libm-test-ulps: update.
27706 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27708         [BZ #18043]
27709         * posix/wordexp.c (parse_param): Fix buffer overflow.
27710         * posix/wordexp-test.c (test_case): Add test case.
27712 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27714         [BZ #18042]
27715         * posix/wordexp.c (parse_backtick): Fix off-by-one.
27716         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27718 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27720         [BZ #18043]
27721         * posix/wordexp-test.c (test_case): Add test for BZ #18043
27722         (do_bz18043): Delete.
27723         (at_page_end): New.
27724         (testit): Refactor to have words at the edge of unreadable page.
27726 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27728         [BZ #16734]
27729         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27730         Cleanup read-only streams as well.
27731         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27733 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27735         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27736         <bits/libc-lockP.h>
27738 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
27740         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
27741         on [__KERNEL__].
27742         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27743         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27744         * soft-fp/op-common.h (_FP_DECL): Likewise.
27746 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
27748         * elf/ifuncdep2.c (global): Replace
27749         __attribute__((visibility("protected"))) with
27750         asm (".protected global").
27751         * elf/ifuncmod1.c (global): Likewise.
27752         * elf/ifuncmod5.c (global): Likewise.
27754 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
27756         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27757         <asm/sfp-machine.h> instead of <sfp-machine.h>.
27759 2015-03-06  Roland McGrath  <roland@hack.frob.com>
27761         * manual/install.texi (Configuring and compiling):
27762         Document test-wrapper-env-only.
27763         * INSTALL: Regenerated.
27765 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27767         [BZ #18043]
27768         * posix/wordexp.c (parse_param): Fix buffer overflow.
27769         * posix/wordexp-test.c (do_bz18043): Add test case.
27771 2015-03-06  Vincent Bernat  <vincent@bernat.im>
27773         * time/tst-strptime2.c (do_test): Ensure failing tests are
27774         reported correctly.
27775         * time/tst-strptime3.c (do_test): Likewise.
27777 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
27779         Fix aio_error thread-safety.
27780         * sysdeps/pthread/aio_error.c: New file
27781         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27782         synchronization.
27784 2015-03-06  Florian Weimer  <fweimer@redhat.com>
27786         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27787         (group_number, vfprintf): Use it.
27788         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27789         (JUMP, REF): Use it.
27790         (WORK_BUFFER_SIZE): New enum constant.
27791         (process_arg, vfprintf): Use it.
27793 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
27795         * manual/errno.texi (Error Messages): Complete example function
27796         by adding missing #define.
27797         (program_invocation_name): Add statement indicating GNU
27798         extension and reference which header file declares the variable.
27799         (program_invocation_short_name): Likewise.
27801 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
27803         * manual/errno.texi (Error Messages): Delete strerror ISO C89
27804         compatibility note.
27806 2015-03-05  Roland McGrath  <roland@hack.frob.com>
27808         * Makeconfig (test-wrapper-env-only): New variable.
27809         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27810         then use that with $(test-wrapper-env-only) rather than using
27811         $(test-wrapper-env) $(run-program-env) $($*-ENV).
27813 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27815         [BZ #18082]
27816         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27817         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27818         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27819         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27820         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27821         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27822         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27823         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27824         Likewise.
27825         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27826         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27827         Likewise.
27828         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27829         Likewise.
27830         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27831         Likewise.
27832         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27833         Likewise.
27834         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27835         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27836         Likewise.
27837         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27838         Likewise.
27839         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27840         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27842 2015-03-04  Roland McGrath  <roland@hack.frob.com>
27844         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27845         (ETH_ALEN): New macro.
27846         (struct ether_addr): Use it for length of ether_addr_octet.
27848         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27849         (setdb): Don't call __nss_configure_lookup for "rpc".
27850         (do_test): Don't call test_rpc.
27851         (output_rpcent, test_rpc): Functions moved ...
27852         * sunrpc/test-rpcent.c: ... to this new file.
27853         * sunrpc/Makefile (tests): Add it.
27855         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27856         __xpg_sigpause.
27857         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27858         * nptl/tst-signal6.c: Likewise.
27859         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27860         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27862         * configure.ac (libc_cv_cxx_link_ok): New check.
27863         Reset CXX to empty if it fails to link.
27864         * configure: Regenerated.
27865         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27866         bug-atexit3-lib only if $(CXX) is nonempty.
27867         * nptl/Makefile (tests): Likewise for tst-cancel24.
27868         (tests, tests-static): Likewise for tst-cancel24-static.
27869         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27870         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27871         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27872         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27874 2015-03-04  Andreas Schwab  <schwab@suse.de>
27876         [BZ #17631]
27877         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27878         for non-GCC compilers.
27879         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27880         Likewise.
27882 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27884         [BZ #17776]
27885         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27886         integer before bitwise and assembly operations.
27887         (feclearexcept): Likewise.
27888         * math/test-fenvinline.c: New file.
27889         * math/Makefile: Add test-fenvinline test.
27891 2015-03-03  Alan Modra  <amodra@gmail.com>
27893         [BZ #16512]
27894         * scripts/localplt.awk: Strip off symbol version.
27895         * NEWS: Mention bug fix.
27897 2015-03-02  Roland McGrath  <roland@hack.frob.com>
27899         * sysdeps/pthread/timer_routines.c
27900         (timer_free_list, thread_free_list, thread_active_list): Make static.
27902 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
27904         [BZ #17779]
27905         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27906         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27907         Undefine.
27908         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27909         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27910         Likewise.
27911         * sysdeps/unix/sysv/linux/sh/kernel-features.h
27912         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27913         Likewise.
27915 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27917         [BZ #18036]
27918         * posix/fnmatch_loop.c (END): Detect invalid pattern.
27919         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27921 2015-03-02  Andreas Schwab  <schwab@suse.de>
27923         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27924         variable name.
27926 2015-03-02  Florian Weimer  <fweimer@redhat.com>
27928         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27929         Return error status.
27931 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
27933         [BZ #15969]
27934         * locale/findlocale.c (_nl_find_locale): Introduce const
27935         version of loc_name and drop unsafe type casts.
27937 2015-02-27  Roland McGrath  <roland@hack.frob.com>
27939         * dlfcn/tststatic2.c (main): Converted to ...
27940         (do_test): ... this.
27941         (TEST_FUNCTION): New macro.
27942         Include test-skeleton.c.
27944 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
27946         [BZ #17711]
27947         * elf/Makefile (tests): Add vismain only if PIE is enabled.
27948         (tests-pie): Add vismain.
27949         (CFLAGS-vismain.c): New.
27950         * elf/vismain.c: Add comments for PIE requirement.
27952 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27954         [BZ #18046]
27955         [BZ #18047]
27956         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27957         0x1p-56L as threshold for just returning the argument.
27958         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27959         0x1p-32L as threshold for just returning the argument.
27960         * math/auto-libm-test-in: Add more tests of atanh.
27961         * math/auto-libm-test-out: Regenerated.
27962         * sysdeps/i386/fpu/libm-test-ulps: Update.
27963         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27965 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27967         * string/bcopy.c (bcopy): Call memmove for performance.
27969 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27971         * string/bzero.c (__bzero): Call memset for performance.
27973 2015-02-27  John David Anglin  <dave.anglin@bell.net>
27975         [BZ #18068]
27976         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27977         to 00100000.
27979 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27981         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27983 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27985         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27986         (__kernel_standard): Use CSTR macro when setting exc.name.
27987         * sysdeps/ieee754/Makefile [$(subdir) = math]
27988         (CFLAGS-k_standard.c): Remove variable.
27990         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
27991         setting p and q from "else if" to "else".
27992         (qzero): Likewise.
27993         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
27994         (qone): Likewise.
27995         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27996         (qzerof): Likewise.
27997         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
27998         (qonef): Likewise.
27999         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28000         (qzero): Likewise.
28001         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28002         (qone): Likewise.
28004         [BZ #18038]
28005         [BZ #18039]
28006         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28007         return pi/2 for arguments below 0x1p-113L.
28008         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28009         return pi/2 for arguments below 0x1p-106L.
28010         * math/auto-libm-test-in: Add more tests of acos.
28011         * math/auto-libm-test-out: Regenerated.
28013         [BZ #16351]
28014         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28015         (MO): New macro.
28016         (__ieee754_asin): Force underflow exception for results with small
28017         absolute value.
28018         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28019         (MO): New macro.
28020         (__ieee754_asinf): Force underflow exception for results with
28021         small absolute value.
28022         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28023         (__ieee754_asin): Force underflow exception for results with small
28024         absolute value.
28025         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28026         (__ieee754_asinf): Force underflow exception for results with
28027         small absolute value.
28028         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28029         (__ieee754_asinl): Force underflow exception for results with
28030         small absolute value.
28031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28032         (__ieee754_asinl): Force underflow exception for results with
28033         small absolute value.
28034         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28035         (__ieee754_asinl): Force underflow exception for results with
28036         small absolute value.
28037         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28038         Include <math.h>.
28039         * math/auto-libm-test-in: Do not mark underflow exceptions as
28040         possibly missing for bug 16351.
28041         * math/auto-libm-test-out: Regenerated.
28043         [BZ #18030]
28044         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28045         of power of 2 down when low part has opposite sign.
28046         * math/libm-test.inc (logb_test_data): Add more tests.
28048 2015-02-26  Andreas Schwab  <schwab@suse.de>
28050         [BZ #18032]
28051         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28052         over collating symbol inside a bracket expression.  Minor cleanup.
28053         * posix/tst-fnmatch3.c (do_test): Add test case.
28055 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28057         [BZ #18029]
28058         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28059         Adjust exponent of power of 2 down when low part has opposite
28060         sign.
28061         * math/libm-test.inc (ilogb_test_data): Add more tests.
28063 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28065         [BZ #15969]
28066         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28067         the previous change.
28069         [BZ #15969]
28070         * locale/findlocale.c (_nl_find_locale): Retry archive search
28071         after alias expansion.
28073 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28075         * iconv/tst-iconv3.c (main): Converted to ...
28076         (do_test): ... this.
28077         (TEST_FUNCTION): New macro.
28078         Include test-skeleton.c.
28080         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28081         (convert): Make function static.
28082         (test_unalign): Likewise.  Add const to argument pointee types.
28083         (main): Replace with static function do_test.
28084         Print "Succeeded." only if RET is zero.
28085         (TEST_FUNCTION): New macro.
28086         Include test-skeleton.c.
28088         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28089         returns a null pointer.
28091 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28093         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28094         to __memcpy_ppc only for static builds.
28096 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28098         [BZ #18020]
28099         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28100         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28101         * math/auto-libm-test-in: Add more tests of asinh.
28102         * math/auto-libm-test-out: Regenerated.
28103         * sysdeps/i386/fpu/libm-test-ulps: Update.
28104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28106 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28108         [BZ #15850]
28109         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28110         and ip6_mtuinfo definitions here.
28111         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28112         in this define too.  Update comment.
28114 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28116         * elf/sprof.c (load_shobj): Tweak error message to match others.
28118 2015-02-24  Kevin Easton  <kevin@guarana.org>
28120         [BZ #16145] (partial fix)
28121         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28122         to reduce lock contention.
28124 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28126         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28127         (struct timex): Update time comment.
28128         (ADJ_SETOFFSET): Define.
28130 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28132         [BZ #18019]
28133         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28134         2**56 not 2**28 as threshold for log (2x) formula.
28135         * math/auto-libm-test-in: Add more tests of acosh.
28136         * math/auto-libm-test-out: Regenerated.
28137         * sysdeps/i386/fpu/libm-test-ulps: Update.
28138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28140 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28142         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28143         parenthesis around the buf assignment.
28144         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28146 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28148         [BZ #16783]
28149         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28150         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28151         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28152         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28153         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28154         * math/libm-test.inc (scalb_test_data): Add more tests.
28156 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28158         [BZ #17916]
28159         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28160         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28162 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28164         [BZ #17523]
28165         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28166         * io/bits/fcntl2.h (open): Use it.
28167         (openat): Likewise.
28168         * io/open.c (__libc_open): Likewise.
28169         * io/open64.c (__libc_open64): Likewise.
28170         * io/open64_2.c (__open64_2): Likewise.
28171         * io/open_2.c (__open_2): Likewise.
28172         * io/openat.c (__openat): Likewise.
28173         * io/openat64.c (__openat64): Likewise.
28174         * io/openat64_2.c (__openat64_2): Likewise.
28175         * io/openat_2.c (__openat_2): Likewise.
28176         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28177         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28178         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28179         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28180         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28181         (__open_nocancel): Likewise.
28182         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28183         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28184         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28186 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28188         [BZ #14841]
28189         * resolv/gethnamaddr.c (getanswer): Skip logging if
28190         RES_USE_DNSSEC is set.
28191         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28193 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28195         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28197 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
28199         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28200         201304L, for Unicode 7.
28202 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28204         [BZ #17836]
28205         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28206         shared library.  Add gmon-start.os otherwise.
28207         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28208         $(objpfx)gmon-start.os if builing shared library.
28209         ($(objpfx)g$(static-start-installed-name)): Likewise.
28211 2015-02-23  Andreas Schwab  <schwab@suse.de>
28213         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28215 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28217         [BZ #17269]
28218         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28219         (enlarge_userbuf): Likewise.
28221 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
28223         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28224         * math/atest-exp.c (TIMEOUT): Adjust to 200.
28225         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28226         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28228 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
28230         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28231         expression inside statement expression.
28233 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28235         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28236         <sysdeps/nptl/lowlevellock.h> and remove macros and
28237         functions that are now defined there.
28238         (SYS_futex): Remove.
28239         (lll_compare_and_swap): Remove.
28240         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28242 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
28244         [BZ #17999]
28245         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28246         instead of scandirat.
28247         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28248         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28249         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28250         __scandirat.
28251         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28252         (__scandirat): Declare.  Use libc_hidden_proto.
28253         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28254         Remove variable.
28255         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28257 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28259         [BZ #15319]
28260         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28261         (MO): New macro.
28262         (__ieee754_atan2): For results with small absolute value, force
28263         underflow exception and remove excess range and precision from
28264         return value.
28265         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28266         (MO): New macro.
28267         (__ieee754_atan2f): For results with small absolute value, force
28268         underflow exception and remove excess range and precision from
28269         return value.
28270         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28271         (MO): New macro.
28272         (__atan): For results with small absolute value, force underflow
28273         exception and remove excess range and precision from return value.
28274         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28275         (MO): New macro.
28276         (__atanf): For results with small absolute value, force underflow
28277         exception and remove excess range and precision from return value.
28278         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28279         <math.h>.
28280         (__ieee754_atan2): Force underflow exception for results with
28281         small absolute value.
28282         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28283         <math_private.h>.
28284         (atan): Force underflow exception for results with small absolute
28285         value.
28286         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28287         (__atanf): Force underflow exception for results with small
28288         absolute value.
28289         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28290         <math.h>.
28291         (__atanl): Force underflow exception for results with small
28292         absolute value.
28293         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28294         (__atanl): Force underflow exception for results with small
28295         absolute value.
28296         * sysdeps/x86/fpu/bits/mathinline.h
28297         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28298         (__ieee754_atan2): Only define inline for long double.
28299         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28300         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28301         * math/auto-libm-test-in: Do not mark underflow exceptions as
28302         possibly missing for bug 15319.  Add more tests of atan2.
28303         * math/auto-libm-test-out: Regenerated.
28304         * math/libm-test.inc (casin_test_data): Do not mark underflow
28305         exceptions as possibly missing for bug 15319.
28306         (casinh_test_data): Likewise.
28307         * sysdeps/i386/fpu/libm-test-ulps: Update.
28309 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
28311         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28312         * sysdeps/mips/bits/endian.h: Fix comments.
28314 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28316         [BZ #17996]
28317         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28318         (hdestroy_r): Likewise.
28319         (hsearch_r): Likewise.
28320         (__hcreate_r): Declare and use libc_hidden_proto.
28321         (__hdestroy_r): Likewise.
28322         (__hsearch_r): Likewise.
28323         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28324         (hcreate): Call __hcreate_r instead of hcreate_r.
28325         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28326         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28327         as weak alias of __hcreate_r.
28328         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28329         __hdestroy_r.
28330         (hsearch_r): Rename to __hsearch_r and define as weak alias of
28331         __hsearch_r.
28332         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28333         Remove variable.
28334         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28335         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28336         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28337         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28339 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28341         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28342         arena_lock into a single arena_get.
28344 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
28346         * dl-reloc.c: Inlucde libc-internal.h.
28347         (_dl_try_allocate_static_tls): Call ALIGN_UP.
28348         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28349         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28350         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28351         (grow_heap): Likewise.
28352         * malloc/malloc.c: Include libc-internal.h.
28353         (do_check_malloc): Call powerof2.
28354         (sysmalloc): Use pagesize. Call ALIGN_UP.
28355         (systrim): Use pagesize.
28356         (mremap_chunk): Use pagesize. Call ALIGN_UP.
28357         (__libc_valloc): Use pagesize.
28358         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28360 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28362         [BZ #17991]
28363         * include/sys/resource.h (__getrlimit64): Declare.  Use
28364         libc_hidden_proto.
28365         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28366         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
28367         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28368         getrlimit64.
28369         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28370         __getrlimit64.
28371         [!getrlimit64] (getrlimit64): Define as weak alias of
28372         __getrlimit64.  Use libc_hidden_weak.
28373         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28374         using __getrlimit64 not __new_getrlimit64.
28375         (__GI_getrlimit64): Likewise.
28376         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28377         Likewise.
28378         (__GI_getrlimit64): Likewise.
28379         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28381         (getrlimit): Add __getrlimit64 alias.
28382         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28383         Likewise.
28384         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28385         Remove variable.
28386         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28387         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28389 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
28391         * libio/fileops.c: Add missing sys/mman.h
28392         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28394 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28396         * manual/math.texi (Errors in Math Functions): Clarify goals
28397         regarding inexact and underflow exceptions.
28399 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28401         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28402         * sysdeps/mips/memset.S: Ditto.
28404 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28406         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28408 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28410         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28411         (__v1longjmp): Remove versioned symbol.
28412         (__v1siglongjmp): Remove alias and versioned symbol.
28413         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28414         (__v2siglongjmp): Likewise.
28416 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28418         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28420 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
28422         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28424 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28426         [BZ #17987]
28427         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28428         zero result does not depend on the sign resulting from
28429         subtraction.
28430         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28431         Likewise.
28432         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28433         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28434         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28435         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28436         * math/libm-test.inc (remquo_test_data): Add more tests.
28438 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
28440         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28441         Problem reported by J William Piggott.
28443 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28445         [BZ #17978]
28446         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28447         products 4 * y and 2 * y where those would overflow.
28448         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28449         Likewise.
28450         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28451         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28452         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28453         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28454         * math/libm-test.inc (remquo_test_data): Add more tests.
28456         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28458         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28459         [defined _COMPILING_NEWLIB].
28460         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28461         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28463         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28464         [!defined __mips_isa_rev || __mips_isa_rev < 6].
28466 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28468         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28469         acquired.
28471 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
28473         [BZ #17792]
28474         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28475         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28476         HOST_STACK_END_ADDR): Likewise.
28478 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
28480         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28481         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28482         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28484 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28486         * sysdeps/generic/c++-types.data: New file.
28487         * sysdeps/generic/ld.abilist: New file.
28488         * sysdeps/generic/libBrokenLocale.abilist: New file.
28489         * sysdeps/generic/libanl.abilist: New file.
28490         * sysdeps/generic/libc.abilist: New file.
28491         * sysdeps/generic/libcrypt.abilist: New file.
28492         * sysdeps/generic/libdl.abilist: New file.
28493         * sysdeps/generic/libm.abilist: New file.
28494         * sysdeps/generic/libpthread.abilist: New file.
28495         * sysdeps/generic/libresolv.abilist: New file.
28496         * sysdeps/generic/librt.abilist: New file.
28498 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28500         [BZ #17569]
28501         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28502         Compute absolute value of x as modified by fmod, not original
28503         value of x.
28504         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28505         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
28506         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
28507         RUN_TEST_ffI_f1_mod8.
28508         (remquo_test_data): Add more tests.
28510 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28512         * sysdeps/init_array/pt-crti.S: New file.
28514 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28516         [BZ #17967]
28517         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28518         __builtin_fmaf instead of relying on contraction of a * b + c.
28520 2015-02-12  J William Piggott  <elseifthen@gmx.com>
28522         [BZ #17969]
28523         * manual/time.texi: correct the zoneinfo path in the TZ Variable
28524         node.
28526 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28528         [BZ #17964]
28529         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28530         __builtin_fma instead of relying on contraction of a * b + c.
28532 2015-02-12  Roland McGrath  <roland@hack.frob.com>
28534         * Makeconfig (ASFLAGS): Add -Werror=undef.
28535         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28536         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28537         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28539         * Makeconfig (after-link): New variable.
28540         (+link-pie, +link-pie-tests): Use it.
28541         (+link-static, +link-static-tests): Likewise.
28542         (+link, +link-tests): Likewise.
28543         * Makerules (build-module, build-module-asneeded): Likewise.
28544         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28545         Likewise.
28546         * elf/Makefile ($(objpfx)ld.so): Likewise.
28548 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
28550         [BZ #17965]
28551         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28552         both struct timeval and struct timespec.
28554 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28556         [BZ #16560]
28557         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28558         and redefine.
28559         (__ieee754_exp2l): Do not multiply small fractional parts by
28560         M_LN2l.
28561         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28562         small argument.
28563         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28564         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28565         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28566         * math/auto-libm-test-in: Add more tests of exp2.
28567         * math/auto-libm-test-out: Regenerated.
28569 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28571         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28572         unaligned path.
28574 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28576         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28577         little endian.
28579 2015-02-12  Andreas Schwab  <schwab@suse.de>
28581         [BZ #15790]
28582         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28583         Filter out elision flags from value returned in kind.
28584         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28585         * nptl/tst-pthread-mutexattr.c: New file.
28587 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28589         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28590         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28591         into gnu-gnu, and update comment to refer to abi-tags.
28593 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
28595         [BZ #15467]
28596         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28597         (__sincos): Set errno to EDOM for infinite argument.
28598         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28599         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28600         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28601         (__sincosl): Set errno to EDOM for infinite argument.
28602         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28603         (__sincosl): Set errno to EDOM for infinite argument.
28604         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28605         (__sincosl): Set errno to EDOM for infinite argument.
28606         * math/libm-test.inc (sincos_test_data): Test errno setting.
28608 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
28610         * string/strxfrm_l.c: Remove #define STRCMP.
28611         * string/strcoll_l.c: Remove #define STRLEN.
28612         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28613         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28615 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
28617         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28618         * sysdeps/mips/mips32/sfp-machine.h: ... here.
28619         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28620         * sysdeps/mips/mips64/Makefile: ... here.
28621         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28622         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28623         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28624         * sysdeps/mips/mips64/sfp-machine.h: ... here.
28625         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28626         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28627         * sysdeps/mips/mips64/n64/Implies: Likewise.
28629 2015-02-10  Roland McGrath  <roland@hack.frob.com>
28631         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28632         <sys/time.h>, <string.h>, and <errno.h>.
28633         (dest_offset, dest_address, value, zero): Remove unused variables.
28634         (ldouble): Remove typedef.
28635         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28636         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
28637         1).  Fix code style.
28638         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28639         (check): Function removed.
28640         (CHECK): New macro.
28641         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
28642         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28643         Don't call set_sigaction_FP and remove_sigaction_FP here.
28644         (ldouble_test): Just use 'long double' as macro argument, no need for
28645         the 'ldouble' typedef.
28646         (do_test): Set up SIGFPE handler at start, using plain signal rather
28647         than sigaction.  Fix code style.
28649 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
28651         [BZ #17949]
28652         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28653         jump label.
28655 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28657         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28658         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28660         * sysdeps/powerpc/configure.ac: Remove file.
28661         * sysdeps/powerpc/configure: Likewise.
28663         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28664         [sysdep_routines]: Remove wordcopy-power6 object.
28665         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28666         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28667         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28668         (__memmove_ppc32): Likewise.
28669         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28670         file.
28671         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28672         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28673         Remove preprocessor.
28675         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28676         [sysdep_routines]: Remove wide chars objects.
28677         [wcsmbs]: New rule for wide char objects.
28679         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28680         Remove wordcopy-power6 obejct.
28681         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28682         Use local call for wordcopy and memcpy symbols.
28683         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28684         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28685         implementation for loader.
28686         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28689         Remove wordcopy-power7 object.
28690         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28691         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28692         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28693         (_wordcopy_fwd_dest_aligned): Likewise.
28694         (_wordcopy_bwd_aligned): Likewise.
28695         (_wordcopy_bwd_dest_aligned): Likewise.
28697         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28698         Rewrite to call __memmove_ppc instead of include default
28699         implementation.
28701         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28702         Remove wide chars objects.
28703         [wcsmbs]: New rule for wide char objects.
28705 2015-02-09  Andreas Schwab  <schwab@suse.de>
28707         [BZ #17912]
28708         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28709         in terms of __O_DIRECTORY.
28711 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28713         * time/getdate.c: Include <stdbool.h>.
28714         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28715         call PTR_MANGLE.
28716         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28717         PTR_DEMANGLE.
28719 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
28721         Add ersatz _Static_assert on older C hosts
28722         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28723         pre-C11 C platform that is not known to support _Static_assert.
28725 2015-02-07  Richard Braun  <rbraun@sceen.net>
28727         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28728         sigstate.
28729         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28731 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28733         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28734         priority against unexistent AIO_PRIO_DELTA_MAX.
28735         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28736         instead of int.
28737         * misc/fchflags.c (fchflags): Likewise.
28738         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28739         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28740         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28741         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28742         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28743         Declare macros.
28744         [__USE_MISC] (chflags, fchflags): Declare functions.
28745         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28746         EINVAL when nfds is greater than FD_SETSIZE.
28747         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28748         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28749         45.
28750         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28751         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28752         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28753         MACH_RCV_TIMED_OUT.
28754         * hurd/hurd/signal.h (_hurd_self_sigstate,
28755         _hurd_critical_section_lock, _hurd_critical_section_unlock):
28756         Explicit casts from void *.
28757         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28758         * abi-tags: Rename gnu-gnu os into gnu.
28760         [BZ #4719]
28761         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28762         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28763         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28764         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28765         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28766         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28768         [BZ #17944]
28769         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28770         duplicates ADDR->sun_path with sockaddr LEN limitation.
28771         * sysdeps/mach/hurd/connect.c: Include <string.h>
28772         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28773         * sysdeps/mach/hurd/sendmsg.c: Likewise.
28774         * sysdeps/mach/hurd/sendto.c: Likewise.
28775         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28776         implementing it by hand.
28778 2015-02-06  Roland McGrath  <roland@hack.frob.com>
28780         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28781         Use sfi_breg on ldr.
28782         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28783         Likewise.
28785         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28786         it's defined.
28787         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28788         Test SIGSETXID only if it's defined.
28790         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28792         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28793         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
28795         * nptl/tst-align2.c: Moved ...
28796         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28797         * nptl/Makefile (tests): Remove tst-align2.
28798         * sysdeps/unix/sysv/linux/Makefile
28799         [$(subdir) = nptl] (tests): Add tst-align-clone.
28800         * nptl/tst-getpid1.c: Moved ...
28801         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28802         * nptl/tst-getpid2.c: Moved ...
28803         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28804         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28805         * sysdeps/unix/sysv/linux/Makefile
28806         [$(subdir) = nptl] (tests): ... here.
28807         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28808         * sysdeps/unix/sysv/linux/Makefile
28809         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28811         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28812         Drop trailing \n from perror argument.  Use return rather than exit.
28814         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28815         on [SA_SIGINFO].
28816         * nptl/tst-cancel21.c (do_test): Likewise.
28817         * debug/tst-backtrace6.c: Include <signal.h> first thing.
28818         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28819         [!SA_SIGINFO]: Make it a stub test.
28821         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28822         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28824         * posix/tst-getlogin.c: Move to ...
28825         * login/tst-getlogin.c: ... here.
28826         * posix/Makefile (tests): Move tst-getlogin to ...
28827         * login/Makefile (tests): ... here.
28829         * libio/tst-atime.c (do_test): Move local variables SV and E
28830         inside [ST_NOATIME] conditional.
28832         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28834         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28836         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28837         (wait_code): New function replaces macro.
28838         Call nanosleep rather than syscall.
28840         * nptl/pt-system.c: Rewritten.  Put everything under
28841         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28842         Use IFUNC to redirect when possible.
28844         * nptl/pt-longjmp.c: Rewritten.  Put everything under
28845         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28846         Use IFUNC to redirect when possible.
28848         * nptl/pt-fork.c: Rewritten.  Put everything under
28849         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28850         Use IFUNC to redirect when possible.
28851         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28853         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28854         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28855         unconditionally nowadays.  This included the only reference to
28856         __vdso_clock_gettime that appears outside libc proper.
28857         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28858         Remove version set (containing only __vdso_clock_gettime).
28859         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28860         Add attribute_hidden.
28861         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28862         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28863         libc_hidden_data_def.
28864         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28865         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28867         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28868         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28869         setrpcent, and getrpcport to ...
28870         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28871         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28872         getrpcbynumber_r, and getrpcent_r to ...
28873         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28874         * inet/getrpcbyname.c: Moved ...
28875         * sunrpc/getrpcbyname.c: ... here.
28876         * inet/getrpcbyname_r.c: Moved ...
28877         * sunrpc/getrpcbyname_r.c: ... here.
28878         * inet/getrpcbynumber.c: Moved ...
28879         * sunrpc/getrpcbynumber.c: ... here.
28880         * inet/getrpcbynumber_r.c: Moved ...
28881         * sunrpc/getrpcbynumber_r.c: ... here.
28882         * inet/getrpcent.c: Moved ...
28883         * sunrpc/getrpcent.c: ... here.
28884         * inet/getrpcent_r.c: Moved ...
28885         * sunrpc/getrpcent_r.c: ... here.
28886         * inet/Makefile (routines): Move those to ...
28887         * sunrpc/Makefile (routines): ... here.
28888         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28889         the $(subdirs) list.
28890         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
28891         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28892         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28893         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28895         * elf/Makefile (routines): Include $(all-dl-routines), not just
28896         $(dl-routines).
28897         (rtld-routines): Likewise.  Use = rather than :=.
28898         * sysdeps/aarch64/Makefile [$(subdir) = elf]
28899         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28900         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28901         * sysdeps/arm/Makefile: Likewise.
28902         * sysdeps/i386/Makefile: Likewise.
28903         * sysdeps/x86_64/Makefile: Likewise.
28904         * sysdeps/hppa/Makefile [$(subdir) = elf]
28905         (sysdep_routines, sysdep-rtld-routines): Don't add
28906         $(sysdep-dl-routines) to these.
28907         * sysdeps/ia64/Makefile: Likewise.
28908         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28909         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28910         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28911         Don't add dl-static to these; sysdep-dl-routines alone is enough.
28912         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28913         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28914         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28915         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28916         * sysdeps/powerpc/Makefile [$(subdir) = elf]
28917         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28918         these; sysdep-dl-routines alone is enough.
28920 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
28922         [BZ #17932]
28923         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28924         where multiplication results in zero and third argument is finite
28925         and nonzero.
28926         * math/auto-libm-test-in: Add more tests of fma.
28927         * math/auto-libm-test-out: Regenerated.
28929         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28930         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28931         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28932         (_FP_CMP_EQ): Likewise.
28933         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28935         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28936         extra argument CHECK_NAN.  Redefine as wrapper around
28937         _FP_EXTEND_CNAN.
28939 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
28941         * version.h (RELEASE): Set to "stable".
28942         (VERSION): Set to "2.21"
28943         * include/features.h (__GLIBC_MINOR__): Set to 21.
28945         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28947 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28948             Paul Eggert  <eggert@cs.ucla.edu>
28950         [BZ #16618]
28951         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28952         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28953         size in bytes. Store needed elements in wpmax. Use needed size
28954         in bytes for extend_alloca.
28956 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
28958         * manual/install.texi: Latest tested versions are GCC 4.9.2,
28959         binutls 2.25, and texinfo 5.2.
28960         * INSTALL: Regenerate.
28961         * sysdeps/nios2/configure: Regenerate.
28962         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28963         * manual/contrib.texi: Update.
28964         * po/be.po: Update.
28965         * po/bg.po: Update.
28966         * po/ca.po: Update.
28967         * po/cs.po: Update.
28968         * po/da.po: Update.
28969         * po/de.po: Update.
28970         * po/el.po: Update.
28971         * po/eo.po: Update.
28972         * po/es.po: Update.
28973         * po/fi.po: Update.
28974         * po/fr.po: Update.
28975         * po/gl.po: Update.
28976         * po/hr.po: Update.
28977         * po/hu.po: Update.
28978         * po/ia.po: Update.
28979         * po/id.po: Update.
28980         * po/it.po: Update.
28981         * po/ja.po: Update.
28982         * po/ko.po: Update.
28983         * po/lt.po: Update.
28984         * po/nb.po: Update.
28985         * po/nl.po: Update.
28986         * po/pl.po: Update.
28987         * po/pt_BR.po: Update.
28988         * po/ru.po: Update.
28989         * po/rw.po: Update.
28990         * po/sk.po: Update.
28991         * po/sl.po: Update.
28992         * po/sv.po: Update.
28993         * po/tr.po: Update.
28994         * po/uk.po: Update.
28995         * po/vi.po: Update.
28996         * po/zh_CN.po: Update.
28997         * po/zh_TW.po: Update.
28999         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29000         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29001         * sysdeps/hppa/dl-irel.h: Remove #warning.
29002         * sysdeps/hppa/entry.h: Provide prototype for
29003         __canonicalize_funcptr_for_compare and cast argument.
29004         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29005         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29006         * sysdeps/hppa/sotruss-lib.c: New file.
29007         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29008         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29009         (atomic_compare_and_exchange_bool_acq): Likewise.
29010         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29011         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29013         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29014         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29015         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29017 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29019         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29020         called function in non-PIC case.
29022 2015-01-31  David S. Miller  <davem@davemloft.net>
29024         * sysdeps/sparc/sparc32/bits/atomic.h
29025         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29026         unlock not after it.
29027         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29028         volatile register usage warnings from the compiler.
29030         * sysdeps/sparc/nptl/sem_init.c: Delete.
29031         * sysdeps/sparc/nptl/sem_post.c: Delete.
29032         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29033         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29034         * sysdeps/sparc/sparc32/sem_init.c: New file.
29035         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29036         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29037         padding explicitly initialized.
29038         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29039         padding for in-semaphore spinlock.
29040         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29041         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29042         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29043         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29044         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29045         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29046         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29047         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29048         version.
29049         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29050         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29052 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29054         [BZ #17801]
29055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29056         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29057         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29058         New.
29059         (index_AVX_Fast_Unaligned_Load): Likewise.
29060         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29061         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29062         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29063         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29064         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29065         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29066         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29067         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29068         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29070 2015-01-29  Andreas Schwab  <schwab@suse.de>
29072         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29074 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29076         [BZ #17892]
29077         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29079 2015-01-28  Martin Sebor  <msebor@redhat.com>
29081         * math/README.libm-test: Clarify. Add "How to read the test output."
29083 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29085         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29086         Define to 0.
29088 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29090         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29091         (__HAVE_64B_ATOMICS): Define to 0.
29093 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29095         [BZ #17885]
29096         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29097         value to set as new flag.
29099         [BZ #16576]
29100         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29101         and use _ARCH_PPCSQ instead.
29102         (__ieee754_sqrt): Likewise.
29103         (__ieee754_sqrtf): Likewise.
29104         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29105         _ARCH_PPCSQ is defined.
29106         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29107         fsqrt instruction.
29108         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29109         _ARCH_PPCSQ is defined.
29110         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29111         fsqrts instruction.
29112         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29114 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29116         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29117         bug (GCC BZ #64739).
29119 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29121         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29122         Mark _retval as used.
29123         (lll_futex_wake_unlock): Likewise.
29124         (lll_futex_timed_wait_requeue_pi): Likewise.
29126         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29127         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29128         register variables.
29130         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29131         libm_hidden_def.
29133         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29134         (__bswap_64): Mark as __always_inline.
29136 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29138         [BZ #15378]
29139         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29140         when none of the search directories exist.
29142 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29144         [BZ #17869]
29145         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29146         power8 in .machine directive.
29148         [BZ #17868]
29149         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29150         set dependency from opd value.
29152 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29154         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29155         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29156         architecture.
29158 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29160         [BZ #17870]
29161         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29162         with uint64_t.
29163         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29164         (uint64_t) 1.
29165         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29166         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29167         Replace 1UL with (uint64_t) 1.
29168         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29169         int with uint64_t.
29171 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29173         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29174         (if_freenameindex): Likewise.
29176         * resource/getrlimit64.c: Add missing libc_hidden_def.
29178 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29180         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29181         __label__.
29182         (_FP_FMA): Likewise.
29183         (_FP_TO_INT_ROUND): Likewise.
29184         (_FP_FROM_INT): Likewise.
29186 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29188         [BZ #16418]
29189         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29190         Make code racy and cancel safe.
29192 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29194         * sysdeps/arm/unwind-resume.h: Fix copyright year.
29195         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29196         attribution.
29198         * pwd/tst-getpw.c: Rewrite.
29200         [BZ #17702]
29201         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29202         (modules-names): Add moddummy1 and moddummy2.
29203         ($(objpfx)tst-rec-dlopen): Define.
29204         * dlfcn/moddummy1.c: New file.
29205         * dlfcn/moddummy2.c: New file.
29206         * dlfcn/tst-rec-dlopen.c: New file.
29207         * elf/dl-cache.c (_dl_load_cache_lookup):
29208         Return char*. Copy result with alloca/strcpy/strdup.
29209         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29210         returns char*. Free cached. If not saving realname
29211         free cached.
29212         * elf/dl-open.c (dl_open_worker): Do not assert that
29213         _r_debug->r_state is RT_CONSISTENT.
29214         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29215         returns char*.
29217 2015-01-21  Torvald Riegel  <triegel@redhat.com>
29218             Carlos O'Donell  <carlos@redhat.com>
29220         [BZ #12674]
29221         * nptl/sem_waitcommon.c: New file.
29222         * nptl/sem_wait.c: Include sem_waitcommon.c.
29223         (__sem_wait_cleanup, do_futex_wait): Remove.
29224         (__new_sem_wait): Adapt.
29225         (__new_sem_trywait): New function.
29226         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29227         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29228         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29229         (sem_timedwait): Adapt.
29230         * nptl/sem_post.c (__new_sem_post): Adapt.
29231         (futex_wake): New function.
29232         (__old_sem_post): Add release MO fence.
29233         * nptl/sem_open.c (sem_open): Adapt.
29234         * nptl/sem_init.c (__new_sem_init): Adapt.
29235         (futex_private_if_supported): New function.
29236         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29237         (__old_sem_getvalue): Add using previous code.
29238         * sysdeps/nptl/internaltypes.h: Adapt.
29239         * nptl/tst-sem13.c (do_test): Adapt.
29240         * nptl/tst-sem11.c (main): Adapt.
29241         * nptl/sem_trywait.c: Remove.
29242         * nptl/DESIGN-sem.txt: Remove.
29243         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29244         (gen-as-const-headers): Remove structsem.sym.
29245         * nptl/structsem.sym: Remove.
29246         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29247         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29248         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29249         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29250         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29251         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29252         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29253         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29254         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29255         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29256         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29257         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29258         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29259         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29260         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29261         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29262         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29263         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29264         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29265         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29266         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29267         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29269 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
29271         * INSTALL: Regenerated.
29273         * po/libc.pot: Regenerated.
29275 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
29276             Sandra Loosemore  <sandra@codesourcery.com>
29277             Andrew Jenner  <andrew@codesourcery.com>
29278             Joseph Myers  <joseph@codesourcery.com>
29279             Nathan Sidwell  <nathan@codesourcery.com>
29281         * NEWS: Mention new Nios II port.
29282         * sysdeps/nios2/Implies: New file.
29283         * sysdeps/nios2/Makefile: New file.
29284         * sysdeps/nios2/Subdirs: New file.
29285         * sysdeps/nios2/Versions: New file.
29286         * sysdeps/nios2/__longjmp.S: New file.
29287         * sysdeps/nios2/abort-instr.h: New file.
29288         * sysdeps/nios2/backtrace.c: New file.
29289         * sysdeps/nios2/bits/endian.h: New file.
29290         * sysdeps/nios2/bits/fenv.h: New file.
29291         * sysdeps/nios2/bits/link.h: New file.
29292         * sysdeps/nios2/bits/setjmp.h: New file.
29293         * sysdeps/nios2/bsd-_setjmp.S: New file.
29294         * sysdeps/nios2/bsd-setjmp.S: New file.
29295         * sysdeps/nios2/configure: New generated file.
29296         * sysdeps/nios2/configure.ac: New file.
29297         * sysdeps/nios2/crti.S: New file.
29298         * sysdeps/nios2/crtn.S: New file.
29299         * sysdeps/nios2/dl-init.c: New file.
29300         * sysdeps/nios2/dl-machine.h: New file.
29301         * sysdeps/nios2/dl-sysdep.h: New file.
29302         * sysdeps/nios2/dl-tls.h: New file.
29303         * sysdeps/nios2/dl-trampoline.S: New file.
29304         * sysdeps/nios2/gccframe.h: New file.
29305         * sysdeps/nios2/gmp-mparam.h: New file.
29306         * sysdeps/nios2/jmpbuf-offsets.h: New file.
29307         * sysdeps/nios2/jmpbuf-unwind.h: New file.
29308         * sysdeps/nios2/ldsodefs.h: New file.
29309         * sysdeps/nios2/libc-tls.c: New file.
29310         * sysdeps/nios2/libm-test-ulps: New file.
29311         * sysdeps/nios2/machine-gmon.h: New file.
29312         * sysdeps/nios2/math-tests.h: New file.
29313         * sysdeps/nios2/math_private.h: New file.
29314         * sysdeps/nios2/memusage.h: New file.
29315         * sysdeps/nios2/nptl/Makefile: New file.
29316         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29317         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29318         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29319         * sysdeps/nios2/nptl/pthreaddef.h: New file.
29320         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29321         * sysdeps/nios2/nptl/tls.h: New file.
29322         * sysdeps/nios2/preconfigure: New file.
29323         * sysdeps/nios2/s_fma.c: New file.
29324         * sysdeps/nios2/s_fmaf.c: New file.
29325         * sysdeps/nios2/setjmp.S: New file.
29326         * sysdeps/nios2/sfp-machine.h: New file.
29327         * sysdeps/nios2/sotruss-lib.c: New file.
29328         * sysdeps/nios2/stackguard-macros.h: New file.
29329         * sysdeps/nios2/stackinfo.h: New file.
29330         * sysdeps/nios2/start.S: New file.
29331         * sysdeps/nios2/sysdep.h: New file.
29332         * sysdeps/nios2/tls-macros.h: New file.
29333         * sysdeps/nios2/tst-audit.h: New file.
29334         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29335         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29336         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29337         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29338         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29339         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29340         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29341         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29342         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29343         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29344         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29345         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29346         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29347         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29348         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29349         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29350         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29351         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29352         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29353         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29354         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29355         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29356         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29357         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29358         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29359         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29360         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29361         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29362         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29363         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29364         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29365         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29366         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29367         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29368         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29369         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29370         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29371         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29372         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29373         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29374         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29375         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29376         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29377         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29379 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29381         [BZ #17844]
29382         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29383         (getutent): Use weak_alias in non SHARED case
29384         and default_symbol_version in SHARED case.
29385         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29386         (getutent_r, pututline): Likewise.
29387         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29388         (getutid): Likewise.
29389         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29390         (getutid_r): Likewise.
29391         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29392         (getutline): Likewise.
29393         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29394         (getutline_r): Likewise.
29395         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29396         (updwtmp): Likewise.
29398 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29400         [BZ #17848]
29401         * sysdeps/s390/s390-32/memcmp.S
29402         (memcmp_g5): Rename to __memcmp_g5.
29403         * sysdeps/s390/s390-32/memcpy.S
29404         (memcpy_g5): Rename to __memcpy_g5.
29405         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29406         (memcpy_mvcle) Rename to __memcpy_mvcle.
29407         * sysdeps/s390/s390-32/memset.S
29408         (memset_g5): Rename to __memset_g5.
29409         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29410         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29411         and use prefixed functions.
29412         * sysdeps/s390/s390-32/multiarch/memcmp.S
29413         (memcmp_z196): Rename to __memcmp_z196.
29414         (memcmp_z10): Rename to __memcmp_z10.
29415         (memcmp): Set alias to __memcmp_g5.
29416         (bcmp): Set alias to __memcmp_g5.
29417         * sysdeps/s390/s390-32/multiarch/memcpy.S
29418         (memcpy_z196): Rename to __memcpy_z196.
29419         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29420         (memcpy_z10): Rename to __memcpy_z10.
29421         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29422         (memcpy): Set alias to __memcpy_g5.
29423         * sysdeps/s390/s390-32/multiarch/memset.S
29424         (memset_z196): Rename to __memset_z196.
29425         Jump to __memset_mvcle instead of memset_mvcle.
29426         (memset_z10): Rename to __memset_z10.
29427         Jump to __memset_mvcle instead of memset_mvcle.
29428         (memset_mvcle) Rename to __memset_mvcle.
29429         (memset): Set alias to __memset_g5.
29430         * sysdeps/s390/s390-64/memcmp.S
29431         (memcmp_z900): Rename to __memcmp_z900.
29432         * sysdeps/s390/s390-64/memcpy.S
29433         (memcpy_z900): Rename to __memcpy_z900.
29434         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29435         (memcpy_mvcle) Rename to __memcpy_mvcle.
29436         * sysdeps/s390/s390-64/memset.S
29437         (memset_z900): Rename to __memset_z900.
29438         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29439         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29440         and use prefixed functions.
29441         * sysdeps/s390/s390-64/multiarch/memcmp.S
29442         (memcmp_z196): Rename to __memcmp_z196.
29443         (memcmp_z10): Rename to __memcmp_z10.
29444         (memcmp): Set alias to __memcmp_z900.
29445         (bcmp): Set alias to __memcmp_z900.
29446         * sysdeps/s390/s390-64/multiarch/memcpy.S
29447         (memcpy_z196): Rename to __memcpy_z196.
29448         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29449         (memcpy_z10): Rename to __memcpy_z10.
29450         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29451         (memcpy): Set alias to __memcpy_z900.
29452         * sysdeps/s390/s390-64/multiarch/memset.S
29453         (memset_z196): Rename to __memset_z196.
29454         Jump to __memset_mvcle instead of memset_mvcle.
29455         (memset_z10): Rename to __memset_z10.
29456         Jump to __memset_mvcle instead of memset_mvcle.
29457         (memset_mvcle) Rename to __memset_mvcle.
29458         (memset): Set alias to __memset_z900.
29460 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
29462         [BZ #17748]
29463         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29464         __fesetenv instead of fesetenv.
29466 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29468         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29469         macro.
29471 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29473         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29474         regression on LE.
29476         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29477         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29479         strncmp-power8 object.
29480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29481         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29482         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29483         * NEWS: Update.
29485 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29486             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29488         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29489         trailing byte check.
29491 2015-01-13  David S. Miller  <davem@davemloft.net>
29493         * include/signal.h (__sigreturn): Guard with __USE_MISC.
29495 2015-01-13  Roland McGrath  <roland@hack.frob.com>
29497         * login/logout.c (logout): Use memset rather than bzero.
29498         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29499         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29500         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29501         (_gethtbyaddr): Likewise.
29502         * locale/programs/simple-hash.c (bcopy): Macro removed.
29504 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29507         Add strcmp-power8 object.
29508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29509         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29510         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29511         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29512         __strcmp_power8 implementation.
29513         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29514         * NEWS: Update.
29516         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29517         Add strncpy-power8 and stpncpy-power8 objects.
29518         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29519         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29520         implementations.
29521         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29522         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29523         __stpncpy_power8 implementation.
29524         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29525         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29526         __strncpy_power8 implementation.
29527         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29528         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29529         * NEWS: Update.
29531         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29532         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29533         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29535         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29536         strncat-power8 object.
29537         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29538         __strcat_power8 implementation.
29539         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29540         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29541         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29542         optimized strcat for power8.
29544         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29545         strcpy-power8 and stpcpy-power8 objects.
29546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29547         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29548         implementations.
29549         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29550         multiarch stpcpy implementation for POWER8.
29551         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29552         multiarch strcpy implementation for POWER8.
29553         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29554         __strcpy_power8 function.
29555         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29556         stpcpy for POWER8.
29557         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29558         strcpy for POWER8.
29559         * NEWS: Update.
29561 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
29563         [BZ #16009]
29564         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29565         weights and rules. Use do_xfrm_cached if data fits in cache,
29566         do_xfrm otherwise.  Moved former main loop to...
29567         * (do_xfrm_cached): New function.
29568         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29569         find_idx, find_position and stack_push.
29570         * (find_idx): New function.
29571         * (find_position): Likewise.
29572         * localedata/sort-test.sh: Added test run for do_xfrm.
29573         * localedata/xfrm-test.c (main): Added command line option
29574         -nocache to run the test with strings that are too large for
29575         the STRXFRM cache.
29577 2015-01-13  Torvald Riegel  <triegel@redhat.com>
29579         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29580         variable to lll_futex_wake call, not the value itself.
29582 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
29584         [BZ #17803]
29585         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29586         twom64.  Adjust value to 0x1p-64L.
29587         (__scalblnl): Only return standard underflowing result for K <=
29588         -64 not K <= -63; adjust exponent for underflowing result by 64
29589         not 63.
29590         * math/libm-test.inc (scalbn_test_data): Add more tests.
29591         (scalbln_test_data): Likewise.
29593         [BZ #17834]
29594         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29595         0x1p63L.
29596         (__scalblnl): Get new exponent of adjusted subnormal value from ES
29597         not HX.
29598         * math/libm-test.inc (scalbn_test_data): Add more tests.
29599         (scalbln_test_data): Likewise.
29601 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29602             Stefani Seibold  <stefani@seibold.net>
29604         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29605         (sysdep_routines): Add dl-vdso here, ...
29606         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29607         (sysdep_routines): ... not here.
29608         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29609         fallback when vDSO is not presented.
29610         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29611         Define with libc_hidden_proto/libc_hidden_data_def definitions.
29612         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29613         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29614         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29615         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29616         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29617         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29618         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29619         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29620         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
29621         fallback configurable symbol when vDSO is not available.
29622         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29623         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
29624         be able to redefine fallback symbol when vDSO is not available.
29625         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29626         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29628 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29630         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29631         (TLS_INIT_TP): Add tm_capable initialization.
29632         (TLS_DEFINE_INIT_TP): Likewise.
29633         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29634         TCB.
29635         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29636         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29637         calculation.
29638         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29639         transactoion is lock elision is built and TCB tm_capable is set.
29640         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29642         (INTERNAL_SYSCALL_NCS): Likewise.
29643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29644         (INTERNAL_SYSCALL_NCS): Likewise.
29645         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29647         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29648         for powerpc.
29649         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29650         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29651         and remove it for 32 bits case.
29652         [pthread_rwlock_t] (__rwelision): New field for lock elision.
29653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29654         initialization.
29655         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29656         Disable lock elision with rdlocks if elision is not available.
29658         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29659         (sysdep_routines): Add lock elision objects.
29660         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29661         [pthread_mutex_t] (__spins): Rework to add lock elision field.
29662         [pthread_mutex_t] (__elision): Add field.
29663         [__PTHREAD_SPINS]: Adjust to init lock elision field.
29664         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29665         elision definitions for powerpc.
29666         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29667         implementation of lock elision for powerpc.
29668         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29669         implementation of timed lock elision for powerpc.
29670         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29671         implementation of trylock with lock elision for powerpc.
29672         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29673         implementaion of unlock for lock elision for powerpc.
29674         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29675         automatic enable lock elision for mutexes.
29676         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29677         transaction execution definitions for powerpc.
29678         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29679         definitions.
29680         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29681         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29682         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29683         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29684         * NEWS: Update.
29686 2015-01-09  Roland McGrath  <roland@hack.frob.com>
29688         * sysdeps/posix/shm-directory.c: Use <> rather than ""
29689         for #include of <shm-directory.h>.
29691 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
29693         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29694         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29696 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
29698         [BZ #17791]
29699         * NEWS: Mention bug fix.
29700         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29701         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29702         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29704 2015-01-09  Torvald Riegel <triegel@redhat.com>
29706         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29708 2015-01-09  Torvald Riegel <triegel@redhat.com>
29710         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29712 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29714         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29715         pointer and cast to uintptr_t.
29717 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29719         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29720         removed.
29721         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29723 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29725         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29726         of 0.
29728 2015-01-08  Roland McGrath  <roland@hack.frob.com>
29730         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29731         <nptl/pthreadP.h> instead.
29732         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29734         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29735         already defined.
29736         [__SIGRTMIN] (init): Function removed.
29737         [__SIGRTMIN] (initialized): Variable removed.
29738         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29739         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29740         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29741         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29742         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29743         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29744         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29745         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29746         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29747         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29748         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29749         * sysdeps/nptl/allocrtsig.c: New file.
29750         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29751         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29752         * sysdeps/generic/testrtsig.h: File removed.
29754         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29755         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29757         * nptl/nptl-init.c (pthread_functions): Conditionalize
29758         .ptr__nptl_setxid initialization on [SIGSETXID].
29760         * sysdeps/nptl/sys/procfs.h: New file.
29761         * nptl_db/Makefile (headers): Add it.
29762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29764         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29765         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29766         * nptl/pthread_attr_setaffinity.c: Include it.
29767         * nptl/pthread_setattr_default_np.c: Likewise.
29768         * nptl/check-cpuset.h: New file.
29770 2015-01-08  Richard Henderson  <rth@redhat.com>
29772         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29773         (CFLAGS-tst-execstack-prog.c): Likewise.
29774         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29776 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
29777             Sandra Loosemore  <sandra@codesourcery.com>
29778             Andrew Jenner  <andrew@codesourcery.com>
29779             Joseph Myers  <joseph@codesourcery.com>
29780             Nathan Sidwell  <nathan@codesourcery.com>
29782         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29783         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29784         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29785         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29786         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29787         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29788         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29789         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29790         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29791         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29792         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29793         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29794         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29795         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29796         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29797         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29798         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29800 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29802         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29803         timespec struct member in syscall macro.
29804         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29805         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29806         first timeval struct member in syscall macro.
29807         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29809 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
29811         [BZ #17748]
29812         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29813         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29814         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29815         __feupdateenv and define as weak alias of __feupdateenv.  Use
29816         libm_hidden_weak.
29817         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29818         libm_hidden_def.
29819         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29820         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
29821         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29822         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29823         libm_hidden_def.
29824         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29825         __feupdateenv and define as weak alias of __feupdateenv.  Use
29826         libm_hidden_weak.
29827         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29828         libm_hidden_def.
29829         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29830         __feupdateenv and define as weak alias of __feupdateenv.  Use
29831         libm_hidden_weak.
29832         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29833         libm_hidden_def.
29834         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29835         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29836         (__feupdateenv): Likewise.
29837         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29838         __feupdateenv and define as weak alias of __feupdateenv.  Use
29839         libm_hidden_weak.
29840         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29841         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29842         libm_hidden_def.
29843         * sysdeps/tile/math_private.h (__feupdateenv): New inline
29844         function.
29845         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29846         libm_hidden_def.
29847         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29848         __feupdateenv instead of feupdateenv.
29849         (default_libc_feupdateenv_test): Likewise.
29850         (libc_feresetround_ctx): Likewise.
29852 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29854         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29855         prototype.
29857 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
29859         * posix/regcomp.c (parse_bracket_exp): Initialize type to
29860         COLL_SYM in a couple of places to avoid uninitialized variable
29861         wanings on tilegx gcc 4.8.2.
29863 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29865         * sysdeps/aarch64/strcpy.S: New file.
29866         * sysdeps/aarch64/stpcpy.S: New file.
29867         * NEWS: Updated.
29869 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29871         * sysdeps/aarch64/strrchr.S: New file.
29872         * NEWS: Updated.
29874 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
29876         [BZ #17658]
29877         * stdlib/setenv.c: Fix memory leak when setting large,
29878         duplicate string.
29880 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
29882         [BZ #17273]
29883         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29884         and tabs from buffer before parsing fstab entry.
29885         * misc/tst-mntent.c (main): Add test for mount entry with
29886         trailing spaces and tabs.
29888 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
29890         [BZ #17748]
29891         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
29892         * math/fesetround.c (fesetround): Rename to __fesetround and
29893         define as weak alias of __fesetround.  Use libm_hidden_weak.
29894         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29895         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29896         * sysdeps/arm/fesetround.c (fesetround): Likewise.
29897         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29898         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29899         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29900         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29901         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29902         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29903         __fesetround_inline.
29904         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29905         __fesetround_inline instead of __fesetround.
29906         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29907         __fesetround and define as weak alias of __fesetround.  Use
29908         libm_hidden_weak.  Call __fesetround_inline instead of
29909         __fesetround.
29910         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29911         __fesetround and define as weak alias of __fesetround.  Use
29912         libm_hidden_weak.
29913         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29914         Likewise.
29915         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29916         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29917         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29918         * sysdeps/tile/math_private.h (__fesetround): New inline function.
29919         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29920         __fesetround and define as weak alias of __fesetround.  Use
29921         libm_hidden_weak.
29922         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29923         __fesetround instead of fesetround.
29924         (default_libc_feholdexcept_setround): Likewise.
29925         (libc_feholdsetround_ctx): Likewise.
29926         (libc_feholdsetround_noex_ctx): Likewise.
29928         [BZ #17748]
29929         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29930         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29931         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29932         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29933         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29934         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29935         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29936         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29937         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29938         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29939         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29940         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29941         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29942         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29943         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29944         libm_hidden_def.
29945         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29946         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29947         Likewise.
29948         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29949         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29950         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29951         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29952         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29953         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29954         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29955         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29956         __fesetenv instead of fesetenv.
29957         (libc_feresetround_noex_ctx): Likewise.
29958         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29959         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29960         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29961         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29962         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29963         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29964         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29965         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29966         (__feupdateenv): Likewise.
29967         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29968         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29969         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29970         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29972 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29974         [BZ #17806]
29975         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29976         addresses have been freed.
29978 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29980         * resolv/res_init.c (__res_vinit): Improve comments about nserv
29981         and nservall.
29983 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
29985         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29986         Clean up check_pf allocation pattern. addresses
29988 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29990         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
29991         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
29992         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
29993         * nptl/pthread_exit.c (__pthread_exit): Likewise.
29994         * nptl/pthread_join.c (pthread_join): Likewise.
29995         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
29996         * sysdeps/posix/waitid.c (__waitid): Likewise.
29997         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29998         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29999         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30000         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30001         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30002         Likewise.
30003         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30004         (__libc_pread64): Likewise.
30005         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30006         (__libc_pwrite): Likewise.
30007         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30008         (__libc_pwrite64): Likewsie.
30009         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30010         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30011         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30012         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30013         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30014         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30015         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30017         Likewise.
30018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30019         (__libc_pread64): Likewise.
30020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30021         Likewise.
30022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30023         (__libc_pwrite64): Likewise.
30024         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30025         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30026         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30027         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30028         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30029         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30030         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30031         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30032         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30033         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30034         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30035         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30036         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30037         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30038         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30039         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30040         Likewise.
30042 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30044         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30045         (CFLAGS-test-double.c): Likewise.
30046         (CFLAGS-test-ldouble.c): Likewise.
30047         (CPPFLAGS-test-ifloat.c): Likewise.
30048         (CPPFLAGS-test-idouble.c): Likewise.
30049         (CPPFLAGS-test-ildoubl.c): Likewise.
30050         (CFLAGS-test-test-fenv.c): Remove variable.
30051         (CFLAGS-test-misc.c): Likewise.
30053 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30055         [BZ #17797]
30056         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30057         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30058         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30059         CLOCKS_PER_SEC == 1000000.
30060         * time/clocktest.c (main): Replace %ld with %jd and cast to
30061         intmax_t.
30063 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30065         * sysdeps/generic/unwind-resume.h: New file.
30066         * sysdeps/gnu/unwind-resume.c: Include it.
30067         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30068         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30069         argument list.
30070         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30071         global rather than static.
30072         (_Unwind_Resume): Update user.
30073         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30074         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30075         rather than static.  Add __attribute__ ((cold)).
30076         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30077         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30078         * sysdeps/arm/arm-unwind-resume.S: New file.
30079         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30080         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30081         * sysdeps/arm/Makefile [$(subdir) = csu]
30082         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30083         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30084         Add rt-arm-unwind-resume.
30085         [$(subdir) = nptl]
30086         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30087         Add pt-arm-unwind-resume.
30088         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30089         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30091 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30093         [BZ #17748]
30094         * include/fenv.h (__feholdexcept): Declare.  Use
30095         libm_hidden_proto.
30096         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30097         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30098         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30099         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30100         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30101         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30102         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30103         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30104         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30105         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30106         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30107         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30108         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30109         (feholdexcept): Likewise.
30110         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30111         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30112         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30113         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30114         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30115         __feholdexcept instead of feholdexcept.
30116         (default_libc_feholdexcept_setround): Likewise.
30118 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30120         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30121         to avoid using stl/str to align destination.
30123 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30125         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30127 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30129         [BZ #17796]
30130         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30131         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30132         Define as weak alias not strong alias.
30134 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30136         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30137         bltzal with addiupc.
30138         (RTLD_START): Ditto.
30140 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30142         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30143         for __vdso_* functions in declarations.
30144         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30145         definitions.
30146         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30147         INTERNAL_VSYSCALL): Use struct return types to check for error.
30149         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30150         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30151         function with cast from llround().
30152         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30153         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30154         Define.
30156 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30158         [BZ #17793]
30159         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30160         Define as weak alias not strong alias.
30162         [BZ #17635]
30163         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30164         ...
30165         * ctype/ctype-extn.c: ... here.
30166         (__isblank_l): Move to ...
30167         * ctype/ctype-c99_l.c: ... here.  New file.
30168         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30169         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30170         Remove variable.
30171         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30172         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30173         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30174         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30175         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30177         [BZ #17777]
30178         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30179         (posix_fadvise64): Define as weak alias not strong alias.
30180         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30181         (posix_fallocate64): Likewise.
30182         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30183         Remove variable.
30184         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30185         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30186         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30187         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30188         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30190 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30192         [BZ #16191]
30193         * NEWS: Mention bug fix.
30194         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30195         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30196         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30197         (HOST_STACK_END_ADDR): Likewise.
30199 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30201         [BZ #17748]
30202         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
30203         * math/fegetround.c (fegetround): Rename to __fegetround and
30204         define as weak alias of __fegetround.  Use libm_hidden_weak.
30205         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30206         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30207         * sysdeps/arm/fegetround.c (fegetround): Likewise.
30208         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30209         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30210         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30211         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30212         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30213         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30214         Undefine after rather than before function definition; use
30215         parentheses around function name in definition.
30216         (__fegetround): Also undefine macro after function definition.
30217         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30218         __fegetround and define as weak alias of __fegetround.  Use
30219         libm_hidden_weak.  Do not undefine as macro.
30220         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30221         Likewise.
30222         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30223         __fegetround and define as weak alias of __fegetround.  Use
30224         libm_hidden_weak.
30225         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30226         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30227         * sysdeps/tile/math_private.h (__fegetround): New inline function.
30228         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30229         __fegetround and define as weak alias of __fegetround.  Use
30230         libm_hidden_weak.
30231         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30232         __fegetround instead of fegetround.
30234         [BZ #17782]
30235         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30236         Condition macro definition on [__USE_MISC].
30238         [BZ #17781]
30239         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30240         (struct sigaction): Change type of sa_flags field to int.
30242         [BZ #17780]
30243         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30244         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30245         __glibc_reserved0.
30247         * nptl/version.c (banner): Use single year in copyright notice.
30249         * NEWS: Update copyright dates.
30250         * catgets/gencat.c (print_version): Likewise.
30251         * csu/version.c (banner): Likewise.
30252         * debug/catchsegv.sh: Likewise.
30253         * debug/pcprofiledump.c (print_version): Likewise.
30254         * debug/xtrace.sh (do_version): Likewise.
30255         * elf/ldconfig.c (print_version): Likewise.
30256         * elf/ldd.bash.in: Likewise.
30257         * elf/pldd.c (print_version): Likewise.
30258         * elf/sotruss.sh: Likewise.
30259         * elf/sprof.c (print_version): Likewise.
30260         * iconv/iconv_prog.c (print_version): Likewise.
30261         * iconv/iconvconfig.c (print_version): Likewise.
30262         * locale/programs/locale.c (print_version): Likewise.
30263         * locale/programs/localedef.c (print_version): Likewise.
30264         * login/programs/pt_chown.c (print_version): Likewise.
30265         * malloc/memusage.sh (do_version): Likewise.
30266         * malloc/memusagestat.c (print_version): Likewise.
30267         * malloc/mtrace.pl: Likewise.
30268         * manual/libc.texinfo: Likewise.
30269         * nptl/version.c (banner): Likewise.
30270         * nscd/nscd.c (print_version): Likewise.
30271         * nss/getent.c (print_version): Likewise.
30272         * nss/makedb.c (print_version): Likewise.
30273         * posix/getconf.c (main): Likewise.
30274         * scripts/test-installation.pl: Likewise.
30275         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30277 2015-01-02  Will Newton  <will.newton@linaro.org>
30279         * sysdeps/arm/armv7/configure: Removed.
30280         * sysdeps/arm/armv7/configure.ac: Likewise.
30282 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30284         * All files with FSF copyright notices: Update copyright dates
30285         using scripts/update-copyrights.
30286         * intl/plural.c: Regenerated.
30287         * locale/programs/charmap-kw.h: Likewise.
30288         * locale/programs/locfile-kw.h: Likewise.
30290 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30292         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30294 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30296         [BZ #17748]
30297         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30298         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30299         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30300         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30301         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30302         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30303         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30304         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30305         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30306         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30307         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30308         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30309         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30310         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30311         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30312         libm_hidden_def.
30313         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30314         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30315         Likewise.
30316         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30317         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30318         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30319         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30320         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30321         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30322         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30323         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30324         __fegetenv instead of fegetenv.
30325         (libc_feholdsetround_noex_ctx): Likewise.
30327 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30329         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30330         (Elf_MIPS_ABIFlags_v0): New structure.
30331         (EF_MIPS_FP64): Define.
30332         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30333         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30334         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30335         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30336         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30337         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30338         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30339         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30340         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30341         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30342         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30343         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30344         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30345         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30346         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30347         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30348         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30349         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30350         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30351         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30352         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30353         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30354         field.
30355         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30356         EF_MIPS_FP64.
30357         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30358         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30359         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30360         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30361         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30362         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30363         * sysdeps/mips/tst-abi-interlink.c: Likewise.
30364         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30365         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30366         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30367         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30368         record the current FP ABI extension.
30369         (mips-mode-switch): Define to show if kernel headers support mode
30370         switching.
30371         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30372         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30373         supported SYSV ABI version to 3.
30374         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30375         feature.
30377 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30378             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30380         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30381         path.
30382         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30384 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30386         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30387         __fegetround and redefine to call __fegetround.  Remove condition
30388         on [!__NO_MATH_INLINES].
30389         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30390         function.
30391         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30392         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30393         Remove macro.
30394         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30395         instead of <fenv_libc.h>.
30396         (__llrintl): Call fegetround instead of __fegetround.
30397         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30398         instead of <fenv_libc.h>.
30399         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30400         (__lrintl): Call fegetround instead of __fegetround.
30401         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30402         instead of <fenv_libc.h>.
30403         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30404         (__rintl): Call fegetround instead of __fegetround.
30406 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30408         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30409         arrays.
30411 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30413         [BZ #17775]
30414         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30415         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30416         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30418 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30420         * sysdeps/i386/tls-macros.h: Include <features.h>.
30421         (TLS_LE): Use non-PIC version for GCC >= 5.0.
30422         (TLS_IE): Likewise.
30423         (TLS_LD): Likewise.
30424         (TLS_GD): Likewise.
30425         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30426         define for GCC >= 5.0.
30428 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
30430         * math/test-fenv.c (test_single_exception, set_single_exc,
30431         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30432         feexcp_mask_test, feenable_test, fe_single_test): Add
30433         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30434         case where they are not used.
30435         * math/libm-test.inc: Likewise.
30436         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30437         unused in the absence of FP rounding/exception support.
30438         * stdio-common/tst-printf-round.c: Likewise.
30439         * stdlib/tst-strtod-round.c: Likewise.
30440         * stdlib/tst-strtod-underflow.c: Likewise.
30442 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
30444         [BZ #17723]
30445         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30446         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30447         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30448         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30449         libm_hidden_weak.
30450         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30451         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30452         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30453         libm_hidden_def.
30454         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30455         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30456         libm_hidden_weak.
30457         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30458         Likewise.
30459         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30460         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30461         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30462         libm_hidden_weak.
30463         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30464         libm_hidden_def.
30465         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30466         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30467         (__feraiseexcept): Likewise.
30468         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30469         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30470         libm_hidden_weak.
30471         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30472         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30473         libm_hidden_def.
30474         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30475         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30476         Use libm_hidden_def.
30477         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30478         libm_hidden_def.
30479         (feraiseexcept): Define as weak not strong alias.  Use
30480         libm_hidden_weak.
30481         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30482         New inline function.  Factored out of ...
30483         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
30484         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30485         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30486         feraiseexcept.
30487         * math/w_acos.c (__acos): Likewise.
30488         * math/w_asin.c (__asin): Likewise.
30489         * math/w_ilogb.c (__ilogb): Likewise.
30490         * math/w_j0.c (y0): Likewise.
30491         * math/w_j1.c (y1): Likewise.
30492         * math/w_jn.c (yn): Likewise.
30493         * math/w_log.c (__log): Likewise.
30494         * math/w_log10.c (__log10): Likewise.
30495         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30496         * sysdeps/aarch64/fpu/math_private.h
30497         (libc_feupdateenv_test_aarch64): Likewise.
30498         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30499         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30500         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30501         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30502         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30503         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30504         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30505         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30506         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30507         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30509 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30511         [BZ #17732]
30512         * io/test-utime.c (main): Replace %ld with %jd and cast to
30513         intmax_t.
30514         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30515         * nptl/tst-mutex5.c: Include <stdint.h>.
30516         (do_test): Replace %ld with %jd and cast to intmax_t.
30517         * posix/tst-regex.c (run_test): Likewise.
30518         (run_test_backwards): Likewise.
30519         * rt/tst-clock.c: Include <stdint.h>.
30520         (clock_test): Replace %ld with %jd and cast to intmax_t.
30521         * rt/tst-cpuclock1.c: Include <stdint.h>.
30522         (do_test): Replace %lu with %ju and cast to uintmax_t.
30523         * rt/tst-cpuclock2.c: Include <stdint.h>.
30524         (do_test): Replace %lu with %ju and cast to uintmax_t.
30525         * rt/tst-mqueue1.c: Include <stdint.h>.
30526         (check_attrs): Replace %ld with %jd and cast to intmax_t.
30527         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30528         intmax_t.
30529         * rt/tst-mqueue4.c (do_test): Likewise.
30530         * rt/tst-timer4.c: Include <stdint.h>.
30531         (check_ts): Replace %ld with %jd and cast to intmax_t.
30532         (do_test): Likewise.
30533         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30534         and cast to intmax_t.
30535         * sysdeps/pthread/tst-timer.c (main): Likewise.
30536         * time/clocktest.c (main): Likewise.
30537         * time/tst-posixtz.c (do_test): Likewise.
30538         * timezone/tst-timezone.c (main): Likewise.
30540 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30541             H.J. Lu  <hongjiu.lu@intel.com>
30543         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30544         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30545         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30546         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30547         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30548         version if bit_Fast_Unaligned_Load is set.
30549         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30550         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30551         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30552         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30553         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30554         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30555         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30556         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30557         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30558         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30559         to 4.
30560         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30561         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30562         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30563         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30565 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
30567         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30568         instead of #if to avoid a Wundef warning.
30569         * stdlib/tst-limits.c (do_test): Likewise.
30571         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30572         parallel other exception macros.
30573         (fegetenv): Convert from macro to extern inline so that it applies
30574         retroactively to inline functions already seen by the compiler.
30575         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30577         * posix/Makefile (before-compile): Use $(objpfx) for
30578         posix-conf-vars-def.h.
30580 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30582         * posix/getconf.c (main): Use size_t for type of I.
30583         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30584         NSPEC.
30586         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30587         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30588         * posix/posix-envs.def: Likewise.
30589         * sysdeps/posix/sysconf.c: Likewise.
30590         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30591         (specs): Remove array.
30592         * scripts/gen-posix-conf-vars.awk: Support generation of specs
30593         array.
30595         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30596         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30597         (__sysconf): Use CONF_IS_* macros.
30599         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30600         ($(objpfx)posix-conf-vars-def.h): New target.
30601         * posix/posix-conf-vars.list: New file.
30602         * posix/posix-conf-vars.h: New file.
30603         * posix/confstr.c: Include posix-conf-vars.h.
30604         (confstr): Use CONF_IS_* macros.
30605         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
30606         CONF_IS_* macros.
30607         * scripts/gen-posix-conf-vars.awk: New file.
30609 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
30611         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30612         fegetround): Add no-op macros to avoid linknamespace issues.
30614         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30615         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30617         * sysdeps/unix/sysv/linux/tile/sysdep.h
30618         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30619         assembly-specific section to avoid a redefinition warning.
30621         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30622         long before casting to pointer to avoid a cast warning.
30624 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
30626         * sysdeps/tile/tilegx/Implies: New file.
30628 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
30630         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30632 2014-12-23  Florian Weimer  <fweimer@redhat.com>
30634         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30636 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30638         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30639         not define.
30640         * sysdeps/unix/sysv/linux/utimes.c: Do not include
30641         <kernel-features.h>.
30642         (__utimes) [__NR_utimes]: Make code unconditional.
30643         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30644         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30645         (__ASSUME_UTIMES): Do not undefine.
30646         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30647         (__ASSUME_UTIMES): Likewise.
30648         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30649         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30650         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30651         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30653 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30655         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30657 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
30659         [BZ #17747]
30660         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30661         alias to weak alias for j0l, y0l.
30662         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30663         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30665         [BZ #17746]
30666         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30667         conversion.
30669 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30671         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30672         to zero if not already defined.
30674 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30676         [BZ #17724]
30677         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30678         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
30679         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
30680         (char *) casts added.
30681         * sysdeps/ieee754/k_standardf.c: New file.
30682         * sysdeps/ieee754/k_standardl.c: Likewise.
30683         * math/Makefile (libm-support): Remove k_standard.
30684         (libm-calls): Add k_standard.
30686 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30688         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30689         Optimize to avoid an unnecessary FPCR read.
30691 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30693         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30694         Optimize to reduce FPCR/FPSR accesses.
30696 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30698         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30699         Call libc_fetestexcept_aarch64.
30701 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30703         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30704         Call libc_fesetround_aarch64.
30706 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30708         [BZ #17733]
30709         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30710         (__bind): Do not define as weak alias.
30711         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30712         define.
30713         (__getsockname): Do not define as weak alias.
30715 2014-12-22  Will Newton  <will.newton@linaro.org>
30717         * manual/install.texi: Document that we require bison 2.7
30718         or above.
30719         * INSTALL: Regenerate.
30720         * configure.ac: Use AC_CHECK_PROG_VER instead of
30721         AC_PATH_PROG when checking for bison and check for
30722         version 2.7 or above.
30723         * configure: Regenerate.
30725 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
30727         [BZ #17745]
30728         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30729         * sysdeps/tile/ffsll.c (ffsll): To here.
30731         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30733 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30735         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30736         if not defined.
30737         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30738         definition.
30739         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30740         hidden ___tls_get_addr.
30741         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30742         hidden __tls_get_addr.
30743         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30744         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30745         Likewise.
30747 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30749         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30750         _dl_init call.
30752 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30754         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30755         from "call _dl_init@PLT".
30756         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30758 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
30760         * manual/search.texi: (Array Sort Function): Clarify stable sorting
30761         guarantees.
30763 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
30765         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30767 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30769         [BZ #17744]
30770         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30771         strnlen.
30773 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30775         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30776         of multu on MIPSr6.
30777         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30778         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30779         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30780         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30781         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30783 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30785         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30786         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30787         (PTR_SUBU): Use subu for mips32r6/mips64r6.
30788         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30789         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30790         mips32r6/mips64r6.
30791         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30793 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
30795         * string/strncat.c (STRNCAT): Simplify implementation.
30797 2014-12-19  David S. Miller  <davem@davemloft.net>
30799         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30800         access the quad as both a long double and as a series of 4 words.
30802         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30803         link_map->l_info array access.
30805 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30807         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30809         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30810         * math/atest-exp2.c (TIMEOUT): Likewise.
30811         * math/atest-sincos.c (TIMEOUT): Likewise.
30813 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30815         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30816         -Wno-error with -fno-builtin-lround.
30818 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30820         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30821         Contains futex constants and functions moved over from ...
30822         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
30823         <lowlevellock-futex.h>.
30824         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30825         (lll_timedwait_tid): Add comments and parentheses around macro
30826         arguments.
30828 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30830         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30831         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
30832         (__lll_private_flag): Remove.
30833         (lll_futex_wait): Likewise.
30834         (lll_futex_timed_wait): Likewise.
30835         (lll_futex_wake): Likewise.
30836         (lll_futex_requeue): Likewise.
30837         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30838         (__lll_timedwait_tid): Spell out argument names.
30839         (lll_timedwait_tid): Add comments and parentheses around macro
30840         arguments.
30841         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30842         LLL_SHARED and LLL_PRIVATE usable from assembly code.
30844 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30846         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30847         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30848         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30849         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30850         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30851         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30852         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30853         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30854         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30855         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30856         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30857         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30858         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30859         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30860         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30861         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30862         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30863         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30864         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30866 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30868         * sysdeps/x86_64/x32/Makefile: New file.
30870 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30872         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30873         1L with (mp_limb_t) 1.
30875 2014-12-17  Roland McGrath  <roland@hack.frob.com>
30877         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30878         * nptl/libc_pthread_init.c: ... here.
30879         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30880         * nptl/register-atfork.c: ... here.
30882         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30883         Use pthread_sigmask rather than INTERNAL_SYSCALL.
30884         Use assert_perror to check its return value.
30885         (__gai_create_helper_thread): Likewise.
30887         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30889         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30891 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
30893         [BZ #17725]
30894         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30895         __profil_counter.
30896         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30897         Likewise.
30898         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30899         Likewise.
30900         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30901         Likewise.
30902         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30903         (profil_counter): Likewise.
30904         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30905         (profil_counter): Likewise.
30906         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30907         Likewise.
30908         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30909         Likewise.
30910         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30911         (profil_counter): Likewise.
30912         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30913         Likewise.
30914         [!__profil_counter] (profil_counter): Define as weak alias of
30915         __profil_counter.
30916         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30917         (profil_counter): Rename to __profil_counter.
30918         [!__profil_counter] (profil_counter): Define as weak alias of
30919         __profil_counter.
30920         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30921         (profil_counter): Rename to __profil_counter.
30922         [!__profil_counter] (profil_counter): Define as weak alias of
30923         __profil_counter.
30924         * sysdeps/posix/profil.c: Update comment referring to
30925         profil_counter.
30926         (__profil): Use __profil_counter instead of profil_counter.
30927         * sysdeps/posix/sprofil.c (profil_counter): Rename to
30928         __profil_counter.  Use __profil_counter_ushort and
30929         __profil_counter_uint in definitions.
30930         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30931         instead of profil_counter_uint and profil_counter_ushort.
30933         [BZ #17722]
30934         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30935         define as weak alias of __inet_makeaddr.
30936         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30937         as weak alias of __inet_addr.
30938         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30939         as weak alias of __inet_pton.  Use libc_hidden_weak.
30940         * include/arpa/inet.h (__inet_pton): Declare.  Use
30941         libc_hidden_proto.
30942         (inet_makeaddr): Don't use libc_hidden_proto.
30943         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
30944         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30945         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
30946         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30947         Remove variable.
30948         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30949         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30951 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
30953         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30955 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30957         * stdio-common/bug-vfprintf-nargs.c (do_test):
30958         Cast value to intptr_t to avoid format warning
30959         for usage with PRIdPTR printing macro.
30961 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30963         * libio/tst-widetext.c (do_test):
30964         Use format type %td instead of %Zd for ptrdiff_t
30965         in order to avoid format warning.
30967 2014-12-17  Andreas Schwab  <schwab@suse.de>
30969         * nscd/mem.c (gc): Add size_t cast to match printf format.
30971 2014-12-16  Roland McGrath  <roland@hack.frob.com>
30973         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30974         (init): Apply PTR_MANGLE to pointers before storing them.
30975         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30976         before using them.
30978 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
30980         [BZ #17719]
30981         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30982         define as weak alias of __memrchr.
30983         (__memrchr): Do not define as strong alias of memrchr.
30984         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30985         Remove variable.
30986         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30987         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30988         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30990         [BZ #17717]
30991         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
30992         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
30993         (if_indextoname): Rename to __if_indextoname and define as weak
30994         alias of __if_indextoname.  Use libc_hidden_weak.
30995         (if_freenameindex): Rename to __if_freenameindex and define as
30996         weak alias of __if_freenameindex.
30997         (if_nameindex): Rename to __if_nameindex and define as weak alias
30998         of __if_nameindex.
30999         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31000         __if_nametoindex and define as weak alias of __if_nametoindex.
31001         Use libc_hidden_weak.
31002         (if_freenameindex): Rename to __if_freenameindex and define as
31003         weak alias of __if_freenameindex.
31004         (if_nameindex): Rename to __if_nameindex and define as weak alias
31005         of __if_nameindex.
31006         (if_indextoname): Rename to __if_indextoname and define as weak
31007         alias of __if_indextoname.  Use libc_hidden_weak.
31008         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31009         __if_nametoindex and define as weak alias of __if_nametoindex.
31010         Use libc_hidden_weak.
31011         (if_freenameindex): Rename to __if_freenameindex and define as
31012         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31013         (if_nameindex_netlink): Use __if_freenameindex instead of
31014         if_freenameindex.
31015         (if_nameindex): Rename to __if_nameindex and define as weak alias
31016         of __if_nameindex.  Use libc_hidden_weak.
31017         (if_indextoname): Rename to __if_indextoname and define as weak
31018         alias of __if_indextoname.  Use libc_hidden_weak.
31019         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31020         libc_hidden_proto.
31021         [!_ISOMAC] (__if_freenameindex): Likewise.
31022         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31023         if_nametoindex.
31024         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31025         variable.
31026         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31027         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31028         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31029         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31030         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31031         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31032         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31034         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31035         Remove variable.
31036         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31037         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31039 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31041         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31042         subscript above bounds'
31044         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31045         bounds.
31047 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31049         * libio/tst-fopenloc.c: Use test-skeleton.c.
31051         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31052         (entry): Rename to ITEM.
31053         (do_test, comp): Adjust.
31055         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31057 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31059         * string/tester.c: Include <libc-internal.h>.
31060         (test_memset): Ignore -Wmemset-transposed-args.
31062 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31064         * misc/tst-mntent2.c (do_test): Fix warning.
31066 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31068         * elf/tst-unique4lib.cc(a): Mark as used.
31070 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31072         [BZ #17630]
31073         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31074         names.
31076 2014-12-16  Allan McRae  <allan@archlinux.org>
31078         * stdio-common/Makefile (tests): Re-add bug26.
31080 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31082         [BZ #17657]
31083         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31084         static array.
31086 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31088         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31089         (__lll_lock_wait): Likewise.
31090         (__lll_timedlock_wait): Likewise.
31091         (__lll_timedwait_tid): Likewise.
31092         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31093         (__lll_robust_timedlock_wait): Likewise.
31094         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31095         (lll_cond_trylock): Likewise.
31096         (__lll_lock): Likewise.
31097         (__lll_robust_lock): Likewise.
31098         (__lll_cond_lock): Likewise.
31099         (lll_robust_cond_lock): Likewise.
31100         (__lll_timedlock): Likewise.
31101         (__lll_robust_timedlock): Likewise.
31102         (__lll_unlock): Likewise.
31103         (__lll_robust_unlock): Likewise.
31104         (lll_wait_tid): Likewise.
31105         (lll_timedwait_tid): Likewise.
31107 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31109         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31111 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31113         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31115 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31117         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31118         * stdio-common/tst-sprintf.c: Likewise.
31120 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31122         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31124 2014-12-15  Jeff Law  <law@redhat.com>
31126         [BZ #16617]
31127         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31128         on the heap.  (CVE-2012-3406)
31129         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31130         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31131         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31133 2014-12-15  Will Newton  <will.newton@linaro.org>
31135         * manual/install.texi: Bump required version of texinfo
31136         to 4.7 from 4.5.
31137         * INSTALL: Regenerated.
31138         * configure.ac: Check for makeinfo version 4.7 and above.
31139         * configure: Regenerated.
31141 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31143         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31144         PREFIX, string constant to insert between directory and name.
31145         * sysdeps/posix/shm_open.c: Update caller.
31146         * sysdeps/posix/shm_unlink.c: Likewise.
31147         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31148         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31149         (SEM_SHM_PREFIX): New macro.
31150         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31151         [$(have-thread-library) = no].
31152         * nptl/Makefile (libpthread-routines): Add shm-directory.
31153         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31154         * sysdeps/nptl/shm-directory.h: New file.
31155         * sysdeps/posix/shm-directory.c
31156         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31157         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31158         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31159         INTERNAL_SYSCALL.
31160         (__where_is_shmfs): Function removed.
31161         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31162         Variables removed.
31163         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31164         Use SHM_GET_NAME.
31165         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31167         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31168         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31169         unconditional for use inside libpthread.
31170         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31172 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31174         * nptl/pthread_getaffinity.c: New file.
31175         * nptl/pthread_setaffinity.c: New file.
31176         * nptl/pthread_getname.c: New file.
31177         * nptl/pthread_setname.c: New file.
31179         * nptl/pthread_create.c (START_THREAD_DEFN)
31180         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31182 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31183             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31185         * resolv/res_send.c (send_vc): Disable warning resplen may
31186         be used uninitialized.
31188 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31190         * nptl/tst-mutex6.c
31191         (ATTR_NULL): New define checks ATTR against NULL.
31192         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31193         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31195 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
31197         [BZ #17581]
31198         * malloc/hooks.c
31199         (mem2mem_check): Revert my previous change.
31200         (malloc_check_get_size): Revert my previous change.
31201         (mem2chunk_check): Revert my previous change.
31203 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31205         * sysdeps/posix/shm-directory.c: New file.
31206         * sysdeps/posix/shm-directory.h: New file.
31207         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31208         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31209         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
31210         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31211         Transmute EPERM to EACCES.
31212         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31213         from ...
31214         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
31215         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31217 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31219         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31220         pointer and cast to uintptr_t.
31221         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31222         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31223         Add cast to avoid warning.
31224         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31226 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31228         * nptl/semaphore.h: Move to ...
31229         * sysdeps/pthread/semaphore.h: ... here.
31230         * Makefile (installed-headers): Change nptl/semaphore.h to
31231         sysdeps/pthread/semaphore.h.
31233 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31235         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31236         generated error format strings.
31238         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31239         -Wformat-extra-args warnings for scanf formats.
31240         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31241         test of zero-length format (duh).
31242         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31243         corner-case scanf format test.
31244         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31245         generated fprintf format string.
31246         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31247         corner-case sprintf format tests.
31248         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31249         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31250         -Wformat-extra-args warnings throughout.
31251         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31252         (CFLAGS-scanf4.c): Likewise.
31253         (CFLAGS-scanf7.c): Likewise.
31254         (CFLAGS-tst-sprintf.c): Likewise.
31255         (CFLAGS-tst-printf.c): Likewise.
31256         (CFLAGS-tst-printfsz.c): Likewise.
31258 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31260         * include/cpio.h: New file.
31261         * include/fmtmsg.h: Likewise.
31263         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
31264         corresponding format argument to size_t.
31265         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
31266         arguments.
31267         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
31268         corresponding format argument to size_t.
31269         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
31270         arguments.
31271         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
31272         corresponding format argument to size_t.
31273         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31274         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31275         (CFLAGS-tst-mbswcs2.c): Likewise.
31276         (CFLAGS-tst-mbswcs3.c): Likewise.
31277         (CFLAGS-tst-mbswcs4.c): Likewise.
31278         (CFLAGS-tst-mbswcs5.c): Likewise.
31279         (CFLAGS-tst-trans.c): Likewise.
31281 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31283         * posix/regexbug1.c (main): Use "%s" format with regerror results,
31284         rather than assuming they won't contain any '%'s.
31286 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
31288         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31289         inhibit_loop_to_libcall to avoid recursive calls.
31290         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31291         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31293 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31295         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31296         prototype.
31298 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31300         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31301         integer value instead of boolean.
31303 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31305         * malloc/malloc.c: Fix powerof2 check.
31307 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31309         * locale/programs/locfile.h (maybe_swap_uint32):
31310         Remove inline and add unused attribute.
31312 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31314         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31315         Truncating assembler expression to a .long expression.
31317 2014-12-11  Andreas Schwab  <schwab@suse.de>
31319         * elf/rtld.c (struct map_args): Constify str member.
31320         (do_preload): Constify fname argument.
31322 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31324         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31325         constants definition.
31327 2014-12-11  Andreas Schwab  <schwab@suse.de>
31329         [BZ #16657]
31330         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31331         FORCE_ELISION instead of DO_ELISION.
31332         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31333         Remove.
31334         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31335         Likewise.
31337         * iconvdata/gconv-modules: Remove duplicate entry.
31339 2014-12-11  Will Newton  <will.newton@linaro.org>
31341         Merge gettext 0.19.3 into intl/.
31343         This involves a number of cosmetic changes to comments
31344         and ANSI function definitions and prototypes throughout
31345         all the files. The gettext copyright header is used but
31346         with the date ranges taken from the glibc copy.
31348         * NEWS: Add gettext merge to 2.21.
31349         * intl/bindtextdom.c: Switch to gettext copyright.
31350         Use ANSI definitions and prototypes.
31351         Use gl_* locking primitives rather than __libc_* ones.
31352         Use __builtin_expect rather than __glibc_likely/unlikely.
31353         * intl/dcgettext.c: Switch to gettext copyright.
31354         Use ANSI definitions and prototypes.
31355         * intl/dcigettext.c: Switch to gettext copyright.
31356         Use ANSI definitions and prototypes.
31357         (INTDIV0_RAISES_SIGFPE): New define.
31358         Use gl_* locking primitives rather than __libc_* ones.
31359         Include eval-plural.h instead of plural-eval.c.
31360         Use __builtin_expect rather than __glibc_likely/unlikely.
31361         * intl/dcngettext.c: Switch to gettext copyright.
31362         Use ANSI definitions and prototypes.
31363         * intl/dgettext.c: Likewise.
31364         * intl/dngettext.c: Likewise.
31365         * intl/plural-eval.c: Renamed to...
31366         * intl/eval-plural.h: ...this.
31367         * intl/explodename.c: Switch to gettext copyright.
31368         Use ANSI definitions and prototypes.
31369         (_nl_explode_name): Use strchr instead of __rawmemchr.
31370         * intl/finddomain.c: Switch to gettext copyright.
31371         Use ANSI definitions and prototypes.
31372         Use gl_* locking primitives rather than __libc_* ones.
31373         (_nl_find_domain): Use malloc rather than alloca for
31374         allocation of temporary locale name.
31375         * intl/gettext.c: Switch to gettext copyright.
31376         Use ANSI definitions and prototypes.
31377         * intl/gettextP.h: Switch to gettext copyright.
31378         Use ANSI definitions and prototypes.
31379         Use gl_* locking primitives rather than __libc_* ones.
31380         * intl/gmo.h: Switch to gettext copyright.
31381         (struct sysdep_string): Move struct segment_pair outside of
31382         struct definition.
31383         * intl/hash-string.c: Use ANSI definitions and prototypes.
31384         * intl/hash-string.h: Switch to gettext copyright.
31385         Use ANSI definitions and prototypes.
31386         * intl/l10nflist.c: Switch to gettext copyright.
31387         Use ANSI definitions and prototypes.
31388         (_nl_normalize_codeset): Avoid integer overflow.
31389         * intl/loadinfo.h: Switch to gettext copyright.
31390         Use ANSI definitions and prototypes.
31391         (LIBINTL_DLL_EXPORTED): New define.
31392         (PATH_SEPARATOR): New define.
31393         * intl/loadmsgcat.c: Switch to gettext copyright.
31394         * intl/localealias.c: Switch to gettext copyright.
31395         Use ANSI definitions and prototypes.
31396         (_nl_expand_alias): Use PATH_SEPARATOR.
31397         * intl/ngettext.c: Switch to gettext copyright.
31398         Use ANSI definitions and prototypes.
31399         * intl/plural-exp.c: Likewise.
31400         * intl/plural-exp.h: Switch to gettext copyright.
31401         Use ANSI definitions and prototypes.
31402         (struct expression): Move definition of enum operator outside
31403         of struct definition.
31404         * intl/plural.c: Regenerate.
31405         * intl/plural.y: Switch to gettext copyright.
31406         Use ANSI definitions and prototypes.
31407         Port to bison 3.0.
31408         * intl/textdomain.c: Switch to gettext copyright.
31409         Use ANSI definitions and prototypes.
31410         Use gl_* locking primitives rather than __libc_* ones.
31412 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
31414         * debug/warning-nop.c: Add used atrribute.
31416 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31418         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31420         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31421         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31422         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31424 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31425             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31427         [BZ #17634]
31428         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31429         Undefine after defining function.  Define as weak alias of
31430         __wcschr.  Use libc_hidden_weak.
31431         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
31432         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31433         (libc_hidden_def): Also define __GI___wcschr alias.
31434         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31435         __wcschr and define as weak alias of __wcschr.
31436         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31437         __wcschr.
31438         [!WCSCHR] (DEFAULT_WCSCHR): Define.
31439         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31440         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
31441         libc_hidden_weak.  Do not use libc_hidden_def.
31442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31443         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31444         __GI___wcschr alias.
31445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31446         [IS_IN (libc)] (wcschr): Define as macro expanding to
31447         __redirect_wcschr.
31448         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31449         [IS_IN (libc)] (__wcschr_power6): Likewise.
31450         [IS_IN (libc)] (__wcschr_power7): Likewise.
31451         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
31452         instead of wcschr.
31453         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31454         __libc_wcschr.
31455         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31456         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31457         __wcschr and define as weak alias of __wcschr.  Use
31458         libc_hidden_builtin_def.
31459         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31460         as weak alias of __wcschr.  Use libc_hidden_weak.
31461         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31462         wcschr.
31463         * time/era.c (_nl_init_era_entries): Likewise.
31464         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31465         variable.
31466         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31467         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31469 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31471         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31472         format for long int variable.
31474 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
31476         [BZ #10672]
31477         * manual/search.texi: (Array Sort Function): Remove claim how to make
31478         qsort stable.
31480 2014-12-10  Andreas Schwab  <schwab@suse.de>
31482         [BZ #12847]
31483         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31484         user-controlled locks.
31486 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
31488         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31489         register.
31491 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31493         * configure.ac (--disable-werror): New configure option.
31494         (enable_werror): New AC_SUBST.
31495         * configure: Regenerated.
31496         * config.make.in (enable-werror): New variable.
31497         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31498         -Wno-error=undef.
31499         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31500         * manual/install.texi (Configuring and compiling): Document
31501         --disable-werror.
31502         * INSTALL: Regenerated.
31503         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31504         (CFLAGS-tst-chk2.c): Likewise.
31505         (CFLAGS-tst-chk3.c): Likewise.
31506         (CFLAGS-tst-chk4.cc): Likewise.
31507         (CFLAGS-tst-chk5.cc): Likewise.
31508         (CFLAGS-tst-chk6.cc): Likewise.
31509         (CFLAGS-tst-lfschk1.c): Likewise.
31510         (CFLAGS-tst-lfschk2.c): Likewise.
31511         (CFLAGS-tst-lfschk3.c): Likewise.
31512         (CFLAGS-tst-lfschk4.cc): Likewise.
31513         (CFLAGS-tst-lfschk5.cc): Likewise.
31514         (CFLAGS-tst-lfschk6.cc): Likewise.
31516         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31517         (main): Disable -Wdeprecated-declarations around calls to
31518         register_printf_function.
31520         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31521         (do_test): Disable -Wdiv-by-zero around some calls to
31522         fwrite_unlocked and fread_unlocked.
31524         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31525         (DIAG_POP_NEEDS_COMMENT): Likewise.
31526         (_DIAG_STR1): Likewise.
31527         (_DIAG_STR): Likewise.
31528         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31529         * stdio-common/bug21.c: Include <libc-internal.h>.
31530         (do_test): Disable -Wformat around call to sscanf.
31531         * stdio-common/scanf14.c: Include <libc-internal.h>.
31532         (main): Disable -Wformat around some calls to scanf functions.
31534 2014-12-09  Torvald Riegel  <triegel@redhat.com>
31536         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31538 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31540         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31541         stack variable alignment.
31543 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
31545         [BZ #17682]
31546         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31547         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31548         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31549         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31550         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31551         __getrlimit instead of getrlimit.
31552         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31553         __gettimeofday instead of gettimeofday.
31554         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31555         Likewise.
31556         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31557         Likewise.
31558         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31559         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31560         Remove variable.
31561         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31562         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31564 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31566         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31567         for wide-character tests.
31569 2014-12-04  Roland McGrath  <roland@hack.frob.com>
31571         * io/openat64.c: #include <libc-internal.h>
31572         (__openat64): Prototypify.  Use ignore_value on MODE.
31573         * io/openat.c: Likewise.
31574         * misc/reboot.c: #include <libc-internal.h>
31575         (reboot): Prototypify.  Use ignore_value on HOWTO.
31576         * misc/ptrace.c: #include <libc-internal.h>
31577         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
31579 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
31581         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31582         XPG4, UNIX98 and XOPEN2K.
31583         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31584         Remove variable.
31585         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31587 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31589         * libio/fileops.c: Use ISO C style for function definitions.
31590         * libio/iofopen.c: Likewise.
31591         * libio/wfileops.c: Likewise.
31593         [BZ #17653]
31594         * libio/fileops.c (_IO_new_file_underflow): Unset cached
31595         offset on EOF.
31596         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31597         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31598         (fgets_func): Function pointer to fgets and fgetws.
31599         (do_ftell_test): Add test to verify ftell value after read
31600         EOF.
31601         (do_test): Set fgets_func.
31603         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31604         O_TRUNC flag for w and w+ modes.
31605         (do_rewind_test): Likewise.
31606         (do_ftell_test): Likewise.
31607         (do_write_test): Likewise.
31609         [BZ #17647]
31610         * libio/fileops.c (do_ftell): Seek only when there are
31611         unflushed writes.
31612         * libio/wfileops.c (do_ftell_wide): Likewise.
31613         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31614         test case.
31615         (do_one_test): Call it.
31617 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
31619         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31620         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31621         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31622         Remove variable.
31623         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31624         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31625         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31627 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31629         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31630         Remove variable.
31631         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31633         [BZ #17668]
31634         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31635         as weak alias of __getifaddrs.  Use libc_hidden_weak.
31636         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31637         __freeifaddrs.  Use libc_hidden_weak.
31638         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31639         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
31640         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31641         __freeifaddrs.  Use libc_hidden_weak.
31642         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31643         __getifaddrs and define as weak alias of __getifaddrs.  Use
31644         libc_hidden_weak.
31645         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31646         __freeifaddrs.  Use libc_hidden_weak.
31647         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31648         Remove variable.
31649         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31650         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31652 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31654         [BZ #17601]
31655         * sysdeps/mips/start.S (__start): Use indirect jump to call
31656         __libc_start_main.
31658 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31660         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31662         * nptl/tst-mutex1.c: Include <stdbool.h>.
31663         [!ATTR] (ATTR_NULL): New macro.
31664         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31665         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31666         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31668         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31669         to char *.
31671         [BZ #17665]
31672         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31673         Change conditional to [__USE_MISC].
31675         [BZ #17664]
31676         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31677         fgets_unlocked.
31678         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31679         __fgets_unlocked.
31680         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31681         fgets_unlocked.
31682         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31683         Remove variable.
31684         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31685         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31686         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31687         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31688         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31689         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31690         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31691         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31692         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31694         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31696 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31698         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31699         Remove strpbrk objects.
31700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31701         (__libc_ifunc_impl_list): Remove strpbrk implementation.
31702         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31703         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31704         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31705         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31707         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31708         Remove strcspn objects.
31709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31710         (__libc_ifunc_impl_list): Remove strcspn implementation.
31711         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31712         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31713         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31714         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31716         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31717         Remove strspn objetcs.
31718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31719         (__libc_ifunc_impl_list): Remove strspn implementation.
31720         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31721         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31722         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31723         * sysdeps/powerpc/powerpc64/strspn.S: New file.
31725 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
31727         [BZ #17581]
31728         * malloc/hooks.c
31729         (mem2mem_check): Add a terminator to the chain of checking blocks.
31730         (malloc_check_get_size): Use it here.
31731         (mem2chunk_check): Ditto.
31733 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31735         * sysdeps/powerpc/powerpc64/strtok.S: New file.
31736         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31738 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
31740         * bits/ioctl-types.h: Indent preprocessor directives correctly.
31742         * nptl/nptl-init.c: Include libc-internal.h.
31743         (__pthread_initialize_minimal_internal): Use ROUND_UP.
31745         * elf/ldconfig.c (search_dir): Expand comment.
31747 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
31749         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31750         variable.
31751         (linknamespace-symlist-stdlibs-tests): Likewise.
31752         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31753         instead of $(objpfx)symlist-stdlibs.
31754         (linknamespace-libs-isoc): New variable.
31755         (linknamespace-libs): Use $(linknamespace-libs-isoc).
31756         (linknamespace-libs-ISO): New variable.
31757         (linknamespace-libs-ISO99): Likewise.
31758         (linknamespace-libs-ISO11): Likewise.
31759         (linknamespace-libs-XPG3): Likewise.
31760         (linknamespace-libs-XPG4): Likewise.
31761         (linknamespace-libs-POSIX): Likewise.
31762         (linknamespace-libs-UNIX98): Likewise.
31763         (linknamespace-libs-XOPEN2K): Likewise.
31764         (linknamespace-libs-POSIX2008): Likewise.
31765         (linknamespace-libs-XOPEN2K8): Likewise.
31766         ($(objpfx)symlist-stdlibs): Replace by
31767         $(linknamespace-symlist-stdlibs-tests).  Use
31768         $(linknamespace-libs-$*) as set of libraries.
31769         ($(linknamespace-header-tests)): Update dependencies.  Use
31770         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31771         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31772         * conform/linknamespace.pl: Remove comment about considering
31773         definitions of symbols from irrelevant libraries.
31775 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
31777         [BZ #13862]
31778         * elf/dl-tls.c: Include <atomic.h>.
31779         (oom): Remove #ifdef SHARED/#endif.
31780         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31781         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
31782         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31783         big enough.
31784         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31785         * nptl/Makefile (tests): Add tst-stack4.
31786         (modules-names): Add tst-stack4mod.
31787         ($(objpfx)tst-stack4): New.
31788         (tst-stack4mod.sos): Likewise.
31789         ($(objpfx)tst-stack4.out): Likewise.
31790         ($(tst-stack4mod.sos)): Likewise.
31791         (clean): Likewise.
31792         * nptl/tst-stack4.c: New file.
31793         * nptl/tst-stack4mod.c: Likewise.
31795 2014-11-27  J. Brown  <jb999@gmx.de>
31797         * sysdeps/x86/bits/string.h: Add recent CPUs.
31799 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31801         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31802         sigblock.
31804         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31805         feof.
31807         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31808         variable.
31810 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
31812         * nscd/connections.c: Include libc-internal.h because of macro
31813         usage ignore_value.
31815 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31817         * string/bits/string3.h (__warn_memset_zero_len): Don't
31818         declare for gcc newer than 5.0.
31819         (memset): Don't test for zero-length __LEN for gcc newer than
31820         5.0.
31822 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31824         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31825         size_t for %zu format.
31827         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31828         difference, not %ju.
31830 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31832         * include/libc-internal.h (ignore_value): New macro.
31833         * nscd/connections.c (restart): Wrap calls to setuid and setgid
31834         with ignore_value.
31836         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31837         definition.
31839         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31840         pthread_cleanup_push to void *.
31842         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31843         Undefine.
31845         [BZ #16619]
31846         [BZ #16740]
31847         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31848         instead of 1L << 52.
31850         * libio/bug-rewind.c (do_test): Check fwscanf return values.
31851         * libio/bug-rewind2.c (do_test): Likewise.
31853         * debug/test-stpcpy_chk-ifunc.c: Remove file.
31854         * debug/test-strcpy_chk-ifunc.c: Likewise.
31855         * wcsmbs/test-wcschr-ifunc.c: Likewise.
31856         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31857         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31858         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31859         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31860         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31861         * Rules [$(multi-arch) = no] (tests): Do not filter out
31862         $(tests-ifunc).
31863         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31864         * debug/Makefile (tests-ifunc): Remove variable.
31865         (tests): Do not add $(tests-ifunc).
31866         * wcsmbs/Makefile (tests-ifunc): Remove variable.
31867         (tests): Do not add $(tests-ifunc).
31868         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31869         [TEST_IFUNC]: Remove conditionals.
31870         * string/test-string.h (TEST_IFUNC): Remove macro.
31871         [TEST_IFUNC]: Remove conditionals.
31873         * string/test-strchr.c [!WIDE] (L): New macro.
31874         [WIDE] (L): Likewise.
31875         (check1): Use CHAR instead of char.  Use L on string and character
31876         constants.
31878 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
31880         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31881         tests.
31882         * sysdeps/powerpc/bits/atomic.h
31883         (__arch_atomic_exchange_and_add_32_acq): Add definition.
31884         (__arch_atomic_exchange_and_add_32_rel): Likewise.
31885         (atomic_exchange_and_add_acq): Likewise.
31886         (atomic_exchange_and_add_rel): Likewise.
31887         * sysdeps/powerpc/powerpc32/bits/atomic.h
31888         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31889         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31890         * sysdeps/powerpc/powerpc64/bits/atomic.h
31891         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31892         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31894 2014-11-26  Torvald Riegel  <triegel@redhat.com>
31896         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31897         Change synchronization of __sched_fifo_min_prio and
31898         __sched_fifo_max_prio.
31899         * nptl/pthread_mutexattr_getprioceiling.c
31900         (pthread_mutexattr_getprioceiling): Likewise.
31901         * nptl/pthread_mutexattr_setprioceiling.c
31902         (pthread_mutexattr_setprioceiling): Likewise.
31903         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31904         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31905         Likewise.
31907 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31909         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31910         void.
31912 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31914         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31915         third argument const.
31917 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
31919         fnmatch: work around GCC compiler warning bug with uninit var
31920         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31921         This works around a bug with x86-64 GCC 4.9.2 and earlier
31922         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31923         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31924         used uninitialized in this function [-Wmaybe-uninitialized]".
31926 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31928         * posix/bug-regex31.c (main): Return RES not 0.
31930 2014-11-25  Anton Blanchard <anton@samba.org>
31932         * sysdeps/powerpc/bits/atomic.h
31933         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31935 2014-11-24  Sterling Augustine  <saugustine@google.com>
31937         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31939 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
31941         [BZ #17608]
31942         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31944 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
31946         [BZ #17633]
31947         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31948         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31949         variable.
31950         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31951         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31953 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31955         * string/strncpy.c (strncpy): Improve performance by using memset.
31957 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31959         * string/strcpy.c (strcpy):
31960         Improve performance by using strlen and memcpy.
31962 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
31964         * string/strcoll_l.c (get_next_seq): __always_inline.
31965         * string/strcoll_l.c (do_compare): __always_inline.
31967 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31969         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31970         defined.
31971         * include/mqueue.h: Likewise.
31972         * include/stdlib.h: Likewise.
31974         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31975         (get_null_defines): Adjust.
31976         * sunrpc/Makefile: Adjust comment.
31977         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31978         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31979         (CFLAGS-interp.c): Likewise.
31980         (CFLAGS-ldconfig.c): Likewise.
31981         (CPPFLAGS-.os): Likewise.
31982         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31983         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31984         * extra-modules.mk (extra-modules.mk): Likewise.
31985         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31986         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31987         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
31988         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
31989         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
31990         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
31991         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
31992         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
31993         * iconvdata/Makefile (CPPFLAGS): Likewise.
31994         (cpp-srcs-left): Add libof for all iconvdata routines.
31995         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
31996         * include/assert.h: Likewise.
31997         * include/ctype.h: Likewise.
31998         * include/errno.h: Likewise.
31999         * include/libc-symbols.h: Likewise.
32000         * include/math.h: Likewise.
32001         * include/netdb.h: Likewise.
32002         * include/resolv.h: Likewise.
32003         * include/stdio.h: Likewise.
32004         * include/stdlib.h: Likewise.
32005         * include/string.h: Likewise.
32006         * include/sys/stat.h: Likewise.
32007         * include/wctype.h: Likewise.
32008         * intl/l10nflist.c: Likewise.
32009         * libidn/idn-stub.c: Likewise.
32010         * libio/libioP.h: Likewise.
32011         * nptl/libc_multiple_threads.c: Likewise.
32012         * nptl/pthreadP.h: Likewise.
32013         * posix/regex_internal.h: Likewise.
32014         * resolv/res_hconf.c: Likewise.
32015         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32016         * sysdeps/arm/memmove.S: Likewise.
32017         * sysdeps/arm/sysdep.h: Likewise.
32018         * sysdeps/generic/_itoa.h: Likewise.
32019         * sysdeps/generic/symbol-hacks.h: Likewise.
32020         * sysdeps/gnu/errlist.awk: Likewise.
32021         * sysdeps/gnu/errlist.c: Likewise.
32022         * sysdeps/i386/i586/memcpy.S: Likewise.
32023         * sysdeps/i386/i586/memset.S: Likewise.
32024         * sysdeps/i386/i686/memcpy.S: Likewise.
32025         * sysdeps/i386/i686/memmove.S: Likewise.
32026         * sysdeps/i386/i686/mempcpy.S: Likewise.
32027         * sysdeps/i386/i686/memset.S: Likewise.
32028         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32029         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32030         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32031         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32032         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32033         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32034         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32035         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32036         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32037         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32038         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32039         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32040         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32041         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32042         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32043         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32044         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32045         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32046         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32047         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32048         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32049         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32050         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32051         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32052         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32053         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32054         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32055         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32056         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32057         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32058         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32059         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32060         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32061         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32062         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32063         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32064         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32065         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32066         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32067         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32068         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32069         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32070         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32071         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32072         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32073         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32074         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32075         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32076         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32077         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32078         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32079         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32080         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32081         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32082         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32083         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32084         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32085         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32086         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32087         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32088         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32089         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32090         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32091         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32092         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32093         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32094         * sysdeps/posix/closedir.c: Likewise.
32095         * sysdeps/posix/opendir.c: Likewise.
32096         * sysdeps/posix/readdir.c: Likewise.
32097         * sysdeps/posix/rewinddir.c: Likewise.
32098         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32099         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32100         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32101         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32102         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32103         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32104         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32106         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32107         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32108         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32109         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32110         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32111         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32112         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32113         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32114         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32115         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32116         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32117         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32118         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32119         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32120         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32121         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32122         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32124         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32126         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32127         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32128         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32129         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32130         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32131         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32132         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32133         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32134         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32135         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32136         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32137         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32138         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32139         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32140         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32141         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32142         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32143         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32144         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32145         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32146         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32147         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32148         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32149         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32150         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32152         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32153         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32154         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32155         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32156         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32157         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32158         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32159         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32160         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32161         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32162         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32163         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32164         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32165         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32166         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32167         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32168         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32169         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32170         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32171         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32172         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32173         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32174         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32175         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32176         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32177         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32178         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32179         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32180         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32181         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32182         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32183         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32184         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32185         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32186         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32187         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32188         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32189         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32190         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32191         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32192         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32193         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32194         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32195         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32196         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32197         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32198         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32199         * sysdeps/unix/alpha/sysdep.S: Likewise.
32200         * sysdeps/unix/alpha/sysdep.h: Likewise.
32201         * sysdeps/unix/make-syscalls.sh: Likewise.
32202         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32204         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32205         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32206         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32207         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32208         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32209         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32210         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32211         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32212         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32213         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32214         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32215         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32216         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32217         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32218         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32219         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32220         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32221         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32222         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32223         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32224         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32225         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32226         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32227         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32228         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32231         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32232         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32233         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32234         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32235         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32236         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32237         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32238         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32239         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32240         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32241         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32242         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32243         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32244         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32245         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32246         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32247         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32248         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32249         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32250         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32251         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32252         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32253         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32254         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32255         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32256         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32258         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32259         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32260         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32261         * sysdeps/x86_64/memcpy.S: Likewise.
32262         * sysdeps/x86_64/memmove.c: Likewise.
32263         * sysdeps/x86_64/memset.S: Likewise.
32264         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32265         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32266         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32267         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32268         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32269         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32270         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32271         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32272         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32273         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32274         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32275         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32276         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32277         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32278         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32279         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32280         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32281         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32282         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32283         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32284         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32285         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32286         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32287         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32288         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32289         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32290         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32291         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32292         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32293         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32294         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32295         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32296         * sysdeps/x86_64/strcmp.S: Likewise.
32298         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32300         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32301         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32302         * elf/rtld-Rules: Likewise.
32303         * elf/setup-vdso.h: Likewise.
32304         * include/assert.h: Likewise.
32305         * include/bits/stdlib-float.h: Likewise.
32306         * include/errno.h: Likewise.
32307         * include/sys/stat.h: Likewise.
32308         * include/unistd.h: Likewise.
32309         * sysdeps/aarch64/setjmp.S: Likewise.
32310         * sysdeps/alpha/setjmp.S: Likewise.
32311         * sysdeps/arm/__longjmp.S: Likewise.
32312         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32313         * sysdeps/arm/setjmp.S: Likewise.
32314         * sysdeps/arm/sysdep.h: Likewise.
32315         * sysdeps/generic/_itoa.h: Likewise.
32316         * sysdeps/generic/dl-sysdep.h: Likewise.
32317         * sysdeps/generic/ldsodefs.h: Likewise.
32318         * sysdeps/i386/dl-tls.h: Likewise.
32319         * sysdeps/i386/setjmp.S: Likewise.
32320         * sysdeps/m68k/setjmp.c: Likewise.
32321         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32322         * sysdeps/mach/hurd/opendir.c: Likewise.
32323         * sysdeps/posix/getcwd.c: Likewise.
32324         * sysdeps/posix/opendir.c: Likewise.
32325         * sysdeps/posix/profil.c: Likewise.
32326         * sysdeps/powerpc/dl-procinfo.h: Likewise.
32327         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32328         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32329         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32330         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32331         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32332         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32333         * sysdeps/s390/dl-tls.h: Likewise.
32334         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32335         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32336         * sysdeps/sh/sh3/setjmp.S: Likewise.
32337         * sysdeps/sh/sh4/setjmp.S: Likewise.
32338         * sysdeps/unix/alpha/sysdep.h: Likewise.
32339         * sysdeps/unix/arm/sysdep.S: Likewise.
32340         * sysdeps/unix/i386/sysdep.S: Likewise.
32341         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32342         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32343         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32344         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32345         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32346         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32347         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32348         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32349         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32350         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32351         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32352         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32353         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32356         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32357         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32358         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32359         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32360         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32361         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32363         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32364         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32365         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32366         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32368         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32369         * sysdeps/x86_64/setjmp.S: Likewise.
32371         * include/math.h: Use IS_IN instead of IS_IN_libm.
32372         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32373         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32374         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32375         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32376         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32377         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32378         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32379         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32380         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32381         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32382         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32383         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32384         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32385         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32386         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32387         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32388         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32389         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32390         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32391         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32392         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32393         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32394         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32395         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32396         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32397         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32398         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32399         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32400         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32401         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32402         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32403         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32404         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32406         Likewise.
32407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32408         Likewise.
32409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32410         Likewise.
32411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32412         Likewise.
32413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32414         Likewise.
32415         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32416         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32417         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32418         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32419         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32420         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32426         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32427         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32428         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32429         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32430         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32431         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32432         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32433         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32434         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32435         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32436         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32437         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32438         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32439         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32440         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32441         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32443         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32444         * nptl/pthreadP.h: Likewise.
32445         * nptl_db/structs.def: Likewise.
32446         * sysdeps/arm/sysdep.h: Likewise.
32447         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32448         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32449         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32450         * sysdeps/unix/alpha/sysdep.h: Likewise.
32451         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32452         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32453         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32454         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32455         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32456         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32457         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32458         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32459         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32460         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32461         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32462         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32463         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32464         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32467         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32468         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32469         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32470         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32471         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32472         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32473         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32474         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32475         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32476         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32478         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32479         * nptl/pthreadP.h: Likewise.
32480         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32481         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32482         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32483         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32484         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32485         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32486         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32487         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32488         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32489         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32490         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32491         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32493         Likewise.
32494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32495         Likewise.
32496         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32497         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32498         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32499         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32500         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32501         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32502         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32503         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32505         * dlfcn/dladdr.c: Use IS_IN.
32506         * dlfcn/dladdr1.c: Likewise.
32507         * dlfcn/dlclose.c: Likewise.
32508         * dlfcn/dlerror.c: Likewise.
32509         * dlfcn/dlinfo.c: Likewise.
32510         * dlfcn/dlmopen.c: Likewise.
32511         * dlfcn/dlopen.c: Likewise.
32512         * dlfcn/dlsym.c: Likewise.
32513         * dlfcn/dlvsym.c: Likewise.
32515         * include/ifaddrs.h: Use IS_IN.
32516         * inet/check_pf.c: Likewise.
32517         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32518         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32520         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32521         IS_IN_ldconfig.
32522         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32523         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32525         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32526         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32527         IS_IN (libc).
32529         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32531         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32532         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32533         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32534         * include/libc-symbols.h (IS_IN_LIB): New macro.
32535         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32536         * include/netdb.h: Likewise.
32537         * include/stap-probe.h: Remove all uses of IN_LIB.
32539         * Makeconfig (module-cppflags-real): Define MODULE_NAME
32540         instead of IN_MODULE.
32541         * include/libc-symbols.h (IN_MODULE): Define using
32542         MODULE_NAME.
32543         (PASTE_NAME, PASTE_NAME1): New macros.
32544         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32545         of IN_LIB.
32546         (STAP_PROBE_ASM): Likewise.
32548 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32550         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32551         __mach_init in dlopened libc.
32553 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
32555         * sysdeps/arm/preconfigure.ac: Delete EABI check.
32556         * sysdeps/arm/preconfigure: Regenerate.
32558 2014-11-21  Roland McGrath  <roland@hack.frob.com>
32560         * nptl/pthread_create.c (__pthread_create_2_1): Set
32561         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32562         when copying values from IATTR into PD.
32564 2014-11-21  Will Newton  <will.newton@linaro.org>
32565             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
32567         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32568         Refactor inline-asm.  Also add comment.
32570         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32571         ElfW macro instead of hardcoded Elf64 types.
32572         (la_aarch64_gnu_pltenter): Likewise.
32573         * sysdeps/aarch64/dl-machine.h
32574         (elf_machine_runtime_setup): Use ElfW(Addr).
32576         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32577         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32578         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32579         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32580         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32581         (R_AARCH64_TLS_DTPMOD64): Rename to ..
32582         (R_AARCH64_TLS_DTPMOD): This.
32583         (R_AARCH64_TLS_DTPREL64): Rename to ...
32584         (R_AARCH64_TLS_DTPREL): This.
32585         (R_AARCH64_TLS_TPREL64): Rename to ...
32586         (R_AARCH64_TLS_TPREL): This.
32587         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32588         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32589         R_AARCH64_TLS_TPREL64.
32590         (elf_machine_rela): Likewise.
32592 2014-11-21  Torvald Riegel  <triegel@redhat.com>
32594         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32595         by setting it to 0.  64b atomics are not supported currently.
32597 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32599         [BZ #16469]
32600         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32601         search domain names.
32603 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32605         [BZ #16469]
32606         * NEWS: Update.
32607         * resolv/res_query.c (__libc_res_nquerydomain): Retain
32608         trailing dot.
32609         * posix/tst-getaddrinfo5.c: New.
32610         * posix/Makefile (tests): Add it.
32612 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32614         [BZ #14498]
32615         * NEWS: Fixed.
32616         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32617         after parsing line but before break_if_match.
32618         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32619         if there is a protocol mismatch.
32621 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32623         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32624         because the potential race is on the user-supplied stream.
32626 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32628         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32629         string literal if not passed a buffer.
32630         * manual/job.texi (ctermid): Update reasoning, note deviation
32631         from posix, suggest mtasurace when not passed a buffer, for
32632         future non-preliminary safety notes.
32634 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32636         * manual/users.texi (cuserid): Fix MT-Safety note for the case
32637         of not passing it a buffer.
32638         Reported by Peng Haitao.
32640 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32642         * manual/Makefile ($(objpfx)stamp-summary): Require
32643         check-safety.sh to pass.
32644         * manual/check-safety.sh: Wish for verification that every
32645         @deftypefn and @deftypefun is followed by a @safety remark.
32647 2014-11-20  Roland McGrath  <roland@hack.frob.com>
32649         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32651         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32652         PTHREAD_CANCEL_ASYNCHRONOUS.
32653         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32654         send SIGCANCEL.
32656         * nptl/default-sched.h: New file.
32657         * sysdeps/unix/sysv/linux/default-sched.h: New file.
32658         * nptl/pthread_create.c: Include it.
32659         (__pthread_create_2_1): Use collect_default_sched instead of making
32660         Linux syscalls here directly.
32662 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32664         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32665         __pthread_once): Use C11 atomics.
32667 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32669         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32671 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32673         * include/atomic.h (__atomic_link_error, __atomic_check_size,
32674         atomic_thread_fence_acquire, atomic_thread_fence_release,
32675         atomic_thread_fence_seq_cst, atomic_load_relaxed,
32676         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32677         atomic_compare_exchange_weak_relaxed,
32678         atomic_compare_exchange_weak_acquire,
32679         atomic_compare_exchange_weak_release,
32680         atomic_exchange_acquire, atomic_exchange_release,
32681         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32682         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32683         atomic_fetch_and_acquire,
32684         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32686 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32688         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32689         USE_ATOMIC_COMPILER_BUILTINS): Define.
32690         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32692         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32694         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32696         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32698         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32700         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32702         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32704         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32705         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32706         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32708         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32710         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32711         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32712         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32713         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32714         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32715         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32716         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32717         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32718         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32719         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32720         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32721         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32722         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32723         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32724         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32725         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32726         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32727         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32728         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32729         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32731 2014-11-19  Roland McGrath  <roland@hack.frob.com>
32733         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32734         the sched_priority value here.  It was already checked when the user
32735         called pthread_attr_setschedparam.
32737         * nptl/tst-bad-schedattr.c: New file.
32738         * nptl/Makefile (tests): Add it.
32740 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
32741             Florian Weimer  <fweimer@redhat.com>
32742             Joseph Myers  <joseph@codesourcery.com>
32743             Adam Conrad  <adconrad@0c3.net>
32744             Andreas Schwab  <schwab@suse.de>
32745             Brooks  <bmoses@google.com>
32747         [BZ #17625]
32748         * wordexp-test.c (__dso_handle): Add prototype.
32749         (__register_atfork): Likewise.
32750         (__app_register_atfork): New function.
32751         (registered_forks): New global.
32752         (register_fork): New function.
32753         (test_case): Add 3 new tests for WRDE_CMDSUB.
32754         (main): Call __app_register_atfork.
32755         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32756         fork count is non-zero fail the test.
32757         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32758         is set.
32759         (parse_dollars): Remove check for WRDE_NOCMD.
32760         (parse_dquote): Likewise.
32762 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32764         * Makeconfig (built-modules): List non-library modules to be
32765         built.
32766         (module-cppflags): Include libc-modules.h for
32767         everything except shlib-versions.v.i.
32768         (CPPFLAGS): Use it.
32769         (before-compile): Add libc-modules.h.
32770         ($(common-objpfx)libc-modules.h,
32771         $(common-objpfx)libc-modules.stmp): New targets.
32772         (common-generated): Add libc-modules.h and libc-modules.stmp.
32773         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32774         * include/libc-symbols.h: Don't include libc-modules.h.
32775         * include/libc-modules.h: Remove file.
32776         * scripts/gen-libc-modules.awk: New script to generate
32777         libc-modules.h.
32778         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32779         Depend on libc-modules.stmp.
32781         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32783         * Makeconfig (in-module): Get value of libof set for the
32784         translation unit.
32785         (CPPFLAGS): Use $(in-module).
32786         * Makerules: Don't suffix routine names for nonlib.
32787         * include/libc-modules.h: New file.
32788         * include/libc-symbols.h: Include libc-modules.h
32789         (IS_IN): New macro to replace IS_IN_* macros.
32790         * elf/Makefile: Set libof-* for each routine.
32791         * elf/rtld-Rules: Likewise.
32792         * extra-modules.mk: Likewise.
32793         * iconv/Makefile: Likewise.
32794         * iconvdata/Makefile: Likewise.
32795         * locale/Makefile: Likewise.
32796         * malloc/Makefile: Likewise.
32797         * nss/Makefile: Likewise.
32798         * sysdeps/gnu/Makefile: Likewise.
32799         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32800         * sysdeps/unix/sysv/linux/Makefile: Likewise.
32801         * sysdeps/s390/s390-64/Makefile: Likewise.
32802         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
32803         CPPFLAGS for nscd instead of nonlib.
32805 2014-11-18  Roland McGrath  <roland@hack.frob.com>
32807         * nptl/createthread.c: New file.
32809         * nptl/createthread.c: Moved ...
32810         * sysdeps/unix/sysv/linux/createthread.c: ... here.
32812         * nptl/createthread.c: Add proper top-line comment.
32813         (do_clone): Folded into ...
32814         (create_thread): ... here.  Take new arguments STOPPED_START and
32815         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
32816         increment __nptl_threads, do event-reporting logic, do
32817         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32818         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
32819         resource cleanup if sched_setaffinity or sched_setscheduler fails,
32820         just send SIGCANCEL.
32821         * nptl/pthread_create.c: Forward-declare create_thread before
32822         including createthread.c.
32823         (start_thread): Use new macro START_THREAD_DEFN to replace defining
32824         declaration, and new macro START_THREAD_SELF to replace argument.
32825         Remove return statement.
32826         (report_thread_creation): New function.
32827         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
32828         synchronization logic, and __nptl_nthreads increment here, around
32829         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
32830         PD->parent_cancelhandling here, before create_thread.  When
32831         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32832         __deallocate_stack, and ENOMEM translation here.
32834 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
32836         [BZ #17616]
32837         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32838         (mptwo): Rename to __mptwo.
32839         (__inv): Use __mptwo instead of mptwo.
32840         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32841         (mptwo): Rename to __mptwo.
32842         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32843         of mpone and __mptwo instead of mptwo.
32844         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32845         instead of mpone.
32846         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32847         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32848         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32849         of mpone and __mptwo instead of mptwo.
32850         (__mpranred): Use __mpone instead of mpone.
32851         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32852         variable.
32853         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32854         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32855         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32856         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32857         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32858         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32859         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32860         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32861         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32862         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32863         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32864         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32865         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32866         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32867         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32868         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32869         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32870         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32871         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32873 2014-11-18  Tom de Vries  <tom@codesoucery.com>
32875         * manual/signal.texi (Primitives Interrupted by Signals): In section,
32876         replace BSD Handler xref with BSD Signal Handling.
32878 2014-11-17  Richard Henderson  <rth@redhat.com>
32880         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32881         (_FP_PACK_RAW_2): Remove.
32882         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32883         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32884         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32885         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32886         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32887         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32888         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32889         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32890         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32891         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32892         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32893         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32894         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32895         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32896         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32897         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32899 2014-11-14  Roland McGrath  <roland@hack.frob.com>
32901         * signal/signal.h [__USE_MISC]
32902         (struct sigvec): Remove type.
32903         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32904         (sigvec): Remove declaration.
32905         * sysdeps/posix/sigvec.c: Moved ...
32906         * signal/sigvec.c: ... here, replacing old file.
32907         (struct sigvec): New type, copied from old signal.h definition.
32908         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32909         (__sigvec): Convert definition to prototype.
32910         (sigvec): Replace weak_alias with compat_symbol.
32911         * signal/Versions (libc: GLIBC_2.21): New version set.
32912         * include/signal.h: Remove __sigvec declaration.
32913         * sysdeps/unix/bsd/sigvec.c: Remove file.
32914         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32915         * manual/signal.texi (BSD Handler): Remove subsection.
32916         Move siginterrupt up to ...
32917         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
32918         (Blocking in BSD): Fold subsection into its parent.
32919         * NEWS: Mention sigvec removal.
32921 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32923         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32924         (DLA_FMS): Make definition conditional only on [__FMA4__].
32925         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32926         definition.
32928         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32929         Make definition conditional only on [PROF].
32930         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32931         definition.
32932         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32933         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32935         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32936         !__GNUC__].
32937         * include/signal.h (__sigpause): Move declaration above call to
32938         libc_hidden_proto.
32939         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32940         variable.
32941         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32942         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32944 2014-11-14  David S. Miller  <davem@davemloft.net>
32946         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32947         Define before including <string/memcpy.c> and <string/mempcpy.c>.
32949 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32951         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32952         * configure: Regenerated.
32953         * manual/install.texi (Tools for Compilation): Document a
32954         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32955         compiler verified to work.
32956         * INSTALL: Regenerated.
32958         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32959         redeclare with asm name.
32960         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32961         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32962         including <string.h>.
32963         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32964         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32965         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32966         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32967         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32969         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32971 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
32973         * stdlib/strtol.c (__strtol): Use prototype definition.
32975         [BZ #17594]
32976         * stdlib/strtol.c (SYM__): New macro.
32977         (SYM__1): Likewise.
32978         (__strtol): Likewise.
32979         (strtol): Rename to __strtol and define as weak alias of
32980         __strtol.  Use libc_hidden_weak.
32982 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32984         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32985         Use numbered labels in inline assembly.
32987 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32989         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
32990         Add setjmp LIBC_PROBE.
32991         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
32992         Likewise.
32993         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
32994         Add longjmp, longjmp_target LIBC_PROBE.
32995         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
32996         Likewise.
32998 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33000         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33001         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33002         to get rid of unused variable warning.
33004 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33006         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33007         Check for unwind_backtrace ==  NULL only in SHARED case.
33008         (__backchain_backtrace): Compile only in SHARED case.
33009         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33010         Likewise.
33011         (__backchain_backtrace): Declare as static.
33013 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33015         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33016         (__libc_multiple_threads_ptr): Variable moved ...
33017         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33019 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33021         * conform/GlibcConform.pm: New file.
33022         * conform/conformtest.pl: Use GlibcConform module.
33023         * conform/linknamespace.pl: New file.
33024         * conform/list-header-symbols.pl: Likewise.
33025         * conform/Makefile (linknamespace-symlists-base): New variable.
33026         (linknamespace-symlists-tests): Likewise.
33027         (linknamespace-header-base): Likewise.
33028         (linknamespace-header-tests): Likewise.
33029         (tests-special): Add new tests.
33030         ($(linknamespace-symlists-tests)): New rule.
33031         (linknamespace-libs): New variable.
33032         ($(objpfx)symlist-stdlibs): New rule.
33033         ($(linknamespace-header-tests)): Likewise.
33034         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33035         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33036         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33037         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33038         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33039         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33040         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33041         (test-xfail-ISO/math.h/linknamespace): Likewise.
33042         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33043         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33044         (test-xfail-ISO/time.h/linknamespace): Likewise.
33045         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33046         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33047         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33048         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33049         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33050         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33051         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33052         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33053         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33054         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33055         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33056         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33057         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33058         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33059         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33060         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33061         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33062         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33063         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33064         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33065         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33066         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33067         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33068         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33069         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33070         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33071         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33072         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33073         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33074         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33075         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33076         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33077         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33078         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33079         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33080         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33081         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33082         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33083         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33084         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33085         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33086         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33087         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33088         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33089         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33090         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33091         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33092         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33093         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33094         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33095         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33096         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33097         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33098         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33099         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33100         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33101         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33102         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33103         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33104         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33105         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33106         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33107         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33108         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33109         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33110         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33111         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33112         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33113         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33114         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33115         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33116         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33117         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33118         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33119         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33120         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33121         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33122         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33123         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33124         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33125         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33126         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33127         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33128         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33129         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33130         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33131         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33132         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33133         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33134         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33135         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33136         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33137         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33138         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33139         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33140         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33141         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33142         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33143         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33144         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33145         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33146         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33147         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33148         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33149         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33150         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33151         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33152         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33153         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33154         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33155         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33156         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33157         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33158         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33159         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33160         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33161         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33162         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33163         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33164         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33165         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33166         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33167         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33168         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33169         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33170         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33171         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33172         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33173         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33174         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33175         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33176         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33177         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33178         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33179         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33180         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33181         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33182         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33183         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33184         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33185         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33186         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33187         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33188         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33189         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33190         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33191         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33192         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33193         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33194         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33196         [BZ #17589]
33197         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33198         of fgets_unlocked.
33200         [BZ #17585]
33201         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33202         (memmem): Rename to __memmem and define as weak alias of
33203         __memmem.  Use libc_hidden_weak.
33204         (__memmem): Use libc_hidden_def.
33205         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
33206         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33207         memmem.
33209         [BZ #17582]
33210         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33211         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
33212         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33213         and define as weak alias of __fgets_unlocked.  Use
33214         libc_hidden_weak.
33215         (__fgets_unlocked): Use libc_hidden_def.
33216         * include/stdio.h (__fgets_unlocked): Declare.  Use
33217         libc_hidden_proto.
33218         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33219         __fgets_unlocked instead of fgets_unlocked.
33220         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33221         (GET_NPROCS_CONF_PARSER): Likewise.
33222         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33223         (GET_NPROCS_CONF_PARSER): Likewise.
33225         [BZ #17574]
33226         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33227         weak alias of __wmemset.  Use libc_hidden_weak.
33228         (__wmemset): Use libc_hidden_def.
33229         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
33230         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33231         of wmemset.
33233         [BZ #17573]
33234         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33235         with asm name __mempcpy.
33236         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33238         [BZ #17572]
33239         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33240         and define as weak alias of __rawmemchr.
33241         (__rawmemchr): Do not define as strong alias of rawmemchr.
33243         [BZ #17571]
33244         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33245         alias of __qsort_r.
33246         (qsort): Call __qsort_r instead of qsort_r.
33247         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33248         (__qsort_r): Declare.  Call libc_hidden_proto.
33249         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33250         instead of qsort_r.
33251         * nscd/gai.c (__qsort_r): Define to qsort_r.
33252         * posix/tst-rfc3484.c (__qsort_r): Likewise.
33253         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33254         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33256         [BZ #17570]
33257         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33258         define as weak alias of __malloc_info.
33260         [BZ #17584]
33261         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33262         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33263         (__rewinddir): Use libc_hidden_def.
33264         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33265         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33266         (__rewinddir): Use libc_hidden_def.
33267         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33268         weak alias of __rewinddir.  Don't use libc_hidden_def.
33269         (__rewinddir): Use libc_hidden_def.
33270         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33271         (__rewinddir): Use libc_hidden_proto.
33272         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33273         rewinddir.
33274         (__getcwd): Use __rewinddir instead of rewinddir.
33276         [BZ #17583]
33277         * libio/fileno.c (fileno): Rename to __fileno and define as weak
33278         alias of __fileno.  Use libc_hidden_weak.
33279         (__fileno): Use libc_hidden_def.
33280         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33281         * libio/ftello.c (ftello): Rename to __ftello and define as weak
33282         alias of __ftello.
33283         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33284         __ftello.
33285         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33286         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
33287         libc_hidden_def.
33288         (fread_unlocked): Don't use libc_hidden_ver.
33289         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33290         and define as weak alias of __fread_unlocked.  Don't use
33291         libc_hidden_def.
33292         (__fread_unlocked): Use libc_hidden_def.
33293         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
33294         (ftello): Don't use libc_hidden_proto.
33295         (__ftello): Declare.  Use libc_hidden_proto.
33296         (fread_unlocked): Don't use libc_hidden_proto.
33297         (__fread_unlocked): Declare.  Use libc_hidden_proto.
33298         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33299         and __ftello instead of fileno, fread_unlocked and ftello.
33301 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33303         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33304         GOT12.
33305         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33306         Likewise.
33307         (_dl_start_user): Likewise.
33308         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33310 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
33311             Siddhesh Poyarekar  <siddhesh@redhat.com>
33313         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33314         Move argv and envp down instead of moving argc up.
33315         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33317 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
33319         [BZ #17506]
33320         * test-skeleton.c (main): Return successful if one of
33321         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33322         * string/tst-strcoll-overflow.c: Define expected status.
33324 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
33326         [BZ #17475]
33327         * locale/iso-639.def: Define Bhili and Tulu language codes.
33329 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
33331         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33333 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
33335         [BZ #17555]
33336         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33338 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33340         * configure.ac: Updated check of minimal required version to
33341         2.22.
33342         * manual/install.texi (Tools for Compilation): Updated version
33343         number.
33344         * configure: Regenerated.
33345         * INSTALL: Likewise.
33347 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
33349         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33350         __tls_get_addr.
33352 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
33354         * include/sys/wait.h (__libc_waitpid): Remove declaration.
33355         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33356         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33357         libc_hidden_weak.
33358         (waitpid): Define as alias of __waitpid.
33359         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33360         __waitpid.
33361         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33362         libc_hidden_weak.
33363         (waitpid): Define as alias of __waitpid.
33364         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33365         __libc_waitpid alias.
33366         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33367         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33368         Likewise.
33369         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33370         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33371         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33372         alias.
33373         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33374         __waitpid.
33375         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33376         libc_hidden_weak.
33377         (waitpid): Define as alias of __waitpid.
33379 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
33381         * manual/llio.texi: Add comment that write safety has been
33382         fixed in Linux.
33384         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33385         (localplt-build-dso): Add elf/ld.so.
33386         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33387         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33388         and free for ld.so.
33389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33390         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33392         Likewise.
33393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33394         Likewise.
33395         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33396         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33397         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33398         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33399         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33400         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33401         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33402         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33403         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33404         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33405         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33407 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
33409         [BZ #14132]
33410         * include/libc-symbols.h (INTUSE): Remove macro.
33411         (INTDEF): Likewise.
33412         (INTVARDEF): Likewise.
33413         (_INTVARDEF): Likewise.
33414         (INTDEF2): Likewise.
33415         (INTVARDEF2): Likewise.
33416         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33417         rtld_hidden_def instead of INTVARDEF.
33418         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33419         (_dl_starting_up_internal): Remove declaration.
33420         (_dl_starting_up): Use rtld_hidden_proto.
33421         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33422         declaration.
33423         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33424         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33425         _dl_starting_up.
33426         * elf/dl-writev.h (_dl_writev): Likewise.
33427         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33428         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33429         _dl_starting_up_internal.
33431 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33433         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33434         test-skeleton.c.
33436 2014-11-05  Will Newton  <will.newton@linaro.org>
33438         * benchtests/Makefile: (bench-malloc): Add malloc thread
33439         scalability benchmark.
33440         * benchtests/bench-malloc-threads.c: New file.
33442 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
33444         * sysdeps/aarch64/strchrnul.S: New file.
33446 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33448         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33449         definition.
33450         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33451         Likewise.
33452         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33453         Likewise.
33454         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33455         Likewise.
33456         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33457         Likewise.
33458         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33459         Likewise.
33461 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
33463         * catgets/test-gencat.c: Use test-skeleton.c.
33464         * catgets/tst-catgets.c: Likewise.
33465         * csu/tst-empty.c: Likewise.
33466         * elf/tst-audit2.c: Likewise.
33467         * elf/tst-global1.c: Likewise.
33468         * elf/tst-pathopt.c: Likewise.
33469         * elf/tst-piemod1.c: Likewise.
33470         * elf/tst-tls10.c: Likewise.
33471         * elf/tst-tls11.c: Likewise.
33472         * elf/tst-tls12.c: Likewise.
33473         * gnulib/tst-gcc.c: Likewise.
33474         * iconvdata/tst-e2big.c: Likewise.
33475         * iconvdata/tst-loading.c: Likewise.
33476         * iconv/tst-iconv1.c: Likewise.
33477         * iconv/tst-iconv2.c: Likewise.
33478         * inet/test-inet6_opt.c: Likewise.
33479         * inet/tst-gethnm.c: Likewise.
33480         * inet/tst-network.c: Likewise.
33481         * inet/tst-ntoa.c: Likewise.
33482         * intl/tst-codeset.c: Likewise.
33483         * intl/tst-gettext2.c: Likewise.
33484         * intl/tst-gettext3.c: Likewise.
33485         * intl/tst-ngettext.c: Likewise.
33486         * intl/tst-translit.c: Likewise.
33487         * io/test-stat.c: Likewise.
33488         * libio/test-fmemopen.c: Likewise.
33489         * libio/tst-freopen.c: Likewise.
33490         * libio/tst-sscanf.c: Likewise.
33491         * libio/tst-ungetwc1.c: Likewise.
33492         * libio/tst-ungetwc2.c: Likewise.
33493         * libio/tst-widetext.c: Likewise.
33494         * localedata/tst-ctype.c: Likewise.
33495         * localedata/tst-digits.c: Likewise.
33496         * localedata/tst-leaks.c: Likewise.
33497         * localedata/tst-mbswcs1.c: Likewise.
33498         * localedata/tst-mbswcs2.c: Likewise.
33499         * localedata/tst-mbswcs3.c: Likewise.
33500         * localedata/tst-mbswcs4.c: Likewise.
33501         * localedata/tst-mbswcs5.c: Likewise.
33502         * localedata/tst-setlocale.c: Likewise.
33503         * localedata/tst-trans.c: Likewise.
33504         * localedata/tst-wctype.c: Likewise.
33505         * localedata/tst-xlocale1.c: Likewise.
33506         * login/tst-grantpt.c: Likewise.
33507         * malloc/tst-calloc.c: Likewise.
33508         * malloc/tst-malloc.c: Likewise.
33509         * malloc/tst-mallocstate.c: Likewise.
33510         * malloc/tst-mcheck.c: Likewise.
33511         * malloc/tst-mtrace.c: Likewise.
33512         * malloc/tst-obstack.c: Likewise.
33513         * math/atest-exp2.c: Likewise.
33514         * math/atest-exp.c: Likewise.
33515         * math/atest-sincos.c: Likewise.
33516         * math/test-matherr.c: Likewise.
33517         * math/test-misc.c: Likewise.
33518         * math/test-powl.c: Likewise.
33519         * math/tst-definitions.c: Likewise.
33520         * misc/tst-dirname.c: Likewise.
33521         * misc/tst-efgcvt.c: Likewise.
33522         * misc/tst-fdset.c: Likewise.
33523         * misc/tst-hsearch.c: Likewise.
33524         * misc/tst-mntent2.c: Likewise.
33525         * nptl/tst-sem7.c: Likewise.
33526         * nptl/tst-sem8.c: Likewise.
33527         * nptl/tst-sem9.c: Likewise.
33528         * nss/test-netdb.c: Likewise.
33529         * posix/tst-fnmatch.c: Likewise.
33530         * posix/tst-getlogin.c: Likewise.
33531         * posix/tst-gnuglob.c: Likewise.
33532         * posix/tst-mmap.c: Likewise.
33533         * pwd/tst-getpw.c: Likewise.
33534         * resolv/tst-inet_ntop.c: Likewise.
33535         * rt/tst-timer.c: Likewise.
33536         * stdio-common/test-fseek.c: Likewise.
33537         * stdio-common/test-popen.c: Likewise.
33538         * stdio-common/test-vfprintf.c: Likewise.
33539         * stdio-common/tst-cookie.c: Likewise.
33540         * stdio-common/tst-fileno.c: Likewise.
33541         * stdio-common/tst-gets.c: Likewise.
33542         * stdio-common/tst-obprintf.c: Likewise.
33543         * stdio-common/tst-perror.c: Likewise.
33544         * stdio-common/tst-sprintf2.c: Likewise.
33545         * stdio-common/tst-sprintf3.c: Likewise.
33546         * stdio-common/tst-sprintf.c: Likewise.
33547         * stdio-common/tst-swprintf.c: Likewise.
33548         * stdio-common/tst-tmpnam.c: Likewise.
33549         * stdio-common/tst-unbputc.c: Likewise.
33550         * stdio-common/tst-wc-printf.c: Likewise.
33551         * stdlib/tst-environ.c: Likewise.
33552         * stdlib/tst-fmtmsg.c: Likewise.
33553         * stdlib/tst-limits.c: Likewise.
33554         * stdlib/tst-rand48-2.c: Likewise.
33555         * stdlib/tst-rand48.c: Likewise.
33556         * stdlib/tst-random2.c: Likewise.
33557         * stdlib/tst-random.c: Likewise.
33558         * stdlib/tst-strtol.c: Likewise.
33559         * stdlib/tst-strtoll.c: Likewise.
33560         * stdlib/tst-tls-atexit.c: Likewise.
33561         * stdlib/tst-xpg-basename.c: Likewise.
33562         * string/test-ffs.c: Likewise.
33563         * string/tst-bswap.c: Likewise.
33564         * string/tst-inlcall.c: Likewise.
33565         * string/tst-strtok.c: Likewise.
33566         * string/tst-strxfrm.c: Likewise.
33567         * sysdeps/x86_64/tst-audit10.c: Likewise.
33568         * sysdeps/x86_64/tst-audit3.c: Likewise.
33569         * sysdeps/x86_64/tst-audit4.c: Likewise.
33570         * sysdeps/x86_64/tst-audit5.c: Likewise.
33571         * time/tst-ftime_l.c: Likewise.
33572         * time/tst-getdate.c: Likewise.
33573         * time/tst-mktime3.c: Likewise.
33574         * time/tst-mktime.c: Likewise.
33575         * time/tst-posixtz.c: Likewise.
33576         * time/tst-strptime2.c: Likewise.
33577         * time/tst-strptime3.c: Likewise.
33578         * wcsmbs/tst-btowc.c: Likewise.
33579         * wcsmbs/tst-mbrtowc.c: Likewise.
33580         * wcsmbs/tst-mbsrtowcs.c: Likewise.
33581         * wcsmbs/tst-wchar-h.c: Likewise.
33582         * wcsmbs/tst-wcpncpy.c: Likewise.
33583         * wcsmbs/tst-wcrtomb.c: Likewise.
33584         * wcsmbs/tst-wcsnlen.c: Likewise.
33585         * wcsmbs/tst-wcstof.c: Likewise.
33587 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
33589         [BZ #14132]
33590         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33591         INTDEF.
33592         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33593         declaration.
33594         (_dl_mcount): Use rtld_hidden_proto.
33595         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33596         _dl_mcount.
33597         * elf/rtld.c (_rtld_global_ro): Likewise.
33599         [BZ #14132]
33600         * elf/dl-init.c (_dl_init): Don't use INTDEF.
33601         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33602         of _dl_init_internal.
33603         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33604         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33605         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33606         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33607         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33608         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33609         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33610         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33611         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33612         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33613         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33614         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33615         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33616         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33617         * sysdeps/tile/dl-start.S (_start): Likewise.
33618         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33619         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33621         [BZ #14132]
33622         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33623         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33624         (rtld_progname): Make macro definition unconditional.
33625         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33626         INTDEF.
33627         (dlmopen_doit): Do not use INTUSE with _dl_argv.
33628         (dl_main): Likewise.
33629         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33630         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33631         instead of _dl_argv_internal.
33632         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33633         __GI__dl_argv instead of INTUSE(_dl_argv).
33634         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33635         __GI__dl_argv instead of _dl_argv_internal.
33637         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33638         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33639         macro.
33640         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33641         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33642         New macro.
33643         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33644         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33645         macro.
33646         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33647         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33649 2014-11-04  Andreas Schwab  <schwab@suse.de>
33651         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33653 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33655         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33656         mtvsrd instruction in binary form.
33658 2014-11-03  Andreas Schwab  <schwab@suse.de>
33660         [BZ #17522]
33661         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33662         for less than MB_LEN_MAX use a local buffer of that size.
33663         * libio/tst-fputws.c: New file.
33664         * libio/Makefile (tests): Add tst-fputws.
33666 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
33668         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33669         the size of the fpu_fr.fpu_dregs[] array.
33671 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
33673         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33674         (__nanosleep): Do not define as alias.
33675         (nanosleep): Define as alias of __nanosleep.
33676         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33677         __libc_nanosleep name.
33679 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33681         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33682         install.texi in comment.
33684 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33686         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33687         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33688         ... add here and use lwsync or sync ...
33689         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33690         ... and add here using lwsync.
33692 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33694         * elf/dl-machine-reject-phdr.h: New file.
33695         * elf/dl-load.c: #include that.
33696         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33697         if that returned true.
33699 2014-10-31  Roland McGrath  <roland@hack.frob.com>
33701         [BZ #17496]
33702         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33703         gen-as-const-headers chunk.  Add a big scare comment after the last
33704         safe place to touch before-compile.
33706 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33708         * manual/install.texi (Tools for Compilation): Update autoconf
33709         version requirements.
33710         * INSTALL: Regenerated.
33712         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33713         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33714         (__libc_pselect): Likewise.
33716         [BZ #14138]
33717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33722 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33724         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33725         correct barrier instruction.
33726         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33727         Likewise.
33728         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33729         Likewise.
33731 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33733         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33734         after defining inlines.  Instead, just use parens to defeat macro
33735         expansion of __isctype in its declaration.
33737 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33739         * include/sys/uio.h (__libc_readv): Remove declaration.
33740         (__libc_writev): Likewise.
33741         * misc/readv.c (__libc_readv): Rename to __readv.
33742         (__readv): Do not define as alias.
33743         (readv): Define as alias of __readv.
33744         * misc/writev.c (__libc_writev): Rename to __writev.
33745         (__writev): Do not define as alias.
33746         (writev): Define as alias of __writev.
33747         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33748         (__readv): Do not define as alias.
33749         (readv): Define unconditionally as alias of __readv.
33750         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33751         (__writev): Do not define as alias.
33752         (writev): Define unconditionally as alias of __writev.
33753         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33754         name.
33755         (writev): Do not define __libc_writev name.
33757 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33759         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33760         (convert_charseq): New function, broken out of ...
33761         (use_from_charmap): ... here.  Call it.
33762         (use_to_charmap): Use convert_charseq and free instead of duplicating
33763         its code with a variable-length stack struct.
33765 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33767         * include/fcntl.h (__libc_creat): Remove declaration.
33768         * io/creat.c (__libc_creat): Rename to creat.
33769         (creat): Do not define as alias.
33770         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33771         of creat instead of __libc_creat.
33772         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33773         to creat.
33774         (creat): Do not define as alias.
33775         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33776         __libc_creat.
33777         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33778         __libc_creat name.
33779         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33780         Likewise.
33782 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
33784         * manual/llio.texi: Add comments discussing why write() may be
33785         considered MT-unsafe on Linux.
33787 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
33789         * dl-load.c (local_strdup): Remove.
33790         (expand_dynamic_string_token): Use __strdup.
33791         (decompose_rpath): Likewise.
33792         (_dl_map_object): Likewise.
33794 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
33796         [BZ #14132]
33797         * sysdeps/generic/unwind-dw2-fde.c
33798         (__register_frame_info_bases_internal): Do not declare.
33799         (__register_frame_info_table_bases_internal): Likewise.
33800         (__deregister_frame_info_bases_internal): Likewise.
33801         (__register_frame_info_bases): Declare and use hidden_proto before
33802         definition.  Use hidden_def instead of INTDEF.
33803         (__register_frame_info_table_bases): Likewise.
33804         (__deregister_frame_info_bases): Likewise.
33805         (__register_frame_info): Do not use INTUSE.
33806         (__register_frame): Likewise.
33807         (__register_frame_info_table): Likewise.
33808         (__register_frame_table): Likewise.
33809         (__deregister_frame_info): Likewise.
33810         (__deregister_frame): Likewise.
33812 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
33814         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33815         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33816         not undefine.
33817         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33818         Likewise.
33819         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33820         Likewise.
33822 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
33824         [BZ #14138]
33825         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33826         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33827         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33828         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33829         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33830         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33831         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33832         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33833         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33834         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33835         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33836         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33837         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33838         syscall.
33839         (setfsuid): Likewise.
33840         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33841         (setfsuid): Likewise.
33842         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33843         (setfsuid): Likewise.
33844         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33845         Likewise.
33846         (setfsuid): Likewise.
33847         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33848         (setfsuid): Likewise.
33849         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33850         Likewise.
33851         (setfsuid): Likewise.
33853 2014-10-27  Andreas Schwab  <schwab@suse.de>
33855         [BZ #17501]
33856         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33857         check for Slow_SSE4_2 feature bit.
33858         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33859         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33860         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33861         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
33863 2014-10-24  Roland McGrath  <roland@hack.frob.com>
33865         * configure.ac: Validate compiler version with a empirical test of
33866         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33867         $CC -v output.
33868         * configure: Regenerated.
33870         * inet/htons.c (htons): Prototypify.
33871         * inet/htonl.c (htonl): Likewise.
33873 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33875         * string/strncat.c (strncat): Improve performance by using strlen.
33877 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33879         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33881 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33883         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33884         Call libc_fetestexcept_aarch64.
33886 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33888         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33889         Call libc_feholdexcept_aarch64.
33891 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33893         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33894         Call get_rounding_mode.
33896 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33898         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33899         Simplify logic.
33901 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33903         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33904         Simplify logic.
33906 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
33908         [BZ #14138]
33909         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33910         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33911         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33912         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33913         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33914         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33915         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33916         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33917         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33918         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33919         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33920         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33921         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33922         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33923         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33924         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33925         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33926         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33927         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33928         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33929         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33930         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33931         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33932         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33933         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33934         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33935         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33936         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33937         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33938         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33939         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33940         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33941         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33942         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33943         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33944         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33945         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33946         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33947         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33948         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33949         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33950         syscall.
33951         (geteuid): Likewise.
33952         (getgid): Likewise.
33953         (getuid): Likewise.
33954         (getresgid): Likewise.
33955         (getresuid): Likewise.
33956         (getgroups): Likewise.
33957         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33958         (geteuid): Likewise.
33959         (getgid): Likewise.
33960         (getuid): Likewise.
33961         (getresgid): Likewise.
33962         (getresuid): Likewise.
33963         (getgroups): Likewise.
33964         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33965         (geteuid): Likewise.
33966         (getgid): Likewise.
33967         (getuid): Likewise.
33968         (getresgid): Likewise.
33969         (getresuid): Likewise.
33970         (getgroups): Likewise.
33971         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33972         Likewise.
33973         (geteuid): Likewise.
33974         (getgid): Likewise.
33975         (getuid): Likewise.
33976         (getresgid): Likewise.
33977         (getresuid): Likewise.
33978         (getgroups): Likewise.
33979         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33980         (geteuid): Likewise.
33981         (getgid): Likewise.
33982         (getuid): Likewise.
33983         (getresgid): Likewise.
33984         (getresuid): Likewise.
33985         (getgroups): Likewise.
33986         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
33987         Likewise.
33988         (geteuid): Likewise.
33989         (getgid): Likewise.
33990         (getuid): Likewise.
33991         (getgroups): Likewise.
33993         [BZ #14138]
33994         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
33995         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
33996         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
33997         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33998         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
33999         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34000         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34001         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34002         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34003         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34004         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34005         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34006         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34007         __chown.
34008         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34009         (lchown): Likewise.
34010         (fchown): Likewise.
34011         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34012         Likewise.
34013         (lchown): Likewise.
34014         (fchown): Likewise.
34015         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34016         (lchown): Likewise.
34017         (fchown): Likewise.
34018         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34019         Likewise.
34020         (lchown): Likewise.
34021         (fchown): Likewise.
34023 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34025         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34026         Simplify logic.
34028 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34030         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34031         Cleanup logic.
34033 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34035         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34036         Remove unused include.
34038 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34040         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34041         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34042         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34043         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34045 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34046             Helge Deller <deller@gmx.de>
34048         [BZ #17508]
34049         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34050         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34051         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34053 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34055         [BZ #14132]
34056         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34057         Remove macro definition.
34058         (__ashrdi3_v_glibc20): Likewise.
34059         (__lshrdi3_v_glibc20): Likewise.
34060         (__cmpdi2_v_glibc20): Likewise.
34061         (__ucmpdi2_v_glibc20): Likewise.
34062         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34063         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34064         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34065         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34066         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34067         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34069 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34071         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34072         old GNU extension [0] syntax.
34073         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34074         alloca rather than an array member with variable length.
34075         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34076         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34077         (parse_opt): ... here.  Likewise use alloca there.
34078         Validate the -i argument before checking for rootness.
34079         (send_shutdown): New function, broken out of ...
34080         (parse_opt): ... here.
34082 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34084         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34085         macro to get at the _rt_local_ro field.
34086         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34087         ([PIC] case) or _dl_hwcap ([!PIC] case).
34088         * sysdeps/arm/setjmp.S: Likewise.
34090         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34091         * sysdeps/arm/configure.ac: New check to define it.
34092         * sysdeps/arm/configure: Regenerated.
34093         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34094         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34095         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34096         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34097         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34098         Use move/movt pair instead of a load.
34099         (LDST_GLOBAL): Macro removed.
34100         (LDR_GLOBAL): New macro replaces it.
34101         (LDR_HIDDEN): New macro.
34102         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34103         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34105         * setjmp/tst-setjmp-static.c: New file.
34106         * setjmp/Makefile (tests): Add it.
34107         (tests-static): New variable.
34109 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34111         [BZ #17485]
34112         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34114 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34116         [BZ #14132]
34117         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34119 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34121         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34123 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34125         * io/fts.c (dirent_not_directory): New function.
34126         (fts_build): Call it.
34128 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34130         * nptl/version.c (__nptl_main): Use normal __write rather than
34131         INTERNAL_SYSCALL.
34132         (banner): Update copyright years.
34134         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34135         gettimeofday.
34136         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34137         * nptl/pthread_cond_timedwait.c: Likewise.
34138         * nptl/pthread_mutex_timedlock.c: Likewise.
34139         * nptl/sem_timedwait.c: Likewise.
34141         * sysdeps/nptl/bits/libc-lock.h
34142         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34143         (__libc_lock_init_recursive): Return void, not 0.
34144         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34145         (__libc_rwlock_init): Likewise.
34146         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34148 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34150         [BZ #15215]
34151         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34152         (__pthread_once_slow): ... here.
34153         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34154         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34156 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34158         [BZ #15215]
34159         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34160         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34161         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34162         * nptl/pthread_once.c (__pthread_once): Likewise.
34163         Update comments.
34165 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34167         [BZ #14138]
34168         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34169         name.
34170         (writev): Use __libc_writev as strong name.
34171         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34172         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34174 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34176         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34178         * sysdeps/i386/nptl/tls.h
34179         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34180         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34181         New macros.
34182         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34183         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34184         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34185         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34186         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34187         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34189         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34190         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34191         on [__NR_futex].
34192         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34193         broken out of ...
34194         (__pthread_mutex_init): ... here.  Call it.
34195         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34196         Conditionalize PI cases on [__NR_futex].
34197         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34198         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34199         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34201         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34202         conditional on [SIGSETXID].
34203         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34204         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34205         is defined.  Likewise for SIGSETXID.
34206         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34207         Conditionalize definitions on [SIGSETXID].
34208         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34209         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34210         unblocking on [SIGCANCEL].
34212         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34213         [__NR_set_robust_list].
34215 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34217         * string/strcoll_l.c (get_next_seq): Fix up formatting.
34218         (do_compare): Likewise.
34220 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
34222         [BZ #15884]
34223         * string/strcoll_l.c: Don't include stdio.h.
34224         (coll_seq): Remove members idxarr and rulearr.
34225         (get_next_seq_cached): Remove function.
34226         (get_next_seq): Likewise.
34227         (get_next_seq_nocache): Rename to get_next_seq.
34228         (do_compare): Remove function.
34229         (do_compare_nocache): Rename to do_compare.
34230         (STRCOLL): Remove weight and rules cache.
34232 2014-10-16  Roland McGrath  <roland@hack.frob.com>
34234         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34235         * sysdeps/arm/sfp-machine.h: ... to here.
34236         * sysdeps/arm/Implies: Remove arm/soft-fp.
34238 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
34240         * conform/data/sys/utsname.h-data (*_t): Allow.
34241         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34242         [POSIX] (WEXITED): Do not expect constant.
34243         [POSIX] (WSTOPPED): Likewise.
34244         [POSIX] (WNOHANG): Likewise.
34245         [POSIX] (WNOWAIT): Likewise.
34246         [POSIX] (siginfo_t): Do not expect type or elements.
34247         [POSIX] (pid_t): Do not expect type.
34248         [POSIX] (signal.h): Do not allow header.
34249         [POSIX] (sys/resource.h): Likewise.
34250         [POSIX] (si_*): Do not allow pattern.
34251         [POSIX] (W*): Likewise.
34252         [POSIX] (P_*): Likewise.
34253         [POSIX] (BUS_*): Likewise.
34254         [POSIX] (CLD_*): Likewise.
34255         [POSIX] (FPE_*): Likewise.
34256         [POSIX] (ILL_*): Likewise.
34257         [POSIX] (POLL_*): Likewise.
34258         [POSIX] (SEGV_*): Likewise.
34259         [POSIX] (SI_*): Likewise.
34260         [POSIX] (TRAP_*): Likewise.
34261         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34262         variable.
34264 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
34266         [BZ #12926]
34267         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34268         infinite loop when __recvmsg returns 0.
34270 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
34272         * CANCEL-FCT-WAIVE: Remove file.
34273         * CANCEL-FILE-WAIVE: Likewise.
34275         [BZ #14132]
34276         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34277         instead of INTVARDEF.
34278         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34279         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34280         rtld_hidden_data_def instead of INTVARDEF.
34281         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34282         * elf/dl-deps.c (expand_dst): Likewise.
34283         * elf/dl-load.c (_dl_dst_count): Likewise.
34284         (_dl_dst_substitute): Likewise.
34285         (decompose_rpath): Likewise.
34286         (_dl_init_paths): Likewise.
34287         (open_path): Likewise.
34288         (_dl_map_object): Likewise.
34289         * elf/rtld.c (dl_main): Likewise.
34290         (process_dl_audit): Likewise.
34291         (process_envvars): Likewise.
34292         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34293         Remove declaration.
34294         (__libc_enable_secure): Use rtld_hidden_proto.
34296 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34298         * elf/dl-load.c
34299         (add_path): New function broken out of _dl_rtld_di_serinfo.
34300         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
34302 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34304         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34305         parentheses around macro arguments.
34306         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34307         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34308         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34309         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34310         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34311         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34312         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34313         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34314         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34315         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34316         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34317         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34318         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34319         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34320         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34321         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34322         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34323         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34324         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34325         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34326         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34329         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34330         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34331         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34332         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34333         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34334         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34335         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34336         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34337         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34338         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34339         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34340         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34341         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34342         Likewise.
34343         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34344         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34345         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34346         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34347         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34348         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34349         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34350         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34351         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34352         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34353         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34354         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34355         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34356         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34357         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34358         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34359         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34360         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34361         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34362         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34363         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34364         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34365         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34366         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34367         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34368         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34369         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34370         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34371         (_FP_FRAC_SRS_1): Likewise.
34372         (_FP_FRAC_CLZ_1): Likewise.
34373         (_FP_MUL_MEAT_1_imm): Likewise.
34374         (_FP_MUL_MEAT_1_wide): Likewise.
34375         (_FP_MUL_MEAT_1_hard): Likewise.
34376         (_FP_SQRT_MEAT_1): Likewise.
34377         (_FP_FRAC_ASSEMBLE_1): Likewise.
34378         (_FP_FRAC_DISASSEMBLE_1): Likewise.
34379         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34380         (__FP_CLZ_2): Likewise.
34381         (_FP_MUL_MEAT_2_wide): Likewise.
34382         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34383         (_FP_MUL_MEAT_2_gmp): Likewise.
34384         (_FP_MUL_MEAT_2_120_240_double): Likewise.
34385         (_FP_SQRT_MEAT_2): Likewise.
34386         (_FP_FRAC_ASSEMBLE_2): Likewise.
34387         (_FP_FRAC_DISASSEMBLE_2): Likewise.
34388         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34389         (_FP_FRAC_CLZ_4): Likewise.
34390         (_FP_MUL_MEAT_4_wide): Likewise.
34391         (_FP_MUL_MEAT_4_gmp): Likewise.
34392         (_FP_SQRT_MEAT_4): Likewise.
34393         (_FP_FRAC_ASSEMBLE_4): Likewise.
34394         (_FP_FRAC_DISASSEMBLE_4): Likewise.
34395         * soft-fp/op-common.h (_FP_CMP): Likewise.
34396         (_FP_CMP_EQ): Likewise.
34397         (_FP_CMP_UNORD): Likewise.
34398         (_FP_TO_INT): Likewise.
34399         (_FP_FROM_INT): Likewise.
34400         [!__FP_CLZ] (__FP_CLZ): Likewise.
34401         (_FP_DIV_HELP_imm): Likewise.
34402         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34403         Likewise.
34404         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34405         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34406         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34409         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34410         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34413         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34414         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34415         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34416         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34417         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34418         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34419         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34420         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34421         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34422         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34423         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34424         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34425         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34428         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34429         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34432         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34433         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34434         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34435         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34436         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34437         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34438         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34439         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34440         (FP_UNPACK_RAW_SP): Likewise.
34441         (FP_PACK_RAW_S): Likewise.
34442         (FP_PACK_RAW_SP): Likewise.
34443         (FP_UNPACK_S): Likewise.
34444         (FP_UNPACK_SP): Likewise.
34445         (FP_UNPACK_SEMIRAW_S): Likewise.
34446         (FP_UNPACK_SEMIRAW_SP): Likewise.
34447         (FP_PACK_S): Likewise.
34448         (FP_PACK_SP): Likewise.
34449         (FP_PACK_SEMIRAW_S): Likewise.
34450         (FP_PACK_SEMIRAW_SP): Likewise.
34451         (_FP_SQRT_MEAT_S): Likewise.
34452         (FP_CMP_S): Likewise.
34453         (FP_CMP_EQ_S): Likewise.
34454         (FP_CMP_UNORD_S): Likewise.
34455         (FP_TO_INT_S): Likewise.
34456         (FP_FROM_INT_S): Likewise.
34458         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34460         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34461         (FP_EX_INVALID_IMZ): Likewise.
34462         (FP_EX_INVALID_IMZ_FMA): Likewise.
34463         (FP_EX_INVALID_ISI): Likewise.
34464         (FP_EX_INVALID_ZDZ): Likewise.
34465         (FP_EX_INVALID_IDI): Likewise.
34466         (FP_EX_INVALID_SQRT): Likewise.
34467         (FP_EX_INVALID_CVI): Likewise.
34468         (FP_EX_INVALID_VC): Likewise.
34469         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34470         "invalid" exceptions.
34471         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34472         (_FP_ADD_INTERNAL): Likewise.
34473         (_FP_MUL): Likewise.
34474         (_FP_FMA): Likewise.
34475         (_FP_DIV): Likewise.
34476         (_FP_CMP_CHECK_NAN): Likewise.
34477         (_FP_SQRT): Likewise.
34478         (_FP_TO_INT): Likewise.
34479         (FP_EXTEND): Likewise.
34481 2014-10-09  Allan McRae  <allan@archlinux.org>
34483         * po/fr.po: Update French translation from translation project.
34485 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34487         [BZ #14132]
34488         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34489         of INTDEF.
34490         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34491         (__cxa_atexit): Use libc_hidden_proto.
34492         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34494         [BZ #14132]
34495         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34496         declaration.
34497         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34498         [!_ISOMAC] (__iswspace_l_internal): Likewise.
34499         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34500         [!_ISOMAC] (__iswctype_internal): Likewise.
34501         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34502         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34503         alias.
34504         (fcntl): Remove __fcntl_internal alias.
34505         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34506         __connect_internal alias.
34507         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34508         Likewise.
34510         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34511         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34512         FP_DENORM_ZERO.
34513         (_FP_CHECK_FLUSH_ZERO): New macro.
34514         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34515         (_FP_CMP): Likewise.
34516         (_FP_CMP_EQ): Likewise.
34517         (_FP_TO_INT): Do not set inexact for subnormal arguments if
34518         FP_DENORM_ZERO.
34519         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34520         (FP_TRUNC): Likewise.
34522         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34523         treated as invalid conversion, not as normal exponent.
34525         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34526         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
34527         (_FP_CMP_EQ): Likewise.
34528         (_FP_CMP_UNORD): Likewise.
34529         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34530         (FP_CMP_EQ_D): Likewise.
34531         (FP_CMP_UNORD_D): Likewise.
34532         * soft-fp/extended.h (FP_CMP_E): Likewise.
34533         (FP_CMP_EQ_E): Likewise.
34534         (FP_CMP_UNORD_E): Likewise.
34535         * soft-fp/quad.h (FP_CMP_Q): Likewise.
34536         (FP_CMP_EQ_Q): Likewise.
34537         (FP_CMP_UNORD_Q): Likewise.
34538         * soft-fp/single.h (FP_CMP_S): Likewise.
34539         (FP_CMP_EQ_S): Likewise.
34540         (FP_CMP_UNORD_S): Likewise.
34541         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34542         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34543         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34544         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34545         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34546         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34547         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34548         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34549         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34550         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34551         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34552         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34553         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34554         to FP_CMP_Q.
34555         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34556         FP_CMP_Q.
34557         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34558         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34559         FP_CMP_EQ_Q.
34560         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34561         FP_CMP_Q.
34562         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34563         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34564         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34565         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34566         FP_CMP_EQ_Q.
34567         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34568         FP_CMP_Q.
34569         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34570         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34571         FP_CMP_EQ_Q.
34572         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34573         FP_CMP_Q.
34574         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34575         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34576         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34577         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34578         FP_CMP_EQ_Q.
34580         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34581         a subnormal result, set the underflow exception if trapping on
34582         underflow is enabled.
34583         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34584         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34585         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34586         redefine to 0.
34587         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34588         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34589         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34590         * soft-fp/extendxftf2.c (__extendxftf2): Use
34591         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34593         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34594         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34595         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34596         FP_HANDLE_EXCEPTIONS.
34597         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34598         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34599         FP_HANDLE_EXCEPTIONS.
34600         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34601         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34602         FP_HANDLE_EXCEPTIONS.
34603         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34604         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34605         FP_HANDLE_EXCEPTIONS.
34607 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
34609         [BZ #14132]
34610         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34611         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34612         use INTUSE.
34613         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34614         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34615         Remove alias.
34616         (__adjtimex): Define using libc_hidden_ver.
34617         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34618         Remove declaration.
34619         (ntp_gettime): Call __adjtimex directly.
34620         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34621         Remove declaration.
34622         (ntp_gettimex): Call __adjtimex directly.
34623         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34624         __adjtimex_internal alias.
34626 2014-10-08  Roland McGrath  <roland@hack.frob.com>
34628         [BZ #17460]
34629         * nscd/nscd.c (more_help): Rewrite list of tables collection
34630         using xstrdup and asprintf.
34632         * nscd/nscd_conf.c: Remove local xstrdup declaration.
34634 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34635             Roland McGrath  <roland@hack.frob.com>
34637         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34638         (do_lookup_unique): ... local function 'enter' here; update callers.
34640 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
34642         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34643         compat_symbol calls on [SHARED].
34644         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34645         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34646         Remove.
34647         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34648         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34649         (oldsetrlimit): Remove.
34650         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34652         (lchown): New syscall entry.
34653         (oldsetrlimit): Remove.
34654         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34655         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34656         (oldsetrlimit): Remove.
34657         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34659         [BZ #14138]
34660         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34661         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34662         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34663         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34664         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34665         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34666         (fchown): Likewise.
34667         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34668         (fchown): Likewise.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34670         Likewise.
34672 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34674         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34675         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34676         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34677         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34678         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34679         Likewise.
34680         (__old_sem_post): Likewise.
34682 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
34684         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34685         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34686         HAVE_CLOCK_GETTIME_VSYSCALL macros.
34687         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34688         Use INLINE_VSYSCALL macro.
34689         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34690         __vdso_clock_gettime.
34691         * sysdeps/unix/sysv/linux/tile/init-first.c
34692         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34693         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34694         __vdso_clock_gettime.
34696         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34697         to set up frame more cleanly.
34699         * sysdeps/tile/memcmp.c: New file.
34701         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34703         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34704         * sysdeps/tile/tilegx/strcasestr.c: New file.
34705         * sysdeps/tile/tilegx/strnlen.c: New file.
34706         * sysdeps/tile/tilegx/strstr.c: New file.
34708         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34710 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
34712         * nptl/tst-setuid3.c: Write errors to stdout.
34714 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34716         * elf/dl-deps.c
34717         (preload): New functions broken out of _dl_map_object_deps.
34718         (_dl_map_object_deps):  Remove a nested function. Update call sites.
34720 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
34722         [BZ #14138]
34723         * sysdeps/unix/sysv/linux/execve.c: Remove file.
34724         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34726 2014-10-01  Steve Ellcey  <sellcey@mips.com>
34728         * sysdeps/mips/strcmp.S: New.
34730 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
34732         [BZ #14138]
34733         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34734         (linkat): Likewise.
34735         (mkdirat): Likewise.
34736         (readlinkat): Likewise.
34737         (renameat): Likewise.
34738         (symlinkat): Likewise.
34739         (unlinkat): Likewise.
34740         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34741         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34742         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34743         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34744         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34745         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34746         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34748 2014-09-30  Will Newton  <will.newton@linaro.org>
34750         * math/math.h: Define long double math functions if
34751         _LIBC_TEST is defined.
34752         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34754         * localedata/Makefile: Move assignment to tests-special
34755         into an ifdef testing run-built-tests.
34756         * timezone/Makefile: Likewise.
34758 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
34760         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34761         with $(BASH) not $(SHELL).
34763 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
34764             Matthew LeGendre  <legendre1@llnl.gov>
34766         [BZ #17411]
34767         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34768         l_reloc_result.
34770 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34772         * stdio-common/printf_fp.c
34773         (hack_digit): New function, broken out of ...
34774         (__printf_fp): ... local function here.  Update call sites.
34775         hack_digit now takes an additional parameter that is a pointer
34776         to a struct of the referenced locals.  Those locals moved inside
34777         the struct and references updated.
34779 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
34781         * aclocal.m4: Require autoconf 2.69.
34782         * configure: Regenerated.
34783         * sysdeps/aarch64/configure: Likewise.
34784         * sysdeps/alpha/configure: Likewise.
34785         * sysdeps/arm/armv7/configure: Likewise.
34786         * sysdeps/arm/configure: Likewise.
34787         * sysdeps/ia64/configure: Likewise.
34788         * sysdeps/mach/configure: Likewise.
34789         * sysdeps/mips/configure: Likewise.
34790         * sysdeps/s390/configure: Likewise.
34791         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34794         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34795         file.
34796         * sysdeps/ia64/configure.ac: Likewise.
34798 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
34800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34801         specify symbol version for ld.so.  Do not include entry for
34802         libpthread.
34803         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34804         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34805         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34807         [BZ #14171]
34808         * Makeconfig [$(build-shared) = yes]
34809         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34810         makefiles.
34811         [$(build-shared) = yes && $(soversions.mk-done) = t]
34812         ($(common-objpfx)gnu/lib-names.h): Remove rule.
34813         [$(build-shared) = yes && $(soversions.mk-done) = t]
34814         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
34815         to Makerules.
34816         [$(build-shared) = yes && $(soversions.mk-done) = t]
34817         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34818         here.
34819         [$(build-shared) = yes && $(soversions.mk-done) = t]
34820         (common-generated): Don't append gnu/lib-names.h and
34821         gnu/lib-names.stmp here.
34822         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34823         (lib-names-h-abi): New variable.
34824         [$(build-shared) = yes && $(soversions.mk-done) = t]
34825         (lib-names-stmp-abi): Likewise.
34826         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34827         abi-variants] (before-compile): Append
34828         $(common-objpfx)$(lib-names-h-abi).
34829         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34830         abi-variants] (common-generated): Append gnu/lib-names.h.
34831         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34832         abi-variants] (install-others-nosubdir): Depend on
34833         $(inst_includedir)/$(lib-names-h-abi).
34834         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34835         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34836         [$(build-shared) = yes && $(soversions.mk-done) = t]
34837         ($(common-objpfx)$(lib-names-h-abi)): New rule.
34838         [$(build-shared) = yes && $(soversions.mk-done) = t]
34839         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34840         [$(build-shared) = yes && $(soversions.mk-done) = t]
34841         (common-generated): Append $(lib-names-h-abi) and
34842         $(lib-names-stmp-abi).
34843         * scripts/lib-names.awk: Do not handle multi being set.
34844         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34845         Remove variable.
34846         (abi-lp64_be-ld-soname): Likewise.
34847         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34848         Likewise.
34849         (abi-hard-ld-soname): Likewise.
34850         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34851         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34852         Remove variable.
34853         (abi-o32_hard-ld-soname): Likewise.
34854         (abi-o32_soft_2008-ld-soname): Likewise.
34855         (abi-o32_hard_2008-ld-soname): Likewise.
34856         (abi-n32_soft-ld-soname): Likewise.
34857         (abi-n32_hard-ld-soname): Likewise.
34858         (abi-n32_soft_2008-ld-soname): Likewise.
34859         (abi-n32_hard_2008-ld-soname): Likewise.
34860         (abi-n64_soft-ld-soname): Likewise.
34861         (abi-n64_hard-ld-soname): Likewise.
34862         (abi-n64_soft_2008-ld-soname): Likewise.
34863         (abi-n64_hard_2008-ld-soname): Likewise.
34864         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34865         Likewise.
34866         (abi-64-v2-ld-soname): Likewise.
34867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34868         ld.so entries.
34869         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34870         variable.
34871         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34872         entry.
34873         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34874         variable.
34875         (abi-64-ld-soname): Likewise.
34876         (abi-x32-ld-soname): Likewise.
34877         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34878         entry.
34879         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34881 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
34883         [BZ #14138]
34884         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34885         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34886         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34887         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34888         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34889         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34890         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34891         syscall entry for GLIBC_2.2 symbol version.
34892         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34893         Likewise.
34894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34895         (setrlimit): Likewise.
34896         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34897         Likewise.
34899 2014-09-23  Will Newton  <will.newton@linaro.org>
34901         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34902         _LINUX_ARM_SYSDEP_H include guard too.
34903         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34904         define.
34906 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34908         * sysdeps/unix/sysv/linux/eventfd.c:
34909         Make first argument unsigned.
34910         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34911         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34913 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
34915         [BZ #16852]
34916         * socket/recvmmsg.c (recvmmsg): Drop const argument.
34917         * socket/sys/socket.h: Likewise.
34918         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34920 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34922         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34924 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
34926         * time/tst-ftime.c: New test.
34927         * time/Makefile (tests): Add tst-ftime.
34929 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
34931         * soft-fp/extended.h: Fix comment formatting.
34932         * soft-fp/op-1.h: Likewise.
34933         * soft-fp/op-2.h: Likewise.
34934         * soft-fp/op-4.h: Likewise.
34935         * soft-fp/op-8.h: Likewise.
34936         * soft-fp/op-common.h: Likewise.
34937         * soft-fp/soft-fp.h: Likewise.
34939         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34941 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
34943         [BZ #6652]
34944         * Makeconfig (soversions-default-setname): Remove variable.
34945         ($(common-objpfx)soversions.i): Don't pass default_setname to
34946         soversions.awk.
34947         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34948         oldest_abi to abi-versions.awk.
34949         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34950         * config.make.in (oldest-abi): Remove variable.
34951         * configure.ac (--enable-oldest-abi): Remove configure option.
34952         * configure: Regenerated.
34953         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34954         text.
34955         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34956         * scripts/soversions.awk: Do not handle default_setname variable.
34957         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34958         variable.
34959         * sysdeps/mach/hurd/configure: Regenerated.
34960         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34961         variable.
34962         * sysdeps/unix/sysv/linux/configure: Regenerated.
34964 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34966         * elf/Makefile (CFLAGS-interp.c): Remove.
34967         ($(elf-objpfx)runtime-linker.h): Generate header with linker
34968         path string.
34969         * elf/interp.c: Include generated runtime-linker.h
34971         * Makerules (lib%.so): Don't include $(+interp) in
34972         prerequisites.
34973         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34974         * dlfcn/eval.c: Remove file.
34976         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34977         macros.
34979         [BZ #17266]
34980         * misc/sys/cdefs.h: Define __extern_always_inline for clang
34981         4.2 and newer.
34983         [BZ #17370]
34984         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34986 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34987             Jakub Jelinek  <jakub@redhat.com>
34989         [BZ #17266]
34990         * libio/stdio.h: Check definition of __fortify_function
34991         instead of __extern_always_inline to include bits/stdio2.h.
34992         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
34993         check if __extern_always_inline is defined.
34994         [__USE_MISC || __USE_XOPEN]: Likewise.
34995         [__USE_ISOC99] Likewise.
34996         * misc/sys/cdefs.h (__fortify_function): Define only if
34997         __extern_always_inline is defined.
34998         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
34999         __extern_always_inline and __extern_inline only for g++-4.3
35000         and newer or a compatible gcc.
35002 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35004         [BZ #17371]
35005         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35006         last change to handle zero prefix length.
35008 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35010         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35011         _SC_REGEX_VERSION.
35013         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35014         _POSIX_RAW_SOCKETS.
35016 2014-09-13  Allan McRae  <allan@archlinux.org>
35018         * po/ru.po: Update Russian translation from translation project.
35020 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35022         * locale/programs/locale.c (show_locale_vars): Inline local function
35023         into its sole call site.  Clean up some style nits.
35024         (print_item): New function, broken out of ...
35025         (show_info): ... local function here.  Clean up style nits.
35027         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35028         out of ...
35029         (set_class_defaults): ... local function set_default here.
35030         Define set_default as a macro locally to pass constant parameters.
35031         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35032         rather than a shared local.
35034         * stdlib/rpmatch.c (try): New function, broken out of ...
35035         (rpmatch): ... local function here.  Also, prototypify definition.
35037 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35039         * scripts/soversions.awk: Do not handle configuration names.
35040         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35041         vendor and os variables to soversions.awk.
35042         * configure.ac: Do not modify gnu-* host_os.
35043         * configure: Regenerated
35044         * shlib-versions: Remove first column with configuration names.
35045         * nptl/shlib-versions: Likewise.
35046         * nptl_db/shlib-versions: Likewise.
35047         * sysdeps/hppa/shlib-versions: Likewise.
35048         * sysdeps/m68k/shlib-versions: Likewise.
35049         * sysdeps/mach/hurd/shlib-versions: Likewise.
35050         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35051         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35052         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35053         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35054         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35055         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35056         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35057         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35059         Likewise.
35060         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35061         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35062         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35063         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35064         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35065         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35066         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35067         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35070         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35072         Regenerated.
35073         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35075         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35077         * shlib-versions: Remove OS-specific entries.  Moved to files in
35078         sysdeps.
35079         * sysdeps/mach/hurd/shlib-versions: New file.
35080         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35082         * nptl/shlib-versions: Remove architecture-specific entries.
35083         Moved to files in sysdeps.
35084         * shlib-versions: Likewise.
35085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35086         file.
35087         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35088         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35089         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35090         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35092         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35093         (UDP_NO_CHECK6_RX): Likewise.
35095 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35097         * sysdeps/posix/sysconf.c (__sysconf): Spell
35098         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35100 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35102         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35103         loading.
35104         * iconv/Versions (__gconv_transliterate): Export for use from
35105         gconv modules.
35106         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35107         (struct __gconv_trans_data, __gconv_trans_fct,
35108         __gconv_trans_context_fct, __gconv_trans_query_fct,
35109         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35110         definitions.
35111         (struct __gconv_step_data): Remove __trans member.
35112         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35113         longer hidden.  Remove unused trans_data argument.
35114         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35115         (__gconv_translit_find): Remove declaration.
35116         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35117         prototype.
35118         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35119         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35120         trans_data argument.  Add hidden definition.
35121         (__gconv_translit_find): Remove.
35122         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35123         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35124         * iconv/skeleton.c: Remove transliteration initialization.
35125         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35126         __gconv_step_data initialization.
35127         * libio/iofwide.c (__libio_translit_): Remove.
35128         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35129         * wcsmbs/btowc.c (__btowc): Likewise.
35130         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35131         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35132         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35133         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35134         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35135         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35136         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35137         * wcsmbs/wctob.c (wctob): Likewise.
35139 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35141         [BZ #16194]
35142         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35143         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35144         register usage.
35145         * sysdeps/x86/Makefile: Adjust.
35147 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35148             Roland McGrath  <roland@hack.frob.com>
35150         * locale/weight.h: Add include guard.
35151         (findidx): Make static rather than auto; take new parameters
35152         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35153         * locale/weightwc.h: Likewise.
35154         * posix/fnmatch_loop.c
35155         (FCT): Change type of EXTRA from int32_t to wint_t.
35156         Don't include either header inside the function.
35157         Call FINDIDX rather than findidx, and pass new arguments.
35158         #undef FINDIDX at the end of the file.
35159         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35160         FINDIDX before including fnmatch_loop.c for the non-wide version.
35161         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35162         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35163         for the wide version.
35164         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35165         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35166         Pass new arguments to findidx.
35167         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35168         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35169         Don't #include it inside the function.  Pass new arguments to findidx.
35170         * posix/regex_internal.h
35171         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35172         (re_string_elem_size_at): Don't #include it inside the function.
35173         Pass new arguments to findidx.
35174         * string/strcoll_l.c: #include WEIGHT_H at top level.
35175         (get_next_seq): Don't #include it inside the function.
35176         Pass new arguments to findidx.
35177         (get_next_seq_nocache): Likewise.
35178         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35179         (STRXFRM): Don't #include it inside the function.
35180         Pass new arguments to findidx.
35182 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35184         [BZ #17344]
35185         * malloc/malloc.c (unlink): Turn asserts into a call to
35186         malloc_printerr.
35188 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35190         [BZ #17370]
35191         * libio/wfileops (do_ftell_wide): Free OUT.
35193 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
35195         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35197 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35199         [BZ #17363]
35200         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35201         group if the current group is empty.
35203 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35205         * benchtests/bench-memset.c (test_main): Add more test from size
35206         from 32 to 512 bytes.
35207         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35208         Add POWER8 memset object.
35209         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35210         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35211         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35212         implementation.
35213         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35214         Likewise.
35215         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35216         multiarch POWER8 memset optimization.
35217         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35218         POWER8 memset optimization.
35220         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35221         Remove bzero multiarch objects.
35222         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35223         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35224         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35225         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35226         Remove define.
35227         [__bzero]: Redefine to specific name.
35228         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35229         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35230         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35231         define.
35232         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35233         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35235 2014-09-10  Florian Weimer  <fweimer@redhat.com>
35237         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35238         warnings into errors.
35240         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35241         __cxa_thread_atexit_impl prototype.
35243 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35245         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35246         Fix capitalization of error message.
35248 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35250         * sysdeps/mips/preconfigure: Modify ABI tests.
35252 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
35254         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35256 2014-09-07  Roland McGrath  <roland@hack.frob.com>
35257             Carlos O'Donell  <carlos@systemhalted.org>
35259         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35260         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35261         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35262         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35263         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35264         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35265         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35266         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35267         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35268         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35269         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35270         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35271         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35272         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35273         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35274         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35275         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35276         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35277         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35278         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35279         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35280         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35281         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35282         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35283         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35284         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35285         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35286         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35287         Deconditionalize the code that was previously under [RESET_PID].
35288         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35289         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35290         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35291         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35292         include sysdep.h.
35294 2014-09-08  Allan McRae  <allan@archlinux.org>
35296         * version.h (RELEASE): Set to "development".
35297         (VERSION): Set to "2.20.90"
35299 2014-09-07  Allan McRae  <allan@archlinux.org
35301         * version.h (RELEASE): Set to "stable".
35302         (VERSION): Set to "2.20"
35303         * include/features.h (__GLIBC_MINOR__): Set to 20.
35305         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35306         Liebler.
35308         * po/ko.po: Update Korean translation from translation project.
35310 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
35312         [BZ #17354]
35313         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35314         macro for handling signed relocations.
35316 2014-09-03  Florian Weimer  <fweimer@redhat.com>
35318         [BZ #17325]
35319         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35320         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35321         assert.
35322         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35323         * iconvdata/ibm935.c (BODY): Likewise.
35324         * iconvdata/ibm937.c (BODY): Likewise.
35325         * iconvdata/ibm939.c (BODY): Likewise.
35326         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35327         assert.
35328         * iconvdata/Makefile (iconv-test.out): Pass module list to test
35329         script.
35330         * iconvdata/run-iconv-test.sh: New test loop for checking for
35331         decoder crashers.
35333 2014-09-02  Khem Raj  <raj.khem@gmail.com>
35335         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35336         libm_hidden_ver.
35338 2014-09-01  Allan McRae  <allan@archlinux.org>
35340         * po/eo.po: Update Esperanto translation from translation project.
35342         * po/ca.po: Update Catalan translation from translation project.
35344 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35346         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35347         __proc_dostop call.
35349 2014-08-27  Mark Wielaard  <mjw@redhat.com>
35351         [BZ #17319]
35352         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35353         to call set_thread_area instead of hand written asm.
35354         (__NR_set_thread_area): Removed define.
35355         (TLS_FLAG_WRITABLE): Likewise.
35356         (__ASSUME_SET_THREAD_AREA): Remove check.
35357         (TLS_EBX_ARG): Remove define.
35358         (TLS_LOAD_EBX): Likewise.
35360 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35362         Simplify atomicity of socket creation in bind.
35364         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35365         looking up the name after linking the file.
35367 2014-08-27  Allan McRae  <allan@archlinux.org>
35369         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35371 2014-08-26  Florian Weimer  <fweimer@redhat.com>
35373         [BZ #17187]
35374         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35375         trans_compare, open_translit, __gconv_translit_find):
35376         Remove module loading code.
35378 2014-08-26  Allan McRae  <allan@archlinux.org>
35380         * po/vi.po: Update Vietnamese translation from translation project.
35382         * po/uk.po: Update Ukrainian translation from translation project.
35384         * po/fr.po: Update French translation from translation project.
35386         * po/ru.po: Update Russian translation from translation project.
35388         * po/pl.po: Update Polish translation from translation project.
35390         * po/cs.po: Update Czech translation from translation project.
35392         * po/de.po: Update German translation from translation project.
35394         * po/bg.po: Update Bulgarian translation from translation project.
35396         * po/sv.po: Update Sweedish translation from translation project.
35398         * po/nl.po: Update Dutch translation from translation project.
35400         * po/es.po: Update Spanish translation from translation project.
35402 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35404         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35406         * catgets/Makefile (CPPFLAGS-gencat): Remove.
35407         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35408         (CPPFLAGS-iconvconfig): Likewise.
35409         * timezone/Makefile (CPPFLAGS-zic): Likewise.
35411         * include/libc-symbols.h: Remove unnecessary check for
35412         NOT_IN_libc.
35413         * nptl/pthreadP.h: Likewise.
35414         * sysdeps/aarch64/setjmp.S: Likewise.
35415         * sysdeps/alpha/setjmp.S: Likewise.
35416         * sysdeps/arm/sysdep.h: Likewise.
35417         * sysdeps/i386/setjmp.S: Likewise.
35418         * sysdeps/m68k/setjmp.c: Likewise.
35419         * sysdeps/posix/getcwd.c: Likewise.
35420         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35421         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35422         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35423         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35424         * sysdeps/sh/sh3/setjmp.S: Likewise.
35425         * sysdeps/sh/sh4/setjmp.S: Likewise.
35426         * sysdeps/unix/alpha/sysdep.h: Likewise.
35427         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35428         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35429         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35430         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35433         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35434         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35435         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35438         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35439         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35440         * sysdeps/x86_64/setjmp.S: Likewise.
35442 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
35444         [BZ #17263]
35445         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35446         <stdint.h>.
35447         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35448         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35450 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35452         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35454         [BZ #17262]
35455         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35456         and __x86_64__ when disabling x87 inline functions.
35458 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35460         [BZ #17259]
35461         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35462         asm statement with __cpuid_count.
35464 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
35466         * configure.ac: Change __ehdr_start code to dereference the struct.
35467         Run readelf on the output to look for relocations.
35468         * configure: Regenerated.
35470 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
35472         [BZ #17261]
35473         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35474         value to 0.
35475         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35477 2014-08-12  Roland McGrath  <roland@hack.frob.com>
35479         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35481 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
35483         [BZ #16892]
35484         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35485         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35487 2014-08-12  Sean Anderson  <seanga2@gmail.com>
35489         * malloc/malloc.c: Fix typo in comment.
35491 2014-08-09  Allan McRae  <allan@archlinux.org>
35493         * Regenerate libc.po.
35495 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
35497         * intl/tst-gettext2.sh: Check every lang file for creation.
35499 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35501         * sysdeps/aarch64/fpu/math_private.h
35502         (libc_feholdsetround_noex_aarch64_ctx): New function.
35504 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35506         * sysdeps/arm/armv6/strcpy.S (strcpy):
35507         Fix performance issue in misaligned cases.
35509 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35511         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35512         Move definition from termios.h.
35513         (struct termio): Likewise.
35514         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35515         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35516         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35517         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35518         Likewise.
35519         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35520         Move definition to ioctl-types.h
35521         (struct termio): Likewise.
35522         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35523         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35524         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35525         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35526         Likewise.
35528 2014-08-05  Richard Henderson  <rth@redhat.com>
35530         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35531         exceptions.
35532         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35533         Add fraiseexcpt.
35534         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35535         Use __feraiseexcept.
35536         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35537         Protect libm symbols with IS_IN_libm.
35539         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35541 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
35543         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35545 2014-08-04  Will Newton  <will.newton@linaro.org>
35547         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35548         file.
35550 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
35552         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35553         variants for each function.
35555 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35557         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35558         appended ...
35559         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35560         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35561         appended ...
35562         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35563         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35564         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35565         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35566         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35567         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35568         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35569         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35570         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35571         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35572         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35573         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35574         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35575         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35576         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35577         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35578         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35579         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35580         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35581         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35582         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35583         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35584         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35585         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35586         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35587         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35588         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35589         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35590         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35591         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35592         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35593         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35594         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35595         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35596         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35597         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35598         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35599         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35600         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35601         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35602         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35603         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35604         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35605         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35606         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35607         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35608         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35609         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35610         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35611         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35612         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35613         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35614         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35615         Update #include.
35616         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35617         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35619 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35621         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35622         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35623         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35624         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35625         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35626         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35628 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35630         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35631         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35632         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35633         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35635 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35637         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35638         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35639         (__libc_vfork): Define function under this name.
35640         (__vfork): Define as an alias.
35641         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35642         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35644 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35646         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35647         that was previously under [RESET_PID].
35648         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35650 2014-08-04  Andreas Schwab  <schwab@suse.de>
35652         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35654 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
35656         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35657         (main): Likewise.
35659 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35661         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35663 2014-08-01  Richard Henderon  <rth@redhat.com>
35665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35666         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35667         typo in exact zero test.
35668         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35669         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35670         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35672 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35674         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35675         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35676         * sysdeps/arm/sysdep.h: ... here.
35677         [!__ASSEMBLER__]: Include <stdint.h>.
35679 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35681         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35682         (HAVE_WCTYPE_H): Likewise.
35683         (HAVE_ISWCTYPE): Likewise.
35684         (ENABLE_NLS): Likewise.
35685         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35686         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35688         * posix/regex_internal.c: Check if DEBUG is defined and is
35689         set.
35691         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35692         (HAVE_MBSRTOWCS): Likewise.
35693         * posix/fnmatch.c: Include string.h unconditionally.
35695 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35697         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35698         reversal.
35700 2014-07-31  Roland McGrath  <roland@hack.frob.com>
35702         * sysdeps/generic/safe-fatal.h: New file.
35703         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35704         * nptl/forward.c: Include it.
35705         (__pthread_unwind): Use __safe_fatal as default action, rather
35706         than a bogus use of INTERNAL_SYSCALL that could never work.
35708         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35709         * configure.ac (libc_cv_builtin_trap): New test.
35710         * configure: Regenerated.
35711         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35712         (ABORT_INSTRUCTION): Define using __builtin_trap.
35714         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35715         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35716         * sysdeps/nptl/nptl-signals.h: New file.
35717         * nptl/pthreadP.h: Include <nptl-signals.h>.
35719 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35721         * sysdeps/s390/s390-64/utf16-utf32-z9.c
35722         (ONE_DIRECTION): Define.
35723         * sysdeps/s390/s390-64/utf8-utf16-z9.c
35724         (ONE_DIRECTION): Define.
35725         * sysdeps/s390/s390-64/utf8-utf32-z9.c
35726         (ONE_DIRECTION): Define.
35728 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35730         * sysdeps/s390/Makefile: Delete file.
35731         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35732         * sysdeps/s390/__longjmp.c: Delete file.
35733         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35734         Remove fields __flags and __reserved.
35735         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35736         and add versioning.
35737         * sysdeps/s390/rtld-__longjmp.c: Delete file.
35738         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35739         * sysdeps/s390/rtld-setjmp.S: Likewise.
35740         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35741         * sysdeps/s390/s390-32/__longjmp.c: ... here.
35742         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35743         * sysdeps/s390/s390-32/setjmp.S: ... here.
35744         Add versioning.
35745         (__sigsetjmp): Remove setting __flags field.
35746         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35747         * sysdeps/s390/s390-64/__longjmp.c: ... here.
35748         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35749         * sysdeps/s390/s390-64/setjmp.S: ... here.
35750         Add versioning.
35751         (__sigsetjmp): Remove setting __flags field.
35752         * sysdeps/s390/setjmp.S: Delete file.
35753         * sysdeps/s390/sigjmp.c: Likewise.
35754         * sysdeps/s390/v1-longjmp.c: Likewise.
35755         * sysdeps/s390/v1-setjmp.h: Likewise.
35756         * sysdeps/s390/v1-sigjmp.c: Likewise.
35757         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35758         Remove v1-longjmp_chk.
35759         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35760         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35761         Include debug/longjmp_chk.c and add versioning.
35762         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35763         Include nptl/pt-longjmp.c and add versioning.
35764         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35765         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35766         Include __longjmp.c.
35767         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35768         Move to ...
35769         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35770         (__getcontext): Remove setting __flags field.
35771         Add versioning.
35772         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35773         Don't restore upper high grps.
35774         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35775         Likewise.
35776         (__swapcontext): Remove setting uc_flags field.
35777         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35778         Delete file.
35779         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35780         Include __longjmp.c.
35781         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35782         Move to ...
35783         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35784         (__getcontext): Remove setting __flags field.
35785         Add versioning.
35786         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35787         (__swapcontext): Remove setting uc_flags field.
35788         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35789         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35790         Remove fields uc_high_gprs and __reserved.
35791         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35792         New file with reverted content.
35793         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35794         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35795         Regenerated.
35796         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35797         Regenerated.
35799 2014-07-31  Andreas Schwab  <schwab@suse.de>
35801         * config.h.in (HAVE_IFUNC): Define to 0.
35802         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35803         definedness.
35805 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
35807         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35808         memmove-avx-unaligned, memcpy-avx-unaligned and
35809         mempcpy-avx-unaligned.
35810         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35811         Add tests for AVX memcpy functions.
35812         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35813         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35814         memcpy_chk.
35815         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35816         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35817         memmove_chk.
35818         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35819         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35820         mempcpy_chk.
35821         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35822         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35823         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35825 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35827         [BZ #17213]
35828         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35829         powerpc64le.
35831 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
35833         [BZ #16839]
35834         * manual/llio.texi: Add section about open file description locks.
35835         * manual/examples/ofdlocks.c: Example of open file description
35836         lock usage.
35837         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35838         F_OFD_SETLK, and F_OFD_SETLKW.
35840 2014-07-23  Allan McRae  <allan@archlinux.org>
35842         * po/es.po: Update Spanish translation from translation project.
35844 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
35846         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35848 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
35850         [BZ #17078]
35851         * sysdeps/arm/dl-machine.h (elf_machine_rela)
35852         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35853         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35855 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
35857         [BZ #17088]
35858         * math/fesetenv.c (__fesetenv)
35859         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35860         * math/feupdateenv.c (__feupdateenv)
35861         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35863         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35864         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35865         (__ASSUME_SOCKETCALL): Do not define.
35867         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35868         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35869         (__ASSUME_SOCKETCALL): Do not define.
35870         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35871         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35872         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35873         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35874         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35875         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35876         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35877         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35879         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35880         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35881         (__ASSUME_SOCKETCALL): Do not define.
35882         (__ASSUME_IPC64): Define unconditionally.
35883         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35884         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35885         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35886         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35887         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35888         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35889         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35890         Likewise.
35892         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35893         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35894         (__ASSUME_SOCKETCALL): Do not define.
35895         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35896         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35897         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35898         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35899         (__ASSUME_REQUEUE_PI): Define unconditionally.
35900         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35901         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35902         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35903         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35904         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35905         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35907         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35908         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35909         (__ASSUME_SOCKETCALL): Do not define.
35910         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35911         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35912         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35913         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35914         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35915         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35917         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35918         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35919         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35920         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35921         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35922         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35923         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35924         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35925         (__ASSUME_GETCPU_SYSCALL): Likewise.
35927         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35928         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
35929         cases for individual architectures.
35930         * sysdeps/gnu/configure: Regenerated.
35931         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35932         LIBC_SLIBDIR_RTLDDIR.
35933         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35934         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35935         LIBC_SLIBDIR_RTLDDIR.
35936         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35938         LIBC_SLIBDIR_RTLDDIR.
35939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35940         Regenerated.
35941         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35942         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35943         file.
35944         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35945         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35946         file.
35947         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35948         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35949         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35950         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35952         * sysdeps/aarch64/shlib-versions: Move to ...
35953         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35954         * sysdeps/alpha/shlib-versions: Move to ...
35955         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35956         * sysdeps/arm/shlib-versions: Move to ...
35957         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35958         * sysdeps/hppa/shlib-versions: Move all contents except for
35959         libgcc_s entry to ...
35960         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
35961         entry from ...
35962         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
35963         * sysdeps/ia64/shlib-versions: Move to ...
35964         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
35965         entry from ...
35966         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
35967         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35968         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35969         * sysdeps/microblaze/shlib-versions: Move to ...
35970         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35971         * sysdeps/mips/shlib-versions: Move to ...
35972         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
35973         entry from ...
35974         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
35975         * sysdeps/tile/shlib-versions: Move to ...
35976         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35977         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35978         from ...
35979         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
35980         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35981         entry from ...
35982         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
35984 2014-07-17  Will Newton  <will.newton@linaro.org>
35986         * sysdeps/arm/bits/atomic.h
35987         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
35988         (__arch_compare_and_exchange_bool_16_int): Likewise.
35989         (__arch_compare_and_exchange_bool_64_int): Likewise.
35991         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
35992         into an #else block.
35994 2014-07-16  Roland McGrath  <roland@hack.frob.com>
35996         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
35997         just Linux configurations.  Test empirically that the compiler sets
35998         __ARM_EABI__, rather than using the tuple to decide.
35999         * sysdeps/arm/preconfigure: Regenerated.
36000         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36001         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36002         contents appended ...
36003         * sysdeps/arm/configure.ac: ... here.
36004         * sysdeps/arm/configure: Regenerated.
36006 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36008         * nptl/pthread_kill.c: New file.
36009         * nptl/pthread_sigmask.c: New file.
36010         * nptl/pthread_sigqueue.c: New file.
36012         * sysdeps/nptl/lowlevellock.h: New file.
36013         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36014         * sysdeps/nptl/lowlevellock-futex.h: New file.
36016         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36017         Remove dead declarations.
36019 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36021         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36022         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36023         config-cflags-avx2.
36024         * sysdeps/x86_64/configure.ac: Likewise.
36025         * sysdeps/i386/configure: Regenerated.
36026         * sysdeps/x86_64/configure: Likewise.
36027         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36028         memset-avx2 only if config-cflags-avx2 is yes.
36029         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36030         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36031         defined.
36032         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36033         only if HAVE_AVX2_SUPPORT is defined.
36034         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36036 2014-07-14  Alan Modra  <amodra@gmail.com>
36038         [BZ #17153]
36039         * elf/elf.h (DT_PPC64_NUM): Correct value.
36040         * NEWS: Add to fixed bug list.
36042 2014-07-13  Jim Meyering  <meyering@fb.com>
36044         [BZ 17150]
36045         regex: don't deref NULL upon heap allocation failure
36046         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36047         failure in one more place.
36048         To trigger the segfault, configure grep -with-included-regex,
36049         build it, and run these commands:
36050         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36052 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36054         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36056 2014-07-11  Richard Henderson  <rth@redhat.com>
36058         * sysdeps/aarch64/libm-test-ulps: Update.
36060 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36062         [BZ #17135]
36063         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36064         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36065         (__nptl_setxid): Initialize error member.  Call
36066         __nptl_setxid_error.
36067         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36068         * nptl/descr.h (struct xid_command): Add error member.
36069         * nptl/tst-setuid3.c: New file.
36070         * nptl/Makefile (tests): Add it.
36072 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36074         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36075         New define.
36076         (__lll_trylock): Use __lll_base_trylock.
36077         (__lll_cond_trylock): Likewise.
36079 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36081         * nptl/pthread_create.c (start_thread): Use atomic_or and
36082         lll_futex_wake directly rather than lll_robust_dead.
36083         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36084         (lll_robust_dead): Macro removed.
36085         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36086         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36087         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36088         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36089         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36090         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36091         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36092         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36093         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36094         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36095         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36096         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36097         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36098         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36099         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36101         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36102         Use atomic_compare_and_exchange_val_acq directly rather than
36103         lll_robust_trylock.
36104         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36105         (__lll_robust_trylock, lll_robust_trylock): Removed.
36106         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36107         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36108         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36109         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36110         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36111         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36112         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36113         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36114         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36115         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36116         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36117         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36118         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36119         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36121 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36123         * manual/locale.texi (Locale Names): New section documenting
36124         locale name syntax.  Adjust menu and node chaining accordingly.
36125         (Choosing Locale): Reference Locale Names, Locale Categories.
36126         Mention setting LC_ALL=C.  Reflect that name syntax is now
36127         documented.
36128         (Locale Categories): New section title.  Reference Locale Names.
36129         LC_ALL is an environment variable, but not a category.
36130         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36131         description, now in Locale Name.  Reference that section.  Locale
36132         name syntax is now documented.
36134 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36136         [BZ #17137]
36137         * locale/findlocale.c (name_present, valid_locale_name): New
36138         functions.
36139         (_nl_find_locale): Use the loc_name variable to store name
36140         candidates.  Call name_present and valid_locale_name to check and
36141         validate locale names.  Return an error if the locale is invalid.
36143 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36145         * locale/setlocale.c (setlocale): Use strdup for allocating
36146         composite name copy.
36148 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36150         Sync up with gnulib.
36151         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36152         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36153         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36154         and _GL_ARG_NONNULL.
36155         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36156         [!_LIBC]: Include code for Windows and Cygwin.
36157         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36158         Include prototype for int strerror_r.
36159         [!_LIBC] (is_open): New function.
36160         (flush_stdout): New function.
36161         (print_errno_message): Use it.
36162         (error): Likewise.
36163         (error_at_line): Likewise.
36164         (error_tail) Add function attribute macros.  Use
36165         __builtin_expect.
36167         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36169         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36171         * io/ftw.c: Include sys/param.h unconditionally.
36173         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36175         [BZ #17125]
36176         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36177         libc_freeres_ptr.
36178         (freecache): New function to free CACHE on exit.
36180         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36181         initialization.
36183 2014-07-09  David S. Miller  <davem@davemloft.net>
36185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36187         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36188         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36189         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36190         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36191         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36192         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36193         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36194         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36195         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36196         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36197         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36198         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36199         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36201 2014-07-09  Andreas Schwab  <schwab@suse.de>
36203         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36204         output.
36205         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36206         (do_test): Likewise.
36208         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36210 2014-07-09  Will Newton  <will.newton@linaro.org>
36212         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36213         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36214         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36215         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36216         * sysdeps/hppa/start.S (_start): Likewise.
36218 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36220         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36222         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36223         defined.
36225 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36227         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36228         after checking that it is non-NULL.
36230         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36232 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36234         * sysdeps/powerpc/memmove.c: Remove file.
36235         * sysdeps/powerpc/powerpc32/power4/memcopy.h
36236         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36237         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36238         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36239         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36240         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36241         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36242         string memmove instead of removed powerpc one.
36244         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36245         [weak_alias]: Fix compiler warning due trailing data.
36246         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36247         [weak_alias]: Likewise.
36248         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36249         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36251         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36252         (__libc_ifunc_impl_list): Add memmove functions.
36254 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36256         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36257         Remove code.
36258         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36259         Likewise.
36260         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36261         Likewise.
36262         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36263         Likewise.
36264         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36265         Likewise.
36266         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36267         Likewise.
36268         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36269         Likewise.
36270         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36271         Likewise.
36272         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36273         Likewise.
36274         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36275         Likewise.
36276         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36277         Likewise.
36278         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36279         Likewise.
36280         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36281         Likewise.
36282         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36283         Likewise.
36284         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36285         Likewise.
36286         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36287         Likewise.
36288         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36289         Likewise.
36291 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36293         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36294         to avoid alignment traps in non-cacheable memory.
36295         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36298         multiarch objects.
36299         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36300         file: multiarch power7 memmove.
36301         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36302         multiarch default memmove.
36303         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36304         multiarch memove for powerpc32/power4.
36306         * string/bcopy.c: Use full path to include memmove.c.
36307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36308         multiarch objects.
36309         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36310         bcopy for powerpc64.
36311         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36312         bcopy for powerpc64.
36313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36314         and memmove implementations.
36315         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36316         optimized multiarch memmove for POWER7/powerpc64.
36317         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36318         default multiarch memmove for powerpc64.
36319         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36320         multiarch for powerpc64.
36321         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36322         for POWER7/powerpc64.
36323         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36324         memmove for POWER7/powerpc64.
36326         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36327         glibc default one.
36329         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36330         __ELF_NATIVE_CLASS equal to 64.
36332 2014-07-07  Roland McGrath  <roland@hack.frob.com>
36334         * sysdeps/nptl/lowlevellock.h: File removed.
36336         * NEWS: NPTL is no longer an add-on!
36337         * nptl/internaltypes.h: Moved ...
36338         * sysdeps/nptl/internaltypes.h: ... here.
36339         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36340         * sysdeps/nptl/fork.c: Likewise.
36341         * sysdeps/nptl/gai_misc.h: Likewise.
36342         * sysdeps/nptl/librt-cancellation.c: Likewise.
36343         * sysdeps/nptl/jmp-unwind.c: Likewise.
36344         * sysdeps/nptl/setxid.h: Likewise.
36345         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36346         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36347         * sysdeps/unix/sysv/linux/arm/Implies: New file.
36348         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36349         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36350         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36351         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36352         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36353         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36354         * sysdeps/unix/sysv/linux/mips/Implies: New file.
36355         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36356         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36357         * sysdeps/unix/sysv/linux/sh/Implies: New file.
36358         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36359         * sysdeps/unix/sysv/linux/tile/Implies: New file.
36360         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36361         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36362         * nptl/Makeconfig: Moved ...
36363         * sysdeps/nptl/Makeconfig: ... here.
36364         * nptl/configure: File removed.
36365         * nptl/ANNOUNCE: File removed.
36366         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36367         * sysdeps/unix/sysv/linux/configure: Regenerated.
36369         * nptl/Makefile (routines): Add libc_pthread_init,
36370         libc_multiple_threads, register-atfork and unregister-atfork.
36371         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36372         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36373         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36374         pthread-pi-defines.sym, structsem.sym.
36375         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36376         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36377         [$(subdir) = nptl] (tests): Add tst-setgetname.
36378         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36379         * sysdeps/unix/sysv/linux/sigaction.c: Just include
36380         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36381         [!LIBC_SIGACTION]: Remove aliases.
36382         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36383         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36384         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36385         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36386         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36387         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36388         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36389         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36390         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36391         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36392         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36393         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36394         __libc_allocate_rtsig_private.
36395         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36396         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36397         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36398         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36399         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36400         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36401         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36402         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36403         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36404         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36405         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36406         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36407         * nptl/internaltypes.h: ... here.
36408         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36409         * sysdeps/nptl/jmp-unwind.c: ... here.
36410         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36411         * nptl/libc-lowlevellock.c: ... here.
36412         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36413         * nptl/libc_multiple_threads.c: ... here.
36414         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36415         * nptl/libc_pthread_init.c: ... here.
36416         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36417         * nptl/lowlevelbarrier.sym: ... here.
36418         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36419         * nptl/lowlevelcond.sym: ... here.
36420         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36421         * nptl/lowlevellock.c: ... here.
36422         * nptl/lowlevellock.h: Moved ...
36423         * sysdeps/nptl/lowlevellock.h: ... here.
36424         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36425         * nptl/lowlevelrobustlock.c: ... here.
36426         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36427         * nptl/lowlevelrobustlock.sym: ... here.
36428         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36429         * nptl/lowlevelrwlock.sym: ... here.
36430         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36431         * nptl/pt-fork.c: ... here.
36432         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36433         * nptl/pthread-pi-defines.sym: ... here.
36434         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36435         * nptl/pthread_attr_getaffinity.c: ... here.
36436         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36437         * nptl/pthread_attr_setaffinity.c: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36439         * nptl/pthread_mutex_cond_lock.c: ... here.
36440         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36441         Update #include.
36442         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36443         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36444         * nptl/pthread_once.c: ... here, replacing old file.
36445         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36446         * nptl/pthread_yield.c: ... here.
36447         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36448         * nptl/register-atfork.c: ... here.
36449         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36450         * nptl/sem_post.c: ... here.
36451         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36452         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36453         * nptl/sem_timedwait.c: ... here.
36454         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36455         * nptl/sem_trywait.c: ... here.
36456         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36457         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36458         * nptl/sem_wait.c: ... here.
36459         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36460         * nptl/structsem.sym: ... here.
36461         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36462         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36463         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36464         * nptl/unregister-atfork.c: ... here.
36465         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36466         * nptl/unwindbuf.sym: ... here.
36467         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36468         * sysdeps/nptl/fork.c: ... here.
36469         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36470         * sysdeps/nptl/fork.h: ... here.
36471         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36472         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36473         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36474         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36475         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36476         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36477         * sysdeps/unix/sysv/linux/getpid.c: ... here.
36478         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36479         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36480         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36481         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36482         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36483         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36484         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36485         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36486         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36487         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36488         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36489         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36490         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36491         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36492         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36493         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36494         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36495         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36496         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36497         * sysdeps/unix/sysv/linux/raise.c: ... here.
36498         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36499         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36500         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36501         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36502         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36503         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36504         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36505         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36506         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36507         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36508         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36509         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36510         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36511         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36512         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36514 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36516         * sysdeps/generic/memcopy.h: Add comment for
36517         MEMCPY_OK_FOR_FWD_MEMMOVE.
36519 2014-07-04  Will Newton  <will.newton@linaro.org>
36521         * string/memchr.c: Merge from gnulib.
36522         [_LIBC]: Remove conditionals.
36523         (__ptr_t): Remove define.
36524         (LONG_MAX_32_BITS): Likewise.
36525         (LONG_MAX): Likewise.
36526         (MEMCHR): Use ANSI prototype and optimize algorithm.
36528         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36530 2014-07-03  Roland McGrath  <roland@hack.frob.com>
36532         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36533         (lll_futex_timed_wait_bitset): Fix syscall argument count.
36535         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36536         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36537         in a bare environment with no <stdlib.h> installed.
36538         * sysdeps/nptl/configure: Regenerated.
36540         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36542         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36543         AC_EGREP_CPP for kernel header checks, so they only succeed if
36544         including <linux/version.h> actually works right.
36545         * sysdeps/unix/sysv/linux/configure: Regenerated.
36547         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36548         value so it's not diagnosed as unused.
36550         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36551         thing) with "ifeq ($(subdir),rt)".
36553 2014-07-03  Richard Henderson  <rth@redhat.com>
36555         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36556         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36557         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36559         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36560         (math_force_eval): New.
36562         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36563         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36565         * sysdeps/alpha/fpu/s_round.c: Remove file.
36566         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36568         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36569         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36570         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36571         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36572         (_dl_start, print_statistics): Likewise.
36573         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36574         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36576         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36577         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36578         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36579         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36580         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36581         (HP_SMALL_TIMING_AVAIL): Define.
36582         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36583         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36584         (HP_SMALL_TIMING_AVAIL): Define.
36585         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36586         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36588         * sysdeps/aarch64/hp-timing.h: New file.
36590         * sysdeps/generic/hp-timing.h: Remove dead comment.
36591         * sysdeps/generic/hp-timing-common.h: New file.
36592         * sysdeps/alpha/hp-timing.h: Include it.
36593         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36594         * sysdeps/i386/i686/hp-timing.h: Likewise.
36595         * sysdeps/ia64/hp-timing.h: Likewise.
36596         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36597         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36598         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36599         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36600         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36601         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36602         (hp_timing_t): New.
36604         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36605         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36606         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36607         * elf/rtld.c (_dl_start_final): Likewise.
36608         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36609         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36610         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36611         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36612         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36613         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36614         (HP_TIMING_DIFF_INIT): Remove.
36615         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36616         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36617         (HP_TIMING_DIFF_INIT): Remove.
36618         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36619         * sysdeps/i386/i686/hp-timing.c: Remove file.
36620         * sysdeps/x86_64/hp-timing.c: Remove file.
36621         * sysdeps/ia64/hp-timing.c: Remove file.
36622         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36623         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36624         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36625         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36627         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36628         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36629         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36630         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36631         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36632         (HP_TIMING_ACCUM): Remove.
36633         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36634         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36635         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36637         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36638         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36639         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36640         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36642         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36643         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36644         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36646         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36648 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
36650         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36652 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36654         Sync up with gettext.
36655         * intl/loadmsgcat.c: Define O_BINARY if not defined.
36656         [_MSC_VER]: Include malloc.h
36657         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36658         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36659         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
36660         TEMP_FAILURE_RETRY.  Cast return of alloca.
36661         [!_LIBC] Call gl_rwlock_init.
36662         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36664 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36666         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36667         before checking its value.
36669 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36671         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36673         * debug/memcpy_chk.c: Don't include pagecopy.h.
36674         * debug/mempcpy_chk.c: Likewise.
36675         * string/memcpy.c: Likewise.
36676         * string/memmove.c: Likewise.
36677         * sysdeps/powerpc/memmove.c: Likewise.
36678         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
36679         definition of PAGE_COPY_FWD_MAYBE here...
36680         * sysdeps/generic/pagecopy.h: ... from here.
36681         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36683 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36684             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36686         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36688         optimizations.
36689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36690         (__libc_ifunc_impl_list): Likewise.
36691         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36692         multiarch strcat for PPC64.
36693         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36694         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36696 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36698         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36700 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36702         * intl/loadmsgcat.c: Remove declaration of
36703         get_sysdep_segment_value.
36704         (get_sysdep_segment_value): Use ISO C style.
36705         (_nl_load_domain): Use ISO C style.  Get rid of redundant
36706         semicolon.  Fix typo and formatting in comment.
36707         (_nl_unload_domain): Use ISO C style.
36709         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36711 2014-07-02  Will Newton  <will.newton@linaro.org>
36713         * malloc/obstack.c: Merge from gnulib master.
36714         [HAVE_CONFIG_H]: Remove conditional code.
36715         [!_LIBC]: Include config.h.
36716         [!ELIDE_CODE]: Don't include inttypes.h, include
36717         stdint.h unconditionally.
36718         (print_and_abort): Mark as _Noreturn.
36719         (_obstack_allocated_p): Mark as __attribute_pure__.
36720         (obstack_free): Rename to __obstack_free.
36721         [!__attribute__]: Remove conditional code.
36722         * malloc/obstack.h: Merge from gnulib master.
36723         [__cplusplus]: Move conditional down.
36724         [!__attribute_pure__]: Define __attribute_pure__ here
36725         if it is not already defined.
36726         (_obstack_memory_used): Mark as __attribute_pure__.
36727         [!__obstack_free]: Define as obstack_free.
36728         [__GNUC__]: Remove check for ancient NeXT gcc.
36730 2014-07-02  Will Newton  <will.newton@linaro.org>
36731             Paul Eggert  <eggert@cs.ucla.edu>
36733         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36735 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36737         * resolv/gethnamaddr.c: Add comment warning that the file is
36738         not maintained.
36740 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
36742         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36743         entries.
36745         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36746         entry for aio_cancel and aio_cancel64.
36747         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36748         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36749         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36750         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36751         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36752         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36753         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36754         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36755         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36756         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36757         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36758         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36759         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36761 2014-07-01  Roland McGrath  <roland@hack.frob.com>
36763         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36764         * nptl/pthread_mutex_lock.c: Likewise.
36765         * nptl/pthread_mutex_timedlock.c: Likewise.
36766         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36768 2014-07-01  Richard henderson  <rth@redhat.com>
36770         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36771         (__isnan, __isnanl): Remove.
36772         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36774         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36776 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36778         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36780 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36782         * resolv/nss_dns/dns-host.c (getanswer_r)
36783         [MULTI_PTRS_ARE_ALIASES]: Remove code.
36785 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
36787         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36788         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36789         undefine.
36790         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36791         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36793 2014-07-01  Roland McGrath <roland@hack.frob.com>
36795         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36796         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36798         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36799         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36801         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36802         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36803         ... here.
36804         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36805         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36807         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36808         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36809         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36810         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36812         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36813         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36814         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36815         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36816         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36817         Moved ...
36818         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36819         ... here.
36820         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36821         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36822         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36823         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36824         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36825         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36826         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36827         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36828         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36829         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36830         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36831         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36832         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36833         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36834         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36835         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36836         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36837         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36838         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36839         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36840         ... here.
36841         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36842         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36843         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36844         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36845         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36846         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36847         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36848         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36850 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
36852         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36853         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36854         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36855         Add sysdep.
36857 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36861 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36863         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36864         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36866         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36868         * sysdeps/arm/libm-test-ulps: Regenerated.
36870 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36871             Roland McGrath <roland@hack.frob.com>
36873         * test-skeleton.c (signal_handler): Kill the whole process group
36874         before killing the child individually.
36875         (main): Report any failure on `setpgid'.
36877 2014-06-30  Roland McGrath  <roland@hack.frob.com>
36879         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36880         from _TLS_H to _ARM_NPTL_TLS_H.
36881         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36882         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36884 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36886         [BZ #16539]
36887         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36888         (__expm1l): Return argument unchanged when small but not
36889         subnormal.
36891         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36892         include macro name.
36893         (_FP_UNPACK_RAW_1_P): Likewise.
36894         (_FP_PACK_RAW_1): Likewise.
36895         (_FP_PACK_RAW_1_P): Likewise.
36896         (_FP_MUL_MEAT_1_wide): Likewise.
36897         (_FP_MUL_MEAT_DW_1_hard): Likewise.
36898         (_FP_MUL_MEAT_1_hard): Likewise.
36899         (_FP_DIV_MEAT_1_imm): Likewise.
36900         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36901         (_FP_DIV_MEAT_1_udiv): Likewise.
36902         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36903         (_FP_UNPACK_RAW_2): Likewise.
36904         (_FP_UNPACK_RAW_2_P): Likewise.
36905         (_FP_PACK_RAW_2): Likewise.
36906         (_FP_PACK_RAW_2_P): Likewise.
36907         (_FP_MUL_MEAT_DW_2_wide): Likewise.
36908         (_FP_MUL_MEAT_2_wide): Likewise.
36909         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36910         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36911         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36912         (_FP_MUL_MEAT_2_gmp): Likewise.
36913         (_FP_DIV_MEAT_2_udiv): Likewise.
36914         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36915         (_FP_FRAC_SRL_4): Likewise.
36916         (_FP_FRAC_SRST_4): Likewise.
36917         (_FP_FRAC_SRS_4): Likewise.
36918         (_FP_UNPACK_RAW_4): Likewise.
36919         (_FP_UNPACK_RAW_4_P): Likewise.
36920         (_FP_PACK_RAW_4): Likewise.
36921         (_FP_PACK_RAW_4_P): Likewise.
36922         (_FP_MUL_MEAT_DW_4_wide): Likewise.
36923         (_FP_MUL_MEAT_4_wide): Likewise.
36924         (_FP_MUL_MEAT_4_gmp): Likewise.
36925         (umul_ppppmnnn): Likewise.
36926         (_FP_DIV_MEAT_4_udiv): Likewise.
36927         (__FP_FRAC_ADD_4): Likewise.
36928         (__FP_FRAC_SUB_3): Likewise.
36929         (__FP_FRAC_SUB_4): Likewise.
36930         (__FP_FRAC_DEC_3): Likewise.
36931         (__FP_FRAC_DEC_4): Likewise.
36932         (__FP_FRAC_ADDI_4): Likewise.
36933         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36934         (_FP_FRAC_SRL_8): Likewise.
36935         (_FP_FRAC_SRS_8): Likewise.
36937         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36938         include macro name.
36939         (FP_UNPACK_RAW_EP): Likewise.
36940         (FP_PACK_RAW_E): Likewise.
36941         (FP_PACK_RAW_EP): Likewise.
36942         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36943         (_FP_ISSIGNAN): Likewise.
36944         (_FP_ADD_INTERNAL): Likewise.
36945         (_FP_FMA): Likewise.
36946         (_FP_CMP): Likewise.
36947         (_FP_SQRT): Likewise.
36948         (_FP_TO_INT): Likewise.
36949         (_FP_FROM_INT): Likewise.
36950         (FP_EXTEND): Likewise.
36951         (_FP_DIV_MEAT_N_loop): Likewise.
36953 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36955         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36956         throughout.
36958 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
36960         [BZ #17097]
36961         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36962         result with correct sign in case of exponents that produce
36963         overflow except for X very close to 1.
36965 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
36967         mktime: merge #if/#ifdef usage from glibc
36968         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36969         as that works with both Glibc's and Gnulib's style.
36970         See thread starting at Siddhesh Poyarekar's bug report at:
36971         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36973 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36975         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36976         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36977         * sysdeps/tile/tilegx/memmove.c: Remove file.
36979 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
36981         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36982         abi-name definition.
36983         * scripts/soversions.awk: Do not handle or generate ABI lines.
36984         * shlib-versions: Remove ABI entries.
36985         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36986         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
36988 2014-06-27  Roland McGrath  <roland@hack.frob.com>
36990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
36991         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
36992         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
36993         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
36994         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
36995         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
36996         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
36997         Moved ...
36998         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
36999         ... here.
37000         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37001         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37003         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37004         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37005         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37006         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37007         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37008         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37009         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37011         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37013         Moved ...
37014         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37015         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37016         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37017         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37018         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37020         Moved ...
37021         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37023         Moved ...
37024         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37025         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37026         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37027         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37028         Moved ...
37029         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37031         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37033         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37035         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37036         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37037         Moved ...
37038         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37040         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37041         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37042         Moved ...
37043         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37044         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37045         Moved ...
37046         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37047         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37048         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37049         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37050         Moved ...
37051         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37052         ... here.
37053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37054         Identical file removed.
37055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37056         Moved ...
37057         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37058         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37059         Identical file removed.
37060         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37061         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37062         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37063         Moved ...
37064         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37065         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37066         Identical file removed.
37067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37068         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37070         Identical file removed.
37071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37072         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37073         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37074         Identical file removed.
37075         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37076         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37077         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37078         Identical file removed.
37079         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37080         Moved ...
37081         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37083         Identical file removed.
37084         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37085         Moved ...
37086         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37088         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37089         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37090         Identical file removed.
37091         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37092         Moved ...
37093         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37094         ... here.
37095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37096         Identical file removed.
37097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37098         Moved ...
37099         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37100         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37101         Identical file removed.
37102         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37103         Moved ...
37104         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37105         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37106         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37107         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37108         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37109         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37110         Moved ...
37111         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37112         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37113         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37115         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37116         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37117         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37118         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37119         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37121 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37123         [BZ #17092]
37124         * nscd/nscd.c (monitor_child): Return exit status of child
37125         instead of return value from wait syscall.
37127 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37129         * configure.ac (libc_commonpagesize): Remove variable.
37130         (libc_relro_required): Likewise.
37131         (libc_cv_z_relro): Remove configure test.
37132         * configure: Regenerated.
37133         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37134         variable.
37135         (libc_relro_required): Likewise.
37136         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37137         (libc_relro_required): Likewise.
37138         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37139         (libc_relro_required): Likewise.
37140         * sysdeps/arm/preconfigure: Regenerated.
37141         * sysdeps/ia64/preconfigure: Remove file.
37142         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37143         variable.
37144         (libc_relro_required): Likewise.
37146         [BZ #16561]
37147         [BZ #16562]
37148         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37149         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37150         recompute overflowing results in original rounding mode.
37151         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37152         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37153         recompute overflowing results in original rounding mode.
37154         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37155         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37156         recompute overflowing results in original rounding mode.
37157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37158         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37159         recompute overflowing results in original rounding mode.
37160         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37161         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37162         recompute overflowing results in original rounding mode.
37163         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37164         (libc_feholdsetround_ctx): New macro.
37165         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37166         * sysdeps/i386/fpu/libm-test-ulps: Update.
37167         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37169 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37171         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37172         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37173         corresponding .cpsetup call.
37175 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37177         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37178         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37179         * sysdeps/arm/Makefile [$(subdir) = csu]
37180         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37181         (static-only-routines): Add aeabi_read_tp here.
37182         (shared-only-routines): Add libc-aeabi_read_tp here.
37183         (CFLAGS-libc-start.c): Add -fexceptions here.
37184         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37185         (sysdep_routines, static-only-routines, shared-only-routines):
37186         Don't add to these here.
37187         (CFLAGS-libc-start.c): Likewise.
37189         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37190         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37191         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37192         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37193         * sysdeps/arm/Makefile [$(subdir) = rt]
37194         (librt-sysdep_routines, librt-shared-only-routines):
37195         Append rt-aeabi_unwind_cpp_pr1 here.
37196         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37197         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37198         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37199         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37200         Append nptl-aeabi_unwind_cpp_pr1 here.
37201         (tests): Filter out tst-cleanupx4 here.
37202         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37203         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37204         Don't do those here.
37206 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37208         * scripts/list-sources.sh: Do not handle ports specially.
37210 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37212         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37213         * sysdeps/arm/feupdateenv.c: Likewise.
37215         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37217 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37219         * manual/texinfo.tex: Update to version 2014-05-05.10 with
37220         trailing whitespace removed.
37221         * scripts/config.guess: Update to version 2014-03-23.
37222         * scripts/config.sub: Update to version 2014-05-01
37223         * scripts/install-sh: Update to version 2013-12-25.23.
37224         * scripts/move-if-change: Update from gnulib.
37226 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37228         * debug/memmove_chk.c: Remove pagecopy.h include.
37230 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
37232         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
37233         identical to gnulib mktime.
37235 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37237         * configure.ac: Do not test for machine being rs6000.  Do not test
37238         for powerpc*-*soft.
37239         * configure: Regenerated.
37241         [BZ #11505]
37242         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37243         test.
37244         * configure: Regenerated.
37245         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37246         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37247         Remove configure test.
37248         * sysdeps/arm/configure: Regenerated.
37249         * sysdeps/nptl/configure.ac: Do not check
37250         libc_cv_asm_cfi_directives.
37251         * sysdeps/nptl/configure: Regenerated.
37252         * sysdeps/x86_64/nptl/configure.ac: Remove file.
37253         * sysdeps/x86_64/nptl/configure: Remove generated file.
37254         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37255         unconditional.
37256         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37258 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37260         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37261         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37262         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37263         it is defined.
37265         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37266         instead of whether it is defined.
37267         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37268         * sysdeps/hppa/dl-machine.h: Likewise.
37269         * sysdeps/ia64/dl-machine.h: Likewise.
37270         * sysdeps/m68k/dl-machine.h: Likewise.
37271         * sysdeps/microblaze/dl-machine.h: Likewise.
37272         * sysdeps/mips/dl-machine.: Likewise.
37273         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37274         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37275         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37276         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37277         * sysdeps/sh/dl-machine.h: Likewise.
37278         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37279         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37280         * sysdeps/tile/dl-machine.h: Likewise.
37281         * sysdeps/x86_64/dl-machine.h: Likewise.
37283         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37284         code.
37285         (verify_persistent_db): Likewise.
37287 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37290         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37292         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37294         Moved ...
37295         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37296         ... here.
37297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37298         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37300         Identical file removed.
37301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37302         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37304         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37306         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37308         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37309         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37310         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37312         Moved ...
37313         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37315         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37317         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37319         Moved ...
37320         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37322         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37324         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37326         Identical file removed.
37327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37328         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37330         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37332         Moved ...
37333         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37334         ... here.
37335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37336         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37338         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37340         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37342         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37343         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37344         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37345         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37346         Moved ...
37347         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37349         Moved ...
37350         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37351         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37352         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37354         Moved ...
37355         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37357         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37359         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37360         folded into ...
37361         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37362         * sysdeps/unix/sysv/linux/s390/Versions
37363         (libpthread: GLIBC_2.19): New version set.
37364         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37365         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37366         (librt: GLIBC_2.3.3): New version set.
37367         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37368         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37369         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37370         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37371         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37372         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37373         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37374         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37375         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37376         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37377         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37378         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37379         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37380         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37381         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37382         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37383         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37384         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37385         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37386         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37387         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37388         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37389         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37390         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37391         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37392         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37393         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37394         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37395         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37396         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37397         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37398         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37399         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37401         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37402         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37403         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37404         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37405         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37406         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37407         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37408         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37409         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37410         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37411         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37413         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37414         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37415         (__libc_vfork): Define the function under this name.
37416         [!NOT_IN_libc] (__vfork): Make this an alias.
37417         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37418         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37419         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37420         (__libc_vfork): Define the function under this name.
37421         [!NOT_IN_libc] (__vfork): Make this an alias.
37422         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37423         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37424         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37426         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37427         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37429         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37430         code that was previously under [RESET_PID].
37431         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37432         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37433         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37435         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37436         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37437         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37438         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37439         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37440         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37441         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37442         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37443         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37444         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37445         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37446         Moved ...
37447         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37448         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37449         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37450         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37451         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37452         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37453         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37454         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37455         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37456         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37457         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37458         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37459         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37460         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37461         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37462         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37463         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37464         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37465         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37466         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37467         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37468         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37469         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37470         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37471         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37472         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37473         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37474         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37475         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37477 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37479         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37480         that was previously under [RESET_PID].
37481         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37483 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37485         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37486         not undefine and redefine.
37487         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37488         [O_CLOEXEC]: Make code unconditional.
37489         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37490         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37491         <kernel-features.h>.
37492         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37493         conditional variable definition.
37494         (shm_open) [O_CLOEXEC]: Make code unconditional.
37495         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37496         code.
37498         * configure.ac (USE_REGPARMS): Don't define here.
37499         * configure: Regenerated.
37500         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37501         * sysdeps/i386/configure: Regenerated.
37503         * nptl/createthread.c: Don't include kernel-features.h.
37504         * nptl/pthread_cancel.c: Likewise.
37505         * nptl/pthread_condattr_setclock.c: Likewise.
37506         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37507         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37508         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37509         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37510         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37511         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37512         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37513         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37514         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37515         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37516         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37517         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37518         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37519         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37520         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37521         * nscd/gai.c: Likewise.
37522         * nss/nss_db/db-open.c: Likewise.
37523         * sysdeps/generic/ldsodefs.h: Likewise.
37524         * sysdeps/sh/nptl/tls.h: Likewise.
37525         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37526         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37527         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37528         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37529         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37530         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37531         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37532         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37533         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37534         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37535         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37536         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37537         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37538         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37539         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37540         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37541         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37542         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37543         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37544         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37546         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37547         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37548         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37549         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37550         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37551         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37552         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37553         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37554         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37555         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37556         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37557         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37558         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37559         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37560         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37561         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37562         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37563         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37564         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37565         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37566         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37567         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37568         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37569         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37570         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37571         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37572         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37573         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37574         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37575         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37576         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37577         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37578         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37579         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37580         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37581         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37582         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37605         * sysdeps/unix/sysv/linux/pread.c: Likewise.
37606         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37607         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37608         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37609         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37610         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37611         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37612         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37613         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37614         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37615         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37616         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37617         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37618         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37619         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37620         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37621         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37622         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37623         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37624         * sysdeps/unix/sysv/linux/system.c: Likewise.
37625         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37626         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37627         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37628         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37629         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37630         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37631         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37633         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37634         * configure: Regenerated.
37635         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37637         * configure.ac (base_machine): Do not set specially for particular
37638         machines here.
37639         * configure: Regenerated.
37640         * sysdeps/powerpc/preconfigure: Move machine and base_machine
37641         settings from configure.ac.
37642         * sysdeps/i386/preconfigure: New file.
37643         * sysdeps/s390/preconfigure: Likewise.
37644         * sysdeps/sh/preconfigure: Likewise.
37645         * sysdeps/sparc/preconfigure: Likewise.
37647 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37649         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37650         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37651         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37652         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37653         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37654         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37655         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37656         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37657         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37658         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37659         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37660         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37661         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37662         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37663         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37664         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37666         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37667         * sysdeps/sparc/sparc64/Makefile: ... appended here.
37669         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37670         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37671         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37672         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37673         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37674         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37675         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37676         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37677         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37678         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37679         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37680         * sysdeps/sparc/sparc32/sem_post.c: ... here.
37681         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37682         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37683         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37684         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37685         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37686         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37687         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37688         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37689         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37690         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37691         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37692         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37693         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37694         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37696         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37697         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37698         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37699         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37700         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37701         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37702         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37703         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37704         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37705         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37706         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37709         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37711         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37713         Moved ...
37714         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37715         ... here.
37716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37717         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37719         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37721         Moved ...
37722         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37723         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37724         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37725         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37726         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37727         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37728         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37730         Moved ...
37731         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37733         Moved ...
37734         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37736         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37738         Moved ...
37739         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37741         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37742         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37743         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37745         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37746         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37747         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37749         Moved ...
37750         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37751         ... here.
37752         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37753         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37754         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37755         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37757         Moved ...
37758         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37760         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37762         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37764         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37766         Moved ...
37767         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37769         Moved ...
37770         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37772         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37774         Moved ...
37775         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37777         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37778         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37779         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37781 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37783         * timezone/checktab.awk: Update from tzcode 2014e.
37784         * timezone/private.h: Likewise.
37785         * timezone/tzfile.h: Likewise.
37786         * timezone/zdump.c: Likewise.
37787         * timezone/zic.c: Likewise.
37789         * sysdeps/unix/sysv/linux/kernel-features.h
37790         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37791         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37792         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37793         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37794         Remove conditional code.
37796 2014-06-25  Will Newton  <will.newton@linaro.org>
37798         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37799         (_dl_arm_cap_flags): Add HWCAP2 values.
37800         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37801         (_DL_HWCAP_COUNT): Increase to 37.
37802         (_DL_HWCAP_LAST): New define.
37803         (_DL_HWCAP2_LAST): New define.
37804         (_dl_procinfo): Add support for printing
37805         AT_HWCAP2 entries.
37806         (_dl_string_hwcap): Use _dl_hwcap_string.
37808 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37812 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37814         * README: Do not mention ports directory.
37816         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37817         Remove macro.
37818         * sysdeps/unix/sysv/linux/futimes.c: Do not include
37819         <kernel-features.h>.
37820         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37821         conditional variable definition.
37822         (__futimes): Update comment.
37823         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37824         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37826         [BZ #16560]
37827         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37828         arguments close to 0.
37829         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37830         Likewise.
37831         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37832         Likewise.
37833         * math/auto-libm-test-in: Add more tests of exp10.
37834         * math/auto-libm-test-out: Regenerated.
37835         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37837         * sysdeps/unix/sysv/linux/kernel-features.h
37838         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37839         * sysdeps/unix/sysv/linux/readv.c: Do not include
37840         <kernel-features.h>.
37841         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37842         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37843         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37844         unconditional.
37845         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37846         conditional code.
37847         * sysdeps/unix/sysv/linux/writev.c: Do not include
37848         <kernel-features.h>.
37849         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37850         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37851         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37852         unconditional.
37853         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37854         conditional code.
37856 2014-06-25  Will Newton  <will.newton@linaro.org>
37858         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37859         comment changes throughout the file.  Remove checks
37860         for HAVE_*_H definitions that are not required.
37861         (__gen_tempname): Call abort if an unknown kind value is
37862         passed.
37864 2014-06-25  Andreas Schwab  <schwab@suse.de>
37866         [BZ #17086]
37867         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37868         scalbln, scalblnf, scalblnl in libc.
37870 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37872         [BZ #17086]
37873         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37874         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37875         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37877 2014-06-24  Roland McGrath  <roland@hack.frob.com>
37879         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37880         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37881         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37882         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37883         Update #include.
37884         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37885         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37886         Update #include.
37887         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37888         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37889         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37890         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37891         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37892         * sysdeps/x86/bits/pthreadtypes.h: ... here.
37893         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37894         * sysdeps/x86/bits/semaphore.h: ... here.
37895         * sysdeps/x86/nptl/elide.h: Moved ...
37896         * sysdeps/x86/elide.h: ... here.
37897         * sysdeps/x86_64/nptl/Implies: File removed.
37898         * sysdeps/i386/nptl/Implies: File removed.
37900 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
37902         [BZ #16539]
37903         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37904         return the argument for normal arguments with exponent below -64.
37905         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37906         Likewise.
37907         * math/auto-libm-test-in: Add another test of expm1.
37908         * math/auto-libm-test-out: Regenerated.
37910         [BZ #16287]
37911         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37912         calling __erfcl for arguments at least 16.
37913         * math/auto-libm-test-in: Add more tests of erf.
37914         * math/auto-libm-test-out: Regenerated.
37916         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37917         individual architectures.
37918         * sysdeps/unix/sysv/linux/configure: Regenerated.
37919         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37920         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37921         * sysdeps/unix/sysv/linux/powerpc/configure.ac
37922         (ldd_rewrite_script): Define variable.
37923         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37925         file.
37926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37927         generated file.
37928         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37929         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37930         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37931         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37932         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37933         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37934         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37935         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37937 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37939         [BZ #17084]
37940         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37941         Rename member __data.d to __data.__elision_data.
37943 2014-06-24  Wilco  <wdijkstr@arm.com>
37945         * NEWS: Add 16918 to fixed bug list.
37947 2014-06-24  Wilco  <wdijkstr@arm.com>
37949         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37951 2014-06-24  Wilco  <wdijkstr@arm.com>
37953         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37954         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37955         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37956         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37957         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37958         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37959         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37960         Use _FPU_MASK_RM.
37962 2014-06-24  Wilco  <wdijkstr@arm.com>
37964         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37966 2014-06-24  Wilco  <wdijkstr@arm.com>
37968         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37969         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37970         * sysdeps/arm/fesetround.c (fesetround): Remove space.
37971         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37973 2014-06-24  Wilco  <wdijkstr@arm.com>
37975         [BZ #16918]
37976         * sysdeps/arm/feupdateenv.c (feupdateenv):
37977         Rewrite to reduce FPSCR accesses and fix return value.
37979 2014-06-24  Wilco  <wdijkstr@arm.com>
37981         * sysdeps/arm/fclrexcpt.c (feclearexcept):
37982         Optimize to avoid unnecessary FPSCR writes.
37983         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37984         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37985         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37986         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
37988 2014-06-24  Wilco  <wdijkstr@arm.com>
37990         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
37991         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
37992         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
37993         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
37994         Call libc_fetestexcept_vfp.
37995         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
37996         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
37997         __SOFTFP__ ifdef so that they can be built for softfp.
37999 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38001         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38002         argument type signed char.
38004         * Makerules (check-abi): Dump diff of symlist if the test
38005         fails.
38007 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38009         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38010         using abort.
38012         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38013         Remove unused variable ST.
38015 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38017         [BZ #16354]
38018         [BZ #17061]
38019         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38020         small arguments before calling __expm1.
38021         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38022         small arguments before calling __expm1f.
38023         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38024         small arguments before calling __expm1l.
38025         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38026         Likewise.
38027         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38028         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38029         spurious underflow for some cosh tests.
38030         * math/auto-libm-test-out: Regenerated.
38031         * sysdeps/i386/fpu/libm-test-ulps: Update.
38033         [BZ #17050]
38034         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38035         (__ieee754_y1): Set errno if return value overflows.
38036         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38037         (__ieee754_y1f): Set errno if return value overflows.
38038         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38039         (__ieee754_y1l): Set errno if return value overflows.
38040         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38041         (__ieee754_y1l): Set errno if return value overflows.
38042         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38043         * math/auto-libm-test-out: Regenerated.
38045         * math/gen-auto-libm-tests.c: Document use of
38046         ignore-zero-inf-sign.
38047         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38048         (input_flags): Add ignore-zero-inf-sign.
38049         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38050         * math/gen-libm-test.pl (generate_testfile): Handle
38051         ignore-zero-inf-sign.
38052         * math/auto-libm-test-in: Mark some cpow tests with
38053         ignore-zero-inf-sign and some with xfail-rounding.
38054         * math/auto-libm-test-out: Regenerated.
38055         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38056         * sysdeps/i386/fpu/libm-test-ulps: Update.
38057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38059         [BZ #16315]
38060         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38061         overflowing or underflowing operations take place with sign of
38062         result.
38063         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38064         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38065         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38066         (__ieee754_pow): Recompute overflowing and underflowing results in
38067         original rounding mode.
38068         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38069         (__powl_helper): Allow negative argument X and scale negated value
38070         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38071         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38072         overflowing or underflowing operations take place with sign of
38073         result.
38074         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38075         Include <math.h>.
38076         * math/auto-libm-test-in: Add more tests of pow.
38077         * math/auto-libm-test-out: Regenerated.
38078         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38079         (pow_tonearest_test_data): Remove.
38080         (pow_test_tonearest): Likewise.
38081         (pow_towardzero_test_data): Likewise.
38082         (pow_test_towardzero): Likewise.
38083         (pow_downward_test_data): Likewise.
38084         (pow_test_downward): Likewise.
38085         (pow_upward_test_data): Likewise.
38086         (pow_test_upward): Likewise.
38087         (main): Don't call removed functions.
38088         * sysdeps/i386/fpu/libm-test-ulps: Update.
38089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38091 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38094         Moved ...
38095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38097         Moved ...
38098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38100         Moved ...
38101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38103         Moved ...
38104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38106         File removed.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38108         File removed.
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38110         File removed.
38111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38112         File removed.
38113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38114         File removed.
38115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38116         File removed.
38117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38118         File removed.
38119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38120         File removed.
38121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38122         File removed.
38123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38124         File removed.
38125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38126         File removed.
38127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38128         File removed.
38129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38130         Moved ...
38131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38133         Moved ...
38134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38135         ... here.
38136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38137         Moved ...
38138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38140         Moved ...
38141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38143         Moved ...
38144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38146         Moved ...
38147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38149         Moved ...
38150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38152         Moved ...
38153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38155         Moved ...
38156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38159         ... here.
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38161         Moved ...
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38164         Moved ...
38165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38166         ... here.
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38168         Moved ...
38169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38170         ... here.
38171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38172         Moved ...
38173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38174         ... here.
38175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38176         Moved ...
38177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38179         Moved ...
38180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38184         Moved ...
38185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38186         ... here.
38187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38188         Moved ...
38189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38190         ... here.
38191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38192         Moved ...
38193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38195         Moved ...
38196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38198         Moved ...
38199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38201         Moved ...
38202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38204         Moved ...
38205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38206         ... here.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38208         Moved ...
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38211         Moved ...
38212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38214         Moved ...
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38217         Moved ...
38218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38222         Moved ...
38223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38225         Moved ...
38226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38228         Moved ...
38229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38230         ... here.
38231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38232         Moved ...
38233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38234         ... here.
38235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38236         Moved ...
38237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38238         ... here.
38239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38240         Moved ...
38241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38243         Moved ...
38244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38246         Moved ...
38247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38249         Moved ...
38250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38251         ... here.
38252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38253         Moved ...
38254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38255         ... here.
38256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38257         Moved ...
38258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38259         ... here.
38260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38261         Moved ...
38262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38264         Moved ...
38265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38267 2014-06-23  Will Newton  <will.newton@linaro.org>
38268             Wilco  <wdijkstr@arm.com>
38270         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38271         implementation.  Include get-rounding-mode.h.
38272         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38273         [!libc_feholdsetround_noex_ctx]: Define
38274         libc_feholdsetround_noex_ctx.
38275         [!libc_feholdsetround_noexf_ctx]: Define
38276         libc_feholdsetround_noexf_ctx.
38277         [!libc_feholdsetround_noexl_ctx]: Define
38278         libc_feholdsetround_noexl_ctx.
38279         (libc_feholdsetround_ctx): New function.
38280         (libc_feresetround_ctx): New function.
38281         (libc_feholdsetround_noex_ctx): New function.
38282         (libc_feresetround_noex_ctx): New function.
38284 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38286         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38287         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38288         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38289         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38290         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38291         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38293         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38294         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38295         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38296         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38297         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38298         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38299         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38300         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38301         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38302         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38303         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38304         Moved ...
38305         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38306         ... here.
38307         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38308         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38309         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38310         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38312         Moved ...
38313         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38314         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38315         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38316         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38317         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38318         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38319         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38321         Moved ...
38322         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38323         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38324         Moved ...
38325         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38326         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38327         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38329         Moved ...
38330         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38331         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38332         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38333         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38334         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38335         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38336         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38337         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38338         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38339         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38340         Moved ...
38341         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38342         ... here.
38343         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38344         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38346         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38347         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38348         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38349         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38350         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38351         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38352         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38353         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38354         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38355         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38356         Moved ...
38357         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38359         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38361         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38362         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38363         Moved ...
38364         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38365         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38366         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38367         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38368         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38370         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38371         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38372         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38373         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38374         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38375         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38376         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38377         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38378         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38379         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38380         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38381         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38382         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38383         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38384         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38385         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38386         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38387         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38388         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38389         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38390         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38391         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38392         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38393         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38394         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38395         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38396         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38397         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38399 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38401         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38402         (FALLOC_FL_COLLAPSE_RANGE): New macro.
38403         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38404         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38405         (IPV6_PMTUDISC_INTERFACE): Likewise.
38406         (IPV6_PMTUDISC_OMIT): Likewise.
38408 2014-06-23  Andreas Schwab  <schwab@suse.de>
38410         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38411         Remove unused errout label.
38413 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38415         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38416         macro: hardware supports Vector Crypto instructions.
38418 2014-06-23  Will Newton  <will.newton@linaro.org>
38420         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38421         rather than __builtin_expect.
38423         * elf/dl-lookup.c (undefined_msg): Remove variable.
38424         (_dl_lookup_symbol_x): Replace undefined_msg with string
38425         literal.
38427         * elf/dl-lookup.c (do_lookup_unique): New function.
38428         (do_lookup_x): Move STB_GNU_UNIQUE handling code
38429         to a separate function.
38431 2014-06-23  Andreas Schwab  <schwab@suse.de>
38433         [BZ #17079]
38434         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38435         before reading the next line.
38437 2014-06-23  Will Newton  <will.newton@linaro.org>
38439         * test-skeleton.c (signal_handler): Use printf and %m
38440         rather than perror.  Use printf rather than fprintf to
38441         stderr.  Use puts rather than fputs to stderr.
38442         (main): Likewise.
38444 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
38446         * nscd/nscd.c (thread_info_t): Remove typedef.
38447         (thread_info): Remove variable.
38449 2014-06-21  Allan McRae  <allan@archlinux.org>
38451         * NEWS: Mention CVE-2014-4043.
38453 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38455         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38456         * nptl/smp.h: ... here.
38458         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38460         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38461         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38462         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38463         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38465         * nptl/allocatestack.c: Include <stack-aliasing.h>.
38466         * nptl/stack-aliasing.h: New file.
38467         * sysdeps/i386/i686/stack-aliasing.h: New file.
38468         * sysdeps/i386/i686/nptl/Makefile: File removed.
38469         * sysdeps/x86_64/stack-aliasing.h: New file.
38470         * sysdeps/x86_64/nptl/Makefile
38471         (CFLAGS-pthread_create.c): Variable removed.
38473         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38474         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38475         old file.
38476         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38477         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38478         old file.
38480 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
38482         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38483         (__ASSUME_SIGFRAME_V2): Remove macro.
38484         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38485         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38486         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38487         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38488         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38489         Declare as function.  Remove conditional macro definitions.
38490         (__default_rt_sa_restorer): Likewise.
38491         (__default_sa_restorer_v1): Remove declaration.
38492         (__default_sa_restorer_v2): Likewise.
38493         (__default_rt_sa_restorer_v1): Likewise.
38494         (__default_rt_sa_restorer_v2): Likewise.
38495         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38496         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38497         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38499 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38501         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38502         (libpthread-routines): Add sysdep.
38503         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38504         * sysdeps/unix/sysv/linux/sparc/Versions
38505         (libpthread: GLIBC_2.3.3): New version set.
38506         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38507         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38508         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38509         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38510         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
38511         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38512         Moved ...
38513         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38514         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38515         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38516         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38517         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38518         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38519         * sysdeps/sparc/nptl/sem_init.c: ... here.
38520         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38521         * sysdeps/sparc/nptl/sem_post.c: ... here.
38522         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38523         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38524         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38525         * sysdeps/sparc/nptl/sem_wait.c: ... here.
38526         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38527         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38528         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38529         (libpthread-routines): Add cpu_relax.
38530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38531         File removed.
38532         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38533         (librt: GLIBC_2.3.3): New version set.
38534         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38535         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38536         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38537         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38538         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38539         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38540         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38541         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38542         Moved ...
38543         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38545         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38547         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38549         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38551         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38553         Moved ...
38554         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38555         Update #include.
38556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38557         Moved ...
38558         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38559         Update #include.
38560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38561         Moved ...
38562         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38563         Update #include.
38564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38565         Moved ...
38566         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38567         Update #include.
38568         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38569         Moved ...
38570         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38571         Update #include.
38572         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38573         Moved ...
38574         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38575         Update #include.
38576         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38577         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38578         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38579         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38580         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38581         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38582         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38583         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38584         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38585         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38586         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38587         Moved ...
38588         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38590         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38592         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38594 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38596         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38597         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38598         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38599         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38600         * nscd/nscd.c: Likewise.
38601         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38602         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38603         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38604         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38606         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38607         <kernel-features.h>.
38608         (init_mq_netlink): Remove conditional have_sock_cloexec
38609         definitions.  Remove code conditional on have_sock_cloexec < 0.
38610         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38611         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38612         * sysdeps/unix/sysv/linux/opensock.c: Do not include
38613         <kernel-features.h>.
38614         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38615         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38617 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38620         Add tests for memset_chk and memset.
38622         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38623         with AVX2_Usable.
38625 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38627         [BZ #16046]
38628         * elf/tst-dl-iter-static.c: New file.
38629         * elf/Makefile (tests-static): Add tst-dl-iter-static.
38631         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38632         error.
38634 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38636         * sysdeps/unix/sysv/linux/kernel-features.h
38637         (__ASSUME_F_GETOWN_EX): Remove macro.
38638         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38639         <kernel-features.h>.
38640         (miss_F_GETOWN_EX): Remove variable or macro.
38641         (do_fcntl): Do not check miss_F_GETOWN_EX.
38642         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38644         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38645         Remove macro.
38646         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38647         [!__ASSUME_AT_RANDOM]: Remove conditional code.
38648         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38650         * sysdeps/unix/sysv/linux/kernel-features.h
38651         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38652         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38653         [ADJ_OFFSET_SS_READ]: Make code unconditional.
38654         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38656 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38658         [BZ #17075]
38659         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38660         Fix calculation of the symbol's value.
38661         * sysdeps/arm/tst-armtlsdescloc.c: New file.
38662         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38663         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38664         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38665         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38666         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38667         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38668         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38669         (modules-names): Add `tst-armtlsdescmod',
38670         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38671         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38672         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38673         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38674         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38675         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38676         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38677         ($(objpfx)tst-armtlsdescloc): New dependency.
38678         ($(objpfx)tst-armtlsdescextnow): Likewise.
38679         ($(objpfx)tst-armtlsdescextlazy): Likewise.
38680         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38681         TLS scheme support.
38682         * sysdeps/arm/configure: Regenerate.
38684 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38686         * include/fcntl.h (__atfct_seterrno): Remove prototype.
38687         (__atfct_seterrno_2): Likewise.
38688         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38689         <kernel-features.h>.
38690         (__ASSUME_ATFCTS): Do not undefine and redefine.
38691         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38692         (__have_atfcts): Remove conditional definition.
38693         (__fxstatat([__NR_fstatat64]: Make code unconditional.
38694         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38695         unreachable if [__ASSUME_ATFCTS].
38696         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38697         not undefine and redefine.
38698         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38699         <kernel-features.h>.
38700         (faccessat) [__NR_faccessat]: Make code unconditional.
38701         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38702         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38703         <kernel-features.h>.
38704         (fchmodat) [__NR_fchmodat]: Make code unconditional.
38705         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38706         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38707         <kernel-features.h>.
38708         (fchownat) [__NR_fchownat]: Make code unconditional.
38709         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38710         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38711         <kernel-features.h>.
38712         (futimesat) [__NR_futimesat]: Make code unconditional.
38713         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38714         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38715         <kernel-features.h>.
38716         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38717         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38718         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38719         <kernel-features.h>.
38720         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38721         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38722         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38723         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38724         <kernel-features.h>.
38725         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38726         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38727         * sysdeps/unix/sysv/linux/linkat.c: Do not include
38728         <kernel-features.h>.
38729         (linkat) [__NR_linkat]: Make code unconditional.
38730         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38731         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38732         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38733         <kernel-features.h>.
38734         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38735         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38736         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38737         <kernel-features.h>.
38738         (mkdirat) [__NR_mkdirat]: Make code unconditional.
38739         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38740         * sysdeps/unix/sysv/linux/openat.c: Do not include
38741         <kernel-features.h>.
38742         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38743         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38744         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38745         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38746         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38747         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38748         <kernel-features.h>.
38749         (readlinkat) [__NR_readlinkat]: Make code unconditional.
38750         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
38751         result of INLINE_SYSCALL directly, not via int variable.
38752         * sysdeps/unix/sysv/linux/renameat.c: Do not include
38753         <kernel-features.h>.
38754         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38755         (renameat) [__NR_renameat]: Make code unconditional.
38756         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38757         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38758         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38759         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38760         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38761         (__ASSUME_ATFCTS): Do not undefine and redefine.
38762         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38763         <kernel-features.h>.
38764         (symlinkat) [__NR_symlinkat]: Make code unconditional.
38765         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38766         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38767         <kernel-features.h>.
38768         (unlinkat) [__NR_unlinkat]: Make code unconditional.
38769         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38770         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38771         (__ASSUME_ATFCTS): Do not undefine and redefine.
38772         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38773         <kernel-features.h>.
38774         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38775         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38776         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38777         <kernel-features.h>.
38778         (__xmknodat) [__NR_mknodat]: Make code unconditional.
38779         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38781 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38783         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38785 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
38787         [BZ #17069]
38788         * posix/regcomp.c (parse_reg_exp): Deallocate partially
38789         constructed tree before returning error.
38790         * posix/bug-regexp36.c: Expand test case.
38792 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38794         [BZ #6803]
38795         * math/libm-test.inc (scalbln_test_date):
38796         Add errno expectations.
38797         * math/w_scalblnf.c: New File.
38798         Add wrapper which checks for setting errno to ERANGE.
38799         Add weak_alias for corresponding scalbln function.
38800         * math/w_scalbln.c: Likewise.
38801         * math/w_scalblnl.c: Likewise.
38802         * math/Makefile (libm-calls): Add w_scalbln.
38803         * sysdeps/ieee754/flt-32/s_scalblnf.c:
38804         Remove weak_alias for corresponding scalbln function.
38805         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38806         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38807         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38808         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38809         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38810         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38811         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38812         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38813         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38814         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38815         Remove long_double_symbol for scalblnl function in libm, libc.
38816         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38817         Add wrapper which checks for setting errno to ERANGE.
38818         Add long_double_symbol for scalblnl function in libm, libc.
38819         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38820         Remove long_double_symbol for scalblnl in libm.
38821         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38822         Add wrapper which checks for setting errno to ERANGE.
38823         Add long_double_symbol for scalblnl function in libm.
38824         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38825         Do not use wrapper because of own implementation.
38827 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
38829         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38830         3 bytes for __pad1 for x32.
38831         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38833 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
38834             H.J. Lu  <hongjiu.lu@intel.com>
38836         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38837         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38838         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38839         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38840         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38842 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
38844         [BZ #17069]
38845         * posix/regcomp.c (parse_expression): Deallocate partially
38846         constructed tree before returning error.
38847         * posix/Makefile.c (tests): Add bug-regex36.
38848         (generated): Add bug-regex36.mtrace.
38849         (tests-special): Add $(objpfx)bug-regex36-mem.out
38850         (bug-regex36-ENV): New variable.
38851         ($(objpfx)bug-regex36-mem.out): New rule.
38852         * posix/bug-regex36.c: New file.
38854 2014-06-19  Will Newton  <will.newton@linaro.org>
38856         * malloc/malloc.c (systrim): If extra is zero then return
38857         early.
38859 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38861         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38863 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
38865         * sysdeps/aarch64/strchr.S: New file.
38867 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38869         [BZ #17022]
38870         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38871         from arguments -2 or below.
38872         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38873         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38875 2014-06-18  Andreas Schwab  <schwab@suse.de>
38877         [BZ #17062]
38878         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38879         of a bracket expr not to run off the end of the string.
38880         * posix/Makefile (tests): Add tst-fnmatch3.
38881         * posix/tst-fnmatch3.c: New file.
38883 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38885         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38886         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38887         [$(cross-compiling) = no]: Likewise.
38888         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38889         [$(cross-compiling) = no]: Likewise.
38891 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38893         [BZ #17031]
38894         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38895         double, adjusted for any remainder from the high double.
38896         * math/libm-test.inc (nearbyint): Add tests.
38897         (rint): Likewise.
38899 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38901         * nptl/sysdeps/powerpc/Makefile: Moved ...
38902         * sysdeps/powerpc/nptl/Makefile: ... here.
38903         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38904         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38905         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38906         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38907         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38908         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38909         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38910         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38911         * nptl/sysdeps/powerpc/tls.h: Moved ...
38912         * sysdeps/powerpc/nptl/tls.h: ... here.
38914 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
38916         [BZ #16681]
38917         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38918         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38919         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38920         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38921         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38922         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38923         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38924         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38925         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38927 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
38929         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38931 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
38933         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38934         defined operator.
38936         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38937         $TIMEOUTFACTOR.
38939 2014-06-16  Florian Weimer  <fweimer@redhat.com>
38941         [BZ #17058]
38942         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38943         non-executed part of the test.
38945 2014-06-16  Andreas Schwab  <schwab@suse.de>
38947         * string/bits/string2.h (strdup, strndup): Update feature guard.
38949 2014-06-14  David S. Miller  <davem@davemloft.net>
38951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38953 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
38955         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38956         that was previously under [RESET_PID].
38957         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38959         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38960         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38961         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38962         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38963         (__libc_vfork): New strong alias.
38964         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38966 2014-06-14 Andi Kleen  <ak@linux.intel.com>
38968         * sysdeps/generic/elide.h: New file.
38970 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38972         * Makefile (installed-headers): Adjust path of pthread.h header.
38974 2014-06-13  Roland McGrath  <roland@hack.frob.com>
38976         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38977         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38978         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38979         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38981         * nptl/sysdeps/s390/Makefile: Moved ...
38982         * sysdeps/s390/nptl/Makefile: ... here.
38983         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38984         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38985         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38986         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
38987         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
38988         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
38989         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
38990         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
38991         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
38992         * sysdeps/s390/nptl/pthreaddef.h: ... here.
38993         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38994         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
38995         * nptl/sysdeps/s390/tls.h: Moved ...
38996         * sysdeps/s390/nptl/tls.h: ... here.
38998         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
38999         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39001 2014-06-13  David S. Miller  <davem@davemloft.net>
39003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39005         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39006         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39007         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39009         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39010         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39011         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39012         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39013         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39014         Remove RESET_PID cpp guards.
39015         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39016         Remove RESET_PID cpp guards.
39017         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39019 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39021         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39022         __sp to uintptr_t.
39024 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39026         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39027         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39028         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39029         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39030         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39031         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39032         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39033         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39034         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39035         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39036         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39037         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39038         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39039         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39040         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39041         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39042         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39043         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39044         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39045         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39047         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39048         (pthread_rwlock_rdlock): Add elision.
39049         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39050         (pthread_rwlock_wrlock): Add elision.
39051         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39052         (pthread_rwlock_trywrlock): Add elision.
39053         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39054         (pthread_rwlock_tryrdlock): Add elision.
39055         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39056         (pthread_rwlock_tryrdlock): Add elision unlock.
39057         * nptl/sysdeps/pthread/pthread.h:
39058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39059         (PTHREAD_RWLOCK_INITIALIZER,
39060         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39061         Handle new elision field.
39062         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39063         * sysdeps/arm/nptl/bits/pthreadtypes.h
39064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39065         * sysdeps/sh/nptl/bits/pthreadtypes.h
39066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39067         * sysdeps/tile/nptl/bits/pthreadtypes.h
39068         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39069         * sysdeps/a/nptl/bits/pthreadtypes.h
39070         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39071         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39072         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39073         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39074         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39075         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39076         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39077         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39078         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39079         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39080         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39081         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39082         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39083         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39084         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39085         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39086         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39087         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39088         (elision_init): Set try_xbegin to zero when no RTM.
39089         * sysdeps/x86/nptl/bits/pthreadtypes.h
39090         (pthread_rwlock_t): Change __pad1 to __rwelision.
39091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39093 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39095         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39096         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39097         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39098         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39100 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39102         [BZ #16996]
39103         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39104         that the cached result has been set before returning it.
39106 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39108         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39109         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39110         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39111         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39112         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39113         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39115         * nptl/sysdeps/sparc/Makefile: Moved ...
39116         * sysdeps/sparc/nptl/Makefile: ... here.
39117         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39118         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39119         * nptl/sysdeps/sparc/tls.h: Moved ...
39120         * sysdeps/sparc/nptl/tls.h: ... here.
39121         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39122         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39123         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39124         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39125         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39126         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39127         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39128         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39129         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39130         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39131         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39132         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39133         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39134         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39135         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39136         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39137         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39138         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39139         Update #include.
39140         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39141         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39142         Update #include.
39143         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39144         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39145         Update #include.
39146         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39147         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39148         Update #include.
39150         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39152         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39153         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39155         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39156         (struct list_links): Type removed.
39157         (struct thread_node, struct timer_node): Replace struct list_links
39158         with struct list_head.
39159         (list_unlink_ip): Likewise.
39160         * sysdeps/pthread/timer_routines.c
39161         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39162         (list_append, list_insbefore): Likewise.
39163         (list_init): Function removed.
39164         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39165         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39166         * sysdeps/pthread/Makefile: ... here, new file.
39168         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39169         * sysdeps/nptl/Implies: ... here.
39170         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39171         * nptl/sysdeps/pthread/list.h: Moved ...
39172         * include/list.h: ... here.
39173         * nptl/sysdeps/pthread/createthread.c: Moved ...
39174         * nptl/createthread.c: ... here.
39175         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39176         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39177         * nptl/pt-longjmp.c: ... here.
39178         * nptl/sysdeps/pthread/Makefile: Moved ...
39179         * sysdeps/nptl/Makefile: ... here.
39180         * nptl/sysdeps/pthread/Subdirs: Moved ...
39181         * sysdeps/nptl/Subdirs: ... here.
39182         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39183         * sysdeps/nptl/aio_misc.h: ... here.
39184         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39185         * sysdeps/nptl/bits/libc-lock.h: ... here.
39186         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39187         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39188         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39189         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39190         * nptl/sysdeps/pthread/configure: Moved ...
39191         * sysdeps/nptl/configure: ... here.
39192         * nptl/sysdeps/pthread/configure.ac: Moved ...
39193         * sysdeps/nptl/configure.ac: ... here.
39194         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39195         * sysdeps/nptl/gai_misc.h: ... here.
39196         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39197         * sysdeps/nptl/librt-cancellation.c: ... here.
39198         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39199         * sysdeps/nptl/malloc-machine.h: ... here.
39200         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39201         * sysdeps/nptl/pthread-functions.h: ... here.
39202         * nptl/sysdeps/pthread/pthread.h: Moved ...
39203         * sysdeps/nptl/pthread.h: ... here.
39204         * nptl/sysdeps/pthread/setxid.h: Moved ...
39205         * sysdeps/nptl/setxid.h: ... here.
39206         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39207         * sysdeps/nptl/sigfillset.c: ... here.
39208         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39209         * sysdeps/nptl/tcb-offsets.h: ... here.
39210         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39211         * sysdeps/nptl/tst-mqueue8x.c: ... here.
39212         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39213         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39214         * nptl/sysdeps/pthread/allocalim.h: Moved ...
39215         * sysdeps/pthread/allocalim.h: ... here.
39216         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39217         * sysdeps/pthread/bits/sigthread.h: ... here.
39218         * nptl/sysdeps/pthread/flockfile.c: Moved ...
39219         * sysdeps/pthread/flockfile.c: ... here.
39220         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39221         * sysdeps/pthread/ftrylockfile.c: ... here.
39222         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39223         * sysdeps/pthread/funlockfile.c: ... here.
39224         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39225         * sysdeps/pthread/posix-timer.h: ... here.
39226         * nptl/sysdeps/pthread/timer_create.c: Moved ...
39227         * sysdeps/pthread/timer_create.c: ... here.
39228         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39229         * sysdeps/pthread/timer_delete.c: ... here.
39230         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39231         * sysdeps/pthread/timer_getoverr.c: ... here.
39232         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39233         * sysdeps/pthread/timer_gettime.c: ... here.
39234         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39235         * sysdeps/pthread/timer_routines.c: ... here.
39236         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39237         * sysdeps/pthread/timer_settime.c: ... here.
39238         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39239         * sysdeps/pthread/tst-timer.c: ... here.
39240         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39241         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39243         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39244         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39246         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39247         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39248         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39249         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39250         Update #include target.
39251         * nptl/sysdeps/i386/i686/Makefile: Moved ...
39252         * sysdeps/i386/i686/nptl/Makefile: ... here.
39253         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39254         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39255         Update #include target.
39256         * nptl/sysdeps/i386/i686/tls.h: Moved ...
39257         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
39258         * nptl/sysdeps/i386/Makefile: Moved ...
39259         * sysdeps/i386/nptl/Makefile: ... here.
39260         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39261         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39262         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39263         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39264         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39265         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39266         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39267         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39268         * sysdeps/i386/nptl/pthreaddef.h: ... here.
39269         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39270         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39271         * nptl/sysdeps/i386/tls.h: Moved ...
39272         * sysdeps/i386/nptl/tls.h: ... here.
39274         * sysdeps/sh/Makefile [$(subdir) = csu]
39275         (gen-as-const-headers): Add tcb-offsets.sym.
39276         * nptl/sysdeps/sh/Makefile: File removed.
39277         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39278         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39279         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39280         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39281         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39282         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39283         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39284         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39285         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39286         * sysdeps/sh/nptl/pthreaddef.h: ... here.
39287         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39288         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39289         * nptl/sysdeps/sh/tls.h: Moved ...
39290         * sysdeps/sh/nptl/tls.h: ... here.
39291         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39292         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39293         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39294         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39295         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39296         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39297         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39298         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39299         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39300         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39302         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39303         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39304         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39305         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39306         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39307         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39308         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39309         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39310         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39311         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39312         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39313         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39314         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39315         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39316         Moved ...
39317         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39318         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39319         Moved ...
39320         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39321         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39322         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39323         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39324         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39325         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39326         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39327         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39328         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39329         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39330         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39331         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39332         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39333         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39334         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39335         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39336         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39337         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39338         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39340 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39342         * posix/spawn_faction_addopen.c: Include string.h.
39344 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39346         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39347         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39348         * nptl/sysdeps/x86_64/Makefile: Moved ...
39349         * sysdeps/x86_64/nptl/Makefile: ... here.
39350         * nptl/sysdeps/x86_64/configure: Moved ...
39351         * sysdeps/x86_64/nptl/configure: ... here.
39352         * nptl/sysdeps/x86_64/configure.ac: Moved ...
39353         * sysdeps/x86_64/nptl/configure.ac: ... here.
39354         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39355         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39356         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39357         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39358         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39359         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39360         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39361         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39362         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39363         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39364         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39365         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39366         * nptl/sysdeps/x86_64/tls.h: Moved ...
39367         * sysdeps/x86_64/nptl/tls.h: ... here.
39368         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39369         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39370         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39371         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39373         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39375 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39379 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
39381         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39382         type.
39383         [POSIX] (off_t): Likewise.
39384         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39385         [POSIX] (S_ISBLK): Require macro.
39386         [POSIX] (S_ISCHR): Likewise.
39387         [POSIX] (S_ISDIR): Likewise.
39388         [POSIX] (S_ISFIFO): Likewise.
39389         [POSIX] (S_ISREG): Likewise.
39390         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39391         optional-macro.
39392         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39393         type.
39394         [POSIX] (time_t): Likewise.
39395         [POSIX] (timer_t): Likewise.
39397 2014-06-11  Florian Weimer  <fweimer@redhat.com>
39399         [BZ #17048]
39400         * posix/spawn_int.h (struct __spawn_action): Make the path string
39401         non-const to support deallocation.
39402         * posix/spawn_faction_addopen.c
39403         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39404         * posix/spawn_faction_destroy.c
39405         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
39406         path in all spawn_do_open actions.
39407         * posix/tst-spawn.c (do_test): Exercise the copy operation in
39408         posix_spawn_file_actions_addopen.
39410 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
39412         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39413         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39414         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39415         conditional code always true.
39416         (__libc_vfork): New alias.
39418 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39420         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39421         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39423         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39425         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39426         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39428         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39429         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39431         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39432         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39434 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39436         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39437         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39438         multiarch strcmp for PPC64.
39439         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39440         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39442         multiarch optimizations.
39443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39444         (__libc_ifunc_impl_list): Likewise.
39446 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39448         * benchtests/scripts/validate_benchout.py: New script.
39449         * benchtests/Makefile (bench-func): Call it.
39450         * benchtests/scripts/benchout.schema.json: New file.
39452 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
39454         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39455         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39456         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39457         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39458         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39459         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39460         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39461         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39462         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39463         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39464         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39465         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39466         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39467         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39468         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39469         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39471         Moved ...
39472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39473         ... here.
39474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39475         Moved ...
39476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39478         Moved ...
39479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39480         ... here.
39481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39482         Moved ...
39483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39484         ... here.
39485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39486         Moved ...
39487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39488         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39489         Moved ...
39490         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39491         ... here.
39492         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39493         Moved ...
39494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39495         ... here.
39496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39497         Moved ...
39498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39500         Moved ...
39501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39502         ... here.
39503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39504         Moved ...
39505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39506         ... here.
39507         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39508         Moved ...
39509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39510         ... here.
39511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39512         Moved ...
39513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39515         Moved ...
39516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39517         ... here.
39518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39519         Moved ...
39520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39521         ... here.
39522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39523         Moved ...
39524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39525         ... here.
39526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39527         Moved ...
39528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39530         Moved ...
39531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39532         ... here.
39533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39534         Moved ...
39535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39536         ... here.
39537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39538         Moved ...
39539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39541         Moved ...
39542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39543         ... here.
39544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39545         Moved ...
39546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39548         Moved ...
39549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39551         Moved ...
39552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39553         ... here.
39554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39555         Moved ...
39556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39557         ... here.
39558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39559         Moved ...
39560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39561         ... here.
39562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39563         Moved ...
39564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39566         Moved ...
39567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39568         ... here.
39569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39570         Moved ...
39571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39572         ... here.
39573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39574         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39575         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39576         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39577         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39578         Moved ...
39579         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39580         ... here.
39581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39582         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39583         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39584         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39585         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39586         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39587         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39588         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39589         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39590         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39591         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39592         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39593         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39594         Moved ...
39595         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39597         Moved ...
39598         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39599         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39600         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39601         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39602         Moved ...
39603         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39605         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39606         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39607         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39608         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39609         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39611 2014-06-10  Wilco  <wdijkstr@arm.com>
39613         * math/test-fenv-return.c: New file.
39614         * math/Makefile: Add new test test-fenv-return.
39616 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
39618         [BZ #17042]
39619         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39620         when x - 1 is zero.
39621         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39622         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39623         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39624         0.0L for an argument of 1.0L.
39625         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39626         Likewise.
39627         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39628         value when x - 1 is zero.
39629         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39630         * sysdeps/i386/fpu/libm-test-ulps: Update.
39631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39633 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
39635         [BZ #15119]
39636         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39638 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39640         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39641         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39643 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39645         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39646         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39648         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39649         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39651         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39652         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39654         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39655         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39657         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39658         if not already defined.
39659         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39660         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39661         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39662         (TLS_INIT_TP): Use it.
39663         (TLS_DEFINE_INIT_TP): New macro.
39664         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39666 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
39668         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39669         constant.
39670         [POSIX] (IXANY): Likewise.
39671         [POSIX] (OLCUC): Likewise.
39672         [POSIX || POSIX2008] (CBAUD): Do not allow.
39673         [POSIX || POSIX2008] (DEFECHO): Likewise.
39674         [POSIX || POSIX2008] (ECHOCTL): Likewise.
39675         [POSIX || POSIX2008] (ECHOKE): Likewise.
39676         [POSIX || POSIX2008] (ECHOPRT): Likewise.
39677         [POSIX || POSIX2008] (EXTA): Likewise.
39678         [POSIX || POSIX2008] (EXTB): Likewise.
39679         [POSIX || POSIX2008] (FLUSHO): Likewise.
39680         [POSIX || POSIX2008] (LOBLK): Likewise.
39681         [POSIX || POSIX2008] (PENDIN): Likewise.
39682         [POSIX || POSIX2008] (SWTCH): Likewise.
39683         [POSIX || POSIX2008] (VDISCARD): Likewise.
39684         [POSIX || POSIX2008] (VDSUSP): Likewise.
39685         [POSIX || POSIX2008] (VLNEXT): Likewise.
39686         [POSIX || POSIX2008] (VREPRINT): Likewise.
39687         [POSIX || POSIX2008] (VSTATUS): Likewise.
39688         [POSIX || POSIX2008] (VWERASE): Likewise.
39689         (B*): Change to B[0123456789]*.
39690         * conform/data/time.h-data [POSIX || UNIX98]
39691         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39692         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39693         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39694         [POSIX] (tm_*): Do not allow.
39696 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
39698         * Makefile (install): Don't set LANGUAGE.
39699         * Makefile.in (install): Likewise.
39700         * assert/Makefile (test-assert-ENV): Remove variable.
39701         (test-assert-perr-ENV): Likewise.
39702         * elf/Makefile (neededtest4-ENV): Likewise.
39703         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39704         [$(cross-compiling) = no]: Don't set LANGUAGE.
39705         * io/ftwtest-sh (LANG): Remove variable.
39706         * libio/Makefile (tst-widetext-ENV): Likewise.
39707         * manual/install.texi (Running make install): Don't refer to
39708         environment settings for make install.
39709         * INSTALL: Regenerated.
39710         * nptl/tst-tls6.sh: Don't set LANG.
39711         * posix/globtest.sh (LANG): Remove variable.
39712         * string/Makefile (tester-ENV): Likewise.
39713         (inl-tester-ENV): Likewise.
39714         (noinl-tester-ENV): Likewise.
39715         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39716         [$(cross-compiling) = no]: Don't set LANGUAGE.
39717         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39718         without explicit environment settings.
39720 2014-06-06  Roland McGrath  <roland@hack.frob.com>
39722         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39723         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39724         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39725         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39727 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
39729         * crypt/crypt-private.h [DOS]: Add some includes taken from the
39730         other files in the crypt directory.
39731         * crypt/crypt.c: Remove duplicate includes.
39732         * crypt/crypt-entry.c: Likewise.
39733         * crypt/crypt_util.c: Likewise.
39735 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
39737         * Makeconfig (run-program-env): New variable.
39738         (run-program-prefix-before-env): Likewise.
39739         (run-program-prefix-after-env): Likewise.
39740         (run-program-prefix): Define in terms of new variables.
39741         (built-program-cmd-before-env): New variable.
39742         (built-program-cmd-after-env): Likewise.
39743         (built-program-cmd): Define in terms of new variables.
39744         (test-program-prefix-before-env): New variable.
39745         (test-program-prefix-after-env): Likewise.
39746         (test-program-prefix): Define in terms of new variables.
39747         (test-program-cmd-before-env): New variable.
39748         (test-program-cmd-after-env): Likewise.
39749         (test-program-cmd): Define in terms of new variables.
39750         * Rules (make-test-out): Use $(run-program-env).
39751         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39752         (help): Do not mention environment variables.  Mention
39753         --timeoutfactor option.
39754         (timeoutfactor): New variable.
39755         (blacklist_exports): Remove function.
39756         (exports): Remove variable.
39757         (command): Do not include ${exports}.
39758         * manual/install.texi (Configuring and compiling): Do not mention
39759         test wrappers preserving environment variables.  Mention that last
39760         assignment to a variable must take precedence.
39761         * INSTALL: Regenerated.
39762         * benchtests/Makefile (run-bench): Use $(run-program-env).
39763         * catgets/Makefile ($(objpfx)test1.cat): Use
39764         $(built-program-cmd-before-env), $(run-program-env) and
39765         $(built-program-cmd-after-env).
39766         ($(objpfx)test2.cat): Do not specify environment variables
39767         explicitly.
39768         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39769         $(run-program-env) and $(built-program-cmd-after-env).
39770         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39771         $(run-program-env) and $(test-program-cmd-after-env).
39772         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39773         explicitly.
39774         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39775         run_program_env and test_program_cmd_after_env arguments.
39776         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39777         * elf/tst-pathopt.sh: Use run_program_env argument.
39778         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39779         $(test-wrapper-env) and $(run-program-env).
39780         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39781         run_program_env arguments.
39782         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39783         * intl/Makefile ($(objpfx)tst-gettext.out): Use
39784         $(test-program-prefix-before-env), $(run-program-env) and
39785         $(test-program-prefix-after-env).
39786         ($(objpfx)tst-gettext2.out): Likewise.
39787         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39788         run_program_env and test_program_prefix_after_env arguments.
39789         * intl/tst-gettext2.sh: Likewise.
39790         * intl/tst-gettext4.sh: Do not set environment variables
39791         explicitly.
39792         * intl/tst-gettext6.sh: Likewise.
39793         * intl/tst-translit.sh: Likewise.
39794         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39795         $(test-program-prefix-before-env), $(run-program-env) and
39796         $(test-program-prefix-after-env).
39797         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39798         run_program_env and test_program_prefix_after_env arguments.
39799         * math/Makefile (run-regen-ulps): Use $(run-program-env).
39800         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39801         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
39802         explicitly with each use of ${test_wrapper_env}.
39803         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39804         $(test-program-prefix-before-env), $(run-program-env) and
39805         $(test-program-prefix-after-env).
39806         * posix/tst-getconf.sh: Do not set environment variables
39807         explicitly.
39808         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39809         run_program_env and test_program_prefix_after_env arguments.
39810         * stdio-common/tst-printf.sh: Do not set environment variables
39811         explicitly.
39812         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39813         $(test-program-prefix-before-env), $(run-program-env) and
39814         $(test-program-prefix-after-env).
39815         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39816         run_program_env and test_program_prefix_after_env arguments.
39817         Split $test calls into $test_pre and $test.
39818         * timezone/Makefile (build-testdata): Use
39819         $(built-program-cmd-before-env), $(run-program-env) and
39820         $(built-program-cmd-after-env).
39822 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39824         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39825         strlen for non SHARED builds.
39827 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39829         * nptl/allocatestack.c (check_list): Inlined function...
39830         (__reclaim_stacks): ... here.
39832 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39834         [BZ #15698]
39835         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39836         memory overrun.
39838 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
39840         * Rules (make-test-out): Include
39841         LOCPATH=$(common-objpfx)localedata in default environment.
39842         * debug/Makefile (tst-chk1-ENV): Remove variable.
39843         (tst-chk2-ENV): Likewise.
39844         (tst-chk3-ENV): Likewise.
39845         (tst-chk4-ENV): Likewise.
39846         (tst-chk5-ENV): Likewise.
39847         (tst-chk6-ENV): Likewise.
39848         (tst-lfschk1-ENV): Likewise.
39849         (tst-lfschk2-ENV): Likewise.
39850         (tst-lfschk3-ENV): Likewise.
39851         (tst-lfschk4-ENV): Likewise.
39852         (tst-lfschk5-ENV): Likewise.
39853         (tst-lfschk6-ENV): Likewise.
39854         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39855         (tst-iconv7-ENV): Likewise.
39856         * intl/Makefile (LOCPATH-ENV): Likewise.
39857         (tst-codeset-ENV): Likewise.
39858         (tst-gettext3-ENV): Likewise.
39859         (tst-gettext5-ENV): Likewise.
39860         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39861         (tst-fopenloc-ENV): Likewise.
39862         (tst-fgetws-ENV): Remove variable.
39863         (tst-ungetwc1-ENV): Likewise.
39864         (tst-ungetwc2-ENV): Likewise.
39865         (bug-ungetwc2-ENV): Likewise.
39866         (tst-swscanf-ENV): Likewise.
39867         (bug-ftell-ENV): Likewise.
39868         (tst-fgetwc-ENV): Likewise.
39869         (tst-fseek-ENV): Likewise.
39870         (tst-ftell-partial-wide-ENV): Likewise.
39871         (tst-ftell-active-handler-ENV): Likewise.
39872         (tst-ftell-append-ENV): Likewise.
39873         * posix/Makefile (tst-fnmatch-ENV): Likewise.
39874         (tst-regexloc-ENV): Likewise.
39875         (bug-regex1-ENV): Likewise.
39876         (tst-regex-ENV): Likewise.
39877         (tst-regex2-ENV): Likewise.
39878         (bug-regex5-ENV): Likewise.
39879         (bug-regex6-ENV): Likewise.
39880         (bug-regex17-ENV): Likewise.
39881         (bug-regex18-ENV): Likewise.
39882         (bug-regex19-ENV): Likewise.
39883         (bug-regex20-ENV): Likewise.
39884         (bug-regex22-ENV): Likewise.
39885         (bug-regex23-ENV): Likewise.
39886         (bug-regex25-ENV): Likewise.
39887         (bug-regex26-ENV): Likewise.
39888         (bug-regex30-ENV): Likewise.
39889         (bug-regex32-ENV): Likewise.
39890         (bug-regex33-ENV): Likewise.
39891         (bug-regex34-ENV): Likewise.
39892         (bug-regex35-ENV): Likewise.
39893         (tst-rxspencer-ENV): Likewise.
39894         (tst-rxspencer-no-utf8-ENV): Likewise.
39895         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39896         (tst-sscanf-ENV): Likewise.
39897         (tst-swprintf-ENV): Likewise.
39898         (tst-swscanf-ENV): Likewise.
39899         (test-vfprintf-ENV): Likewise.
39900         (scanf13-ENV): Likewise.
39901         (bug14-ENV): Likewise.
39902         (tst-grouping-ENV): Likewise.
39903         * stdlib/Makefile (tst-strtod-ENV): Likewise.
39904         (tst-strtod3-ENV): Likewise.
39905         (tst-strtod4-ENV): Likewise.
39906         (tst-strtod5-ENV): Likewise.
39907         (testmb2-ENV): Likewise./
39908         * string/Makefile (tst-strxfrm-ENV): Likewise.
39909         (tst-strxfrm2-ENV): Likewise.
39910         (bug-strcoll1-ENV): Likewise.
39911         (test-strcasecmp-ENV): Likewise.
39912         (test-strncasecmp-ENV): Likewise.
39913         * time/Makefile (tst-strptime-ENV): Likewise.
39914         (tst-ftime_l-ENV): Likewise.
39915         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39916         (tst-mbrtowc-ENV): Likewise.
39917         (tst-wcrtomb-ENV): Likewise.
39918         (tst-mbrtowc2-ENV): Likewise.
39919         (tst-c16c32-1-ENV): Likewise.
39920         (tst-mbsnrtowcs-ENV): Likewise.
39922 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39924         * manual/resource.texi (How to get information about the memory
39925         subsystem?): Fix typo.
39926         Reported by Peon de la Parra Ivan <peon@keba.com>
39928 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
39930         [BZ #16882]
39931         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39932         (pthread_spin_lock): Branch out of spin loop to proper location.
39933         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39934         (pthread_spin_lock): Likewise.
39936         * nptl/tst-spin4.c: New test.
39937         * nptl/Makefile (tests): Add tst-spin4.
39939 2014-06-03  Andreas Schwab  <schwab@suse.de>
39941         [BZ #15946]
39942         * resolv/res_send.c (send_dg): Reload file descriptor after
39943         calling reopen.
39945 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
39947         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39949 2014-06-03  Richard Henderson  <rth@redhat.com>
39951         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39952         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39953         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39954         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
39955         in the SAVE_PID block.
39956         (__libc_vfork): New alias.
39957         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39959         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39960         child in registers, not on the stack.  Remove RESET_PID conditionals.
39961         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39963 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39965         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39967 2014-06-03  Wilco  <wdijkstr@arm.com>
39969         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39970         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39971         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39972         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39973         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39974         Likewise.
39976 2014-06-03  Wilco  <wdijkstr@arm.com>
39978         * sysdeps/aarch64/fpu/math_private.h
39979         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39980         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39981         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39982         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39983         Fix declarations.
39985 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39987         * crypt/crypt-private.h: Include ufc-crypt.h.
39988         (__b64_from_24bit): Declare extern.
39989         * crypt/crypt_util.c(__b64_from_24bit): New function.
39990         (b64t): New static const variable.
39991         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
39992         (b64t): Remove variable.
39993         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
39994         * crypt/sha256-crypt.c: Include crypt-private.h.
39995         (b64t): Remove variable.
39996         (__sha256_crypt_r): Remove b64_from_24bit and replace
39997         with __b64_from_24bit.
39998         * crypt/sha512-crypt.c: Likewise.
40000 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40002         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40003         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40004         Label the code __libc_vfork rather than __vfork.
40005         [!NOT_IN_libc] (vfork): Define as weak alias.
40006         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40007         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40008         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40010 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40012         * malloc/malloc.c (malloc_info): Fix format specifier for
40013         n_mmaps.
40015 2014-06-02  Wilco  <wdijkstr@arm.com>
40017         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40018         FPCR write.
40020 2014-06-02  Wilco  <wdijkstr@arm.com>
40022         [BZ #17009]
40023         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40024         Rewrite to reduce FPCR/FPSR accesses.
40026 2014-06-01  David S. Miller  <davem@davemloft.net>
40028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40030 2014-05-31  David S. Miller  <davem@davemloft.net>
40032         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40033         to occur in round to nearest mode when |x| >= 2.0
40035 2014-05-30  Richard Henderson  <rth@twiddle.net>
40037         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40038         (PSEUDO_RET_NOERRNO): Remove.
40039         (ret): Don't redefine.
40040         (ret_NOERRNO): Define in terms of ret.
40041         (ret_ERRVAL): Likewise.
40043         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40044         use of PSEUDO_RET; perform the error check directly.
40046 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40048         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40049         with __int128_t.
40051 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40053         * malloc/malloc (malloc_info): Fix formatting.
40055 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40056             Roland McGrath  <roland@hack.frob.com>
40058         * malloc/malloc (malloc_info): Also print mmapped statistics.
40060 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40062         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40063         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40065 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40067         * malloc/malloc.c (malloc_info): Inline mi_arena.
40069 2014-05-29  Richard Henderson  <rth@twiddle.net>
40071         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40072         Remove comma before expanding ASM_ARGS_##nr.
40073         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40074         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40075         of ASM_ARGS_##nr.
40076         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40077         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40078         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40079         (ASM_ARGS_1): Add leading comma.
40081         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40082         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40083         to __errno_location.
40084         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40085         Remove the expected plt for __errno_location.
40087         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40088         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40089         call to __read_tp.
40091         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40092         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40093         it and break it down.
40094         (DOCARGS_0, DOCARGS_1): Do nothing.
40095         (DOCARGS_2): Update to store into the new stack frame.
40096         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40097         (UNDOCARGS_1): Update to restore from the new stack frame.
40098         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40099         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40101         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40102         (SINGLE_THREAD_P): New parameter for result regno.
40103         (PSEUDO): Update to match; use cbz instead of beq.
40105         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40106         Use ENTRY to define the _nocancel entry point.  Share the syscall
40107         and syscall error check paths with the cancel path.
40108         (PSEUDO_END): New.
40110         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40111         whitespace; tabs before and after asm mnemonics.
40113 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40115         [BZ #15132]
40116         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40117         Call fstat64 or stat64 internally, depending on arguments passed.
40118         Replace stat buffer argument with file descriptor argument.
40119         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40120         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40121         Pass fd to __internal_statvfs instead of calling fstat64.
40122         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40123         Pass fd to __internal_statvfs64 instead of calling fstat64.
40124         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40125         Pass -1 to __internal_statvfs instead of calling stat64.
40126         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40127         Pass -1 to __internal_statvfs64 instead of calling stat64.
40129 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40131         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40132         that was previously under [RESET_PID].
40133         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40135         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40136         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40138 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40140         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40142         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40143         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40145 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40147         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40149 2014-05-27  Andreas Schwab  <schwab@suse.de>
40151         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40152         TLS_INIT_TP macro.
40153         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40154         * elf/rtld.c (init_tls, dl_main): Likewise.
40155         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40156         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40157         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40158         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40159         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40160         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40161         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40162         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40163         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40164         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40165         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40166         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40167         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40168         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40169         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40170         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40171         * sysdeps/generic/tls.h: Update description.
40173 2014-05-27  Will Newton  <will.newton@linaro.org>
40175         [BZ #16990]
40176         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40177         and restore r2 rather than just restoring.
40179 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40181         [BZ #16724]
40182         * libio/tst-ftell-append.c: New test case.
40183         * libio/Makefile (tests): Add test case.
40184         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40185         append mode.
40186         * libio/wfileops.c (do_ftell_wide): Likewise.
40188 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40192         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40193         ...
40194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40196         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40197         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40198         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40199         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40200         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40201         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40202         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40203         Moved ...
40204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40205         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40206         Moved ...
40207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40208         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40209         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40210         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40211         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40212         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40213         ...
40214         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40215         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40216         Moved ...
40217         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40218         here.
40219         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40220         ...
40221         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40222         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40223         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40225         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40226         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40227         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40228         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40230         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40231         merge into ...
40232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40234         ...
40235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40236         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40237         ...
40238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40239         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40240         Moved ...
40241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40242         here.
40243         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40244         Moved ...
40245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40247         Moved ...
40248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40251         conditional [RESET_PID].
40252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40254         removed.
40255         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40256         removed.
40258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40259         <tcb-offsets.h>.
40260         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40261         (__libc_vfork): New strong alias.
40262         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40263         removed.
40264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40265         Removed.
40267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40268         <tcb-offsets.h>.
40269         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40270         (__libc_vfork): New strong alias.
40271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40272         removed.
40273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40274         removed.
40276 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
40278         * malloc/malloc.c (mi_arena): New function.
40279         (malloc_info): Remove nested function mi_arena. Call non-nosted
40280         function mi_arena.
40282 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40284         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40285         by insrwi.
40286         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40287         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40288         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40289         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40290         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40291         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40292         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40294 2014-05-26  Andreas Schwab  <schwab@suse.de>
40296         [BZ #16984]
40297         * locale/programs/repertoire.c (repertoire_read): Add slash
40298         between I18NPATH element and file name.
40299         * locale/programs/locfile.c (locfile_read): Likewise.
40301 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40303         * nptl/pthread_mutexattr_settype.c
40304         (__pthread_mutexattr_settype):
40305         Disable lock elision for PTHREAD_MUTEX_NORMAL.
40307 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40309         * nptl/tst-mutex5 (do_test):
40310         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40312 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40314         * benchtests/README: Document 'init' directive.
40315         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40316         BENCH_INIT.
40317         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40318         (parse_file): Recognize 'init' directive.
40320 2014-05-26  Kyle McMartin  <kyle@redhat.com>
40322         [BZ #16796]
40323         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40324         alignment of struct pthread.
40326 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40328         [BZ #16878]
40329         * nscd/netgroupcache.c (addgetnetgrentX): Look for
40330         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40331         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40332         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40334 2014-05-25  Richard Henderson  <rth@twiddle.net>
40336         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40337         (SINGLE_THREAD_P_PIC): Remove.
40338         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40339         (SINGLE_THREAD_P_PIC): Remove.
40341         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40342         branch to syscall error ...
40343         (PSEUDO): ... here.
40344         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40345         from __local_syscall_error to .Lsyscall_error.
40346         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40347         (SYSCALL_ERROR): Update label name.
40349         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40350         Do not use DOARGS/UNDOARGS.
40351         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40352         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40353         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40354         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40355         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40357         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40358         block comment.
40360         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40361         define if !NOT_IN_libc.
40362         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40363         define with non-default symbol versions.
40365 2014-05-23  Richard Henderson  <rth@twiddle.net>
40367         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40368         (vfork, __vfork): Define via compat_symbol.
40370         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40371         [!HAVE_IFUNC] (vfork_compat): Remove.
40372         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40374 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40376         [BZ #16978]
40377         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40378         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40379         variable.
40381 2014-05-23  Richard Henderson  <rth@twiddle.net>
40383         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40384         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40385         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40386         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40388         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40389         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40390         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40391         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40392         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40393         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40394         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40395         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40396         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40397         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40398         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40399         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40400         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40401         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40402         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40403         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40404         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40405         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40406         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40407         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40408         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40409         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40410         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40411         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40412         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40413         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40414         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40415         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40416         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40417         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40418         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40419         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40420         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40421         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40422         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40423         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40424         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40425         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40426         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40427         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40428         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40429         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40430         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40431         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40432         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40433         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40434         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40435         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40436         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40437         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40438         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40439         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40440         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40441         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40442         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40443         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40445         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40446         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40447         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
40448         before exiting on error.
40449         (__libc_vfork): New strong alias.
40450         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40451         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40453         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40454         that was previously under [RESET_PID].
40455         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40457         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40459 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40461         [BZ #16977]
40462         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40463         value when x - 1 is zero.
40464         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40465         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40466         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40467         0.0L for an argument of 1.0L.
40468         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40469         Likewise.
40470         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40471         value when x - 1 is zero.
40472         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40473         * sysdeps/i386/fpu/libm-test-ulps: Update.
40474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40476 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40478         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40479         alphasort and versionsort.
40481 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40483         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40484         macro.
40485         [copysignf]: Likewise.
40487 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40489         * crypt/md5-crypt.c: Fix formatting.
40491 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40493         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40494         (b64_from_24bit): New function.
40496 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40498         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40499         libc_hidden_builtin_def to ifunc.
40500         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40501         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40503 2014-05-21  Roland McGrath  <roland@hack.frob.com>
40505         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40506         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40508 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
40510         * nscd/Depend (linuxthreads): Remove.
40511         (nptl): Add.
40512         * resolv/Depend (linuxthreads): Remove.
40513         * rt/Depend (linuxthreads): Remove.
40515         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40516         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40517         $(common-objpfx)elf/.
40518         (link-libc-before-gnulib): Likewise.
40519         (elfobjdir): Remove variable.
40520         * Makefile (install): Use $(elf-objpfx) instead of
40521         $(common-objpfx)elf/.
40522         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40523         $(elfobjdir)/.
40524         (link-libc-deps): Likewise.
40525         ($(common-objpfx)libc.so): Likewise.
40526         ($(common-objpfx)linkobj/libc.so): Likewise.
40527         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40528         instead of $(common-objpfx)elf/.
40529         (symbolic-link-list): Likewise.
40530         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40531         [$(cross-compiling) = no]: Likewise.
40532         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40533         $(elfobjdir)/.
40534         (static-gnulib-arch): Likewise.
40535         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40536         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40537         $(common-objpfx)elf/.
40539 2014-05-21  Richard Henderson  <rth@redhat.com>
40541         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40542         (SINGLE_THREAD_P): Use the correct width load.  Fold
40543         into the ldr offset.
40545         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40546         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40548 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
40550         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40551         (libgcc_s_resume): Use __attribute_used__.
40552         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40553         Likewise.
40555 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40557         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40558         optimization when used with float constants.
40560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40562 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
40564         [BZ #16915]
40565         * locale/nl_langinfo_l.c: Make direct reference to every
40566         _nl_current_CATEGORY symbol.
40567         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40568         (tests-static): Add tst-langinfo-static.
40569         (tests-special): Add tst-langinfo-static.out.
40570         ($(objpfx)tst-langinfo.out): Redirect output.
40571         ($(objpfx)tst-langinfo-static.out): New.
40572         * localedata/tst-langinfo.sh: Send output to stdout.
40573         * localedata/tst-langinfo-static.c: New file.
40575         [BZ #16965]
40576         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40577         when the shift amount is modulo the limb size.
40579 2014-05-20  Richard Henderson  <rth@redhat.com>
40581         [BZ #16967]
40582         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40583         Change type of sa_flags from unsigned int to int.
40585         [BZ #16966]
40586         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40588         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40590 2014-05-20  Will Newton  <will.newton@linaro.org>
40592         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40593         Test the return value of the system call in the nocancel case.
40595 2014-05-20  Will Newton  <will.newton@linaro.org>
40596             Yvan Roux  <yvan.roux@linaro.org>
40598         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40599         #include of asm/ptrace.h.
40600         (PTRACE_GET_THREAD_AREA): Remove #undef.
40601         (PTRACE_GETHBPREGS): Likewise.
40602         (PTRACE_SETHBPREGS): Likewise.
40603         (struct user_regs_struct): New structure.
40604         (struct user_fpsimd_struct): New structure.
40605         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40606         #include of asm/ptrace.h and second #include of sys/user.h.
40607         (PTRACE_GET_THREAD_AREA): Remove #undef.
40608         (PTRACE_GETHBPREGS): Likewise.
40609         (PTRACE_SETHBPREGS): Likewise.
40610         (ELF_NGREG): Use new struct user_regs_struct.
40611         (elf_fpregset_t): Use new struct user_fpsimd_struct.
40613 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40615         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40616         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40618 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
40620         [BZ #16958]
40621         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40622         membar to avoid block loads/stores to overlap previous stores.
40624 2014-05-17  Richard Henderson  <rth@redhat.com>
40626         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40627         Create the __##syscall_name##_nocancel entry point.
40628         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40629         Remove; let the sysdep-cancel.h code create it.
40631 2014-05-17  David S. Miller  <davem@davemloft.net>
40633         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40634         Protect with __USE_GNU.
40635         (TIOCSET_TEMPT): Likewise.
40636         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40637         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40638         these are already provided in bits/ioctl-types.h
40640 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40642         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40643         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40645         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40646         Use wait4 regardless of [__NR_waitpid].
40648 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40650         PR libgcc/60166
40651         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40652         (_FP_NANSIGN_Q): Set the quiet bit.
40654 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
40656         * benchtests/Makefile
40657         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40658         not $(common-objpfx)math/libm.so.
40659         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40660         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40661         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40662         $(common-objpfx)dlfcn/libdl.so.
40663         ($(objpfx)tst-audit8): Depend on $(libm), not
40664         $(common-objpfx)math/libm.so.
40665         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40666         not $(common-objpfx)dlfcn/libdl.so.
40667         * math/Makefile
40668         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40669         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
40670         [$(build-shared) = yes].
40671         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40672         $(common-objpfx)nptl/libpthread.so.
40673         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40674         $(common-objpfx)math/libm.so$(libm.so-version) or
40675         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40676         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40677         $(common-objpfx)dlfcn/libdl.so.
40678         * setjmp/Makefile (link-libm): Remove variable.
40679         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40680         * stdio-common/Makefile (link-libm): Remove variable.
40681         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40682         * stdlib/Makefile (link-libm): Remove variable.
40683         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40684         ($(objpfx)tst-strtod-round): Likewise.
40685         ($(objpfx)tst-tininess): Likewise.
40686         ($(objpfx)tst-strtod-underflow): Likewise.
40687         ($(objpfx)tst-strtod6): Likewise.
40688         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40689         $(libdl), not $(common-objpfx)nptl/libpthread.so and
40690         $(common-objpfx)dlfcn/libdl.so.
40692 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40694         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40695         BSD terminal modes definitions.
40697 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40699         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40700         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40702         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40703         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40704         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40705         Don't do #include_next.
40706         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40707         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40708         Don't do #include_next.
40709         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40710         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40711         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40712         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40714 2014-05-16  Allan McRae  <allan@archlinux.org>
40716         * po/sv.po: Update Swedish translation from translation project.
40718         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40719         in sed expression.
40721 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
40723         [BZ #16917]
40724         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40725         errno if the TIOCGPTN ioctl fails with an error different than
40726         EINVAL.
40727         * login/tst-ptsname.c: New file.
40728         * login/Makefile (tests): Add tst-ptsname.
40730         [BZ #16943]
40731         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40732         and prlimit64.
40734 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40736         [BZ #16849]
40737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40738         herrno to return EAI_AGAIN.
40740 2014-05-14  Roland McGrath  <roland@hack.frob.com>
40742         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40743         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40744         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40745         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40746         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40747         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40748         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40749         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40750         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40751         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40752         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40753         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40754         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40755         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40756         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40757         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40758         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40759         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40760         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40761         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40762         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40763         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40764         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40765         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40766         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40767         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40768         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40769         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40770         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40771         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40773         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40774         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40775         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40776         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40777         Moved ...
40778         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40780         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40782         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40783         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40784         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40785         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40786         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40788         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40790         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40791         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40792         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40794         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40796         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40798         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40800         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40802         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40804         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40806         Moved ...
40807         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40809         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40811         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40813         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40815         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40816         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40817         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40818         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40819         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40820         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40821         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40823         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40825         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40827         Moved ...
40828         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40830         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40832         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40833         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40834         (libpthread-sysdep_routines): Add elision-related stuff here instead.
40835         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40836         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40837         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40838         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40839         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40840         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40841         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40842         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40843         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40844         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40845         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40846         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40847         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40848         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40849         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40850         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40851         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40852         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40853         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40854         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40855         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40856         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40857         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40858         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40859         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40860         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40861         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40862         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40864         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40865         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40867         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40868         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40869         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40870         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40871         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40872         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40873         Moved ...
40874         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40875         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40876         Moved ...
40877         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40879         Moved ...
40880         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40881         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40882         Moved ...
40883         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40884         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40885         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40887         Moved ...
40888         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40889         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40890         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40891         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40892         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40893         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40894         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40895         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40896         Moved ...
40897         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40898         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40899         Moved ...
40900         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40901         ... here.
40902         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40903         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40904         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40905         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40906         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40907         Moved ...
40908         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40909         ... here.
40910         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40911         Moved ...
40912         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40913         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40914         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40915         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40916         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40917         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40918         Moved ...
40919         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40920         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40921         Moved ...
40922         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40924         Moved ...
40925         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40926         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40927         Moved ...
40928         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40929         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40930         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40932         Moved ...
40933         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40934         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40935         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40936         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40937         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40938         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40939         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40940         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40941         Moved ...
40942         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40943         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40944         Moved ...
40945         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40946         ... here.
40947         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40948         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40949         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40950         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40951         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40952         Moved ...
40953         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40954         ... here.
40955         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40956         Moved ...
40957         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40958         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40959         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40960         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40961         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40962         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40963         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40964         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40965         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40966         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40967         Moved ...
40968         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40969         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40970         Moved ...
40971         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40972         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40973         Moved ...
40974         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40975         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40976         Moved ...
40977         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40978         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40979         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40980         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40981         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40982         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40983         Moved ...
40984         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40985         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40986         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
40987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
40988         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
40989         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
40990         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
40991         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
40992         Moved ...
40993         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
40994         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40995         Moved ...
40996         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40997         ... here.
40998         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
40999         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41000         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41001         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41002         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41003         Moved ...
41004         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41005         ... here.
41006         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41007         Moved ...
41008         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41009         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41010         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41011         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41012         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41013         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41014         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41015         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41016         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41017         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41018         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41020         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41021         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41023         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41024         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41026         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41027         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41028         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41029         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41030         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41031         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41032         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41033         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41034         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41035         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41036         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41037         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41038         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41039         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41040         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41041         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41042         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41044         Moved ...
41045         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41046         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41047         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41048         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41049         Moved ...
41050         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41051         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41052         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41053         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41054         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41055         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41056         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41057         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41058         Moved ...
41059         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41060         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41061         Moved ...
41062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41063         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41065         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41066         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41068         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41069         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41070         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41071         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41072         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41073         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41074         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41075         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41076         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41077         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41078         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41080         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41081         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41082         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41083         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41084         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41086         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41087         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41088         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41089         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41090         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41091         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41092         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41093         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41094         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41095         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41097         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41098         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41100         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41101         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41102         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41103         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41104         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41105         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41106         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41107         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41108         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41109         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41110         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41111         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41112         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41113         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41115         Update #include.
41116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41117         Likewise.
41118         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41119         Likewise.
41120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41121         Likewise.
41122         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41123         Likewise.
41124         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41125         Likewise.
41126         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41127         Likewise.
41128         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41129         Likewise.
41130         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41131         Likewise.
41132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41133         Likewise.
41134         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41135         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41136         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41137         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41138         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41139         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41140         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41141         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41142         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41143         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41144         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41145         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41146         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41147         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41148         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41150         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41151         that was previously under [RESET_PID].
41152         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41153         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41154         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41156         * sysdeps/i386/nptl/Implies: New file.
41157         * sysdeps/x86_64/nptl/Implies: New file.
41158         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41159         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41160         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41161         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41163         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41164         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41165         (__libc_vfork): New strong alias.
41166         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41167         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41169         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41170         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41171         (__libc_vfork): New strong alias.
41172         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41173         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41175         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41176         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41177         (__libc_vfork): New strong alias.
41178         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41179         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41180         * nptl/pt-vfork.c: New file.
41181         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41182         (libpthread: GLIBC_2.20): New version set (empty).
41184 2014-05-14  Will Newton  <will.newton@linaro.org>
41186         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41187         rather than #if.
41189 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41191         [BZ #16564]
41192         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41193         arguments with exponent 65 or above.
41194         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41195         arguments 0x1p113L or above.
41196         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41197         to arguments 0x1p107L or above.
41198         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41199         positive arguments with exponent 65 or above.
41200         * math/auto-libm-test-in: Add more tests of log1p.
41201         * math/auto-libm-test-out: Regenerated.
41203         [BZ #16928]
41204         * math/s_cacos.c (__cacos): Ensure zero real part of result from
41205         non-finite arguments is +0.
41206         * math/s_cacosf.c (__cacosf): Likewise.
41207         * math/s_cacosl.c (__cacosl): Likewise.
41208         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41209         * sysdeps/i386/fpu/libm-test-ulps: Update.
41210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41212         [BZ #16927]
41213         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41214         value.
41215         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41216         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41217         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41218         for explicit high bit of mantissa when testing for argument equal
41219         to 1.
41220         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41221         * sysdeps/i386/fpu/libm-test-ulps: Update.
41222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41224         [BZ #16516]
41225         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41226         (__erf): Scale by 16 instead of 8 in potentially underflowing
41227         case.  Ensure exception if result actually underflows.
41228         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41229         (__erff): Scale by 16 instead of 8 in potentially underflowing
41230         case.  Ensure exception if result actually underflows.
41231         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41232         (efx8): Remove variable.
41233         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41234         case.  Ensure exception if result actually underflows.
41235         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41236         (efx8): Remove variable.
41237         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41238         case.  Ensure exception if result actually underflows.
41239         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41240         (efx8): Remove variable.
41241         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41242         case.  Ensure exception if result actually underflows.
41243         * math/auto-libm-test-in: Add more tests of erf.
41244         * math/auto-libm-test-out: Regenerated.
41246 2014-05-14  Andreas Schwab  <schwab@suse.de>
41248         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41249         Remove code conditionalized on USE___THREAD.
41251         * config.h.in (HAVE_PT_CHOWN): Define as 0.
41252         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41253         not definedness.
41255 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41257         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41258         Define unconditionally.
41259         (__ASSUME_O_CLOEXEC): Likewise.
41260         (__ASSUME_SOCK_CLOEXEC): Likewise.
41261         (__ASSUME_IN_NONBLOCK): Likewise.
41262         (__ASSUME_PIPE2): Likewise.
41263         (__ASSUME_EVENTFD2): Likewise.
41264         (__ASSUME_SIGNALFD4): Likewise.
41265         (__ASSUME_DUP3): Likewise.
41266         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41267         (__ASSUME_DUP3): Do not define.
41268         (__ASSUME_EVENTFD2): Likewise.
41269         (__ASSUME_IN_NONBLOCK): Likewise.
41270         (__ASSUME_O_CLOEXEC): Likewise.
41271         (__ASSUME_PIPE2): Likewise.
41272         (__ASSUME_SIGNALFD4): Likewise.
41273         (__ASSUME_SOCK_CLOEXEC): Likewise.
41274         (__ASSUME_UTIMES): Undefine.
41275         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41276         (__ASSUME_UTIMES): Do not define.
41277         (__ASSUME_O_CLOEXEC): Likewise.
41278         (__ASSUME_SOCK_CLOEXEC): Likewise.
41279         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41280         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41281         0x020621].
41282         (__ASSUME_PIPE2): Likewise.
41283         (__ASSUME_EVENTFD2): Likewise.
41284         (__ASSUME_SIGNALFD4): Likewise.
41285         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41286         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41287         Do not define.
41288         (__ASSUME_EVENTFD2): Likewise.
41289         (__ASSUME_SIGNALFD4): Likewise.
41290         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41291         (__ASSUME_32BITUIDS): Likewise.
41292         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41293         (__ASSUME_IPC64): Likewise.
41294         (__ASSUME_ST_INO_64_BIT): Likewise.
41295         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41296         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41297         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41298         (__ASSUME_UTIMES): Do not define.
41299         (__ASSUME_PSELECT): Likewise.
41300         (__ASSUME_PPOLL): Likewise.
41301         (__ASSUME_O_CLOEXEC): Likewise.
41302         (__ASSUME_SOCK_CLOEXEC): Likewise.
41303         (__ASSUME_IN_NONBLOCK): Likewise.
41304         (__ASSUME_PIPE2): Likewise.
41305         (__ASSUME_EVENTFD2): Likewise.
41306         (__ASSUME_SIGNALFD4): Likewise.
41307         (__ASSUME_DUP3): Likewise.
41308         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41309         (__ASSUME_UTIMES): Likewise.
41310         (__ASSUME_O_CLOEXEC): Likewise.
41311         (__ASSUME_SOCK_CLOEXEC): Likewise.
41312         (__ASSUME_IN_NONBLOCK): Likewise.
41313         (__ASSUME_PIPE2): Likewise.
41314         (__ASSUME_EVENTFD2): Likewise.
41315         (__ASSUME_SIGNALFD4): Likewise.
41316         (__ASSUME_DUP3): Likewise.
41317         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41318         (__ASSUME_UTIMES): Likewise.
41319         (__ASSUME_O_CLOEXEC): Likewise.
41320         (__ASSUME_SOCK_CLOEXEC): Likewise.
41321         (__ASSUME_IN_NONBLOCK): Likewise.
41322         (__ASSUME_PIPE2): Likewise.
41323         (__ASSUME_EVENTFD2): Likewise.
41324         (__ASSUME_SIGNALFD4): Likewise.
41325         (__ASSUME_DUP3): Likewise.
41326         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41327         Likewise.
41328         (__ASSUME_UTIMES): Likewise.
41329         (__ASSUME_EVENTFD2): Likewise.
41330         (__ASSUME_SIGNALFD4): Likewise.
41331         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41332         (__ASSUME_O_CLOEXEC): Likewise.
41333         (__ASSUME_SOCK_CLOEXEC): Likewise.
41334         (__ASSUME_IN_NONBLOCK): Likewise.
41335         (__ASSUME_PIPE2): Likewise.
41336         (__ASSUME_EVENTFD2): Likewise.
41337         (__ASSUME_SIGNALFD4): Likewise.
41338         (__ASSUME_DUP3): Likewise.
41339         (__ASSUME_UTIMES): Undefine.
41341         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41342         feclearexcept.  Remove symbol versioning code.
41343         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
41344         symbol versioning code.
41345         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
41346         symbol versioning code.
41347         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41348         feupdateenv.  Remove symbol versioning code.
41349         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41350         fegetexceptflag.  Remove symbol versioning code.
41351         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41352         fesetexceptflag.  Remove symbol versioning code.
41353         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41354         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
41355         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41356         (__posix_fadvise64_l32): Remove prototype.
41357         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41358         code.
41360 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41362         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41363         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41364         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41365         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41367 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
41369         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41370         current working directory
41372 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41374         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41375         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41376         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41377         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41378         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41379         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41380         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41381         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41382         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41383         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41384         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41385         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41386         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41387         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41388         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41389         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41390         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41391         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41392         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41393         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41394         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41395         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41396         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41397         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41398         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41399         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41400         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41401         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41402         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41403         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41404         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41405         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41406         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41407         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41408         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41409         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41410         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41411         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41412         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41413         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41414         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41415         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41417         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41418         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41420         * sysdeps/unix/sysv/linux/arm/Makefile
41421         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41422         Add rt-aeabi_unwind_cpp_pr1.
41423         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41424         Add nptl-aeabi_unwind_cpp_pr1.
41425         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41426         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41427         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41428         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41429         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41430         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41432         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41433         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41434         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41435         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41437         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41438         Deconditionalize the code that was previously under [RESET_PID].
41439         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41441         * sysdeps/generic/exit-thread.h: New file.
41442         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41443         * include/unistd.h (__exit_thread): Remove declaration.
41444         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41445         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41446         * csu/libc-start.c: Include <exit-thread.h>.
41447         (LIBC_START_MAIN): Pass no argument to __exit_thread.
41448         * nptl/pthread_create.c: Include <exit-thread.h>.
41449         (start_thread): Call __exit_thread in place of __exit_thread_inline.
41450         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41451         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41452         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41453         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41454         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41455         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41456         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41457         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41458         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41459         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41460         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41461         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41462         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41463         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41464         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41465         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41467 2014-05-13  Andreas Schwab  <schwab@suse.de>
41469         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41471 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
41473         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41474         (__ASSUME_UTIMES): Do not condition on kernel version.
41475         (__ASSUME_PSELECT): Define unconditionally.
41476         (__ASSUME_PPOLL): Likewise.
41477         (__ASSUME_ATFCTS): Likewise.
41478         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41479         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41480         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41481         (__ASSUME_UTIMENSAT): Define unconditionally.
41482         (__ASSUME_PRIVATE_FUTEX): Likewise.
41483         (__ASSUME_FALLOCATE): Likewise.
41484         (__ASSUME_O_CLOEXEC): Likewise.
41485         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41486         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41487         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41488         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41489         (__ASSUME_IN_NONBLOCK): Likewise.
41490         (__ASSUME_PIPE2): Likewise.
41491         (__ASSUME_EVENTFD2): Likewise.
41492         (__ASSUME_SIGNALFD4): Likewise.
41493         (__ASSUME_DUP3): Likewise.
41494         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41495         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41496         (__ASSUME_AT_RANDOM): Likewise.
41497         (__ASSUME_PREADV): Likewise.
41498         (__ASSUME_PWRITEV): Likewise.
41499         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41500         (__ASSUME_F_GETOWN_EX): Define unconditionally.
41501         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41502         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41503         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41504         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41505         (__ASSUME_O_CLOEXEC): Define unconditionally.
41506         (__ASSUME_PSELECT): Do not undefine conditionally.
41507         (__ASSUME_PPOLL): Likewise.
41508         (__ASSUME_ATFCTS): Likewise.
41509         (__ASSUME_SET_ROBUST_LIST): Likewise.
41510         (__ASSUME_UTIMENSAT): Likewise.
41511         (__ASSUME_FDATASYNC): Define unconditionally.
41512         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41513         (__ASSUME_SIGFRAME_V2): Likewise.
41514         )__ASSUME_EVENTFD2): Likewise.
41515         (__ASSUME_SIGNALFD4): Likewise.
41516         (__ASSUME_PSELECT): Do not undefine conditionally.
41517         (__ASSUME_PPOLL): Likewise.
41518         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41519         (__ASSUME_PSELECT): Define unconditionally.
41520         (__ASSUME_PPOLL): Likewise.
41521         (__ASSUME_O_CLOEXEC): Likewise.
41522         (__ASSUME_SOCK_CLOEXEC): Likewise.
41523         (__ASSUME_IN_NONBLOCK): Likewise.
41524         (__ASSUME_PIPE2): Likewise.
41525         (__ASSUME_EVENTFD2): Likewise.
41526         (__ASSUME_SIGNALFD4): Likewise.
41527         (__ASSUME_DUP3): Likewise.
41528         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41529         (__ASSUME_O_CLOEXEC): Likewise.
41530         (__ASSUME_SOCK_CLOEXEC): Likewise.
41531         (__ASSUME_IN_NONBLOCK): Likewise.
41532         (__ASSUME_PIPE2): Likewise.
41533         (__ASSUME_EVENTFD2): Likewise.
41534         (__ASSUME_SIGNALFD4): Likewise.
41535         (__ASSUME_DUP3): Likewise.
41536         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41537         (__ASSUME_EVENTFD2): Likewise.
41538         (__ASSUME_SIGNALFD4): Likewise.
41539         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41541 2014-05-12  Andreas Schwab  <schwab@suse.de>
41543         [BZ #16932]
41544         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41545         (_nss_nis_gethostbyname4_r): Return error if item length is larger
41546         than maximum RPC packet size.
41547         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41548         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41549         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41550         (_nss_nis_getservbyport_r): Likewise.
41552 2014-05-12  Will Newton  <will.newton@linaro.org>
41554         * malloc/Makefile (tests): Add tst-mallopt.
41555         * malloc/tst-mallopt.c: New file.
41557 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41559         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41560         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41562 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41564         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41565         (tst-tlsmod6.so): Likewise.
41567 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41569         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41571 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
41573         [BZ #16064]
41574         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41575         and <dl-procinfo.h>.
41576         (__fegetenv): Save SSE state in envp->__eip if supported.
41577         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41578         envp->__eip if supported.
41579         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41580         and <dl-procinfo.h>.
41581         (__fesetenv): Always set __eip, __cs_selector, __opcode,
41582         __data_offset and __data_selector in environment to 0.  Set SSE
41583         state if supported.
41584         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41585         test-fenv-sse.
41586         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41587         -mfpmath=sse.
41588         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41590 2014-05-09  Will Newton  <will.newton@linaro.org>
41592         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41593         and libc_relro_required for ARM.
41594         * sysdeps/arm/preconfigure: Regenerate.
41596 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
41597             Stefan Liebler  <stli@linux.vnet.ibm.com>
41599         * config.make.in (enable-lock-elision): New Makefile variable.
41600         * configure.ac: Likewise.
41601         * configure: Regenerate.
41602         * sysdeps/s390/configure.ac:
41603         Add check for gcc transactions support.
41604         * sysdeps/s390/configure: Regenerate.
41605         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41606         Build elision files if enabled.
41607         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41608         Add lock elision support for s390.
41609         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41610         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41611         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41612         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41613         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41614         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41615         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41616         Likewise.
41617         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41618         Likewise.
41619         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41620         Likewise.
41621         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41622         Likewise.
41623         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41624         (__lll_timedlock_elision, __lll_lock_elision)
41625         (__lll_unlock_elision, __lll_trylock_elision)
41626         (lll_timedlock_elision, lll_lock_elision)
41627         (lll_unlock_elision, lll_trylock_elision): Add.
41628         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41629         (pthread_mutex_t): Add lock elision support for s390.
41631 2014-05-14  Wilco  <wdijkstr@arm.com>
41633         * sysdeps/arm/fclrexcpt.c: Cleanup.
41634         * sysdeps/arm/fedisblxcpt.c: Cleanup.
41635         * sysdeps/arm/feenablxcpt.c: Cleanup.
41636         * sysdeps/arm/fegetenv.c: Cleanup.
41637         * sysdeps/arm/fegetexcept.c: Cleanup.
41638         * sysdeps/arm/fegetround.c: Cleanup.
41639         * sysdeps/arm/feholdexcpt.c: Cleanup.
41640         * sysdeps/arm/fesetenv.c: Cleanup.
41641         * sysdeps/arm/fesetround.c: Cleanup.
41642         * sysdeps/arm/feupdateenv.c: Cleanup.
41643         * sysdeps/arm/fgetexcptflg.c: Cleanup.
41644         * sysdeps/arm/fraiseexcpt.c: Cleanup.
41645         * sysdeps/arm/fsetexcptflg.c: Cleanup.
41646         * sysdeps/arm/ftestexcept.c: Cleanup.
41647         * sysdeps/arm/get-rounding-mode.h: Cleanup.
41648         * sysdeps/arm/setfpucw.c: Cleanup.
41650 2014-05-09  Will Newton  <will.newton@linaro.org>
41652         * sysdeps/arm/armv7/strcmp.S: New file.
41653         * NEWS: Mention addition of ARMv7 optimized strcmp.
41655 2014-05-08  Roland McGrath  <roland@hack.frob.com>
41657         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41658         look for %.ac rather than %.in.
41660         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41661         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41662         * sysdeps/mach/hurd/configure: Regenerated.
41663         * sysdeps/unix/sysv/linux/configure: Regenerated.
41665         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41667 2014-05-07  Steve Ellcey  <sellcey@mips.com>
41669         [BZ# 16922]
41670         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41671         (LONG_SUB): Ditto.
41672         (PTR_SUB): Ditto.
41674 2014-05-07  Andreas Schwab  <schwab@suse.de>
41676         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41677         when skipping over non-matching result from nscd.
41679 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
41681         [BZ #16876]
41682         * nptl/sockperf.c (client): Check socket return value.
41684         [BZ #16877]
41685         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41686         nscd security class.
41688 2014-05-06  Roland McGrath  <roland@hack.frob.com>
41690         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41691         * sysdeps/arm/unwind.h: ... here.
41693 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
41695         [BZ# 16916]
41696         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41697         Define.
41699 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41701         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41702         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41703         multiarch strncpy for PPC64.
41704         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41705         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41706         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41707         multiarch optimizations.
41708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41709         (__libc_ifunc_impl_list): Likewise.
41710         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41711         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41712         multiarch stpncpy for PPC64.
41713         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41714         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41716 2014-05-06  Andreas Schwab  <schwab@suse.de>
41718         [BZ #16912]
41719         * gmon/mcount.c (_MCOUNT_DECL): Use
41720         atomic_compare_and_exchange_bool_acq instead of
41721         catomic_compare_and_exchange_bool_acq.
41723 2014-05-05  Roland McGrath  <roland@hack.frob.com>
41725         * elf/Makefile (others, install-bin): Remove pldd.
41726         (pldd-modules): Variable removed.
41727         ($(objpfx)pldd): Target removed.
41728         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41729         (others, install-bin): Append pldd here.
41730         ($(objpfx)pldd): New target.
41732         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41733         to 0, so the first #if test emitted later doesn't see it undefined.
41734         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41735         * sysdeps/gnu/errlist.c: Regenerated.
41737 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41739         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41740         [libc_hidden_builtin_def]: Define to empty value.
41741         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41742         [libc_hidden_builtin_def]: Likewise.
41743         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41744         [libc_hidden_builtin_def]: Likewise.
41745         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41746         [libc_hidden_builtin_def]: Likewise.
41747         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41748         __redirect_memcpy and define ifunc as default hidden symbol.
41749         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41750         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41752 2014-05-04  Adam Conrad  <adconrad@0c3.net>
41754         * locale/iso-4217.def: Reintroduce XDR currency.
41756 2014-05-04  Allan McRae  <allan@archlinux.org>
41758         * po/eo.po: Update Esperanto translation from translation project.
41760 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
41762         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41763         and FEATURE_INDEX_MAX to 1.
41764         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41766 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41768         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41769         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41770         * iconvdata/big5.c (ONE_DIRECTION): Define.
41771         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41772         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41773         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41774         * iconvdata/cp932.c (ONE_DIRECTION): Define.
41775         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41776         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41777         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41778         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41779         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41780         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41781         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41782         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41783         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41784         * iconvdata/gbk.c (ONE_DIRECTION): Define.
41785         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41786         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41787         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41788         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41789         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41790         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41791         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41792         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41793         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41794         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41795         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41796         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41797         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41798         * iconvdata/iso646.c (ONE_DIRECTION): Define.
41799         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41800         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41801         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41802         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41803         * iconvdata/johab.c (ONE_DIRECTION): Define.
41804         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41805         * iconvdata/sjis.c (ONE_DIRECTION): Define.
41806         * iconvdata/t.61.c (ONE_DIRECTION): Define.
41807         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41808         * iconvdata/tscii.c (ONE_DIRECTION): Define.
41809         * iconvdata/uhc.c (ONE_DIRECTION): Define.
41810         * iconvdata/unicode.c (ONE_DIRECTION): Define.
41811         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41812         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41813         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41815 2014-05-01  Roland McGrath  <roland@hack.frob.com>
41817         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41818         (_IO_JUMPS_OFFSET): Define to 0.
41820         * nptl/sysdeps/pthread/bits/libc-lock.h
41821         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41822         (__libc_lock_define_initialized_recursive): Always define using
41823         initializer.  Modern compilers treat uninitialized (implicit zero) and
41824         explicit zero initializers the same (i.e. put the datum in bss).
41826 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41828         * nscd/nscd-client.h: Include <string.h>.
41830 2014-05-01  David S. Miller  <davem@davemloft.net>
41832         [BZ #16885]
41833         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41834         multiple zero bytes exist at the end of a string.
41835         Reported by Aurelien Jarno <aurelien@aurel32.net>
41837         * string/test-strcmp.c (check): Add explicit test for situations where
41838         there are multiple zero bytes after the first.
41840 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41842         [BZ #16890]
41843         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41844         when compiling wprintf.
41845         * stdio-common/tstdiomisc.c (t3): New function.
41846         (main): Call it.
41848 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41850         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41851         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41852         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41853         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41855 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41857         * stdlib/longlong.h: Updated from GCC.
41859 2014-05-01  Will Newton  <will.newton@linaro.org>
41860             Bernard Ogden  <bernie.ogden@linaro.org>
41862         * NEWS: Update fixed bug list.
41864         [BZ #15119]
41865         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41867 2014-04-30  David S. Miller  <davem@davemloft.net>
41869         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41870         (libc_feholdexcept_setround_sparc_ctx): New function.
41871         (libc_fesetenv_sparc_ctx): Likewise.
41872         (libc_feupdateenv_sparc_ctx): Likewise.
41873         (libc_feholdsetround_sparc_ctx): Likewise.
41874         (libc_feholdexcept_setround_ctx): Define.
41875         (libc_feholdexcept_setroundf_ctx): Likewise.
41876         (libc_feholdexcept_setroundl_ctx): Likewise.
41877         (libc_fesetenv_ctx): Likewise.
41878         (libc_fesetenvf_ctx): Likewise.
41879         (libc_fesetenvl_ctx): Likewise.
41880         (libc_feupdateenv_ctx): Likewise.
41881         (libc_feupdateenvf_ctx): Likewise.
41882         (libc_feupdateenvl_ctx): Likewise.
41883         (libc_feresetround_ctx): Likewise.
41884         (libc_feresetroundf_ctx): Likewise.
41885         (libc_feresetroundl_ctx): Likewise.
41886         (libc_feholdsetround_ctx): Likewise.
41887         (libc_feholdsetroundf_ctx): Likewise.
41888         (libc_feholdsetroundl_ctx): Likewise.
41890         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41891         with __USE_GNU instead of XOPEN cpp guards.
41893         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41894         0.
41896         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41897         with XOPEN cpp guards.
41899 2014-04-30  Julian Brown  <julian@codesourcery.com>
41901         [BZ #16888]
41902         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41903         handling.
41905 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
41907         [BZ #9894]
41908         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41909         Change to 2.6.32.
41910         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41911         * sysdeps/unix/sysv/linux/configure: Regenerated.
41912         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41913         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41914         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41915         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41916         * README: Update reference to required Linux kernel version.
41917         * manual/install.texi (Linux): Update reference to required Linux
41918         kernel headers version.
41919         * INSTALL: Regenerated.
41921         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41922         header inclusion.
41923         [POSIX] (limits.h): Likewise.
41924         [POSIX] (math.h): Likewise.
41925         [POSIX] (sys/wait.h): Likewise.
41926         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41927         function.
41928         [POSIX] (stddef.h): Do not allow header inclusion.
41930 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41932         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41934 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
41936         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41937         Return immediately after lll_futex_wake.
41939 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41941         [BZ #16791]
41942         * nscd/nscd-client.h (datahead_init_common): Initialize entire
41943         structure.
41944         (datahead_init_pos): Call datahead_init_common early.
41945         (datahead_init_neg): Likewise.
41947         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41948         datahead_init_neg): New functions.
41949         * nscd/aicache.c (addhstaiX): Use them.
41950         * nscd/grpcache.c (cache_addgr): Likewise.
41951         * nscd/hstcache.c (cache_addhst): Likewise.
41952         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41953         * nscd/netgroupcache.c (do_notfound): Likewise.
41954         (addgetnetgrentX): Likewise.
41955         (addinnetgrX): Likewise.
41956         * nscd/pwdcache.c (cache_addpw): Likewise.
41957         * nscd/servicescache.c (cache_addserv): Likewise.
41959 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41960             Atsushi Onoe  <atsushi@onoe.org>
41962         [BZ #14308]
41963         [BZ #12994]
41964         [BZ #13651]
41965         * resolv/res_query.c (__libc_res_nsearch): Return if at least
41966         one response is valid.
41967         * resolv/res_send.c (send_dg): Check for validity of other
41968         response if the current response is a referral.
41970 2014-04-29  Steve Ellcey  <sellcey@mips.com>
41972         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41974 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
41976         [BZ #16823]
41977         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41978         Always divide by positive zero when computing -Inf result.
41979         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41980         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41982 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41984         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41985         FPSCR if value do not change.
41986         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41987         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
41988         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41989         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41990         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
41991         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
41992         function.
41994 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
41996         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
41997         * sysdeps/unix/sysv/linux/hppa: Move directory from
41998         ports/systeps/unix/sysv/linux/hppa.
41999         * README: Update listing for hppa-*-linux-gnu.
42001 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42003         [BZ #16754]
42004         * manual/stdio.texi (Hook functions): Fix types of stream hook
42005         functions.
42006         [BZ #16854]
42007         * socket/sys/socket.h: Fix typo in comment.
42009 2014-04-28  Wilco  <wdijkstr@arm.com>
42011         * sysdeps/arm/fenv_private.h: New file.
42012         * sysdeps/arm/math_private.h: New file.
42013         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42015 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42017         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42018         with __int128_t.
42019         (La_x86_64_retval): Likewise.
42021 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42023         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42024         fpsr if value didn't change.
42025         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42026         to fpcr if value didn't change.
42027         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42028         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42029         fpsr or fpcr if value didn't change.
42030         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42031         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42032         fpcr if value didn't change.
42033         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42034         to fpsr if value didn't change.
42036 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42038         * nptl/tst-sem3.c: Use test-skeleton.c
42039         (main): Rename to do_test.  Use return instead of
42040         exit.
42041         * nptl/tst-sem4.c: Use test-skeleton.c
42042         (main): Rename to do_test.
42044 2014-04-22  David S. Miller  <davem@davemloft.net>
42046         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42047         (struct sigaction): New struct member __glibc_reserved0, change
42048         type of sa_flags to int.
42050 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42052         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42053         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42055 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42057         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42058         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42060 2014-04-22  Will Newton  <will.newton@linaro.org>
42061             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42063         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42064         (__longjmp): Add longjmp and longjmp_target SystemTap
42065         probes.
42066         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42067         (__sigsetjmp): Add setjmp SystemTap probe.
42069 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42071         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42072         match manual order.
42074 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42076         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42078         * sysdeps/powerpc/fpu/fenv_private.h
42079         (libc_feholdexcept_setroundl_ctx): Define to
42080         libc_feholdexcept_setround_ppc_ctx.
42081         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42082         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42083         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42084         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42086 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42088         * sysdeps/aarch64/math-tests.h: New file.
42090 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42092         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42093         New.
42094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42095         Check and set bit_AVX2_Usable.
42096         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42097         macro.
42098         (bit_AVX2): Likewise.
42099         (index_AVX2_Usable): Likewise.
42100         (CPUID_AVX2): Likewise.
42101         (HAS_AVX2): Likewise.
42103 2014-04-17  Will Newton  <will.newton@linaro.org>
42105         * manual/setjmp.texi (System V contexts): Add note that
42106         calling setcontext on a context created by a call to a
42107         signal handler is undefined.  Update text to note that
42108         setcontext from a signal handler is possible but not
42109         recommended.
42111         [BZ #16629]
42112         * stdlib/tst-setcontext.c: Include signal.h.
42113         (main): Check that the signal stack before and
42114         after swapcontext is the same.
42116         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42117         Re-implement to restore registers in user code and avoid
42118         rt_sigreturn system call.
42120 2014-04-17  Wilco  <wdijkstr@arm.com>
42122         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42123         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42124         * math/test-fenv.c: Skip exception trap tests on targets which only
42125         support non-stop mode.
42127 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42128             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42130         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42131         (libc_feholdsetround_aarch64_ctx)
42132         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42133         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42134         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42135         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42136         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42137         (libc_feresetround_noexl_ctx): Define.
42139 2014-04-16  Richard Henderson  <rth@redhat.com>
42141         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42143         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42144         unwind tables.
42146         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42147         const from the non-libc, non-ldso copy.
42149         * sysdeps/alpha/libm-test-ulps: Regenerate.
42151 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42152             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42154         * sysdeps/aarch64/fpu/math_private.h: New file.
42156 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42158         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42160 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42162         [BZ #16275]
42163         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42164         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42165         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42166         Intel MPX bound registers before _dl_profile_fixup.
42167         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42168         registers after _dl_profile_fixup.  Save and restore bound
42169         registers bnd0/bnd1 when calling _dl_call_pltexit.
42170         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42171         (LR_BND_OFFSET): Likewise.
42172         (LRV_BND0_OFFSET): Likewise.
42173         (LRV_BND1_OFFSET): Likewise.
42175 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42177         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42178         to...
42179         * sysdeps/mach/hurd/i386/tls.h: ... here.
42180         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42181         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42182         fields.
42184 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42186         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42188 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42190         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42192 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42194         [BZ #14770]
42195         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42196         * sysdeps/s390/configure: Regenerate.
42198         [BZ #16824]
42199         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42200         Set round-to-nearest internally to reduce error accumulation.
42202 2014-04-16  Alan Modra  <amodra@gmail.com>
42204         [BZ #16740]
42205         [BZ #16619]
42206         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42207         * math/libm-test.inc (frexp_test_data): Add tests.
42208         * NEWS: Update fixed bug list.
42210 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42212         * benchtests/Makefile: Depend on libraries in build directory.
42213         (bench-math): Separate out math tests.
42214         (bench-pthread): Separate out pthread tests.
42215         (bench): Include math and pthread tests.
42217 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
42219         [BZ #16831]
42220         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42221         _dl_debug_initialize.
42223         * configure.ac: Remove SELinux header check.
42224         * configure: Regenerate.
42225         * nscd/selinux.c (perms): Array of const char* to permission names.
42226         (nscd_request_avc_has_perm): Call security_deny_unknown to find
42227         default policy. Call string_to_security_class and string_to_av_perm to
42228         translate strings. Enforce default policy and call avs_has_perm with
42229         results of translated strings.
42231 2014-04-13  David S. Miller  <davem@davemloft.net>
42233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42235 2014-04-12  Allan McRae  <allan@archlinux.org>
42237         [BZ #16838]
42238         * manual/string.texi (Collation Functions): Fix qsort argument
42239         order in example.
42240         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42242 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
42244         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42245         Make the test a no-op if there are no exceptions defined.
42247 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
42249         * elf/Makefile (tests): make tst-dlopen-aout conditional on
42250         enable-hardcoded-path-in-tests
42252 2014-04-11  Will Newton  <will.newton@linaro.org>
42254         * benchtests/Makefile (extra-objs): Add json-lib.o.
42255         (bench-func): Tidy up JSON output.
42256         * benchtests/bench-skeleton.c: Include json-lib.h.
42257         (main): Use JSON library functions to do output of
42258         benchmark results.
42259         * benchtests/bench-timing-type.c (main): Output the
42260         timing type simply, leaving formatting to the user.
42261         * benchtests/json-lib.c: New file.
42262         * benchtests/json-lib.h: Likewise.
42264 2014-04-11  Torvald Riegel  <triegel@redhat.com>
42266         [BZ #15215]
42267         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42268         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
42269         memory barriers.  Add comments.
42270         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42271         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42272         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42273         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42274         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42275         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42277 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42279         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42280         * sysdeps/s390/s390-64/configure.ac: ... this ...
42281         * sysdeps/s390/configure.ac: ... to here.
42282         * sysdeps/s390/s390-32/configure: Delete file.
42283         * sysdeps/s390/s390-64/configure: Delete file.
42284         * sysdeps/s390/configure: Regenerate.
42286 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
42288         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42290 2014-04-11  Will Newton  <will.newton@linaro.org>
42292         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42293         to zero if it is not defined elsewhere.  (mtrim): Test
42294         the value of MALLOC_DEBUG with #if rather than #ifdef.
42296 2014-04-10 Torvald Riegel  <triegel@redhat.com>
42298         * benchtests/pthread_once-inputs: New file.
42299         * benchtests/pthread_once-source.c: New file.
42300         * benchtests/README: Update documentation.
42302 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
42303             H.J. Lu  <hongjiu.lu@intel.com>
42305         [BZ #16275]
42306         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42307         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42308         * sysdeps/x86_64/configure: Regenerated.
42309         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42310         macro.
42311         (REGISTER_SAVE_RAX): Likewise.
42312         (REGISTER_SAVE_RCX): Likewise.
42313         (REGISTER_SAVE_RDX): Likewise.
42314         (REGISTER_SAVE_RSI): Likewise.
42315         (REGISTER_SAVE_RDI): Likewise.
42316         (REGISTER_SAVE_R8): Likewise.
42317         (REGISTER_SAVE_R9): Likewise.
42318         (REGISTER_SAVE_BND0): Likewise.
42319         (REGISTER_SAVE_BND1): Likewise.
42320         (REGISTER_SAVE_BND2): Likewise.
42321         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
42322         bound registers when calling _dl_fixup.
42324 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42326         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42327         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42328         of its definition.
42329         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42330         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42331         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42332         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42333         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42334         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42335         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42337 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
42339         [BZ #15514]
42340         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42341         pathconf(_PC_NAME_MAX).
42343 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42345         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42346         Remove macro usage.
42347         (__PTHREAD_SPINS): Move definition to ...
42348         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42349         (__PTHREAD_SPINS): ... here.
42350         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42351         (__PTHREAD_SPIN): Likewise.
42352         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42353         (__PTHREAD_SPIN): Likewise.
42354         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42355         (__PTHREAD_SPIN): Likewise.
42356         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42357         (__PTHREAD_SPIN): Likewise.
42358         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42359         (__PTHREAD_SPIN): Likewise.
42360         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42361         (__PTHREAD_SPIN): Likewise.
42362         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42363         (__PTHREAD_SPIN): Likewise.
42364         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42365         (__PTHREAD_SPIN): Likewise.
42366         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42367         (__PTHREAD_SPIN): Likewise.
42368         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42369         (__PTHREAD_SPIN): Likewise.
42370         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42371         (__PTHREAD_SPIN): Likewise.
42372         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42373         (__PTHREAD_SPIN): Likewise.
42375         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42376         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42377         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42378         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42379         imply folder.
42380         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42381         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42382         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42383         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42384         correct imply path.
42385         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42386         strlen symbol for non multi-arch builds.
42387         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42388         missing hidden_def and weak_alias.
42390 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
42392         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42394 2014-04-07  Will Newton  <will.newton@linaro.org>
42396         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42397         and contents.  [!_LIBC] Remove #ifndef and contents.
42398         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
42399         * string/memccpy.c (__memccpy): Use ANSI prototype.
42400         * string/memfrob.c (memfrob): Likewise.
42401         * string/strcoll.c (STRCOLL): Likewise.
42402         * string/strlen.c (strlen): Likewise.
42403         * string/strtok.c (STRTOK): Likewise.
42404         * string/strcat.c: Remove unused #include of memcopy.h.
42405         (strcat): Use ANSI prototype.
42406         * string/strchr.c: Remove unused #include of memcopy.h.
42407         (strchr): Use ANSI prototype.
42408         * string/strcmp.c: Remove unused #include of memcopy.h.
42409         (strcmp): Use ANSI prototype.
42410         * string/strcpy.c: Remove unused #include of memcopy.h.
42411         (strcpy): Use ANSI prototype.
42413 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42415         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42416         * config.make.in (config-extra-cppflags): Set it from
42417         libc_extra_cppflags.
42418         * configure.ac (libc_extra_cflags): Make it accumulate over
42419         configure fragments.
42420         (libc_extra_cppflags): New flag.
42421         * configure. Regenerate.
42422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42423         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42424         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42427         [BZ #16815]
42428         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42429         result for FE_DOWNWARD rounding mode.
42430         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42431         Likewise.
42432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42434 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
42436         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42437         in function argument name.
42439 2014-04-03  David Svoboda  <svoboda@cert.org>
42441         [BZ #5666]
42442         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42443         explicitly.
42445 2014-04-03  Roland McGrath  <roland@hack.frob.com>
42447         * elf/dl-unmap-segments.h: New file.
42448         * sysdeps/generic/ldsodefs.h
42449         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42450         * elf/dl-close.c: Include <dl-unmap-segments.h>.
42451         * elf/dl-fptr.c: Likewise.
42452         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42453         * sysdeps/aarch64/tlsdesc.c: Likewise.
42454         * sysdeps/arm/tlsdesc.c: Likewise.
42455         * sysdeps/i386/tlsdesc.c: Likewise.
42456         * sysdeps/tile/dl-runtime.c: Likewise.
42457         * sysdeps/x86_64/tlsdesc.c: Likewise.
42458         * elf/dl-load.h: New file.
42459         * elf/dl-load.c: Include it.
42460         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42461         Macros moved to dl-load.h.
42462         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42463         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42464         Use _dl_unmap_segments in place of __munmap.
42465         Break out segment-mapping loop into ...
42466         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42468 2014-04-03  Will Newton  <will.newton@linaro.org>
42470         * elf/dl-lookup.c (do_lookup_x): Remove comment
42471         referring to nested function and move variable
42472         declarations down to before first use.
42474 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
42476         [BZ #16799]
42477         [BZ #16800]
42478         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42479         with 0 numerator.
42480         * math/s_catanf.c (__catanf): Likewise.
42481         * math/s_catanh.c (__catanh): Likewise.
42482         * math/s_catanhf.c (__catanhf): Likewise.
42483         * math/s_catanhl.c (__catanhl): Likewise.
42484         * math/s_catanl.c (__catanl): Likewise.
42485         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42486         by positive zero when computing -Inf result.
42487         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42488         (catanh_test): Likewise.
42489         * sysdeps/i386/fpu/libm-test-ulps: Update.
42490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42492         [BZ #16789]
42493         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42494         instead of using underflowing value in computing result.
42495         * math/s_clog10.c (__clog10): Likewise.
42496         * math/s_clog10f.c (__clog10f): Likewise.
42497         * math/s_clog10l.c (__clog10l): Likewise.
42498         * math/s_clogf.c (__clogf): Likewise.
42499         * math/s_clogl.c (__clogl): Likewise.
42500         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42501         (clog10_test): Likewise.
42502         * sysdeps/i386/fpu/libm-test-ulps: Update.
42503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42505 2014-04-02  Alan Modra  <amodra@gmail.com>
42507         [BZ #16739]
42508         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42509         output when value is near a power of two.  Use int64_t for lx and
42510         remove casts.  Use decimal rather than hex exponent constants.
42511         Don't use long double multiplication when double will suffice.
42512         * math/libm-test.inc (nextafter_test_data): Add tests.
42513         * NEWS: Add 16739 and 16786 to bug list.
42515         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42517         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42519 2014-04-01  Will Newton  <will.newton@linaro.org>
42521         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42522         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
42524 2014-04-01  Florian Weimer  <fweimer@redhat.com>
42526         [BZ #13347]
42527         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42528         * nptl/tst-setuid2.c: New file.
42529         * nptl/Makefile (xtests): Add tst-setuid2.
42531 2014-04-01  Alan Modra  <amodra@gmail.com>
42533         [BZ #16786]
42534         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42536 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42538         [BZ #6803]
42539         [BZ #6804]
42540         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42541         set errno as appropriate.
42542         * math/w_scalbf.c (__scalbf): Likewise.
42543         * math/w_scalbl.c (__scalbl): Likewise.
42544         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42545         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42546         * math/libm-test.inc (scalb_test_data): Add errno expectations.
42547         Add more NaN tests.
42549         [BZ #16349]
42550         * math/w_atan2.c: Include <errno.h>.
42551         (__atan2): Set errno for result underflowing to zero.
42552         * math/w_atan2f.c: Include <errno.h>.
42553         (__atan2f): Set errno for result underflowing to zero.
42554         * math/w_atan2l.c: Include <errno.h>.
42555         (__atan2l): Set errno for result underflowing to zero.
42556         * math/auto-libm-test-in: Don't allow missing errno for some atan2
42557         tests.
42558         * math/auto-libm-test-out: Regenerated.
42560 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42562         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42563         Encode instruction correctly in little endian.
42564         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42565         Likewise.
42566         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42567         Likewise.
42568         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42569         Likewise.
42570         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42571         Likewise.
42573 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42575         [BZ #9894]
42576         * sysdeps/unix/sysv/linux/kernel-features.h
42577         [__sparc__ && !__arch64__ && !__sparc_v9__]
42578         (__ASSUME_SET_ROBUST_LIST): Do not define.
42579         [__sparc__ && !__arch64__ && !__sparc_v9__]
42580         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42581         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42582         Likewise.
42583         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42584         (__ASSUME_FUTEX_LOCK_PI): Undefine.
42585         (__ASSUME_REQUEUE_PI): Likewise.
42586         (__ASSUME_SET_ROBUST_LIST): Likewise.
42587         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42588         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42589         Undefine.
42590         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42591         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42592         Likewise.
42593         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42594         Likewise.
42595         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42596         Likewise.
42597         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42598         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42599         Undefine.
42600         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42601         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42602         Likewise.
42604         [BZ #16648]
42605         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42606         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42607         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42609 2014-03-31  Will Newton  <will.newton@linaro.org>
42611         * benchtests/Makefile (bench): Add ffs and ffsll to list
42612         of tests.
42613         * benchtests/ffs-inputs: New file.
42614         * benchtests/ffsll-inputs: Likewise.
42616 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
42618         [BZ #16770]
42619         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42620         too large before casting to int.
42621         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42622         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42623         * math/libm-test.inc (scalb_test_data): Add more tests.
42625 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42627         * benchtests/Makefile (DETAILED_OPT): New make option.
42628         (bench-func): Run benchmark program with -d if DETAILED_OPT is
42629         set.
42630         * benchtests/bench-skeleton.c: Include stdbool.h.
42631         (main): Store and print timings per input.
42632         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42633         member to each argument value.
42634         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42635         (_print_arg_data): Initialize per-input timing to 0.
42637         * benchtests/Makefile (timing-type): New binary.
42638         (bench-clean): Also remove bench-timing-type.
42639         (bench): New target for timing-type.
42640         (bench-func): Print output in JSON format.
42641         * benchtests/bench-skeleton.c (main): Print output in JSON
42642         format.
42643         * benchtests/bench-timing-type.c: New file.
42644         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42645         (TIMING_PRINT_STATS): Remove.
42646         * benchtests/scripts/bench.py (_print_arg_data): Store variant
42647         name separately.
42649         * benchtests/bench-modf.c: Remove.
42650         * benchtests/modf-inputs: New inputs file.
42652 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
42654         [BZ #16362]
42655         * math/s_clog10.c (M_PI_LOG10E): New macro.
42656         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42657         imaginary parts are 0.
42658         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42659         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42660         imaginary parts are 0.
42661         * math/s_clog10l.c (M_PI_LOG10El): New macro.
42662         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42663         imaginary parts are 0.
42664         * math/libm-test.inc (clog10_test_data): Update expected results
42665         for when real and imaginary parts are 0.
42667 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
42669         * elf/dl-load.c: Finish conversion of __builtin_expect into
42670         __glibc_{un}likely.
42672 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
42674         [BZ #16348]
42675         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42676         1+x for argument with exponent below -67.
42677         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42678         Likewise.
42679         * math/auto-libm-test-in: Add more tests of exp.
42680         * math/auto-libm-test-out: Regenerated.
42682 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42684         [BZ #16759]
42685         * inet/getnetgrent_r.c (get_nonempty_val): New function.
42686         (nscd_getnetgrent): Use it.
42688         [BZ #16760]
42689         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42690         of stpcpy.
42692 2014-03-27  Andi Kleen  <ak@linux.intel.com>
42694         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42695         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42696         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42697         (lll_robust_unlock): Remove out of line section. Use cfi
42698         intrinsics.
42699         (LLL_STUB_UNWIND_INFO*): Remove.
42700         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42701         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42702         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42703         (lll_robust_unlock): Remove out of line section. Use cfi
42704         intrinsics.
42705         (LLL_STUB_UNWIND_INFO*): Remove.
42707 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42709         [BZ #16758]
42710         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42711         blank values.
42713 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
42715         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42717 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
42719         [BZ #16198]
42720         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42721         fnstenv.
42722         * math/test-fenv-preserve.c: New file.
42723         * math/Makefile (tests): Add test-fenv-preserve.
42725 2014-03-26  Will Newton <will.newton@linaro.org>
42727         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42729 2014-03-25  Roland McGrath  <roland@hack.frob.com>
42731         * scripts/versionlist.awk: Partition the version sets and emit all
42732         GLIBC_* (sorted) before all others (sorted).
42734 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42736         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42737         GLIBC_2.2.5 version.
42739 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42741         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42742         calls.
42744         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42745         previous change.
42747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42749 2014-03-25  Andreas Schwab  <schwab@suse.de>
42751         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42752         label to be used after in6ailist is initialized.
42754 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42756         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42757         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42759 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42761         [BZ #16357]
42762         [BZ #16599]
42763         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42764         min_plus_half.
42765         (fp_formats): Update initializers.
42766         (init_fp_formats): Initialize new field.
42767         (output_for_one_input_case): Allow underflow for results up to
42768         min_plus_half.
42769         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42770         * math/auto-libm-test-in: Don't mark some underflows from asin and
42771         atanh as spurious.
42772         * math/auto-libm-test-out: Regenerated.
42773         * sysdeps/i386/fpu/libm-test-ulps: Update.
42774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42776 2014-03-25  Andreas Schwab  <schwab@suse.de>
42778         * libio/Makefile (tst-ftell-partial-wide-ENV)
42779         (tst-ftell-active-handler-ENV): Define.
42781 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
42783         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42785 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42787         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42789 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42791         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42792         * sysdeps/x86_64/fpu/multiarch/e_exp.c
42793         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42795 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42797         [BZ #16634]
42798         * elf/dl-load.c (open_verify): Add mode parameter.
42799         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42800         (open_path): Change from boolean 'secure' to complete flag 'mode'
42801         (_dl_map_object): Adjust.
42802         * elf/Makefile (tests): Add tst-dlopen-aout.
42803         * elf/tst-dlopen-aout.c: New test.
42805 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
42807         [BZ #16714]
42808         * sysdeps/unix/sysv/linux/s390/bits/stat.h
42809         (struct stat): Rename member pad0 to __glibc_reserved0.
42811         [BZ #16712]
42812         * sysdeps/s390/s390-32/bits/wordsize.h
42813         (__WORDSIZE32_SIZE_ULONG): New define.
42814         * sysdeps/s390/s390-64/bits/wordsize.h
42815         (__WORDSIZE32_SIZE_ULONG): Likewise.
42816         * sysdeps/generic/stdint.h (SIZE_MAX):
42817         Define as UL if __WORDSIZE32_SIZE_ULONG.
42819         [BZ #16713]
42820         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42821         (__glibc_reserved0): New variable.
42822         (sa_flags): Change type to int.
42824         * posix/Makefile (before-compile): Use += before-compile instead
42825         of a :=.
42827         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42828         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42830 2014-03-20  Andreas Schwab  <schwab@suse.de>
42832         [BZ #16743]
42833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42834         non-matching result from nscd.
42836 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42838         * scripts/bench.py: Moved to ...
42839         * benchtests/scripts/bench.py: ... here.
42840         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42842 2014-03-24  Andreas Schwab  <schwab@suse.de>
42844         [BZ #16002]
42845         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42846         alloca_account and account alloca use for struct in6ailist.
42848 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42850         [BZ #16284]
42851         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42852         rounding mode to recompute results that overflow to infinity or
42853         underflow to zero.
42854         * math/auto-libm-test-in: Don't mark tests as expected to fail for
42855         bug 16284.
42856         * math/auto-libm-test-out: Regenerated.
42857         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42858         (ccosh_test): Likewise.
42859         (csin_test_data): Use plus_oflow.
42860         (csin_test): Use ALL_RM_TEST.
42861         (csinh_test_data): Use plus_oflow.
42862         (csinh_test): Use ALL_RM_TEST.
42863         * sysdeps/i386/fpu/libm-test-ulps: Update.
42864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42866 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
42868         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42869         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42870         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42872         [BZ #16731]
42873         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42874         when x - 1 is zero.
42875         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42876         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42877         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42878         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42879         argument is 1.
42880         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42881         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42882         zero.
42883         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42884         * sysdeps/i386/fpu/libm-test-ulps: Update.
42885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42887 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42889         * scripts/bench.pl: Remove file.
42890         * scripts/bench.py: New benchmark script.
42891         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42892         * benchtests/README: Mention python dependency.
42893         * scripts/pylintrc: New file.
42894         * scripts/pylint: New file.
42896         * bits/mathdef.h: Use #ifdef instead of #if.
42897         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42898         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42899         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42900         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42901         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42902         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42904 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42905             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42907         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42909         and strpbrk-ppc64 objects.
42910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42911         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42912         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42913         multiarch strpbrk for POWER7.
42914         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42915         multiarch strpbrk for PPC64.
42916         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42917         ifunc selector.
42918         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42919         strpbrk for POWER7.
42921 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42923         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42924         (atan_test): Likewise.
42925         (atanh_test_data): Use NO_TEST_INLINE for two tests.
42926         (atanh_test): Use ALL_RM_TEST.
42927         (atan2_test_data): Likewise.
42928         (cabs_test): Likewise.
42929         (cacosh_test): Likewise.
42930         (carg_test): Likewise.
42931         (casin_test): Likewise.
42932         (casinh_test): Likewise.
42933         (cbrt_test): Likewise.
42934         (csqrt_test): Likewise.
42935         (erf_test): Likewise.
42936         (erfc_test): Likewise.
42937         (pow10_test): Likewise.
42938         (exp2_test): Likewise.
42939         (hypot_test): Likewise.
42940         (j0_test): Likewise.
42941         (j1_test): Likewise.
42942         (lgamma_test): Likewise.
42943         (gamma_test): Likewise.
42944         (sincos_test): Likewise.
42945         (tanh_test): Likewise.
42946         (y0_test): Likewise.
42947         (y1_test): Likewise.
42948         * sysdeps/i386/fpu/libm-test-ulps: Update.
42949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42951 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42953         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42954         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42955         and strcspn-ppc64 objects.
42956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42957         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42958         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42959         multiarch strcspn for POWER7.
42960         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42961         multiarch strcspn for PPC64.
42962         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42963         ifunc selector.
42964         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42965         strcspn for POWER7.
42967 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42969         * math/gen-libm-test.pl (generate_testfile): Expect only function
42970         name as argument to AUTO_TESTS_* and pass results for all rounding
42971         modes to parse_args.
42972         (parse_auto_input): Separate inputs of automatic tests from
42973         outputs before storing in %auto_tests.
42974         * math/libm-test.inc (acos_test_data): Update call to
42975         AUTO_TESTS_f_f.
42976         (acos_test): Use ALL_RM_TEST.
42977         (acos_tonearest_test_data): Remove.
42978         (acos_test_tonearest): Likewise.
42979         (acos_towardzero_test_data): Likewise.
42980         (acos_test_towardzero): Likewise.
42981         (acos_downward_test_data): Likewise.
42982         (acos_test_downward): Likewise.
42983         (acos_upward_test_data): Likewise.
42984         (acos_test_upward): Likewise.
42985         (acosh_test_data): Update call to AUTO_TESTS_f_f.
42986         (asin_test_data): Likewise.
42987         (asin_test): Use ALL_RM_TEST.
42988         (asin_tonearest_test_data): Remove.
42989         (asin_test_tonearest): Likewise.
42990         (asin_towardzero_test_data): Likewise.
42991         (asin_test_towardzero): Likewise.
42992         (asin_downward_test_data): Likewise.
42993         (asin_test_downward): Likewise.
42994         (asin_upward_test_data): Likewise.
42995         (asin_test_upward): Likewise.
42996         (asinh_test_data): Update call to AUTO_TESTS_f_f.
42997         (atan_test_data): Likewise.
42998         (atanh_test_data): Likewise.
42999         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43000         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43001         (carg_test_data): Likewise.
43002         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43003         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43004         (ccosh_test_data): Likewise.
43005         (cexp_test_data): Likewise.
43006         (clog_test_data): Likewise.
43007         (clog10_test_data): Likewise.
43008         (cos_test_data): Update call to AUTO_TESTS_f_f.
43009         (cos_test): Use ALL_RM_TEST.
43010         (cos_tonearest_test_data): Remove.
43011         (cos_test_tonearest): Likewise.
43012         (cos_towardzero_test_data): Likewise.
43013         (cos_test_towardzero): Likewise.
43014         (cos_downward_test_data): Likewise.
43015         (cos_test_downward): Likewise.
43016         (cos_upward_test_data): Likewise.
43017         (cos_test_upward): Likewise.
43018         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43019         (cosh_test): Use ALL_RM_TEST.
43020         (cosh_tonearest_test_data): Remove.
43021         (cosh_test_tonearest): Likewise.
43022         (cosh_towardzero_test_data): Likewise.
43023         (cosh_test_towardzero): Likewise.
43024         (cosh_downward_test_data): Likewise.
43025         (cosh_test_downward): Likewise.
43026         (cosh_upward_test_data): Likewise.
43027         (cosh_test_upward): Likewise.
43028         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43029         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43030         (ctan_test_data): Likewise.
43031         (ctan_test): Use ALL_RM_TEST.
43032         (ctan_tonearest_test_data): Remove.
43033         (ctan_test_tonearest): Likewise.
43034         (ctan_towardzero_test_data): Likewise.
43035         (ctan_test_towardzero): Likewise.
43036         (ctan_downward_test_data): Likewise.
43037         (ctan_test_downward): Likewise.
43038         (ctan_upward_test_data): Likewise.
43039         (ctan_test_upward): Likewise.
43040         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43041         (ctanh_test): Use ALL_RM_TEST.
43042         (ctanh_tonearest_test_data): Remove.
43043         (ctanh_test_tonearest): Likewise.
43044         (ctanh_towardzero_test_data): Likewise.
43045         (ctanh_test_towardzero): Likewise.
43046         (ctanh_downward_test_data): Likewise.
43047         (ctanh_test_downward): Likewise.
43048         (ctanh_upward_test_data): Likewise.
43049         (ctanh_test_upward): Likewise.
43050         (erf_test_data): Update call to AUTO_TESTS_f_f.
43051         (erfc_test_data): Likewise.
43052         (exp_test_data): Likewise.
43053         (exp_test): Use ALL_RM_TEST.
43054         (exp_tonearest_test_data): Remove.
43055         (exp_test_tonearest): Likewise.
43056         (exp_towardzero_test_data): Likewise.
43057         (exp_test_towardzero): Likewise.
43058         (exp_downward_test_data): Likewise.
43059         (exp_test_downward): Likewise.
43060         (exp_upward_test_data): Likewise.
43061         (exp_test_upward): Likewise.
43062         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43063         (exp10_test): Use ALL_RM_TEST.
43064         (exp10_tonearest_test_data): Remove.
43065         (exp10_test_tonearest): Likewise.
43066         (exp10_towardzero_test_data): Likewise.
43067         (exp10_test_towardzero): Likewise.
43068         (exp10_downward_test_data): Likewise.
43069         (exp10_test_downward): Likewise.
43070         (exp10_upward_test_data): Likewise.
43071         (exp10_test_upward): Likewise.
43072         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43073         (expm1_test_data): Likewise.
43074         (expm1_test): Use ALL_RM_TEST.
43075         (expm1_tonearest_test_data): Remove.
43076         (expm1_test_tonearest): Likewise.
43077         (expm1_towardzero_test_data): Likewise.
43078         (expm1_test_towardzero): Likewise.
43079         (expm1_downward_test_data): Likewise.
43080         (expm1_test_downward): Likewise.
43081         (expm1_upward_test_data): Likewise.
43082         (expm1_test_upward): Likewise.
43083         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43084         (fma_test): Use ALL_RM_TEST.
43085         (fma_towardzero_test_data): Remove.
43086         (fma_test_towardzero): Likewise.
43087         (fma_downward_test_data): Likewise.
43088         (fma_test_downward): Likewise.
43089         (fma_upward_test_data): Likewise.
43090         (fma_test_upward): Likewise.
43091         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43092         (j0_test_data): Update call to AUTO_TESTS_f_f.
43093         (j1_test_data): Likewise.
43094         (jn_test_data): Update call to AUTO_TESTS_if_f.
43095         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43096         (log_test_data): Update call to AUTO_TESTS_f_f.
43097         (log10_test_data): Likewise.
43098         (log1p_test_data): Likewise.
43099         (log2_test_data): Likewise.
43100         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43101         (pow_tonearest_test_data): Likewise.
43102         (sin_test_data): Update call to AUTO_TESTS_f_f.
43103         (sin_test): Use ALL_RM_TEST.
43104         (sin_tonearest_test_data): Remove.
43105         (sin_test_tonearest): Likewise.
43106         (sin_towardzero_test_data): Likewise.
43107         (sin_test_towardzero): Likewise.
43108         (sin_downward_test_data): Likewise.
43109         (sin_test_downward): Likewise.
43110         (sin_upward_test_data): Likewise.
43111         (sin_test_upward): Likewise.
43112         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43113         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43114         (sinh_test): Use ALL_RM_TEST.
43115         (sinh_tonearest_test_data): Remove.
43116         (sinh_test_tonearest): Likewise.
43117         (sinh_towardzero_test_data): Likewise.
43118         (sinh_test_towardzero): Likewise.
43119         (sinh_downward_test_data): Likewise.
43120         (sinh_test_downward): Likewise.
43121         (sinh_upward_test_data): Likewise.
43122         (sinh_test_upward): Likewise.
43123         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43124         (sqrt_test): Use ALL_RM_TEST.
43125         (sqrt_tonearest_test_data): Remove.
43126         (sqrt_test_tonearest): Likewise.
43127         (sqrt_towardzero_test_data): Likewise.
43128         (sqrt_test_towardzero): Likewise.
43129         (sqrt_downward_test_data): Likewise.
43130         (sqrt_test_downward): Likewise.
43131         (sqrt_upward_test_data): Likewise.
43132         (sqrt_test_upward): Likewise.
43133         (tan_test_data): Update call to AUTO_TESTS_f_f.
43134         (tan_test): Use ALL_RM_TEST.
43135         (tan_tonearest_test_data): Remove.
43136         (tan_test_tonearest): Likewise.
43137         (tan_towardzero_test_data): Likewise.
43138         (tan_test_towardzero): Likewise.
43139         (tan_downward_test_data): Likewise.
43140         (tan_test_downward): Likewise.
43141         (tan_upward_test_data): Likewise.
43142         (tan_test_upward): Likewise.
43143         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43144         (tgamma_test_data): Likewise.
43145         (y0_test_data): Likewise.
43146         (y1_test_data): Likewise.
43147         (yn_test_data): Update call to AUTO_TESTS_if_f.
43148         (main): Do not call removed functions.
43150 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43152         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43153         (ldexp_test_data): Remove.
43154         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43155         scalbn_test_data.
43156         (scalb_test): Use ALL_RM_TEST.
43158 2014-03-19  Andreas Schwab  <schwab@suse.de>
43160         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43162 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43164         [BZ #16649]
43165         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43166         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43167         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43168         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43169         (__ASSUME_PREADV): Undefine.
43170         (__ASSUME_PWRITEV): Likewise.
43172 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43174         * bits/mman-linux.h: Add comment about non-Linux use.
43175         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43176         bits/mman-linux.h resting place.
43178         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43179         * bits/mman-linux.h: ... here.
43181 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43183         * conform/conformtest.pl: Add standard definition when calling C
43184         preprocessor on data files.
43185         (checknamespace): Remove unused variable.
43187 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43189         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43190         minus_oflow, plus_uflow and minus_uflow in expected results.
43191         * math/libm-test.inc (scalbn_test_data): Add more tests of
43192         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43193         minus_uflow.
43194         (scalbn_test): Use ALL_RM_TEST.
43195         (scalbln_test_data): Add more tests of negative arguments.  Use
43196         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43197         (scalbln_test): Use ALL_RM_TEST.
43199 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43201         * scripts/abilist.awk: Ignore symbols marked with .hidden.
43203 2014-03-18  Will Newton  <will.newton@linaro.org>
43205         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43206         inaccurate comment.
43208 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43210         * Makerules [!subdir] (check-abi): Exit with error status if a
43211         test failed.
43213 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43215         * math/libm-test.inc (nearbyint_test_data): Include all tests used
43216         for rint.  Include results for all rounding modes.
43217         (nearbyint_test): Use ALL_RM_TEST.
43218         (rint_test_data): Include all tests used for nearbyint.
43220 2014-03-17  Will Newton  <will.newton@linaro.org>
43222         * nptl/sysdeps/pthread/pthread.h: Revert previous
43223         change.
43225         * sysdeps/generic/ldsodefs.h: Revert previous
43226         change.
43228         * libio/genops.c: Revert previous change.
43229         * libio/libioP.h: Likewise.
43230         * stdio-common/vfprintf.c: Likewise.
43232         * sysdeps/generic/math_private.h: Revert previous
43233         change.
43235         * sysdeps/generic/math_private.h: Check whether
43236         HAVE_RM_CTX is defined with #ifdef rather
43237         than #if.
43239         * argp/argp-fmtstream.h: Check whether
43240         __STRICT_ANSI__ is defined with #ifdef rather
43241         than #if.
43242         * argp/argp.h: Likewise.
43244         * libio/genops.c: Check whether
43245         _IO_JUMPS_OFFSET is defined with #ifdef rather
43246         than #if.
43247         * libio/libioP.h: Likewise.
43248         * stdio-common/vfprintf.c: Likewise.
43250         * sysdeps/generic/ldsodefs.h: Check whether
43251         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43252         than #if.
43254         * nptl/sysdeps/pthread/pthread.h: Check
43255         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43256         its value.
43258 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43260         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43261         setting O_APPEND.
43262         * libio/tst-ftell-active-handler.c (do_append_test): Add a
43263         test case.
43265         [BZ #16680]
43266         * libio/fileops.c (_IO_file_open): Seek to end of file but
43267         don't cache the offset.
43268         (get_file_offset): Remove function.
43269         (do_ftell): Use cached offset when available.
43270         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43271         don't cache the offset.
43272         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43273         case.
43274         (do_one_test): Call it.
43275         (do_ftell_test): Fix up expected old offset for a+ mode.
43276         * libio/wfileops.c (do_ftell_wide): Used cached offset when
43277         available.
43279         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43280         up test status with function return status.
43281         (do_write_test): Likewise.
43282         (do_append_test): Likewise.
43284         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43285         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43286         Remove.
43288 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43290         * math/gen-libm-test.pl (parse_args): Handle results specified for
43291         each rounding mode separately.
43292         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43293         tests and results from lrint_tonearest_test_data,
43294         lrint_towardzero_test_data, lrint_downward_test_data and
43295         lrint_upward_test_data.
43296         (lrint_test): Use ALL_RM_TEST.
43297         (lrint_tonearest_test_data): Remove.
43298         (lrint_test_tonearest): Likewise.
43299         (lrint_towardzero_test_data): Likewise.
43300         (lrint_test_towardzero): Likewise.
43301         (lrint_downward_test_data): Likewise.
43302         (lrint_test_downward): Likewise.
43303         (lrint_upward_test_data): Likewise.
43304         (lrint_test_upward): Likewise.
43305         (llrint_test_data): Merge in per-rounding-mode tests and results
43306         from llrint_tonearest_test_data, llrint_towardzero_test_data,
43307         llrint_downward_test_data and llrint_upward_test_data.
43308         (llrint_test): Use ALL_RM_TEST.
43309         (llrint_tonearest_test_data): Remove.
43310         (llrint_test_tonearest): Likewise.
43311         (llrint_towardzero_test_data): Likewise.
43312         (llrint_test_towardzero): Likewise.
43313         (llrint_downward_test_data): Likewise.
43314         (llrint_test_downward): Likewise.
43315         (llrint_upward_test_data): Likewise.
43316         (llrint_test_upward): Likewise.
43317         (rint_test_data): Merge in per-rounding-mode tests and results
43318         from rint_tonearest_test_data, rint_towardzero_test_data,
43319         rint_downward_test_data and rint_upward_test_data.  Add
43320         per-rounding-mode results for tests not in those arrays.
43321         (rint_test): Use ALL_RM_TEST.
43322         (rint_tonearest_test_data): Remove.
43323         (rint_test_tonearest): Likewise.
43324         (rint_towardzero_test_data): Likewise.
43325         (rint_test_towardzero): Likewise.
43326         (rint_downward_test_data): Likewise.
43327         (rint_test_downward): Likewise.
43328         (rint_upward_test_data): Likewise.
43329         (rint_test_upward): Likewise.
43330         (main): Don't call removed functions.
43332 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43334         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43335         "Compiled on ..." crapola.  It is anti-useful.
43337 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
43339         * scripts/evaluate-test.sh: Handle fourth argument to determine
43340         whether test run should stop on failure.
43341         * Makeconfig (stop-on-test-failure): New variable.
43342         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43343         $(stop-on-test-failure).
43344         * Makefile (tests): Give a summary of results from testing and
43345         exit with failure status if they include an ERROR or FAIL.
43346         (xtests): Likewise.
43347         * manual/install.texi (Configuring and compiling): Mention
43348         stop-on-test-failure=y.
43349         * INSTALL: Regenerated.
43351 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43353         * scripts/versionlist.awk: New file.
43354         * Makerules [$(build-shared) = yes]
43355         (postclean-generated): Add Versions.def, not Versions.def.v and
43356         Versions.def.v.i.
43357         ($(common-objpfx)Versions.def.v.i): Target removed.
43358         ($(common-objpfx)Versions.def): New target.
43359         ($(common-objpfx)Versions.all): Depend on that rather that
43360         $(common-objpfx)Versions.def.v.
43361         * Versions.def: File removed.
43363         * Makeconfig (+gccwarn): Add -Wundef.
43364         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43365         a dl-sysdep.h breaking its contract.
43366         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43367         * include/stackinfo.h: New file.
43368         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43369         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43370         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43371         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43372         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43373         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43374         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43375         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43376         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43377         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43378         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43379         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43380         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43381         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43382         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43384 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43386         [BZ #16707]
43387         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43388         implementation.
43389         * math/libm-test.inc (round_test_data): Add more tests.
43391         [BZ #16706]
43392         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43393         implementation.
43394         * math/libm-test.inc (nearbyint_test_data): Add more tests.
43396         [BZ #16701]
43397         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43398         implementation.
43399         * math/libm-test.inc (ceil_test_data): Add more tests.
43401         * math/libm-test.inc (trunc_test_data): Add more tests related to
43402         BZ#16414.
43404 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43406         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43407         with #if rather than #ifdef.
43408         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43410 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
43412         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43413         first.  Disable AVX-512 GCC support if assembler doesn't support
43414         it.
43415         * sysdeps/x86_64/configure: Regenerated.
43417 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
43419         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43420         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43421         (__old_pthread_attr_setstack): Likewise.
43422         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43423         [!_STACK_GROWS_DOWN]: Likewise.
43425 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
43427         * config.make.in (have-bash2): Delete.
43428         * configure.ac (libc_cv_have_bash2): Delete.
43429         * configure: Regenerate.
43430         * elf/Makefile (common-ldd-rewrite): Rename to ...
43431         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
43432         (sh-ldd-rewrite): Delete.
43433         (bash-ldd-rewrite): Delete.
43434         (have-bash2): Delete checks.
43435         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43436         ldd-rewrite.
43438         * config.make.in (have-ksh): Delete.
43439         (KSH): Delete.
43440         * configure.ac (libc_cv_have_ksh): Delete.
43441         * configure: Regenerate.
43443         * elf/Makefile: Delete $(have-ksh) check.
43444         ($(objpfx)sotruss): Change KSH to BASH.
43445         * elf/sotruss.ksh: Rename to ...
43446         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
43447         function style to match POSIX.  Drop ksh vim mode setting.
43449         * manual/time.texi (Specifying the Time Zone with TZ): Change
43450         Tuesday to Thursday.
43452         * debug/tst-longjmp_chk2.c: Update header comment.
43453         (stackoverflow_handler): Add comment.  Call assert on pass value.
43455 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
43457         [BZ #16194]
43458         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43459         (HAVE_AVX512_ASM_SUPPORT): Likewise.
43460         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43461         (La_x86_64_vector): Add zmm.
43462         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43463         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43464         ($(objpfx)tst-audit10): New target.
43465         ($(objpfx)tst-audit10.out): Likewise.
43466         (tst-audit10-ENV): New.
43467         (AVX512-CFLAGS): Likewise.
43468         (CFLAGS-tst-audit10.c): Likewise.
43469         (CFLAGS-tst-auditmod10a.c): Likewise.
43470         (CFLAGS-tst-auditmod10b.c): Likewise.
43471         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43472         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43473         * sysdeps/x86_64/configure: Regenerated.
43474         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43475         AVX-512 zmm register support.
43476         (_dl_x86_64_save_sse): Likewise.
43477         (_dl_x86_64_restore_sse): Likewise.
43478         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43479         size vector registers.
43480         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43481         (ZMM_SIZE): Likewise.
43482         * sysdeps/x86_64/tst-audit10.c: New file.
43483         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43484         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43486 2014-03-13  Roland McGrath  <roland@hack.frob.com>
43488         * configure.ac (HAVE_EHDR_START): New check.
43489         * configure: Regenerated.
43490         * config.h.in (HAVE_EHDR_START): New #undef.
43491         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43492         assuming the lowest-addressed segment maps the start of the file.
43494 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
43496         * INSTALL: Regenerated.
43498 2014-03-13  Will Newton  <will.newton@linaro.org>
43500         * manual/setjmp.texi (System V contexts): Improve
43501         clarity and grammar of documentation.
43503 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
43505         [BZ #16381]
43506         * elf/Makefile (tests): Add tst-pie2.
43507         (tests-pie): Add tst-pie2.
43508         * elf/tst-pie2.c: New file.
43509         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43510         for ET_EXEC.
43511         * elf/rtld.c (map_doit): Load executable as lt_executable.
43512         (dl_main): Likewise.
43514 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
43516         [BZ #16642]
43517         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43518         (__ASSUME_PSELECT): Undefine.
43520 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43522         [BZ #16689]
43523         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43524         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43525         static build.
43526         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43527         selector for static builds.
43529 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43531         [BZ #16695]
43532         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43533         key in the buffer.
43535 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43537         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43538         IFUNC selector for static builds.
43540 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
43542         * sysdeps/mips/math_private.h [__mips_hard_float]
43543         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43544         libc_feresetround_mips_ctx.
43545         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43546         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43547         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43549         [BZ #16677]
43550         * math/s_nextafter.c (__nextafter): Do not return value from
43551         overflowing computation.
43552         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43553         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43554         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43555         Likewise.
43556         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43557         Likewise.
43558         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43559         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43561 2014-03-11  Roland McGrath  <roland@hack.frob.com>
43563         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43564         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43565         Move sfi_sp use from the load-multiple (that no longer sets sp) to
43566         the new mov targetting sp.
43568 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43570         [BZ #16683]
43571         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43572         Define it for static builds as well.
43573         (NO_BZERO_IMPL): Likewise.
43575 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43577         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43578         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43579         multiarch strspn for PPC64.
43580         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43581         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43583         (__libc_ifunc_impl_list): Likewise.
43584         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43585         multiarch optimizations
43586         * string/strspn.c (strspn): Using macro to redefine symbol name.
43588 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43589             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43591         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43592         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43593         multiarch strncat for PPC64.
43594         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43595         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43597         (__libc_ifunc_impl_list): Likewise.
43598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43599         multiarch optimizations
43601 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43603         [BZ #16639]
43604         * nscd/nscd.service: Make service type forking.
43606 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43608         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43609         sign in non default rounding modes.
43610         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43612 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
43614         * math/libm-test.inc (ALL_RM_TEST): New macro.
43615         (ceil_test): Use ALL_RM_TEST.
43616         (cimag_test): Likewise.
43617         (conj_test): Likewise.
43618         (copysign_test): Likewise.
43619         (cproj_test): Likewise.
43620         (creal_test): Likewise.
43621         (fabs_test): Likewise.
43622         (floor_test): Likewise.
43623         (fmax_test): Likewise.
43624         (fmin_test): Likewise.
43625         (fmod_test): Likewise.
43626         (fpclassify_test): Likewise.
43627         (frexp_test): Likewise.
43628         (ilogb_test): Likewise.
43629         (isfinite_test): Likewise.
43630         (finite_test): Likewise.
43631         (isgreater_test): Likewise.
43632         (isgreaterequal_test): Likewise.
43633         (isinf_test): Likewise.
43634         (isless_test): Likewise.
43635         (islessequal_test): Likewise.
43636         (islessgreater_test): Likewise.
43637         (isnan_test): Likewise.
43638         (isnormal_test): Likewise.
43639         (issignaling_test): Likewise.
43640         (isunordered_test): Likewise.
43641         (logb_test): Likewise.
43642         (logb_downward_test_data): Remove.
43643         (logb_test_downward): Likewise.
43644         (lround_test): Use ALL_RM_TEST.
43645         (llround_test): Likewise.
43646         (modf_test): Likewise.
43647         (nexttoward_test): Likewise.
43648         (remainder_test): Likewise.
43649         (drem_test): Likewise.
43650         (remainder_tonearest_test_data): Likewise.
43651         (remainder_test_tonearest): Likewise.
43652         (drem_test_tonearest): Likewise.
43653         (remainder_towardzero_test_data): Likewise.
43654         (remainder_test_towardzero): Likewise.
43655         (drem_test_towardzero): Likewise.
43656         (remainder_downward_test_data): Likewise.
43657         (remainder_test_downward): Likewise.
43658         (drem_test_downward): Likewise.
43659         (remainder_upward_test_data): Likewise.
43660         (remainder_test_upward): Likewise.
43661         (drem_test_upward): Likewise.
43662         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
43663         (round_test): Use ALL_RM_TEST.
43664         (signbit_test): Likewise.
43665         (trunc_test): Likewise.
43666         (significand_test): Likewise.
43667         (main): Don't call removed functions.
43669 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
43671         [BZ #16674]
43672         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43673         || __USE_XOPEN2K8].
43674         (ILL_ILLOPN): Likewise.
43675         (ILL_ILLADR): Likewise.
43676         (ILL_ILLTRP): Likewise.
43677         (ILL_PRVOPC): Likewise.
43678         (ILL_PRVREG): Likewise.
43679         (ILL_COPROC): Likewise.
43680         (ILL_BADSTK): Likewise.
43681         (FPE_INTDIV): Likewise.
43682         (FPE_INTOVF): Likewise.
43683         (FPE_FLTDIV): Likewise.
43684         (FPE_FLTOVF): Likewise.
43685         (FPE_FLTUND): Likewise.
43686         (FPE_FLTRES): Likewise.
43687         (FPE_FLTINV): Likewise.
43688         (FPE_FLTSUB): Likewise.
43689         (SEGV_MAPERR): Likewise.
43690         (SEGV_ACCERR): Likewise.
43691         (BUS_ADRALN): Likewise.
43692         (BUS_ADRERR): Likewise.
43693         (BUS_OBJERR): Likewise.
43694         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43695         (TRAP_TRACE): Likewise.
43696         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43697         __USE_XOPEN2K8].
43698         (CLD_KILLED): Likewise.
43699         (CLD_DUMPED): Likewise.
43700         (CLD_TRAPPED): Likewise.
43701         (CLD_STOPPED): Likewise.
43702         (CLD_CONTINUED): Likewise.
43703         (POLL_IN): Likewise.
43704         (POLL_OUT): Likewise.
43705         (POLL_MSG): Likewise.
43706         (POLL_ERR): Likewise.
43707         (POLL_PRI): Likewise.
43708         (POLL_HUP): Likewise.
43709         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43710         Likewise.
43711         (ILL_ILLOPN): Likewise.
43712         (ILL_ILLADR): Likewise.
43713         (ILL_ILLTRP): Likewise.
43714         (ILL_PRVOPC): Likewise.
43715         (ILL_PRVREG): Likewise.
43716         (ILL_COPROC): Likewise.
43717         (ILL_BADSTK): Likewise.
43718         (FPE_INTDIV): Likewise.
43719         (FPE_INTOVF): Likewise.
43720         (FPE_FLTDIV): Likewise.
43721         (FPE_FLTOVF): Likewise.
43722         (FPE_FLTUND): Likewise.
43723         (FPE_FLTRES): Likewise.
43724         (FPE_FLTINV): Likewise.
43725         (FPE_FLTSUB): Likewise.
43726         (SEGV_MAPERR): Likewise.
43727         (SEGV_ACCERR): Likewise.
43728         (BUS_ADRALN): Likewise.
43729         (BUS_ADRERR): Likewise.
43730         (BUS_OBJERR): Likewise.
43731         (BUS_MCEERR_AR): Likewise.
43732         (BUS_MCEERR_AO): Likewise.
43733         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43734         (TRAP_TRACE): Likewise.
43735         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43736         __USE_XOPEN2K8].
43737         (CLD_KILLED): Likewise.
43738         (CLD_DUMPED): Likewise.
43739         (CLD_TRAPPED): Likewise.
43740         (CLD_STOPPED): Likewise.
43741         (CLD_CONTINUED): Likewise.
43742         (POLL_IN): Likewise.
43743         (POLL_OUT): Likewise.
43744         (POLL_MSG): Likewise.
43745         (POLL_ERR): Likewise.
43746         (POLL_PRI): Likewise.
43747         (POLL_HUP): Likewise.
43748         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43749         (ILL_ILLOPN): Likewise.
43750         (ILL_ILLADR): Likewise.
43751         (ILL_ILLTRP): Likewise.
43752         (ILL_PRVOPC): Likewise.
43753         (ILL_PRVREG): Likewise.
43754         (ILL_COPROC): Likewise.
43755         (ILL_BADSTK): Likewise.
43756         (FPE_INTDIV): Likewise.
43757         (FPE_INTOVF): Likewise.
43758         (FPE_FLTDIV): Likewise.
43759         (FPE_FLTOVF): Likewise.
43760         (FPE_FLTUND): Likewise.
43761         (FPE_FLTRES): Likewise.
43762         (FPE_FLTINV): Likewise.
43763         (FPE_FLTSUB): Likewise.
43764         (SEGV_MAPERR): Likewise.
43765         (SEGV_ACCERR): Likewise.
43766         (BUS_ADRALN): Likewise.
43767         (BUS_ADRERR): Likewise.
43768         (BUS_OBJERR): Likewise.
43769         (BUS_MCEERR_AR): Likewise.
43770         (BUS_MCEERR_AO): Likewise.
43771         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43772         (TRAP_TRACE): Likewise.
43773         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43774         __USE_XOPEN2K8].
43775         (CLD_KILLED): Likewise.
43776         (CLD_DUMPED): Likewise.
43777         (CLD_TRAPPED): Likewise.
43778         (CLD_STOPPED): Likewise.
43779         (CLD_CONTINUED): Likewise.
43780         (POLL_IN): Likewise.
43781         (POLL_OUT): Likewise.
43782         (POLL_MSG): Likewise.
43783         (POLL_ERR): Likewise.
43784         (POLL_PRI): Likewise.
43785         (POLL_HUP): Likewise.
43786         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43787         Likewise.
43788         (ILL_ILLOPN): Likewise.
43789         (ILL_ILLADR): Likewise.
43790         (ILL_ILLTRP): Likewise.
43791         (ILL_PRVOPC): Likewise.
43792         (ILL_PRVREG): Likewise.
43793         (ILL_COPROC): Likewise.
43794         (ILL_BADSTK): Likewise.
43795         (ILL_BADIADDR): Likewise.
43796         (ILL_BREAK): Likewise.
43797         (FPE_INTDIV): Likewise.
43798         (FPE_INTOVF): Likewise.
43799         (FPE_FLTDIV): Likewise.
43800         (FPE_FLTOVF): Likewise.
43801         (FPE_FLTUND): Likewise.
43802         (FPE_FLTRES): Likewise.
43803         (FPE_FLTINV): Likewise.
43804         (FPE_FLTSUB): Likewise.
43805         (FPE_DECOVF): Likewise.
43806         (FPE_DECDIV): Likewise.
43807         (FPE_DECERR): Likewise.
43808         (FPE_INVASC): Likewise.
43809         (FPE_INVDEC): Likewise.
43810         (SEGV_MAPERR): Likewise.
43811         (SEGV_ACCERR): Likewise.
43812         (SEGV_PSTKOVF): Likewise.
43813         (BUS_ADRALN): Likewise.
43814         (BUS_ADRERR): Likewise.
43815         (BUS_OBJERR): Likewise.
43816         (BUS_MCEERR_AR): Likewise.
43817         (BUS_MCEERR_AO): Likewise.
43818         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43819         (TRAP_TRACE): Likewise.
43820         (TRAP_BRANCH): Likewise.
43821         (TRAP_HWBKPT): Likewise.
43822         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43823         __USE_XOPEN2K8].
43824         (CLD_KILLED): Likewise.
43825         (CLD_DUMPED): Likewise.
43826         (CLD_TRAPPED): Likewise.
43827         (CLD_STOPPED): Likewise.
43828         (CLD_CONTINUED): Likewise.
43829         (POLL_IN): Likewise.
43830         (POLL_OUT): Likewise.
43831         (POLL_MSG): Likewise.
43832         (POLL_ERR): Likewise.
43833         (POLL_PRI): Likewise.
43834         (POLL_HUP): Likewise.
43835         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43836         (ILL_ILLOPN): Likewise.
43837         (ILL_ILLADR): Likewise.
43838         (ILL_ILLTRP): Likewise.
43839         (ILL_PRVOPC): Likewise.
43840         (ILL_PRVREG): Likewise.
43841         (ILL_COPROC): Likewise.
43842         (ILL_BADSTK): Likewise.
43843         (FPE_INTDIV): Likewise.
43844         (FPE_INTOVF): Likewise.
43845         (FPE_FLTDIV): Likewise.
43846         (FPE_FLTOVF): Likewise.
43847         (FPE_FLTUND): Likewise.
43848         (FPE_FLTRES): Likewise.
43849         (FPE_FLTINV): Likewise.
43850         (FPE_FLTSUB): Likewise.
43851         (SEGV_MAPERR): Likewise.
43852         (SEGV_ACCERR): Likewise.
43853         (BUS_ADRALN): Likewise.
43854         (BUS_ADRERR): Likewise.
43855         (BUS_OBJERR): Likewise.
43856         (BUS_MCEERR_AR): Likewise.
43857         (BUS_MCEERR_AO): Likewise.
43858         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43859         (TRAP_TRACE): Likewise.
43860         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43861         __USE_XOPEN2K8].
43862         (CLD_KILLED): Likewise.
43863         (CLD_DUMPED): Likewise.
43864         (CLD_TRAPPED): Likewise.
43865         (CLD_STOPPED): Likewise.
43866         (CLD_CONTINUED): Likewise.
43867         (POLL_IN): Likewise.
43868         (POLL_OUT): Likewise.
43869         (POLL_MSG): Likewise.
43870         (POLL_ERR): Likewise.
43871         (POLL_PRI): Likewise.
43872         (POLL_HUP): Likewise.
43873         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43874         (ILL_ILLOPN): Likewise.
43875         (ILL_ILLADR): Likewise.
43876         (ILL_ILLTRP): Likewise.
43877         (ILL_PRVOPC): Likewise.
43878         (ILL_PRVREG): Likewise.
43879         (ILL_COPROC): Likewise.
43880         (ILL_BADSTK): Likewise.
43881         (FPE_INTDIV): Likewise.
43882         (FPE_INTOVF): Likewise.
43883         (FPE_FLTDIV): Likewise.
43884         (FPE_FLTOVF): Likewise.
43885         (FPE_FLTUND): Likewise.
43886         (FPE_FLTRES): Likewise.
43887         (FPE_FLTINV): Likewise.
43888         (FPE_FLTSUB): Likewise.
43889         (SEGV_MAPERR): Likewise.
43890         (SEGV_ACCERR): Likewise.
43891         (BUS_ADRALN): Likewise.
43892         (BUS_ADRERR): Likewise.
43893         (BUS_OBJERR): Likewise.
43894         (BUS_MCEERR_AR): Likewise.
43895         (BUS_MCEERR_AO): Likewise.
43896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43897         (TRAP_TRACE): Likewise.
43898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43899         __USE_XOPEN2K8].
43900         (CLD_KILLED): Likewise.
43901         (CLD_DUMPED): Likewise.
43902         (CLD_TRAPPED): Likewise.
43903         (CLD_STOPPED): Likewise.
43904         (CLD_CONTINUED): Likewise.
43905         (POLL_IN): Likewise.
43906         (POLL_OUT): Likewise.
43907         (POLL_MSG): Likewise.
43908         (POLL_ERR): Likewise.
43909         (POLL_PRI): Likewise.
43910         (POLL_HUP): Likewise.
43911         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43912         (ILL_ILLOPN): Likewise.
43913         (ILL_ILLADR): Likewise.
43914         (ILL_ILLTRP): Likewise.
43915         (ILL_PRVOPC): Likewise.
43916         (ILL_PRVREG): Likewise.
43917         (ILL_COPROC): Likewise.
43918         (ILL_BADSTK): Likewise.
43919         (FPE_INTDIV): Likewise.
43920         (FPE_INTOVF): Likewise.
43921         (FPE_FLTDIV): Likewise.
43922         (FPE_FLTOVF): Likewise.
43923         (FPE_FLTUND): Likewise.
43924         (FPE_FLTRES): Likewise.
43925         (FPE_FLTINV): Likewise.
43926         (FPE_FLTSUB): Likewise.
43927         (SEGV_MAPERR): Likewise.
43928         (SEGV_ACCERR): Likewise.
43929         (BUS_ADRALN): Likewise.
43930         (BUS_ADRERR): Likewise.
43931         (BUS_OBJERR): Likewise.
43932         (BUS_MCEERR_AR): Likewise.
43933         (BUS_MCEERR_AO): Likewise.
43934         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43935         (TRAP_TRACE): Likewise.
43936         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43937         __USE_XOPEN2K8].
43938         (CLD_KILLED): Likewise.
43939         (CLD_DUMPED): Likewise.
43940         (CLD_TRAPPED): Likewise.
43941         (CLD_STOPPED): Likewise.
43942         (CLD_CONTINUED): Likewise.
43943         (POLL_IN): Likewise.
43944         (POLL_OUT): Likewise.
43945         (POLL_MSG): Likewise.
43946         (POLL_ERR): Likewise.
43947         (POLL_PRI): Likewise.
43948         (POLL_HUP): Likewise.
43949         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43950         (ILL_ILLOPN): Likewise.
43951         (ILL_ILLADR): Likewise.
43952         (ILL_ILLTRP): Likewise.
43953         (ILL_PRVOPC): Likewise.
43954         (ILL_PRVREG): Likewise.
43955         (ILL_COPROC): Likewise.
43956         (ILL_BADSTK): Likewise.
43957         (ILL_DBLFLT): Likewise.
43958         (ILL_HARDWALL): Likewise.
43959         (FPE_INTDIV): Likewise.
43960         (FPE_INTOVF): Likewise.
43961         (FPE_FLTDIV): Likewise.
43962         (FPE_FLTOVF): Likewise.
43963         (FPE_FLTUND): Likewise.
43964         (FPE_FLTRES): Likewise.
43965         (FPE_FLTINV): Likewise.
43966         (FPE_FLTSUB): Likewise.
43967         (SEGV_MAPERR): Likewise.
43968         (SEGV_ACCERR): Likewise.
43969         (BUS_ADRALN): Likewise.
43970         (BUS_ADRERR): Likewise.
43971         (BUS_OBJERR): Likewise.
43972         (BUS_MCEERR_AR): Likewise.
43973         (BUS_MCEERR_AO): Likewise.
43974         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43975         (TRAP_TRACE): Likewise.
43976         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43977         __USE_XOPEN2K8].
43978         (CLD_KILLED): Likewise.
43979         (CLD_DUMPED): Likewise.
43980         (CLD_TRAPPED): Likewise.
43981         (CLD_STOPPED): Likewise.
43982         (CLD_CONTINUED): Likewise.
43983         (POLL_IN): Likewise.
43984         (POLL_OUT): Likewise.
43985         (POLL_MSG): Likewise.
43986         (POLL_ERR): Likewise.
43987         (POLL_PRI): Likewise.
43988         (POLL_HUP): Likewise.
43989         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
43990         (ILL_ILLOPN): Likewise.
43991         (ILL_ILLADR): Likewise.
43992         (ILL_ILLTRP): Likewise.
43993         (ILL_PRVOPC): Likewise.
43994         (ILL_PRVREG): Likewise.
43995         (ILL_COPROC): Likewise.
43996         (ILL_BADSTK): Likewise.
43997         (FPE_INTDIV): Likewise.
43998         (FPE_INTOVF): Likewise.
43999         (FPE_FLTDIV): Likewise.
44000         (FPE_FLTOVF): Likewise.
44001         (FPE_FLTUND): Likewise.
44002         (FPE_FLTRES): Likewise.
44003         (FPE_FLTINV): Likewise.
44004         (FPE_FLTSUB): Likewise.
44005         (SEGV_MAPERR): Likewise.
44006         (SEGV_ACCERR): Likewise.
44007         (BUS_ADRALN): Likewise.
44008         (BUS_ADRERR): Likewise.
44009         (BUS_OBJERR): Likewise.
44010         (BUS_MCEERR_AR): Likewise.
44011         (BUS_MCEERR_AO): Likewise.
44012         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44013         (TRAP_TRACE): Likewise.
44014         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44015         __USE_XOPEN2K8].
44016         (CLD_KILLED): Likewise.
44017         (CLD_DUMPED): Likewise.
44018         (CLD_TRAPPED): Likewise.
44019         (CLD_STOPPED): Likewise.
44020         (CLD_CONTINUED): Likewise.
44021         (POLL_IN): Likewise.
44022         (POLL_OUT): Likewise.
44023         (POLL_MSG): Likewise.
44024         (POLL_ERR): Likewise.
44025         (POLL_PRI): Likewise.
44026         (POLL_HUP): Likewise.
44027         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44028         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44030         [BZ #16670]
44031         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44032         before #include of <time.h>.
44033         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44034         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44035         (test-xfail-UNIX98/sched.h/conform): Likewise.
44037 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44039         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44040         error absence of trapping exception support.
44041         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44043 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44045         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44046         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44047         * timezone/Makefile (testdata): Move definition above include of
44048         Rules.
44049         (test-zones): New variable.
44050         (tests-special): Add zone files.
44051         (build-testdata): Use $(evaluate-test).
44053         * elf/Makefile (tests-special): Rename tests to end with .out.
44054         ($(objpfx)noload-mem): Likewise.
44055         ($(objpfx)tst-leaks1-mem): Likewise.
44056         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44057         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44058         $(objpfx)test-iconvconfig.out.
44059         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44060         set -e inside subshell and redirect output to file.
44061         * iconvdata/Makefile (generated): Rename tests to end with .out.
44062         Correct type.
44063         (tests-special): Rename tests to end with .out.
44064         ($(objpfx)mtrace-tst-loading): Likewise.
44065         * intl/Makefile (generated): Likewise.
44066         (tests-special): Likewise.
44067         ($(objpfx)mtrace-tst-gettext): Likewise.
44068         * misc/Makefile (generated): Likewise.
44069         (tests-special): Likewise.
44070         ($(objpfx)tst-error1-mem): Likewise.
44071         * nptl/Makefile (tests-special): Likewise.
44072         ($(objpfx)tst-stack3-mem): Likewise.
44073         (generated): Likewise.
44074         * posix/Makefile (generated): Likewise.
44075         (tests-special): Likewise.
44076         (xtests-special): Likewise.
44077         ($(objpfx)tst-fnmatch-mem): Likewise.
44078         ($(objpfx)bug-regex2-mem): Likewise.
44079         ($(objpfx)bug-regex14-mem): Likewise.
44080         ($(objpfx)bug-regex21-mem): Likewise.
44081         ($(objpfx)bug-regex31-mem): Likewise.
44082         ($(objpfx)tst-vfork3-mem): Likewise.
44083         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44084         ($(objpfx)tst-pcre-mem): Likewise.
44085         ($(objpfx)tst-boost-mem): Likewise.
44086         ($(objpfx)bug-ga2-mem): Likewise.
44087         ($(objpfx)bug-glob2-mem): Likewise.
44088         * resolv/Makefile (generate): Likewise.
44089         (tests-special): Likewise.
44090         (xtests-special): Likewise.
44091         (generated): Likewise.
44092         ($(objpfx)mtrace-tst-leaks): Likewise.
44093         ($(objpfx)mtrace-tst-leaks2): Likewise.
44095         * scripts/merge-test-results.sh: New file.
44096         * Makefile (tests-special-notdir): New variable.
44097         (tests): Run merge-test-results.sh.
44098         (xtests): Likewise.
44099         * Rules (tests-special-notdir): New variable.
44100         (xtests-special-notdir): Likewise.
44101         (tests): Run merge-test-results.sh
44102         (xtests): Likewise.
44104         * Makeconfig (test-xfail-name): New variable.
44105         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44106         compute variable name for expected failures.
44107         * conform/Makefile (conformtest-headers-data): New variable.
44108         (conformtest-standards): Likewise.
44109         (conformtest-headers-ISO): Likewise.
44110         (conformtest-headers-ISO99): Likewise.
44111         (conformtest-headers-ISO11): Likewise.
44112         (conformtest-headers-POSIX): Likewise.
44113         (conformtest-headers-XPG3): Likewise.
44114         (conformtest-headers-XPG4): Likewise.
44115         (conformtest-headers-UNIX98): Likewise.
44116         (conformtest-headers-XOPEN2K): Likewise.
44117         (conformtest-headers-POSIX2008): Likewise.
44118         (conformtest-headers-XOPEN2K8): Likewise.
44119         (conformtest-header-list-base): Likewise.
44120         (conformtest-header-list-tests): Likewise.
44121         (conformtest-header-base): Likewise.
44122         (conformtest-header-tests): Likewise.
44123         (tests-special): Add $(conformtest-header-list-tests).  If
44124         [$(fast-check) && !$(cross-compiling)], add
44125         $(conformtest-header-tests) instead of
44126         $(objpfx)run-conformtest.out.
44127         (generated): Add $(conformtest-header-list-base).  If
44128         [$(fast-check) && !$(cross-compiling)], add
44129         $(conformtest-header-base).  Remove previous setting.
44130         ($(conformtest-header-list-tests)): New target.
44131         (test-xfail-run-conformtest): Remove variable.
44132         ($(objpfx)run-conformtest.out): Remove target.
44133         (test-xfail-ISO11/complex.h/conform): New variable.
44134         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44135         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44136         (test-xfail-XPG3/varargs.h/conform): Likewise.
44137         (test-xfail-XPG4/varargs.h/conform): Likewise.
44138         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44139         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44140         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44141         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44142         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44143         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44144         (test-xfail-XPG3/ftw.h/conform): Likewise.
44145         (test-xfail-XPG3/grp.h/conform): Likewise.
44146         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44147         (test-xfail-XPG3/limits.h/conform): Likewise.
44148         (test-xfail-XPG3/pwd.h/conform): Likewise.
44149         (test-xfail-XPG3/search.h/conform): Likewise.
44150         (test-xfail-XPG3/signal.h/conform): Likewise.
44151         (test-xfail-XPG3/stdio.h/conform): Likewise.
44152         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44153         (test-xfail-XPG3/string.h/conform): Likewise.
44154         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44155         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44156         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44157         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44158         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44159         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44160         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44161         (test-xfail-XPG3/termios.h/conform): Likewise.
44162         (test-xfail-XPG3/time.h/conform): Likewise.
44163         (test-xfail-XPG3/unistd.h/conform): Likewise.
44164         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44165         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44166         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44167         (test-xfail-XPG4/netdb.h/conform): Likewise.
44168         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44169         (test-xfail-XPG4/signal.h/conform): Likewise.
44170         (test-xfail-XPG4/stdio.h/conform): Likewise.
44171         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44172         (test-xfail-XPG4/stropts.h/conform): Likewise.
44173         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44174         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44175         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44176         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44177         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44178         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44179         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44180         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44181         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44182         (test-xfail-XPG4/termios.h/conform): Likewise.
44183         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44184         (test-xfail-XPG4/unistd.h/conform): Likewise.
44185         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44186         (test-xfail-POSIX/sched.h/conform): Likewise.
44187         (test-xfail-POSIX/signal.h/conform): Likewise.
44188         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44189         (test-xfail-POSIX/tar.h/conform): Likewise.
44190         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44191         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44192         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44193         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44194         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44195         (test-xfail-UNIX98/sched.h/conform): Likewise.
44196         (test-xfail-UNIX98/signal.h/conform): Likewise.
44197         (test-xfail-UNIX98/stdio.h/conform): Likewise.
44198         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44199         (test-xfail-UNIX98/stropts.h/conform): Likewise.
44200         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44201         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44202         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44203         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44204         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44205         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44206         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44207         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44208         (test-xfail-UNIX98/unistd.h/conform): Likewise.
44209         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44210         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44211         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44212         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44213         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44214         (test-xfail-XOPEN2K/math.h/conform): Likewise.
44215         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44216         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44217         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44218         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44219         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44220         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44221         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44222         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44223         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44224         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44225         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44226         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44227         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44228         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44229         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44230         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44231         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44232         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44233         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44234         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44235         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44236         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44237         (test-xfail-POSIX2008/signal.h/conform): Likewise.
44238         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44239         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44240         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44241         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44242         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44243         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44244         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44245         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44246         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44247         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44248         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44249         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44250         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44251         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44252         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44253         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44254         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44255         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44256         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44257         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44258         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44259         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44260         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44261         (conformtest-cc-flags): Likewise.
44262         ($(conformtest-header-tests): New target.
44263         * conform/check-header-lists.sh: New file.
44264         * conform/run-conformtest.sh: Remove.
44266         * conform/conformtest.pl: Allow ' and \ in values given for
44267         constants.
44268         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44269         inclusion.
44270         [POSIX] (sys/types.h): Likewise.
44271         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44272         inclusion.
44273         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44274         inclusion.
44275         * conform/data/signal.h-data (SIGIO): Remove expectation.
44276         [XPG3] (SIGBUS): Do not expect.
44277         [POSIX || XPG3] (SIGPOLL): Likewise.
44278         [POSIX || XPG3] (SIGPROF): Likewise.
44279         [POSIX || XPG3] (SIGSYS): Likewise.
44280         [XPG3] (SIGTRAP): Likewise.
44281         [POSIX || XPG3] (SIGURG): Likewise.
44282         [POSIX || XPG3] (SIGVTALRM): Likewise.
44283         [POSIX || XPG3] (SIGXCPU): Likewise.
44284         [POSIX || XPG3] (SIGXFSZ): Likewise.
44285         [POSIX] (SA_SIGINFO): Expect.
44286         [XPG3] (siginfo_t): Do not expect type or contents.
44287         [POSIX] (si_pid): Do not expect element.
44288         [POSIX] (si_uid): Likewise.
44289         [POSIX] (si_addr): Likewise.
44290         [POSIX] (si_status): Likewise.
44291         [POSIX] (si_band): Likewise.
44292         [XPG4] (si_value): Likewise.
44293         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44294         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44295         [POSIX || XPG3] (ILL_ILLADR): Likewise.
44296         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44297         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44298         [POSIX || XPG3] (ILL_PRVREG): Likewise.
44299         [POSIX || XPG3] (ILL_COPROC): Likewise.
44300         [POSIX || XPG3] (ILL_BADSTK): Likewise.
44301         [POSIX || XPG3] (FPE_INTDIV): Likewise.
44302         [POSIX || XPG3] (FPE_INTOVF): Likewise.
44303         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44304         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44305         [POSIX || XPG3] (FPE_FLTUND): Likewise.
44306         [POSIX || XPG3] (FPE_FLTRES): Likewise.
44307         [POSIX || XPG3] (FPE_FLTINV): Likewise.
44308         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44309         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44310         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44311         [POSIX || XPG3] (BUS_ADRALN): Likewise.
44312         [POSIX || XPG3] (BUS_ADRERR): Likewise.
44313         [POSIX || XPG3] (BUS_OBJERR): Likewise.
44314         [POSIX || XPG3] (CLD_EXITED): Likewise.
44315         [POSIX || XPG3] (CLD_KILLED): Likewise.
44316         [POSIX || XPG3] (CLD_DUMPED): Likewise.
44317         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44318         [POSIX || XPG3] (CLD_STOPPED): Likewise.
44319         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44320         [POSIX || XPG3] (POLL_IN): Likewise.
44321         [POSIX || XPG3] (POLL_OUT): Likewise.
44322         [POSIX || XPG3] (POLL_MSG): Likewise.
44323         [POSIX || XPG3] (POLL_ERR): Likewise.
44324         [POSIX || XPG3] (POLL_PRI): Likewise.
44325         [POSIX || XPG3] (POLL_HUP): Likewise.
44326         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44327         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44328         (SIG*): Do not allow.
44329         [XPG3] (si_*): Likewise.
44330         [XPG3] (SI_*): Likewise.
44331         [XPG3 || XPG4] (sigev_*): Likewise.
44332         [XPG3 || XPG4] (SIGEV_*): Likewise.
44333         [XPG3 || XPG4] (sival_*): Likewise.
44334         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44335         [POSIX || XPG3] (BUS_*): Likewise.
44336         [POSIX || XPG3] (CLD_*): Likewise.
44337         [POSIX || XPG3] (FPE_*): Likewise.
44338         [POSIX || XPG3] (ILL_*): Likewise.
44339         [POSIX || XPG3] (POLL_*): Likewise.
44340         [POSIX || XPG3] (SEGV_*): Likewise.
44341         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44342         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44343         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44344         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44345         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44346         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44347         Specify type and value.
44348         (TVERSLEN): Likewise.
44349         (REGTYPE): Likewise.
44350         (AREGTYPE): Likewise.
44351         (LNKTYPE): Likewise.
44352         (SYMTYPE): Likewise.
44353         (CHRTYPE): Likewise.
44354         (BLKTYPE): Likewise.
44355         (DIRTYPE): Likewise.
44356         (FIFOTYPE): Likewise.
44357         (CONTTYPE): Likewise.
44358         (TSUID): Likewise.
44359         (TSGID): Likewise.
44360         (TSVTX): Likewise.
44361         (TUREAD): Likewise.
44362         (TUWRITE): Likewise.
44363         (TUEXEC): Likewise.
44364         (TGREAD): Likewise.
44365         (TGWRITE): Likewise.
44366         (TGEXEC): Likewise.
44367         (TOREAD): Likewise.
44368         (TOWRITE): Likewise.
44369         (TOEXEC): Likewise.
44370         [POSIX] (TSVTX): Expect constant.
44372 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
44374         * Makefile (tests): Change dependencies to ....
44375         (tests-special): ... additions to this variable.
44376         (tests): Depend on $(tests-special).
44377         * Makerules (check-abi-list): New variable.
44378         (check-abi): Depend on $(check-abi-list).
44379         [$(subdir) = elf] (tests-special): Add
44380         $(objpfx)check-abi-libc.out.
44381         [$(build-shared) = yes && subdir] (tests-special): Add
44382         $(check-abi-list).
44383         [$(build-shared) = yes && subdir] (tests): Do not depend on
44384         check-abi.
44385         * Rules (tests): Depend on $(tests-special).
44386         (xtests): Depend on $(xtests-special).
44387         * catgets/Makefile (tests): Change dependencies to ....
44388         (tests-special): ... additions to this variable.
44389         * conform/Makefile (tests): Change dependencies to ....
44390         (tests-special): ... additions to this variable.
44391         * elf/Makefile (tests): Change dependencies to ....
44392         (tests-special): ... additions to this variable.
44393         * grp/Makefile (tests): Change dependencies to ....
44394         (tests-special): ... additions to this variable.
44395         * iconv/Makefile (xtests): Change dependencies to ....
44396         (xtests-special): ... additions to this variable.
44397         * iconvdata/Makefile (tests): Change dependencies to ....
44398         (tests-special): ... additions to this variable.
44399         * intl/Makefile (tests): Change dependencies to ....
44400         (tests-special): ... additions to this variable.  Also add
44401         $(objpfx)tst-gettext.out.
44402         * io/Makefile (tests): Change dependencies to ....
44403         (tests-special): ... additions to this variable.
44404         * libio/Makefile (tests): Change dependencies to ....
44405         (tests-special): ... additions to this variable.
44406         * malloc/Makefile (tests): Change dependencies to ....
44407         (tests-special): ... additions to this variable.
44408         * misc/Makefile (tests): Change dependencies to ....
44409         (tests-special): ... additions to this variable.
44410         * nptl/Makefile (tests): Change dependencies to ....
44411         (tests-special): ... additions to this variable.
44412         * nptl_db/Makefile (tests): Change dependencies to ....
44413         (tests-special): ... additions to this variable.
44414         * posix/Makefile (tests): Change dependencies to ....
44415         (tests-special): ... additions to this variable.
44416         (xtests): Change dependencies to ....
44417         (xtests-special): ... additions to this variable.
44418         * resolv/Makefile (tests): Change dependencies to ....
44419         (tests-special): ... additions to this variable.
44420         (xtests): Change dependencies to ....
44421         (xtests-special): ... additions to this variable.
44422         * stdio-common/Makefile (tests): Change dependencies to ....
44423         (tests-special): ... additions to this variable.
44424         (do-tst-unbputc): Remove target.
44425         (do-tst-printf): Likewise.
44426         * stdlib/Makefile (tests): Change dependencies to ....
44427         (tests-special): ... additions to this variable.
44428         * string/Makefile (tests): Change dependencies to ....
44429         (tests-special): ... additions to this variable.
44430         * sysdeps/x86/Makefile (tests): Change dependencies to ....
44431         (tests-special): ... additions to this variable.
44433         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44434         whole file.
44435         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44436         whole file.
44437         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44438         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44440         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44441         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44442         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44443         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44444         * conform/data/libgen.h-data [XPG3]: Likewise.
44445         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44446         * conform/data/ndbm.h-data [XPG3]: Likewise.
44447         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44448         * conform/data/netdb.h-data [XPG3]: Likewise.
44449         * conform/data/netinet/in.h-data [XPG3]: Likewise.
44450         * conform/data/poll.h-data [XPG3]: Likewise.
44451         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44452         * conform/data/strings.h-data [XPG3]: Likewise.
44453         * conform/data/stropts.h-data [XPG3]: Likewise.
44454         * conform/data/sys/mman.h-data [XPG3]: Likewise.
44455         * conform/data/sys/resource.h-data [XPG3]: Likewise.
44456         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44457         Likewise.
44458         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44459         * conform/data/sys/time.h-data [XPG3]: Likewise.
44460         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44461         * conform/data/sys/uio.h-data [XPG3]: Likewise.
44462         * conform/data/sys/un.h-data [XPG3]: Likewise.
44463         * conform/data/syslog.h-data [XPG3]: Likewise.
44464         * conform/data/ucontext.h-data [XPG3]: Likewise.
44465         * conform/data/utmpx.h-data [XPG3]: Likewise.
44466         * conform/data/varargs.h-data [UNIX98]: Enable file.
44468         * manual/Makefile (INSTALL_INFO): Remove variable setting.
44470         * math/libm-test.inc (struct test_f_f_data): Move expected results
44471         into structure for each rounding mode.
44472         (struct test_ff_f_data): Likewise.
44473         (struct test_ff_f_data_nexttoward): Likewise.
44474         (struct test_fi_f_data): Likewise.
44475         (struct test_fl_f_data): Likewise.
44476         (struct test_if_f_data): Likewise.
44477         (struct test_fff_f_data): Likewise.
44478         (struct test_c_f_data): Likewise.
44479         (struct test_f_f1_data): Likewise.
44480         (struct test_fF_f1_data): Likewise.
44481         (struct test_ffI_f1_data): Likewise.
44482         (struct test_c_c_data): Likewise.
44483         (struct test_cc_c_data): Likewise.
44484         (struct test_f_i_data): Likewise.
44485         (struct test_ff_i_data): Likewise.
44486         (struct test_f_l_data): Likewise.
44487         (struct test_f_L_data): Likewise.
44488         (struct test_fFF_11_data): Likewise.
44489         (RM_): New macro.
44490         (RM_FE_DOWNWARD): Likewise.
44491         (RM_FE_TONEAREST): Likewise.
44492         (RM_FE_TOWARDZERO): Likewise.
44493         (RM_FE_UPWARD): Likewise.
44494         (RUN_TEST_LOOP_f_f): Update references to expected results.
44495         (RUN_TEST_LOOP_2_f): Likewise.
44496         (RUN_TEST_LOOP_fff_f): Likewise.
44497         (RUN_TEST_LOOP_c_f): Likewise.
44498         (RUN_TEST_LOOP_f_f1): Likewise.
44499         (RUN_TEST_LOOP_fF_f1): Likewise.
44500         (RUN_TEST_LOOP_fI_f1): Likewise.
44501         (RUN_TEST_LOOP_ffI_f1): Likewise.
44502         (RUN_TEST_LOOP_c_c): Likewise.
44503         (RUN_TEST_LOOP_cc_c): Likewise.
44504         (RUN_TEST_LOOP_f_i): Likewise.
44505         (RUN_TEST_LOOP_f_i_tg): Likewise.
44506         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44507         (RUN_TEST_LOOP_f_b): Likewise.
44508         (RUN_TEST_LOOP_f_b_tg): Likewise.
44509         (RUN_TEST_LOOP_f_l): Likewise.
44510         (RUN_TEST_LOOP_f_L): Likewise.
44511         (RUN_TEST_LOOP_fFF_11): Likewise.
44512         * math/gen-libm-test.pl (parse_args): Output four copies of
44513         expected results for each test.
44515         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44516         (__ASSUME_UTIMES): Remove.
44517         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44518         (__ASSUME_UTIMES): Likewise.
44520         * math/gen-auto-libm-tests.c: Update comment on output format.
44521         (output_for_one_input_case): Generate before-rounding and
44522         after-rounding information as conditions on output flags not
44523         floating-point format.
44524         * math/auto-libm-test-out: Regenerated.
44525         * math/gen-libm-test.pl (cond_value): New function.
44526         (or_cond_value): Use cond_value.
44527         (generate_testfile): Handle conditional exceptions.
44529 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
44531         * math/libm-test.inc (max_valid_error): New variable.
44532         (init_max_error): Take new argument specifying whether function
44533         results are exactly determined.  Set max_valid_error and bound
44534         other variables for errors based on this argument.
44535         (set_max_error): Do not record results above max_valid_error.
44536         (check_float_internal): Only accept errors of up to 0.5ulps if
44537         also at most max_valid_error.
44538         (START): Take new argument EXACT and pass it to init_max_error.
44539         (acos_test): Update call to START.
44540         (acos_test_tonearest): Likewise.
44541         (acos_test_towardzero): Likewise.
44542         (acos_test_downward): Likewise.
44543         (acos_test_upward): Likewise.
44544         (acosh_test): Likewise.
44545         (asin_test): Likewise.
44546         (asin_test_tonearest): Likewise.
44547         (asin_test_towardzero): Likewise.
44548         (asin_test_downward): Likewise.
44549         (asin_test_upward): Likewise.
44550         (asinh_test): Likewise.
44551         (atan_test): Likewise.
44552         (atanh_test): Likewise.
44553         (atan2_test): Likewise.
44554         (cabs_test): Likewise.
44555         (cacos_test): Likewise.
44556         (cacosh_test): Likewise.
44557         (carg_test): Likewise.
44558         (casin_test): Likewise.
44559         (casinh_test): Likewise.
44560         (catan_test): Likewise.
44561         (catanh_test): Likewise.
44562         (cbrt_test): Likewise.
44563         (ccos_test): Likewise.
44564         (ccosh_test): Likewise.
44565         (ceil_test): Likewise.
44566         (cexp_test): Likewise.
44567         (cimag_test): Likewise.
44568         (clog_test): Likewise.
44569         (clog10_test): Likewise.
44570         (conj_test): Likewise.
44571         (copysign_test): Likewise.
44572         (cos_test): Likewise.
44573         (cos_test_tonearest): Likewise.
44574         (cos_test_towardzero): Likewise.
44575         (cos_test_downward): Likewise.
44576         (cos_test_upward): Likewise.
44577         (cosh_test): Likewise.
44578         (cosh_test_tonearest): Likewise.
44579         (cosh_test_towardzero): Likewise.
44580         (cosh_test_downward): Likewise.
44581         (cosh_test_upward): Likewise.
44582         (cpow_test): Likewise.
44583         (cproj_test): Likewise.
44584         (creal_test): Likewise.
44585         (csin_test): Likewise.
44586         (csinh_test): Likewise.
44587         (csqrt_test): Likewise.
44588         (ctan_test): Likewise.
44589         (ctan_test_tonearest): Likewise.
44590         (ctan_test_towardzero): Likewise.
44591         (ctan_test_downward): Likewise.
44592         (ctan_test_upward): Likewise.
44593         (ctanh_test): Likewise.
44594         (ctanh_test_tonearest): Likewise.
44595         (ctanh_test_towardzero): Likewise.
44596         (ctanh_test_downward): Likewise.
44597         (ctanh_test_upward): Likewise.
44598         (erf_test): Likewise.
44599         (erfc_test): Likewise.
44600         (exp_test): Likewise.
44601         (exp_test_tonearest): Likewise.
44602         (exp_test_towardzero): Likewise.
44603         (exp_test_downward): Likewise.
44604         (exp_test_upward): Likewise.
44605         (exp10_test): Likewise.
44606         (exp10_test_tonearest): Likewise.
44607         (exp10_test_towardzero): Likewise.
44608         (exp10_test_downward): Likewise.
44609         (exp10_test_upward): Likewise.
44610         (pow10_test): Likewise.
44611         (exp2_test): Likewise.
44612         (expm1_test): Likewise.
44613         (expm1_test_tonearest): Likewise.
44614         (expm1_test_towardzero): Likewise.
44615         (expm1_test_downward): Likewise.
44616         (expm1_test_upward): Likewise.
44617         (fabs_test): Likewise.
44618         (fdim_test): Likewise.
44619         (floor_test): Likewise.
44620         (fma_test): Likewise.
44621         (fma_test_towardzero): Likewise.
44622         (fma_test_downward): Likewise.
44623         (fma_test_upward): Likewise.
44624         (fmax_test): Likewise.
44625         (fmin_test): Likewise.
44626         (fmod_test): Likewise.
44627         (fpclassify_test): Likewise.
44628         (frexp_test): Likewise.
44629         (hypot_test): Likewise.
44630         (ilogb_test): Likewise.
44631         (isfinite_test): Likewise.
44632         (finite_test): Likewise.
44633         (isgreater_test): Likewise.
44634         (isgreaterequal_test): Likewise.
44635         (isinf_test): Likewise.
44636         (isless_test): Likewise.
44637         (islessequal_test): Likewise.
44638         (islessgreater_test): Likewise.
44639         (isnan_test): Likewise.
44640         (isnormal_test): Likewise.
44641         (issignaling_test): Likewise.
44642         (isunordered_test): Likewise.
44643         (j0_test): Likewise.
44644         (j1_test): Likewise.
44645         (jn_test): Likewise.
44646         (ldexp_test): Likewise.
44647         (lgamma_test): Likewise.
44648         (gamma_test): Likewise.
44649         (lrint_test): Likewise.
44650         (lrint_test_tonearest): Likewise.
44651         (lrint_test_towardzero): Likewise.
44652         (lrint_test_downward): Likewise.
44653         (lrint_test_upward): Likewise.
44654         (llrint_test): Likewise.
44655         (llrint_test_tonearest): Likewise.
44656         (llrint_test_towardzero): Likewise.
44657         (llrint_test_downward): Likewise.
44658         (llrint_test_upward): Likewise.
44659         (log_test): Likewise.
44660         (log10_test): Likewise.
44661         (log1p_test): Likewise.
44662         (log2_test): Likewise.
44663         (logb_test): Likewise.
44664         (logb_test_downward): Likewise.
44665         (lround_test): Likewise.
44666         (llround_test): Likewise.
44667         (modf_test): Likewise.
44668         (nearbyint_test): Likewise.
44669         (nextafter_test): Likewise.
44670         (nexttoward_test): Likewise.
44671         (pow_test): Likewise.
44672         (pow_test_tonearest): Likewise.
44673         (pow_test_towardzero): Likewise.
44674         (pow_test_downward): Likewise.
44675         (pow_test_upward): Likewise.
44676         (remainder_test): Likewise.
44677         (drem_test): Likewise.
44678         (remainder_test_tonearest): Likewise.
44679         (drem_test_tonearest): Likewise.
44680         (remainder_test_towardzero): Likewise.
44681         (drem_test_towardzero): Likewise.
44682         (remainder_test_downward): Likewise.
44683         (drem_test_downward): Likewise.
44684         (remainder_test_upward): Likewise.
44685         (drem_test_upward): Likewise.
44686         (remquo_test): Likewise.
44687         (rint_test): Likewise.
44688         (rint_test_tonearest): Likewise.
44689         (rint_test_towardzero): Likewise.
44690         (rint_test_downward): Likewise.
44691         (rint_test_upward): Likewise.
44692         (round_test): Likewise.
44693         (scalb_test): Likewise.
44694         (scalbn_test): Likewise.
44695         (scalbln_test): Likewise.
44696         (signbit_test): Likewise.
44697         (sin_test): Likewise.
44698         (sin_test_tonearest): Likewise.
44699         (sin_test_towardzero): Likewise.
44700         (sin_test_downward): Likewise.
44701         (sin_test_upward): Likewise.
44702         (sincos_test): Likewise.
44703         (sinh_test): Likewise.
44704         (sinh_test_tonearest): Likewise.
44705         (sinh_test_towardzero): Likewise.
44706         (sinh_test_downward): Likewise.
44707         (sinh_test_upward): Likewise.
44708         (sqrt_test): Likewise.
44709         (sqrt_test_tonearest): Likewise.
44710         (sqrt_test_towardzero): Likewise.
44711         (sqrt_test_downward): Likewise.
44712         (sqrt_test_upward): Likewise.
44713         (tan_test): Likewise.
44714         (tan_test_tonearest): Likewise.
44715         (tan_test_towardzero): Likewise.
44716         (tan_test_downward): Likewise.
44717         (tan_test_upward): Likewise.
44718         (tanh_test): Likewise.
44719         (tgamma_test): Likewise.
44720         (trunc_test): Likewise.
44721         (y0_test): Likewise.
44722         (y1_test): Likewise.
44723         (yn_test): Likewise.
44724         (significand_test): Likewise.
44726         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44727         individual tests in comment.
44728         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44729         (prev_max_error): New variable.
44730         (prev_real_max_error): Likewise.
44731         (prev_imag_max_error): Likewise.
44732         (compare_ulp_data): Don't refer to test names in comment.
44733         (find_test_ulps): Remove function.
44734         (find_function_ulps): Likewise.
44735         (find_complex_function_ulps): Likewise.
44736         (init_max_error): Take function name as argument.  Look up ulps
44737         for that function.
44738         (print_ulps): Remove function.
44739         (print_max_error): Use prev_max_error instead of calling
44740         find_function_ulps.
44741         (print_complex_max_error): Use prev_real_max_error and
44742         prev_imag_max_error instead of calling find_complex_function_ulps.
44743         (check_float_internal): Take max_ulp parameter instead of calling
44744         find_test_ulps.  Don't call print_ulps.
44745         (check_float): Update call to check_float_internal.
44746         (check_complex): Update calls to check_float_internal.
44747         (START): Pass argument to init_max_error.
44748         * math/gen-libm-test.pl (%results): Don't include "kind"
44749         information.
44750         (parse_ulps): Don't handle ulps of individual tests.
44751         (print_ulps_file): Likewise.
44752         (output_ulps): Likewise.
44753         * math/README.libm-test: Update.
44754         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44755         individual tests.
44756         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44757         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44758         * sysdeps/arm/libm-test-ulps: Likewise.
44759         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44760         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44761         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44762         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44763         * sysdeps/microblaze/libm-test-ulps: Likewise.
44764         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44765         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44766         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44767         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44768         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44769         * sysdeps/sh/libm-test-ulps: Likewise.
44770         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44771         * sysdeps/tile/libm-test-ulps: Likewise.
44772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44774 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
44776         * math/libm-test.inc (print_complex_max_error): Check separately
44777         whether real and imaginary errors are within allowed range and
44778         pass 0 to print_complex_function_ulps instead of value within
44779         allowed range.
44781 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44783         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44784         formatting.
44785         (get_handles_fopen): Likewise.
44786         (do_write_test): Likewise.
44788         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44790         * libio/fileops.c (do_ftell): Use cached offset when
44791         available.
44792         * libio/iofwide.c (do_ftell_wide): Likewise.
44793         * libio/iofdopen.c (_IO_new_fdopen): Don't use
44794         _IO_file_attach.
44795         * libio/wfileops.c (_IO_fwide): Don't cache offset.
44797         [BZ #16532]
44798         * libio/libioP.h (get_file_offset): New function.
44799         * libio/fileops.c (get_file_offset): Likewise.
44800         (do_ftell): Likewise.
44801         (_IO_new_file_seekoff): Split out ftell logic.
44802         * libio/wfileops.c (do_ftell_wide): Likewise.
44803         (_IO_wfile_seekoff): Split out ftell logic.
44804         * libio/tst-ftell-active-handler.c: New test case.
44805         * libio/Makefile (tests): Add it.
44807 2014-03-03  Roland McGrath  <roland@hack.frob.com>
44809         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44810         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44812 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44814         [BZ #16639]
44815         * nscd/connections.c (nscd_init): Call do_exit.
44816         (start_threads): Call do_exit and notify_parent.
44817         (begin_drop_privileges): Call do_exit.
44818         (finish_drop_privileges): Likewise.
44819         * nscd/selinux.c (preserve_capabilities): Likewise.
44820         (install_real_capabilities): Likewise.
44821         (nscd_selinux_enabled): Likewise.
44822         (avc_create_thread): Likewise.
44823         (avc_alloc_lock): Likewise.
44824         (nscd_avc_init): Likewise.
44825         * nscd/nscd.c (parent_fd): New static variable.
44826         (main): Create a pipe between parent and child processes.
44827         Skip closing parent_fd.
44828         (monitor_child): New function.
44829         (do_exit): Likewise.
44830         (notify_parent): Likewise.
44831         * nscd/nscd.h (notify_parent): Likewise.
44832         (do_exit): Likewise.
44834 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
44836         * malloc/malloc.c (__libc_calloc): Revert last change.
44838 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44842 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44844         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44845         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44846         implementation.
44847         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44848         (__libc_ifunc_impl_list): Likewise.
44849         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44850         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44851         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44852         * string/strrchr.c: Define STRRCHR.
44854 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
44856         * benchtest/bench-strtok.c (simple_strtok): Delete.
44857         (strtok_string): Use as benchmark.
44858         * string/strtok (STRTOK): New macro.
44860 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
44862         * manual/threads.texi: Add header and standard comments to all
44863         functions.
44865         * elf/dl-lookup.c (check_match): New function.
44866         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44867         (do_lookup_x): Remove nested function check_match. Use non-nested
44868         function check_match.
44870 2014-02-28  Roland McGrath  <roland@hack.frob.com>
44872         * csu/Makefile (generated, before-compile): Use += rather than =.
44873         * catgets/Makefile (generated, generated-dirs): Likewise.
44874         * debug/Makefile (generated): Likewise.
44875         * dlfcn/Makefile (generated): Likewise.
44876         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44877         * iconvdata/Makefile (before-compile, generated): Likewise.
44878         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44879         * libio/Makefile (generated): Likewise.
44880         * malloc/Makefile (generated): Likewise.
44881         * manual/Makefile (generated, generated-dirs): Likewise.
44882         * misc/Makefile (generated): Likewise.
44883         * posix/Makefile (generated): Likewise.
44884         * resolv/Makefile (generated): Likewise.
44885         * sunrpc/Makefile (generated, generated-dirs): Likewise.
44886         * timezone/Makefile (generated, generated-dirs): Likewise.
44888         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44890 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44892         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44893         power8 implementation.
44894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44895         file: POWER8 llround ifunc implementation.
44896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44897         (__lllround): Add POWER8 implementation.
44898         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44899         POWER8 llround implementation.
44901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44902         power8 implementation.
44903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44904         file: POWER8 llrint ifunc implementation.
44905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44906         Add POWER8 implementation.
44907         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44908         POWER8 llrint implementation.
44910         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44911         power8 implementation.
44912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44913         file: POWER8 finite ifunc implementation.
44914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44915         Add POWER8 implementation.
44916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44917         Likewise.
44918         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44919         POWER8 finite implementation.
44920         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44923         power8 implementation.
44924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44925         file: POWER8 isinf ifunc implementation.
44926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44927         POWER8 implementation.
44928         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44929         Likewise.
44930         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44931         isinf implementation.
44932         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44934         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44935         (INIT_ARCH): Add hwcap2 initialization.
44936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44937         power8 implementation.
44938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44939         file: POWER8 isnan ifunc implementation.
44940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44941         POWER8 implementation.
44942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44943         Likewise.
44944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44945         isnan implementation.
44946         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44948 2014-02-27  Joey Ye  <joey.ye@arm.com>
44950         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44951         (_FP_NANFRAC_Q): Set to zero.
44953 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44955         [BZ #16623]
44956         * math/auto-libm-test-in: New test inputs.
44957         * math/auto-libm-test-out: Regenerate.
44958         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44959         and DA.
44960         (__cos): Likewise.
44961         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44963 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
44965         * scripts/evaluate-test.sh: Take new argument indicating whether
44966         failure is expected.
44967         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44968         indicating whether failure is expected.
44969         * conform/Makefile (test-xfail-run-conformtest): New variable.
44970         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44971         level.
44972         * posix/Makefile (test-xfail-annexc): New variable.
44973         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44975 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
44977         * argp/Makefile: Include Makeconfig immediately after defining
44978         subdir.
44979         * assert/Makefile: Likewise.
44980         * benchtests/Makefile: Likewise.
44981         * catgets/Makefile: Likewise.
44982         * conform/Makefile: Likewise.
44983         * crypt/Makefile: Likewise.
44984         * csu/Makefile: Likewise.
44985         (all): Remove target.
44986         * ctype/Makefile: Include Makeconfig immediately after defining
44987         subdir.
44988         * debug/Makefile: Likewise.
44989         * dirent/Makefile: Likewise.
44990         * dlfcn/Makefile: Likewise.
44991         * gmon/Makefile: Likewise.
44992         * gnulib/Makefile: Likewise.
44993         * grp/Makefile: Likewise.
44994         * gshadow/Makefile: Likewise.
44995         * hesiod/Makefile: Likewise.
44996         * hurd/Makefile: Likewise.
44997         (all): Remove target.
44998         * iconvdata/Makefile: Include Makeconfig immediately after
44999         defining subdir.
45000         * inet/Makefile: Likewise.
45001         * intl/Makefile: Likewise.
45002         * io/Makefile: Likewise.
45003         * libio/Makefile: Likewise.
45004         (all): Remove target.
45005         * locale/Makefile: Include Makeconfig immediately after defining
45006         subdir.
45007         * login/Makefile: Likewise.
45008         * mach/Makefile: Likewise.
45009         (all): Remove target.
45010         * malloc/Makefile: Include Makeconfig immediately after defining
45011         subdir.
45012         (all): Remove target.
45013         * manual/Makefile: Include Makeconfig immediately after defining
45014         subdir.
45015         * math/Makefile: Likewise.
45016         * misc/Makefile: Likewise.
45017         * nis/Makefile: Likewise.
45018         * nss/Makefile: Likewise.
45019         * po/Makefile: Likewise.
45020         (all): Remove target.
45021         * posix/Makefile: Include Makeconfig immediately after defining
45022         subdir.
45023         * pwd/Makefile: Likewise.
45024         * resolv/Makefile: Likewise.
45025         * resource/Makefile: Likewise.
45026         * rt/Makefile: Likewise.
45027         * setjmp/Makefile: Likewise.
45028         * shadow/Makefile: Likewise.
45029         * signal/Makefile: Likewise.
45030         * socket/Makefile: Likewise.
45031         * soft-fp/Makefile: Likewise.
45032         * stdio-common/Makefile: Likewise.
45033         * stdlib/Makefile: Likewise.
45034         * streams/Makefile: Likewise.
45035         * string/Makefile: Likewise.
45036         * sunrpc/Makefile: Likewise.
45037         (all): Remove target.
45038         * sysvipc/Makefile: Include Makeconfig immediately after defining
45039         subdir.
45040         * termios/Makefile: Likewise.
45041         * time/Makefile: Likewise.
45042         * timezone/Makefile: Likewise.
45043         (all): Remove target.
45044         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45045         subdir.
45046         * wctype/Makefile: Likewise.
45048 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45050         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45051         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45052         (libc_feholdexcept_setround_mips): Ditto.
45053         (libc_feholdsetround): New.
45054         (libc_feholdsetroundf): New.
45055         (libc_feholdsetroundl): New.
45056         (libc_feupdateenv_test_mips): New.
45057         (libc_feupdateenv_test): New.
45058         (libc_feupdateenv_testf): New.
45059         (libc_feupdateenv_testl): New.
45060         (libc_feresetround): New.
45061         (libc_feresetroundf): New.
45062         (libc_feresetroundl): New.
45063         (libc_fetestexcept_mips): New.
45064         (libc_fetestexcept): New.
45065         (libc_fetestexceptf): New.
45066         (libc_fetestexceptl): New.
45067         (HAVE_RM_CTX): New.
45068         (libc_feholdexcept_setround_mips_ctx): New.
45069         (libc_feholdexcept_setround_ctx): New.
45070         (libc_feholdexcept_setroundf_ctx): New.
45071         (libc_feholdexcept_setroundl_ctx): New.
45072         (libc_fesetenv_mips_ctx): New.
45073         (libc_fesetenv_ctx): New.
45074         (libc_fesetenv_ctxf): New.
45075         (libc_fesetenv_ctxl): New.
45076         (libc_feupdateenv_mips_ctx): New.
45077         (libc_feupdateenv_ctx): New.
45078         (libc_feupdateenvf_ctx): New.
45079         (libc_feupdateenvl_ctx): New.
45080         (libc_feholdsetround_mips_ctx): New.
45081         (libc_feholdsetround_ctx): New.
45082         (libc_feholdsetroundf_ctx): New.
45083         (libc_feholdsetroundl_ctx): New.
45084         (libc_feresetround_mips_ctx): New.
45085         (libc_feresetround_ctx): New.
45086         (libc_feresetroundf_ctx): New.
45087         (libc_feresetroundl_ctx): New.
45089 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45091         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45093         * manual/ipc.texi: New file.
45094         * manual/Makefile (chapters): Add ipc.
45095         * manual/job.texi: Add "Inter-Process Communication" to next.
45096         * manual/process.texi: Add "Inter-Process Communication" to prev.
45098 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45102 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45104         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45106         * manual/arith.texi: Fix spaces after sentences.
45107         * manual/charset.texi: Likewise.
45108         * manual/errno.texi: Likewise.
45109         * manual/install.texi: Likewise.
45110         * manual/llio.texi: Likewise.
45111         * manual/locale.texi: Likewise.
45112         * manual/maint.texi: Likewise.
45113         * manual/math.texi: Likewise.
45114         * manual/memory.texi: Likewise.
45115         * manual/message.texi: Likewise.
45116         * manual/probes.texi: Likewise.
45117         * manual/resource.texi: Likewise.
45118         * manual/signal.texi: Likewise.
45119         * manual/socket.texi: Likewise.
45120         * manual/stdio.texi: Likewise.
45121         * manual/string.texi: Likewise.
45122         * manual/time.texi: Likewise.
45123         * manual/users.texi: Likewise.
45125 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45127         [BZ #16632]
45128         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45129         _DEFAULT_SOURCE is defined.
45131 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45132             Carlos O'Donell  <carlos@redhat.com>
45134         [BZ #16613]
45135         * elf/dl-tls.c (_dl_count_modids): New function.
45136         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45137         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45138         audit library and increment generation counter.
45139         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45140         * elf/tst-audit9.c: New file.
45141         * elf/tst-auditmod9a.c: New file.
45142         * elf/tst-auditmod9b.c: New file.
45143         * elf/Makefile: Add rules to build and run tst-audit9.
45145 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45147         [BZ #15347]
45148         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45150 2014-02-25  Will Newton  <will.newton@linaro.org>
45152         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45153         (__longjmp): Restore sp and lr before restoring callee
45154         saved registers.  Add longjmp and longjmp_target
45155         SystemTap probe point.
45156         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45157         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45158         Define to zero to match jmpbuf layout.
45159         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45160         (__sigsetjmp): Save sp and lr before saving callee
45161         saved registers.  Add setjmp SystemTap probe point.
45163 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45165         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45167 2014-02-24  Andreas Schwab  <schwab@suse.de>
45169         [BZ #15804]
45170         * elf/pldd.c (wait_for_ptrace_stop): New function.
45171         (main): Call it after attaching.
45173 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45175         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45176         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45177         Versions files is now verboten.
45178         * hurd/Versions (libc: GLIBC_2.0):
45179         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45180         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45181         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45182         * mach/Versions: Likewise.
45184         * csu/Versions: Remove unused %include.
45185         * resolv/Versions: Likewise.
45187 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45189         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45190         ($(objpfx)check-local-headers.out): Likewise.
45191         ($(objpfx)begin-end-check.out): Likewise.
45192         * Makerules (check-abi-%.out): Likewise.
45193         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45194         ($(objpfx)test2.cat): Likewise.
45195         ($(objpfx)de/libc.cat): Likewise.
45196         ($(objpfx)test-gencat.out): Likewise.
45197         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45198         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45199         ($(objpfx)noload-mem): Likewise.
45200         ($(objpfx)tst-pathopt.out): Likewise.
45201         ($(objpfx)tst-rtld-load-self.out): Likewise.
45202         ($(objpfx)tst-array1-cmp.out): Likewise.
45203         ($(objpfx)tst-array1-static-cmp.out): Likewise.
45204         ($(objpfx)tst-array2-cmp.out): Likewise.
45205         ($(objpfx)tst-array3-cmp.out): Likewise.
45206         ($(objpfx)tst-array4-cmp.out): Likewise.
45207         ($(objpfx)tst-array5-cmp.out): Likewise.
45208         ($(objpfx)tst-array5-static-cmp.out): Likewise.
45209         ($(objpfx)check-textrel.out): Likewise.
45210         ($(objpfx)check-execstack.out): Likewise.
45211         ($(objpfx)check-localplt.out): Likewise.
45212         ($(objpfx)order2-cmp.out): Likewise.
45213         ($(objpfx)tst-leaks1-mem): Likewise.
45214         ($(objpfx)tst-leaks1-static-mem): Likewise.
45215         ($(objpfx)tst-initorder-cmp.out): Likewise.
45216         ($(objpfx)tst-initorder2-cmp.out): Likewise.
45217         ($(objpfx)tst-unused-dep.out): Likewise.
45218         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45219         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45220         * iconv/Makefile (test-iconvconfig): Likewise.
45221         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45222         ($(objpfx)iconv-test.out): Likewise.
45223         ($(objpfx)tst-tables.out): Likewise.
45224         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45225         ($(objpfx)tst-gettext.out): Likewise.
45226         ($(objpfx)tst-translit.out): Likewise.
45227         ($(objpfx)tst-gettext2.out): Likewise.
45228         ($(objpfx)tst-gettext4.out): Likewise.
45229         ($(objpfx)tst-gettext6.out): Likewise.
45230         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45231         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45232         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45233         ($(objpfx)tst-fopenloc-mem.out): Likewise.
45234         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45235         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45236         * posix/Makefile ($(objpfx)globtest.out): Likewise.
45237         ($(objpfx)wordexp-tst.out): Likewise.
45238         ($(objpfx)annexc.out): Likewise.
45239         ($(objpfx)tst-fnmatch-mem): Likewise.
45240         ($(objpfx)bug-regex2-mem): Likewise.
45241         ($(objpfx)bug-regex14-mem): Likewise.
45242         ($(objpfx)bug-regex21-mem): Likewise.
45243         ($(objpfx)bug-regex31-mem): Likewise.
45244         ($(objpfx)tst-vfork3-mem): Likewise.
45245         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45246         ($(objpfx)tst-pcre-mem): Likewise.
45247         ($(objpfx)tst-boost-mem): Likewise.
45248         ($(objpfx)tst-getconf.out): Likewise.
45249         ($(objpfx)bug-ga2-mem): Likewise.
45250         ($(objpfx)bug-glob2-mem): Likewise.
45251         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45252         ($(objpfx)mtrace-tst-leaks2): Likewise.
45253         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45254         ($(objpfx)tst-printf.out): Likewise.
45255         ($(objpfx)tst-setvbuf1.out): Likewise.
45256         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45257         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45258         ($(objpfx)tst-fmtmsg.out): Likewise.
45259         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45260         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45262         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45263         * bits/sigaction.h [__USE_MISC]: Likewise.
45264         * bits/waitstatus.h: Update #endif comments.
45265         * ctype/ctype.h: Likewise.
45266         * dirent/dirent.h: Likewise.
45267         [__USE_MISC]: Remove redundant conditionals.
45268         * grp/grp.h: Update #endif comments.
45269         [__USE_GNU]: Remove redundant conditionals.
45270         [__USE_MISC]: Likewise.
45271         * inet/netinet/in.h [__USE_GNU]: Likewise.
45272         * io/sys/stat.h [__USE_MISC]: Likewise.
45273         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45274         * libio/bits/stdio.h: Update #endif comments.
45275         [__USE_MISC]: Remove redundant conditionals.
45276         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45277         * libio/stdio.h: Update #endif comments.
45278         [__USE_MISC]: Remove redundant conditionals.
45279         * math/bits/math-finite.h [__USE_MISC]: Likewise.
45280         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45281         * math/math.h: Update #else and #endif comments.
45282         [__USE_MISC]: Remove redundant conditionals.
45283         * misc/sys/uio.h: Update #endif comments.
45284         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45285         * posix/glob.h [__USE_MISC]: Likewise.
45286         * posix/sys/types.h: Update #endif comments.
45287         [__USE_MISC]: Remove redundant conditionals.
45288         * posix/sys/wait.h: Update #endif comments.
45289         [__USE_MISC]: Remove redundant conditionals.
45290         * posix/unistd.h: Update #endif comments.
45291         [__USE_MISC]: Remove redundant conditionals.
45292         * pwd/pwd.h [__USE_GNU]: Likewise.
45293         [__USE_MISC]: Likewise.
45294         * resolv/netdb.h [__USE_GNU]: Likewise.
45295         * signal/signal.h: Update #endif comments.
45296         [__USE_MISC]: Remove redundant conditionals.
45297         * stdlib/stdlib.h: Update #else and #endif comments.
45298         [__USE_MISC]: Remove redundant conditionals.
45299         [__USE_GNU]: Likewise.
45300         * string/bits/string2.h [__USE_MISC]: Likewise.
45301         * string/string.h: Update #endif comments.
45302         [__USE_MISC]: Remove redundant conditionals.
45303         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45304         Likewise.
45305         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45306         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45307         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45308         Likewise.
45309         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45310         Likewise.
45311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45312         comments.
45313         [__USE_MISC]: Remove redundant conditionals.
45314         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45315         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45316         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45317         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45318         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45319         Likewise.
45320         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45321         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45322         Likewise.
45323         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45324         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45325         Likewise.
45326         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45327         Likewise.
45328         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45329         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45330         Likewise.
45331         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45332         Likewise.
45333         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45334         * sysdeps/x86/bits/string.h: Update #endif comments.
45335         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45336         conditionals.
45337         * time/sys/time.h: Update #endif comments.
45338         * time/time.h: Likewise.
45339         [__USE_MISC]: Remove redundant conditionals.
45341 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
45343         [BZ #16600]
45344         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45346 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
45348         * Versions.def (librt): Add GLIBC_2.17.
45350 2014-02-21  Adam Conrad  <adconrad@0c3.net>
45352         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45353         synonym for _SYS_AUXV_H to allow direct inclusion.
45354         * sysdeps/sparc/bits/hwcap.h: Likewise.
45355         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45356         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45357         * sysdeps/sparc/sysdep.h: Likewise.
45359 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45361         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45363 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45365         * benchtests/bench-strrchr.c: Print length instead of position.
45367 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
45369         [BZ #16611]
45370         * sysdeps/unix/sysv/linux/kernel-features.h
45371         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45372         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45373         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45374         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45375         Likewise.
45376         [__i386__ || __powerpc__ || __sh__ || __sparc__]
45377         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45378         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45379         (__ASSUME_SENDMMSG): Define instead of using previous
45380         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45381         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45382         (__ASSUME_SENDMMSG_SYSCALL): Define.
45383         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45384         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45385         Likewise.
45386         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45387         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45388         Likewise.
45389         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45390         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45391         Likewise.
45392         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45393         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45394         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45395         [__ASSUME_SENDMMSG]: Change conditionals to
45396         [__ASSUME_SENDMMSG_SOCKETCALL].
45397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45398         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45399         Define.
45400         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45401         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45402         Likewise.
45403         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45404         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45405         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45406         [!__ASSUME_SENDMMSG]: Change conditional to
45407         [!__ASSUME_SENDMMSG_SOCKETCALL].
45408         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45409         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45410         Define.
45412         [BZ #16610]
45413         * sysdeps/unix/sysv/linux/kernel-features.h
45414         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45415         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45416         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45417         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45418         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45419         [__i386__ || __sparc__]
45420         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45421         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45422         (__ASSUME_RECVMMSG): Define instead of using previous
45423         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45424         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45425         (__ASSUME_RECVMMSG_SYSCALL): Define.
45426         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45427         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45428         Likewise.
45429         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45430         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45431         Likewise.
45432         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45433         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45434         Likewise.
45435         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45436         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45437         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45438         [__ASSUME_RECVMMSG]: Change condition to
45439         [__ASSUME_RECVMMSG_SOCKETCALL].
45440         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45441         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45442         Define.
45443         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45444         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45445         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45446         Likewise.
45447         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45448         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45449         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45450         [!__ASSUME_RECVMMSG]: Change condition to
45451         [!__ASSUME_RECVMMSG_SOCKETCALL].
45452         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45453         (__ASSUME_RECVMMSG_SYSCALL): Define.
45455         [BZ #16609]
45456         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45457         __powerpc__ || __s390__ || __sh__ || __sparc__]
45458         (__ASSUME_SOCKETCALL): Define.
45459         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45460         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45461         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45462         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45463         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45464         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45465         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45466         (__ASSUME_ACCEPT4): Define instead of using previous
45467         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45468         __powerpc__ || __sparc__ || __s390__)] condition.
45469         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45470         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45471         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45472         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45473         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45474         [!__ASSUME_ACCEPT4]: Change condition to
45475         [!__ASSUME_ACCEPT4_SOCKETCALL].
45476         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45477         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
45478         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45479         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45480         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45481         __ASSUME_ACCEPT4_SYSCALL.
45482         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45483         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45484         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45485         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45486         __ASSUME_ACCEPT4_SYSCALL.
45487         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45488         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45489         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45490         [__ASSUME_ACCEPT4]: Change condition to
45491         [__ASSUME_ACCEPT4_SOCKETCALL].
45492         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45493         (__ASSUME_SOCKETCALL): Define.
45494         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45496         (__ASSUME_SOCKETCALL): Define.
45497         (__ASSUME_ACCEPT4): Remove.
45498         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45499         Define.
45500         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45501         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45502         Likewise.
45503         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45504         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45506         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45507         macro.
45508         (HWCAP_ARM_LPAE): Likewise.
45509         (HWCAP_ARM_EVTSTRM): Likewise.
45510         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45511         Add vpfd32, lpae and evtstrm.
45512         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45513         Increase to 22.
45515 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
45517         * math/auto-libm-test-in: Add tests of clog10.
45518         * math/auto-libm-test-out: Regenerated.
45519         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45520         * sysdeps/i386/fpu/libm-test-ulps: Update.
45521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45523 2014-02-18  Andreas Schwab  <schwab@suse.de>
45525         [BZ #16574]
45526         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45527         Store non-zero if the second buffer was newly allocated.
45528         (send_dg): Likewise.
45529         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45530         to send_vc and send_dg.
45531         (res_nsend): Pass NULL for ansp2_malloced.
45532         * resolv/res_query.c (__libc_res_nquery): Add parameter
45533         answerp2_malloced and pass it down to __libc_res_nsend.
45534         (res_nquery): Pass additional NULL to __libc_res_nquery.
45535         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45536         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
45537         second answer buffer if answerp2_malloced was set.
45538         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45539         (__libc_res_nquerydomain): Add parameter
45540         answerp2_malloced and pass it down to __libc_res_nquery.
45541         (res_nquerydomain): Pass additional NULL to
45542         __libc_res_nquerydomain.
45543         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45544         additional NULL to __libc_res_nsend and __libc_res_nquery.
45545         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45546         additional NULL to __libc_res_nsearch.
45547         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
45548         parameter of __libc_res_nsearch to check for separately allocated
45549         second buffer.
45550         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45551         __libc_res_nquery.
45552         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45553         additional NULL to __libc_res_nquery.
45554         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45555         __libc_res_nsearch.
45556         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45557         * include/resolv.h: Update prototypes of __libc_res_nquery,
45558         __libc_res_nsearch, __libc_res_nsend.
45560 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
45562         * math/auto-libm-test-in: Add tests of fma.
45563         * math/auto-libm-test-out: Regenerated.
45564         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45565         (fma_towardzero_test_data): Likewise.
45566         (fma_downward_test_data): Likewise.
45567         (fma_upward_test_data): Likewise.
45568         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45569         mpc_mode.
45570         (rounding_modes): Add values for new field.
45571         (func_calc_method): Add value mpfr_fff_f.
45572         (func_calc_desc): Add mpfr_fff_f union field.
45573         (test_function): Add field exact_args.
45574         (FUNC): Add macro argument EXACT_ARGS.
45575         (FUNC_mpfr_f_f): Update call to FUNC.
45576         (FUNC_mpfr_f_f): Likewise.
45577         (FUNC_mpfr_ff_f): Likewise.
45578         (FUNC_mpfr_if_f): Likewise.
45579         (FUNC_mpc_c_f): Likewise.
45580         (FUNC_mpc_c_c): Likewise.
45581         (test_functions): Add fma.  Update calls to FUNC.
45582         (handle_input_arg): Add argument exact_args.
45583         (add_test): Update call to handle_input_arg.
45584         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
45585         (output_for_one_input_case): Update call to calc_generic_results.
45586         Recalculate exact zero results in each rounding mode.
45588         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45589         non-negative before setting low bit.
45590         * math/auto-libm-test-in: Mark one asin test possibly having
45591         spurious underflow.
45592         * math/auto-libm-test-out: Regenerated.
45593         * sysdeps/i386/fpu/libm-test-ulps: Update.
45594         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45596 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
45598         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45599         * sysdeps/unix/sysv/linux/microblaze: Move directory from
45600         ports/sysdeps/unix/sysv/linux/microblaze.
45601         * README: Add missing listing for microblaze*-*-linux-gnu.
45603 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
45605         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45606         duplicate code
45608 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
45610         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45611         * sysdeps/unix/sysv/linux/ia64: Move directory from
45612         ports/sysdeps/unix/sysv/linux/ia64.
45613         * README: Update listing for ia64-*-linux-gnu.
45615 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
45616             Joseph Myers  <joseph@codesourcery.com>
45618         * Makeconfig (test-name): New variable.
45619         (evaluate-test): Likewise.
45620         * Makerules (do-test-clean): Remove .test-result files.
45621         (common-mostlyclean): Likewise.
45622         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45623         * scripts/evaluate-test.sh: New file.
45625 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
45627         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45628         separate $(objpfx)tst-fopenloc-cmp.out and
45629         $(objpfx)tst-fopenloc-mem.out targets.
45630         (tests): Update dependencies.
45631         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45632         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45633         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45634         (tst-rxspencer-no-utf8-ARGS): New variable.
45635         (tst-rxspencer-no-utf8-ENV): Likewise.
45636         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45637         instead of $(objpfx)tst-rxspencer-mem.
45638         ($(objpfx)tst-rxspencer-mem): Change target to
45639         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
45640         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45641         * posix/tst-rxspencer-no-utf8.c: New file.
45643         * elf/Makefile ($(objpfx)order.out): Remove rule.
45644         [$(run-built-tests) = yes] (tests): Depend on
45645         $(objpfx)order-cmp.out.
45646         ($(objpfx)order-cmp.out): New rule.
45647         [$(run-built-tests) = yes] (tests): Depend on
45648         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45649         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45650         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45651         $(objpfx)tst-array5-static-cmp.out.
45652         ($(objpfx)tst-array1.out): Remove rule.
45653         ($(objpfx)tst-array1-cmp.out): New rule.
45654         ($(objpfx)tst-array1-static.out): Remove rule.
45655         ($(objpfx)tst-array1-static-cmp.out): New rule.
45656         ($(objpfx)tst-array2.out): Remove rule.
45657         ($(objpfx)tst-array2-cmp.out): New rule.
45658         ($(objpfx)tst-array3.out): Remove rule.
45659         ($(objpfx)tst-array3-cmp.out): New rule.
45660         ($(objpfx)tst-array4.out): Remove rule.
45661         ($(objpfx)tst-array4-cmp.out): New rule.
45662         ($(objpfx)tst-array5.out): Remove rule.
45663         ($(objpfx)tst-array5-cmp.out): New rule.
45664         ($(objpfx)tst-array5-static.out): Remove rule.
45665         ($(objpfx)tst-array5-static-cmp.out): New rule.
45666         [$(run-built-tests) = yes] (tests): Depend on
45667         $(objpfx)order2-cmp.out.
45668         ($(objpfx)order2.out): Remove rule.
45669         ($(objpfx)order2-cmp.out): New rule.
45670         ($(objpfx)tst-initorder.out): Remove rule.
45671         [$(run-built-tests) = yes] (tests): Depend on
45672         $(objpfx)tst-initorder-cmp.out.
45673         ($(objpfx)tst-initorder-cmp.out): New rule.
45674         ($(objpfx)tst-initorder2.out): Remove rule.
45675         [$(run-built-tests) = yes] (tests): Depend on
45676         $(objpfx)tst-initorder2-cmp.out.
45677         ($(objpfx)tst-initorder2-cmp.out): New rule.
45678         [$(run-built-tests) = yes] (tests): Depend on
45679         $(objpfx)tst-unused-dep-cmp.out.
45680         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45681         ($(objpfx)tst-unused-dep-cmp.out): New rule.
45682         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45683         on $(objpfx)tst-setvbuf1-cmp.out.
45684         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45685         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45686         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45687         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45688         ($(objpfx)tst-svc.out): Remove rule.
45689         ($(objpfx)tst-svc-cmp.out): New rule.
45691 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
45693         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45694         * ctype/ctype.h [__USE_MISC]: Likewise.
45695         * dirent/dirent.h [__USE_MISC]: Likewise.
45696         * grp/grp.h [__USE_MISC]: Likewise.
45697         * io/fcntl.h [__USE_MISC]: Likewise.
45698         * io/sys/stat.h [__USE_MISC]: Likewise.
45699         * libio/stdio.h [__USE_MISC]: Likewise.
45700         * posix/unistd.h [__USE_MISC]: Likewise.
45701         * pwd/pwd.h [__USE_MISC]: Likewise.
45702         * stdlib.h [__USE_MISC]: Likewise.
45703         * string/bits/string2.h [__USE_MISC]: Likewise.
45704         * string/string.h [__USE_MISC]: Likewise.
45705         * time/time.h [__USE_MISC]: Likewise.
45707 2014-02-13  Andreas Schwab  <schwab@suse.de>
45709         [BZ #16574]
45710         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45711         second answer buffer if it was separately allocated.
45713 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
45715         * sysdeps/mips/math-tests.h: Include <features.h>.
45716         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45717         (ROUNDING_TESTS_long_double): Do not define.
45718         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45719         (EXCEPTION_TESTS_long_double): Likewise.
45720         * sysdeps/mips/mips64/libm-test-ulps: Update.
45722         * include/features.h (__USE_BSD): Remove macro definitions.
45723         (__USE_SVID): Likewise.
45724         (_BSD_SOURCE): Likewise.
45725         (_SVID_SOURCE): Likewise.
45726         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45727         from definition of _DEFAULT_SOURCE.
45728         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45729         [_DEFAULT_SOURCE].
45730         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45731         * bits/mman.h [__USE_BSD]: Likewise.
45732         * bits/termios.h [__USE_BSD]: Likewise.
45733         * bits/waitstatus.h [__USE_BSD]: Likewise.
45734         * ctype/ctype.h [__USE_SVID]: Likewise.
45735         * dirent/dirent.h [__USE_BSD]: Likewise.
45736         * grp/grp.h [__USE_SVID]: Likewise.
45737         [__USE_BSD]: Likewise.
45738         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45739         * io/fcntl.h [__USE_BSD]: Likewise.
45740         * io/ftw.h [__USE_BSD]: Likewise.
45741         * io/sys/stat.h [__USE_BSD]: Likewise.
45742         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45743         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45744         * libio/stdio.h [__USE_SVID]: Likewise.
45745         [__USE_BSD]: Likewise.
45746         * math/math.h [__USE_SVID]: Likewise.
45747         [__USE_BSD]: Likewise.
45748         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45749         * misc/bits/syslog.h [__USE_BSD]: Likewise.
45750         * misc/search.h [__USE_SVID]: Likewise.
45751         * misc/sys/mman.h [__USE_BSD]: Likewise.
45752         * misc/sys/syslog.h [__USE_BSD]: Likewise.
45753         * misc/sys/uio.h [__USE_BSD]: Likewise.
45754         * posix/bits/unistd.h [__USE_BSD]: Likewise.
45755         * posix/glob.h [__USE_BSD]: Likewise.
45756         * posix/regex.h [__USE_BSD]: Likewise.
45757         * posix/sys/types.h [__USE_BSD]: Likewise.
45758         [__USE_SVID]: Likewise.
45759         * posix/sys/utsname.h [__USE_SVID]: Likewise.
45760         * posix/sys/wait.h [__USE_BSD]: Likewise.
45761         [__USE_SVID]: Likewise.
45762         * posix/unistd.h [__USE_BSD]: Likewise.
45763         [__USE_SVID]: Likewise.
45764         * pwd/pwd.h [__USE_SVID]: Likewise.
45765         * resolv/netdb.h [__USE_BSD]: Likewise.
45766         * setjmp/setjmp.h [__USE_BSD]: Likewise.
45767         * signal/signal.h [__USE_BSD]: Likewise.
45768         [__USE_SVID]: Likewise.
45769         * socket/sys/socket.h [__USE_BSD]: Likewise.
45770         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45771         * stdlib/stdlib.h [__USE_BSD]: Likewise.
45772         [__USE_SVID]: Likewise.
45773         * string/bits/string2.h [__USE_BSD]: Likewise.
45774         [__USE_SVID]: Likewise.
45775         * string/bits/string3.h [__USE_BSD]: Likewise.
45776         * string/endian.h [__USE_BSD]: Likewise.
45777         * string/string.h [__USE_SVID]: Likewise.
45778         [__USE_BSD]: Likewise.
45779         * string/strings.h [__USE_BSD]: Likewise.
45780         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45781         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45782         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45783         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45784         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45785         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45786         Likewise.
45787         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45788         Likewise.
45789         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45790         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45791         Likewise.
45792         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45793         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45794         Likewise.
45795         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45796         Likewise.
45797         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45798         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45799         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45800         Likewise.
45801         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45802         Likewise.
45803         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45804         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45805         * termios/termios.h [__USE_BSD]: Likewise.
45806         * time/sys/time.h [__USE_BSD]: Likewise.
45807         * time/time.h [__USE_BSD]: Likewise.
45808         [__USE_SVID]: Likewise.
45810         * Makefile (subdir_targets): Remove subdir_lint.out.
45812         * stdio-common/Makefile (do-tst-unbputc): Remove target.
45813         (do-tst-printf): Likewise.
45814         (tests): Depend directly on $(objpfx)tst-unbputc.out and
45815         $(objpfx)tst-printf.out.
45817         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45819         * Makerules (check-abi-%): Change target to
45820         $(objpfx)check-abi-%.out.
45821         (check-abi target): Update dependencies.
45822         (check-abi-pattern variable): Redirect output of diff to $@.
45823         (check-abi variable): Likewise.
45824         * elf/Makefile (check-abi): Update dependencies.
45826         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45827         unused.
45828         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45829         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45830         subnormal range.
45831         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45832         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45833         value has largest subnormal exponent.
45834         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45835         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45836         * sysdeps/aarch64/soft-fp/sfp-machine.h
45837         (_FP_TININESS_AFTER_ROUNDING): New macro.
45838         * sysdeps/alpha/soft-fp/sfp-machine.h
45839         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45840         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45841         Likewise.
45842         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45843         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45844         * sysdeps/mips/soft-fp/sfp-machine.h
45845         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45846         * sysdeps/powerpc/soft-fp/sfp-machine.h
45847         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45848         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45849         Likewise.
45850         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45851         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45852         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45853         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45854         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45855         Likewise.
45857 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
45859         [BZ #16545]
45860         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45861         model 1.
45863 2014-02-12  Richard Henderson  <rth@redhat.com>
45865         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45866         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45867         * sysdeps/unix/sysv/linux/alpha: Move directory from
45868         ports/sysdeps/unix/sysv/linux/alpha.
45869         * README: Update listing for alpha-*-linux-gnu.
45871 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
45873         * include/features.h: Update comment documenting feature test
45874         macros.
45875         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
45876         _DEFAULT_SOURCE.
45877         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45878         (_SVID_SOURCE): Likewise.
45879         (_DEFAULT_SOURCE): Update description of default features.
45880         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45881         with _GNU_SOURCE.
45882         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45883         (S_ISVTX): Likewise.
45884         * manual/math.texi (Mathematical Constants): Likewise.
45885         * manual/signal.texi (Interrupted Primitives): Likewise.
45886         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45887         * math/test-matherr.c (_SVID_SOURCE): Do not define.
45888         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45889         Don't refer to _SVID_SOURCE in warning text.
45891         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45893         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45894         already defined.
45895         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45896         * sysdeps/mips/dl-lookup.c: Remove.
45897         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45899 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45901         [BZ #16447]
45902         * math/auto-libm-test-in: Add testcase for expl.
45903         * math/auto-libm-test-out: Regenerate.
45904         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45905         calculation of unsafe.
45906         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45908 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45910         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45911         * sysdeps/unix/sysv/linux/aarch64: Move directory from
45912         ports/sysdeps/unix/sysv/linux/aarch64.
45913         * README: Update listing for aarch64*-*-linux-gnu.
45915 2014-02-11  Will Newton  <will.newton@linaro.org>
45917         * manual/probes.texi (Mathematical Function Probes): Use
45918         "triggered" instead of "hit".
45920         * manual/probes.texi (Internal Probes): Add documentation
45921         of setjmp, longjmp and longjmp_target probes.
45923         * include/stap-probe.h: Add comment about probe argument
45924         format.
45926         * malloc/mtrace.c (attribute_hidden): Remove unused macro
45927         definition.  (tr_where, tr_freehook, tr_mallochook,
45928         tr_reallochook, tr_memalignhook): Use ANSI protoype.
45930 2014-02-11  David S. Miller  <davem@davemloft.net>
45932         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45933         processing int_tests.
45935 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
45937         * sysdeps/mips: Move directory from ports/sysdeps/mips.
45938         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45939         * sysdeps/unix/sysv/linux/mips: Move directory from
45940         ports/sysdeps/unix/sysv/linux/mips.
45941         * README: Update listing for mips-*-linux-gnu and
45942         mips64-*-linux-gnu.
45944 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
45946         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45947         * sysdeps/unix/sysv/linux/m68k: Move directory from
45948         ports/sysdeps/unix/sysv/linux/m68k.
45949         * README: Update listing for m68k-*-linux-gnu.
45951 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
45953         * sysdeps/tile: Move directory from ports/sysdeps/tile.
45954         * sysdeps/unix/sysv/linux/generic: Move directory from
45955         ports/sysdeps/unix/sysv/linux/generic.
45956         * sysdeps/unix/sysv/linux/tile: Move directory from
45957         ports/sysdeps/unix/sysv/linux/tile.
45958         * README: Update listing for tile*-*-linux-gnu.
45960 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
45962         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45963         __builtin_expect.
45964         * benchtests/bench-memmem.c (simple_memmem): Likewise.
45965         * catgets/open_catalog.c (__open_catalog): Likewise.
45966         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45967         * debug/confstr_chk.c: Likewise.
45968         * debug/fread_chk.c (__fread_chk): Likewise.
45969         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45970         * debug/getgroups_chk.c: Likewise.
45971         * debug/mbsnrtowcs_chk.c: Likewise.
45972         * debug/mbsrtowcs_chk.c: Likewise.
45973         * debug/mbstowcs_chk.c: Likewise.
45974         * debug/memcpy_chk.c: Likewise.
45975         * debug/memmove_chk.c: Likewise.
45976         * debug/mempcpy_chk.c: Likewise.
45977         * debug/memset_chk.c: Likewise.
45978         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45979         * debug/strcat_chk.c (__strcat_chk): Likewise.
45980         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45981         * debug/strncat_chk.c (__strncat_chk): Likewise.
45982         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45983         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45984         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45985         * debug/wcpncpy_chk.c: Likewise.
45986         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45987         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
45988         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
45989         * debug/wcsncpy_chk.c: Likewise.
45990         * debug/wcsnrtombs_chk.c: Likewise.
45991         * debug/wcsrtombs_chk.c: Likewise.
45992         * debug/wcstombs_chk.c: Likewise.
45993         * debug/wmemcpy_chk.c: Likewise.
45994         * debug/wmemmove_chk.c: Likewise.
45995         * debug/wmempcpy_chk.c: Likewise.
45996         * debug/wmemset_chk.c: Likewise.
45997         * dirent/scandirat.c (SCANDIRAT): Likewise.
45998         * dlfcn/dladdr1.c (dladdr1): Likewise.
45999         * dlfcn/dladdr.c (dladdr): Likewise.
46000         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46001         * dlfcn/dlerror.c (__dlerror): Likewise.
46002         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46003         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46004         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46005         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46006         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46007         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46008         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46009         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46010         Likewise.
46011         * elf/dl-conflict.c: Likewise.
46012         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46013         * elf/dl-dst.h: Likewise.
46014         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46015         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46016         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46017         * elf/dl-init.c (call_init, _dl_init): Likewise.
46018         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46019         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46020         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46021         Likewise.
46022         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46023         Likewise.
46024         * elf/dl-minimal.c (__libc_memalign): Likewise.
46025         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46026         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46027         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46028         * elf/dl-sym.c (do_sym): Likewise.
46029         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46030         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46031         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46032         * elf/dl-writev.h (_dl_writev): Likewise.
46033         * elf/ldconfig.c (search_dir): Likewise.
46034         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46035         (dl_main): Likewise.
46036         * elf/setup-vdso.h (setup_vdso): Likewise.
46037         * grp/compat-initgroups.c (compat_call): Likewise.
46038         * grp/fgetgrent.c (fgetgrent): Likewise.
46039         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46040         * grp/putgrent.c (putgrent): Likewise.
46041         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46042         Likewise.
46043         * hurd/hurdinit.c: Likewise.
46044         * iconvdata/8bit-gap.c (struct): Likewise.
46045         * iconvdata/ansi_x3.110.c : Likewise.
46046         * iconvdata/big5.c : Likewise.
46047         * iconvdata/big5hkscs.c : Likewise.
46048         * iconvdata/cp1255.c: Likewise.
46049         * iconvdata/cp1258.c : Likewise.
46050         * iconvdata/cp932.c : Likewise.
46051         * iconvdata/euc-cn.c: Likewise.
46052         * iconvdata/euc-jisx0213.c : Likewise.
46053         * iconvdata/euc-jp.c: Likewise.
46054         * iconvdata/euc-jp-ms.c : Likewise.
46055         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46056         * iconvdata/gb18030.c : Likewise.
46057         * iconvdata/gbbig5.c (const): Likewise.
46058         * iconvdata/gbgbk.c: Likewise.
46059         * iconvdata/gbk.c : Likewise.
46060         * iconvdata/ibm1364.c : Likewise.
46061         * iconvdata/ibm930.c : Likewise.
46062         * iconvdata/ibm932.c: Likewise.
46063         * iconvdata/ibm933.c : Likewise.
46064         * iconvdata/ibm935.c : Likewise.
46065         * iconvdata/ibm937.c : Likewise.
46066         * iconvdata/ibm939.c : Likewise.
46067         * iconvdata/ibm943.c: Likewise.
46068         * iconvdata/iso_11548-1.c: Likewise.
46069         * iconvdata/iso-2022-cn.c : Likewise.
46070         * iconvdata/iso-2022-cn-ext.c : Likewise.
46071         * iconvdata/iso-2022-jp-3.c: Likewise.
46072         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46073         * iconvdata/iso-2022-kr.c : Likewise.
46074         * iconvdata/iso646.c (gconv_end): Likewise.
46075         * iconvdata/iso_6937-2.c : Likewise.
46076         * iconvdata/iso_6937.c : Likewise.
46077         * iconvdata/iso8859-1.c: Likewise.
46078         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46079         * iconvdata/shift_jisx0213.c : Likewise.
46080         * iconvdata/sjis.c : Likewise.
46081         * iconvdata/t.61.c : Likewise.
46082         * iconvdata/tcvn5712-1.c : Likewise.
46083         * iconvdata/tscii.c: Likewise.
46084         * iconvdata/uhc.c : Likewise.
46085         * iconvdata/unicode.c (gconv_end): Likewise.
46086         * iconvdata/utf-16.c (gconv_end): Likewise.
46087         * iconvdata/utf-32.c (gconv_end): Likewise.
46088         * iconvdata/utf-7.c (base64): Likewise.
46089         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46090         * iconv/gconv_close.c (__gconv_close): Likewise.
46091         * iconv/gconv_open.c (__gconv_open): Likewise.
46092         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46093         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46094         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46095         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46096         (ucs4le_internal_loop_single): Likewise.
46097         * iconv/iconv.c (iconv): Likewise.
46098         * iconv/iconv_close.c: Likewise.
46099         * iconv/loop.c (SINGLE): Likewise.
46100         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46101         * include/atomic.h: Likewise.
46102         * inet/inet6_option.c (option_alloc): Likewise.
46103         * intl/bindtextdom.c (set_binding_values): Likewise.
46104         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46105         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46106         * intl/localealias.c (read_alias_file): Likewise.
46107         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46108         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46109         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46110         * libio/fmemopen.c (fmemopen): Likewise.
46111         * libio/iofgets.c (_IO_fgets): Likewise.
46112         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46113         * libio/iofgetws.c (fgetws): Likewise.
46114         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46115         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46116         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46117         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46118         * locale/findlocale.c (_nl_find_locale): Likewise.
46119         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46120         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46121         Likewise.
46122         * locale/setlocale.c (setlocale): Likewise.
46123         * login/programs/pt_chown.c (main): Likewise.
46124         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46125         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46126         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46127         (mmap, mmap64, mremap, munmap): Likewise.
46128         * math/e_exp2l.c: Likewise.
46129         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46130         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46131         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46132         * math/s_catan.c (__catan): Likewise.
46133         * math/s_catanf.c (__catanf): Likewise.
46134         * math/s_catanh.c (__catanh): Likewise.
46135         * math/s_catanhf.c (__catanhf): Likewise.
46136         * math/s_catanhl.c (__catanhl): Likewise.
46137         * math/s_catanl.c (__catanl): Likewise.
46138         * math/s_ccosh.c (__ccosh): Likewise.
46139         * math/s_ccoshf.c (__ccoshf): Likewise.
46140         * math/s_ccoshl.c (__ccoshl): Likewise.
46141         * math/s_cexp.c (__cexp): Likewise.
46142         * math/s_cexpf.c (__cexpf): Likewise.
46143         * math/s_cexpl.c (__cexpl): Likewise.
46144         * math/s_clog10.c (__clog10): Likewise.
46145         * math/s_clog10f.c (__clog10f): Likewise.
46146         * math/s_clog10l.c (__clog10l): Likewise.
46147         * math/s_clog.c (__clog): Likewise.
46148         * math/s_clogf.c (__clogf): Likewise.
46149         * math/s_clogl.c (__clogl): Likewise.
46150         * math/s_csin.c (__csin): Likewise.
46151         * math/s_csinf.c (__csinf): Likewise.
46152         * math/s_csinh.c (__csinh): Likewise.
46153         * math/s_csinhf.c (__csinhf): Likewise.
46154         * math/s_csinhl.c (__csinhl): Likewise.
46155         * math/s_csinl.c (__csinl): Likewise.
46156         * math/s_csqrt.c (__csqrt): Likewise.
46157         * math/s_csqrtf.c (__csqrtf): Likewise.
46158         * math/s_csqrtl.c (__csqrtl): Likewise.
46159         * math/s_ctan.c (__ctan): Likewise.
46160         * math/s_ctanf.c (__ctanf): Likewise.
46161         * math/s_ctanh.c (__ctanh): Likewise.
46162         * math/s_ctanhf.c (__ctanhf): Likewise.
46163         * math/s_ctanhl.c (__ctanhl): Likewise.
46164         * math/s_ctanl.c (__ctanl): Likewise.
46165         * math/w_pow.c: Likewise.
46166         * math/w_powf.c: Likewise.
46167         * math/w_powl.c: Likewise.
46168         * math/w_scalb.c (sysv_scalb): Likewise.
46169         * math/w_scalbf.c (sysv_scalbf): Likewise.
46170         * math/w_scalbl.c (sysv_scalbl): Likewise.
46171         * misc/error.c (error_tail): Likewise.
46172         * misc/pselect.c (__pselect): Likewise.
46173         * nis/nis_callback.c (__nis_create_callback): Likewise.
46174         * nis/nis_call.c (__nisfind_server): Likewise.
46175         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46176         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46177         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46178         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46179         * nis/nis_lookup.c (nis_lookup): Likewise.
46180         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46181         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46182         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46183         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46184         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46185         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46186         * nis/nss_compat/compat-initgroups.c (add_group)
46187         (internal_getgrent_r): Likewise.
46188         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46189         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46190         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46191         (internal_getspnam_r): Likewise.
46192         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46193         (_nss_nis_getaliasbyname_r): Likewise.
46194         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46195         (_nss_nis_getntohost_r): Likewise.
46196         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46197         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46198         (_nss_nis_getgrgid_r): Likewise.
46199         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46200         (internal_nis_gethostent_r, internal_gethostbyname2_r)
46201         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46202         (_nss_nis_gethostbyname4_r): Likewise.
46203         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46204         (initgroups_netid): Likewise.
46205         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46206         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46207         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46208         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46209         (_nss_nis_getprotobynumber_r): Likewise.
46210         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46211         (_nss_nis_getsecretkey): Likewise.
46212         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46213         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46214         (_nss_nis_getpwuid_r): Likewise.
46215         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46216         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46217         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46218         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46219         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46220         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46221         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46222         Likewise.
46223         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46224         (_nss_nisplus_getntohost_r): Likewise.
46225         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46226         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46227         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46228         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46229         Likewise.
46230         * nis/nss_nisplus/nisplus-initgroups.c
46231         (_nss_nisplus_initgroups_dyn): Likewise.
46232         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46233         (_nss_nisplus_getnetbyaddr_r): Likewise.
46234         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46235         (_nss_nisplus_getprotobynumber_r): Likewise.
46236         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46237         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46238         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46239         Likewise.
46240         * nis/nss_nisplus/nisplus-service.c
46241         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46242         (_nss_nisplus_getservbyport_r): Likewise.
46243         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46244         (_nss_nisplus_getspnam_r): Likewise.
46245         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46246         Likewise.
46247         * nscd/aicache.c (addhstaiX): Likewise.
46248         * nscd/cache.c (cache_search, prune_cache): Likewise.
46249         * nscd/connections.c (register_traced_file, send_ro_fd)
46250         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46251         (main_loop_epoll): Likewise.
46252         * nscd/grpcache.c (addgrbyX): Likewise.
46253         * nscd/hstcache.c (addhstbyX): Likewise.
46254         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46255         * nscd/mem.c (gc, mempool_alloc): Likewise.
46256         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46257         (addinnetgrX): Likewise.
46258         * nscd/nscd-client.h (__nscd_acquire_maplock)
46259         (__nscd_drop_map_ref): Likewise.
46260         * nscd/nscd_getai.c (__nscd_getai): Likewise.
46261         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46262         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46263         Likewise.
46264         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46265         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46266         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46267         (__nscd_get_map_ref): Likewise.
46268         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46269         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46270         Likewise.
46271         * nscd/pwdcache.c (addpwbyX): Likewise.
46272         * nscd/selinux.c (preserve_capabilities): Likewise.
46273         * nscd/servicescache.c (addservbyX): Likewise.
46274         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46275         * posix/fnmatch.c (fnmatch): Likewise.
46276         * posix/getopt.c (_getopt_internal_r): Likewise.
46277         * posix/glob.c (glob, glob_in_dir): Likewise.
46278         * posix/wordexp.c (exec_comm_child): Likewise.
46279         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46280         (getanswer_r, gaih_getanswer_slice): Likewise.
46281         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46282         * resolv/res_init.c: Likewise.
46283         * resolv/res_mkquery.c (res_nmkquery): Likewise.
46284         * resolv/res_query.c (__libc_res_nquery): Likewise.
46285         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46286         Likewise.
46287         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46288         * stdio-common/perror.c (perror): Likewise.
46289         * stdio-common/printf_fp.c (___printf_fp): Likewise.
46290         * stdio-common/tmpnam.c (tmpnam): Likewise.
46291         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46292         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46293         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46294         Likewise.
46295         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46296         * stdlib/putenv.c (putenv): Likewise.
46297         * stdlib/setenv.c (__add_to_environ): Likewise.
46298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46299         * stdlib/strtol_l.c (INTERNAL): Likewise.
46300         * string/memmem.c (memmem): Likewise.
46301         * string/strerror.c (strerror): Likewise.
46302         * string/strnlen.c (__strnlen): Likewise.
46303         * string/test-memmem.c (simple_memmem): Likewise.
46304         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46305         * sunrpc/pm_getport.c (__get_socket): Likewise.
46306         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46307         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46308         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46309         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46310         Likewise.
46311         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46312         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46313         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46314         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46315         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46316         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46317         Likewise.
46318         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46319         Likewise.
46320         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46321         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46322         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46323         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46324         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46326         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46327         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46328         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46329         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46330         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46331         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46332         Likewise.
46333         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46334         Likewise.
46335         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46336         Likewise.
46337         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46338         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46339         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46340         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46341         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46342         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46343         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46344         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46346         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46347         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46348         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46349         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46350         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46352         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46353         Likewise.
46354         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46355         Likewise.
46356         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46357         Likewise.
46358         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46359         Likewise.
46360         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46361         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46362         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46363         Likewise.
46364         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46365         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46366         * sysdeps/posix/opendir.c (__opendirat): Likewise.
46367         * sysdeps/posix/sleep.c: Likewise.
46368         * sysdeps/posix/tempname.c: Likewise.
46369         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46370         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46371         Likewise.
46372         * sysdeps/powerpc/powerpc32/dl-machine.h
46373         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46374         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46375         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46376         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46377         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46378         Likewise.
46379         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46380         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46381         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46382         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46383         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46384         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46385         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46386         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46387         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46388         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46389         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46390         (elf_machine_lazy_rel): Likewise.
46391         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46392         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46393         (elf_machine_lazy_rel): Likewise.
46394         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46395         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46396         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46397         * sysdeps/unix/grantpt.c (grantpt): Likewise.
46398         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46399         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46400         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46401         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46402         Likewise.
46403         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46404         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46405         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46406         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46407         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46408         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46409         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46410         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46411         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46412         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46413         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46414         Likewise.
46415         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46416         (__posix_fallocate64_l64): Likewise.
46417         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46418         (posix_fallocate): Likewise.
46419         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46420         Likewise.
46421         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46422         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46423         (getifaddrs_internal): Likewise.
46424         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46425         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46426         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46427         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46428         * sysdeps/unix/sysv/linux/posix_fallocate64.c
46429         (__posix_fallocate64_l64): Likewise.
46430         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46431         Likewise.
46432         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46433         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46434         (__get_clockfreq): Likewise.
46435         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46436         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46437         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46438         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46439         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46440         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46441         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46442         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46443         Likewise.
46444         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46445         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46446         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46447         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46448         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46449         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46450         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46451         Likewise.
46452         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46453         (posix_fallocate): Likewise.
46454         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46455         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46456         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46457         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46458         (elf_machine_rela, elf_machine_rela_relative)
46459         (elf_machine_lazy_rel): Likewise.
46460         * time/asctime.c (asctime_internal): Likewise.
46461         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46462         * time/tzset.c (__tzset_parse_tz): Likewise.
46463         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46464         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46465         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46466         * wcsmbs/wcsmbsload.h: Likewise.
46468         [BZ #15894]
46469         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46471         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46472         (arena_get2): Remove THREAD_STATS conditionals.
46473         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46474         (__malloc_stats, int): Likewise.
46476 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
46478         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46479         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
46481         * manual/setjmp.texi: Fix typos/grammar errors.
46483         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46484         Only return early when n is <= 0.  Delete unused return statement.
46486         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46487         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46488         * debug/tst-longjmp_chk3.c: New file.
46490         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46491         (test_main): Replace code with set_fortify_handler call.
46492         * debug/test-strcpy_chk.c: Likewise.
46493         * debug/tst-chk1.c: Likewise.
46494         * debug/tst-longjmp_chk.c: Likewise.
46495         * test-skeleton.c: Include fcntl.h & paths.h
46496         (set_fortify_handler): Define.
46498         * debug/tst-longjmp_chk.c: Add header comment and include
46499         ../test-skeleton.c.
46500         (do_test): Mark static.
46501         (TEST_FUNCTION): Define.
46503         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46504         (IP_PMTUDISC_INTERFACE): Likewise.
46505         (IP_MULTICAST_IF): Likewise.
46506         (IP_MULTICAST_TTL): Likewise.
46507         (IP_MULTICAST_LOOP): Likewise.
46508         (IP_ADD_MEMBERSHIP): Likewise.
46509         (IP_DROP_MEMBERSHIP): Likewise.
46510         (IP_UNBLOCK_SOURCE): Likewise.
46511         (IP_BLOCK_SOURCE): Likewise.
46512         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46513         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46514         (IP_MSFILTER): Likewise.
46515         (MCAST_JOIN_GROUP): Likewise.
46516         (MCAST_BLOCK_SOURCE): Likewise.
46517         (MCAST_UNBLOCK_SOURCE): Likewise.
46518         (MCAST_LEAVE_GROUP): Likewise.
46519         (MCAST_JOIN_SOURCE_GROUP): Likewise.
46520         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46521         (MCAST_MSFILTER): Likewise.
46522         (IP_MULTICAST_ALL): Likewise.
46523         (IP_UNICAST_IF): Likewise.
46525         * timezone/Makefile: Delete $(have-ksh) check.
46526         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46527         * timezone/tzselect.ksh: Add +x mode bits.
46529         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46530         (ANON_INODE_FS_MAGIC): Likewise.
46531         (BDEVFS_MAGIC): Likewise.
46532         (BINFMTFS_MAGIC): Likewise.
46533         (BTRFS_TEST_MAGIC): Likewise.
46534         (CRAMFS_MAGIC_WEND): Likewise.
46535         (DEBUGFS_MAGIC): Likewise.
46536         (ECRYPTFS_SUPER_MAGIC): Likewise.
46537         (EXT3_SUPER_MAGIC): Likewise.
46538         (EXT4_SUPER_MAGIC): Likewise.
46539         (FUTEXFS_SUPER_MAGIC): Likewise.
46540         (HOSTFS_SUPER_MAGIC): Likewise.
46541         (HUGETLBFS_MAGIC): Likewise.
46542         (MINIX3_SUPER_MAGIC): Likewise.
46543         (MTD_INODE_FS_MAGIC): Likewise.
46544         (NILFS_SUPER_MAGIC): Likewise.
46545         (OPENPROM_SUPER_MAGIC): Likewise.
46546         (PIPEFS_MAGIC): Likewise.
46547         (PSTOREFS_MAGIC): Likewise.
46548         (QNX6_SUPER_MAGIC): Likewise.
46549         (RAMFS_MAGIC): Likewise.
46550         (REISERFS_SUPER_MAGIC_STRING): Likewise.
46551         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46552         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46553         (SECURITYFS_MAGIC): Likewise.
46554         (SELINUX_MAGIC): Likewise.
46555         (SMACK_MAGIC): Likewise.
46556         (SOCKFS_MAGIC): Likewise.
46557         (SQUASHFS_MAGIC): Likewise.
46558         (STACK_END_MAGIC): Likewise.
46559         (TMPFS_MAGIC): Likewise.
46560         (USBDEVICE_SUPER_MAGIC): Likewise.
46561         (V9FS_MAGIC): Likewise.
46562         (XENFS_SUPER_MAGIC): Likewise.
46563         (CRAMFS_MAGIC): Fix typo in comment.
46564         (EXT2_SUPER_MAGIC): Update comment.
46565         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46567 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
46569         * sysdeps/arm: Move directory from ports/sysdeps/arm.
46570         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46571         * sysdeps/unix/sysv/linux/arm: Move directory from
46572         ports/sysdeps/unix/sysv/linux/arm.
46573         * README: Update listing for arm-*-linux-gnueabi.
46575         * README: Remove mention of am33.
46577 2014-02-07  Roland McGrath  <roland@hack.frob.com>
46579         * bits/sigset.h (__sigemptyset): Use a statement expression rather
46580         than the comma operator, to avoid "rhs of comma has no effect"
46581         compiler warnings.
46582         (__sigfillset, __sigandset, __sigorset): Likewise.
46583         * include/signal.h (__sigemptyset): Likewise.
46584         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46586 2014-02-07  Allan McRae  <allan@archlinux.org>
46588         * version.h (RELEASE): Set to "development".
46589         (VERSION): Set to "2.19.90"
46590         * NEWS: Add 2.20 section.
46592 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
46594         [BZ #16529]
46595         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46597 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46599         * manual/contrib.texi: Update entry for Carlos O'Donell,
46600         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46602 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
46604         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46606         * sysdeps/unix/sysv/linux/kernel-features.h
46607         [__LINUX_KERNEL_VERSION >= 0x020621]
46608         (__ASSUME_PROC_PID_TASK_COMM): Define.
46610 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46612         [BZ #16398]
46613         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46614         conversion when destination buffer does not have enough space.
46615         * libio/tst-ftell-partial-wide.c: New test case.
46616         * libio/Makefile (tests): Add tst-ftell-partial-wide.
46618         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46619         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
46620         Leonard and Allan McRae.
46622 2014-02-04  David S. Miller  <davem@davemloft.net>
46624         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46625         32-bit.
46627 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46630         New file
46631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46632         New file
46633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46634         New file.
46635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46636         New file.
46637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46638         New file.
46639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46640         New file.
46641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46642         New file.
46643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46644         New file.
46645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46646         New file.
46647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46648         New file.
46649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46650         New file.
46651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46652         New file.
46653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46654         New file.
46656 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46658         * nptl/shlib-versions: Change powerpc*le start to 2.17.
46659         * shlib-versions: Likewise.
46661 2014-02-04  Roland McGrath  <roland@hack.frob.com>
46662             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46664         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46665         (abilist-pattern): New variable, set to %-le.abilist.
46667         * Makerules (abilist-pattern): New variable.
46668         (vpath): Use $(abilist-pattern) in place of %.abilist.
46669         (check-abi-% pattern rule): Likewise.
46670         (check-abi, update-abi): Likewise.
46672 2014-02-04  Eric Wong  <normalperson@yhbt.net>
46674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46676 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
46678         * manual/startup.texi: Add next, previous, and top entries for
46679         the `Program Arguments' and `Environment Variables' nodes.
46681 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
46683         * manual/macros.texi: Add comments before MTASC-safety macros.
46685         * manual/users.texi: Document MTASC-safety properties.
46687         * manual/threads.texi (pthread_key_create, pthread_key_delete)
46688         (pthread_getspecific, pthread_setspecific): Format with
46689         @deftypefun, and add @safety note.
46690         * manual/signal.texi: Move comments that analyze the above
46691         functions to their home place.
46693 2014-02-03  Allan McRae  <allan@archlinux.org>
46695         * po/sl.po: Update Slovenian translation from translation project.
46697 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
46699         * manual/time.texi (timegm): Add missing blank after @c.
46700         Reported by Joseph Myers <joseph@codesourcery.com>.
46702 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
46704         * manual/check-safety.sh: New.
46705         * manual/Makefile ($(objpfx)stamp-summary): Run it.
46707         * manual/terminal.texi: Document MTASC-safety properties.
46709         * manual/filesys.texi: Document MTASC-safety properties.
46711         * manual/errno.texi: Document MTASC-safety properties.
46713         * manual/intro.texi: Document safety identifiers and
46714         conditionals.
46716         * manual/string.texi (wcstok): Fix prototype.
46717         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46719         * manual/time.texi: Document MTASC-safety properties.
46721         * manual/string.texi: Document MTASC-safety properties.
46723         * manual/threads.texi: Document MTASC-safety properties.
46725         * manual/stdio.texi: Document MTASC-safety properties.
46727         * manual/syslog.texi: Document MTASC-safety properties.
46729         * manual/sysinfo.texi: Document MTASC-safety properties.
46731         * manual/startup.texi: Document MTASC-safety properties.
46733         * manual/socket.texi: Document MTASC-safety properties.
46735         * manual/signal.texi: Document MTASC-safety properties.
46737 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
46739         * manual/setjmp.texi: Document MTASC-safety properties.
46741         * manual/search.texi: Document MTASC-safety properties.
46743         * manual/resource.texi: Document MTASC-safety properties.
46745         * manual/process.texi: Document MTASC-safety properties.
46747         * manual/platform.texi: Document MTASC-safety properties.
46749         * manual/pipe.texi: Document MTASC-safety properties.
46751         * manual/pattern.texi: Document MTASC-safety properties.
46753         * manual/message.texi: Document MTASC-safety properties.
46755         [BZ #12751]
46756         * manual/memory.texi: Document MTASC-safety properties.
46758         * manual/math.texi: Document MTASC-safety properties.
46760         * manual/locale.texi: Document MTASC-safety properties.
46762         * manual/llio.texi: Document MTASC-safety properties.
46764         * manual/libdl.texi: New.
46766         * manual/lang.texi: Document MTASC-safety properties.
46768         * manual/job.texi: Document MTASC-safety properties.
46770         * manual/getopt.texi: Document MTASC-safety properties.
46772         * manual/ctype.texi: Document MTASC-safety properties.
46774 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
46776         [BZ #16046]
46777         * csu/libc-tls.c (static_map): Remove variable.
46778         (__libc_setup_tls): Use main executable's link map for TLS data.
46779         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46780         casing for LM_ID_BASE and GL(dl_nns).
46781         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46782         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
46783         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46784         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46785         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46786         member.
46787         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46788         l_phnum members.
46790 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
46792         * manual/debug.texi: Document MTASC-safety properties.
46794 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
46796         [BZ #16510]
46797         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46798         of __x86_64__ when disabling x87 inline functions.
46800 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
46802         * manual/charset.texi: Document MTASC-safety properties.
46804         * manual/crypt.texi: Document MTASC-safety properties.
46806         * manual/conf.texi: Document MTASC-safety properties.
46808         * manual/arith.texi: Document MTASC-safety properties.
46810         * manual/argp.texi: Document MTASC-safety properties.
46812         * manual/macros.texi: Introduce macros to document multi
46813         thread, asynchronous signal and asynchronous cancellation
46814         safety properties.
46815         * manual/intro.texi: Introduce the properties themselves.
46817 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46819         * sysdeps/sh/sh4/Makefile: New file.
46821 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
46823         * math/gen-libm-test.pl ($srcdir): New variable.
46824         ($auto_input): Use it.
46826 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46828         [BZ #16506]
46829         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46830         access beyond array bounds when parsing netgroups file.
46832         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46833         the old buffer before realloc.
46835 2014-01-27  Allan McRae  <allan@archlinux.org>
46837         * po/fr.po: Update French translation from translation project.
46839 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46841         * sysdeps/sh/libm-test-ulps: Regenerate.
46843 2014-01-24  David S. Miller  <davem@davemloft.net>
46845         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46847 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46849         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46850         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46852 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46854         [BZ #16474]
46855         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46856         string pointers after reallocation.
46858 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46860         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46861         __SH4A__ instead of __SH_FPU_ANY__.
46863 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46865         * sysdeps/sh/fpu_control.h: New file.
46866         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46867         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46868         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46869         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46870         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46871         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46872         * sysdeps/sh/sys/ucontext.h: Remove.
46873         * sysdeps/sh/sys: Remove directory.
46875 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46877         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46878         s390/sys/ucontext.h.
46879         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46880         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46882 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
46884         [BZ #15605]
46885         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46887 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46889         [BZ#16431]
46890         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46891         Adjust the vDSO correctly for internal calls.
46892         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46894 2014-01-20  Allan McRae  <allan@archlinux.org>
46896         * po/ca.po: Update Catalan translation from translation project.
46898 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
46900         * sysdeps/s390/sotruss-lib.c: New file.
46902 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46904         [BZ#16430]
46905         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46906         (__GI___gettimeofday): Alias for a different internal symbol to avoid
46907         local calls issues by not having a PLT stub required for IFUNC calls.
46908         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46910 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
46912         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46913         * math/test-fpucw-static.c: Likewise.
46915 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46917         [BZ #16453]
46918         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46920 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46922         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46923         implementation for powerpc.
46925 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
46927         [BZ #14782]
46928         * sysdeps/posix/system.c (__libc_system): Do not enable
46929         asynchronous cancellation.
46931 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46933         [BZ #16427]
46934         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46935         handling only for numbers special also in the IEEE case.
46937 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46939         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46941 2014-01-11  Allan McRae  <allan@archlinux.org>
46943         * po/bg.po: Update Bulgarian translation from translation project.
46945         * po/de.po: Update German translation from translation project.
46947 2014-01-10  Roland McGrath  <roland@hack.frob.com>
46949         * sysdeps/generic/gcc-compat.h: New file.
46951 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46953         * benchtests/asin-inputs: Correct slow inputs.
46954         * benchtests/acos-inputs: Likewise.
46956 2014-01-10  Allan McRae  <allan@archlinux.org>
46958         * po:sv.po: Update Swedish translation from translation project.
46960         * po/vi.po: Update Vietnamese translation from translation project.
46962         * po/eo.po: Update Esperanto translation from translation project.
46964         * po/cs.po: Update Czech translation from translation project.
46966         * po/nl.po: Update Dutch translation from translation project.
46968         * po/pl.po: Update Polish translation from translation project.
46970         * po/ru.po: Update Russian translation from translation project.
46972         * po/uk.po: Update Ukrainian translation from translation project.
46974 2014-01-08  Brooks Moses  <bmoses@google.com>
46976         * elf/dl-load.c: Fix comment typo.
46978 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
46980         * po/header.pot: Rename to...
46981         * po/pot.header: ... this.
46982         * po/Makefile: Use pot.header.
46984 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
46985             Maxim Kuvyrkov  <maxim@kugelworks.com>
46987         [BZ #16394]
46988         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
46989         SRC and DEST against LEN.
46991 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46993         [BZ #16414]
46994         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
46995         implementation.
46996         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
46998 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47000         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47002 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47004         [BZ #16408]
47005         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47006         for large positive arguments.
47008 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47010         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47012         * math/auto-libm-test-in: Mark various tests with
47013         xfail-rounding:ldbl-128ibm.
47014         * math/auto-libm-test-out: Regenerated.
47016         [BZ #16407]
47017         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47018         Increase overflow threshold.
47020 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47022         [BZ #14286]
47023         * stdio-common/vfprintf.c: Check for integer overflow.
47025 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47027         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47028         the first argument and return value of __tls_get_addr_internal.
47030 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47032         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47033         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47035 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47037         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47038         * sysdeps/s390/rtld-global-offsets.sym: New file.
47039         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47040         GLIBC_2.19 symbol.
47041         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47042         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47043         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47044         ... this.
47045         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47046         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47047         ... this.
47048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47049         Regenerate.
47050         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47051         Regenerate.
47052         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47053         halfs of GPRs for high_gprs contexts.
47054         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47055         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47056         field.
47057         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47058         uc_flags field.
47059         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47060         64 bit versions:
47061         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47062         for high GPRs (uc_high_gprs) and for future extensions
47063         (__reserved).
47064         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47065         for future extensions (__reserved).
47066         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47067         64 bit versions:
47068         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47069         SC_HIGHGPRS offset definition.
47070         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47071         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47073         * Versions.def: Add GLIBC_2.19 for libpthread.
47074         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47075         siglongjmp for libpthread with GLIBC_2.19 symver.
47076         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47077         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47078         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47079         * sysdeps/s390/__longjmp.c: New file.
47080         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47081         * sysdeps/s390/longjmp.c: New file.
47082         * sysdeps/s390/setjmp.S: New file.
47083         * sysdeps/s390/sigjmp.S: New file.
47084         * sysdeps/s390/v1-longjmp.c: New file.
47085         * sysdeps/s390/v1-setjmp.h: New file.
47086         * sysdeps/s390/v1-sigjmp.c: New file.
47087         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47088         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47089         GLIBC_2.19 version.
47090         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47091         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47092         versioned symbols for ____longjmp_chk.
47093         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47094         Likewise.
47095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47096         Regenerate.
47097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47098         Regenerate.
47099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47100         Regenerate.
47101         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47102         Regenerate.
47103         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47104         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47105         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47106         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47107         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47108         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47109         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47110         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47111         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47112         * sysdeps/s390/rtld-__longjmp.c: New file.
47113         * sysdeps/s390/rtld-setjmp.S: New file.
47115 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47117         [BZ #16400]
47118         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47119         Return -__logl (x) for small positive arguments without evaluating
47120         a polynomial.
47122 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47124         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47125         Rename to ...
47126         (__ptrace_peeksiginfo_args): ... this.
47127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47128         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47129         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47131 2014-01-06  Allan McRae  <allan@archlinux.org>
47133         * inet/netinet/in.h: Fix typo in comment.
47135 2014-01-05  Andreas Jaeger  <aj@suse.de>
47137         * sysdeps/i386/fpu/libm-test-ulps: Update.
47139 2014-01-05  Allan McRae  <allan@archlinux.org>
47141         * po/libc.pot: Regenerated.
47143         * malloc/memusagestat.c: Fix gettext call formatting.
47145 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47147         * nscd/nscd.c: Improve usage() output.
47149 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47151         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47152         * sysdeps/unix/sysv/linux/configure: Regenerated.
47153         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47154         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47156 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47158         [BZ #16390]
47159         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47160         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47162 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47164         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47165         extra tokens at end of #undef directive.
47166         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47167         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47168         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47170 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47172         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47174         * math/auto-libm-test-in: Mark various tests with
47175         xfail-rounding:ldbl-128ibm.
47176         * math/auto-libm-test-out: Regenerated.
47178 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47180         [BZ #16386]
47181         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47182         numbers with subnormal high part when calculating exponent.
47184         [BZ #16385]
47185         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47186         fabs.
47188         [BZ #16384]
47189         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47190         M_LN2l.
47191         (__ieee754_acoshl): Use __log1pl not __log1p.
47193 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
47195         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47196         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47197         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47198         (grow_heap, heap_trim, _int_new_arena, get_free_list)
47199         (reused_arena, arena_get2): Convert to GNU style.
47200         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47201         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47202         (memalign_check, __malloc_set_state): Likewise.
47203         * malloc/mallocbug.c (main): Likewise.
47204         * malloc/malloc.c (__malloc_assert, malloc_init_state)
47205         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47206         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47207         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47208         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47209         (__posix_memalign, malloc_info): Likewise.
47210         * malloc/malloc.h: Likewise.
47211         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47212         (mallochook, memalignhook, reallochook, mabort): Likewise.
47213         * malloc/mcheck.h: Likewise.
47214         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47215         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47216         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47217         * malloc/morecore.c (__default_morecore): Likewise.
47218         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47219         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47220         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47221         (print_and_abort): Likewise.
47222         * malloc/obstack.h: Likewise.
47223         * malloc/set-freeres.c (__libc_freeres): Likewise.
47224         * malloc/tst-mallocstate.c (main): Likewise.
47225         * malloc/tst-mtrace.c (main): Likewise.
47226         * malloc/tst-realloc.c (do_test): Likewise.
47228 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47230         [BZ #16366]
47231         * nscd/netgroupcache.c (do_notfound): New function.
47232         (addgetnetgrentX): Use it.
47234         [BZ # 16365]
47235         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47236         NSS_STATUS_NOTFOUND.
47238 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
47240         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47243 2014-01-01  Allan McRae  <allan@archlinux.org>
47245         * scripts/update-copyrights: Update configure input file suffix.
47247         * NEWS: Update copyright year.
47248         * catgets/gencat.c: Likewise.
47249         * csu/version.c: Likewise.
47250         * debug/catchsegv.sh: Likewise.
47251         * debug/pcprofiledump.c: Likewise.
47252         * debug/xtrace.sh: Likewise.
47253         * elf/ldconfig.c: Likewise.
47254         * elf/ldd.bash.in: Likewise.
47255         * elf/pldd.c: Likewise.
47256         * elf/sotruss.ksh: Likewise.
47257         * elf/sprof.c: Likewise.
47258         * iconv/iconv_prog.c: Likewise.
47259         * iconv/iconvconfig.c: Likewise.
47260         * locale/programs/locale.c: Likewise.
47261         * locale/programs/localedef.c: Likewise.
47262         * login/programs/pt_chown.c: Likewise.
47263         * malloc/memusage.sh: Likewise.
47264         * malloc/memusagestat.c: Likewise.
47265         * malloc/mtrace.pl: Likewise.
47266         * manual/libc.texinfo: Likewise.
47267         * nscd/nscd.c: Likewise.
47268         * nss/getent.c: Likewise.
47269         * nss/makedb.c: Likewise.
47270         * posix/getconf.c: Likewise.
47271         * scripts/test-installation.pl: Likewise.
47273         * All files with FSF copyright notices: Update copyright dates
47274         using scripts/update-copyrights.
47275         * intl/plural.c: Regenerated.
47276         * locale/programs/charmap-kw.h: Likewise.
47277         * locale/programs/locfile-kw.h: Likewise.
47279 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
47281         * sysdeps/unix/sysv/linux/configure: Regenerated.
47282         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47283         the linux/fanotify.h header.
47284         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47285         HAVE_LINUX_FANOTIFY_H is defined.
47287 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47289         * benchtests/cos-inputs: New inputs.
47290         * benchtests/sin-inputs: Likewise.
47292         * benchtests/atan-inputs: New inputs. Fix name of multiple
47293         precision fallback inputs.
47295         * benchtests/atanh-inputs: New inputs.
47296         * benchtests/tanh-inputs: Likewise.
47298         * benchtests/acosh-inputs: New inputs.
47299         * benchtests/asinh-inputs: Likewise.
47301         * benchtests/cosh-inputs: New inputs.
47302         * benchtests/sinh-inputs: Likewise.
47304         * benchtests/acos-inputs: Add more inputs.
47305         * benchtests/asin-inputs: Likewise.
47307 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
47309         [BZ #16375]
47310         * manual/arith.texi: Fix spelling.
47311         * manual/charset.texi: Likewise.
47312         * manual/errno.texi: Likewise.
47313         * manual/filesys.texi: Likewise.
47314         * manual/lang.texi: Likewise.
47315         * manual/llio.texi: Likewise.
47316         * manual/locale.texi: Likewise.
47317         * manual/message.texi: Likewise.
47318         * manual/resource.texi: Likewise.
47319         * manual/search.texi: Likewise.
47320         * manual/setjmp.texi: Likewise.
47321         * manual/stdio.texi: Likewise.
47322         * manual/string.texi: Likewise.
47323         * manual/sysinfo.texi: Likewise.
47324         * manual/time.texi: Likewise.
47326 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
47328         * po/sl.po: New file.
47330 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
47332         * .gitignore: Add core/.gdbinit/.gdb_history.
47334 2013-12-27  Allan McRae  <allan@archlinux.org>
47336         [BZ #16369]
47337         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47338         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47340 2013-12-24  Brooks Moses  <bmoses@google.com>
47342         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47343         all compilers that claim C++98 compliance, not just GCC.
47344         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47345         Likewise.
47347 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47349         * NEWS: Restore accidentally deleted bug-fix entries.
47351 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47352             Ondřej Bílka  <neleai@seznam.cz>
47354         [BZ #15073]
47355         * malloc/malloc.c (_int_free): Perform sanity check only if we
47356         have_lock.
47358 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
47360         [BZ #12986]
47361         * manual/stdio.texi (String Input Conversions): Clarify that character
47362         classes are not supported.
47364 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47368 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
47370         [BZ #16337]
47371         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47372         Calculate results for small negative arguments directly rather
47373         than using reflection formula with special underflow handling.
47375         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47376         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47377         sysdeps/unix/bsd/bsd4.4/syscalls.list.
47378         (fchflags): Likewise.
47379         (revoke): Likewise.
47380         (setlogin): Likewise.
47381         (sigaltstack): Likewise.
47382         (wait4): Likewise.
47383         (sigblock): Remove.
47384         (sigsetmask): Likewise.
47385         (wait3): Likewise.
47386         (waitpid): Likewise.
47387         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47388         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47389         file.
47390         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47391         * sysdeps/unix/bsd/Makefile: ... here.
47392         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47393         * sysdeps/unix/bsd/Versions: ... here.
47394         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47395         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47396         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47397         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47398         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47399         * sysdeps/unix/bsd/sigblock.c: ... here.
47400         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47401         * sysdeps/unix/bsd/sigsetmask.c: ... here.
47402         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47403         * sysdeps/unix/bsd/sigvec.c: ... here.
47404         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47405         * sysdeps/unix/bsd/tcdrain.c: ... here.
47406         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47407         * sysdeps/unix/bsd/tcgetattr.c: ... here.
47408         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47409         * sysdeps/unix/bsd/tcsetattr.c: ... here.
47410         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47411         * sysdeps/unix/bsd/wait.c: ... here.
47412         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47413         * sysdeps/unix/bsd/wait3.c: ... here.
47414         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47415         * sysdeps/unix/bsd/waitpid.c: ... here.
47417 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
47419         [BZ #16356]
47420         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47421         round-to-nearest for [!USE_AS_EXPM1L].
47422         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47423         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
47424         more tests of exp and exp10.  Expect some exp10 tests to miss
47425         exceptions or fail in directed rounding modes.
47426         * math/auto-libm-test-out: Regenerated.
47427         * math/libm-test.inc (exp10_tonearest_test_data): New array.
47428         (exp10_test_tonearest): New function.
47429         (exp10_towardzero_test_data): New array.
47430         (exp10_test_towardzero): New function.
47431         (exp10_downward_test_data): New array.
47432         (exp10_test_downward): New function.
47433         (exp10_upward_test_data): New array.
47434         (exp10_test_upward): New function.
47435         (main): Call the new functions.
47436         * sysdeps/i386/fpu/libm-test-ulps: Update.
47437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47439 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
47441         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47442         asinh, atan, atan2, atanh, cbrt, cos and cosh.
47443         * math/auto-libm-test-out: Regenerated.
47444         * math/libm-test.inc (acosh_test_data): Add more tests.
47445         (atanh_test_data): Likewise.
47446         (ceil_test_data): Likewise.
47447         (copysign_test_data): Likewise.
47448         * sysdeps/i386/fpu/libm-test-ulps: Update.
47449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47451         * timezone/checktab.awk: Update from tzcode 2013i.
47452         * timezone/private.h: Likewise.
47453         * timezone/scheck.c: Likewise.
47454         * timezone/tzfile.h: Likewise.
47455         * timezone/tzselect.ksh: Likewise.
47456         * timezone/zdump.c: Likewise.
47457         * timezone/zic.c: Likewise.
47459         * math/auto-libm-test-in: Add tests of cpow.
47460         * math/auto-libm-test-out: Regenerated.
47461         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47462         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47463         mpc_cc_c.
47464         (func_calc_desc): Add mpc_cc_c union field.
47465         (test_functions): Add cpow.
47466         (special_fill_2pi): New function.
47467         (special_real_inputs): Add 2pi.
47468         (calc_generic_results): Handle mpc_cc_c.
47469         * sysdeps/i386/fpu/libm-test-ulps: Update.
47470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47472         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47473         csqrt, ctan and ctanh.
47474         * math/auto-libm-test-out: Regenerated.
47475         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47476         (TEST_COND_x86): Likewise.
47477         (ccos_test_data): Use AUTO_TESTS_c_c.
47478         (ccosh_test_data): Likewise.
47479         (cexp_test_data): Likewise.
47480         (clog_test_data): Likewise.
47481         (csqrt_test_data): Likewise.
47482         (ctan_test_data): Likewise.
47483         (ctan_tonearest_test_data): Likewise.
47484         (ctan_towardzero_test_data): Likewise.
47485         (ctan_downward_test_data): Likewise.
47486         (ctan_upward_test_data): Likewise.
47487         (ctanh_test_data): Likewise.
47488         (ctanh_tonearest_test_data): Likewise.
47489         (ctanh_towardzero_test_data): Likewise.
47490         (ctanh_downward_test_data): Likewise.
47491         (ctanh_upward_test_data): Likewise.
47492         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47493         mpc_c_c.
47494         (func_calc_desc): Add mpc_c_c union field.
47495         (FUNC_mpc_c_c): New macro.
47496         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47497         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47498         ctanh.
47499         (special_fill_min_subnorm_p120): New function.
47500         (special_real_inputs): Add min_subnorm_p120.
47501         (calc_generic_results): Handle mpc_c_c.
47502         * sysdeps/i386/fpu/libm-test-ulps: Update.
47503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47505 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47507         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47508         (do_sin_slow): New functions.
47509         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47510         (cslow2, csloww1, csloww2): Use the new functions.
47512         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47513         Use M to change sign of result instead of X.  Assume X is
47514         positive.
47515         (csloww1): Likewise.
47516         (__sin): Adjust.
47517         (__cos): Adjust.
47519         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47520         arguments A and DA.
47521         (__sin): Adjust.
47522         (__cos): Likewise.
47524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47525         (__cos): Likewise.
47526         (sloww1): Don't adjust sign of DX.
47527         (csloww1): Likewise.
47528         (sloww2): Use X directly and don't adjust sign of DX.
47529         (csloww2): Likewise.
47531 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47533         * math/auto-libm-test-in: Add tests of cabs and carg.
47534         * math/auto-libm-test-out: Regenerated.
47535         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47536         (carg_test_data): Likewise.
47537         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47538         mpc_c_f.
47539         (func_calc_desc): Add mpc_c_f union field.
47540         (test_functions): Add cabs and carg.
47541         (calc_generic_results): Handle mpc_c_f.
47543         * sysdeps/powerpc/powerpc32/libgcc-compat.S
47544         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47545         as a macro and a compat symbol.
47546         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47547         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47548         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47549         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47550         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47551         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47552         not use .hidden.
47553         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47554         Likewise.
47555         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47556         Likewise.
47557         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47558         Likewise.
47559         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47560         Likewise.
47561         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47562         Likewise.
47563         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47564         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47565         from GLIBC_2.3.2.
47567 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47571 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47573         * manual/texinfo.tex: Update to version 2013-11-26.10 with
47574         trailing whitespace removed.
47575         * scripts/config.guess: Update to version 2013-11-29.
47576         * scripts/config.sub: Update to version 2013-10-01.
47578         * math/auto-libm-test-in: Add tests of sincos.
47579         * math/auto-libm-test-out: Regenerated.
47580         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47581         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47582         mpfr_f_11.
47583         (func_calc_desc): Add mpfr_f_11 union field.
47584         (test_functions): Add sincos.
47585         (calc_generic_results): Handle mpfr_f_11.
47586         * sysdeps/i386/fpu/libm-test-ulps: Update.
47587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47589 2013-12-19  Andreas Schwab  <schwab@suse.de>
47591         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47592         CALL_MCOUNT.
47593         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47594         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47595         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47597 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47599         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47600         * sysdeps/i386/fpu/libm-test-ulps: Update.
47601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47603         [BZ #16293]
47604         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47605         round-to-nearest mode when using frndint.
47606         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47607         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47608         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47609         Likewise.
47610         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
47611         sinh test to fail.
47612         * math/auto-libm-test-out: Regenerated.
47613         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47614         (TEST_COND_x86): Likewise.
47615         (expm1_tonearest_test_data): New array.
47616         (expm1_test_tonearest): New function.
47617         (expm1_towardzero_test_data): New array.
47618         (expm1_test_towardzero): New function.
47619         (expm1_downward_test_data): New array.
47620         (expm1_test_downward): New function.
47621         (expm1_upward_test_data): New array.
47622         (expm1_test_upward): New function.
47623         (main): Run the new test functions.
47624         * sysdeps/i386/fpu/libm-test-ulps: Update.
47625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47627         * include/features.h: Update comment documenting feature test
47628         macros.  Mention _DEFAULT_SOURCE in comment.
47629         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47630         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47631         _BSD_SOURCE and _SVID_SOURCE.
47632         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47633         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47634         !_SVID_SOURCE]: Likewise.
47635         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47636         (__USE_POSIX_IMPLICITLY): Define.
47637         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47638         (_POSIX_SOURCE): Undefine and redefine.
47639         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47640         (_POSIX_C_SOURCE): Likewise.
47641         * manual/creature.texi (_DEFAULT_SOURCE): Document.
47642         (Feature Test Macros): Update documentation of default features.
47644 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47646         * benchtests/Makefile: Add bench-strtok.
47647         * benchtests/bench-strtok.c: New file: strtok benchtest.
47649 2013-12-19  Allan McRae  <allan@archlinux.org>
47651         * manual/install.texi: Suppress menu for plain text output.
47652         * INSTALL: Regenerated.
47654 2013-12-18  Brooks Moses  <bmoses@google.com>
47656         [BZ #15846]
47657         * misc/getauxval.c: Include errno.h.
47658         (__getauxval): Set errno to ENOENT if the requested type is not
47659         found.
47660         * misc/sys/auxv.h (getauxval): Document that it may set errno;
47661         don't declare with __attribute_const__.
47662         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47663         * manual/startup.texi: Document that getauxval sets errno.
47665 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47667         * math/auto-libm-test-in: Add tests of jn and yn.
47668         * math/auto-libm-test-out: Regenerated.
47669         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47670         (yn_test_data): Likewise.
47671         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47672         mpfr_if_f.
47673         (func_calc_desc): Add mpfr_if_f union field.
47674         (FUNC_mpfr_if_f): New macro.
47675         (test_functions): Add jn and yn.
47676         (calc_generic_results): Assert type of second input for
47677         mpfr_ff_f.  Handle mpfr_if_f.
47678         (output_for_one_input_case): Disable all checking for arguments
47679         fitting floating-point types in case of an integer argument.
47680         * sysdeps/i386/fpu/libm-test-ulps: Update.
47681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47684         Don't expect fegetround reference in libm.so.
47686 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47688         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47689         $(config-cflags-nofma).
47691 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47693         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47694         * math/auto-libm-test-out: Regenerated.
47696         [BZ #16338]
47697         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47698         to determine exponent and adjust argument to have exponent of -1.
47699         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47700         log2.
47701         * math/auto-libm-test-out: Regenerated.
47702         * sysdeps/i386/fpu/libm-test-ulps: Update.
47703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47705 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
47707         * manual/probes.texi: Remove cases when per-thread arenas are
47708         disabled.
47710 2013-12-18  Andreas Schwab  <schwab@suse.de>
47712         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47713         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47714         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47715         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47716         * sysdeps/i386/i686/multiarch/Makefile: Update.
47717         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47719 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47721         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47722         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47724 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
47726         [BZ #15968]
47727         Support TZ transition times < 00:00:00.
47728         This is needed for version-3 tz-format files; it supports time
47729         stamps past 2037 for America/Godthab (the only entry in the tz
47730         database for which this change is relevant).
47731         * manual/time.texi (TZ Variable): Document transition times
47732         from -167:59:59 through -00:00:01.
47733         * time/tzset.c (tz_rule): Time of day is now signed.
47734         (__tzset_parse_tz): Parse negative time of day.
47736         Document TZ transition times >= 25:00:00.
47737         * manual/time.texi (TZ Variable): Document transition times from
47738         25:00:00 through 167:59:59.  These are already supported, and this
47739         support will help with version-3 tz-format files.
47741         * manual/time.texi (TZ Variable): Modernize North America example
47742         to reflect current (i.e., 2007-and-later) daylight saving rules.
47744         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47746 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47748         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47749         * sysdeps/unix/bsd/bits/stat.h: Likewise.
47750         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47751         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47752         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47753         * sysdeps/unix/bsd/bsdstat.h: Likewise.
47754         * sysdeps/unix/bsd/clock.c: Likewise.
47755         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47756         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47757         * sysdeps/unix/bsd/init-posix.c: Likewise.
47758         * sysdeps/unix/bsd/poll.c: Likewise.
47759         * sysdeps/unix/bsd/ptsname.c: Likewise.
47760         * sysdeps/unix/bsd/seekdir.c: Likewise.
47761         * sysdeps/unix/bsd/setegid.c: Likewise.
47762         * sysdeps/unix/bsd/seteuid.c: Likewise.
47763         * sysdeps/unix/bsd/setgid.c: Likewise.
47764         * sysdeps/unix/bsd/setrgid.c: Likewise.
47765         * sysdeps/unix/bsd/setruid.c: Likewise.
47766         * sysdeps/unix/bsd/setsid.c: Likewise.
47767         * sysdeps/unix/bsd/setuid.c: Likewise.
47768         * sysdeps/unix/bsd/sigaction.c: Likewise.
47769         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47770         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47771         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47772         * sysdeps/unix/bsd/telldir.c: Likewise.
47773         * sysdeps/unix/bsd/times.c: Likewise.
47774         * sysdeps/unix/bsd/usleep.c: Likewise.
47776         * misc/Makefile (install-lib): Remove libbsd-compat.a.
47777         ($(objpfx)libbsd-compat.a): Remove rule.
47779         * include/features.h (__FAVOR_BSD): Do not define.
47780         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47781         features conflicting with POSIX.
47782         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47783         (_BSD_SOURCE): Remove description of not being a subset of other
47784         feature test macros.
47785         * manual/job.texi (getpgrp): Do not document BSD version.
47786         (getpgid): Do not document by reference to BSD getpgrp.
47787         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47788         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47789         * signal/signal.h [__FAVOR_BSD]: Likewise.
47790         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47791         instead of making contents conditional on [__FAVOR_BSD].
47792         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47794 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47796         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47798 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47800         [BZ #16314]
47801         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47802         values below 2**-450, not 2**-500.
47803         * math/auto-libm-test-in: Don't allow spurious underflow from
47804         hypot.
47805         * math/auto-libm-test-out: Regenerated.
47807         [BZ #16316]
47808         [BZ #16330]
47809         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47810         values of ha and hb and sort them after adjusting subnormal
47811         arguments.
47812         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47813         Likewise.
47814         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47815         values of ea and eb and sort them after adjusting subnormal
47816         arguments.
47817         * math/auto-libm-test-in: Do not expect some hypot tests of
47818         subnormals to fail.  Add more hypot tests.
47819         * math/auto-libm-test-out: Regenerated.
47821 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47823         [BZ #13304]
47824         * sysdeps/sh/s_fma.c: New file.
47825         * sysdeps/sh/s_fmaf.c: New file.
47826         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
47827         version.
47828         * sysdeps/sh/Implies: Add sh/soft-fp.
47830 2013-12-16  Roland McGrath  <roland@hack.frob.com>
47832         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
47833         level of indirection to members `objname', `errstring', `malloced'.
47834         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47835         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
47836         it as the __longjmp argument (just pass 1 instead).
47837         (_dl_catch_error): Initialize C with argument pointers and address of
47838         volatile local ERRCODE rather than copying values out of C at return.
47840 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
47842         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47843         * math/auto-libm-test-out: Regenerated.
47844         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47845         (hypot_test_data): Likewise.
47846         (pow_test_data): Likewise.
47847         (pow_tonearest_test_data): Likewise.
47848         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47849         mpfr_ff_f.
47850         (func_calc_desc): Add mpfr_ff_f union field.
47851         (FUNC_mpfr_ff_f): New macro.
47852         (test_functions): Add atan2, hypot and pow.
47853         (special_fill_min): New function.
47854         (special_fill_minus_min): Likewise.
47855         (special_fill_min_subnorm): Likewise.
47856         (special_fill_minus_min_subnorm): Likewise.
47857         (special_real_inputs): Add min, -min, min_subnorm and
47858         -min_subnorm.
47859         (calc_generic_results): Handle mpfr_ff_f.
47860         * sysdeps/i386/fpu/libm-test-ulps: Update.
47861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47863 2013-12-16  Will Newton  <will.newton@linaro.org>
47865         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47866         (Aligned Memory Blocks): Add documentation for aligned_alloc
47867         and suggest it as an alternative to posix_memalign.
47868         (Hooks for Malloc): Document __memalign_hook is also called
47869         for aligned_alloc.  (Summary of Malloc): Add summary for
47870         aligned alloc.  Document __memalign_hook is also called
47871         for aligned_alloc.
47873 2013-12-16  Will Newton  <will.newton@linaro.org>
47875         * manual/memory.texi (Malloc Examples): Clarify default
47876         alignment documentation.  Suggest posix_memalign rather
47877         than memalign or valloc.
47878         (Aligned Memory Blocks): Remove suggestion to use memalign
47879         or valloc.  Remove obsolete comment about BSD.
47880         Document memalign errno values and mark the function obsolete.
47881         Document posix_memalign returned error codes.  Mark valloc
47882         as obsolete.  (Hooks for Malloc): __memalign_hook is also
47883         called for posix_memalign and valloc.
47884         (Summary of Malloc): Add posix_memalign to function summary.
47885         __memalign_hook is also called for posix_memalign and valloc.
47887 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47889         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47890         TAYLOR_SIN.
47891         (__sin): Adjust.
47892         (__cos): Likewise.
47893         (sloww): Use mynumber union.  Expand ternary operator into
47894         if-else statements.
47895         (cslow): use mynumber union.
47897 2013-12-16  Allan McRae  <allan@archlinux.org>
47899         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47900         * configure: Regenerated.
47902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47904         [BZ #14120]
47905         * configure.ac: Added --enable-maintainer-mode. Check for
47906         autoconf when enabled.
47907         * configure: Regenerated.
47909         * nscd/nscd.service: New file.
47910         * nscd/nscd.tmpfiles: New file.
47912 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
47914         [BZ #12100]
47915         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47916         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47917         * sysdeps/x86_64/multiarch/strstr.c: ... here.
47918         (strstr): Add __strstr_sse2_unaligned ifunc.
47919         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47920         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47921         (strcasestr): Remove __strcasestr_sse42 ifunc.
47922         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47924         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47926 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47928         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47929         * sysdeps/sh/bits/fenv.h: ... here.
47930         * sysdeps/sh/sh4/fpu/bits: Remove directory.
47932 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47934         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47936         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47937         hypotf multiarch implementations.
47938         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47939         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47940         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47941         multiarch hypot for PPC64.
47942         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47943         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47944         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47945         multiarch hypotf for PPC64.
47947         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47948         modff multiarch implementations.
47949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47952         multiarch modf for PPC64.
47953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47956         multiarch modff for PPC64.
47958         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47959         and logl multiarch implementations.
47960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47963         multiarch logb for PPC64.
47964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47967         multiarch logb for PPC64.
47968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47971         multiarch logb for PPC64.
47973         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47974         isinff multiarch implementation.
47975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47976         file.
47977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47979         multiarch isinf for PPC64.
47980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47981         file.
47982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47983         multiarch isinff for PPC64.
47985         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47986         finitef multiarch implementation.
47987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
47988         file.
47989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
47990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
47991         multiarch finite for PPC64.
47992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
47993         file.
47994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
47995         multiarch finitef for PPC64.
47997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
47998         lrint multiarch implementation.
47999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48000         file.
48001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48003         multiarch llrint for PPC64.
48004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48005         multiarch lrint for PPC64.
48007         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48008         copysignf multiarch implementation.
48009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48010         file.
48011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48012         file.
48013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48014         multiarch copysign for PPC64.
48015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48016         multiarch copysignf for PPC64.
48018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48019         multiarch implementation.
48020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48021         file.
48022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48023         file.
48024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48025         file.
48026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48027         file.
48028         multiarch llround for PPC64.
48029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48030         multiarch trunc for PPC64.
48031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48032         multiarch truncf for PPC64.
48034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48035         multiarch implementation.
48036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48037         file.
48038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48039         file.
48040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48041         file.
48042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48043         file.
48044         multiarch llround for PPC64.
48045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48046         multiarch round for PPC64.
48047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48048         multiarch roundf for PPC64.
48050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48051         multiarch implementation.
48052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48053         file.
48054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48055         file.
48056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48057         file.
48058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48059         file.
48060         multiarch llround for PPC64.
48061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48062         multiarch floor for PPC64.
48063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48064         multiarch floorf for PPC64.
48066         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48067         multiarch implementation.
48068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48069         file.
48070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48071         file.
48072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48073         file.
48074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48075         file.
48076         multiarch llround for PPC64.
48077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48078         multiarch ceil for PPC64.
48079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48080         multiarch ceilf for PPC64.
48082         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48083         multiarch implementation.
48084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48085         file.
48086         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48087         file.
48088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48089         file.
48090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48091         multiarch llround for PPC64.
48092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48093         multiarch lround for PPC64.
48095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48096         multiarch implementation.
48097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48100         file.
48101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48104         multiarch isnan for PPC64.
48105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48106         multiarch isnanf for PPC64.
48108         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48109         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48110         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48111         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48112         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48115         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48116         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48117         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48118         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48120         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48121         multiarch implementations.
48122         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48123         (__libc_ifunc_impl_list): Likewise.
48124         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48125         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48126         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48127         multiarch stpcpy for PPC64.
48129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48130         multiarch implementations.
48131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48132         (__libc_ifunc_impl_list): Likewise.
48133         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48134         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48135         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48136         multiarch strcpy for PPC64.
48138         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48139         redefine function name.
48140         (_wordcopy_fwd_dest_aligned): Likewise.
48141         (_wordcopy_bwd_aligned): Likewise.
48142         (_wordcopy_bwd_dest_aligned): Likewise.
48143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48144         multiarch implementations.
48145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48146         (__libc_ifunc_impl_list): Likewise.
48147         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48148         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48149         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48150         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48151         multiarch wcscpy for PPC64.
48153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48154         multiarch implementations.
48155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48156         (__libc_ifunc_impl_list): Likewise.
48157         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48158         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48159         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48160         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48161         multiarch wcscpy for PPC64.
48163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48164         multiarch implementations.
48165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48166         (__libc_ifunc_impl_list): Likewise.
48167         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48168         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48169         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48170         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48171         multiarch wcsrchr for PPC64.
48173         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48174         multiarch implementations.
48175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48176         (__libc_ifunc_impl_list): Likewise.
48177         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48178         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48179         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48180         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48181         multiarch wcschr for PPC64.
48183         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48184         multiarch implementations.
48185         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48186         (__libc_ifunc_impl_list): Likewise.
48187         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48188         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48189         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48190         multiarch strchrnul for PPC64.
48192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48193         implementations.
48194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48195         (__libc_ifunc_impl_list): Likewise.
48196         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48197         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48198         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48199         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48200         strchr for PPC64.
48202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48203         implementations.
48204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48205         (__libc_ifunc_impl_list): Likewise.
48206         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48207         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48208         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48209         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48210         strncmp for PPC64.
48212         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48213         multiarch implementations.
48214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48215         (__libc_ifunc_impl_list): Likewise.
48216         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48217         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48218         strncasecmp for PPC64.
48219         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48220         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48221         multiarch strncasecmp_l for PPC64.
48223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48224         multiarch implementations.
48225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48226         (__libc_ifunc_impl_list): Likewise.
48227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48228         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48229         multiarch strcasecmp for PPC64.
48230         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48231         file.
48232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48233         multiarch strcasecmp_l for PPC64.
48235         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48236         implementations.
48237         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48238         (__libc_ifunc_impl_list): Likewise.
48239         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48240         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48241         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48242         strnlen for PPC64.
48244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48245         implementations.
48246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48247         (__libc_ifunc_impl_list): Likewise.
48248         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48249         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48250         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48251         strlen for PPC64.
48253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48254         implementations.
48255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48256         (__libc_ifunc_impl_list): Likewise.
48257         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48258         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48259         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48260         rawmemrchr for PPC64.
48262         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48263         implementation.
48264         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48265         (__libc_ifunc_impl_list): Likewise.
48266         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48267         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48268         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48269         memrchr for PPC64.
48271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48272         implementation.
48273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48274         (__libc_ifunc_impl_list): Likewise.
48275         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48276         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48277         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48278         memchr for PPC64.
48280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48281         implementation.
48282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48283         (__libc_ifunc_impl_list): Likewise.
48284         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48285         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48286         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48287         mempcpy for PPC64.
48289         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48290         avoid cretion of __bzero symbol.
48291         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48292         Likewise.
48293         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48294         Likewise.
48295         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48296         Likewise.
48297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48298         multiarch implementations.
48299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48300         (__libc_ifunc_impl_list): Likewise.
48301         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48302         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48303         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48304         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48305         bzero for PPC32.
48306         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48307         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48308         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48309         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48310         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48311         memset for PPC64.
48312         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48314         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48316         implementations.
48317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48318         (__libc_ifunc_impl_list): Likewise.
48319         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48320         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48321         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48322         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48323         memcmp for PPC64.
48325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48326         multiarch for POWER/PPC64.
48327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48328         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48329         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48330         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48331         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48332         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48333         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48334         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48335         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48336         memcpy for PPC64.
48338         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48339         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48340         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48341         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48342         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48343         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48344         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48345         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48346         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48347         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48348         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48349         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48350         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48351         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48352         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48361 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48363         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48365 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48367         * benchtests/Makefile (bench): Add exp2 and log2.
48368         (LDLIBS-bench-exp2): Add -lm.
48369         (LDLIBS-bench-log2): Likewise.
48370         * benchtests/exp2-inputs: New inputs file.
48371         * benchtests/log2-inputs: New inputs file.
48372         * benchtests/log-inputs: Add new inputs.
48373         * benchtests/tan-inputs: Likewise.
48375 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48377         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48378         definition...
48379         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48380         (csloww2): ... from here.
48382         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48383         instead of structures.
48384         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48385         (POLYNOMIAL): Likewise.
48386         (TAYLOR_SLOW): Likewise.
48387         (__sin): Likewise.
48388         (__cos): Likewise.
48389         (slow1): Likewise.
48390         (slow2): Likewise.
48391         (sloww): Likewise.
48392         (sloww1); Likewise.
48393         (sloww2): Likewise.
48394         (bsloww1): Likewise.
48395         (bsloww2): Likewise.
48396         (cslow2): Likewise.
48397         (csloww): Likewise.
48398         (csloww1): Likewise.
48399         (csloww2): Likewise.
48401 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
48403         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48404         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48405         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48406         * malloc/hooks.c (realloc_check): Likewise.
48408         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48409         * malloc/arena.c: Remove PER_THREAD conditional.
48410         [!PER_THREAD]: Remove code.
48411         (ptmalloc_unlock_all2): Likewise.
48412         (ptmalloc_init): Likewise.
48413         (_int_new_arena): Likewise.
48414         (arena_get2): Likewise.
48415         * malloc/hooks.c (__malloc_get_state): Likewise.
48416         (__malloc_set_state): Likewise.
48417         * malloc/malloc.c: Likewise.
48418         (struct malloc_state): Likewise.
48419         (struct malloc_par): Likewise.
48420         (__libc_realloc): Likewise.
48421         (__libc_mallopt): Likewise.
48423 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48425         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48427 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
48429         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48430         macro to a function.  Check for zero perturb_byte.
48431         (_int_malloc, _int_free): Remove zero perturb_byte checks.
48433         * malloc/malloc.c: (force_reg): Remove.
48434         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48435         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48436         force_reg by atomic_forced_read.
48437         * malloc/arena.c (ptmalloc_init): Likewise.
48438         * malloc/hooks.c (top_check): Likewise.
48440 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48444 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
48446         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48448 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
48450         * math/auto-libm-test-in: Add tests of lgamma.
48451         * math/auto-libm-test-out: Regenerated.
48452         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48453         (M_LOG_2_SQRT_PIl): Likewise.
48454         (lgamma_test_data): Use AUTO_TESTS_f_f1.
48455         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48456         mpfr_f_f1.
48457         (func_calc_desc): Add mpfr_f_f1 union field.
48458         (ARGS1): New macro.
48459         (ARGS2): Likewise.
48460         (ARGS3): Likewise.
48461         (ARGS4): Likewise.
48462         (RET1): Likewise.
48463         (RET2): Likewise.
48464         (CALC): Likewise.
48465         (FUNC): Likewise.
48466         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48467         (test_functions): Add lgamma.
48468         (calc_generic_results): Handle mpfr_f_f1.
48469         * sysdeps/i386/fpu/libm-test-ulps: Update.
48470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48472 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48474         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48475         __mpn_add_n for PowerPC64/POWER7.
48476         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48477         __mpn_sub_n for PowerPC64/POWER7.
48479         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48480         __mpn_addmul_1 for PowerPC64.
48481         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48482         __mpn_submul_1 for PowerPC64.
48483         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48484         for PowerPC64.
48485         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48486         for PowerPC64.
48488 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
48490         [BZ #15089]
48491         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48493 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48495         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48497         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48498         add multiarch folders.
48499         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48500         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48501         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48502         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48503         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48504         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48505         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48506         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48507         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48508         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48509         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48518         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48520         New file.
48521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48522         New file.
48523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48524         multiarch __ieee754_hypot for PowerPC32.
48525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48526         New file.
48527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48528         New file.
48529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48530         multiarch __ieee754_hypotf for PowerPC32.
48532         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48533         long_double_symbol only if __logbl is defined.
48534         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48535         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48536         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48537         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48539         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48540         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48541         path for implementation.
48542         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48543         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48545         logb, and logbl multiarch implementations for PowerPC32.
48546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48547         file.
48548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48549         file.
48550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48551         multiarch logb for PowerPC32.
48552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48553         file.
48554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48555         file.
48556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48557         multiarch logbf for PowerPC32.
48558         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48560         file.
48561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48562         multiarch logbl implementation for PowerPC32.
48564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48565         and modff multiarch implementations.
48566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48567         New file.
48568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48569         New file.
48570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48571         multiarch modf for PowerPC32.
48572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48573         New file.
48574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48575         New file.
48576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48577         multiarch modff for PowerPC32.
48579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48580         and lrintf multiarch implementations.
48581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48582         New file.
48583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48584         New file.
48585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48586         multiarch lrint for PowerPC32.
48587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48588         file: multiarch lrintf for PowerPC32.
48590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48591         and lroundf multiarch implementations.
48592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48593         New file.
48594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48595         New file.
48596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48597         New file.
48598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48599         multiarch lround for PowerPC32.
48600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48601         file: multiarch lroundf for PowerPC32.
48603         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48604         copysign and copysignf multiarch implementations.
48605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48606         New file.
48607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48608         New file.
48609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48610         file: multiarch copysign for PowerPC32.
48611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48612         file: multiarch copysignf for PowerPC32.
48614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48615         and truncf multiarch implementations.
48616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48617         New file.
48618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48619         file.
48620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48621         multiarch trunc for PowerPC32.
48622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48623         New file.
48624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48625         New file.
48626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48627         multiarch truncf for PowerPC32.
48629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48630         and roundf multiarch implementations.
48631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48632         New file.
48633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48634         file.
48635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48636         multiarch round for PowerPC32.
48637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48638         New file.
48639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48640         New file.
48641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48642         multiarch roundf for PowerPC32.
48644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48645         and floorf multiarch implementations.
48646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48647         New file.
48648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48649         file.
48650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48651         multiarch floor for PowerPC32.
48652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48653         New file.
48654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48655         New file.
48656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48657         multiarch floorf for PowerPC32.
48659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48660         and ceilf multiarch implementations.
48661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48662         New file.
48663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48664         file.
48665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48666         multiarch ceil for PowerPC32.
48667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48668         New file.
48669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48670         file.
48671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48672         multiarch ceilf for PowerPC32.
48674         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48675         is defined.
48676         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48677         FINITEF is defined.
48678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48679         and finitef multiarch implementations.
48680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48681         New file.
48682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48683         file.
48684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48685         multiarch finite for PowerPC32.
48686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48687         New file.
48688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48689         file: multiarch finitef for PowerPC32.
48691         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48692         and isinff multiarch implementations.
48693         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48694         file.
48695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48696         file.
48697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48698         multiarch isinf for PowerPC32.
48699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48700         New file.
48701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48702         multiarch isinff for PowerPC32.
48704         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48705         alias when __isnan is defined.
48706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48707         and isnanf multiarch implementations.
48708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48709         file.
48710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48711         file.
48712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48713         file.
48714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48715         file.
48716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48717         multiarch isnan for PowerPC32.
48718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48719         New file.
48720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48721         New file.
48722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48723         multiarch isnanf for PowerPC32.
48725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48726         and sqrtf multiarch implementations.
48727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48728         file.
48729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48730         file.
48731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48732         multiarch sqrt for PowerPC32.
48733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48734         file.
48735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48736         file.
48737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48738         multiarch sqrtf for PowerPC32.
48740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48741         and llroundf multiarch implementations.
48742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48743         New file.
48744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48745         New file.
48746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48747         New file.
48748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48749         file: multiarch llround for PowerPC32.
48750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48751         file: multiarch llroundf for PowerPC32.
48753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48754         multiarch PowerPC32 fpu implementations.
48755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48756         New file.
48757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48758         New file.
48759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48760         multiarch llrint for PowerPC32.
48761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48762         New file.
48763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48764         New file.
48765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48766         file.
48768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48770         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48771         file.
48772         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48773         file.
48774         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48775         file.
48776         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48777         multiarch wordcopy for PPC32.
48778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48779         wordcopy objects.
48780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48781         (__libc_ifunc_impl_list): Likewise.
48782         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48783         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48784         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48785         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48786         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48787         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48789         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48791         file.
48792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48793         file.
48794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48795         file.
48796         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48797         multiarch wcscpy for PPC32.
48798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48799         multiarch objects.
48800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48801         (__libc_ifunc_impl_list): Likewise.
48802         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48803         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48804         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48805         sysdeps/powerpc/power6/wcscpy.c.
48807         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48808         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48809         file.
48810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48811         file.
48812         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48813         file.
48814         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48815         multiarch wcsrchr for PPC32.
48816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48817         multiarch objects.
48818         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48819         (__libc_ifunc_impl_list): Likewise.
48820         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48821         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48822         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48823         sysdeps/powerpc/power6/wcsrchr.c.
48825         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48826         file.
48827         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48828         file.
48829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48830         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48831         multiarch wcschr for PPc32.
48832         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48833         multiarch objects.
48834         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48835         (__libc_ifunc_impl_list): Likewise.
48836         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48837         * sysdeps/powerpc/power6/wcschr.c: ... to here.
48838         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48839         sysdeps/powerpc/power6/wcschr.c.
48841         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48842         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48843         file.
48844         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48845         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48846         file: multiarch strchr for PPC32.
48847         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48848         multiarch objects.
48849         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48850         (__libc_ifunc_impl_list): Likewise.
48852         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48853         name.
48854         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48855         file.
48856         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48857         file.
48858         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48859         multiarch strchrnul for PPC32.
48860         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48861         multiarch objects.
48862         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48863         (__libc_ifunc_impl_list): Likewise.
48865         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48866         file.
48867         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48868         multiarch strncasecmp for PPC32.
48869         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48870         file.
48871         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48872         multiarch strncasecmp_l for PPC32.
48873         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48874         strncasecmp multiarch objects.
48875         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48876         (__libc_ifunc_impl_list): Likewise.
48878         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48879         file.
48880         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48881         multiarch strncasecmp for PPC32.
48882         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48883         New file.
48884         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48885         multiarch strcasecmp_l for PPC32.
48886         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48887         multiarch objects.
48888         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48889         (__libc_ifunc_impl_list): Likewise.
48891         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48892         file.
48893         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48894         file.
48895         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48896         multiarch strncmp for PPC32.
48897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48898         multiarch objects.
48899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48900         (__libc_ifunc_impl_list): Likewise.
48902         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48903         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48904         file.
48905         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48906         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48908         multiarch objects.
48909         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48910         (__libc_ifunc_impl_list): Likewise.
48912         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48913         file.
48914         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48915         file.
48916         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48917         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48918         multiarch objects.
48919         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48920         (__libc_ifunc_impl_list): Likewise.
48922         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48923         file.
48924         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48925         file.
48926         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48927         multiarch rawmemchr for PPC32.
48928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48929         multiarch objects.
48930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48931         (__libc_ifunc_impl_list): Likewise.
48933         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48934         file.
48935         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48936         file.
48937         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48938         file: memrchr multiarch for PPC32.
48939         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48940         multiarch objects.
48941         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48942         (__libc_ifunc_impl_list): Likewise.
48944         * string/memchr.c (__memchr): Using macro to redefine symbol name.
48945         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48946         file.
48947         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48948         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48949         multiarch memchr for PPC32.
48950         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48951         multiarch objects.
48952         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48953         (__libc_ifunc_impl_list): Likewise.
48955         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48956         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48957         file.
48958         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48959         file.
48960         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48961         file: multiarch mempcpy for PPC32.
48962         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48963         multiarch objects.
48964         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48965         (__libc_ifunc_impl_list): Likewise.
48967         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48968         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48969         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48970         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48971         multiarch bzero for PPC32.
48972         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48973         file.
48974         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48975         file.
48976         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48977         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48978         file: multiarch memset for PPC32.
48979         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48980         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48981         memset multiarch objects.
48982         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48983         (__libc_ifunc_impl_list): Likewise.
48985         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48986         file.
48987         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
48988         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
48989         memcmp for PPC32.
48990         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
48991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
48992         multiarch objects.
48993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48994         (__libc_ifunc_impl_list): Likewise.
48996         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
48997         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
48998         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
48999         file.
49000         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49001         file.
49002         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49003         file.
49004         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49005         multiarch memcpy for PPC32.
49006         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49007         multiarch objects.
49008         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49009         (__libc_ifunc_impl_list): Likewise.
49011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49012         support multiarch for POWER/PPC32.
49013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49014         Likewise.
49015         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49017         Implies file to make multiarch folder appers before the fpu and
49018         default folder for power4 configuration.
49020 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49022         * scripts/bench.pl: Append volatile keyword to type.
49024 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49026         * sysdeps/sh/sotruss-lib.c: New file.
49027         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49029 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49033 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49035         [BZ #6810]
49036         * math/w_tgamma.c: Include <errno.h>.
49037         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49038         * math/w_tgammaf.c: Include <errno.h>.
49039         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49040         * math/w_tgammal.c: Include <errno.h>.
49041         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49042         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49043         underflow.  Add more tgamma tests.
49044         * math/auto-libm-test-out: Regenerated.
49045         * sysdeps/i386/fpu/libm-test-ulps: Update.
49046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49048         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49049         sin, sinh, tan, tanh, tgamma, y0 and y1.
49050         * math/auto-libm-test-out: Regenerated.
49051         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49052         (TEST_COND_x86): Likewise.
49053         (M_E2l): Remove macro.
49054         (M_E3l): Likewise.
49055         (M_2_SQRT_PIl): Likewise.
49056         (M_SQRT_PIl): Likewise.
49057         (M_1_DIV_El): Likewise.
49058         (log_test_data): Use AUTO_TESTS_f_f.
49059         (log10_test_data): Likewise.
49060         (log1p_test_data): Likewise.
49061         (log2_test_data): Likewise.
49062         (sin_test_data): Likewise.
49063         (sin_tonearest_test_data): Likewise.
49064         (sin_towardzero_test_data): Likewise.
49065         (sin_downward_test_data): Likewise.
49066         (sin_upward_test_data): Likewise.
49067         (sinh_test_data): Likewise.
49068         (sinh_tonearest_test_data): Likewise.
49069         (sinh_towardzero_test_data): Likewise.
49070         (sinh_downward_test_data): Likewise.
49071         (sinh_upward_test_data): Likewise.
49072         (tan_test_data): Likewise.
49073         (tan_tonearest_test_data): Likewise.
49074         (tan_towardzero_test_data): Likewise.
49075         (tan_downward_test_data): Likewise.
49076         (tan_upward_test_data): Likewise.
49077         (tanh_test_data): Likewise.
49078         (tgamma_test_data): Likewise.
49079         (y0_test_data): Likewise.
49080         (y1_test_data): Likewise.
49081         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49082         (special_real_inputs): Add pi/4.
49083         * sysdeps/i386/fpu/libm-test-ulps: Update.
49084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49086 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49088         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49089         "longjmp_target" static probes.
49090         (__longjmp): Rename to __longjmp_symbol.
49091         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49092         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49093         on which longjmp to generate.
49094         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49095         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49096         probe.
49097         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49098         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49099         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49100         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49101         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49102         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49104         __longjmp_symbol based on which __longjmp to generate.
49105         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49106         probe.
49107         (setjmp): Rename to setjmp_symbol.
49108         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49109         (_setjmp): Rename to _setjmp_symbol.
49110         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49111         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49112         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49113         which setjmp to generate.
49114         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49115         "longjmp_target" static probes.
49117 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49119         * benchtests/README: Add note about output arguments.
49120         * benchtests/bench-sincos.c: Remove file.
49121         * benchtests/sincos-inputs: New file.
49122         * scripts/bench.pl: Identify output arguments and define
49123         static variables for them.
49125         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49127         [BZ #15941]
49128         * Makefile (INSTALL): Add install-plain.texi as the primary
49129         dependency.
49130         * manual/install-plain.texi: New file.
49131         * manual/install.texi: Include node directive only for
49132         non-plaintext output.
49134 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49136         * stdlib/longlong.h: Update from GCC.
49138         [BZ #6807]
49139         [BZ #15901]
49140         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49141         * math/w_j0f.c (y0f): Likewise.
49142         * math/w_j0l.c (__y0l): Likewise.
49143         * math/w_j1.c (y1): Likewise.
49144         * math/w_j1f.c (y1f): Likewise.
49145         * math/w_j1l.c (__y1l): Likewise.
49146         * math/w_jn.c (yn): Likewise.
49147         * math/w_jnf.c (ynf): Likewise.
49148         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49149         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49150         value for Bessel function domain errors outside _SVID_ mode.
49151         Adjust sign of return value for yn (negative integer, 0).
49152         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49153         by zero in return for negative x and set sign appropriately for
49154         negative n.
49155         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49156         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49157         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49158         expectations in error cases.
49159         (y1_test_data): Likewise.
49160         (yn_test_data): Likewise.
49161         * sysdeps/i386/fpu/libm-test-ulps: Update.
49162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49164 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49166         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49167         "64" to "64-v1".  Add "64-v2".
49168         (abi-64-options): Rename to ...
49169         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49170         (abi-64-condition): Rename to ...
49171         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49172         (abi-64-ld-soname): Rename to ...
49173         (abi-64-v1-ld-soname): ... this.
49174         (abi-64-v2-options): Define.
49175         (abi-64-v2-condition): Likewise.
49176         (abi-64-v2-ld-soname): Likewise.
49177         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49178         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49183 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49184             Alan Modra  <amodra@gmail.com>
49186         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49187         New versions for use with the ELFv2 ABI.
49188         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49189         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49190         declaration.
49191         (struct La_ppc64v2_retval): Likewise.
49192         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49193         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49194         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49195         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49196         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49197         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49198         Do not save or restore CR.
49199         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49200         (_dl_profile_resolve): Do no save or restore CR.  Support extended
49201         return values for ELFv2 ABI.  Fix location of FPR return registers.
49202         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49203         updated values for _CALL_ELF == 2.
49204         (La_regs, La_retval, int_retval): Likewise.
49206 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49208         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49209         (FRAME_MIN_SIZE_PARM): Likewise.
49210         (FRAME_BACKCHAIN): Likewise.
49211         (FRAME_CR_SAVE): Likewise.
49212         (FRAME_LR_SAVE): Likewise.
49213         (FRAME_TOC_SAVE): Likewise.
49214         (FRAME_PARM_SAVE): Likewise.
49215         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49216         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49217         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49218         (call_mcount_parm_offset): New macro.
49219         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49220         (PROF): Use symbolic stack frame offsets.
49221         (TAIL_CALL_SYSCALL_ERROR): Likewise.
49222         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49223         Redefine in terms of FRAME_MIN_SIZE.
49224         (_dl_runtime_resolve): Use symbolic stack frame offsets.
49225         (_dl_profile_resolve): Likewise.  Update comment.
49226         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49227         symbols stack frame offsets.
49228         (__sigsetjmp): Likewise.
49229         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49230         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49231         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49232         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49235         (FRAME_BACKCHAIN): Remove.
49236         (FRAME_CR_SAVE): Likewise.
49237         (FRAME_LR_SAVE): Likewise.
49238         (FRAME_COMPILER_DW): Likewise.
49239         (FRAME_LINKER_DW): Likewise.
49240         (FRAME_TOC_SAVE): Likewise.
49241         (FRAME_PARM_SAVE): Likewise.
49242         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49243         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49244         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49246         (CHECK_SP): Use symbolic stack frame offsets.
49247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49248         zone" instead of caller's parameter save area for temp storage.
49249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49250         Likewise.  Also, use symbolic stack frame offsets.
49251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49252         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49253         our own stack frame instead of the caller's.
49254         (__socket): Use symbolic stack frame offsets.
49256 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49257             Alan Modra  <amodra@gmail.com>
49259         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49260         Define.
49261         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49262         (PPC64_LOCAL_ENTRY_OFFSET): Define.
49263         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49264         New function.
49265         (elf_machine_fixup_plt): Call it.
49266         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
49267         reloc arguments.
49268         (elf_machine_rela): Update call to elf_machine_plt_conflict.
49269         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49270         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49271         r2 before calling target.
49273 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49274             Alan Modra  <amodra@gmail.com>
49276         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49277         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49278         versions of macros to support ELFv2 ABI.
49279         (LOCALENTRY): New macro.
49280         (ENTRY, EALIGN): Use it.
49281         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49282         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49283         fall through into ENTRY entry point.
49284         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49285         Only define if _CALL_ELF != 2.
49287         (elf_machine_matches_host): Verify ABI version matches.
49288         (RTLD_START): Use LOCALENTRY.
49289         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49290         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49291         (PLT_ENTRY_WORDS): New macro.
49292         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49293         (elf_machine_runtime_setup): Support ELFv2 ABI.
49294         (elf_machine_fixup_plt): Likewise.
49295         (elf_machine_plt_conflict): Likewise.
49296         (resolve_ifunc): Likewise.
49297         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49298         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49299         Likewise.
49300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49301         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49303         (makecontext): Support ELFv2 ABI.
49304         * elf/elf.h (EF_PPC64_ABI): Define.
49306 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49308         * sysdeps/powerpc/powerpc64/sysdep.h
49309         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49310         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49311         (ENTRY) [ASSEMBLER]: ... but instead here ...
49312         (EALIGN) [ASSEMBLER]: ... and here.
49313         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49314         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49315         (ENTRY_2) [!ASSEMBLER]: Use it.
49316         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49317         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
49318         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49319         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49320         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49322         Use PPC64_LOAD_FUNCPTR.
49324         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49326 2013-12-04  Alan Modra  <amodra@gmail.com>
49328         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49329         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49330         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49331         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49333         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49334         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49335         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49336         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49337         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49338         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49340 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49343         (__makecontext): Fix incorrect CFI when backtracing out of
49344         context created via makecontext.
49345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49346         (__setcontext): Fix incorrect CFI during switch to new context.
49347         (__novec_setcontext): Likewise.
49349 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49351         [BZ #4772]
49352         * time/strptime_l.c (__strptime_internal): Allow modifiers
49353         in strptime.
49354         * time/tst-strptime.c (day_tests): Add testcase.
49356 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49358         * scripts/bench.pl: Skip over blank lines.
49360 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
49362         [BZ #926]
49363         * manual/time.texi (Calendar Time): Clarify what timezone functions
49364         use.
49366 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49368         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49370 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49372         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49373         implementation.
49374         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49375         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49376         * debug/memset_chk.c (__memset_chk): Likewise.
49377         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49378         * debug/strncpy_chk.c: Likewise.
49380 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49382         [BZ #15268]
49383         [BZ #15425]
49384         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49385         (__ieee754_exp): For possibly underflowing results, check size of
49386         result and force underflow exception if required.
49387         * math/auto-libm-test-in: Add more tests of exp.
49388         * math/auto-libm-test-out: Regenerated.
49389         * sysdeps/i386/fpu/libm-test-ulps: Update.
49390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49392         [BZ #16283]
49393         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49394         * math/w_exp2f.c (__exp2f): Likewise.
49395         * math/w_exp2l.c (__exp2l): Likewise.
49396         * math/auto-libm-test-in: Do not allow missing errno on exp2
49397         underflow.
49398         * math/auto-libm-test-out: Regenerated.
49400 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
49402         [BZ #16274]
49403         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49404         handle filename validation.
49405         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49406         (do_open): Delete.
49408 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49410         [BZ #6786]
49411         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49412         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49413         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49414         <float.h>.
49415         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49416         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49417         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49418         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49419         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49420         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49421         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49422         * math/auto-libm-test-in: Don't allow missing errno from erfc.
49423         Add more erfc tests.
49424         * math/auto-libm-test-out: Regenerated.
49425         * sysdeps/i386/fpu/libm-test-ulps: Update.
49426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49428         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49429         exp2, expm1, j0 and j1.
49430         * math/auto-libm-test-out: Regenerated.
49431         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49432         (erfc_test_data): Likewise.
49433         (exp_test_data): Likewise.
49434         (exp_tonearest_test_data): Likewise.
49435         (exp_towardzero_test_data): Likewise.
49436         (exp_downward_test_data): Likewise.
49437         (exp_upward_test_data): Likewise.
49438         (exp10_test_data): Likewise.
49439         (exp2_test_data): Likewise.
49440         (expm1_test_data): Likewise.
49441         (j0_test_data): Likewise.
49442         (j1_test_data): Likewise.
49443         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49444         (input_flag_type): Add flag_xfail_rounding.
49445         (input_flags): Add xfail-rounding.
49446         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49447         (output_for_one_input_case): Handle flag_xfail_rounding.
49448         * sysdeps/i386/fpu/libm-test-ulps: Update.
49449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49451 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
49453         [BZ #16289]
49454         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49455         division by 0.
49457 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49459         [BZ #16195]
49460         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49461         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49462         (STAP_PROBE0): New macro.
49463         (STAP_PROBE1): Likewise.
49464         (STAP_PROBE2): Likewise.
49465         (STAP_PROBE3): Likewise.
49466         (STAP_PROBE4): Likewise.
49468 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
49470         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49472 2013-12-02  Steve Ellcey  <sellcey@mips.com>
49474         * benchtests/Makefile (bench): Add sqrt.
49475         (LDLIBS-bench-sqrt): New.
49476         * benchtests/sqrt-input: New.
49478 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
49480         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49481         (GAIH_EAI): Likewise.
49482         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49483         (gaih_inet): Likewise.
49484         (getaddrinfo): Don't use GAIH_EAI.
49486         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49487         (struct gaih): Remove definition.
49489 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49491         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49492         Use HERRNOP directly.
49494 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49498 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
49500         * math/gen-auto-libm-tests.c (test_functions): Add more
49501         single-argument functions.
49502         (special_fill_pi_2): New function.
49503         (special_fill_minus_pi_2): Likewise.
49504         (special_fill_pi_6): Likewise.
49505         (special_fill_minus_pi_6): Likewise.
49506         (special_fill_pi_3): Likewise.
49507         (special_fill_2pi_3): Likewise.
49508         (special_fill_e): Likewise.
49509         (special_fill_1_e): Likewise.
49510         (special_fill_e_minus_1): Likewise.
49511         (special_real_inputs): Add more special inputs.
49512         (output_for_one_input_case): Do not require ERANGE on underflow to
49513         zero if round-to-nearest result does not underflow to zero, unless
49514         exact results required.
49515         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49516         atan, atanh, cbrt, cos and cosh.
49517         * math/auto-libm-test-out: Regenerated.
49518         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49519         (acos_tonearest_test_data): Likewise.
49520         (acos_towardzero_test_data): Likewise.
49521         (acos_downward_test_data): Likewise.
49522         (acos_upward_test_data): Likewise.
49523         (acosh_test_data): Likewise.
49524         (asin_test_data): Likewise.
49525         (asin_tonearest_test_data): Likewise.
49526         (asin_towardzero_test_data): Likewise.
49527         (asin_upward_test_data): Likewise.
49528         (asinh_test_data): Likewise.
49529         (atan_test_data): Likewise.
49530         (atanh_test_data): Likewise.
49531         (cbrt_test_data): Likewise.
49532         (cos_test_data): Likewise.
49533         (cos_tonearest_test_data): Likewise.
49534         (cos_towardzero_test_data): Likewise.
49535         (cos_downward_test_data): Likewise.
49536         (cos_upward_test_data): Likewise.
49537         (cosh_test_data): Likewise.
49538         (cosh_tonearest_test_data): Likewise.
49539         (cosh_towardzero_test_data): Likewise.
49540         (cosh_downward_test_data): Likewise.
49541         (cosh_upward_test_data): Likewise.
49542         * sysdeps/i386/fpu/libm-test-ulps: Update.
49543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49545 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
49547         [BZ #6787]
49548         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49549         * math/w_exp10f.c (__exp10f): Likewise.
49550         * math/w_exp10l.c (__exp10l): Likewise.
49551         * math/libm-test.inc (exp10_test_data): Add more tests and expect
49552         errno settings in existing tests.
49554         [BZ #14032]
49555         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49556         precision control set to double precision.
49557         * sysdeps/i386/fpu/w_sqrt.c: New file.
49558         * math/auto-libm-test-in: Add more tests.
49559         * math/auto-libm-test-out: Update.
49561         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49562         (sqrt_test_tonearest): New function.
49563         (sqrt_towardzero_test_data): New variable.
49564         (sqrt_test_towardzero): New function.
49565         (sqrt_downward_test_data): New variable.
49566         (sqrt_test_downward): New function.
49567         (sqrt_upward_test_data): New variable.
49568         (sqrt_test_upward): New function.
49569         (main): Call the new functions.
49571         * math/gen-auto-libm-tests.c: New file.
49572         * math/auto-libm-test-in: Likewise.
49573         * math/auto-libm-test-out: New generated file.
49574         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49575         variables.
49576         (%beautify): Add generated representations of zero.
49577         (top level): Set $auto_input and call parse_auto_input.
49578         (beautify): Remove trailing "f" from hex float constants.
49579         (parse_args): Handle XFAIL_TEST.
49580         (convert_condition): New function.
49581         (or_value): Likewise.
49582         (or_cond_value): Likewise.
49583         (generate_testfile): Handle AUTO_TESTS_* lines.
49584         (parse_auto_input): New function.
49585         * math/libm-test.inc (XFAIL_TEST): New macro.
49586         (ERRNO_UNCHANGED): Update value.
49587         (ERRNO_EDOM): Likewise.
49588         (ERRNO_ERANGE): Likewise.
49589         (IGNORE_RESULT): Likewise.
49590         (TEST_COND_flt_32): New macro.
49591         (TEST_COND_dbl_64): Likewise.
49592         (TEST_COND_ldbl_96_intel): Likewise.
49593         (TEST_COND_ldbl_96_m68k): Likewise.
49594         (TEST_COND_ldbl_128): Likewise.
49595         (TEST_COND_ldbl_128ibm): Likewise.
49596         (TEST_COND_long32): Likewise.
49597         (TEST_COND_long64): Likewise.
49598         (TEST_COND_before_rounding): Likewise.
49599         (TEST_COND_after_rounding): Likewise.
49600         (enable_test): Handle XFAIL_TEST flag.
49601         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49602         with finite results.
49603         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49604         auto-libm-test-out.
49606 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49607             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49609         [BZ #16214]
49610         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49611         __tls_get_addr_internal instead of __tls_get_offset in order to
49612         avoid GOT pointer dependency.  Make rtld export
49613         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49614         __tls_get_addr since we are a __tls_get_offset platform.
49615         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49616         GOT pointer being set up before.
49617         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49619 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
49621         * manual/math.texi (Errors in Math Functions): Document accuracy
49622         goals.
49624         [BZ #15004]
49625         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49626         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49627         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49628         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49629         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49630         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49631         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49632         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49633         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49634         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49635         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49636         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49637         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49638         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49639         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49640         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49642         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49643         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49644         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49645         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49646         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49647         Likewise.
49648         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49649         Likewise.
49650         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49651         Likewise.
49652         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49653         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49654         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49655         atomic-feupdateenv and flt-rounds.
49656         * sysdeps/powerpc/nofpu/Versions (libc): Add
49657         __atomic_feholdexcept, __atomic_feclearexcept,
49658         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49659         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49660         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49661         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49662         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49663         here.
49664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49665         Update.
49667         * manual/arith.texi (FP Exceptions): Document that exceptions may
49668         not be raised when matherr is used.
49669         (Math Error Reporting): Document overflow in directed rounding
49670         modes.  Document that errno may not be set when finite values are
49671         returned on overflow.  Document intent to set errno on underflow
49672         only for underflow to zero.
49674         [BZ #16271]
49675         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49676         round-to-nearest then adjust result for other rounding modes.
49677         * include/fenv.h (fegetround): Use libm_hidden_proto.
49678         * math/fegetround.c (fegetround): Use libm_hidden_def.
49679         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49680         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49681         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49682         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49683         Likewise.
49684         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49685         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49686         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49687         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49689 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49691         [BZ #16077]
49692         * nss/Versions (libnss_files): Add
49693         _nss_files_gethostbyname3_r.
49694         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49695         New function.
49696         (HOST_DB_LOOKUP): Remove macro.
49697         (_nss_files_gethostbyname_r): Implement function without the
49698         HOST_DB_LOOKUP macro.
49699         (_nss_files_gethostbyname2_r): Likewise.
49701 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
49703         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49705 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
49707         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49708         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49709         warning.
49711 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49713         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49714         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49715         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49716         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49717         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49718         __fe_nomask_env_priv and attribute_hidden.
49719         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49720         (libc_feupdateenv_test_ppc): Likewise.
49721         (libc_feresetround_ppc): Likewise.
49722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49723         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49724         compat_symbol macro.
49725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49726         (__fe_nomask_env): Likewise.
49727         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49729 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49731         * string/Makefile: Remove ifunc tests.
49732         * string/test-string.h: Define TEST_IFUNC.
49733         * string/test-bcopy-ifunc.c: Remove.
49734         * string/test-bzero-ifunc.c: Likewise.
49735         * string/test-memccpy-ifunc.c: Likewise.
49736         * string/test-memchr-ifunc.c: Likewise.
49737         * string/test-memcmp-ifunc.c: Likewise.
49738         * string/test-memcpy-ifunc.c: Likewise.
49739         * string/test-memmem-ifunc.c: Likewise.
49740         * string/test-memmove-ifunc.c: Likewise.
49741         * string/test-mempcpy-ifunc.c: Likewise.
49742         * string/test-memrchr-ifunc.c: Likewise.
49743         * string/test-memset-ifunc.c: Likewise.
49744         * string/test-rawmemchr-ifunc.c: Likewise.
49745         * string/test-stpcpy-ifunc.c: Likewise.
49746         * string/test-stpncpy-ifunc.c: Likewise.
49747         * string/test-strcasecmp-ifunc.c: Likewise.
49748         * string/test-strcasestr-ifunc.c: Likewise.
49749         * string/test-strcat-ifunc.c: Likewise.
49750         * string/test-strchr-ifunc.c: Likewise.
49751         * string/test-strchrnul-ifunc.c: Likewise.
49752         * string/test-strcmp-ifunc.c: Likewise.
49753         * string/test-strcpy-ifunc.c: Likewise.
49754         * string/test-strcspn-ifunc.c: Likewise.
49755         * string/test-strlen-ifunc.c: Likewise.
49756         * string/test-strncasecmp-ifunc.c: Likewise.
49757         * string/test-strncat-ifunc.c: Likewise.
49758         * string/test-strncmp-ifunc.c: Likewise.
49759         * string/test-strncpy-ifunc.c: Likewise.
49760         * string/test-strnlen-ifunc.c: Likewise.
49761         * string/test-strpbrk-ifunc.c: Likewise.
49762         * string/test-strrchr-ifunc.c: Likewise.
49763         * string/test-strspn-ifunc.c: Likewise.
49764         * string/test-strstr-ifunc.c: Likewise.
49766 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49768         * benchtests/Makefile: Remove ifunc tests.
49769         * benchtests/bench-string.h: Define TEST_IFUNC.
49770         * benchtests/bench-bcopy-ifunc.c: Remove.
49771         * benchtests/bench-bzero-ifunc.c: Likewise.
49772         * benchtests/bench-memccpy-ifunc.c: Likewise.
49773         * benchtests/bench-memchr-ifunc.c: Likewise.
49774         * benchtests/bench-memcmp-ifunc.c: Likewise.
49775         * benchtests/bench-memcpy-ifunc.c: Likewise.
49776         * benchtests/bench-memmem-ifunc.c: Likewise.
49777         * benchtests/bench-memmove-ifunc.c: Likewise.
49778         * benchtests/bench-mempcpy-ifunc.c: Likewise.
49779         * benchtests/bench-memrchr-ifunc.c: Likewise.
49780         * benchtests/bench-memset-ifunc.c: Likewise.
49781         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49782         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49783         * benchtests/bench-stpcpy-ifunc.c: Likewise.
49784         * benchtests/bench-stpncpy-ifunc.c: Likewise.
49785         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49786         * benchtests/bench-strcasestr-ifunc.c: Likewise.
49787         * benchtests/bench-strcat-ifunc.c: Likewise.
49788         * benchtests/bench-strchr-ifunc.c: Likewise.
49789         * benchtests/bench-strchrnul-ifunc.c: Likewise.
49790         * benchtests/bench-strcmp-ifunc.c: Likewise.
49791         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49792         * benchtests/bench-strcpy-ifunc.c: Likewise.
49793         * benchtests/bench-strcspn-ifunc.c: Likewise.
49794         * benchtests/bench-strlen-ifunc.c: Likewise.
49795         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49796         * benchtests/bench-strncat-ifunc.c: Likewise.
49797         * benchtests/bench-strncmp-ifunc.c: Likewise.
49798         * benchtests/bench-strncpy-ifunc.c: Likewise.
49799         * benchtests/bench-strnlen-ifunc.c: Likewise.
49800         * benchtests/bench-strpbrk-ifunc.c: Likewise.
49801         * benchtests/bench-strrchr-ifunc.c: Likewise.
49802         * benchtests/bench-strsep-ifunc.c: Likewise.
49803         * benchtests/bench-strspn-ifunc.c: Likewise.
49804         * benchtests/bench-strstr-ifunc.c: Likewise.
49806 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49808         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49810 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49812         * resolv/netdb.h: Use __glibc_reserved instead __unused.
49813         * rt/aio.h: Likewise.
49814         * sysdeps/gnu/bits/utmp.h: Likewise.
49815         * sysdeps/gnu/bits/utmpx.h: Likewise.
49816         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49817         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49818         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49819         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49820         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49821         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49822         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49823         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49824         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49825         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49826         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49827         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49828         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49830         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49831         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49832         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49833         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49834         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49835         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49836         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49837         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49838         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49839         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49840         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49841         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49842         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49843         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49844         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49845         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49846         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49847         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49848         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49849         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49850         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49851         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49852         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49853         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49854         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49855         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49856         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49857         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49859 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
49861         [BZ #16245]
49862         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49863         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49865 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
49867         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49868         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49869         Likewise.
49871 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49873         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49874         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49875         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49876         (__fesetround): Remove define.
49877         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49878         rounding and exceptions handling.
49879         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49880         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49881         (__fe_nomask_env): Likewise.
49882         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49883         __fegetround instead of fegetround.
49884         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49885         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49887 2013-11-21  Roland McGrath  <roland@hack.frob.com>
49889         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49890         it's there.
49892         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49894 2013-11-21  Meador Inge  <meadori@codesourcery.com>
49896         [BZ #11157]
49897         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49898         (encrypt_r): Likewise.
49899         * malloc/obstack.h (obstack_free): Likewise.
49900         * posix/unistd.h (encrypt): Likewise.
49902 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
49904         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49905         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49906         DL_CALL_DT_FINI() that call the functions directly.
49907         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49908         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49909         * elf/dl-fini.c: Likewise.
49911 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
49913         * malloc/hooks.c (memalign_check): Add alignment rounding.
49914         * malloc/malloc.c (_mid_memalign): New function.
49915         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49916         Implement by calling _mid_memalign.
49917         * manual/probes.texi (Memory Allocation Probes): Remove
49918         memory_valloc_retry and memory_pvalloc_retry.
49920 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49922         * locale/programs/locarchive.c (open_archive): Add const
49923         qualifier to ARCHIVEFNAME and copy default fname to
49924         DEFAULT_FNAME.
49926         [BZ #15601]
49927         * libio/tst-widetext.input: Rename Oriya to Odia.
49928         * locale/iso-639.def: Likewise.
49930         * manual/probes.texi (Mathematical Function Probes): Add
49931         documentation for sin, cos, asin and acos probes.
49932         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49933         (__sin32): Add slowasin probe.
49934         (__cos32): Add slowacos probe.
49935         (__mpsin): Add slowsin probe.
49936         (__mpcos): Add slowcos probe.
49938 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
49940         [BZ #15483]
49941         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49942         thread-local __sim_exceptions_thread and global
49943         __sim_exceptions_global.
49944         (__sim_disabled_exceptions): Change to thread-local
49945         __sim_disabled_exceptions_thread and global
49946         __sim_disabled_exceptions_global.
49947         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49948         and global __sim_round_mode_global.
49949         (__simulate_exceptions): Use thread-local floating-point state and
49950         set global state from it as needed.
49951         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49952         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49953         __sim_round_mode_thread.
49954         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49955         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49956         and global __sim_exceptions_global.
49957         (__sim_disabled_exceptions): Change to thread-local
49958         __sim_disabled_exceptions_thread and global
49959         __sim_disabled_exceptions_global.
49960         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49961         and global __sim_round_mode_global.
49962         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49963         (SIM_SET_GLOBAL): Likewise.
49964         * sysdeps/powerpc/soft-fp/sfp-machine.h
49965         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49966         __sim_round_mode_thread.
49967         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49968         __sim_disabled_exceptions_thread.
49969         (__sim_exceptions): Change to __sim_exceptions_thread.
49970         (__sim_disabled_exceptions): Change to
49971         __sim_disabled_exceptions_thread.
49972         (__sim_round_mode): Change to __sim_round_mode_thread.
49973         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49974         thread-local floating-point state and set global state from it as
49975         needed.
49976         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49977         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49978         (__sim_disabled_exceptions): Remove extern declaration.
49979         (feenableexcept): Use thread-local floating-point state and set
49980         global state from it as needed.
49981         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49982         extern declaration.
49983         (__sim_disabled_exceptions): Likewise.
49984         (__sim_round_mode): Likewise.
49985         (__fegetenv): Use thread-local floating-point state.
49986         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
49987         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49988         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
49989         floating-point state and set global state from it as needed.
49990         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
49991         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
49992         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
49993         Likewise.
49994         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
49995         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
49996         Likewise.
49997         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
49998         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
49999         Use __sim_round_mode_thread.
50000         * math/test-fenv-tls.c: New file.
50001         * math/Makefile (tests): Add test-fenv-tls.
50002         ($(objpfx)test-fenv-tls): Depend on
50003         $(common-objpfx)nptl/libpthread.so.
50005 2013-11-19  Andreas Schwab  <schwab@suse.de>
50007         * locale/programs/locale.c (show_info): Decode wordarray elements.
50008         * locale/categories.def (LC_MONETARY): Add element for
50009         _NL_MONETARY_CRNCYSTR.
50010         * locale/C-monetary.c (conversion_rate): New variable.
50011         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50012         element.
50014 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50016         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50017         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50019 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50021         * elf/Makefile (tst-auxv): New test.
50022         * elf/tst-auxv.c: New
50023         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50025 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50027         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50028         (hidden_proto): Caller changed.
50029         (hidden_tls_proto): New macro.
50030         (libc_hidden_tls_proto): Likewise.
50031         (rtld_hidden_tls_proto): Likewise.
50032         (libm_hidden_tls_proto): Likewise.
50033         (libresolv_hidden_tls_proto): Likewise.
50034         (librt_hidden_tls_proto): Likewise.
50035         (libdl_hidden_tls_proto): Likewise.
50036         (libnss_files_hidden_tls_proto): Likewise.
50037         (libnsl_hidden_tls_proto): Likewise.
50038         (libnss_nisplus_hidden_tls_proto): Likewise.
50039         (libutil_hidden_tls_proto): Likewise.
50041 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50043         [BZ #10253]
50044         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50045         (decompose_rpath): Defer expansion to fillin_rpath.
50046         (_dl_init_paths): Pass linkmap to fillin_rpath.
50048 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50050         * benchtests/Makefile: Add strsep.
50051         * benchtests/bench-strsep.c: New file: strsep benchtest.
50052         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50054 2013-11-18  Andreas Schwab  <schwab@suse.de>
50056         * locale/programs/locale.c (show_info) [case byte]: Check for
50057         '\377' instead of '\177'.
50058         * locale/C-monetary.c (not_available): Always use "\377".
50059         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50060         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50061         detect unavailable sign_posn locale elements.
50062         * locale/localeconv.c (__localeconv): For grouping and
50063         mon_grouping handle "\177" and "\377" like no grouping.
50064         (INT_ELEM): New macro.  Use it to set all numeric members.
50065         * locale/programs/ld-monetary.c (monetary_read)
50066         <tok_mon_grouping>: Normalize single -1 to the empty string.
50067         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50068         Likewise.
50070 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50072         [BZ #16055]
50073         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50074         when we match (nil).
50075         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50077 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50079         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50080         (NO_TEST_INLINE): Update value.
50081         (ERRNO_UNCHANGED): Likewise.
50082         (ERRNO_EDOM): Likewise.
50083         (ERRNO_ERANGE): Likewise.
50084         (IGNORE_RESULT): Likewise.
50085         (check_float_internal): Check signs of NaN results if
50086         TEST_NAN_SIGN used.
50087         (check_complex): Pass TEST_NAN_SIGN flag through to second
50088         check_float_internal call.
50089         (copysign_test_data): Add tests with quiet NaNs as second
50090         argument.  Use TEST_NAN_SIGN.
50091         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50092         TEST_NAN_SIGN.
50093         (signbit_test_data): Add tests of quiet NaN argument.
50094         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50096         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50097         $ignore_result.
50098         (parse_args): Handle function results specified as IGNORE.
50099         * math/libm-test.inc (IGNORE_RESULT): New macro.
50100         (check_float_internal): Do not check numerical result if flag
50101         IGNORE_RESULT set.
50102         (check_complex): Pass through IGNORE_RESULT to second
50103         check_float_internal call.
50104         (check_int): Do not check numerical result if flag IGNORE_RESULT
50105         set.
50106         (check_long): Likewise.
50107         (check_bool): Likewise.
50108         (check_longlong): Likewise.
50109         (lrint_test_data): Add tests of infinite and NaN arguments.
50110         (lrint_tonearest_test_data): Likewise.
50111         (lrint_towardzero_test_data): Likewise.
50112         (lrint_downward_test_data): Likewise.
50113         (lrint_upward_test_data): Likewise.
50114         (llrint_test_data): Likewise.
50115         (llrint_tonearest_test_data): Likewise.
50116         (llrint_towardzero_test_data): Likewise.
50117         (llrint_downward_test_data): Likewise.
50118         (llrint_upward_test_data): Likewise.
50119         (lround_test_data): Likewise.
50120         (llround_test_data): Likewise.
50122         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50123         (ERRNO_UNCHANGED): Update value.
50124         (ERRNO_EDOM): Likewise.
50125         (ERRNO_ERANGE): Likewise.
50126         (NO_TEST_INLINE_FLOAT): New macro.
50127         (NO_TEST_INLINE_DOUBLE): Likewise.
50128         (enable_test): New function.
50129         (RUN_TEST_f_f): Check enable_test before running test.
50130         (RUN_TEST_2_f): Likewise.
50131         (RUN_TEST_fff_f): Likewise.
50132         (RUN_TEST_c_f): Likewise.
50133         (RUN_TEST_f_f1): Likewise.
50134         (RUN_TEST_fF_f1): Likewise.
50135         (RUN_TEST_fI_f1): Likewise.
50136         (RUN_TEST_ffI_f1): Likewise.
50137         (RUN_TEST_c_c): Likewise.
50138         (RUN_TEST_cc_c): Likewise.
50139         (RUN_TEST_f_i): Likewise.
50140         (RUN_TEST_f_i_tg): Likewise.
50141         (RUN_TEST_ff_i_tg): Likewise.
50142         (RUN_TEST_f_b): Likewise.
50143         (RUN_TEST_f_b_tg): Likewise.
50144         (RUN_TEST_f_l): Likewise.
50145         (RUN_TEST_f_L): Likewise.
50146         (RUN_TEST_fFF_11): Likewise.
50147         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50148         conditionals.
50149         (cosh_test_data): Likewise.
50150         (exp_test_data): Likewise.
50151         (expm1_test_data): Likewise.
50152         (hypot_test_data): Likewise.
50153         (pow_test_data): Likewise.
50154         (sinh_test_data): Likewise.
50155         (tanh_test_data): Likewise.
50156         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50157         flags argument.
50159         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50160         tests with quiet NaN input and output.
50161         (acosh_test_data): Likewise.
50162         (asin_test_data): Likewise.
50163         (asinh_test_data): Likewise.
50164         (atan_test_data): Likewise.
50165         (atanh_test_data): Likewise.
50166         (atan2_test_data): Likewise.
50167         (cbrt_test_data): Likewise.
50168         (cos_test_data): Likewise.
50169         (cosh_test_data): Likewise.
50170         (erf_test_data): Likewise.
50171         (erfc_test_data): Likewise.
50172         (exp_test_data): Likewise.
50173         (exp10_test_data): Likewise.
50174         (exp2_test_data): Likewise.
50175         (expm1_test_data): Likewise.
50176         (hypot_test_data): Likewise.
50177         (j0_test_data): Likewise.
50178         (j1_test_data): Likewise.
50179         (jn_test_data): Likewise.
50180         (lgamma_test_data): Likewise.
50181         (log_test_data): Likewise.
50182         (log10_test_data): Likewise.
50183         (log1p_test_data): Likewise.
50184         (log2_test_data): Likewise.
50185         (pow_test_data): Likewise.
50186         (scalb_test_data): Likewise.
50187         (sin_test_data): Likewise.
50188         (sincos_test_data): Likewise.
50189         (sinh_test_data): Likewise.
50190         (tan_test_data): Likewise.
50191         (tanh_test_data): Likewise.
50192         (tgamma_test_data): Likewise.
50193         (y0_test_data): Likewise.
50194         (y1_test_data): Likewise.
50195         (yn_test_data): Likewise.
50197         [BZ #16167]
50198         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50199         argument being NaN and avoid computations with second argument in
50200         that case.
50201         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50202         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50203         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50205 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
50207         * locale/iso-639.def: Add Chitwani Tharu (the).
50209 2013-11-14  Andreas Schwab  <schwab@suse.de>
50211         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50212         word instead of empty string.
50214 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50217         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50219         (__fe_nomask_env): Likewise.
50221 2013-11-13  Steve Ellcey  <sellcey@mips.com>
50223         * benchtests/bench-timing.h: Include time.h.
50225 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
50227         [BZ #15997]
50228         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50229         to 3.4.0 for x32.
50230         * sysdeps/unix/sysv/linux/configure: Regenerated.
50232 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
50234         [BZ #16151]
50235         * stdlib/strtod_l.c (round_and_return): Do not consider
50236         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50237         exponent one less than half the least subnormal exponent.
50238         * stdlib/test-strtod-round-data: Add more tests.
50239         * stdlib/tst-strtod-round.c (tests): Regenerated.
50241 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50243         [BZ #14143]
50244         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50245         (__fe_mask_env): Likewise.
50246         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50247         libm_hidden_proto and add function prototype.
50248         (__fe_mask_env): Add function prototype.
50249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50250         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50252         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50254         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50256 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50258         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50259         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50261 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50263         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50264         of htab_find_slot().
50266 2013-11-11  David S. Miller  <davem@davemloft.net>
50268         [BZ #16150]
50269         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50270         symbol in the non-vis3 case in static builds.
50271         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50272         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50273         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50274         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50276 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
50278         [BZ #387]
50279         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50280         it is empty.
50282 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50284         * benchtests/Makefile: Add bench-strtod.
50285         * benchtests/bench-strtod.c: New file: strtod benchtest
50287 2013-11-11  Andreas Schwab  <schwab@suse.de>
50289         [BZ #16153]
50290         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50291         terminating NUL in key length.
50293 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50295         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50296         Add artificial ODP entry for vDSO symbol for PPC64.
50297         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50298         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50300 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50302         [BZ #15374]
50303         * nss/getent.c (services_keys): Recognize services starting with digit.
50305 2013-11-06  David S. Miller  <davem@davemloft.net>
50307         [BZ #15985]
50308         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50309         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50311 2013-11-06  Will Newton  <will.newton@linaro.org>
50313         * manual/memory.texi (Malloc Examples): Remove register
50314         keyword from examples.
50316 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
50318         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50320 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
50322         [BZ #6981]
50323         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50324         depending on [__GCC_IEC_559 > 0].
50325         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50326         depending on [__GCC_IEC_559_COMPLEX > 0].
50328 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
50330         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50331         to iso-639.def.
50333 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
50335         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50337 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
50339         [BZ #16112]
50340         * malloc/malloc (malloc_info): Do not handle first bin as
50341         special case.
50343 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
50345         * locale/iso-639.def: Add Central Nahuatl (nhn).
50347 2013-11-01  Bruno Haible  <bruno@clisp.org>
50349         [BZ #7003]
50350         * manual/math.texi (BSD Random): Specify range upper bound as
50351         in POSIX.
50353 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
50355         * locale/iso-639.def: Add Meadow Mari (mhr).
50357 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
50359         [BZ #14752], [BZ #15763]
50360         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50361         Validate name.
50362         * rt/tst_shm.c: Add test for escaping directory.
50364 2013-10-31  Andreas Schwab  <schwab@suse.de>
50366         [BZ #15917]
50367         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50368         followed by 'x' as part of digit sequence.
50369         * stdio-common/tst-sscanf.c (double_tests2): New tests.
50371 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50373         [BZ #16037]
50374         * configure.ac: allow GNU Make 4.0 and greater.
50375         * configure: Regenerated.
50377 2013-10-30  Will Newton  <will.newton@linaro.org>
50379         [BZ #16038]
50380         * malloc/hooks.c (memalign_check): Limit alignment to the
50381         maximum representable power of two.
50382         * malloc/malloc.c (__libc_memalign): Likewise.
50383         * malloc/tst-memalign.c (do_test): Add test for very
50384         large alignment values.
50385         * malloc/tst-posix_memalign.c (do_test): Likewise.
50387 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50389         [BZ #11087]
50390         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50391         (munmap_chunk): Likewise.
50392         (mremap_chunk): Likewise.
50394 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50396         [BZ #15799]
50397         * stdlib/div.c (div): Remove obsolete code.
50398         * stdlib/ldiv.c (ldiv): Likewise.
50399         * stdlib/lldiv.c (lldiv): Likewise.
50401 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50403         [BZ #16071]
50404         * nss/nss_files/files-XXX.c (get_contents_ret): New
50405         enumerator.
50406         (get_contents): New function.
50407         (internal_getent): Use it.  Expand size of LINEBUFLEN.
50409 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
50411         * configure.in: Moved to ...
50412         * configure.ac: ... here. Change reference to configure.in
50413         to configure.ac.
50414         * sysdeps/arm/preconfigure.ac: ... here.
50415         configure.in to configure.ac.
50416         * sysdeps/gnu/configure.in: Moved to ...
50417         * sysdeps/gnu/configure.ac: ... here.
50418         * sysdeps/i386/configure.in: Moved to ...
50419         * sysdeps/i386/configure.ac: ... here.
50420         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50421         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50422         * sysdeps/mach/configure.in: Moved to ...
50423         * sysdeps/mach/configure.ac: ... here.
50424         * sysdeps/mach/hurd/configure.in: Moved to ...
50425         * sysdeps/mach/hurd/configure.ac: ... here.
50426         * sysdeps/powerpc/configure.in: Moved to ...
50427         * sysdeps/powerpc/configure.ac: ... here.
50428         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50429         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50430         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50431         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50432         * sysdeps/s390/s390-32/configure.in: Moved to ...
50433         * sysdeps/s390/s390-32/configure.ac: ... here.
50434         * sysdeps/s390/s390-64/configure.in: Moved to ...
50435         * sysdeps/s390/s390-64/configure.ac: ... here.
50436         * sysdeps/sh/configure.in: Moved to ...
50437         * sysdeps/sh/configure.ac: ... here.
50438         * sysdeps/sparc/configure.in: Moved to ...
50439         * sysdeps/sparc/configure.ac: ... here.
50440         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50441         * sysdeps/unix/sysv/linux/configure.ac: ... here.
50442         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50443         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50444         * sysdeps/x86_64/configure.in: Moved to ...
50445         * sysdeps/x86_64/configure.ac: ... here.
50446         * sysdeps/x86_64/preconfigure.in: Moved to ...
50447         * sysdeps/x86_64/preconfigure.ac: ... here.
50448         * aclocal.m4: Change reference to configure.in to configure.ac.
50449         * config.h.in: Likewise.
50450         * manual/install.texi: Likewise.
50451         * manual/maint.texi: Likewise.
50452         * Makefile: Likewise.
50453         * malloc/Makefile: Likewise.
50454         * nscd/Makefile: Likewise.
50455         * Makeconfig: Change reference to configure.in and
50456         preconfigure.in to configure.ac and preconfigure.ac
50457         respectively.
50458         * INSTALL: Regenerated.
50459         * configure: Likewise.
50460         * sysdeps/gnu/configure: Likewise.
50461         * sysdeps/i386/configure: Likewise.
50462         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50463         * sysdeps/mach/configure: Likewise.
50464         * sysdeps/mach/hurd/configure: Likewise.
50465         * sysdeps/powerpc/configure: Likewise.
50466         * sysdeps/powerpc/powerpc32/configure: Likewise.
50467         * sysdeps/powerpc/powerpc64/configure: Likewise.
50468         * sysdeps/s390/s390-32/configure: Likewise.
50469         * sysdeps/s390/s390-64/configure: Likewise.
50470         * sysdeps/sh/configure: Likewise.
50471         * sysdeps/sparc/configure: Likewise.
50472         * sysdeps/unix/sysv/linux/configure: Likewise.
50473         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50474         * sysdeps/x86_64/configure: Likewise.
50475         * sysdeps/x86_64/preconfigure: Likewise.
50477 2013-10-29  Andreas Schwab  <schwab@suse.de>
50479         * stdio-common/Makefile (tst-swscanf-ENV): Define.
50481 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50483         * benchtests/pow-inputs: Add new inputs.
50485         * benchtests/exp-inputs: Add new inputs.
50487         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50488         conditional check for return value.
50489         (__cos32): Likewise.
50491 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50493         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50494         to provide a boost for large inputs with word alignment.
50495         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50496         implementation based on optimized PPC64 strcpy.
50497         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50498         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50499         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50500         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50502 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50504         [BZ #2801]
50505         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50507 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50509         [BZ #14876]
50510         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50511         * time/tst-strptime.c (day_tests): Add testcase.
50513 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50515         [BZ #14029]
50516         * manual/pattern.texi: Acknowledge that fnmatch can fail.
50518 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
50520         [BZ #16074]
50521         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50522         MAP_FAILED on error.
50524 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50526         [BZ #16072]
50527         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50528         heap for large requests.
50530 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
50532         [BZ #9954]
50533         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50534         result if the result has no associated interface.
50535         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50536         interface for all 127.X.Y.Z addresses.
50538 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
50540         * locale/iso-639.def: Add Ligurian (lij)
50542 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
50544         [BZ #15825]
50545         * sunrpc/rpc_main.c: Document rpcgen -5.
50547 2013-10-19  Michael Stahl  <mstahl@redhat.com>
50549         * elf/rtld.c (do_preload): Print the reason why preloading failed.
50551 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50553         [BZ #10278]
50554         * posix/glob.c: Match only directories when trailing slash is present.
50555         * posix/tst-gnuglob.c (my_opendir): Do not open files.
50556         (main): Add testcase.
50558 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50560         [BZ #15670]
50561         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50563 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
50565         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50566         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50567         AUTH_DES and cindex for FIPS 140-2.
50568         (DES Encryption): Add cindex FIPS 46-3.
50570         * locale/locarchive.h (struct locarhandle): Add fname.
50571         * locale/programs/localedef.c (main): Pass ARGV[remaining]
50572         if an optional argument was specified to --list-archive,
50573         otherwise NULL.
50574         * locale/programs/locarchive.c (show_archive_content): Take new
50575         argument fname and pass it via ah.fname to open_archive.
50576         * locale/programs/localedef.h: Update decl.
50577         (open_archive): If AH->fname is non-null, open that file
50578         rather than the default file name, and don't ignore ENOENT.
50579         (create_archive): Set AH.fname to NULL.
50580         (delete_locales_from_archive): Likewise.
50581         (add_locales_to_archive): Likewise.
50582         * locale/programs/locfile.c (write_all_categories): Likewise.
50584 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
50585             Aldy Hernandez  <aldyh@redhat.com>
50587         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50588         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50589         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50590         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50591         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50592         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50593         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50594         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50595         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50596         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50597         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50598         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50599         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50600         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50601         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50602         Likewise.
50603         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50604         Likewise.
50605         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50606         Likewise.
50607         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50608         Likewise.
50609         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50610         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50611         Likewise.
50612         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50613         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50614         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50615         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50616         Likewise.
50617         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50618         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50619         * sysdeps/powerpc/preconfigure: Likewise.
50620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50621         Likewise.
50622         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50623         Replace contents of file by #include of <fenv_libc.h>.
50624         * sysdeps/powerpc/soft-fp/sfp-machine.h
50625         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50626         and <sys/prctl.h>.
50627         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50628         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50629         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50630         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50631         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50632         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50633         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50634         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50635         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50636         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50637         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50638         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50640         Allow copysignl PLT reference to be missing.
50642 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
50643             Joseph Myers  <joseph@codesourcery.com
50645         [BZ #15948]
50646         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50647         single character.
50648         (add_to_tablewc): Assert sequence of wide characters is nonempty.
50650 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50652         * elf/tst-tls-dlinfo.c: Don't include tls.h.
50653         * elf/tst-tls1.c: Likewise.
50654         * elf/tst-tls10.h: Likewise.
50655         * elf/tst-tls14.c: Likewise.
50656         * elf/tst-tls2.c: Likewise.
50657         * elf/tst-tls3.c: Likewise.
50658         * elf/tst-tls4.c: Likewise.
50659         * elf/tst-tls5.c: Likewise.
50660         * elf/tst-tls6.c: Likewise.
50661         * elf/tst-tls7.c: Likewise.
50662         * elf/tst-tls8.c: Likewise.
50663         * elf/tst-tls9.c: Likewise.
50664         * elf/tst-tlsmod1.c: Likewise.
50665         * elf/tst-tlsmod13.c: Likewise.
50666         * elf/tst-tlsmod13a.c: Likewise.
50667         * elf/tst-tlsmod14a.c: Likewise.
50668         * elf/tst-tlsmod16a.c: Likewise.
50669         * elf/tst-tlsmod16b.c: Likewise.
50670         * elf/tst-tlsmod2.c: Likewise.
50671         * elf/tst-tlsmod3.c: Likewise.
50672         * elf/tst-tlsmod4.c: Likewise.
50673         * elf/tst-tlsmod5.c: Likewise.
50674         * elf/tst-tlsmod6.c: Likewise.
50676 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
50678         [BZ #12486]
50679         * malloc/malloc.c: remove checks for statistics.
50681 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50683         [BZ #15277]
50684         * inet/inet_net.c (inet_network): Detect additional invalid strings.
50685         * inet/tst-network.c: Add testcase.
50687 2013-10-17  Andreas Schwab  <schwab@suse.de>
50689         [BZ #15218]
50690         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50691         to determine canonical name.
50693 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50695         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50696         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50697         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50698         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50699         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50700         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50701         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50702         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50703         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50704         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50705         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50706         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50707         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50708         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50709         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50710         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50711         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50712         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50713         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50714         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50715         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50716         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50717         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50718         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50719         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50720         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50721         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50722         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50723         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50724         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50725         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50726         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50730         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50731         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50732         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50733         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50734         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50735         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50736         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50737         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50738         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50739         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50740         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50741         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50742         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50743         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50744         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50745         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50746         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50747         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50748         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50749         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50750         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50751         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50752         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50754 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
50756         [BZ #16041]
50757         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50758         make result into a quiet NaN.
50760 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
50762         * soft-fp/adddf3.c: Fix horizontal whitespace.
50763         * soft-fp/addsf3.c: Likewise.
50764         * soft-fp/addtf3.c: Likewise.
50765         * soft-fp/divdf3.c: Likewise.
50766         * soft-fp/divsf3.c: Likewise.
50767         * soft-fp/divtf3.c: Likewise.
50768         * soft-fp/double.h: Likewise.
50769         * soft-fp/eqdf2.c: Likewise.
50770         * soft-fp/eqsf2.c: Likewise.
50771         * soft-fp/eqtf2.c: Likewise.
50772         * soft-fp/extenddftf2.c: Likewise.
50773         * soft-fp/extended.h: Likewise.
50774         * soft-fp/extendsfdf2.c: Likewise.
50775         * soft-fp/extendsftf2.c: Likewise.
50776         * soft-fp/extendxftf2.c: Likewise.
50777         * soft-fp/fixdfdi.c: Likewise.
50778         * soft-fp/fixdfsi.c: Likewise.
50779         * soft-fp/fixdfti.c: Likewise.
50780         * soft-fp/fixsfdi.c: Likewise.
50781         * soft-fp/fixsfsi.c: Likewise.
50782         * soft-fp/fixsfti.c: Likewise.
50783         * soft-fp/fixtfdi.c: Likewise.
50784         * soft-fp/fixtfsi.c: Likewise.
50785         * soft-fp/fixtfti.c: Likewise.
50786         * soft-fp/fixunsdfdi.c: Likewise.
50787         * soft-fp/fixunsdfsi.c: Likewise.
50788         * soft-fp/fixunsdfti.c: Likewise.
50789         * soft-fp/fixunssfdi.c: Likewise.
50790         * soft-fp/fixunssfsi.c: Likewise.
50791         * soft-fp/fixunssfti.c: Likewise.
50792         * soft-fp/fixunstfdi.c: Likewise.
50793         * soft-fp/fixunstfsi.c: Likewise.
50794         * soft-fp/fixunstfti.c: Likewise.
50795         * soft-fp/floatdidf.c: Likewise.
50796         * soft-fp/floatdisf.c: Likewise.
50797         * soft-fp/floatditf.c: Likewise.
50798         * soft-fp/floatsidf.c: Likewise.
50799         * soft-fp/floatsisf.c: Likewise.
50800         * soft-fp/floatsitf.c: Likewise.
50801         * soft-fp/floattidf.c: Likewise.
50802         * soft-fp/floattisf.c: Likewise.
50803         * soft-fp/floattitf.c: Likewise.
50804         * soft-fp/floatundidf.c: Likewise.
50805         * soft-fp/floatundisf.c: Likewise.
50806         * soft-fp/floatunditf.c: Likewise.
50807         * soft-fp/floatunsidf.c: Likewise.
50808         * soft-fp/floatunsisf.c: Likewise.
50809         * soft-fp/floatunsitf.c: Likewise.
50810         * soft-fp/floatuntidf.c: Likewise.
50811         * soft-fp/floatuntisf.c: Likewise.
50812         * soft-fp/floatuntitf.c: Likewise.
50813         * soft-fp/fmadf4.c: Likewise.
50814         * soft-fp/fmasf4.c: Likewise.
50815         * soft-fp/fmatf4.c: Likewise.
50816         * soft-fp/gedf2.c: Likewise.
50817         * soft-fp/gesf2.c: Likewise.
50818         * soft-fp/getf2.c: Likewise.
50819         * soft-fp/ledf2.c: Likewise.
50820         * soft-fp/lesf2.c: Likewise.
50821         * soft-fp/letf2.c: Likewise.
50822         * soft-fp/muldf3.c: Likewise.
50823         * soft-fp/mulsf3.c: Likewise.
50824         * soft-fp/multf3.c: Likewise.
50825         * soft-fp/negdf2.c: Likewise.
50826         * soft-fp/negsf2.c: Likewise.
50827         * soft-fp/negtf2.c: Likewise.
50828         * soft-fp/op-1.h: Likewise.
50829         * soft-fp/op-2.h: Likewise.
50830         * soft-fp/op-4.h: Likewise.
50831         * soft-fp/op-8.h: Likewise.
50832         * soft-fp/op-common.h: Likewise.
50833         * soft-fp/quad.h: Likewise.
50834         * soft-fp/single.h: Likewise.
50835         * soft-fp/soft-fp.h: Likewise.
50836         * soft-fp/sqrtdf2.c: Likewise.
50837         * soft-fp/sqrtsf2.c: Likewise.
50838         * soft-fp/sqrttf2.c: Likewise.
50839         * soft-fp/subdf3.c: Likewise.
50840         * soft-fp/subsf3.c: Likewise.
50841         * soft-fp/subtf3.c: Likewise.
50842         * soft-fp/truncdfsf2.c: Likewise.
50843         * soft-fp/trunctfdf2.c: Likewise.
50844         * soft-fp/trunctfsf2.c: Likewise.
50845         * soft-fp/trunctfxf2.c: Likewise.
50846         * soft-fp/unorddf2.c: Likewise.
50847         * soft-fp/unordsf2.c: Likewise.
50848         * soft-fp/unordtf2.c: Likewise.
50850 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
50852         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50853         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50855 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
50857         * elf/dl-libc.c: Clear initfini list after freeing.
50859 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
50861         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50862         * soft-fp/addsf3.c: Likewise.
50863         * soft-fp/addtf3.c: Likewise.
50864         * soft-fp/divdf3.c: Likewise.
50865         * soft-fp/divsf3.c: Likewise.
50866         * soft-fp/divtf3.c: Likewise.
50867         * soft-fp/double.h: Likewise.
50868         * soft-fp/eqdf2.c: Likewise.
50869         * soft-fp/eqsf2.c: Likewise.
50870         * soft-fp/eqtf2.c: Likewise.
50871         * soft-fp/extenddftf2.c: Likewise.
50872         * soft-fp/extended.h: Likewise.
50873         * soft-fp/extendsfdf2.c: Likewise.
50874         * soft-fp/extendsftf2.c: Likewise.
50875         * soft-fp/extendxftf2.c: Likewise.
50876         * soft-fp/fixdfdi.c: Likewise.
50877         * soft-fp/fixdfsi.c: Likewise.
50878         * soft-fp/fixdfti.c: Likewise.
50879         * soft-fp/fixsfdi.c: Likewise.
50880         * soft-fp/fixsfsi.c: Likewise.
50881         * soft-fp/fixsfti.c: Likewise.
50882         * soft-fp/fixtfdi.c: Likewise.
50883         * soft-fp/fixtfsi.c: Likewise.
50884         * soft-fp/fixtfti.c: Likewise.
50885         * soft-fp/fixunsdfdi.c: Likewise.
50886         * soft-fp/fixunsdfsi.c: Likewise.
50887         * soft-fp/fixunsdfti.c: Likewise.
50888         * soft-fp/fixunssfdi.c: Likewise.
50889         * soft-fp/fixunssfsi.c: Likewise.
50890         * soft-fp/fixunssfti.c: Likewise.
50891         * soft-fp/fixunstfdi.c: Likewise.
50892         * soft-fp/fixunstfsi.c: Likewise.
50893         * soft-fp/fixunstfti.c: Likewise.
50894         * soft-fp/floatdidf.c: Likewise.
50895         * soft-fp/floatdisf.c: Likewise.
50896         * soft-fp/floatditf.c: Likewise.
50897         * soft-fp/floatsidf.c: Likewise.
50898         * soft-fp/floatsisf.c: Likewise.
50899         * soft-fp/floatsitf.c: Likewise.
50900         * soft-fp/floattidf.c: Likewise.
50901         * soft-fp/floattisf.c: Likewise.
50902         * soft-fp/floattitf.c: Likewise.
50903         * soft-fp/floatundidf.c: Likewise.
50904         * soft-fp/floatundisf.c: Likewise.
50905         * soft-fp/floatunsidf.c: Likewise.
50906         * soft-fp/floatunsisf.c: Likewise.
50907         * soft-fp/floatuntidf.c: Likewise.
50908         * soft-fp/floatuntisf.c: Likewise.
50909         * soft-fp/floatuntitf.c: Likewise.
50910         * soft-fp/fmadf4.c: Likewise.
50911         * soft-fp/fmasf4.c: Likewise.
50912         * soft-fp/fmatf4.c: Likewise.
50913         * soft-fp/gedf2.c: Likewise.
50914         * soft-fp/gesf2.c: Likewise.
50915         * soft-fp/getf2.c: Likewise.
50916         * soft-fp/ledf2.c: Likewise.
50917         * soft-fp/lesf2.c: Likewise.
50918         * soft-fp/letf2.c: Likewise.
50919         * soft-fp/muldf3.c: Likewise.
50920         * soft-fp/mulsf3.c: Likewise.
50921         * soft-fp/multf3.c: Likewise.
50922         * soft-fp/negdf2.c: Likewise.
50923         * soft-fp/negsf2.c: Likewise.
50924         * soft-fp/negtf2.c: Likewise.
50925         * soft-fp/op-1.h: Likewise.
50926         * soft-fp/op-2.h: Likewise.
50927         * soft-fp/op-4.h: Likewise.
50928         * soft-fp/op-8.h: Likewise.
50929         * soft-fp/op-common.h: Likewise.
50930         * soft-fp/quad.h: Likewise.
50931         * soft-fp/single.h: Likewise.
50932         * soft-fp/soft-fp.h: Likewise.
50933         * soft-fp/sqrtdf2.c: Likewise.
50934         * soft-fp/sqrtsf2.c: Likewise.
50935         * soft-fp/sqrttf2.c: Likewise.
50936         * soft-fp/subdf3.c: Likewise.
50937         * soft-fp/subsf3.c: Likewise.
50938         * soft-fp/subtf3.c: Likewise.
50939         * soft-fp/truncdfsf2.c: Likewise.
50940         * soft-fp/trunctfdf2.c: Likewise.
50941         * soft-fp/trunctfsf2.c: Likewise.
50942         * soft-fp/trunctfxf2.c: Likewise.
50943         * soft-fp/unorddf2.c: Likewise.
50944         * soft-fp/unordsf2.c: Likewise.
50945         * soft-fp/unordtf2.c: Likewise.
50947 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
50949         [BZ #15672]
50950         * misc/error.c (error_tail): Fix possible buffer overflow.
50952 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
50954         [BZ #13028]
50955         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50956         address.
50958 2013-10-14  P. J. McDermott  <pj@pehjota.net>
50960         [BZ #832]
50961         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
50962         testing pipefail option.
50964 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50966         * soft-fp/double.h: Indent preprocessor directives inside #if.
50967         * soft-fp/extended.h: Likewise.
50968         * soft-fp/op-2.h: Likewise.
50969         * soft-fp/op-4.h: Likewise.
50970         * soft-fp/op-common.h: Likewise.
50971         * soft-fp/quad.h: Likewise.
50972         * soft-fp/single.h: Likewise.
50973         * soft-fp/soft-fp.h: Likewise.
50975 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
50977         * iconv/iconv_prog.c: Fix typos.
50978         * stdio-common/psiginfo-data.h: Likewise.
50980 2013-10-12   Reuben Thomas <rrt@sc3d.org>
50982         [BZ #15764]
50983         * locale/setlocale.c: Fix typo.
50985 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50987         [BZ #16036]
50988         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
50989         signaling NaN arguments.
50990         * soft-fp/unordsf2.c (__unordsf2): Likewise.
50991         * soft-fp/unordtf2.c (__unordtf2): Likewise.
50993         [BZ #14910]
50994         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50995         unordered operands.
50996         * soft-fp/gesf2.c (__gesf2): Likewise.
50997         * soft-fp/getf2.c (__getf2): Likewise.
50998         * soft-fp/ledf2.c (__ledf2): Likewise.
50999         * soft-fp/lesf2.c (__lesf2): Likewise.
51000         * soft-fp/letf2.c (__letf2): Likewise.
51002         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51003         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51004         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51005         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51006         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51007         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51008         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51009         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51010         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51011         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51012         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51013         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51014         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51015         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51016         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51017         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51018         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51019         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51020         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51021         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51022         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51023         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51024         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51025         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51026         * soft-fp/floattidf.c (__floattidf): Likewise.
51027         * soft-fp/floattisf.c (__floattisf): Likewise.
51028         * soft-fp/floattitf.c (__floattitf): Likewise.
51029         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51030         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51031         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51032         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51033         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51034         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51035         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51036         * soft-fp/gesf2.c (__gesf2): Likewise.
51037         * soft-fp/getf2.c (__getf2): Likewise.
51038         * soft-fp/ledf2.c (__ledf2): Likewise.
51039         * soft-fp/lesf2.c (__lesf2): Likewise.
51040         * soft-fp/letf2.c (__letf2): Likewise.
51042         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51043         Undefine and redefine.
51044         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51045         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51046         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51047         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51048         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51049         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51050         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51051         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51052         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51053         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51054         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51055         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51056         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51057         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51058         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51060         [BZ #16032]
51061         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51062         without decrementing exponent if mantissa >= that for the
51063         denominator, not >.
51064         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51065         denominator, not >.  Decrement exponent in < case instead of
51066         incrementing in >= case.
51067         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51068         without decrementing exponent if mantissa >= that for the
51069         denominator, not >.
51071         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51072         computing saturated result for unsigned overflow.
51074 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51075             Jeff Law  <law@redhat.com>
51077         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51078         (atan2Mp): Add systemtap probe marker.
51079         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51080         (__ieee754_log): Add systemtap probe marker.
51081         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51082         (atanMp): Add systemtap probe marker.
51083         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51084         (tanMp): Add systemtap probe marker.
51085         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51086         (__slowexp): Add systemtap probe marker.
51087         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51088         (__slowpow): Add systemtap probe marker.
51089         * manual/probes.texi: Document probes.
51091 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51093         [BZ #15362]
51094         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51095         written.
51096         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51097         written.
51098         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51099         written to buffer but not flushed.
51100         * libio/iofwrite_u.c:  Likewise.
51101         * libio/iopadn.c:  Return bytes returned even if EOF was
51102         encountered.
51103         * libio/iowpadn.c:  Likewise.
51104         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51105         if _IO_padn does not write the whole buffer.
51106         [!COMPILE_WPRINTF] (PAD): Likewise.
51108 2013-10-10  David S. Miller  <davem@davemloft.net>
51110         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51111         directory block.
51113 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51115         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51116         instead of FSF address.
51117         * soft-fp/fixdfti.c: Likewise.
51118         * soft-fp/fixsfti.c: Likewise.
51119         * soft-fp/fixtfti.c: Likewise.
51120         * soft-fp/fixunsdfti.c: Likewise.
51121         * soft-fp/fixunssfti.c: Likewise.
51122         * soft-fp/fixunstfti.c: Likewise.
51123         * soft-fp/floattidf.c: Likewise.
51124         * soft-fp/floattisf.c: Likewise.
51125         * soft-fp/floattitf.c: Likewise.
51126         * soft-fp/floatuntidf.c: Likewise.
51127         * soft-fp/floatuntisf.c: Likewise.
51128         * soft-fp/floatuntitf.c: Likewise.
51129         * soft-fp/trunctfxf2.c: Likewise.
51131         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51132         * soft-fp/fixdfti.c: Likewise.
51133         * soft-fp/fixsfti.c: Likewise.
51134         * soft-fp/fixtfti.c: Likewise.
51135         * soft-fp/fixunsdfti.c: Likewise.
51136         * soft-fp/fixunssfti.c: Likewise.
51137         * soft-fp/fixunstfti.c: Likewise.
51138         * soft-fp/floattidf.c: Likewise.
51139         * soft-fp/floattisf.c: Likewise.
51140         * soft-fp/floattitf.c: Likewise.
51141         * soft-fp/floatuntidf.c: Likewise.
51142         * soft-fp/floatuntisf.c: Likewise.
51143         * soft-fp/floatuntitf.c: Likewise.
51144         * soft-fp/trunctfxf2.c: Likewise.
51146 2013-10-10  David S. Miller  <davem@davemloft.net>
51148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51150 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51152         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51153         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51154         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51155         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51156         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51157         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51158         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51160         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51161         for NaNs before doing comparisons on argument.
51162         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51163         Likewise.
51165 2013-10-10  Will Newton  <will.newton@linaro.org>
51167         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51168         passed to _int_memalign does not overflow.
51170 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51172         * scripts/bench.pl: Add include-sources directive.
51173         * benchtests/README: Update documentation.
51175 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51177         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51178         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51179         instead of FP_INIT_ROUNDMODE.
51180         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51181         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51183         [BZ #16034]
51184         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51185         copy class of input value.
51186         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51187         not handle exceptions.
51188         * soft-fp/negsf2.c (__negsf2): Likewise.
51189         * soft-fp/negtf2.c (__negtf2): Likewise.
51190         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51192 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51194         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51195         semicolon.  From Linux kernel.
51197 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
51199         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51201 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
51203         [BZ #156]
51204         * manual/socket.texi: Added statement about buffer
51205         for gethostbyname2_r.
51207 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
51209         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51210         Use .p2align directive instead, throughout.
51211         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51212         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51213         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51214         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51215         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51216         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51217         * sysdeps/x86_64/strchr.S: Likewise.
51218         * sysdeps/x86_64/strrchr.S: Likewise.
51220 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51222         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51224         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51226         * sysdeps/generic/math_private.h (__mpsin1): Remove
51227         declaration.
51228         (__mpcos1): Likewise.
51229         (__mpsin): New argument __range_reduce.
51230         (__mpcos): Likewise.
51231         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51232         (slow): Use __mpsin and __mpcos.
51233         (slow1): Likewise.
51234         (slow2): Likewise.
51235         (sloww): Likewise.
51236         (sloww1): Likewise.
51237         (sloww2): Likewise.
51238         (bsloww): Likewise.
51239         (bsloww1): Likewise.
51240         (bsloww2): Likewise.
51241         (cslow2): Likewise.
51242         (csloww): Likewise.
51243         (csloww1): Likewise.
51244         (csloww2): Likewise.
51245         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51246         range_reduce.  Merge in __mpsin1.
51247         (__mpcos): Likewise.
51248         (__mpsin1): Remove.
51249         (__mpcos1): Likewise.
51251 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
51253         * locale/loadlocale.c (_nl_intern_locale_data): Use
51254         LOCFILE_ALIGNED_P.
51255         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51256         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51257         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51258         obstack data is appropriately aligned.
51259         (obstack_int32_grow_fast): Likewise.
51260         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51261         * locale/programs/locfile.c (add_locale_uint32): Likewise.
51262         (add_locale_uint32_array): Likewise.
51264 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51266         * benchtests/Makefile: Remove ARGLIST and RET variables.
51267         ($(objpfx)bench-%.c): Pass only function name to the script.
51268         * benchtests/README: Update documentation.
51269         * benchtests/acos-inputs: Add new directives.
51270         * benchtests/acosh-inputs: Likewise.
51271         * benchtests/asin-inputs: Likewise.
51272         * benchtests/asinh-inputs: Likewise.
51273         * benchtests/atan-inputs: Likewise.
51274         * benchtests/atanh-inputs: Likewise.
51275         * benchtests/cos-inputs: Likewise.
51276         * benchtests/cosh-inputs: Likewise.
51277         * benchtests/exp-inputs: Likewise.
51278         * benchtests/log-inputs: Likewise.
51279         * benchtests/pow-inputs: Likewise.
51280         * benchtests/rint-inputs: Likewise.
51281         * benchtests/sin-inputs: Likewise.
51282         * benchtests/sinh-inputs: Likewise.
51283         * benchtests/tan-inputs: Likewise.
51284         * benchtests/tanh-inputs: Likewise.
51285         * scripts/bench.pl: Add support for new directives.
51287 2013-10-07  Alan Modra  <amodra@gmail.com>
51289         * README: Fix careless merge.
51291 2013-10-05  Alan Modra  <amodra@gmail.com>
51293         * NEWS: Mention powerpc64le support and bugs fixed.
51294         * README: Both big-endian and little-endian powerpc64 supported.
51296 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51298         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51299         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51300         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51301         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51303 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
51305         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51306         match prototype.
51308 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
51310         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51311         Move -mhard-float appending from
51312         ports/sysdeps/powerpc/powerpc32/Makefile.
51313         [$(with-fp) = yes] (ASFLAGS): Likewise.
51314         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51315         * sysdeps/powerpc/nofpu: Move directory from
51316         ports/sysdeps/powerpc/nofpu.
51317         * sysdeps/powerpc/soft-fp: Move directory from
51318         ports/sysdeps/powerpc/soft-fp.
51319         * sysdeps/powerpc/powerpc32/405: Move directory from
51320         ports/sysdeps/powerpc/powerpc32/405.
51321         * sysdeps/powerpc/powerpc32/440: Move directory from
51322         ports/sysdeps/powerpc/powerpc32/440.
51323         * sysdeps/powerpc/powerpc32/464: Move directory from
51324         ports/sysdeps/powerpc/powerpc32/464.
51325         * sysdeps/powerpc/powerpc32/476: Move directory from
51326         ports/sysdeps/powerpc/powerpc32/476.
51327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51328         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51330         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51332         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51334         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51336         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51337         * README: Update for powerpc-*-linux-gnu software floating point
51338         support in libc.
51340         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51341         case to powerpc/powerpc32*.
51342         * sysdeps/unix/sysv/linux/configure: Regenerated.
51344         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51345         (_FPU_MASK_OM): Define as 0x04.
51346         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51347         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51348         0x00c10080.
51349         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51350         0x0000003c.
51351         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51354         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51355         getcontext_e500.
51356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51357         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51358         setcontext_e500.
51359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51360         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51361         and setcontext_e500.
51363 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
51365         * locale/iso-3166.def: Update iso-1366.def and related occurrences
51367 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51369         * manual/threads.texi (Default Thread Attributes): Fix typo.
51371 2013-10-04  Will Newton  <will.newton@linaro.org>
51373         * malloc/Makefile: Add tst-memalign.
51374         * malloc/tst-memalign.c: New file.
51376         * malloc/tst-posix_memalign.c: Add comments.
51377         (do_test): Add comments and call free on all potentially
51378         allocated pointers. Add space after cast.
51380         * malloc/tst-pvalloc.c: Add comments.
51381         (do_test): Add comments and call free on all potentially
51382         allocated pointers. Remove duplicate check for NULL pointer.
51383         Add space after cast.
51385         * malloc/tst-valloc.c: Add comments.
51386         (do_test): Add comments and call free on all potentially
51387         allocated pointers. Remove duplicate check for NULL pointer.
51388         Add space after cast.
51390 2013-10-04  Alan Modra  <amodra@gmail.com>
51392         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51393         Use stdint types in rather than __attribute__((mode())).
51394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51396 2013-10-04  Alan Modra  <amodra@gmail.com>
51398         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51399         Correct handling of unaligned relocs for little-endian.
51400         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51402 2013-10-04  Alan Modra  <amodra@gmail.com>
51404         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51405         * configure: Regenerate.
51406         * nptl/shlib-versions: Powerpc*le starts at 2.18.
51407         * shlib-versions: Likewise.
51409 2013-10-04  Alan Modra  <amodra@gmail.com>
51411         * string/tester.c (test_memrchr): Increment reported test cycle.
51413 2013-10-04  Alan Modra  <amodra@gmail.com>
51415         * string/test-memcpy.c (do_one_test): When reporting errors, print
51416         string address and don't overrun end of string.
51418 2013-10-04  Alan Modra  <amodra@gmail.com>
51420         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51421         insrdi.  Make better use of reg selection to speed exit slightly.
51422         Schedule entry path a little better.  Remove useless "are we done"
51423         checks on entry to main loop.  Handle wrapping around zero address.
51424         Correct main loop count.  Handle single left-over word from main
51425         loop inline rather than by using loop_small.  Remove extra word
51426         case in loop_small caused by wrong loop count.  Add little-endian
51427         support.
51428         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51429         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
51430         cache hint.
51431         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51432         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51433         support.  Avoid rlwimi.
51434         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51436 2013-10-04  Alan Modra  <amodra@gmail.com>
51438         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51439         insrdi.  Formatting.
51440         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51441         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51442         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51443         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51444         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51445         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51447 2013-10-04  Alan Modra  <amodra@gmail.com>
51449         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51450         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51451         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51452         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51453         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51454         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51455         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51456         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51457         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
51458         use of regs.  Use power7 mtocrf.  Tidy function tails.
51460 2013-10-04  Alan Modra  <amodra@gmail.com>
51462         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51463         Formatting.  Consistently use rXXX register defines or rN defines.
51464         Use early exit labels that avoid restoring unused non-volatile regs.
51465         Make cr field use more consistent with rWORDn compares.  Rename
51466         regs used as shift registers for unaligned loop, using rN defines
51467         for short lifetime/multiple use regs.
51468         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51469         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
51470         addi 1,1,64 to pop stack frame.  Simplify return value code.
51471         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51473 2013-10-04  Alan Modra  <amodra@gmail.com>
51475         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51476         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
51477         rather than rlwimi.
51478         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51479         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51480         little-endian support.  Correct typos.
51481         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
51482         rather than rlwimi.
51483         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
51484         in loop and entry code to keep "and." results.
51485         (strchr): Add little-endian support.  Comment.  Move cntlzd
51486         earlier in tail.
51487         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51489 2013-10-04  Alan Modra  <amodra@gmail.com>
51491         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51492         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51493         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51494         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51496 2013-10-04  Alan Modra  <amodra@gmail.com>
51498         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51499         (rTMP): Define as r11.
51500         (strcmp): Add little-endian support.  Optimise tail.
51501         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51502         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51503         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51504         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51505         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51506         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51507         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51509 2013-10-04  Alan Modra  <amodra@gmail.com>
51511         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51512         little-endian support.  Remove unnecessary "are we done" tests.
51513         Handle "s" wrapping around zero and extremely large "size".
51514         Correct main loop count.  Handle single left-over word from main
51515         loop inline rather than by using small_loop.  Correct comments.
51516         Delete "zero" tail, use "end_max" instead.
51517         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51519 2013-10-04  Alan Modra  <amodra@gmail.com>
51521         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51522         support.  Don't branch over align.
51523         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51524         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51525         support.  Rearrange tmp reg use to suit.  Comment.
51526         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51528 2013-10-04  Alan Modra  <amodra@gmail.com>
51530         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51532 2013-10-04  Alan Modra  <amodra@gmail.com>
51534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51535         conditional form of branch and link when obtaining pc.
51536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51538 2013-10-04  Alan Modra  <amodra@gmail.com>
51540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51541         HIWORD/LOWORD.
51542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51545 2013-10-04  Alan Modra  <amodra@gmail.com>
51547         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51548         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51549         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51550         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51551         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51552         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51553         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51554         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51555         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51556         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51558 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51559             Alistair Popple <alistair@ozlabs.au.ibm.com>
51560             Alan Modra <amodra@gmail.com>
51562         [BZ #15723]
51563         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51564         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51565         _dl_hwcap access for little-endian.
51566         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
51567         destroy vmx regs when saving unaligned.
51568         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51569         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
51570         destroy vmx regs when saving unaligned.
51572 2013-10-04  Alan Modra  <amodra@gmail.com>
51574         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51575         Don't use a union to pack hi/low value.
51577 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51579         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51580         for little-endian.
51581         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51582         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51583         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51584         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51585         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51587 2013-10-04  Alan Modra  <amodra@gmail.com>
51589         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51590         constants to usual value for .cst8 section, and remove redundant
51591         high address load.
51592         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51593         constant for 0x1p52.  Load little-endian words of double from
51594         correct stack offsets.
51596 2013-10-04  Alan Modra  <amodra@gmail.com>
51598         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51599         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51600         words of double from correct stack offsets.
51601         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51602         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51603         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51604         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51605         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51606         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51607         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51608         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51609         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51610         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51611         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51612         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51613         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51614         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51615         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51616         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51617         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51619 2013-10-04  Alan Modra  <amodra@gmail.com>
51621         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51622         64-bit int/double union.
51623         (_FPU_SETCW): Likewise.
51624         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51625         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51627 2013-10-04  Alan Modra  <amodra@gmail.com>
51629         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51630         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51632 2013-10-04  Alan Modra  <amodra@gmail.com>
51634         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51635         use vector int constants.
51636         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51638 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51640         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51641         array with long long.
51642         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51643         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51644         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51645         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51646         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51647         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51648         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51649         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51650         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51651         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51652         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51653         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51654         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51656 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51658         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51659         (__signbit): Likewise.  Correct for little-endian.
51660         (__signbitl): Call __signbit.
51661         (lrint): Correct for little-endian.
51662         (lrintf): Call lrint.
51664 2013-10-04  Alan Modra  <amodra@gmail.com>
51666         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51667         union 32-bit int array member with 64-bit int array.
51668         (t515, tm256): Double rather than long double.
51669         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51671 2013-10-04  Alan Modra  <amodra@gmail.com>
51673         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51674         Delete.
51675         (IEEE854_LONG_DOUBLE_BIAS): Delete.
51676         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51677         version of math_ldbl.h.
51679 2013-10-04  Alan Modra  <amodra@gmail.com>
51681         [BZ #15734], [BZ #15735]
51682         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51683         all uses of ieee875 long double macros and unions.  Simplify test
51684         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
51685         ldbl_extract_mantissa value for ix,iy exponents.  Properly
51686         normalize after ldbl_extract_mantissa, and don't add hidden bit
51687         already handled.  Don't treat low word of ieee854 mantissa like
51688         low word of IBM long double and mask off bit when testing for
51689         zero.
51690         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51691         all uses of ieee875 long double macros and unions.  Simplify tests
51692         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
51693         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
51694         two1022, instead use their values.  Recognise that tests for large
51695         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
51696         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51697         Rewrite all uses of ieee875 long double macros and unions.  Simplify
51698         test for 0.0L and nan.  Correct negation.
51699         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51700         ieee875 long double macros and unions.  Correct output for large
51701         magnitude x.  Correct absolute value calculation.
51702         (__erfcl): Likewise.
51703         * math/libm-test.inc: Add tests for errors discovered in IBM long
51704         double versions of fmodl, remainderl, erfl and erfcl.
51706 2013-10-04  Alan Modra  <amodra@gmail.com>
51708         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51709         all uses of ieee854 long double macros and unions.  Simplify tests
51710         for long doubles that are fully specified by the high double.
51711         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51712         Likewise.
51713         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51714         Remove dead code too.
51715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51716         (__ieee754_ynl): Likewise.
51717         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51718         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51719         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51720         Remove dead code too.
51721         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51722         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51723         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51724         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51725         Simplify.
51726         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51727         Simplify.
51728         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51729         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51730         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51731         Comment on variable precision.
51732         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51733         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51734         Likewise.
51735         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51736         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51737         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51738         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51739         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51741 2013-10-04  Alan Modra  <amodra@gmail.com>
51743         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51744         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51745         all uses of ieee854 long double macros and unions.
51746         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51747         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51748         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51749         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51750         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51751         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51752         Likewise.
51753         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51754         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51755         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51756         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51757         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51758         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51759         Simplify sign and nan test too.
51760         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51761         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51762         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51763         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51764         Likewise.
51765         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51766         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51767         Likewise.
51768         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51769         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51770         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51771         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51772         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51773         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51775 2013-10-04  Alan Modra  <amodra@gmail.com>
51777         * stdio-common/printf_size.c (__printf_size): Don't use
51778         union ieee854_long_double in fpnum union.
51779         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
51780         signbit macro to retrieve sign from long double.
51781         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51782         retrieve sign from long double.
51783         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51784         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51785         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51786         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51787         * math/test-misc.c (main): Don't use union ieee854_long_double.
51789 2013-10-04  Alan Modra  <amodra@gmail.com>
51791         [BZ #15680]
51792         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51793         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51794         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51795         calculation.  Remove unnecessary test for denormal exponent.
51796         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51797         Correct handling of denormals.  Avoid undefined shift behaviour.
51798         Correct normalisation of low mantissa when low double is denormal.
51799         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51800         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
51801         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51802         Correct normalisation of low mantissa.  Test for overflow of high
51803         mantissa and normalise.
51804         (ldbl_nearbyint): Use more readable constant for two52.
51805         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51806         (__mpn_construct_long_double): Fix test for overflow of high
51807         mantissa and correct normalisation.  Avoid undefined shift.
51809 2013-10-04  Alan Modra  <amodra@gmail.com>
51811         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51812         (union ibm_extended_long_double): Define as an array of ieee754_double.
51813         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51814         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51815         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51816         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51817         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51818         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51819         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51820         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51821         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51822         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51823         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51825 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
51827         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51828         page size instead of calling getpagesize.
51830         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51831         (LOCFILE_ALIGN_MASK): Likewise.
51832         (LOCFILE_ALIGN_UP): Likewise.
51833         (LOCFILE_ALIGNED_P): Likewise.
51834         * locale/programs/ld-collate.c (collate_output): Use the new
51835         macros instead of __alignof__ (int32_t).
51836         * locale/weight.h (findidx): Likewise.
51838 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
51840         [BZ #431]
51841         * manual/string.texi: Fix strncat and wcsncat.
51843 2013-10-03  Brooks Moses  <bmoses@google.com>
51845         [BZ #15915]
51846         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51847         * Makerules: ...here, and adjust associated comments.
51849 2013-10-02  Will Newton  <will.newton@linaro.org>
51851         * malloc/Makefile: Add tst-pvalloc.
51852         * malloc/tst-pvalloc.c: New file.
51854 2013-10-02  Will Newton  <will.newton@linaro.org>
51856         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51857         improve test coverage.
51859 2013-10-02  Will Newton  <will.newton@linaro.org>
51861         * malloc/Makefile: Add tst-posix_memalign.
51862         * malloc/tst-posix_memalign.c: New file.
51864 2013-10-01  Eric Blake  <eblake@redhat.com>
51866         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51867         Use __THROWNL rather than __THROW on static functions.
51869 2013-09-30  Petr Machata  <pmachata@redhat.com>
51871         * elf/elf.h (R_AARCH64_ABS16): New macro.
51872         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51873         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51874         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51875         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51876         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51877         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51878         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51879         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51880         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51881         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51882         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51883         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51884         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51885         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51886         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51887         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51888         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51889         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51890         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51891         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51892         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51893         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51894         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51895         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51896         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51897         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51898         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51899         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51900         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51901         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51902         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51903         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51904         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51905         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51906         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51907         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51908         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51909         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51910         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51911         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51912         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51913         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51914         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51915         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51916         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51917         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51918         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51919         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51920         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51921         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51922         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51923         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51924         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51925         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51926         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51927         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51928         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51929         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51930         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51931         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51932         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51933         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51934         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51935         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51936         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51937         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51938         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51939         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51940         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51941         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51942         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51943         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51944         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51945         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51946         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51947         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51948         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51949         (R_AARCH64_TLSDESC_LDR): Likewise.
51950         (R_AARCH64_TLSDESC_ADD): Likewise.
51951         (R_AARCH64_TLSDESC_CALL): Likewise.
51953 2013-09-30  Andreas Schwab  <schwab@suse.de>
51955         [BZ #15048]
51956         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51957         the nss database lookup.
51958         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51959         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51961 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
51963         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51965 2013-09-28  P. J. McDermott  <pj@pehjota.net>
51967         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51968         ${Bash-specific parameter/pattern/string} parameter expansion.
51969         * sysdeps/unix/make-syscalls.sh: Likewise.
51971 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51973         * sysdeps/sh/stackguard-macros.h: New file.
51975 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
51977         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51979         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51980         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51981         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51982         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51984 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51986         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
51987         Fix thread ID register.
51989 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
51991         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
51992         [POSIX || UNIX98]: Require rather than permitting all symbols from
51993         <time.h>.
51994         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
51995         element of struct sched_param.
51996         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
51997         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
51998         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
51999         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52000         constant.
52002 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52004         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52005         argument calculation.
52007 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52009         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52010         Expect macro.
52011         [POSIX] (pthread_attr_t): Do not require type.
52012         [POSIX] (pthread_cond_t): Likewise.
52013         [POSIX] (pthread_condattr_t): Likewise.
52014         [POSIX] (pthread_key_t): Likewise.
52015         [POSIX] (pthread_mutex_t): Likewise.
52016         [POSIX] (pthread_mutexattr_t): Likewise.
52017         [POSIX] (pthread_once_t): Likewise.
52018         [POSIX] (pthread_t): Likewise.
52019         [POSIX-based standards] (pthread_atfork): Expect function.
52021 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52022             Richard Sandiford  <richard@codesourcery.com>
52024         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52025         (swap_endianness_p): New extern variable.
52026         (set_big_endian): New inline function.
52027         (maybe_swap_uint32): Likewise.
52028         (maybe_swap_uint32_array): Likewise.
52029         (maybe_swap_uint32_obstack): Likewise.
52030         * locale/programs/locfile.c: Include <stdbool.h>.
52031         (swap_endianness_p): New variable.
52032         (add_locale_uint32): Call maybe_swap_uint32.
52033         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52034         (write_locale_data): Call maybe_swap_uint32_array.
52035         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52036         maybe_swap_uint32.
52037         (obstack_int32_grow_fast): Likewise.
52038         (output_weightwc): Call maybe_swap_uint32_obstack.
52039         (collate_output): Likewise.
52040         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52041         (OPT_LITTLE_ENDIAN): Likewise.
52042         (options): Add --little-endian and --big-endian options.
52043         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52044         * locale/programs/locarchive.c: Include "locfile.h".
52045         (GET): New macro.
52046         (SET): Likewise.
52047         (INC): Likewise.
52048         (create_archive): Use the new macros to access fields of
52049         structures directly mapped from or written to locale archives.
52050         (oldlocrecentcmp): Likewise.
52051         (enlarge_archive): Likewise.
52052         (insert_name): Likewise.
52053         (add_alias): Likewise.
52054         (add_locale): Likewise.
52055         (delete_locales_from_archive): Likewise.
52056         (show_archive_content): Likewise.
52057         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52058         locale data.
52060 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52062         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52063         http://www.gnu.org/doc/freemanuals.texi.
52064         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52066 2013-09-24  Will Newton  <will.newton@linaro.org>
52068         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52069         macro.
52071 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52073         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52074         unsigned char.
52076 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52078         * manual/threads.texi (POSIX Threads): Fix a typo.
52080 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52082         [BZ #14547]
52083         * string/tst-strcoll-overflow.c: New test case.
52084         * string/Makefile (xtests): Add tst-strcoll-overflow.
52085         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52086         cache if string sizes may cause integer overflow.
52088         [BZ #14547]
52089         * string/strcoll_l.c (coll_seq): New members rule, idx,
52090         save_idx and back_us.
52091         (get_next_seq_nocache): New function.
52092         (do_compare_nocache): New function.
52093         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52094         when malloc fails.
52096 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52098         [BZ #15754]
52099         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52100         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52101         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52103         [BZ #15754]
52104         * elf/Makefile (tests): Add tst-ptrguard1.
52105         (tests-static): Add tst-ptrguard1-static.
52106         (tst-ptrguard1-ARGS): Define.
52107         (tst-ptrguard1-static-ARGS): Define.
52108         * elf/tst-ptrguard1.c: New file.
52109         * elf/tst-ptrguard1-static.c: New file.
52110         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52111         * sysdeps/i386/stackguard-macros.h: Likewise.
52112         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52113         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52114         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52115         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52116         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52117         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52119 2013-09-23  Hector Marco  <hecmargi@upv.es>
52120             Ismael Ripoll  <iripoll@disca.upv.es>
52121             Carlos O'Donell  <carlos@redhat.com>
52123         [BZ #15754]
52124         * sysdeps/generic/stackguard-macros.h: Define
52125         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52126         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52127         Define __pointer_chk_guard_local.
52128         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52129         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52131 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52133         [BZ #15859]
52134         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52136 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52138         * include/string.h (__ffs): Declare as hidden.
52139         * string/ffs.c (__ffs): Define as hidden.
52140         * sysdeps/i386/ffs.c (__ffs): Likewise.
52141         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52142         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52143         * sysdeps/s390/ffs.c (__ffs): Likewise.
52144         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52146 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52148         * NEWS: Mention malloc probes.
52150         * malloc/arena.c (new_heap): New memory_heap_new probe.
52151         (grow_heap): New memory_heap_more probe.
52152         (shrink_heap): New memory_heap_less probe.
52153         (heap_trim): New memory_heap_free probe.
52154         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52155         (systrim): New memory_sbrk_less probe.
52156         * manual/probes.texi: Document them.
52158         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52159         * manual/probes.texi: Document it.
52161         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52162         (__libc_realloc): Add memory_realloc_retry probe.
52163         (__libc_memalign): Add memory_memalign_retry probe.
52164         (__libc_valloc): Add memory_valloc_retry probe.
52165         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52166         (__libc_calloc): Add memory_calloc_retry probe.
52167         * manual/probes.texi: Document them.
52169         * malloc/arena.c (get_free_list): Add probe
52170         memory_arena_reuse_free_list.
52171         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52172         and memory_arena_reuse.
52173         (arena_get2) [!PER_THREAD]: Likewise.
52174         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52175         memory_arena_reuse_realloc.
52176         * manual/probes.texi: Document them.
52178         * malloc/malloc.c (__libc_free): Add
52179         memory_mallopt_free_dyn_thresholds probe.
52180         (__libc_mallopt): Add multiple memory_mallopt probes.
52181         * manual/probes.texi: Document them.
52183         * malloc/malloc.c: Include stap-probe.h.
52184         (__libc_mallopt): Add memory_mallopt probe.
52185         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52186         * manual/probes.texi: New.
52187         * manual/Makefile (chapters): Add probes.
52188         * manual/threads.texi: Set next node.
52190 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52192         [BZ #15963, #13985]
52193         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52194         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52195         Add `Chinese' to `nan' entry name.
52197 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52199         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52200         (POLYNOMIAL): Likewise.
52201         (TAYLOR_SINCOS): Likewise.
52202         (TAYLOR_SLOW): Likewise.
52203         (__sin): Use TAYLOR_SINCOS.
52204         (__cos): Likewise.
52205         (slow): Use TAYLOR_SLOW.
52206         (sloww): Likewise.
52207         (bsloww): Likewise.
52208         (csloww): Likewise.
52210 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52212         * stdlib/strtod_l.c: Fix buffer overrun.
52214 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52216         * benchtests/Makefile (bench): Add sincos.
52217         * benchtests/bench-sincos.c: New file.
52219         * math/libm-test.inc (cos_test_data): New test inputs.
52220         (sin_test_data): Likewise.
52222         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52223         macro.
52224         (__sin): Use it.
52225         (__cos): Likewise.
52226         (slow1): Likewise.
52227         (slow2): Likewise.
52228         (sloww1): Likewise.
52229         (sloww2): Likewise.
52230         (bsloww1): Likewise.
52231         (bsloww2): Likewise.
52232         (cslow2): Likewise.
52233         (csloww1): Likewise.
52234         (csloww2): Likewise.
52236         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52237         function.
52238         (__sin): Use it.
52239         (__cos): Likewise.
52241         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52242         gotos.
52243         (__cos): Likewise.
52245 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
52247         * config.h.in (HAVE_MIPS_NAN2008): New macro.
52248         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52249         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52250         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52251         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52252         * elf/cache.c (print_entry): Handle the new cache flags.
52254 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52255             Aldy Hernandez  <aldyh@redhat.com>
52257         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52258         Change condition to [_SOFT_FLOAT].
52259         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52262         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52264         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52266         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52267         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52268         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52269         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52270         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52271         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52272         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52273         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52274         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52275         declaration.
52277 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52279         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52280         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52281         (__longjmp): Use LOAD_GP to load saved GPRs.
52282         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52283         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52284         (__sigsetjmp): Use SAVE_GP to save GPRs.
52286         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52287         Do not append -msoft-float.
52288         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52290 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52292         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52294 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
52296         [BZ #15966]
52297         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52298         (_FPU_GETCW): Use initial "__" on variable and field names but not
52299         on macro parameter name.
52300         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
52301         parentheses around reference to macro parameter.
52303 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
52305         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52306         prototype.
52307         (ctype_startup): Use uint32_t in cast and sizeof for
52308         ctype->charnames.
52310 2013-09-11  Jia Liu  <proljc@gmail.com>
52312         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52313         __daddr_t_defined.
52314         [__FreeBSD__]: Likewise.
52316 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
52318         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52319         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52320         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52321         (strchr): Remove __strchr_sse42 ifunc selection.
52322         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52323         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52325 2013-09-11  Will Newton  <will.newton@linaro.org>
52327         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52328         parameter to RES. Remove hardcoded 1000 value.
52329         * benchtests/bench-skeleton.c (main): Pass RES parameter
52330         to TIMING_INIT and multiply result by 1000.
52332 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52336 2013-09-11  Andreas Schwab  <schwab@suse.de>
52338         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52339         if not defined.
52340         (O_TMPFILE) [__USE_GNU]: Define.
52341         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52342         Define.
52344 2013-09-11  Will Newton  <will.newton@linaro.org>
52346         [BZ #15857]
52347         * malloc/malloc.c (__libc_memalign): Check the value of bytes
52348         does not overflow.
52350 2013-09-11  Will Newton  <will.newton@linaro.org>
52352         [BZ #15856]
52353         * malloc/malloc.c (__libc_valloc): Check the value of bytes
52354         does not overflow.
52356 2013-09-11  Will Newton  <will.newton@linaro.org>
52358         [BZ #15855]
52359         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52360         does not overflow.
52362 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
52364         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52365         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52366         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52367         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52368         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52370 2013-09-10  Allan McRae  <allan@archlinux.org>
52372         [BZ #15748]
52373         * manual/arith.texi (Parsing of Floats): Clarify
52374         cross-reference.
52376         [BZ #15849]
52377         * manual/install.texi (Running make install): Mention
52378         --enable-pt-chown.
52379         * INSTALL: Regenerated.
52381 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
52383         * csu/init-first.c (_init): Remove the !SHARED condition around
52384         FPU control word initialization.
52385         * elf/dl-support.c (_dl_fpu_control): New variable.
52386         (_dl_aux_init) <AT_FPUCW>: Initialize it.
52387         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52388         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52389         * math/test-fpucw-static.c: New file.
52390         * math/test-fpucw-ieee.c: New file.
52391         * math/test-fpucw-ieee-static.c: New file.
52392         * math/Makefile (tests): Add `test-fpucw-ieee' and
52393         `$(tests-static)'.
52394         (tests-static): New variable.
52395         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52396         dependency to...
52397         [($(build-shared),yes)]
52398         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52399         ... this.
52400         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52401         New dependency.
52403 2013-09-09  Allan McRae  <allan@archlinux.org>
52405         [BZ #15939]
52406         * manual/string.texi (Collation Functions): Fix typo in
52407         strcoll example.
52408         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52410         [BZ #15893]
52411         * stdlib/isomac.c (get_null_defines): Fix memory leak.
52413         [BZ #15892]
52414         * libio/memstream.c (open_memstream): Fix memory leak.
52415         * libio/wmemstream.c (open_wmemstream): Likewise.
52417         [BZ #15895]
52418         * nscd/netgroupcache.c: Fix nesting of ifdefs.
52420 2013-09-09  Will Newton  <will.newton@linaro.org>
52422         * malloc/Makefile: Add tst-realloc to tests.
52423         * malloc/tst-realloc.c: New file.
52425 2013-09-09  Allan McRae  <allan@archlinux.org>
52427         [BZ #15844]
52428         * COPYING: Update from GNU website to fix FSF address.
52429         * COPYING.LIB: Likewise.
52431 2013-09-06  David S. Miller  <davem@davemloft.net>
52433         * po/zh_TW.po: Update Chinese (traditional) translation from
52434         translation project.
52436 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
52437             Joseph Myers  <joseph@codesourcery.com>
52439         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52440         "localeinfo.h".
52441         (obstack_chunk_alloc): New macro.
52442         (obstack_chunk_free): Likewise.
52443         (record_offset): New function.
52444         (init_locale_data): Likewise.
52445         (align_locale_data): Likewise.
52446         (add_locale_empty): Likewise.
52447         (add_locale_raw_data): Likewise.
52448         (add_locale_raw_obstack): Likewise.
52449         (add_locale_string): Likewise.
52450         (add_locale_wstring): Likewise.
52451         (add_locale_uint32): Likewise.
52452         (add_locale_uint32_array): Likewise.
52453         (add_locale_char): Likewise.
52454         (start_locale_structure): Likewise.
52455         (end_locale_structure): Likewise.
52456         (start_locale_prelude): Likewise.
52457         (end_locale_prelude): Likewise.
52458         (write_locale_data): Take locale_file structure rather than an
52459         iovec.
52460         * locale/programs/locfile.h: Include "obstack.h".
52461         (struct locale_file): Change to store locale file contents instead
52462         of header.
52463         (init_locale_data): New prototype.
52464         (align_locale_data): Likewise.
52465         (add_locale_empty): Likewise.
52466         (add_locale_raw_data): Likewise.
52467         (add_locale_raw_obstack): Likewise.
52468         (add_locale_string): Likewise.
52469         (add_locale_wstring): Likewise.
52470         (add_locale_uint32): Likewise.
52471         (add_locale_uint32_array): Likewise.
52472         (add_locale_char): Likewise.
52473         (start_locale_structure): Likewise.
52474         (end_locale_structure): Likewise.
52475         (start_locale_prelude): Likewise.
52476         (end_locale_prelude): Likewise.
52477         (write_locale_data): Update prototype.
52478         * locale/programs/3level.h (struct TABLE): Remove result field.
52479         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52480         Use new locale_file interface.
52481         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52482         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52483         * locale/programs/ld-address.c (address_output): Use new
52484         locale_file interface.
52485         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52486         NO_ADD_LOCALE.
52487         (collate_finish): Don't call collseq_table_finalize.
52488         (collate_output): Use new locale_file interface.
52489         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52490         in file.
52491         (NO_FINALIZE): Change to NO_ADD_LOCALE.
52492         (TABLE): Move defines earlier in file.
52493         (ELEMENT): Likewise.
52494         (DEFAULT): Likewise.
52495         (wctrans_table_add): Move macro and inline function earlier in
52496         file.
52497         (struct wctype_table): Move type earlier in file.
52498         (add_locale_wctype_table): New static prototype.
52499         (struct locale_ctype_t): Use logical types instead of struct iovec
52500         pointers for members.
52501         (ctype_output): Use new locale_file interface.
52502         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
52503         new locale_file interface.
52504         (allocate_arrays): Update for use of new locale_file interface.
52505         * locale/programs/ld-identification.c (identification_output): Use
52506         new locale_file interface.
52507         * locale/programs/ld-measurement.c (measurement_output): Likewise.
52508         * locale/programs/ld-messages.c (messages_output): Likewise.
52509         * locale/programs/ld-monetary.c (monetary_output): Likewise.
52510         * locale/programs/ld-name.c (name_output): Likewise.
52511         * locale/programs/ld-numeric.c (numeric_output): Likewise.
52512         * locale/programs/ld-paper.c (paper_output): Likewise.
52513         * locale/programs/ld-telephone.c (telephone_output): Likewise.
52514         * locale/programs/ld-time.c (time_output): Likewise.
52516 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52518         * benchtests/Makefile: Add memrchr benchmark.
52519         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52520         benchmark as memrchr.
52521         * benchtests/bench-memrchr-ifunc.c: New file.
52522         * benchtests/bench-memrchr.c: New file.
52524 2013-09-06   Will Newton  <will.newton@linaro.org>
52526         * benchtests/Makefile (string-bench): Add memcpy.
52528 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
52529             Cong Wang  <amwang@redhat.com>
52531         [BZ #15850]
52532         * sysdeps/unix/sysv/linux/bits/in.h
52533         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52534         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52535         before __USE_KERNEL_IPV6_DEFS uses.
52536         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52537         IPPROTO_BEETPH.
52538         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52539         sockaddr_in6, or ipv6_mreq.
52541 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52543         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52544         memory access for final bytes in some large inputs.
52545         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52547 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52549         * string/test-memrchr.c: New file.
52550         * string/test-memrchr-ifunc.c: New file.
52551         * string/Makefile: Add new memrchr testcase.
52553 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
52555         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52556         fanotify_init returns EPERM.
52558 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52560         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52561         errors.
52562         (top level): Treat second token from macro or constant entries for
52563         allowed headers as allowed.
52564         * include/complex.h: Condition internal declarations on
52565         [!_ISOMAC].
52566         * include/fenv.h: Condition include of <stdbool.h> and internal
52567         declarations on [!_ISOMAC].
52569 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
52571         [BZ #15923]
52572         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52574 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52576         * configure.in (--enable-versioning): Remove configure option.
52577         (libc_cv_asm_symver_directive): Remove configure test.
52578         (libc_cv_ld_version_script_option): Likewise.
52579         (VERSIONING): Remove variable and AC_SUBST.
52580         (DO_VERSIONING): Remove AC_DEFINE.
52581         * configure: Regenerated.
52582         * config.h.in (DO_VERSIONING): Remove macro.
52583         * Makerules [$(versioning) = yes]: Change conditionals to
52584         [$(build-shared) = yes].
52585         * config.make.in (versioning): Remove variable.
52586         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52587         [$(build-shared) = yes].
52588         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52589         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52590         * elf/Makefile [$(versioning) = yes]: Change conditionals to
52591         [$(build-shared) = yes].
52592         * extra-lib.mk [$(versioning) = yes]: Likewise.
52593         * hurd/Makefile [$(versioning) = yes]: Likewise.
52594         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52595         [SHARED].
52596         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52597         [SHARED].
52598         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52599         [SHARED && !NO_HIDDEN].
52600         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52601         [SHARED].
52602         [SHARED && DO_VERSIONING]: Likewise..
52603         * libio/Makefile [$(versioning) = yes]: Change conditionals to
52604         [$(build-shared) = yes].
52605         * manual/install.texi (--disable-versioning): Remove
52606         documentation.
52607         * INSTALL: Regenerated.
52608         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52609         to [SHARED].
52610         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52611         [$(build-shared) = yes].
52612         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52613         * sysdeps/i386/i686/multiarch/strstr-c.c
52614         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52615         [SHARED && !NO_HIDDEN].
52616         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52617         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52618         * sysdeps/powerpc/powerpc32/dl-machine.c
52619         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52620         * sysdeps/powerpc/powerpc32/sysdep.h
52621         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52622         to [SHARED && PIC && !NO_HIDDEN].
52623         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52624         conditional to [SHARED].
52626 2013-09-04   Will Newton  <will.newton@linaro.org>
52628         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52629         * benchtests/bench-string.h: Include bench-timing.h instead
52630         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52631         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52632         call to HP_TIMING_DIFF_INIT.
52633         * benchtests/bench-memccpy.c: Use bench-timing.h macros
52634         instead of hp-timing.h macros.
52635         * benchtests/bench-memchr.c: Likewise.
52636         * benchtests/bench-memcmp.c: Likewise.
52637         * benchtests/bench-memcpy.c: Likewise.
52638         * benchtests/bench-memmem.c: Likewise.
52639         * benchtests/bench-memmove.c: Likewise.
52640         * benchtests/bench-memset.c: Likewise.
52641         * benchtests/bench-rawmemchr.c: Likewise.
52642         * benchtests/bench-strcasecmp.c: Likewise.
52643         * benchtests/bench-strcasestr.c: Likewise.
52644         * benchtests/bench-strcat.c: Likewise.
52645         * benchtests/bench-strchr.c: Likewise.
52646         * benchtests/bench-strcmp.c: Likewise.
52647         * benchtests/bench-strcpy.c: Likewise.
52648         * benchtests/bench-strcpy_chk.c: Likewise.
52649         * benchtests/bench-strlen.c: Likewise.
52650         * benchtests/bench-strncasecmp.c: Likewise.
52651         * benchtests/bench-strncat.c: Likewise.
52652         * benchtests/bench-strncmp.c: Likewise.
52653         * benchtests/bench-strncpy.c: Likewise.
52654         * benchtests/bench-strnlen.c: Likewise.
52655         * benchtests/bench-strpbrk.c: Likewise.
52656         * benchtests/bench-strrchr.c: Likewise.
52657         * benchtests/bench-strspn.c: Likewise.
52658         * benchtests/bench-strstr.c: Likewise.
52660 2013-09-04  Will Newton  <will.newton@linaro.org>
52662         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52664 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
52666         [BZ #15427]
52667         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52668         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52669         * math/libm-test.inc (lgamma_test_data): Add more tests.
52670         * sysdeps/i386/fpu/libm-test-ulps: Update.
52671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52673 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
52675         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52676         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52677         Add ifunc.
52678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52679         Add strcmp-sse2-unaligned
52680         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52682 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52684         * Versions.def (libc): Add GLIBC_2.19.
52686 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52688         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52689         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52691 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
52693         [BZ #14155]
52694         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52695         intermediate calculations in recurrence.
52696         (__ieee754_ynf): Likewise.
52697         * math/libm-test.inc (jn_test_data): Do not allow spurious
52698         underflow exception.  Add more tests.
52699         (yn_test_data): Add more tests.
52700         * sysdeps/i386/fpu/libm-test-ulps: Update.
52701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52703 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
52705         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52707 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52709         * csu/init-first.c: Fix then/than typos.
52710         * locale/programs/ld-collate.c: Likewise.
52711         * locale/programs/linereader.h: Likewise.
52712         * manual/charset.texi: Likewise.
52713         * manual/filesys.texi: Likewise.
52714         * manual/stdio.texi: Likewise.
52715         * manual/string.texi: Likewise.
52716         * stdlib/fmtmsg.c: Likewise.
52717         * sysdeps/i386/stpncpy.S: Likewise.
52718         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52719         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52720         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52721         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52723 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52725         * elf/dl-open.c: Fix typos.
52726         * iconvdata/gbbig5.c: Likewise.
52727         * iconvdata/iso-2022-jp.c: Likewise.
52728         * iconv/gconv_int.h: Likewise.
52729         * iconv/loop.c: Likewise.
52730         * nis/rpcsvc/nis.h: Likewise.
52731         * resolv/ns_name.c: Likewise.
52732         * stdio-common/vfscanf.c: Likewise.
52733         * streams/stropts.h: Likewise.
52734         * sunrpc/rpc_thread.c: Likewise.
52735         * sysdeps/i386/strpbrk.S: Likewise.
52736         * sysdeps/ieee754/k_standard.c: Likewise.
52737         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52738         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52739         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52740         * sysdeps/mach/hurd/profil.c: Likewise.
52741         * sysdeps/s390/dl-procinfo.h: Likewise.
52742         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52743         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52744         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52745         * sysdeps/x86_64/dl-trampoline.S: Likewise.
52746         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52748 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
52750         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52751         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52753 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
52755         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52756         aix specific files.
52757         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52758         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52759         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52760         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52761         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52762         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52763         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52764         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52766 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52767             Roland McGrath  <roland@hack.frob.com>
52769         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52770         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52772 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52774         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52775         __executable_start symbol instead of _start.
52777 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52779         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52780         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52781         Move macros to...
52782         * sysdeps/gnu/ldsodefs.h: ... this new file.
52784         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52785         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52786         instead of ELFOSABI_LINUX.
52788         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52789         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52790         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52791         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52792         Likewise.
52793         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52794         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52795         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52796         Likewise.
52797         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52798         (ibm_extended_long_double): Add ieee_nan member.
52799         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52800         (do_test): New function.
52802         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52803         TEST_TRUNC.
52804         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52805         functions, renamed from truncdfsf_test, trunctfsf_test,
52806         trunctfdf_test.
52807         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52808         functions.
52809         (do_test): Run all these.
52811 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
52813         * argp/argp-help.c: Fix typos.
52814         * argp/argp-parse.c: Likewise.
52815         * debug/backtracesyms.c: Likewise.
52816         * elf/elf.h: Likewise.
52817         * malloc/malloc.c: Likewise.
52818         * nis/nis_print.c: Likewise.
52819         * resolv/res_comp.c: Likewise.
52820         * stdlib/stdlib.h: Likewise.
52821         * sunrpc/clnt_tcp.c: Likewise.
52822         * sunrpc/clnt_udp.c: Likewise.
52823         * sunrpc/clnt_unix.c: Likewise.
52824         * sysdeps/unix/bsd/ptsname.c: Likewise.
52825         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52826         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52828         Likewise.
52829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52830         Likewise.
52831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52832         Likewise.
52833         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52835 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52837         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52840 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
52842         [BZ #15897]
52843         * dlfcn/Makefile (tests): Add bug-dl-leaf.
52844         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52845         ($(objpfx)bug-dl-leaf): New rule.
52846         ($(objpfx)bug-dl-leaf.so): Likewise.
52847         ($(objpfx)bug-dl-leaf.out): Likewise.
52848         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52849         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52850         * dlfcn/bug-dl-leaf.c: New test.
52851         * dlfcn/bug-dl-leaf-lib.c: Likewise.
52852         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52853         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52854         (dlclose): Likewise.
52855         (dlmopen): Likewise.
52857 2013-08-27  Roland McGrath  <roland@hack.frob.com>
52859         * include/netdb.h [!_ISOMAC]:
52860         Don't include <tls.h>.
52861         (h_errno, __libc_h_errno): Move declaration and macros out of
52862         [_LIBC_REENTRANT].
52864         * include/resolv.h [_RESOLV_H_]:
52865         Don't include <tls.h>.
52866         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52867         * resolv/res_libc.c: Don't include <tls.h>.
52868         (_res): Use __attribute__ ((nocommon)) in place of
52869         __attribute__ ((section (".bss"))).
52871         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52872         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52874         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52876         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52877         only under [SIOCGIFCONF && SIOCGIFNETMASK].
52879         * resolv/res_mkquery.c: Include <sys/time.h>.
52881         * inet/ifreq.c: Moved to ...
52882         * sysdeps/unix/ifreq.c: ... here.
52883         * inet/ifreq.c: New file, true stub version.
52885         * socket/sa_len.c: New file.
52886         * socket/Makefile (aux): Add it.
52887         * sysdeps/unix/sysv/linux/Makefile
52888         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52889         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52890         and #include <socket/sa_len.c>.
52891         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52892         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52894         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52895         * bits/socket.h: ... here.
52897         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52898         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52899         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52901 2013-08-27  Andreas Schwab  <schwab@suse.de>
52903         [BZ #15736]
52904         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52905         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52906         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52907         * string/test-strcasecmp.c (test_main): Run tests in several
52908         locales.
52909         * string/test-strncasecmp.c (test_main): Likewise.
52911         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52912         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52913         to __strcasecmp_nonascii and __strncasecmp_nonascii.
52914         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52915         (__strncasecmp_ssse3) [PIC]: Likewise.
52917 2013-08-26  Roland McGrath  <roland@hack.frob.com>
52919         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52921         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52922         instead of explicitly declaring xdecrypt.
52923         * nis/nss_nis/nis-publickey.c: Likewise.
52925 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52927         [BZ #15890]
52928         * nscd/aicache.c: Include res_hconf.h.
52929         (addhstaiX): Initialize res_hconf.
52931 2013-08-26  Andreas Schwab  <schwab@suse.de>
52933         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52934         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52936 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52938         * nscd/aicache.c (addhstaiX): Fix indentation.
52940 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
52942         * configure.ac: Quote $build_pt_chown test.
52943         * configure: Regenerated.
52945 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
52947         [BZ #15532]
52948         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52949         * math/s_cexpf.c (__cexpf): Likewise.
52950         * math/s_cexpl.c (__cexpl): Likewise.
52951         * math/libm-test.inc (cexp_test_data): Correct expected return
52952         value for NaN + i0.  Add another test.
52954 2013-08-22  David S. Miller  <davem@davemloft.net>
52956         * po/ca.po: Update Catalan translation from translation project.
52957         * po/uk.po: Add Ukrainian translations from translation project.
52959 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
52961         [BZ #15797]
52962         * math/s_fdim.c (__fdim): Check for infinite arguments if result
52963         is infinite, not alongside NaN test.
52964         * math/s_fdimf.c (__fdimf): Likewise.
52965         * math/s_fdiml.c (__fdiml): Likewise.
52966         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
52967         errno is unchanged.
52969 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
52971         * argp/argp-help.c: Fix typos.
52972         * crypt/speeds.c: Likewise.
52973         * csu/check_fds.c: Likewise.
52974         * elf/dl-load.c: Likewise.
52975         * elf/dl-open.c: Likewise.
52976         * elf/reldep3.c: Likewise.
52977         * elf/reldep.c: Likewise.
52978         * elf/sprof.c: Likewise.
52979         * iconv/iconv_charmap.c: Likewise.
52980         * iconv/skeleton.c: Likewise.
52981         * iconv/strtab.c: Likewise.
52982         * io/lockf64.c: Likewise.
52983         * libio/libioP.h: Likewise.
52984         * resolv/gai_notify.c: Likewise.
52985         * resolv/ns_name.c: Likewise.
52986         * resolv/ns_samedomain.c: Likewise.
52987         * resolv/res_send.c: Likewise.
52988         * stdlib/random.c: Likewise.
52989         * sunrpc/rpc/xdr.h: Likewise.
52990         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
52991         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52992         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52993         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52994         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52995         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52996         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52997         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52998         * sysdeps/mach/hurd/check_fds.c: Likewise.
52999         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53000         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53001         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53002         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53003         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53004         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53005         * sysdeps/pthread/aio_notify.c: Likewise.
53006         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53007         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53008         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53009         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53010         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53012 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53014         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53015         version if bit_Slow_SSE4_2 is set.
53016         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53017         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53019 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53021         [BZ #15867]
53022         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53023         trampoline stack frame information.
53024         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53025         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53026         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53027         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53028         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53029         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53030         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53031         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53032         sa_flags value.
53033         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53034         interrupting a syscall and set with option SA_SIGINFO.
53036 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53038         [BZ #15531]
53039         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53040         argument is infinite.
53041         * math/s_cprojf.c (__cprojf): Likewise.
53042         * math/s_cprojl.c (__cprojl): Likewise.
53043         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53044         * math/libm-test.inc (cproj_test_data): Add more tests.
53046         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53048         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53049         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53050         size.  Use __ffs to determine corresponding shift.
53052 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53053             Roland McGrath  <roland@hack.frob.com>
53055         * Makefile (INSTALL): Remove trailing blank lines from output of
53056         makeinfo.
53058 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53060         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53061         Align 32 bit compat elf_greg to 8 bytes.
53063 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53065         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53067 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53069         * string/strcoll_l.c (coll_seq): New structure.
53070         (get_next_seq_cached): New function.
53071         (get_next_seq): New function.
53072         (do_compare): New function.
53073         (STRCOLL): Use GNU style definition.  Simplify implementation
53074         by using get_next_seq, get_next_seq_cached and do_compare.
53076 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53078         [BZ #14699]
53079         CVE-2013-4237
53080         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53081         member.
53082         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53083         member.
53084         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53085         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53086         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53087         conditional.
53088         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53089         GETDENTS_64BIT_ALIGNED.
53090         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53091         * manual/filesys.texi (Reading/Closing Directory): Document
53092         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53093         strongly.
53094         * manual/conf.texi (Limits for Files): Add portability note to
53095         NAME_MAX, PATH_MAX.
53096         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53098 2013-08-13  Andreas Schwab  <schwab@suse.de>
53100         [BZ #15749]
53101         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53102         of fabs.
53103         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53104         LDBL_MAX_EXP >= 16384]: Add tests for it.
53106 2013-08-12  David S. Miller  <davem@davemloft.net>
53108         * version.h (RELEASE): Set to "development".
53109         (VERSION): Set to "2.18.90".
53110         * NEWS: Add 2.19 section.
53112 2013-08-03  David S. Miller  <davem@davemloft.net>
53114         * po/ko.po: Update Korean translation from translation project.
53116 2013-08-01  David S. Miller  <davem@davemloft.net>
53118         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53119         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53120         Bilka.
53122 2013-07-30  David S. Miller  <davem@davemloft.net>
53124         * po/fr.po: Update French translation from translation project.
53126 2013-07-28  David S. Miller  <davem@davemloft.net>
53128         * po/cs.po: Update Czech translation from translation project.
53130         * po/sv.po: Update Swedish translation from translation project.
53132 2013-07-27  David S. Miller  <davem@davemloft.net>
53134         * po/eo.po: Update Esperanto translation from translation project.
53136         * po/vi.po: Update Vietnamese translation from translation project.
53138         * po/de.po: Update German translation from translation project.
53140 2013-07-26  David S. Miller  <davem@davemloft.net>
53142         * po/bg.po: Update Bulgarian translation from translation project.
53144         * po/nl.po: Update Dutch translation from translation project.
53145         * po/pl.po: Update Polish translation from translation project.
53146         * po/ru.po: Update Russian translation from translation project.
53148 2013-07-24  David S. Miller  <davem@davemloft.net>
53150         * po/libc.pot: Update.
53152 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53154         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53155         variable page size.
53156         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53157         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53158         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53160 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53162         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53164 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53165             Andreas Schwab  <schwab@suse.de>
53166             Roland McGrath  <roland@hack.frob.com>
53167             Joseph Myers  <joseph@codesourcery.com>
53168             Carlos O'Donell  <carlos@redhat.com>
53170         [BZ #15755]
53171         * config.h.in: Define HAVE_PT_CHOWN.
53172         * config.make.in (build-pt-chown): New variable.
53173         * configure.in (--enable-pt_chown): New configure option.
53174         * configure: Regenerate.
53175         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53176         build-pt-chown is enabled.
53177         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53178         pt_chown to fix pty ownership.
53179         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53180         CLOSE_ALL_FDS.
53181         * manual/install.texi (Configuring and compiling): Mention
53182         --enable-pt_chown. Add @findex for grantpt.
53183         * INSTALL: Regenerate.
53185 2013-07-20  David S. Miller  <davem@davemloft.net>
53187         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53188         difference between 32-bit and 64-bit.
53190 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53192         [BZ #15711]
53193         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53194         Avoid system header dependency with -ffreestanding.
53195         ($(objpfx)bits/syscall%d): Likewise.
53197 2013-07-13  David S. Miller  <davem@davemloft.net>
53199         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53200         underflows from atanl/atan2l due to bug 15319.
53201         (casinh_test_data): Likewise.
53203 2013-07-07  David S. Miller  <davem@davemloft.net>
53205         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53207 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
53209         * sysdeps/i386/fpu/libm-test-ulps: Update.
53210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53212 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53214         * configure.in (--enable-lock-elision): Fix message text.
53215         * INSTALL: Regenerate.
53216         * configure: Regenerate.
53218 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53222 2013-07-03  Andreas Jaeger  <aj@suse.de>
53224         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53225         define.
53226         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53227         (ptrace_peeksiginfo_args): Add.
53228         (__ptrace_peeksiginfo_flags): Add.
53229         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53230         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53231         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53233 2013-07-03  Allan McRae  <allan@archlinux.org>
53235         * sysdeps/i386/fpu/libm-test-ulps: Update.
53237 2013-07-02  David S. Miller  <davem@davemloft.net>
53239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53241 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
53243         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53245 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53247         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53250 2013-07-02  Andi Kleen <ak@linux.intel.com>
53252         * config.h.in (ENABLE_LOCK_ELISION): Add.
53253         * configure.in (--enable-lock-elision): Add option.
53254         * manual/install.texi: Document --enable lock elision.
53255         * configure: Regenerate
53256         * INSTALL: Regenerate.
53258 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
53260         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53261         SSE4.2 strcasecmp for libc.a.
53262         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53264 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53266         [BZ #13304]
53267         * soft-fp/op-common.h (_FP_FMA): New macro.
53268         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53269         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
53270         (_FP_MUL_MEAT_1_imm): ... here.
53271         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
53272         (_FP_MUL_MEAT_1_wide): ... here.
53273         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
53274         (_FP_MUL_MEAT_1_hard): ... here.
53275         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53276         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
53277         (_FP_MUL_MEAT_2_wide): ... here.
53278         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
53279         (_FP_MUL_MEAT_2_wide_3mul): ... here.
53280         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
53281         (_FP_MUL_MEAT_2_gmp): ... here.
53282         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53283         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
53284         (_FP_MUL_MEAT_4_wide): ... here.
53285         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
53286         (_FP_MUL_MEAT_4_gmp): ... here.
53287         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53288         (_FP_WFRACBITS_DW_S): Likewise.
53289         (_FP_WFRACXBITS_DW_S): Likewise.
53290         (_FP_HIGHBIT_DW_S): Likewise.
53291         (FP_FMA_S): Likewise.
53292         (_FP_FRAC_HIGH_DW_S): Likewise.
53293         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53294         (_FP_WFRACBITS_DW_D): Likewise.
53295         (_FP_WFRACXBITS_DW_D): Likewise.
53296         (_FP_HIGHBIT_DW_D): Likewise.
53297         (FP_FMA_D): Likewise.
53298         (_FP_FRAC_HIGH_DW_D): Likewise.
53299         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53300         (_FP_WFRACBITS_DW_E): Likewise.
53301         (_FP_WFRACXBITS_DW_E): Likewise.
53302         (_FP_HIGHBIT_DW_E): Likewise.
53303         (FP_FMA_E): Likewise.
53304         (_FP_FRAC_HIGH_DW_E): Likewise.
53305         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53306         (_FP_WFRACBITS_DW_Q): Likewise.
53307         (_FP_WFRACXBITS_DW_Q): Likewise.
53308         (_FP_HIGHBIT_DW_Q): Likewise.
53309         (FP_FMA_Q): Likewise.
53310         (_FP_FRAC_HIGH_DW_Q): Likewise.
53311         * soft-fp/fmasf4.c: New file.
53312         * soft-fp/fmadf4.c: Likewise.
53313         * soft-fp/fmatf4.c: Likewise.
53315 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53317         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53318         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53319         Silvermont.
53320         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53321         macro.
53322         (index_Slow_SSE4_2): Likewise.
53323         (index_Prefer_PMINUB_for_stringop): Likewise.
53324         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53325         bit_Slow_SSE4_2 is set.
53326         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53327         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53329 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53331         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53332         rtld_global._dl_hwcap2.
53333         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53334         POWER8.
53335         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53336         POWER8 feature descriptions defined in _dl_hwcap2.
53337         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53338         string handling for POWER8 feature bits.
53339         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53340         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53341         _dl_powerpc_cap_flags.
53342         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53343         * sysdeps/powerpc/rtld-global-offsets.sym
53344         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53345         _dl_hwcap2 in the rtld_global_ro structure.
53347 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53349         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53350         hardware capabilities in support of AT_HWCAP2.
53351         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53352         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53353         GLRO(dl_hwcap2).
53354         (_dl_show_auxv): Add support for calling _dl_procinfo to display
53355         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
53356         explicitly the unknown a_type display mechanism is used.
53357         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53358         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53359         struct member.
53360         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53361         to macro prototype for AT_HWCAP2 support.
53362         * sysdeps/i386/dl-procinfo.h: Likewise.
53363         * sysdeps/s390/dl-procinfo.h: Likewise.
53364         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53365         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
53366         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
53367         return -1 for unknown a_type display fallback.
53368         * sysdeps/sparc/dl-procinfo.h: Likewise.
53369         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53370         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53372 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
53374         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53375         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53377 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
53379         [BZ #12492]
53380         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53381         mprotect making __stack_prot writable.
53383 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
53384             Joseph Myers  <joseph@codesourcery.com>
53386         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53387         as being properly aligned.
53389 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
53391         * dlfcn/modstatic5.c: New file.
53392         * dlfcn/tststatic5.c: New file.
53393         * dlfcn/Makefile (tests): Add tststatic5.
53394         (tests-static): Likewise.
53395         (modules-names): Add modstatic5.
53396         (tststatic5-ENV): New variable.
53397         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53399         [BZ #15022]
53400         * elf/dl-support.c (_dl_main_map): New variable.
53401         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53402         (_dl_nns, _dl_load_adds): Set to 1.
53403         (_dl_initial_searchlist): Refer to _dl_main_map.
53404         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53405         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53406         call to _dl_get_origin.
53407         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53408         around call_map.
53409         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53410         * dlfcn/modstatic3.c: New file.
53411         * dlfcn/tststatic3.c: New file.
53412         * dlfcn/tststatic4.c: New file.
53413         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53414         (tests-static): Likewise.
53415         (modules-names): Add modstatic3.
53416         (tststatic3-ENV, tststatic4-ENV): New variables.
53417         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53418         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53420 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
53422         * configure.in (CC): Require GCC version 4.4 or later.
53423         * configure: Regenerated.
53424         * manual/install.texi (Tools for Compilation): Update GCC version
53425         requirement.
53426         * INSTALL: Regenerated.
53428 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53430         [BZ #15674]
53431         * string/test-memcmp.c (check2): New.
53432         (main): Call check2.
53434         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53436 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
53438         [BZ #15022]
53439         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53440         over to...
53441         (dl_open_worker) [!SHARED]: ... here.
53443 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53445         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53447 2013-06-25  Richard Henderson  <rth@redhat.com>
53449         * locale/programs/locarchive.c: Include <libc-internal.h>
53451 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
53453         * manual/texinfo.tex: Update to version 2013-06-21.17, with
53454         trailing whitespace removed.
53456 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53458         [BZ #10283]
53459         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53460         * locale/programs/locarchive.c: Include libc-mmap.h.
53461         (prepare_address_space): Take two new outputs (the mmap base and len).
53462         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
53463         values.
53464         (create_archive): Declare new mmap base and len values for
53465         prepare_address_space, and store the result in ah.
53466         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53467         (enlarge_archive): If ah->mmap_base is not NULL, use that and
53468         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53469         Declare new mmap base and len values for
53470         prepare_address_space, and store the result in new_ah.
53471         (open_archive): Declare new mmap base and len values for
53472         prepare_address_space, and store the result in ah.
53473         (close_archive): If ah->mmap_base is not NULL, use that and
53474         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53475         * sysdeps/generic/libc-mmap.h: New file.
53477 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53479         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53480         (ALIGN_UP): Likewise.
53481         (PTR_ALIGN_DOWN): Likewise.
53482         (PTR_ALIGN_UP): Likewise.
53484 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53486         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53487         entry mapped to PPC_PLATFORM_POWER8.
53488         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53489         POWER8.
53490         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53491         (_dl_string_platform): Add case for exporting platform position for
53492         POWER8.
53493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53494         search path to sysdeps/powerpc/powerpc32/power8 directory.
53495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53496         search path to sysdeps/powerpc/powerpc64/power8 directory.
53497         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53498         power7 directories.
53499         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53500         power7 directories.
53502 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53504         * INSTALL: Regenerate.
53506         * nscd/connections.c (nscd_init): Fix comment.
53508 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
53510         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53512         [BZ #15667]
53513         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53514         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53516 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53518         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53519         DL_DST_REQ_STATIC.
53520         (DL_DST_REQ_STATIC): Remove macro.
53522 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
53524         [BZ #7006]
53525         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53526         with a shift of 0 bits.
53528 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53530         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53531         $(tststatic-ENV).
53533 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53535         [BZ #15655]
53536         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53538 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53540         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53541         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53542         accepts -fno-tree-loop-distribute-patterns.
53543         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53544         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53545         recursive call.
53546         * string/memset.c (memset): Likewise.
53547         * string/test-memmove.c (simple_memmove): Disable loop transformation
53548         to library calls.
53549         * string/test-memset.c (simple_memset): Likewise.
53550         * benchtests/bench-memmove.c (simple_memmove): Likewise.
53551         * benchtests/bench-memset.c (simple_memset): Likewise.
53552         * configure: Regenerated.
53554 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
53556         * math/test-misc.c (main): Ignore fesetround failure when failures
53557         of subsequent rounding tests would be ignored.
53559         [BZ #15654]
53560         * math/fedisblxcpt.c (fedisableexcept): Return 0.
53561         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53562         * math/fegetenv.c (__fegetenv): Return 0.
53563         * math/fegetexcept.c (fegetexcept): Return 0.
53564         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53565         FE_TONEAREST.
53566         * math/feholdexcpt.c (feholdexcept): Return 0.
53567         * math/fesetenv.c (__fesetenv): Return 0.
53568         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53569         argument FE_TONEAREST.
53570         * math/feupdateenv.c (__feupdateenv): Return 0.
53571         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53573 2013-06-18  Roland McGrath  <roland@hack.frob.com>
53575         * elf/rtld-Rules (rtld-compile-command.S): New variable.
53576         (rtld-compile-command.s, rtld-compile-command.c): New variables.
53577         ($(objpfx)rtld-%.os rules): Use them.
53579 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53581         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53582         fields.
53584 2013-06-17  Roland McGrath  <roland@hack.frob.com>
53586         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53587         length of target pattern, then descending length of dependency pattern.
53588         * configure.in (AWK): Require gawk 3.1.2 or newer.
53589         * manual/install.texi (Tools for Compilation): Say that we do.
53590         * configure: Regenerated.
53592         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53593         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53594         * scripts/sysd-rules.awk: ... this new script.
53595         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53596         than a glob-style pattern.
53598 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
53600         * math/test-misc.c (main): Do not treat incorrectly rounded
53601         conversions as failure unless ROUNDING_TESTS passes.
53603 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
53605         [BZ #15631]
53606         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53607         restore exception state around main square root computation, then
53608         check for inexactness explicitly.
53610         * math/libm-test.inc (fma_test_data): Add another test.
53612 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53614         * manual/threads.texi (Non-POSIX Extensions): New document
53615         node.  Document pthread_getattr_default_np and
53616         pthread_setattr_default_np.
53618         * Versions.def (libpthread): Add GLIBC_2.18.
53619         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53621         Likewise.
53622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53623         Likewise.
53624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53625         Likewise.
53626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53627         Likewise.
53628         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53629         Likewise.
53630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53631         Likewise.
53632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53633         Likewise.
53634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53635         Likewise.
53636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53637         Likewise.
53639 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53642         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53644 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53645             H.J. Lu  <hjl.tools@gmail.com>
53647         [BZ #15627]
53648         * sysdeps/x86_64/rtld-memset.c: Remove file.
53649         * sysdeps/x86_64/rtld-memset.S: New file.
53651 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
53653         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53654         (test_in_one_mode): Take arguments for whether the rounding mode
53655         is supported for each floating-point type.
53656         (do_test): Pass new arguments to test_in_one_mode using
53657         ROUNDING_TESTS.
53659 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53661         * posix/tst-waitid.c (do_test): Distinguish different instances of
53662         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
53663         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53664         before entering the kernel for waitpid.
53666 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53668         * NEWS: Fix note on clock function precision.  Text by Roland
53669         McGrath.
53671 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53673         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53674         it into place only when and if the sanity check passes.
53676 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
53678         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53679         output for whether conversion result is exact.  Take argument
53680         indicating whether type is IBM long double.
53681         (round_for_all): Change need_exact field to ibm_ld.
53682         * stdlib/tst-strtod-round.c (struct exactness): New type.
53683         (struct test): Change bool ld_ok field to struct exactness exact.
53684         (TEST): Update all definitions for change to field.
53685         (tests): Regenerate array contents.
53686         (test_in_one_mode): Take pointer to new field instead of old ld_ok
53687         field value.  Check for IBM long double here.
53688         (do_test): Update calls to test_in_one_mode.
53690 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53692         [BZ #12515]
53693         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53694         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53696 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53698         [BZ #15605]
53699         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53700         generated by the compiler on loop optimizations.
53701         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53702         general definitions.
53704 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
53706         * math/bug-nextafter.c: Include <math-tests.h>.
53707         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53708         the relevant type.
53709         * math/bug-nexttoward.c: Include <math-tests.h>.
53710         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53711         the relevant type.
53712         * math/test-misc.c: Include <math-tests.h>.
53713         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53714         the relevant type.
53716 2013-06-12  Andreas Jaeger  <aj@suse.de>
53718         * po/ia.po: Update Interlingua translation from translation
53719         project.
53721 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53723         * include/fenv.h: Include stdbool.h.
53724         (struct rm_ctx): New structure.
53725         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53726         Define macro.
53727         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53728         (SET_RESTORE_ROUNDF): Likewise.
53729         (SET_RESTORE_ROUNDL): Likewise.
53730         (SET_RESTORE_ROUND_NOEX): Likewise.
53731         (SET_RESTORE_ROUND_NOEXF): Likewise.
53732         (SET_RESTORE_ROUND_NOEXL): Likewise.
53733         (SET_RESTORE_ROUND_53BIT): Likewise.
53734         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53735         (libc_feresetround_noexf_ctx): Likewise.
53736         (libc_feresetround_noexl_ctx): Likewise.
53737         (libc_feholdsetround_53bit_ctx): Likewise.
53738         (libc_feresetround_53bit_ctx): Likewise.
53739         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53740         (libc_feholdexcept_setround_sse_ctx): New function.
53741         (libc_fesetenv_sse_ctx): Likewise.
53742         (libc_feupdateenv_sse_ctx): Likewise.
53743         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53744         (libc_feholdexcept_setround_387_ctx): Likewise.
53745         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53746         (libc_feholdsetround_387_prec_ctx): Likewise.
53747         (libc_feholdsetround_387_ctx): Likewise.
53748         (libc_feholdsetround_387_53bit_ctx): Likewise.
53749         (libc_feholdsetround_sse_ctx): Likewise.
53750         (libc_feresetround_sse_ctx): Likewise.
53751         (libc_feresetround_387_ctx): Likewise.
53752         (libc_feupdateenv_387_ctx): Likewise.
53753         (libc_feholdexcept_setroundf_ctx): Define macro.
53754         (libc_fesetenvf_ctx): Likewise.
53755         (libc_feupdateenvf_ctx): Likewise.
53756         (libc_feholdsetroundf_ctx): Likewise.
53757         (libc_feresetroundf_ctx): Likewise.
53758         (libc_feholdexcept_setround_ctx): Likewise.
53759         (libc_fesetenv_ctx): Likewise.
53760         (libc_feupdateenv_ctx): Likewise.
53761         (libc_feholdsetround_ctx): Likewise.
53762         (libc_feresetround_ctx): Likewise.
53763         (libc_feholdexcept_setroundl_ctx): Likewise.
53764         (libc_feupdateenvl_ctx): Likewise.
53765         (libc_feholdsetroundl_ctx): Likewise.
53766         (libc_feresetroundl_ctx): Likewise.
53767         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53768         (libc_feresetround_53bit_ctx): Likewise.
53770 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53772         * locale/iso-639.def: Convert to UTF-8.
53774 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
53776         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53777         (EXCEPTION_TESTS_double): Likewise.
53778         (EXCEPTION_TESTS_long_double): Likewise.
53779         (EXCEPTION_TESTS): Likewise.
53780         * math/libm-test.inc (test_exceptions): Only test exceptions if
53781         EXCEPTION_TESTS (FLOAT).
53783 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53785         * benchtests/Makefile (string-bench): Add strcpy_chk and
53786         stpcpy_chk.
53787         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53788         * benchtests/bench-stpcpy_chk.c: New file.
53789         * benchtests/bench-strcpy_chk-ifunc.c: New file.
53790         * benchtests/bench-strcpy_chk.c: New file.
53791         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53792         code.
53793         (do_test): Likewise.
53795 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53797         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53798         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53799         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53800         with tabs where appropriate.
53801         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53802         dl-procinfo.h.
53803         [PPC_PLATFORM_PPC440]: Likewise.
53804         [PPC_PLATFORM_PPC464]: Likewise.
53805         [PPC_PLATFORM_PPC476]: Likewise.
53806         (_dl_string_platform): Add support for detecting ppc405, ppc440,
53807         ppc464, and ppc476 platform strings merging from ports/
53808         dl-procinfo.h.
53810 2013-06-11  Andreas Schwab  <schwab@suse.de>
53812         [BZ #14991]
53813         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53814         (from_ucs4_idx): Regenerate.
53815         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53816         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53817         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53818         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53819         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53820         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53821         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53822         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53823         from FROM_LOOP and TO_LOOP specific macros.
53824         (BODY): Handle combining characters.
53825         * iconvdata/BIG5HKSCS.irreversible: Update.
53826         * iconvdata/BIG5HKSCS.precomposed: New file.
53827         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53828         characters.
53829         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53831 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53833         * include/sys/time.h: Fix indentation and add copyright header.
53835         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53836         (do_test): Likewise.
53837         * string/test-memchr.c (do_one_test): Likewise.
53838         (do_test): Likewise.
53839         * string/test-memcmp.c (do_one_test): Likewise.
53840         (do_test): Likewise.
53841         * string/test-memcpy.c (do_one_test): Likewise.
53842         (do_test): Likewise.
53843         * string/test-memmem.c (do_one_test): Likewise.
53844         (do_test): Likewise.
53845         (do_random_tests): Likewise.
53846         * string/test-memmove.c (do_one_test): Likewise.
53847         (do_test): Likewise.
53848         * string/test-memset.c (do_one_test): Likewise.
53849         (do_test): Likewise.
53850         * string/test-rawmemchr.c (do_one_test): Likewise.
53851         (do_test): Likewise.
53852         * string/test-strcasecmp.c (do_one_test): Likewise.
53853         (do_test): Likewise.
53854         * string/test-strcasestr.c (do_one_test): Likewise.
53855         (do_test): Likewise.
53856         * string/test-strcat.c (do_one_test): Likewise.
53857         (do_test): Likewise.
53858         * string/test-strchr.c (do_one_test): Likewise.
53859         (do_test): Likewise.
53860         * string/test-strcmp.c (do_one_test): Likewise.
53861         (do_test): Likewise.
53862         * string/test-strcpy.c (do_one_test): Likewise.
53863         (do_test): Likewise.
53864         * string/test-string.h: Likewise.
53865         (test_init): Likewise.
53866         * string/test-strlen.c (do_one_test): Likewise.
53867         (do_test): Likewise.
53868         * string/test-strncasecmp.c (do_one_test): Likewise.
53869         (do_test): Likewise.
53870         * string/test-strncat.c (do_one_test): Likewise.
53871         (do_test): Likewise.
53872         * string/test-strncmp.c (do_one_test): Likewise.
53873         (do_test_limit): Likewise.
53874         (do_test): Likewise.
53875         * string/test-strncpy.c (do_one_test): Likewise.
53876         (do_test): Likewise.
53877         * string/test-strnlen.c (do_one_test): Likewise.
53878         (do_test): Likewise.
53879         * string/test-strpbrk.c (do_one_test): Likewise.
53880         (do_test): Likewise.
53881         * string/test-strrchr.c (do_one_test): Likewise.
53882         (do_test): Likewise.
53883         * string/test-strspn.c (do_one_test): Likewise.
53884         (do_test): Likewise.
53885         * string/test-strstr.c (do_one_test): Likewise.
53886         (do_test): Likewise.
53888         * benchtests/Makefile (string-bench): Add string benchmarks.
53889         * benchtests/bench-bcopy-ifunc.c: New file.
53890         * benchtests/bench-bcopy.c: New file.
53891         * benchtests/bench-bzero-ifunc.c: New file.
53892         * benchtests/bench-bzero.c: New file.
53893         * benchtests/bench-memccpy-ifunc.c: New file.
53894         * benchtests/bench-memccpy.c: New file.
53895         * benchtests/bench-memchr-ifunc.c: New file.
53896         * benchtests/bench-memchr.c: New file.
53897         * benchtests/bench-memcmp-ifunc.c: New file.
53898         * benchtests/bench-memcmp.c: New file.
53899         * benchtests/bench-memmem-ifunc.c: New file.
53900         * benchtests/bench-memmem.c: New file.
53901         * benchtests/bench-memmove-ifunc.c: New file.
53902         * benchtests/bench-memmove.c: New file.
53903         * benchtests/bench-mempcpy-ifunc.c: New file.
53904         * benchtests/bench-mempcpy.c: New file.
53905         * benchtests/bench-memset-ifunc.c: New file.
53906         * benchtests/bench-memset.c: New file.
53907         * benchtests/bench-rawmemchr-ifunc.c: New file.
53908         * benchtests/bench-rawmemchr.c: New file.
53909         * benchtests/bench-stpcpy-ifunc.c: New file.
53910         * benchtests/bench-stpcpy.c: New file.
53911         * benchtests/bench-stpncpy-ifunc.c: New file.
53912         * benchtests/bench-stpncpy.c: New file.
53913         * benchtests/bench-strcasecmp-ifunc.c: New file.
53914         * benchtests/bench-strcasecmp.c: New file.
53915         * benchtests/bench-strcasestr-ifunc.c: New file.
53916         * benchtests/bench-strcasestr.c: New file.
53917         * benchtests/bench-strcat-ifunc.c: New file.
53918         * benchtests/bench-strcat.c: New file.
53919         * benchtests/bench-strchr-ifunc.c: New file.
53920         * benchtests/bench-strchr.c: New file.
53921         * benchtests/bench-strchrnul-ifunc.c: New file.
53922         * benchtests/bench-strchrnul.c: New file.
53923         * benchtests/bench-strcmp-ifunc.c: New file.
53924         * benchtests/bench-strcmp.c: New file.
53925         * benchtests/bench-strcpy-ifunc.c: New file.
53926         * benchtests/bench-strcpy.c: New file.
53927         * benchtests/bench-strcspn-ifunc.c: New file.
53928         * benchtests/bench-strcspn.c: New file.
53929         * benchtests/bench-strlen-ifunc.c: New file.
53930         * benchtests/bench-strlen.c: New file.
53931         * benchtests/bench-strncasecmp-ifunc.c: New file.
53932         * benchtests/bench-strncasecmp.c: New file.
53933         * benchtests/bench-strncat-ifunc.c: New file.
53934         * benchtests/bench-strncat.c: New file.
53935         * benchtests/bench-strncmp-ifunc.c: New file.
53936         * benchtests/bench-strncmp.c: New file.
53937         * benchtests/bench-strncpy-ifunc.c: New file.
53938         * benchtests/bench-strncpy.c: New file.
53939         * benchtests/bench-strnlen-ifunc.c: New file.
53940         * benchtests/bench-strnlen.c: New file.
53941         * benchtests/bench-strpbrk-ifunc.c: New file.
53942         * benchtests/bench-strpbrk.c: New file.
53943         * benchtests/bench-strrchr-ifunc.c: New file.
53944         * benchtests/bench-strrchr.c: New file.
53945         * benchtests/bench-strspn-ifunc.c: New file.
53946         * benchtests/bench-strspn.c: New file.
53947         * benchtests/bench-strstr-ifunc.c: New file.
53948         * benchtests/bench-strstr.c: New file.
53950         * benchtests/Makefile: Disable parallel execution of targets.
53951         (string-bench): Add memcpy.
53952         (benchset): New variable to store a list of benchmark sets.
53953         (bench-func): Renamed from bench.
53954         (bench-set): New target.
53955         (bench): Depend on bench-func and bench-set.
53956         * benchtests/README: Add section on benchmark sets.
53957         * benchtests/bench-memcpy-ifunc.c: New file.
53958         * benchtests/bench-memcpy.c: New file.
53959         * benchtests/bench-string.h: New file.
53961 2013-06-11  Andreas Schwab  <schwab@suse.de>
53963         [BZ #15577]
53964         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53965         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53966         values in the triple.
53967         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53968         terminator in the group key.
53970 2013-06-11  Andreas Jaeger  <aj@suse.de>
53972         * po/zh_TW.po: Update Chinese (traditional) translation from
53973         translation project.
53975 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53977         * include/time.h (__clock_gettime): Add libc_hidden_proto.
53978         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53979         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
53980         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53981         (clock_getcpuclockid): Likewise.
53982         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53983         Add weak_alias and libc_hidden_def.
53984         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53985         * rt/clock_gettime.c (clock_gettime): Rename to
53986         __clock_gettime.  Add weak_alias and libc_hidden_def.
53987         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
53988         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
53989         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
53990         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
53991         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
53992         Likewise.
53993         * rt/clock_settime.c (clock_settime): Rename to
53994         __clock_settime.  Add weak_alias and libc_hidden_def.
53995         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
53997 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
53999         * mach/err_boot.sub: Remove trailing whitespace.
54000         * mach/err_ipc.sub: Likewise.
54001         * mach/err_mach.sub: Likewise.
54003         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54004         (ROUNDING_TESTS_double): Likewise.
54005         (ROUNDING_TESTS_long_double): Likewise.
54006         (ROUNDING_TESTS): Likewise.
54007         * math/libm-test.inc: Include <math-tests.h>.
54008         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54009         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54010         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54011         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54013 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54015         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54016         of assigning.
54018 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54020         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54021         otherwise empty TRANS lines.
54022         * sysdeps/gnu/errlist.c: Regenerated.
54024         * catgets/gencat.c (error_print): Use (void) in function
54025         definition.
54026         * crypt/crypt_util.c (__init_des): Likewise.
54027         * crypt/speeds.c (Stop): Likewise.
54028         (main): Likewise.
54029         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54030         * inet/ruserpass.c (token): Likewise.
54031         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54032         * intl/localealias.c (extend_alias_table): Likewise.
54033         * intl/plural-exp.c (init_germanic_plural): Likewise.
54034         * libio/fcloseall.c (__fcloseall): Likewise.
54035         * libio/genops.c (_IO_flush_all): Likewise.
54036         (_IO_flush_all_linebuffered): Likewise.
54037         (_IO_cleanup): Likewise.
54038         (_IO_iter_begin): Likewise.
54039         (_IO_iter_end): Likewise.
54040         (_IO_list_lock): Likewise.
54041         (_IO_list_unlock): Likewise.
54042         (_IO_list_resetlock): Likewise.
54043         * libio/getchar.c (getchar): Likewise.
54044         * libio/getchar_u.c (getchar_unlocked): Likewise.
54045         * libio/getwchar.c (getwchar): Likewise.
54046         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54047         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54048         * login/getpt.c (__getpt): Likewise.
54049         * login/tst-utmp.c (main): Likewise.
54050         * malloc/hooks.c (__malloc_check_init): Likewise.
54051         * malloc/malloc.c (__malloc_stats): Likewise.
54052         * malloc/mtrace.c (tr_break): Likewise.
54053         (mtrace): Likewise.
54054         (muntrace): Likewise.
54055         * misc/fstab.c (endfsent): Likewise.
54056         * misc/getclktck.c (__getclktck): Likewise.
54057         * misc/getdtsz.c (__getdtablesize): Likewise.
54058         * misc/gethostid.c (gethostid): Likewise.
54059         * misc/getpagesize.c (__getpagesize): Likewise.
54060         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54061         (__get_nprocs): Likewise.
54062         (__get_phys_pages): Likewise.
54063         (__get_avphys_pages): Likewise.
54064         * misc/getttyent.c (getttyent): Likewise.
54065         (setttyent): Likewise.
54066         (endttyent): Likewise.
54067         * misc/getusershell.c (getusershell): Likewise.
54068         (endusershell): Likewise.
54069         (setusershell): Likewise.
54070         (initshells): Likewise.
54071         * misc/hsearch.c (__hdestroy): Likewise.
54072         * misc/sync.c (sync): Likewise.
54073         * misc/syslog.c (closelog_internal): Likewise.
54074         (closelog): Likewise.
54075         * misc/ttyslot.c (ttyslot): Likewise.
54076         * misc/vhangup.c (vhangup): Likewise.
54077         * posix/fork.c (__fork): Likewise.
54078         * posix/getegid.c (__getegid): Likewise.
54079         * posix/geteuid.c (__geteuid): Likewise.
54080         * posix/getgid.c (__getgid): Likewise.
54081         * posix/getpid.c (__getpid): Likewise.
54082         * posix/getppid.c (__getppid): Likewise.
54083         * posix/getuid.c (__getuid): Likewise.
54084         * posix/pause.c (pause): Likewise.
54085         * posix/setpgrp.c (setpgrp): Likewise.
54086         * posix/setsid.c (__setsid): Likewise.
54087         * posix/test-vfork.c (noop): Likewise.
54088         * resolv/gethnamaddr.c (_endhtent): Likewise.
54089         (_gethtent): Likewise.
54090         (ht_endhostent): Likewise.
54091         (gethostent): Likewise.
54092         (dns_service): Likewise.
54093         * stdlib/drand48.c (drand48): Likewise.
54094         * stdlib/lrand48.c (lrand48): Likewise.
54095         * stdlib/mrand48.c (mrand48): Likewise.
54096         * stdlib/rand.c (rand): Likewise.
54097         * stdlib/random.c (__random): Likewise.
54098         * stdlib/setenv.c (clearenv): Likewise.
54099         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54100         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54101         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54102         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54103         (__get_nprocs): Likewise.
54104         (__get_phys_pages): Likewise.
54105         (__get_avphys_pages): Likewise.
54106         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54107         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54108         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54109         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54110         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54111         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54112         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54113         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54114         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54115         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54116         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54117         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54118         * sysdeps/posix/clock.c (clock): Likewise.
54119         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54120         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54121         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54122         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54123         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54124         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54125         (__get_nprocs_conf): Likewise.
54126         (__get_phys_pages): Likewise.
54127         (__get_avphys_pages): Likewise.
54128         * time/clock.c (clock): Likewise.
54129         * time/tzset.c (__tzname_max): Likewise.
54131 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54133         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54134         (__bswap_32): Do not use "register".
54135         * crypt/crypt.c (_ufc_doit_r): Likewise.
54136         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54137         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54138         * gmon/gmon.c (__monstartup): Likewise.
54139         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54140         * hurd/hurdmalloc.c (more_memory): Likewise.
54141         (malloc): Likewise.
54142         (free): Likewise.
54143         (realloc): Likewise.
54144         (malloc_fork_prepare): Likewise.
54145         (malloc_fork_parent): Likewise.
54146         (malloc_fork_child): Likewise.
54147         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54148         (_svcauth_des): Likewise.
54149         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54150         * inet/inet_net.c (inet_network): Likewise.
54151         * inet/inet_netof.c (inet_netof): Likewise.
54152         * inet/rcmd.c (__validuser2_sa): Likewise.
54153         * io/fts.c (fts_open): Likewise.
54154         (fts_load): Likewise.
54155         (fts_close): Likewise.
54156         (fts_read): Likewise.
54157         (fts_children): Likewise.
54158         (fts_build): Likewise.
54159         (fts_stat): Likewise.
54160         (fts_sort): Likewise.
54161         (fts_alloc): Likewise.
54162         (fts_lfree): Likewise.
54163         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54164         (_IO_file_xsgetn): Likewise.
54165         (_IO_file_xsgetn_mmap): Likewise.
54166         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54167         (_IO_cookie_write): Likewise.
54168         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54169         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54170         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54171         * malloc/obstack.c (_obstack_begin): Likewise.
54172         (_obstack_begin_1): Likewise.
54173         (_obstack_newchunk): Likewise.
54174         (_obstack_allocated_p): Likewise.
54175         (obstack_free): Likewise.
54176         (_obstack_memory_used): Likewise.
54177         * misc/getttyent.c (getttynam): Likewise.
54178         (getttyent): Likewise.
54179         (skip): Likewise.
54180         (value): Likewise.
54181         * misc/getusershell.c (initshells): Likewise.
54182         * misc/syslog.c (__vsyslog_chk): Likewise.
54183         * misc/ttyslot.c (ttyslot): Likewise.
54184         * nis/nis_hash.c (__nis_hash): Likewise.
54185         * posix/fnmatch_loop.c (FCT): Likewise.
54186         * posix/getconf.c (print_all): Likewise.
54187         (main): Likewise.
54188         * posix/getopt.c (exchange): Likewise.
54189         * posix/glob.c (globfree): Likewise.
54190         (prefix_array): Likewise.
54191         (__glob_pattern_type): Likewise.
54192         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54193         (NS_GET32): Likewise.
54194         (NS_PUT16): Likewise.
54195         (NS_PUT32): Likewise.
54196         * resolv/gethnamaddr.c (getanswer): Likewise.
54197         (gethostbyname2): Likewise.
54198         (gethostbyaddr): Likewise.
54199         (_gethtent): Likewise.
54200         (_gethtbyname2): Likewise.
54201         (_gethtbyaddr): Likewise.
54202         * resolv/ns_print.c (dst_s_get_int16): Likewise.
54203         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54204         * resolv/res_init.c (__res_vinit): Likewise.
54205         (net_mask): Likewise.
54206         * resolv/res_mkquery.c (outchar): Likewise.
54207         (PRINT): Likewise.
54208         * stdio-common/printf_fp.c (outchar): Likewise.
54209         (PRINT): Likewise.
54210         * stdio-common/printf_fphex.c (outchar): Likewise.
54211         (PRINT): Likewise.
54212         * stdio-common/printf_size.c (outchar): Likewise.
54213         (PRINT): Likewise.
54214         * stdio-common/test_rdwr.c (main): Likewise.
54215         * stdio-common/tfformat.c (matches): Likewise.
54216         * stdio-common/vfprintf.c (outchar): Likewise.
54217         (printf_unknown): Likewise.
54218         (buffered_vfprintf): Likewise.
54219         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54220         * stdio-common/xbug.c (AppendToBuffer): Likewise.
54221         (ReadFile): Likewise.
54222         * stdlib/qsort.c (SWAP): Likewise.
54223         (_quicksort): Likewise.
54224         * stdlib/setenv.c (__add_to_environ): Likewise.
54225         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54226         * stdlib/strtol_l.c (__strtol_l): Likewise.
54227         * stdlib/tst-strtod.c (main): Likewise.
54228         * stdlib/tst-strtol.c (main): Likewise.
54229         * stdlib/tst-strtoll.c (main): Likewise.
54230         * string/bits/string2.h (__strcmp_cc): Likewise.
54231         (__strcmp_cg): Likewise.
54232         (__strcspn_c1): Likewise.
54233         (__strcspn_c2): Likewise.
54234         (__strcspn_c3): Likewise.
54235         (__strspn_c1): Likewise.
54236         (__strspn_c2): Likewise.
54237         (__strspn_c3): Likewise.
54238         (__strsep_1c): Likewise.
54239         (__strsep_2c): Likewise.
54240         (__strsep_3c): Likewise.
54241         * string/memccpy.c (__memccpy): Likewise.
54242         * string/stpcpy.c (__stpcpy): Likewise.
54243         * string/strcmp.c (strcmp): Likewise.
54244         * string/strrchr.c (strrchr): Likewise.
54245         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54246         Likewise.
54247         * sysdeps/mach/hurd/getcwd.c
54248         (_hurd_canonicalize_directory_name_internal): Likewise.
54249         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54250         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54251         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54252         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54253         Likewise, in both definitions.
54254         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54255         definitions.
54256         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54257         64] (__bswap_64): Likewise.
54258         * time/test_time.c (main): Likewise.
54259         * time/tzfile.c (__tzfile_read): Likewise.
54260         (__tzfile_compute): Likewise.
54261         * time/tzset.c (__tzset_parse_tz): Likewise.
54262         (tzset_internal): Likewise.
54263         (compute_change): Likewise.
54264         * wcsmbs/wcscat.c (__wcscat): Likewise.
54265         * wcsmbs/wcschr.c (wcschr): Likewise.
54266         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54267         * wcsmbs/wcscspn.c (wcscspn): Likewise.
54268         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54269         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54270         * wcsmbs/wcsspn.c (wcsspn): Likewise.
54271         * wcsmbs/wcsstr.c (wcsstr): Likewise.
54272         * wcsmbs/wmemchr.c (wmemchr): Likewise.
54273         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54274         * wcsmbs/wmemset.c (wmemset): Likewise.
54276 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
54278         * scripts/config.guess: Update to version 2013-05-16.
54279         * scripts/config.sub: Update to version 2013-04-24.
54280         * scripts/install-sh: Update to version 2011-11-20.07.
54281         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54282         * scripts/move-if-change: Update to version 2012-01-06 07:23.
54284 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
54286         * debug/fgetws_u_chk.c: Fix leading whitespaces.
54287         * elf/sln.c: Likewise.
54288         * hurd/hurd/ioctl.h: Likewise.
54289         * hurd/hurdmalloc.c: Likewise.
54290         * hurd/xattr.c: Likewise.
54291         * include/shlib-compat.h: Likewise.
54292         * inet/ruserpass.c: Likewise.
54293         * libio/iofgets_u.c: Likewise.
54294         * libio/iofgetws_u.c: Likewise.
54295         * locale/programs/ld-identification.c: Likewise.
54296         * locale/programs/ld-time.c: Likewise.
54297         * mach/msg-destroy.c: Likewise.
54298         * nss/nss_files/files-netgrp.c: Likewise.
54299         * resolv/res_data.c: Likewise.
54300         * soft-fp/op-1.h: Likewise.
54301         * soft-fp/op-2.h: Likewise.
54302         * soft-fp/op-4.h: Likewise.
54303         * soft-fp/op-common.h: Likewise.
54304         * stdio-common/printf_fphex.c: Likewise.
54305         * stdlib/strtod_l.c: Likewise.
54306         * sunrpc/rpc/clnt.h: Likewise.
54307         * sysdeps/generic/framestate.c: Likewise.
54308         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54309         * sysdeps/i386/bsd-setjmp.S: Likewise.
54310         * sysdeps/i386/__longjmp.S: Likewise.
54311         * sysdeps/i386/setjmp.S: Likewise.
54312         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54313         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54314         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54315         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54316         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54317         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54318         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54319         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54320         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54321         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54322         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54323         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54324         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54325         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54326         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54327         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54328         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54329         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54330         * sysdeps/ieee754/support.c: Likewise.
54331         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54332         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54333         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54334         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54335         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54336         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54337         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54338         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54339         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54340         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54341         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54342         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54343         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54344         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54345         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54346         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54347         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54350 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
54352         * posix/transbug.c: Remove executable mode.
54354 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
54356         * crypt/speeds.c: Remove trailing whitespace.
54357         * dlfcn/default.c: Likewise.
54358         * elf/ifuncdep2.c: Likewise.
54359         * elf/ifuncmain1.c: Likewise.
54360         * elf/ifuncmain1vis.c: Likewise.
54361         * elf/testobj.h: Likewise.
54362         * elf/tst-stackguard1.c: Likewise.
54363         * gmon/sys/gmon.h: Likewise.
54364         * hurd/hurdmsg.c: Likewise.
54365         * hurd/new-fd.c: Likewise.
54366         * hurd/ports-get.c: Likewise.
54367         * iconvdata/ibm1008_420.c: Likewise.
54368         * inet/tst-getni1.c: Likewise.
54369         * inet/tst-getni2.c: Likewise.
54370         * libio/ioungetc.c: Likewise.
54371         * libio/wfiledoalloc.c: Likewise.
54372         * manual/libm-err-tab.pl: Likewise.
54373         * math/w_dremf.c: Likewise.
54374         * misc/ftruncate.c: Likewise.
54375         * posix/bug-glob2.c: Likewise.
54376         * posix/tst-pcre.c: Likewise.
54377         * posix/wait4.c: Likewise.
54378         * resolv/README: Likewise.
54379         * resolv/res_debug.h: Likewise.
54380         * resolv/tst-inet_ntop.c: Likewise.
54381         * setjmp/bug269-setjmp.c: Likewise.
54382         * soft-fp/extended.h: Likewise.
54383         * soft-fp/op-1.h: Likewise.
54384         * soft-fp/op-2.h: Likewise.
54385         * soft-fp/op-4.h: Likewise.
54386         * soft-fp/op-8.h: Likewise.
54387         * soft-fp/testit.c: Likewise.
54388         * stdio-common/bug16.c: Likewise.
54389         * stdlib/random.c: Likewise.
54390         * sunrpc/rpcsvc/rquota.x: Likewise.
54391         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54392         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54393         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54394         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54395         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54396         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54397         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54398         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54399         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54400         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54401         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54402         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54403         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54404         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54405         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54406         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54407         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54408         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54409         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54410         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54411         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54412         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54413         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54414         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54415         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54416         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54417         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54418         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54419         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54420         * sysdeps/ieee754/s_lib_version.c: Likewise.
54421         * sysdeps/mach/hurd/check_fds.c: Likewise.
54422         * sysdeps/mach/hurd/getsockname.c: Likewise.
54423         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54424         * sysdeps/mach/hurd/recvfrom.c: Likewise.
54425         * sysdeps/powerpc/bits/link.h: Likewise.
54426         * sysdeps/powerpc/dl-procinfo.c: Likewise.
54427         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54428         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54429         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54430         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54431         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54432         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54433         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54434         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54435         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54436         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54437         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54438         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54439         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54440         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54441         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54442         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54443         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54444         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54445         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54446         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54447         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54448         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54449         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54450         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54451         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54452         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54453         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54454         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54456         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54457         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54458         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54459         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54460         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54461         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54462         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54463         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54464         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54465         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54466         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54467         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54468         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54469         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54470         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54471         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54472         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54473         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54474         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54475         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54476         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54477         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54478         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54479         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54480         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54481         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54482         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54483         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54484         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54485         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54486         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54487         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54488         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54489         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54490         * sysdeps/powerpc/sysdep.h: Likewise.
54491         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54492         * sysdeps/s390/s390-64/sub_n.S: Likewise.
54493         * sysdeps/sh/dl-trampoline.S: Likewise.
54494         * sysdeps/sh/memset.S: Likewise.
54495         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54496         * sysdeps/sh/strlen.S: Likewise.
54497         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54498         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54499         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54500         * sysdeps/sparc/sparc32/rem.S: Likewise.
54501         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54502         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54503         * sysdeps/sparc/sparc32/strchr.S: Likewise.
54504         * sysdeps/sparc/sparc32/udiv.S: Likewise.
54505         * sysdeps/sparc/sparc32/urem.S: Likewise.
54506         * sysdeps/sparc/sparc64/add_n.S: Likewise.
54507         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54508         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54509         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54510         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54511         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54512         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54513         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54514         * sysdeps/unix/bsd/times.c: Likewise.
54515         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54516         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54520         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54521         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54522         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54523         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54524         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54525         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54526         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54527         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54528         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54529         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54530         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54531         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54532         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54533         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54534         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54535         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54536         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54537         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54538         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54539         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54540         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54541         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54542         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54543         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54544         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54545         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54546         * sysdeps/x86_64/strcspn.S: Likewise.
54548 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54550         * locale/C-translit.h: Revert #include <stdint.h> because this is a
54551         generated file.  Regenerate properly from gen-translit.pl.
54552         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
54553         locale/C-translit.h.
54555 2013-06-05  Andreas Schwab  <schwab@suse.de>
54557         [BZ #15100]
54558         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54559         week as 6 instead of -1.
54560         * time/tst-strptime.c (day_tests): Add test case.
54562 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54564         * sysdeps/generic/math_private.h
54565         (libc_feholdexcept_setround_53bit): Replace with
54566         libc_feholdsetround_53bit.
54567         (libc_feupdateenv_53bit): Replace with
54568         libc_feresetround_53bit.
54569         (SET_RESTORE_ROUND_53BIT): Adjust.
54571 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54573         * string/test-strchrnul.c: Add copyright header.
54575         * posix/tst-getaddrinfo4.c: Increase test timeout.
54577 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
54579         [BZ #15536]
54580         * math/libm-test.inc (MAX_EXP): Remove
54581         (MIN_EXP): Define.
54582         (ulp): Use MIN_EXP - MANT_DIG.
54583         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54585 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
54587         * po/be.po: Revert last change.
54588         * po/zh_CN.po: Likewise.
54589         * po/header.pot: Likewise.
54591 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
54593         * Makefile ($(common-objpfx)linkobj/libc.so): Define
54594         link-libc-deps to empty as target-specific variable.
54595         * Makerules (link-libc-args): New variable.
54596         (libc-for-link): Likewise.
54597         (link-libc-deps): Likewise.
54598         (lib%.so): Depend on $(link-libc-deps).  Link with
54599         $(link-libc-args).
54600         (build-module): Link with $(link-libc-args).
54601         (build-module-asneeded): Likewise.
54602         (build-module-helper-objlist): Filter out $(link-libc-deps) from
54603         list of objects.
54604         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54605         target-specific variable.
54606         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54607         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54608         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54609         libc.
54610         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54611         libc and ld.so.
54612         ($(objpfx)libpcprofile.so): Likewise.
54613         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54614         libc_nonshared.a.
54615         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54616         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54617         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54618         $(link-libc-deps).
54619         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54620         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54621         * login/Makefile ($(objpfx)libutil.so): Likewise.
54622         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54623         * math/Makefile ($(objpfx)libm.so): Likewise.
54624         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54625         $(objpfx)libnsl.so): Define libc-for-link as target-specific
54626         variable instead of depending directly on libc.
54627         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54628         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54629         $(link-libc-deps).
54630         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54631         libc.
54632         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54633         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54634         ($(objpfx)libanl.so): Likewise.
54635         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54636         ld.so.
54637         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54638         $(link-libc-deps).
54639         * sysdeps/i386/fpu/Makefile: Remove file.
54640         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54641         ($(objpfx)libm.so): Remove dependency on ld.so.
54643 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
54645         [BZ # 15553]
54646         * nis/yp_xdr.c (XDRMAXNAME): Define.
54647         (XDRMAXRECORD): Define.
54648         (xdr_domainname): Use XDRMAXNAME.
54649         (xdr_mapname): Likewise.
54650         (xdr_peername): Likewise.
54651         (xdr_keydat): Use XDRMAXRECORD.
54652         (xdr_valdat): Likewise.
54654 2013-05-30  Jeff Law  <law@redhat.com>
54656         [BZ #14256]
54657         * manual/errno.texi (ESTALE): Update to account for more than
54658         just NFS file systems.
54659         * sysdeps/gnu/errlist.c: Regenerated.
54661 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54663         [BZ #15465]
54664         * elf/Makefile (tests): Add tst-null-argv.
54665         (modules-names):  Add tst-null-argv-lib.
54666         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54667         (tst-null-argv-ENV): Set environment for tst-null-argv.
54668         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54669         (RTLD_PROGNAME): New macro.
54670         * elf/tst-null-argv.c: New test case.
54671         * elf/tst-null-argv-lib.c: Library for test case.
54672         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54673         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54674         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54675         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54676         * elf/dl-init.c (call_init): Likewise.
54677         (_dl_init): Likewise.
54678         * elf/dl-load.c (print_search_path): Likewise.
54679         (_dl_map_object): Likewise.
54680         * elf/dl-lookup.c (do_lookup_x): Likewise.
54681         (add_dependency): Likewise.
54682         (_dl_lookup_symbol_x): Likewise.
54683         (_dl_debug_bindings): Likewise.
54684         * elf/dl-open.c (_dl_show_scope): Likewise.
54685         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54686         * elf/dl-version.c (match_symbol): Likewise.
54687         (_dl_check_map_versions): Likewise.
54688         * elf/rtld.c (dl_main): Likewise.
54689         (print_unresolved): Use RTLD_PROGNAME.
54690         (print_missing_version): Likewise.
54691         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54692         (elf_machine_rela): Likewise.
54693         * sysdeps/powerpc/powerpc32/dl-machine.c
54694         (__process_machine_rela): Likewise.
54695         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54696         Likewise.
54697         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54698         Likewise.
54699         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54700         Likewise.
54701         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54702         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54703         Likewise.
54704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54705         Likewise.
54706         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54708 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
54710         * po/be.po: Add descriptive title.
54711         * po/zh_CN.po: Likewise.
54712         * po/header.pot: Likewise.
54714 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
54716         * locale/programs/locarchive.c (create_archive): Inlucde fname in
54717         error message.
54718         (enlarge_archive): Likewise.
54720 2013-05-28  Ben North  <ben@redfrontdoor.org>
54722         * manual/arith.texi (frexp): It is the magnitude of the return
54723         value which lies in [0.5, 1), not the return value itself.
54725 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54729 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
54731         * stdio-common/bug26.c (main): Correct fscanf template.
54733         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54734         declare _dl_skip_args.
54736         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54737         Don't declare.
54739         * manual/platform.texi: Add missing @end deftypefun.
54741 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54743         [BZ #15529]
54744         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54745         bit of mantissa of 2^16382.
54746         * math/libm-test.inc (hypot_test_data): Add more tests.
54748         * math/libm-test.inc: Add drem and pow10 to list of tested
54749         functions.
54750         (pow10_test): New function.
54751         (drem_test): Likewise.
54752         (drem_test_tonearest): Likewise.
54753         (drem_test_towardzero): Likewise.
54754         (drem_test_downward): Likewise.
54755         (drem_test_upward): Likewise.
54756         (main): Call the new functions.
54758         * math/libm-test.inc (finite_test_data): Remove.
54759         (finite_test): Run tests from isfinite_test_data.
54760         (gamma_test_data): Remove.
54761         (gamma_test): Run tests from lgamma_test_data.
54762         * sysdeps/i386/fpu/libm-test-ulps: Update.
54763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54765 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54767         * manual/platform.texi: Add PowerPC PPR function set documentation.
54768         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54769         implementation.
54771 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
54773         * math/libm-test.inc (MAX_EXP): Define.
54774         (ULPDIFF): Define.
54775         (ulp): New function.
54776         (check_float_internal): Use ULPDIFF.
54777         (cpow_test): Disable failing test.
54778         (check_ulp): Test ulp() implementation.
54779         (main): Call check_ulp before starting tests.
54781 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54783         * math/gen-libm-test.pl (generate_testfile): Do not handle
54784         START_DATA and END_DATA.
54785         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54786         END_DATA.
54787         (acos_tonearest_test_data): Likewise.
54788         (acos_towardzero_test_data): Likewise.
54789         (acos_downward_test_data): Likewise.
54790         (acos_upward_test_data): Likewise.
54791         (acosh_test_data): Likewise.
54792         (asin_test_data): Likewise.
54793         (asin_tonearest_test_data): Likewise.
54794         (asin_towardzero_test_data): Likewise.
54795         (asin_downward_test_data): Likewise.
54796         (asin_upward_test_data): Likewise.
54797         (asinh_test_data): Likewise.
54798         (atan_test_data): Likewise.
54799         (atanh_test_data): Likewise.
54800         (atan2_test_data): Likewise.
54801         (cabs_test_data): Likewise.
54802         (cacos_test_data): Likewise.
54803         (cacosh_test_data): Likewise.
54804         (carg_test_data): Likewise.
54805         (casin_test_data): Likewise.
54806         (casinh_test_data): Likewise.
54807         (catan_test_data): Likewise.
54808         (catanh_test_data): Likewise.
54809         (cbrt_test_data): Likewise.
54810         (ccos_test_data): Likewise.
54811         (ccosh_test_data): Likewise.
54812         (ceil_test_data): Likewise.
54813         (cexp_test_data): Likewise.
54814         (cimag_test_data): Likewise.
54815         (clog_test_data): Likewise.
54816         (clog10_test_data): Likewise.
54817         (conj_test_data): Likewise.
54818         (copysign_test_data): Likewise.
54819         (cos_test_data): Likewise.
54820         (cos_tonearest_test_data): Likewise.
54821         (cos_towardzero_test_data): Likewise.
54822         (cos_downward_test_data): Likewise.
54823         (cos_upward_test_data): Likewise.
54824         (cosh_test_data): Likewise.
54825         (cosh_tonearest_test_data): Likewise.
54826         (cosh_towardzero_test_data): Likewise.
54827         (cosh_downward_test_data): Likewise.
54828         (cosh_upward_test_data): Likewise.
54829         (cpow_test_data): Likewise.
54830         (cproj_test_data): Likewise.
54831         (creal_test_data): Likewise.
54832         (csin_test_data): Likewise.
54833         (csinh_test_data): Likewise.
54834         (csqrt_test_data): Likewise.
54835         (ctan_test_data): Likewise.
54836         (ctan_tonearest_test_data): Likewise.
54837         (ctan_towardzero_test_data): Likewise.
54838         (ctan_downward_test_data): Likewise.
54839         (ctan_upward_test_data): Likewise.
54840         (ctanh_test_data): Likewise.
54841         (ctanh_tonearest_test_data): Likewise.
54842         (ctanh_towardzero_test_data): Likewise.
54843         (ctanh_downward_test_data): Likewise.
54844         (ctanh_upward_test_data): Likewise.
54845         (erf_test_data): Likewise.
54846         (erfc_test_data): Likewise.
54847         (exp_test_data): Likewise.
54848         (exp_tonearest_test_data): Likewise.
54849         (exp_towardzero_test_data): Likewise.
54850         (exp_downward_test_data): Likewise.
54851         (exp_upward_test_data): Likewise.
54852         (exp10_test_data): Likewise.
54853         (exp2_test_data): Likewise.
54854         (expm1_test_data): Likewise.
54855         (fabs_test_data): Likewise.
54856         (fdim_test_data): Likewise.
54857         (finite_test_data): Likewise.
54858         (floor_test_data): Likewise.
54859         (fma_test_data): Likewise.
54860         (fma_towardzero_test_data): Likewise.
54861         (fma_downward_test_data): Likewise.
54862         (fma_upward_test_data): Likewise.
54863         (fmax_test_data): Likewise.
54864         (fmin_test_data): Likewise.
54865         (fmod_test_data): Likewise.
54866         (fpclassify_test_data): Likewise.
54867         (frexp_test_data): Likewise.
54868         (gamma_test_data): Likewise.
54869         (hypot_test_data): Likewise.
54870         (ilogb_test_data): Likewise.
54871         (isfinite_test_data): Likewise.
54872         (isgreater_test_data): Likewise.
54873         (isgreaterequal_test_data): Likewise.
54874         (isinf_test_data): Likewise.
54875         (isless_test_data): Likewise.
54876         (islessequal_test_data): Likewise.
54877         (islessgreater_test_data): Likewise.
54878         (isnan_test_data): Likewise.
54879         (isnormal_test_data): Likewise.
54880         (issignaling_test_data): Likewise.
54881         (isunordered_test_data): Likewise.
54882         (j0_test_data): Likewise.
54883         (j1_test_data): Likewise.
54884         (jn_test_data): Likewise.
54885         (ldexp_test_data): Likewise.
54886         (lgamma_test_data): Likewise.
54887         (lrint_test_data): Likewise.
54888         (lrint_tonearest_test_data): Likewise.
54889         (lrint_towardzero_test_data): Likewise.
54890         (lrint_downward_test_data): Likewise.
54891         (lrint_upward_test_data): Likewise.
54892         (llrint_test_data): Likewise.
54893         (llrint_tonearest_test_data): Likewise.
54894         (llrint_towardzero_test_data): Likewise.
54895         (llrint_downward_test_data): Likewise.
54896         (llrint_upward_test_data): Likewise.
54897         (log_test_data): Likewise.
54898         (log10_test_data): Likewise.
54899         (log1p_test_data): Likewise.
54900         (log2_test_data): Likewise.
54901         (logb_test_data): Likewise.
54902         (logb_downward_test_data): Likewise.
54903         (lround_test_data): Likewise.
54904         (llround_test_data): Likewise.
54905         (modf_test_data): Likewise.
54906         (nearbyint_test_data): Likewise.
54907         (nextafter_test_data): Likewise.
54908         (nexttoward_test_data): Likewise.
54909         (pow_test_data): Likewise.
54910         (pow_tonearest_test_data): Likewise.
54911         (pow_towardzero_test_data): Likewise.
54912         (pow_downward_test_data): Likewise.
54913         (pow_upward_test_data): Likewise.
54914         (remainder_test_data): Likewise.
54915         (remainder_tonearest_test_data): Likewise.
54916         (remainder_towardzero_test_data): Likewise.
54917         (remainder_downward_test_data): Likewise.
54918         (remainder_upward_test_data): Likewise.
54919         (remquo_test_data): Likewise.
54920         (rint_test_data): Likewise.
54921         (rint_tonearest_test_data): Likewise.
54922         (rint_towardzero_test_data): Likewise.
54923         (rint_downward_test_data): Likewise.
54924         (rint_upward_test_data): Likewise.
54925         (round_test_data): Likewise.
54926         (scalb_test_data): Likewise.
54927         (scalbn_test_data): Likewise.
54928         (scalbln_test_data): Likewise.
54929         (signbit_test_data): Likewise.
54930         (sin_test_data): Likewise.
54931         (sin_tonearest_test_data): Likewise.
54932         (sin_towardzero_test_data): Likewise.
54933         (sin_downward_test_data): Likewise.
54934         (sin_upward_test_data): Likewise.
54935         (sincos_test_data): Likewise.
54936         (sinh_test_data): Likewise.
54937         (sinh_tonearest_test_data): Likewise.
54938         (sinh_towardzero_test_data): Likewise.
54939         (sinh_downward_test_data): Likewise.
54940         (sinh_upward_test_data): Likewise.
54941         (sqrt_test_data): Likewise.
54942         (tan_test_data): Likewise.
54943         (tan_tonearest_test_data): Likewise.
54944         (tan_towardzero_test_data): Likewise.
54945         (tan_downward_test_data): Likewise.
54946         (tan_upward_test_data): Likewise.
54947         (tanh_test_data): Likewise.
54948         (tgamma_test_data): Likewise.
54949         (trunc_test_data): Likewise.
54950         (y0_test_data): Likewise.
54951         (y1_test_data): Likewise.
54952         (yn_test_data): Likewise.
54953         (significand_test_data): Likewise.
54955         * math/gen-libm-test.pl (@functions): Remove variable.
54956         (generate_testfile): Don't handle START and END lines.
54957         * math/libm-test.inc (START): New macro.
54958         (END): Likewise.
54959         (END_COMPLEX): Likewise.
54960         (acos_test): Use END macro without arguments.
54961         (acos_test_tonearest): Likewise.
54962         (acos_test_towardzero): Likewise.
54963         (acos_test_downward): Likewise.
54964         (acos_test_upward): Likewise.
54965         (acosh_test): Likewise.
54966         (asin_test): Likewise.
54967         (asin_test_tonearest): Likewise.
54968         (asin_test_towardzero): Likewise.
54969         (asin_test_downward): Likewise.
54970         (asin_test_upward): Likewise.
54971         (asinh_test): Likewise.
54972         (atan_test): Likewise.
54973         (atanh_test): Likewise.
54974         (atan2_test): Likewise.
54975         (cabs_test): Likewise.
54976         (cacos_test): Use END_COMPLEX macro without arguments.
54977         (cacosh_test): Likewise.
54978         (carg_test): Use END macro without arguments.
54979         (casin_test): Use END_COMPLEX macro without arguments.
54980         (casinh_test): Likewise.
54981         (catan_test): Likewise.
54982         (catanh_test): Likewise.
54983         (cbrt_test): Use END macro without arguments.
54984         (ccos_test): Use END_COMPLEX macro without arguments.
54985         (ccosh_test): Likewise.
54986         (ceil_test): Use END macro without arguments.
54987         (cexp_test): Use END_COMPLEX macro without arguments.
54988         (cimag_test): Use END macro without arguments.
54989         (clog_test): Use END_COMPLEX macro without arguments.
54990         (clog10_test): Likewise.
54991         (conj_test): Likewise.
54992         (copysign_test): Use END macro without arguments.
54993         (cos_test): Likewise.
54994         (cos_test_tonearest): Likewise.
54995         (cos_test_towardzero): Likewise.
54996         (cos_test_downward): Likewise.
54997         (cos_test_upward): Likewise.
54998         (cosh_test): Likewise.
54999         (cosh_test_tonearest): Likewise.
55000         (cosh_test_towardzero): Likewise.
55001         (cosh_test_downward): Likewise.
55002         (cosh_test_upward): Likewise.
55003         (cpow_test): Use END_COMPLEX macro without arguments.
55004         (cproj_test): Likewise.
55005         (creal_test): Use END macro without arguments.
55006         (csin_test): Use END_COMPLEX macro without arguments.
55007         (csinh_test): Likewise.
55008         (csqrt_test): Likewise.
55009         (ctan_test): Likewise.
55010         (ctan_test_tonearest): Likewise.
55011         (ctan_test_towardzero): Likewise.
55012         (ctan_test_downward): Likewise.
55013         (ctan_test_upward): Likewise.
55014         (ctanh_test): Likewise.
55015         (ctanh_test_tonearest): Likewise.
55016         (ctanh_test_towardzero): Likewise.
55017         (ctanh_test_downward): Likewise.
55018         (ctanh_test_upward): Likewise.
55019         (erf_test): Use END macro without arguments.
55020         (erfc_test): Likewise.
55021         (exp_test): Likewise.
55022         (exp_test_tonearest): Likewise.
55023         (exp_test_towardzero): Likewise.
55024         (exp_test_downward): Likewise.
55025         (exp_test_upward): Likewise.
55026         (exp10_test): Likewise.
55027         (exp2_test): Likewise.
55028         (expm1_test): Likewise.
55029         (fabs_test): Likewise.
55030         (fdim_test): Likewise.
55031         (finite_test): Likewise.
55032         (floor_test): Likewise.
55033         (fma_test): Likewise.
55034         (fma_test_towardzero): Likewise.
55035         (fma_test_downward): Likewise.
55036         (fma_test_upward): Likewise.
55037         (fmax_test): Likewise.
55038         (fmin_test): Likewise.
55039         (fmod_test): Likewise.
55040         (fpclassify_test): Likewise.
55041         (frexp_test): Likewise.
55042         (gamma_test): Likewise.
55043         (hypot_test): Likewise.
55044         (ilogb_test): Likewise.
55045         (isfinite_test): Likewise.
55046         (isgreater_test): Likewise.
55047         (isgreaterequal_test): Likewise.
55048         (isinf_test): Likewise.
55049         (isless_test): Likewise.
55050         (islessequal_test): Likewise.
55051         (islessgreater_test): Likewise.
55052         (isnan_test): Likewise.
55053         (isnormal_test): Likewise.
55054         (issignaling_test): Likewise.
55055         (isunordered_test): Likewise.
55056         (j0_test): Likewise.
55057         (j1_test): Likewise.
55058         (jn_test): Likewise.
55059         (ldexp_test): Likewise.
55060         (lgamma_test): Likewise.
55061         (lrint_test): Likewise.
55062         (lrint_test_tonearest): Likewise.
55063         (lrint_test_towardzero): Likewise.
55064         (lrint_test_downward): Likewise.
55065         (lrint_test_upward): Likewise.
55066         (llrint_test): Likewise.
55067         (llrint_test_tonearest): Likewise.
55068         (llrint_test_towardzero): Likewise.
55069         (llrint_test_downward): Likewise.
55070         (llrint_test_upward): Likewise.
55071         (log_test): Likewise.
55072         (log10_test): Likewise.
55073         (log1p_test): Likewise.
55074         (log2_test): Likewise.
55075         (logb_test): Likewise.
55076         (logb_test_downward): Likewise.
55077         (lround_test): Likewise.
55078         (llround_test): Likewise.
55079         (modf_test): Likewise.
55080         (nearbyint_test): Likewise.
55081         (nextafter_test): Likewise.
55082         (nexttoward_test): Likewise.
55083         (pow_test): Likewise.
55084         (pow_test_tonearest): Likewise.
55085         (pow_test_towardzero): Likewise.
55086         (pow_test_downward): Likewise.
55087         (pow_test_upward): Likewise.
55088         (remainder_test): Likewise.
55089         (remainder_test_tonearest): Likewise.
55090         (remainder_test_towardzero): Likewise.
55091         (remainder_test_downward): Likewise.
55092         (remainder_test_upward): Likewise.
55093         (remquo_test): Likewise.
55094         (rint_test): Likewise.
55095         (rint_test_tonearest): Likewise.
55096         (rint_test_towardzero): Likewise.
55097         (rint_test_downward): Likewise.
55098         (rint_test_upward): Likewise.
55099         (round_test): Likewise.
55100         (scalb_test): Likewise.
55101         (scalbn_test): Likewise.
55102         (scalbln_test): Likewise.
55103         (signbit_test): Likewise.
55104         (sin_test): Likewise.
55105         (sin_test_tonearest): Likewise.
55106         (sin_test_towardzero): Likewise.
55107         (sin_test_downward): Likewise.
55108         (sin_test_upward): Likewise.
55109         (sincos_test): Likewise.
55110         (sinh_test): Likewise.
55111         (sinh_test_tonearest): Likewise.
55112         (sinh_test_towardzero): Likewise.
55113         (sinh_test_downward): Likewise.
55114         (sinh_test_upward): Likewise.
55115         (sqrt_test): Likewise.
55116         (tan_test): Likewise.
55117         (tan_test_tonearest): Likewise.
55118         (tan_test_towardzero): Likewise.
55119         (tan_test_downward): Likewise.
55120         (tan_test_upward): Likewise.
55121         (tanh_test): Likewise.
55122         (tgamma_test): Likewise.
55123         (trunc_test): Likewise.
55124         (y0_test): Likewise.
55125         (y1_test): Likewise.
55126         (yn_test): Likewise.
55127         (significand_test): Likewise.
55129 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55131         [BZ #15381]
55132         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55134 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55136         [BZ #14894]
55137         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55138         __ppc_mdoio and __ppc_mdoom.
55139         * manual/platform.texi: Document new functions __ppc_yield,
55140         __ppc_mdoio and __ppc_mdoom.
55142 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55144         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55145         (main): Mention "tls" pseudo-hwcap is legacy.
55146         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55148 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55150         * math/gen-libm-test.pl (parse_args): Output only string of
55151         arguments as text for test name, not full call or descriptions of
55152         tests for extra outputs.
55153         (generate_testfile): Do not pass function name to parse_args.
55154         Generate this_func variable from START.
55155         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55156         field to arg_str.
55157         (struct test_ff_f_data): Likewise.
55158         (test_ff_f_data_nexttoward): Likewise.
55159         (struct test_fi_f_data): Likewise.
55160         (struct test_fl_f_data): Likewise.
55161         (struct test_if_f_data): Likewise.
55162         (struct test_fff_f_data): Likewise.
55163         (struct test_c_f_data): Likewise.
55164         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55165         (struct test_fF_f1_data): Likewise.
55166         (struct test_ffI_f1_data): Likewise.
55167         (struct test_c_c_data): Rename test_name field to arg_str.
55168         (struct test_cc_c_data): Likewise.
55169         (struct test_f_i_data): Likewise.
55170         (struct test_ff_i_data): Likewise.
55171         (struct test_f_l_data): Likewise.
55172         (struct test_f_L_data): Likewise.
55173         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55174         and extra2_name.
55175         (COMMON_TEST_SETUP): New macro.
55176         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55177         (COMMON_TEST_CLEANUP): Likewise.
55178         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55179         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55180         macros.
55181         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55182         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55183         macros.
55184         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55185         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55186         cleanup macros.
55187         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55188         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55189         macros.
55190         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55191         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55192         macros.
55193         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55194         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
55195         cleanup macros.
55196         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55197         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
55198         cleanup macros.
55199         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55200         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
55201         cleanup macros.
55202         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55203         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
55204         macros.
55205         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55206         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
55207         macros.
55208         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55209         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
55210         macros.
55211         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55212         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
55213         cleanup macros.
55214         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55215         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
55216         cleanup macros.
55217         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55218         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
55219         macros.
55220         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55221         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
55222         cleanup macros.
55223         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55224         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
55225         macros.
55226         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55227         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
55228         macros.
55229         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55230         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
55231         cleanup macros.
55232         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55234 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
55236         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55237         to _sifields.sigfault.
55238         (si_addr_lsb): Define new macro.
55239         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55240         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55241         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55243 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
55245         [BZ #15441]
55246         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55247         returns -1.
55248         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55249         null return -1.
55250         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55251         loading the domain.
55253 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55255         * math/gen-libm-test.pl (parse_args): Do not include expected
55256         result in test name.
55257         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55258         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55259         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55260         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55261         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55264 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55266         * benchtests/Makefile: Sort function entries.
55268         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55269         tanh, asinh, acosh, atanh.
55270         * benchtests/acos-inputs: New file.
55271         * benchtests/acosh-inputs: New file.
55272         * benchtests/asin-inputs: New file.
55273         * benchtests/asinh-inputs: New file.
55274         * benchtests/atanh-inputs: New file.
55275         * benchtests/cosh-inputs: New file.
55276         * benchtests/log-inputs: New file.
55277         * benchtests/sinh-inputs: New file.
55278         * benchtests/tanh-inputs: New file.
55280 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
55282         [BZ #15339]
55283         * posix/tst-getaddrinfo4.c: New test.
55284         * posix/Makefile (tests): Add it.
55286 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55288         [BZ #15339]
55289         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55290         when no services were used.
55291         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55292         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55294 2013-05-21  Andreas Schwab  <schwab@suse.de>
55296         [BZ #15014]
55297         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55298         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55299         successful.
55300         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55301         redundant variable declarations and reallocation of buffer when
55302         parsing as IPv6 address.  Always set NSS status when called from
55303         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
55304         buffer too small.  Correct computation of needed size.
55305         * nss/Makefile (tests): Add test-digits-dots.
55306         * nss/test-digits-dots.c: New test.
55308 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55310         * benchtests/Makefile: Remove instructions for adding
55311         benchmark tests.
55312         * benchtests/README: New file to explain how to execute and
55313         enhance the benchmark tests.
55315 2013-05-21  Andreas Schwab  <schwab@suse.de>
55317         [BZ #15493]
55318         * setjmp/Makefile (tests): Add tst-sigsetjmp.
55319         * setjmp/tst-sigsetjmp.c: New test.
55321 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55323         * sysdeps/x86_64/memset.S (memset): New implementation.
55324         (__bzero): Likewise.
55325         (__memset_tail): New function.
55327 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55329         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55330         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55331         __memcpy_sse2_unaligned ifunc selection.
55332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55333         Add memcpy-sse2-unaligned.S.
55334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55335         Add: __memcpy_sse2_unaligned.
55337 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
55339         [BZ #15490]
55340         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55341         math_force_eval before restoring floating-point envrionment.
55342         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55343         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55344         Likewise.
55345         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55346         <math_private.h>.
55347         (__nearbyintl): Use math_force_eval before restoring
55348         floating-point environment.
55349         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55351         * math/gen-libm-test.pl (special_functions): Remove.
55352         (parse_args): Don't handle TEST_extra.  Handle functions with no
55353         return value.
55354         * math/libm-test.inc (struct test_sincos_data): Replace with
55355         struct test_fFF_11_data.
55356         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55357         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55358         (sincos_test_data): Change element type to struct
55359         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
55360         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55361         RUN_TEST_LOOP_sincos.
55362         * math/README.libm-test: Don't mention special handling of
55363         individual functions.
55364         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55365         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55366         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55367         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55368         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55371         * math/gen-libm-test.pl (get_variable): Remove function.
55372         (parse_args): Don't show pointer parameters to call in test
55373         names.  Use "extra output N" in test names for extra outputs
55374         rather than naming variables.
55376 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
55378         [BZ #15488]
55379         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55380         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55381         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55382         double tests.
55383         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55384         disable.
55385         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55386         check_long_double.
55388         * math/gen-libm-test.pl (@tests): Remove variable.
55389         ($count): Likewise.
55390         (new_test): Remove function.
55391         (show_exceptions): New function.
55392         (special_functions): Use show_exceptions instead of new_test.
55393         (parse_args): Likewise.
55394         (generate_testfile): Pass only function name in generated call to
55395         print_max_error or print_complex_max_error.
55396         (get_ulps): Do not handle complex tests specially.
55397         (output_test): Rename to ...
55398         (get_all_ulps_for_test): ... this.  Return a string rather than
55399         printing to a file.  Require ulps to be present.
55400         (output_ulps): Generate arrays rather than #defines.
55401         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55402         (struct ulp_data): New type.
55403         (BUILD_COMPLEX_ULP): Remove macro.
55404         (compare_ulp_data): New function.
55405         (find_ulps): Likewise.
55406         (find_test_ulps): Likewise.
55407         (find_function_ulps): Likewise.
55408         (find_complex_function_ulps): Likewise.
55409         (print_max_error): Determine allowed ulps using
55410         find_function_ulps.
55411         (print_complex_max_error): Determine allowed ulps using
55412         find_complex_function_ulps.
55413         (check_float_internal): Determine max ulps using find_test_ulps.
55414         (check_float): Do not take max_ulp parameter.  Update call to
55415         check_float_internal.
55416         (check_complex): Likewise.
55417         (check_int): Do not take max_ulp parameter.
55418         (check_long): Likewise.
55419         (check_bool): Likewise.
55420         (check_longlong): Likewise.
55421         (struct test_f_f_data): Remove max_ulp field.
55422         (struct test_ff_f_data): Likewise.
55423         (struct test_ff_f_data_nexttoward): Likewise.
55424         (struct test_fi_f_data): Likewise.
55425         (struct test_fl_f_data): Likewise.
55426         (struct test_if_f_data): Likewise.
55427         (struct test_fff_f_data): Likewise.
55428         (struct test_c_f_data): Likewise.
55429         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55430         (struct test_fF_f1_data): Likewise.
55431         (struct test_ffI_f1_data): Likewise.
55432         (struct test_c_c_data): Remove max_ulp field.
55433         (struct test_cc_c_data): Likewise.
55434         (struct test_f_i_data): Likewise.
55435         (struct test_ff_i_data): Likewise.
55436         (struct test_f_l_data): Likewise.
55437         (struct test_f_L_data): Likewise.
55438         (struct test_sincos_data): Likewise.
55439         (RUN_TEST_f_f): Do not handle ulps.
55440         (RUN_TEST_LOOP_f_f): Likewise.
55441         (RUN_TEST_2_f): Likewise.
55442         (RUN_TEST_LOOP_2_f): Likewise.
55443         (RUN_TEST_fff_f): Likewise.
55444         (RUN_TEST_LOOP_fff_f): Likewise.
55445         (RUN_TEST_c_f): Likewise.
55446         (RUN_TEST_LOOP_c_f): Likewise.
55447         (RUN_TEST_f_f1): Likewise.
55448         (RUN_TEST_LOOP_f_f1): Likewise.
55449         (RUN_TEST_fF_f1): Likewise.
55450         (RUN_TEST_LOOP_fF_f1): Likewise.
55451         (RUN_TEST_fI_f1): Likewise.
55452         (RUN_TEST_LOOP_fI_f1): Likewise.
55453         (RUN_TEST_ffI_f1): Likewise.
55454         (RUN_TEST_LOOP_ffI_f1): Likewise.
55455         (RUN_TEST_c_c): Likewise.
55456         (RUN_TEST_LOOP_c_c): Likewise.
55457         (RUN_TEST_cc_c): Likewise.
55458         (RUN_TEST_LOOP_cc_c): Likewise.
55459         (RUN_TEST_f_i): Likewise.
55460         (RUN_TEST_LOOP_f_i): Likewise.
55461         (RUN_TEST_f_i_tg): Likewise.
55462         (RUN_TEST_LOOP_f_i_tg): Likewise.
55463         (RUN_TEST_ff_i_tg): Likewise.
55464         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55465         (RUN_TEST_f_b): Likewise.
55466         (RUN_TEST_LOOP_f_b): Likewise.
55467         (RUN_TEST_f_b_tg): Likewise.
55468         (RUN_TEST_LOOP_f_b_tg): Likewise.
55469         (RUN_TEST_f_l): Likewise.
55470         (RUN_TEST_LOOP_f_l): Likewise.
55471         (RUN_TEST_f_L): Likewise.
55472         (RUN_TEST_LOOP_f_L): Likewise.
55473         (RUN_TEST_sincos): Likewise.
55474         (RUN_TEST_LOOP_sincos): Likewise.
55476 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
55478         [BZ #15480]
55479         [BZ #15485]
55480         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55481         main case of finite arguments, set rounding mode to FE_TONEAREST
55482         and discard exceptions.
55483         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55484         exceptions.
55485         (remainder_tonearest_test_data): New variable.
55486         (remainder_test_tonearest): New function.
55487         (remainder_towardzero_test_data): New variable.
55488         (remainder_test_towardzero): New function.
55489         (remainder_downward_test_data): New variable.
55490         (remainder_test_downward): New function.
55491         (remainder_upward_test_data): New variable.
55492         (remainder_test_upward): New function.
55493         (main): Call the new test functions.
55495         * math/libm-test.inc (struct test_f_f1_data): Remove field
55496         extra_init.
55497         (struct test_fF_f1_data): Likewise.
55498         (struct test_ffI_f1_data): Likewise.
55499         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
55500         based on value of EXTRA_EXPECTED.
55501         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55502         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
55503         EXTRA_VAR based on value of EXTRA_EXPECTED.
55504         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55505         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
55506         EXTRA_VAR based on value of EXTRA_EXPECTED.
55507         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55508         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
55509         EXTRA_VAR based on value of EXTRA_EXPECTED.
55510         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55511         * math/gen-libm-test.pl (parse_args): Don't output initializers
55512         for extra output values.
55514         * math/libm-test.inc (check_int): Expect result to be exactly
55515         equal to expected value and do not handle ulps.
55516         (check_long): Likewise.
55517         (check_longlong): Likewise.
55519         * math/libm-test.inc (ceil_test_data): Test for "inexact"
55520         exceptions.
55521         (cimag_test_data): Likewise.
55522         (conj_test_data): Likewise.
55523         (copysign_test_data): Likewise.
55524         (cproj_test_data): Likewise.
55525         (creal_test_data): Likewise.
55526         (fabs_test_data): Likewise.
55527         (fdim_test_data): Likewise.
55528         (finite_test_data): Likewise.
55529         (floor_test_data): Likewise.
55530         (fmax_test_data): Likewise.
55531         (fmin_test_data): Likewise.
55532         (fmod_test_data): Likewise.
55533         (fpclassify_test_data): Likewise.
55534         (frexp_test_data): Likewise.
55535         (ilogb_test_data): Likewise.
55536         (isfinite_test_data): Likewise.
55537         (isgreater_test_data): Likewise.
55538         (isgreaterequal_test_data): Likewise.
55539         (isinf_test_data): Likewise.
55540         (isless_test_data): Likewise.
55541         (islessequal_test_data): Likewise.
55542         (islessgreater_test_data): Likewise.
55543         (isnan_test_data): Likewise.
55544         (isnormal_test_data): Likewise.
55545         (issignaling_test_data): Likewise.
55546         (isunordered_test_data): Likewise.
55547         (ldexp_test_data): Likewise.
55548         (lrint_test_data): Likewise.
55549         (lrint_test_data) [TEST_FLOAT]: Disable one test.
55550         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55551         (lrint_tonearest_test_data): Test for "inexact" exceptions.
55552         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55553         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55554         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55555         test input.
55556         (lrint_towardzero_test_data): Test for "inexact" exceptions.
55557         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55558         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55559         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55560         that test input.
55561         (lrint_downward_test_data): Test for "inexact" exceptions.
55562         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55563         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55564         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55565         test input.
55566         (lrint_upward_test_data): Test for "inexact" exceptions.
55567         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55568         test input.
55569         (llrint_test_data): Test for "inexact" exceptions.
55570         (llrint_test_data) [TEST_FLOAT]: Disable one test.
55571         (llrint_tonearest_test_data): Test for "inexact" exceptions.
55572         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55573         (llrint_towardzero_test_data): Test for "inexact" exceptions.
55574         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55575         (llrint_downward_test_data): Test for "inexact" exceptions.
55576         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55577         (llrint_upward_test_data): Test for "inexact" exceptions.
55578         (logb_test_data): Likewise.
55579         (logb_downward_test_data): Likewise.
55580         (nextafter_test_data): Likewise.
55581         (nexttoward_test_data): Likewise.
55582         (remainder_test_data): Likewise.
55583         (remquo_test_data): Likewise.
55584         (scalbn_test_data): Likewise.
55585         (scalbln_test_data): Likewise.
55586         (signbit_test_data): Likewise.
55587         (sqrt_test_data): Likewise.
55588         (significand_test_data): Likewise.
55590 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55592         [BZ #15424]
55593         * benchtests/bench-modf.c (struct args): Mark arg0 as
55594         volatile.
55595         * scripts/bench.pl: Mark members of struct args as volatile.
55597 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55599         [BZ # 15497]
55600         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55601         negative infinity on POWER6 or lower.
55602         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55604 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
55606         [BZ #15442]
55607         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55608         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55609         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55610         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55611         (_FP_SETQNAN): New macro.
55612         (_FP_SETQNAN_SEMIRAW): Likewise.
55613         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55614         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55615         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55616         (FP_EXTEND): Use _FP_FRAC_SNANP.
55617         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55618         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55619         into account.
55620         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55621         New macro.
55622         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55623         Likewise.
55625 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55627         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55628         with DIVIDE_BY_ZERO_EXCEPTION.
55629         (gamma_test_data): Likewise.
55630         (lgamma_test_data): Likewise.
55631         (log_test_data): Likewise.
55632         (log10_test_data): Likewise.
55633         (log2_test_data): Likewise.
55634         (tgamma_test_data): Likewise.
55636         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55637         (acos_test_tonearest): Likewise.
55638         (acos_test_towardzero): Likewise.
55639         (acos_test_downward): Likewise.
55640         (acos_test_upward): Likewise.
55641         (acosh_test): Likewise.
55642         (asin_test): Likewise.
55643         (asin_test_tonearest): Likewise.
55644         (asin_test_towardzero): Likewise.
55645         (asin_test_downward): Likewise.
55646         (asin_test_upward): Likewise.
55647         (asinh_test): Likewise.
55648         (atan_test): Likewise.
55649         (atanh_test): Likewise.
55650         (atan2_test): Likewise.
55651         (cabs_test): Likewise.
55652         (cacos_test): Likewise.
55653         (cacosh_test): Likewise.
55654         (casin_test): Likewise.
55655         (casinh_test): Likewise.
55656         (catan_test): Likewise.
55657         (catanh_test): Likewise.
55658         (cbrt_test): Likewise.
55659         (ccos_test): Likewise.
55660         (ccosh_test): Likewise.
55661         (cexp_test): Likewise.
55662         (clog_test): Likewise.
55663         (clog10_test): Likewise.
55664         (cos_test): Likewise.
55665         (cos_test_tonearest): Likewise.
55666         (cos_test_towardzero): Likewise.
55667         (cos_test_downward): Likewise.
55668         (cos_test_upward): Likewise.
55669         (cosh_test): Likewise.
55670         (cosh_test_tonearest): Likewise.
55671         (cosh_test_towardzero): Likewise.
55672         (cosh_test_downward): Likewise.
55673         (cosh_test_upward): Likewise.
55674         (cpow_test): Likewise.
55675         (csin_test): Likewise.
55676         (csinh_test): Likewise.
55677         (csqrt_test): Likewise.
55678         (ctan_test): Likewise.
55679         (ctan_test_tonearest): Likewise.
55680         (ctan_test_towardzero): Likewise.
55681         (ctan_test_downward): Likewise.
55682         (ctan_test_upward): Likewise.
55683         (ctanh_test): Likewise.
55684         (ctanh_test_tonearest): Likewise.
55685         (ctanh_test_towardzero): Likewise.
55686         (ctanh_test_downward): Likewise.
55687         (ctanh_test_upward): Likewise.
55688         (erf_test): Likewise.
55689         (erfc_test): Likewise.
55690         (exp_test): Likewise.
55691         (exp_test_tonearest): Likewise.
55692         (exp_test_towardzero): Likewise.
55693         (exp_test_downward): Likewise.
55694         (exp_test_upward): Likewise.
55695         (exp10_test): Likewise.
55696         (exp2_test): Likewise.
55697         (expm1_test): Likewise.
55698         (fmod_test): Likewise.
55699         (gamma_test): Likewise.
55700         (hypot_test): Likewise.
55701         (j0_test): Likewise.
55702         (j1_test): Likewise.
55703         (jn_test): Likewise.
55704         (lgamma_test): Likewise.
55705         (log_test): Likewise.
55706         (log10_test): Likewise.
55707         (log1p_test): Likewise.
55708         (log2_test): Likewise.
55709         (logb_test_downward): Likewise.
55710         (pow_test): Likewise.
55711         (pow_test_tonearest): Likewise.
55712         (pow_test_towardzero): Likewise.
55713         (pow_test_downward): Likewise.
55714         (pow_test_upward): Likewise.
55715         (remainder_test): Likewise.
55716         (remquo_test): Likewise.
55717         (sin_test): Likewise.
55718         (sin_test_tonearest): Likewise.
55719         (sin_test_towardzero): Likewise.
55720         (sin_test_downward): Likewise.
55721         (sin_test_upward): Likewise.
55722         (sincos_test): Likewise.
55723         (sinh_test): Likewise.
55724         (sinh_test_tonearest): Likewise.
55725         (sinh_test_towardzero): Likewise.
55726         (sinh_test_downward): Likewise.
55727         (sinh_test_upward): Likewise.
55728         (sqrt_test): Likewise.
55729         (tan_test): Likewise.
55730         (tan_test_tonearest): Likewise.
55731         (tan_test_towardzero): Likewise.
55732         (tan_test_downward): Likewise.
55733         (tan_test_upward): Likewise.
55734         (tanh_test): Likewise.
55735         (tgamma_test): Likewise.
55736         (y0_test): Likewise.
55737         (y1_test): Likewise.
55738         (yn_test): Likewise.
55740         * math/gen-libm-test.pl (adjust_arg): Remove function.
55741         (special_function): Remove argument $in_func.  Only handle
55742         generating output for tables of tests, not inside functions.
55743         (parse_args): Likewise.
55744         (generate_testfile): Remove variable $in_func.  Update call to
55745         parse_args.
55746         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55747         (MINUS_ZERO_INIT): Rename macro to minus_zero.
55748         (PLUS_INFTY_INIT): Rename macro to plus_infty.
55749         (MINUS_INFTY_INIT): Rename macro to minus_infty.
55750         (QNAN_VALUE_INIT): Rename macro to qnan_value.
55751         (MAX_VALUE_INIT): Rename macro to max_value.
55752         (MIN_VALUE_INIT): Rename macro to min_value.
55753         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55754         (plus_zero): Remove variable.
55755         (minus_zero): Likewise.
55756         (plus_infty): Likewise.
55757         (minus_infty): Likewise.
55758         (qnan_value): Likewise.
55759         (max_value): Likewise.
55760         (min_value): Likewise.
55761         (min_subnorm_value): Likewise.
55763 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55765         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55766         uint64_t or uint32_t usage.
55767         * crypt/sha256-block.c: Likewise.
55768         * crypt/sha256-crypt.c: Likewise.
55769         * crypt/sha256.c: Likewise.
55770         * crypt/sha512-block.c: Likewise.
55771         * crypt/sha512-crypt.c: Likewise.
55772         * crypt/sha512.c: Likewise.
55773         * debug/backtrace-tst.c: Likewise.
55774         * debug/pcprofiledump.c: Likewise.
55775         * elf/cache.c: Likewise.
55776         * elf/dl-cache.c: Likewise.
55777         * elf/dl-misc.c: Likewise.
55778         * elf/dl-profile.c: Likewise.
55779         * elf/dl-support.c: Likewise.
55780         * elf/ldconfig.c: Likewise.
55781         * elf/sprof.c: Likewise.
55782         * iconv/dummy-repertoire.c: Likewise.
55783         * iconv/iconv_charmap.c: Likewise.
55784         * iconv/skeleton.c: Likewise.
55785         * iconvdata/8bit-generic.c: Likewise.
55786         * iconvdata/cp737.h: Likewise.
55787         * iconvdata/cp775.h: Likewise.
55788         * iconvdata/ibm1008.h: Likewise.
55789         * iconvdata/ibm1025.h: Likewise.
55790         * iconvdata/ibm1046.h: Likewise.
55791         * iconvdata/ibm1097.h: Likewise.
55792         * iconvdata/ibm1112.h: Likewise.
55793         * iconvdata/ibm1122.h: Likewise.
55794         * iconvdata/ibm1123.h: Likewise.
55795         * iconvdata/ibm1124.h: Likewise.
55796         * iconvdata/ibm1129.h: Likewise.
55797         * iconvdata/ibm1130.h: Likewise.
55798         * iconvdata/ibm1132.h: Likewise.
55799         * iconvdata/ibm1133.h: Likewise.
55800         * iconvdata/ibm1137.h: Likewise.
55801         * iconvdata/ibm1140.h: Likewise.
55802         * iconvdata/ibm1141.h: Likewise.
55803         * iconvdata/ibm1142.h: Likewise.
55804         * iconvdata/ibm1143.h: Likewise.
55805         * iconvdata/ibm1144.h: Likewise.
55806         * iconvdata/ibm1145.h: Likewise.
55807         * iconvdata/ibm1146.h: Likewise.
55808         * iconvdata/ibm1147.h: Likewise.
55809         * iconvdata/ibm1148.h: Likewise.
55810         * iconvdata/ibm1149.h: Likewise.
55811         * iconvdata/ibm1153.h: Likewise.
55812         * iconvdata/ibm1154.h: Likewise.
55813         * iconvdata/ibm1155.h: Likewise.
55814         * iconvdata/ibm1156.h: Likewise.
55815         * iconvdata/ibm1157.h: Likewise.
55816         * iconvdata/ibm1158.h: Likewise.
55817         * iconvdata/ibm1160.h: Likewise.
55818         * iconvdata/ibm1161.h: Likewise.
55819         * iconvdata/ibm1162.h: Likewise.
55820         * iconvdata/ibm1163.h: Likewise.
55821         * iconvdata/ibm1164.h: Likewise.
55822         * iconvdata/ibm1166.h: Likewise.
55823         * iconvdata/ibm1167.h: Likewise.
55824         * iconvdata/ibm12712.h: Likewise.
55825         * iconvdata/ibm1390.h: Likewise.
55826         * iconvdata/ibm1399.h: Likewise.
55827         * iconvdata/ibm16804.h: Likewise.
55828         * iconvdata/ibm4517.h: Likewise.
55829         * iconvdata/ibm4899.h: Likewise.
55830         * iconvdata/ibm4909.h: Likewise.
55831         * iconvdata/ibm4971.h: Likewise.
55832         * iconvdata/ibm5347.h: Likewise.
55833         * iconvdata/ibm803.h: Likewise.
55834         * iconvdata/ibm856.h: Likewise.
55835         * iconvdata/ibm901.h: Likewise.
55836         * iconvdata/ibm902.h: Likewise.
55837         * iconvdata/ibm9030.h: Likewise.
55838         * iconvdata/ibm9066.h: Likewise.
55839         * iconvdata/ibm921.h: Likewise.
55840         * iconvdata/ibm922.h: Likewise.
55841         * iconvdata/ibm9448.h: Likewise.
55842         * iconvdata/isiri-3342.h: Likewise.
55843         * iconvdata/jis0201.h: Likewise.
55844         * include/link.h: Likewise.
55845         * include/netdb.h: Likewise.
55846         * inet/check_native.c: Likewise.
55847         * inet/check_pf.c: Likewise.
55848         * inet/getipv4sourcefilter.c: Likewise.
55849         * inet/getnameinfo.c: Likewise.
55850         * inet/getsourcefilter.c: Likewise.
55851         * inet/htonl.c: Likewise.
55852         * inet/setipv4sourcefilter.c: Likewise.
55853         * inet/setsourcefilter.c: Likewise.
55854         * inet/test-inet6_opt.c: Likewise.
55855         * inet/tst-network.c: Likewise.
55856         * locale/C-collate.c: Likewise.
55857         * locale/C-ctype.c: Likewise.
55858         * locale/C-time.c: Likewise.
55859         * locale/C-translit.h: Likewise.
55860         * locale/loadarchive.c: Likewise.
55861         * locale/programs/3level.h: Likewise.
55862         * locale/programs/charmap.c: Likewise.
55863         * locale/programs/charmap.h: Likewise.
55864         * locale/programs/ld-address.c: Likewise.
55865         * locale/programs/ld-collate.c: Likewise.
55866         * locale/programs/ld-ctype.c: Likewise.
55867         * locale/programs/ld-identification.c: Likewise.
55868         * locale/programs/ld-measurement.c: Likewise.
55869         * locale/programs/ld-messages.c: Likewise.
55870         * locale/programs/ld-monetary.c: Likewise.
55871         * locale/programs/ld-name.c: Likewise.
55872         * locale/programs/ld-numeric.c: Likewise.
55873         * locale/programs/ld-paper.c: Likewise.
55874         * locale/programs/ld-telephone.c: Likewise.
55875         * locale/programs/ld-time.c: Likewise.
55876         * locale/programs/linereader.c: Likewise.
55877         * locale/programs/locale.c: Likewise.
55878         * locale/programs/locarchive.c: Likewise.
55879         * locale/programs/locfile.h: Likewise.
55880         * locale/programs/repertoire.c: Likewise.
55881         * locale/programs/simple-hash.c: Likewise.
55882         * locale/programs/simple-hash.h: Likewise.
55883         * malloc/memusage.c: Likewise.
55884         * malloc/memusagestat.c: Likewise.
55885         * nis/nis_defaults.c: Likewise.
55886         * nis/nis_hash.c: Likewise.
55887         * nis/nis_print.c: Likewise.
55888         * nis/nis_xdr.c: Likewise.
55889         * nscd/connections.c: Likewise.
55890         * nscd/hstcache.c: Likewise.
55891         * nscd/nscd_gethst_r.c: Likewise.
55892         * nscd/nscd_getserv_r.c: Likewise.
55893         * nscd/nscd_helper.c: Likewise.
55894         * nscd/servicescache.c: Likewise.
55895         * nss/makedb.c: Likewise.
55896         * nss/nss_db/db-XXX.c: Likewise.
55897         * nss/nss_db/db-initgroups.c: Likewise.
55898         * nss/nss_db/db-netgrp.c: Likewise.
55899         * nss/nss_files/files-network.c: Likewise.
55900         * nss/nss_files/files-parse.c: Likewise.
55901         * posix/bug-regex5.c: Likewise.
55902         * posix/fnmatch_loop.c: Likewise.
55903         * posix/regcomp.c: Likewise.
55904         * posix/regexec.c: Likewise.
55905         * posix/tst-rfc3484-2.c: Likewise.
55906         * posix/tst-rfc3484-3.c: Likewise.
55907         * posix/tst-rfc3484.c: Likewise.
55908         * resolv/nss_dns/dns-canon.c: Likewise.
55909         * resolv/nss_dns/dns-network.c: Likewise.
55910         * resolv/res_init.c: Likewise.
55911         * resolv/res_mkquery.c: Likewise.
55912         * resolv/tst-aton.c: Likewise.
55913         * stdlib/cxa_atexit.c: Likewise.
55914         * stdlib/cxa_finalize.c: Likewise.
55915         * stdlib/gen-fpioconst.c: Likewise.
55916         * stdlib/strtol_l.c: Likewise.
55917         * string/tst-endian.c: Likewise.
55918         * sunrpc/auth_des.c: Likewise.
55919         * sunrpc/clnt_udp.c: Likewise.
55920         * sunrpc/rtime.c: Likewise.
55921         * sunrpc/svcauth_des.c: Likewise.
55922         * sunrpc/xdr.c: Likewise.
55923         * sunrpc/xdr_intXX_t.c: Likewise.
55924         * sunrpc/xdr_rec.c: Likewise.
55925         * sysdeps/generic/ldconfig.h: Likewise.
55926         * sysdeps/generic/ldsodefs.h: Likewise.
55927         * sysdeps/generic/memusage.h: Likewise.
55928         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55929         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55930         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55931         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55932         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55934         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55935         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55936         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55937         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55938         * sysdeps/posix/getaddrinfo.c: Likewise.
55939         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55940         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55941         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55942         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55943         * sysdeps/powerpc/test-gettimebase.c: Likewise.
55944         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55945         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55946         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55947         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55948         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55949         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55950         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55951         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55952         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55953         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55954         * sysdeps/x86_64/dl-tls.h: Likewise.
55955         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55956         * time/alt_digit.c: Likewise.
55957         * time/era.c: Likewise.
55958         * wcsmbs/tst-c16c32-1.c: Likewise.
55960 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55962         * math/libm-test.inc (struct test_sincos_data): New type.
55963         (RUN_TEST_LOOP_sincos): New macro.
55964         (sincos_test_data): New variable.
55965         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55967 2013-05-16  Richard Henderson  <rth@redhat.com>
55969         * math/atest-exp2.c (LIMB64): New macro.
55970         (CONSTSZ): New macro.
55971         (mp_exp1, mp_exp_m1, mp_log2): New variables.
55972         (hexdig): Move ...
55973         (print_mpn_fp): ... to function scope.
55974         (read_mpn_hex): Remove.
55975         (get_log2): Remove.
55976         (exp2_mpn): Use mp_log2.
55977         (main): Use mp_exp1.
55979 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55981         * math/libm-test.inc: Remove comment about not testing "inexact"
55982         exceptions.
55983         (INEXACT_EXCEPTION): New macro.
55984         (NO_INEXACT_EXCEPTION): Likewise.
55985         (INVALID_EXCEPTION_OK): Update value.
55986         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55987         (OVERFLOW_EXCEPTION_OK): Likewise.
55988         (UNDERFLOW_EXCEPTION_OK): Likewise.
55989         (IGNORE_ZERO_INF_SIGN): Likewise.
55990         (ERRNO_UNCHANGED): Likewise.
55991         (ERRNO_EDOM): Likewise.
55992         (ERRNO_ERANGE): Likewise.
55993         (test_exceptions): Handle testing "inexact" exceptions.
55994         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
55995         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
55996         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
55997         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
55998         INEXACT_EXCEPTION.
55999         (rint_towardzero_test_data): Likewise.
56000         (rint_downward_test_data): Likewise.
56001         (rint_upward_test_data): Likewise.
56003         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56004         with OVERFLOW_EXCEPTION.
56005         (exp10_test_data): Likewise.
56006         (exp2_test_data): Likewise.
56007         (expm1_test_data): Likewise.
56008         (lgamma_test_data): Likewise.
56009         (pow_test_data): Likewise.
56010         (tgamma_test_data): Likewise.
56011         (yn_test_data): Remove duplicate test of overflow.
56013         * math/libm-test.inc (struct test_cc_c_data): New type.
56014         (RUN_TEST_LOOP_cc_c): New macro.
56015         (cpow_test_data): New variable.
56016         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56018         * math/libm-test.inc (struct test_f_L_data): New type.
56019         (RUN_TEST_LOOP_f_L): New macro.
56020         (llrint_test_data): New variable.
56021         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56022         (llrint_tonearest_test_data): New variable.
56023         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56024         (llrint_towardzero_test_data): New variable.
56025         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56026         (llrint_downward_test_data): New variable.
56027         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56028         (llrint_upward_test_data): New variable.
56029         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56030         (llround_test_data): New variable.
56031         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56033 2013-05-13  Peter Collingbourne  <pcc@google.com>
56035         * math/atest-exp2.c (get_log2): Remove const attribute.
56037 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56039         * math/libm-test.inc (struct test_f_l_data): New type.
56040         (RUN_TEST_LOOP_f_l): New macro.
56041         (lrint_test_data): New variable.
56042         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56043         (lrint_tonearest_test_data): New variable.
56044         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56045         (lrint_towardzero_test_data): New variable.
56046         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56047         (lrint_downward_test_data): New variable.
56048         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56049         (lrint_upward_test_data): New variable.
56050         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56051         (lround_test_data): New variable.
56052         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56054 2013-05-15  Peter Collingbourne  <pcc@google.com>
56056         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56057         (EXTRACT_WORDS64) Use where appropriate.
56058         (INSERT_WORDS64) Likewise.
56060         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56061         constraints with x constraints.
56062         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56064         * malloc/obstack.c (_obstack_compat): Add initializer.
56066 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56068         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56069         si_trapno and add si_addr_lsb to _sifields.sigfault.
56070         (si_trapno): Remove macro.
56071         (si_addr_lsb): Define new macro.
56072         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56074 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56076         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56077         instead of TEST_f_l.
56078         (llrint_test_tonearest): Likewise.
56079         (llrint_test_towardzero): Likewise.
56080         (llrint_test_downward): Likewise.
56081         (llrint_test_upward): Likewise.
56082         (llround_test): Likewise.
56084         * math/libm-test.inc (struct test_f_i_data): Add comment.
56085         (RUN_TEST_LOOP_f_b): New macro.
56086         (RUN_TEST_LOOP_f_b_tg): Likewise.
56087         (finite_test_data): New variable.
56088         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56089         (isfinite_test_data): New variable.
56090         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56091         (isinf_test_data): New variable.
56092         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56093         (isnan_test_data): New variable.
56094         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56095         (isnormal_test_data): New variable.
56096         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56097         (issignaling_test_data): New variable.
56098         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56099         (signbit_test_data): New variable.
56100         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56102         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56103         with INVALID_EXCEPTION.
56104         (acosh_test_data): Likewise.
56105         (asin_test_data): Likewise.
56106         (atanh_test_data): Likewise.
56107         (fmod_test_data): Likewise.
56108         (log_test_data): Likewise.
56109         (log10_test_data): Likewise.
56110         (log2_test_data): Likewise.
56111         (pow_test_data): Likewise.
56112         (sqrt_test_data): Likewise.
56113         (y0_test_data): Likewise.
56114         (y1_test_data): Likewise.
56115         (yn_test_data): Likewise.
56117         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56118         function contents.
56120         * math/libm-test.inc (struct test_ff_i_data): New type.
56121         (RUN_TEST_LOOP_ff_i_tg): New macro.
56122         (isgreater_test_data): New variable.
56123         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56124         (isgreaterequal_test_data): New variable.
56125         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56126         (isless_test_data): New variable.
56127         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56128         (islessequal_test_data): New variable.
56129         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56130         (islessgreater_test_data): New variable.
56131         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56132         (isunordered_test_data): New variable.
56133         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56135 2013-05-14  David S. Miller  <davem@davemloft.net>
56137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56139 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56141         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56143         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56144         extra_test to int.
56145         (struct test_f_i_data): Change type of max_ulp to int.
56147         * math/libm-test.inc (test_ffI_f1_data): New type.
56148         (RUN_TEST_LOOP_ffI_f1): New macro.
56149         (remquo_test_data): New variable.
56150         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56152         * setjmp/tst-setjmp-fp.c: New file.
56153         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56154         (link-libm): New variable.
56155         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56157         * math/libm-test.inc (struct test_f_i_data): New type.
56158         (RUN_TEST_LOOP_f_i): New macro.
56159         (RUN_TEST_LOOP_f_i_tg): Likewise.
56160         (fpclassify_test_data): New variable.
56161         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56162         (ilogb_test_data): New variable.
56163         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56165         * math/libm-test.inc (scalbln_test): Correct function name in END
56166         call.
56168         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56169         (RUN_TEST_LOOP_fI_f1): New macro.
56170         (frexp_test_data): New variable.
56171         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56173         * math/libm-test.inc (struct test_fF_f1_data): New type.
56174         (RUN_TEST_LOOP_fF_f1): New macro.
56175         (modf_test_data): New variable.
56176         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56178         * math/libm-test.inc (struct test_f_f1_data): New type.
56179         (RUN_TEST_LOOP_f_f1): New macro.
56180         (gamma_test_data): New variable.
56181         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56182         (lgamma_test_data): New variable.
56183         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56185 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56187         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56188         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56189         (main): Comment "tls" pseudo-hwcap.
56191 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56193         * math/libm-test.inc (struct test_fl_f_data): New type.
56194         (RUN_TEST_LOOP_fl_f): New variable.
56195         (scalbln_test_data): New variable.
56196         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56198         * math/libm-test.inc (struct test_fi_f_data): New type.
56199         (RUN_TEST_LOOP_fi_f): New macro.
56200         (ldexp_test_data): New variable.
56201         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56202         (scalbn_test_data): New variable.
56203         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56205         * math/libm-test.inc (struct test_c_f_data): New type.
56206         (RUN_TEST_LOOP_c_f): New macro.
56207         (cabs_test_data): New variable.
56208         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56209         (carg_test_data): New variable.
56210         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56211         (cimag_test_data): New variable.
56212         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56213         (creal_test_data): New variable.
56214         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56216         * math/libm-test.inc (struct test_if_f_data): New type.
56217         (RUN_TEST_LOOP_if_f): New macro.
56218         (jn_test_data): New variable.
56219         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56220         (yn_test_data): New variable.
56221         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56223         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56225 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56227         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56228         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56230 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56232         * benchtests/Makefile (CPPFLAGS-nonlib): Add
56233         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56234         (bench-deps): Add bench-timing.h.
56235         * benchtests-bench-skeleton.c: Include bench-timing.h.
56236         (main): Use TIMING_* macros instead of clock_gettime.
56237         * benchtests/bench-timing.h: New file.
56239         [BZ #14582]
56240         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56241         Renamed from _LIB_VERSION.
56242         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56244 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
56246         * math/libm-test.inc (struct test_fff_f_data): New type.
56247         (RUN_TEST_LOOP_fff_f): New macro.
56248         (fma_test_data): New variable.
56249         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56250         (fma_towardzero_test_data): New variable.
56251         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56252         (fma_downward_test_data): New variable.
56253         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56254         (fma_upward_test_data): New variable.
56255         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56257         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56258         (struct test_c_c_data): New type.
56259         (RUN_TEST_LOOP_c_c): New macro.
56260         (cacos_test_data): New variable.
56261         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56262         (cacosh_test_data): New variable.
56263         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56264         (casin_test_data): New variable.
56265         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56266         (casinh_test_data): New variable.
56267         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56268         (catan_test_data): New variable.
56269         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56270         (catanh_test_data): New variable.
56271         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56272         (ccos_test_data): New variable.
56273         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56274         (ccosh_test_data): New variable.
56275         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56276         (cexp_test_data): New variable.
56277         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56278         (clog_test_data): New variable.
56279         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56280         (clog10_test_data): New variable.
56281         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56282         (conj_test_data): New variable.
56283         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56284         (cproj_test_data): New variable.
56285         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56286         (csin_test_data): New variable.
56287         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56288         (csinh_test_data): New variable.
56289         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56290         (csqrt_test_data): New variable.
56291         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56292         (ctan_test_data): New variable.
56293         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56294         (ctan_tonearest_test_data): New variable.
56295         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56296         (ctan_towardzero_test_data): New variable.
56297         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56298         (ctan_downward_test_data): New variable.
56299         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56300         (ctan_upward_test_data): New variable.
56301         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56302         (ctanh_test_data): New variable.
56303         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56304         (ctanh_tonearest_test_data): New variable.
56305         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56306         (ctanh_towardzero_test_data): New variable.
56307         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56308         (ctanh_downward_test_data): New variable.
56309         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56310         (ctanh_upward_test_data): New variable.
56311         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56312         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56313         of BUILD_COMPLEX.
56315         * math/libm-test.inc (struct test_ff_f_data): New type.
56316         (struct test_ff_f_data_nexttoward): Likewise.
56317         (RUN_TEST_LOOP_2_f): New macro.
56318         (RUN_TEST_LOOP_ff_f): Likewise.
56319         (atan2_test_data): New variable.
56320         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56321         (copysign_test_data): New variable.
56322         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56323         (fdim_test_data): New variable.
56324         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56325         (fmax_test_data): New variable.
56326         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56327         (fmin_test_data): New variable.
56328         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56329         (fmod_test_data): New variable.
56330         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56331         (hypot_test_data): New variable.
56332         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56333         (nextafter_test_data): New variable.
56334         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56335         (nexttoward_test_data): New variable.
56336         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56337         (pow_test_data): New variable.
56338         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56339         (pow_tonearest_test_data): New variable.
56340         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56341         (pow_towardzero_test_data): New variable.
56342         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56343         (pow_downward_test_data): New variable.
56344         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56345         (pow_upward_test_data): New variable.
56346         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56347         (remainder_test_data): New variable.
56348         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56349         (scalb_test_data): New variable.
56350         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56351         * sysdeps/i386/fpu/libm-test-ulps: Update.
56353 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
56355         * math/libm-test.inc (fma_test): Use max_value instead of local
56356         variable fltmax.
56357         (nextafter_test): Likewise.
56359         * math/libm-test.inc (acos_towardzero_test_data): New variable.
56360         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56361         (acos_downward_test_data): New variable.
56362         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56363         (acos_upward_test_data): New variable.
56364         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56365         (acosh_test_data): New variable.
56366         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56367         (asin_test_data): New variable.
56368         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56369         (asin_tonearest_test_data): New variable.
56370         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56371         (asin_towardzero_test_data): New variable.
56372         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56373         (asin_downward_test_data): New variable.
56374         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56375         (asin_upward_test_data): New variable.
56376         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56377         (asinh_test_data): New variable.
56378         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56379         (atan_test_data): New variable.
56380         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56381         (atanh_test_data): New variable.
56382         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56383         (cbrt_test_data): New variable.
56384         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56385         (ceil_test_data): New variable.
56386         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56387         (cos_test_data): New variable.
56388         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56389         (cos_tonearest_test_data): New variable.
56390         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56391         (cos_towardzero_test_data): New variable.
56392         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56393         (cos_downward_test_data): New variable.
56394         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56395         (cos_upward_test_data): New variable.
56396         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56397         (cosh_test_data): New variable.
56398         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56399         (cosh_tonearest_test_data): New variable.
56400         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56401         (cosh_towardzero_test_data): New variable.
56402         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56403         (cosh_downward_test_data): New variable.
56404         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56405         (cosh_upward_test_data): New variable.
56406         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56407         (erf_test_data): New variable.
56408         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56409         (erfc_test_data): New variable.
56410         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56411         (exp_test_data): New variable.
56412         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56413         (exp_tonearest_test_data): New variable.
56414         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56415         (exp_towardzero_test_data): New variable.
56416         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56417         (exp_downward_test_data): New variable.
56418         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56419         (exp_upward_test_data): New variable.
56420         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56421         (exp10_test_data): New variable.
56422         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56423         (exp2_test_data): New variable.
56424         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56425         (expm1_test_data): New variable.
56426         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56427         (fabs_test_data): New variable.
56428         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56429         (floor_test_data): New variable.
56430         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56431         (j0_test_data): New variable.
56432         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56433         (j1_test_data): New variable.
56434         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56435         (log_test_data): New variable.
56436         (log_test): Run tests with RUN_TEST_LOOP_f_f.
56437         (log10_test_data): New variable.
56438         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56439         (log1p_test_data): New variable.
56440         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56441         (log2_test_data): New variable.
56442         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56443         (logb_test_data): New variable.
56444         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56445         (logb_downward_test_data): New variable.
56446         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56447         (nearbyint_test_data): New variable.
56448         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56449         (rint_test_data): New variable.
56450         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56451         (rint_tonearest_test_data): New variable.
56452         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56453         (rint_towardzero_test_data): New variable.
56454         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56455         (rint_downward_test_data): New variable.
56456         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56457         (rint_upward_test_data): New variable.
56458         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56459         (round_test_data): New variable.
56460         (round_test): Run tests with RUN_TEST_LOOP_f_f.
56461         (sin_test_data): New variable.
56462         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56463         (sin_tonearest_test_data): New variable.
56464         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56465         (sin_towardzero_test_data): New variable.
56466         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56467         (sin_downward_test_data): New variable.
56468         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56469         (sin_upward_test_data): New variable.
56470         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56471         (sinh_test_data): New variable.
56472         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56473         (sinh_tonearest_test_data): New variable.
56474         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56475         (sinh_towardzero_test_data): New variable.
56476         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56477         (sinh_downward_test_data): New variable.
56478         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56479         (sinh_upward_test_data): New variable.
56480         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56481         (sqrt_test_data): New variable.
56482         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56483         (tan_test_data): New variable.
56484         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56485         (tan_tonearest_test_data): New variable.
56486         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56487         (tan_towardzero_test_data): New variable.
56488         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56489         (tan_downward_test_data): New variable.
56490         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56491         (tan_upward_test_data): New variable.
56492         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56493         (tanh_test_data): New variable.
56494         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56495         (tgamma_test_data): New variable.
56496         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56497         (trunc_test_data): New variable.
56498         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56499         (y0_test_data): New variable.
56500         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56501         (y1_test_data): New variable.
56502         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56503         (significand_test_data): New variable.
56504         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56506 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
56508         [BZ #12387]
56509         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56511 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56513         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56515 2013-05-10  Andreas Jaeger  <aj@suse.de>
56517         [BZ #15448]
56518         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56519         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56521 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56523         * math/gen-libm-test.pl (adjust_arg): New function.
56524         (special_functions): Handle generating output in both functions
56525         and arrays.
56526         (parse_args): Likewise.
56527         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
56528         $in_func argument to parse_args.
56529         * math/libm-test.inc (struct test_f_f_data): New type.
56530         (IF_ROUND_INIT_): New macro.
56531         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56532         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56533         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56534         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56535         (ROUND_RESTORE_): Likewise.
56536         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56537         (ROUND_RESTORE_FE_TONEAREST): Likewise.
56538         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56539         (ROUND_RESTORE_FE_UPWARD): Likewise.
56540         (RUN_TEST_LOOP_f_f): New macro.
56541         (acos_test_data): New variable.
56542         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56543         (acos_tonearest_test_data): New variable.
56544         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56546 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56548         * benchtests/bench-skeleton.c (startup): Fix coding style.
56550 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56552         [BZ #6809]
56553         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56554         negative infinity argument.
56555         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56556         negative infinity argument.
56557         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56558         negative infinity argument.
56559         * math/libm-test.inc (tgamma_test): Expect errno to be set for
56560         domain errors.
56562 2013-05-10  Florian Weimer  <fweimer@redhat.com>
56564         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56565         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56566         * iconv/iconv_prog.c (main): Likewise.
56567         * locale/programs/charmap-dir.c (charmap_readdir)
56568         (fopen_uncompressed): Likewise.
56569         * locale/programs/locfile.c (siblings_uncached)
56570         (write_locale_data): Use lstat64 instead of lstat.
56571         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56572         stat.
56574 2013-05-10  Andreas Jaeger  <aj@suse.de>
56576         [BZ #15395]
56577         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56578         localization.
56579         Include <locale.h>.
56581 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
56583         * elf/dl-close.c (_dl_close_worker): Add comments.
56585 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
56587         [BZ #15359]
56588         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56589         high part of pi/2.
56590         (__ieee754_rem_pio2l): Update comments.
56592         [BZ #15429]
56593         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56594         high part of pi/2.
56595         (__ieee754_rem_pio2l): Update comments.
56597         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56598         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56600         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56601         M_PI_4l.
56603         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56604         (M_PI_34_LOG10El): Likewise.
56605         (M_PI2_LOG10El): Likewise.
56606         (M_PI4_LOG10El): Likewise.
56607         (M_PI_LOG10El): Likewise.
56609 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56611         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56613 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
56615         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56616         (MINUS_ZERO_INIT): Likewise.
56617         (PLUS_INFTY_INIT): Likewise.
56618         (MINUS_INFTY_INIT): Likewise.
56619         (QNAN_VALUE_INIT): Likewise.
56620         (MAX_VALUE_INIT): Likewise.
56621         (MIN_VALUE_INIT): Likewise.
56622         (MIN_SUBNORM_VALUE_INIT): Likewise.
56623         (plus_zero): Initialize with PLUS_ZERO_INIT.
56624         (minus_zero): Initialize with MINUS_ZERO_INIT.
56625         (plus_infty): Initialize with PLUS_INFTY_INIT.
56626         (minus_infty): Initialize with MINUS_INFTY_INIT.
56627         (qnan_value): Initialize with QNAN_VALUE_INIT.
56628         (max_value): Initialize with MAX_VALUE_INIT.
56629         (min_value): Initialize with MIN_VALUE_INIT.
56630         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56632         * math/libm-test.inc (RUN_TEST_if_f): New macro.
56633         (jn_test): Use TEST_if_f instead of TEST_ff_f.
56634         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56635         (yn_test): Use TEST_if_f instead of TEST_ff_f.
56637         * math/libm-test.inc (RUN_TEST_f_f): New macro.
56638         (RUN_TEST_2_f): Likewise.
56639         (RUN_TEST_ff_f): Likewise.
56640         (RUN_TEST_fi_f): Likewise.
56641         (RUN_TEST_fl_f): Likewise.
56642         (RUN_TEST_fff_f): Likewise.
56643         (RUN_TEST_c_f): Likewise.
56644         (RUN_TEST_f_f1): Likewise.
56645         (RUN_TEST_fF_f1): Likewise.
56646         (RUN_TEST_fI_f1): Likewise.
56647         (RUN_TEST_ffI_f1): Likewise.
56648         (RUN_TEST_c_c): Likewise.
56649         (RUN_TEST_cc_c): Likewise.
56650         (RUN_TEST_f_i): Likewise.
56651         (RUN_TEST_f_i_tg): Likewise.
56652         (RUN_TEST_ff_i_tg): Likewise.
56653         (RUN_TEST_f_b): Likewise.
56654         (RUN_TEST_f_b_tg): Likewise.
56655         (RUN_TEST_f_l): Likewise.
56656         (RUN_TEST_f_L): Likewise.
56657         (RUN_TEST_sincos): Likewise.
56658         * math/gen-libm-test.pl (new_test): Take new argument to indicate
56659         whether to show exceptions.  Do not include ");\n" in return
56660         value.
56661         (special_functions): Output call to RUN_TEST_sincos instead of
56662         check_float calls.  Update calls to new_test.
56663         (parse_args): Output call to single RUN_TEST_* macro instead of
56664         check_* calls and other assignments.  Update calls to new_test.
56666         [BZ #2546]
56667         [BZ #2560]
56668         [BZ #5159]
56669         [BZ #15426]
56670         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56671         input to result for tgamma overflow.
56672         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56673         (gamma_coeff): New variable.
56674         (NCOEFF): New macro.
56675         (gamma_positive): New function.
56676         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56677         underflow here.  Use gamma_positive instead of exp (lgamma) for
56678         other arguments.
56679         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56680         (gamma_coeff): New variable.
56681         (NCOEFF): New macro.
56682         (gammaf_positive): New function.
56683         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56684         underflow here.  Use gamma_positive instead of exp (lgamma) for
56685         other arguments.
56686         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56687         (gamma_coeff): New variable.
56688         (NCOEFF): New macro.
56689         (gammal_positive): New function.
56690         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56691         underflow here.  Use gamma_positive instead of exp (lgamma) for
56692         other arguments.
56693         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56694         (gamma_coeff): New variable.
56695         (NCOEFF): New macro.
56696         (gammal_positive): New function.
56697         (__ieee754_gammal_r): Handle positive infinity, overflow and
56698         underflow here.  Handle NaN the same as positive infinity.  Remove
56699         check x < 0xffffffff for negative integers.  Use gamma_positive
56700         instead of exp (lgamma) for other arguments.
56701         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56702         (gamma_coeff): New variable.
56703         (NCOEFF): New macro.
56704         (gammal_positive): New function.
56705         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56706         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56707         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56708         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56709         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56710         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56711         * sysdeps/generic/math_private.h (__gamma_productf): New
56712         prototype.
56713         (__gamma_product): Likewise.
56714         (__gamma_productl): Likewise.
56715         * math/Makefile (libm-calls): Add gamma_product.
56716         * math/libm-test.inc (tgamma_test): Add more tests.
56717         * sysdeps/i386/fpu/libm-test-ulps: Update.
56718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56720 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
56722         * benchtests/bench-skeleton.c (main): Preheat CPU.
56724 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
56726         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56728 2013-05-07  Roland McGrath  <roland@hack.frob.com>
56730         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56731         and _dl_skip_args_internal.
56733 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
56735         * manual/message.texi (Message Translation): Talk about users.
56736         Message to key mapping impacts design.
56738 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56740         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56742         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56744         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56745         * sysdeps/wordsize-64/glob64.c: ... here.
56747         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56748         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56749         New macros.
56751         * debug/getlogin_r_chk.c: Moved to ...
56752         * login/getlogin_r_chk.c: ... here.
56753         * debug/Makefile (routines): Move getlogin_r_chk to ...
56754         * login/Makefile (routines): ... here.
56755         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56756         * login/Versions (libc: GLIBC_2.4): ... here.
56758         * io/poll.c (__poll): Renamed from poll.
56759         Add libc_hidden_def.
56760         (poll): Define as weak alias.
56762         * debug/ptsname_r_chk.c: Moved to ...
56763         * login/ptsname_r_chk.c: ... here.
56764         * debug/Makefile (routines): Move ptsname_r_chk to ...
56765         * login/Makefile (routines): ... here.
56766         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56767         * login/Versions (libc: GLIBC_2.4): ... here.
56769         * posix/getlogin.c: Moved to ...
56770         * login/getlogin.c: ... here.
56771         * posix/getlogin_r.c: Moved to ...
56772         * login/getlogin_r.c: ... here.
56773         * posix/getlogin_r.c: Moved to ...
56774         * login/getlogin_r.c: ... here.
56775         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56776         * login/Makefile (routines): ... here.
56777         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56778         * login/Versions (libc: GLIBC_2.0): ... here.
56780         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56781         (setrlimit): Define as weak alias.
56783         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56784         Call __ names for open, ftruncate, and close.
56785         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56786         (truncate): Define as weak alias.
56788 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
56790         * math/gen-libm-test.pl (parse_args): Initialize x before each
56791         test of frexp, modf and remquo.
56793         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56794         test signgam value.
56796 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56798         [BZ #15418]
56799         [BZ #15419]
56800         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56801         internal tests.
56802         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56804 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56806         * elf/dl-writev.h: New file.
56807         * elf/dl-misc.c: Include it.
56808         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56809         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56811 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
56813         * math/libm-test.inc (noXFails): Remove variable.
56814         (noXPasses): Likewise.
56815         (BUILD_COMPLEX_INT): Remove macro.
56816         (print_screen): Remove xfail argument.
56817         (print_screen_max_error): Likewise.
56818         (update_stats): Likewise.
56819         (print_max_error): Likewise.  Update calls to other affected
56820         functions.
56821         (print_complex_max_error): Likewise.
56822         (test_single_exception): Update calls to print_screen.
56823         (test_single_errno): Likewise.
56824         (check_float_internal): Remove xfail argument.  Update calls to
56825         other affected functions.
56826         (check_float): Likewise.
56827         (check_complex): Likewise.
56828         (check_int): Likewise.
56829         (check_long): Likewise.
56830         (check_bool): Likewise.
56831         (check_longlong): Likewise.
56832         (main): Don't print noXFails and noXPasses.
56833         * math/gen-libm-test.pl (top level): Don't mention expected
56834         failure handling in comment.
56835         (new_test): Don't handle expected failures.
56836         (parse_args): Don't mention expected failure handling in comment.
56837         (generate_testfile): Don't handle expected failures.
56838         (parse_ulps): Likewise.
56839         (print_ulps_file): Likewise.
56840         (get_failure): Remove function.
56841         (output_test): Don't handle expected failures.
56842         * make/README.libm-test: Don't mention expected failure handling.
56844         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
56845         (minus_zero): Likewise.
56846         (plus_infty): Likewise.
56847         (minus_infty): Likewise.
56848         (qnan_value): Likewise.
56849         (max_value): Likewise.
56850         (min_value): Likewise.
56851         (min_subnorm_value): Likewise.
56852         (initialize): Do not initialize those variables dynamically.
56854 2013-05-03  Roland McGrath  <roland@hack.frob.com>
56856         * io/open.c (__open_2): Moved to ...
56857         * io/open_2.c: ... this new file.
56858         * io/open64.c (__open64_2): Moved to ...
56859         * io/open64_2.c: ... this new file.
56860         * io/openat.c (__openat_2): Moved to ...
56861         * io/openat_2.c: ... this new file.
56862         * io/openat64.c (__openat64_2): Moved to ...
56863         * io/openat64_2.c: ... this new file.
56864         * io/Makefile (routines): Add them.
56865         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56866         * sysdeps/unix/sysv/linux/open_2.c: File removed.
56867         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56868         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56869         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56870         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56871         (__openat64): Add hidden_ver.
56872         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56873         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56875         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56876         Separately conditionalize setting of GLRO(dl_sysinfo) so
56877         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56878         as well, but the actual setting is only under [NEED_DL_SYSINFO].
56880 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56882         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56883         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56884         definition.
56885         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56886         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56887         (_libc_vdso_platform_setup): Add __vdso_time initialization.
56888         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56889         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56891 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
56893         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56894         test signgam value.
56896         * math/libm-test.inc (hypot_test): Do not use
56897         IGNORE_ZERO_INF_SIGN.
56899 2013-05-03  Andreas Jaeger  <aj@suse.de>
56901         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56902         Linux 3.9.
56903         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56904         (PF_MAX): Adjust for VSOCK change.
56906 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56910 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
56912         [BZ #15264]
56913         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56914         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56915         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56917 2013-05-02  David S. Miller  <davem@davemloft.net>
56919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56921 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
56923         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56925 2013-05-01  Roland McGrath  <roland@hack.frob.com>
56927         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56929 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
56931         [BZ #14952]
56932         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56933         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56934         Use __attribute__ ((__gnu_inline__)).
56935         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56936         Don't use __attribute__ ((__gnu_inline__)).
56938 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
56940         [BZ #15423]
56941         * math/s_catan.c (__catan): Handle small real or imaginary part of
56942         input specially to avoid spurious underflow.
56943         * math/s_catanf.c (__catanf): Likewise.
56944         * math/s_catanh.c (__catanh): Likewise.
56945         * math/s_catanhf.c (__catanhf): Likewise.
56946         * math/s_catanhl.c (__catanhl): Likewise.
56947         * math/s_catanl.c (__catanl): Likewise.
56948         * math/libm-test.inc (catan_test): Add more tests.
56949         (catanh_test): Likewise.
56950         * sysdeps/i386/fpu/libm-test-ulps: Update.
56951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56953 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56957 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
56959         [BZ #15416]
56960         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56961         accurately for denominator in atan2.
56962         * math/s_catanf.c (__catanf): Likewise.
56963         * math/s_catanh.c (__catanh): Likewise.
56964         * math/s_catanhf.c (__catanhf): Likewise.
56965         * math/s_catanhl.c (__catanhl): Likewise.
56966         * math/s_catanl.c (__catanl): Likewise.
56967         * math/libm-test.inc (catan_test): Add more tests.
56968         (catanh_test): Likewise.
56969         * sysdeps/i386/fpu/libm-test-ulps: Update.
56970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56972 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56974         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56976         * benchtests/Makefile (bench): Remove slow benchmarks.
56977         * benchtests/atan-inputs: Add slow benchmark inputs.
56978         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56979         (BENCH_FUNC): Accept variant offset.
56980         (VARIANT): Define.
56981         * benchtests/bench-skeleton.c (main): Run benchmark for each
56982         variant.
56983         * benchtests/cos-inputs: Add slow benchmark inputs.
56984         * benchtests/exp-inputs: Likewise.
56985         * benchtests/pow-inputs: Likewise.
56986         * benchtests/sin-inputs: Likewise.
56987         * benchtests/slowatan-inputs: Remove.
56988         * benchtests/slowatan.c: Remove.
56989         * benchtests/slowcos-inputs: Remove.
56990         * benchtests/slowcos.c: Remove.
56991         * benchtests/slowexp-inputs: Remove.
56992         * benchtests/slowexp.c: Remove.
56993         * benchtests/slowpow-inputs: Remove.
56994         * benchtests/slowpow.c: Remove.
56995         * benchtests/slowsin-inputs: Remove.
56996         * benchtests/slowsin.c: Remove.
56997         * benchtests/slowtan-inputs: Remove.
56998         * benchtests/slowtan.c: Remove.
56999         * benchtests/tan-inputs: Add slow benchmark inputs.
57000         * scripts/bench.pl: Parse comments and directives.
57002         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57003         in CPPFLAGS.
57004         ($(objpfx)bench-%.c): Remove *-ITER.
57005         * benchtests/bench-modf.c: Remove definition of ITER.
57006         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57007         (main): Loop for DURATION seconds instead of fixed number of
57008         iterations.
57009         * scripts/bench.pl: Don't expect iterations in parameters.
57011 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57013         * io/fchdir.c (__fchdir): Renamed from fchdir.
57014         (fchdir): Define as weak alias.
57016 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57018         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57019         (ERRNO_EDOM): Likewise.
57020         (ERRNO_ERANGE): Likewise.
57021         (noErrnoTests): New variable.
57022         (init_max_error): Set errno to 0.
57023         (test_single_errno): New function.
57024         (test_errno): Likewise.
57025         (check_float_internal): Call test_errno.  Set errno to 0.
57026         (check_complex): Refer to errno tests in comment.
57027         (check_int): Call test_errno.  Set errno to 0.
57028         (check_long): Likewise.
57029         (check_bool): Likewise.
57030         (check_longlong): Likewise.
57031         (cos_test): Use ERRNO_* flags for errno tests instead of
57032         check_int.
57033         (expm1_test): Likewise.
57034         (fmod_test): Likewise.
57035         (ilogb_test): Likewise.
57036         (lgamma_test): Likewise.
57037         (pow_test): Likewise.
57038         (remainder_test): Likewise.
57039         (sin_test): Likewise.
57040         (tan_test): Likewise.
57041         (yn_test): Likewise.
57042         (initialize): Set errno to 0.
57043         (main): Print number of errno tests.
57044         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57046 2013-04-29  Andreas Jaeger  <aj@suse.de>
57048         [BZ #15084]
57049         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57050         and RES_USEVC.
57052         [BZ #15085]
57053         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57054         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57055         unimplemented.
57057         [BZ #15380]
57058         * stdlib/random.c (__initstate): Return NULL if
57059         __initstate fails.
57061         [BZ #15086]
57062         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57063         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57064         RES_SNGLKUPREOP.
57066 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57070 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57072         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57073         of individual tests.
57074         (casin_test): Likewise.
57075         (casinh_test): Likewise.
57077 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57079         [BZ #15409]
57080         * math/s_catan.c (__catan): Handle arguments with large real or
57081         imaginary part separately without squaring.
57082         * math/s_catanf.c (__catanf): Likewise.
57083         * math/s_catanh.c (__catanh): Likewise.
57084         * math/s_catanhf.c (__catanhf): Likewise.
57085         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57086         and redefine.
57087         (__catanhl): Handle arguments with large real or imaginary part
57088         separately without squaring.
57089         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57090         and redefine.
57091         (__catanl): Handle arguments with large real or imaginary part
57092         separately without squaring.
57093         * math/libm-test.inc (catan_test): Add more tests.
57094         (catanh_test): Likewise.
57095         * sysdeps/i386/fpu/libm-test-ulps: Update.
57096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57098 2013-04-27  Andreas Jaeger  <aj@suse.de>
57100         [BZ #15007]
57101         * stdlib/stdlib.h: Update guards for qecvt.
57102         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57103         <stdlib.h>.
57105 2013-04-27  Allan McRae  <allan@archlinux.org>
57107         * sysdeps/i386/fpu/libm-test-ulps: Update.
57109 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57111         [BZ #15406]
57112         * math/s_catan.c: Include <float.h>.
57113         (__catan): Ensure underflow exception occurs for underflowed
57114         result.
57115         * math/s_catanf.c: Include <float.h>.
57116         (__catanf): Ensure underflow exception occurs for underflowed
57117         result.
57118         * math/s_catanh.c: Include <float.h>.
57119         (__catanh): Ensure underflow exception occurs for underflowed
57120         result.
57121         * math/s_catanhf.c: Include <float.h>.
57122         (__catanhf): Ensure underflow exception occurs for underflowed
57123         result.
57124         * math/s_catanhl.c: Include <float.h>.
57125         (__catanhl): Ensure underflow exception occurs for underflowed
57126         result.
57127         * math/s_catanl.c: Include <float.h>.
57128         (__catanl): Ensure underflow exception occurs for underflowed
57129         result.
57130         * math/libm-test.inc (catan_test): Add more tests.
57131         (catanh_test): Likewise.
57133         [BZ #15405]
57134         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57135         underflowed result.
57136         * math/s_ccoshf.c (__ccoshf): Likewise.
57137         * math/s_ccoshl.c (__ccoshl): Likewise.
57138         * math/s_csin.c (__csin): Likewise.
57139         * math/s_csinf.c (__csinf): Likewise.
57140         * math/s_csinh.c (__csinh): Likewise.
57141         * math/s_csinhf.c (__csinhf): Likewise.
57142         * math/s_csinhl.c (__csinhl): Likewise.
57143         * math/s_csinl.c (__csinl): Likewise.
57144         * math/libm-test.inc (ccos_test): Add more tests.
57145         (ccosh_test): Likewise.
57146         (csin_test): Likewise.
57147         (csinh_test): Likewise.
57149 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57151         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57152         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57153         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57154         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57155         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57156         powerpc/power5+/fpu folders.
57157         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57160 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57162         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57164 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57166         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57167         additions to variable.
57168         [$(config-machine) = x86_64] (modules-names): Likewise.
57169         ($(objpfx)tst-audit3): Remove dependency.
57170         ($(objpfx)tst-audit3.out): Likewise.
57171         ($(objpfx)tst-audit4): Likewise.
57172         ($(objpfx)tst-audit4.out): Likewise.
57173         ($(objpfx)tst-audit5): Likewise.
57174         ($(objpfx)tst-audit5.out): Likewise.
57175         ($(objpfx)tst-audit6): Likewise.
57176         ($(objpfx)tst-audit6.out): Likewise.
57177         ($(objpfx)tst-audit7): Likewise.
57178         ($(objpfx)tst-audit7.out): Likewise.
57179         (tst-audit3-ENV): Remove variable.
57180         (tst-audit4-ENV): Likewise.
57181         (tst-audit5-ENV): Likewise.
57182         (tst-audit6-ENV): Likewise.
57183         (tst-audit7-ENV): Likewise.
57184         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57185         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57186         addition to variable.
57187         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57188         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57189         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57190         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57191         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57192         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57193         tst-audit3, tst-audit4 and tst-audit5.
57194         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57195         tst-audit6 and tst-audit7.
57196         [$(subdir) = elf] (modules-names): Add audit modules for those
57197         tests.
57198         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57199         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57200         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57201         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57202         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57203         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57204         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57205         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57206         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57207         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57208         [$(subdir) = elf] (tst-audit3-ENV): New variable.
57209         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57210         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57211         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57212         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57213         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57214         Likewise.
57215         [$(subdir) = elf && $(config-cflags-avx) = yes]
57216         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57217         [$(subdir) = elf && $(config-cflags-avx) = yes]
57218         (CFLAGS-tst-auditmod4a.c): Likewise.
57219         [$(subdir) = elf && $(config-cflags-avx) = yes]
57220         (CFLAGS-tst-auditmod4b.c): Likewise.
57221         [$(subdir) = elf && $(config-cflags-avx) = yes]
57222         (CFLAGS-tst-auditmod6b.c): Likewise.
57223         [$(subdir) = elf && $(config-cflags-avx) = yes]
57224         (CFLAGS-tst-auditmod6c.c): Likewise.
57225         [$(subdir) = elf && $(config-cflags-avx) = yes]
57226         (CFLAGS-tst-auditmod7b.c): Likewise.
57227         * elf/tst-audit3.c: Move to ...
57228         * sysdeps/x86_64/tst-audit3.c: ... here.
57229         * elf/tst-audit4.c: Move to ...
57230         * sysdeps/x86_64/tst-audit4.c: ... here.
57231         * elf/tst-audit5.c: Move to ...
57232         * sysdeps/x86_64/tst-audit5.c: ... here.
57233         * elf/tst-audit6.c: Move to ...
57234         * sysdeps/x86_64/tst-audit6.c: ... here.
57235         * elf/tst-audit7.c: Move to ...
57236         * sysdeps/x86_64/tst-audit7.c: ... here.
57237         * elf/tst-auditmod3a.c: Move to ...
57238         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57239         * elf/tst-auditmod3b.c: Move to ...
57240         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57241         * elf/tst-auditmod4a.c: Move to ...
57242         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57243         * elf/tst-auditmod4b.c: Move to ...
57244         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57245         * elf/tst-auditmod5a.c: Move to ...
57246         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57247         * elf/tst-auditmod5b.c: Move to ...
57248         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57249         * elf/tst-auditmod6a.c: Move to ...
57250         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57251         * elf/tst-auditmod6b.c: Move to ...
57252         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57253         * elf/tst-auditmod6c.c: Move to ...
57254         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57255         * elf/tst-auditmod7a.c: Move to ...
57256         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57257         * elf/tst-auditmod7b.c: Move to ...
57258         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57260 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
57262         [BZ #15366]
57263         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57264         define unconditionally.
57265         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57266         define unconditionally.
57267         (INT8_C, INT16_C, etc.): Likewise.
57269 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
57271         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57272         __ehdr_start with hidden visibility.
57274         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57276 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
57278         * math/libm-test.inc (cos_test): Use accurate hex constants.
57279         (sincost_test): Likewise.
57281 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
57283         * math/libm-test.inc (catan_test): Add more tests.
57284         (catanh_test): Likewise.
57286         * math/s_catanf.c (__catanf): Use suffixed floating-point
57287         constants.
57288         * math/s_catanhf.c (__catanhf): Likewise.
57289         * math/s_catanhl.c (__catanhl): Likewise.
57290         * math/s_catanl.c (__catanl): Likewise.
57292         [BZ #15394]
57293         * math/s_catan.c (__catan): Calculate imaginary part of result
57294         with log1p not log unless computing log of number close to 0.
57295         * math/s_catanf.c (__catanf): Likewise.
57296         * math/s_catanl.c (__catanl): Likewise.
57297         * math/s_catanh.c (__catanh): Calculate real part of result with
57298         log1p not log unless computing log of number close to 0.
57299         * math/s_catanhf.c (__catanhf): Likewise.
57300         * math/s_catanhl.c (__catanhl): Likewise.
57301         * math/libm-test.inc (catan_test): Add more tests.
57302         (catanh_test): Likewise.
57303         * sysdeps/i386/fpu/libm-test-ulps: Update.
57304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57306 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57308         * benchtests/Makefile: Mention files in which fast and slow
57309         paths of math functions are implemented.
57311 2013-04-23  Roland McGrath  <roland@hack.frob.com>
57313         * sysdeps/posix/timespec_get.c: New file.
57315 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57317         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57318         POWER.
57319         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57320         for POWER.
57321         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57322         powerpc/power5/fpu folders.
57323         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57324         * benchtests/Makefile: Add modf testcase.
57325         * benchtests/bench-modf.c: New file: Benchmark test for mo
57327 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57329         [BZ #14888]
57330         * time/Makefile (tests): Add tst-strptime-whitespace.
57331         * time/strptime_l.c (get_number): Use ISSPACE.
57332         (__strptime_internal): Likewise.
57333         * time/tst-strptime-whitespace.c: New test case.
57335 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
57337         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57338         member.
57339         (_nss_files_init): Set it here.
57341 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
57343         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57344         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57345         unsigned.
57347 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
57349         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57351 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57353         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57354         size just once.
57356 2013-04-21  David S. Miller  <davem@davemloft.net>
57358         * po/ru.po: Update Russion translation from translation project.
57360 2013-04-17  Adam Conrad  <adconrad@0c3.net>
57362         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57363         and setfsgid.
57365 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
57367         * configure.in: Remove i386 configure warning. Remove i386 case.
57368         * configure: Regenerate.
57369         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57370         Add example to error message.
57371         * sysdeps/i386/configure: Regenerate.
57373 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57375         * benchtests/Makefile (bench): Add cos, tan, slowcos and
57376         slowtan.
57377         * benchtests/cos-inputs: New file.
57378         * benchtests/slowcos-inputs: New file.
57379         * benchtests/slowcos.c: New file.
57380         * benchtests/slowtan-inputs: New file.
57381         * benchtests/slowtan.c: New file.
57382         * benchtests/tan-inputs: New file.
57384 2013-04-16  Roland McGrath  <roland@hack.frob.com>
57386         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57387         considered kosher.
57389 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57391         * benchtests/Makefile: Include cppflags-iterator.mk to add
57392         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57394         * Makefile.in (bench-clean): New target.
57395         * benchtests/Makefile (bench-clean): Likewise.
57397 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
57399         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57401 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
57403         * stdio-common/tstdiomisc.c: Fix coding-style violation.
57405 2013-04-15  Andreas Schwab  <schwab@suse.de>
57407         * nscd/grpcache.c (cache_addgr): Properly check for short write.
57408         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57409         * nscd/pwdcache.c (cache_addpw): Likewise.
57410         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
57411         more than recsize.
57413 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57415         * benchtests/Makefile (bench): Write all output to
57416         bench-out.tmp together.
57418 2013-04-15  Andreas Schwab  <schwab@suse.de>
57420         * nscd/nscd.c (main): Don't fork again after closing files.
57422 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57424         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57426         * benchtests/Rules (bench-deps): Collect dependencies into a
57427         single variable.  Add Makefile to dependencies.
57428         ($(objpfx)bench-%.c): Depend on bench-deps.
57430 2013-04-12  Roland McGrath  <roland@hack.frob.com>
57431             Xavier Roche  <roche+kml2@exalead.com>
57433         [BZ #15361]
57434         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57435         just that it's a file descriptor.
57436         * manual/llio.texi (Synchronizing AIO Operations): Update description
57437         for EBADF error from aio_fsync.
57439 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57441         * Rules (bench): Move target definition...
57442         * benchtests/Makefile: ... here.
57444 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
57446         * math/libm-test.inc (cos_test): Fix PI/2 test.
57447         (sincos_test): Likewise.
57448         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57449         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57451 2013-04-11  Andreas Schwab  <schwab@suse.de>
57453         [BZ #13988]
57454         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57455         accept exponent character only when digits were seen.
57456         * stdio-common/Makefile (tests): Add bug26.
57457         * stdio-common/bug26.c: New file.
57459         [BZ #14293]
57460         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57461         non-freeable.
57463 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57465         * Makeconfig (rtld-prefix): Define built linker prefix.
57466         * Rules (run-bench): Use it.
57467         * math/Makefile (run-regen-ulps): Likewise.
57469         * Rules (bench): Remove eval.
57471 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57472             Roland McGrath  <roland@hack.frob.com>
57473             Ondrej Bilka  <neleai@seznam.cz>
57475         [BZ #15346]
57476         * time/getdate.c: Include ctype.h and alloca.h.
57477         (__getdate_r): Trim leading and trailing spaces of input.
57478         * time/tst-getdate.c (tests): Add tests with leading and
57479         trailing spaces.
57481 2013-04-08  Roland McGrath  <roland@hack.frob.com>
57483         [BZ #14280]
57484         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57485         when computing value.
57487 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57489         * math/README.libm-test (How can I generate "libm-test-ulps"?):
57490         Use testrun.sh to run libm tests.
57492         [BZ #15309]
57493         * elf/dl-open.c (dl_open_worker): memset all of seen array.
57495 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
57497         [BZ #15264]
57498         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57500 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57502         * Makefile.in (regen-ulps): New target.
57503         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57504         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57505         [ifneq (no,$(PERL)] (regen-ulps): New target.
57506         [ifeq (no,$(PERL)] (regen-ulps): New target.
57507         * math/libm-test.inc (ulps_file_name): Define.
57508         (output_dir): New variable.
57509         (options): Add "output-dir" option.
57510         (parse_opt): Handle 'o' case.
57511         (main): If output_dir is non-NULL use it as a prefix
57512         otherwise use "".
57513         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57515 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57517         [BZ #10060, #10062]
57518         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57519         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57520         fail configure if __sync_val_compare_and_swap is not inlined.
57521         * sysdeps/i386/configure: Regenerate.
57522         * configure.in: Build for i686 when configured for i386.
57523         * configure: Regenerate.
57524         * README: Remove i386 reference.
57526 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57528         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57529         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57531 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57533         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57534         (lmsnanval): New variables.
57535         (F): Add conversion tests.
57536         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57537         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57539         * stdio-common/tstdiomisc.c (F): Properly collect individual
57540         tests' results.
57542         [BZ #14686, #15336]
57543         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57544         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57545         Instead, use input NaN values or generate a qNaN by arithmetic
57546         operation.  Also fix bugs to comply with the standard.
57547         * math/libm-test.inc (remainder_test): Add more tests.
57549         [BZ #15335, #15342]
57550         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57551         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57552         input NaN values or generate a qNaN by arithmetic operation.
57554         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57555         unreachable code.
57557         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57558         definitions.
57560 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
57562         [BZ #14478]
57563         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57564         underflowed result.
57565         * math/s_cexpf.c (__cexpf): Likewise.
57566         * math/s_cexpl.c (__cexpl): Likewise.
57567         * math/libm-test.inc (cexp_test): Add more tests.
57569 2013-04-03  Andreas Schwab  <schwab@suse.de>
57571         [BZ #15330]
57572         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57573         order arrays from heap if bigger than alloca cutoff.
57575 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
57577         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57578         (SNAN_TESTS_double): Refer to GCC PR56831.
57579         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57580         GCC PR56828.
57582 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57584         * Rules (bench): Move bench.out after the run is complete.
57586         * Rules (bench): Echo currently running benchmark.
57588         * benchtests/Makefile (bench): Add atan and slowatan.
57589         * benchtests/atan-inputs: New file.
57590         * benchtests/slowatan-inputs: New file.
57591         * benchtests/slowatan.c: New file.
57593         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57594         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57595         its value.
57597         [BZ #15305]
57598         * sysdeps/unix/sysv/linux/kernel-features.h
57599         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57600         __ASSUME_XFS_RESTRICTED_CHOWN.
57601         * sysdeps/unix/sysv/linux/pathconf.c
57602         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57603         Save and restore errno.
57605 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
57607         [BZ #15327]
57608         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57609         arguments using __kernel_casinh.
57610         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57611         arguments using __kernel_casinhf.
57612         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57613         arguments using __kernel_casinhl.
57614         * math/libm-test.inc (cacosh_test): Add more tests.
57615         * sysdeps/i386/fpu/libm-test-ulps: Update.
57616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57618 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57620         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57621         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57623         * bench/Makefile (bench): Add sin and slowsin.
57624         * benchtests/sin-inputs: New file.
57625         * benchtests/slowsin-inputs: New file.
57626         * benchtests/slowsin.c: New file.
57628         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57629         (bench): Add slowexp and slowpow.
57630         (exp-ITER): Increase iterations.
57631         (pow-ITER): Likewise.
57632         * benchtests/exp-inputs: Change input.
57633         * benchtests/pow-inputs: Likewise.
57634         * benchtests/slowexp-inputs: New file.
57635         * benchtests/slowexp.c: New file.
57636         * benchtests/slowpow-inputs: New file.
57637         * benchtests/slowpow.c: New file.
57639 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57641         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57642         instructions.
57643         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57644         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57645         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57646         * benchtests/Makefile: Add rint benchtest.
57647         * benchtests/rint-inputs: Input for rint benchtest.
57649 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57651         * Versions.def (libm): Add GLIBC_2.18.
57652         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57653         hidden libm prototypes.
57654         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57655         * math/Makefile (libm-calls): Add s_issignaling.
57656         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57657         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
57658         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57659         declaration.
57660         * math/math.h [__USE_GNU] (issignaling): New macro.
57661         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57662         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57663         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57664         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57665         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57666         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57667         * manual/arith.texi (issignaling): New section.
57668         * manual/libm-err-tab.pl (@all_functions): Update comment.
57669         * math/gen-libm-test.pl (parse_args): Apply special handling for
57670         issignaling.
57671         * math/libm-test.inc (print_float, issignaling_test): New
57672         functions.
57673         (check_float_internal): Add issignaling checks.
57674         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57675         default definition.
57676         * sysdeps/powerpc/math-tests.h: New file.
57677         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57678         tests.
57679         * math/test-snan.c (TEST_FUNC): Likewise.
57681 2013-03-30  David S. Miller  <davem@davemloft.net>
57683         * po/de.po: Update from translation team.
57685 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
57687         [BZ #10357]
57688         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57689         imaginary part less than 1.0 and real part less than 0.5
57690         specially.
57691         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57692         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57693         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57694         (cacos_test): Add more tests.
57695         (casin_test): Likewise.
57696         (casinh_test): Likewise.
57697         * sysdeps/i386/fpu/libm-test-ulps: Update.
57698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57700 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57702         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57703         ONE with its value.
57705         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57706         (__pow_mp): Replace ONE and MONE with their values.
57707         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57708         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57709         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57710         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57711         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57712         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57714         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57716         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57717         (__pow_mp): Replace ZERO and MZERO with their values.
57718         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57719         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57720         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57721         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57722         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57723         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57724         (__sqr): Likewise.
57726         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57728         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57730 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57732         * include/stdlib.h [!SHARED] (__call_tls_dtors):
57733         Declare with __attribute__ ((weak)).
57734         * stdlib/exit.c (__libc_atexit) [!SHARED]:
57735         Call __call_tls_dtors only if it's not NULL.
57737 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57739         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57740         didn't do it already, then set _dl_phdr and _dl_phnum based on the
57741         magic __ehdr_start linker symbol if it's defined.
57742         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57743         them up here if it was already done.
57745         * elf/dl-support.c (_dl_phdr): Make pointer to const.
57746         (_dl_aux_init): Use const in cast when setting it.
57747         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57748         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57749         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57751         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57752         Declare them here.
57753         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57754         * csu/libc-tls.c: Nor here.
57755         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57757         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57758         (__libc_message): Never call vsyslog.
57760 2013-03-28  Alan Modra  <amodra@gmail.com>
57762         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57763         Define as empty.
57764         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57765         Likewise.
57767 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57769         [BZ #15214]
57770         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57771         underflow.
57772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57774 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57776         [BZ #15304]
57777         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57778         Don't add gid passed as argument.
57780         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57782 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
57784         [BZ #15307]
57785         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57786         imaginary part between 1.0 and 1.5 and real part less than 0.5
57787         specially.
57788         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57789         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57790         * math/libm-test.inc (cacos_test): Add more tests.
57791         (casin_test): Likewise.
57792         (casinh_test): Likewise.
57793         * sysdeps/i386/fpu/libm-test-ulps: Update.
57794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57796 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57798         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57799         constants.
57800         (norm): Likewise.
57801         (denorm): Likewise.
57802         (__dbl_mp): Likewise.
57803         (add_magnitudes): Likewise.
57804         (sub_magnitudes): Likewise.
57805         (__add): Likewise.
57806         (__sub): Likewise.
57807         (__mul): Likewise.
57808         (__sqr): Likewise.
57809         (__inv): Likewise.
57810         (__dvd): Likewise.
57812         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57813         commented code.
57814         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57815         (__dubcos): Likewise.
57816         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57817         (__ieee754_acos): Likewise.
57818         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57819         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57820         (__exp1): Likewise.
57821         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57822         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57823         (log1): Likewise.
57824         (my_log2): Likewise.
57825         (checkint): Likewise.
57826         * sysdeps/ieee754/dbl-64/e_remainder.c
57827         (__ieee754_remainder): Likewise.
57828         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57829         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57830         (bsloww): Likewise.
57831         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57833         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57834         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57835         MANTISSA_STORE_T to store computations on mantissa.  Use
57836         macros for rounding and division.
57837         (denorm): Likewise.
57838         (__dbl_mp): Likewise.
57839         (add_magnitudes): Likewise.
57840         (sub_magnitudes): Likewise.
57841         (__mul): Likewise.
57842         (__sqr): Likewise.
57843         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57844         powers of two in terms of TWOPOW macro.
57845         (mp_no): Make type of mantissa as MANTISSA_T.
57846         [!RADIXI]: Define RADIXI.
57847         [!TWO52]: Define TWO52.
57848         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57850 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57852         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57853         llroundl symbol when building for PPC32.
57855 2013-03-24  Mark H Weaver  <mhw@netris.org>
57857         * manual/arith.texi (Normalization Functions): Fix prototypes for
57858         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57860 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57862         [BZ #13889]
57863         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57864         high value to check if expl overflow.
57865         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57866         to check for underflow and overflow.
57867         * math/libm-test.inc: Add exp test.
57869 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
57871         [BZ #11120]
57872         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57873         with NOT_IN_libc.
57875 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57877         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57878         symbol.
57880 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57882         * math/gen-libm-test.pl (parse_args, special_functions): Properly
57883         wrap blocks consisting of several statements.
57885         * sysdeps/generic/math-tests.h: New file.
57886         * sysdeps/i386/fpu/math-tests.h: Likewise.
57887         * math/test-snan.c: Include it.
57888         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57890 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57892         [BZ #15285]
57893         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57894         (__ieee754_j0l): Do not improve calculations using cos of twice
57895         input for inputs above LDBL_MAX / 2.0L.
57896         (__ieee754_y0l): Likewise.
57897         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57898         (__ieee754_j1l): Do not improve calculations using cos of twice
57899         input for inputs above LDBL_MAX / 2.0L.
57900         (__ieee754_y1l): Likewise.
57901         * math/libm-test.inc (j0_test): Add another test.
57902         (j1_test): Likewise.
57903         (y0_test): Likewise.
57904         (y1_test): Likewise.
57905         * sysdeps/i386/fpu/libm-test-ulps: Update.
57907 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57909         * Rules ($(objpfx)bench-%.c): Include code from a C source
57910         file.
57912 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57914         [BZ #15287]
57915         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57916         imaginary part 1.0 and real part less than 0.5 specially.
57917         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57918         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57919         * math/libm-test.inc (cacos_test): Add more tests.
57920         (casin_test): Likewise.
57921         (casinh_test): Likewise.
57922         * sysdeps/i386/fpu/libm-test-ulps: Update.
57923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57925 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57927         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57928         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57930 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
57932         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57933         * config.make.in (config-cflags-sse4): Remove variable.
57934         (config-cflags-avx): Likewise.
57935         (config-cflags-sse2avx): Likewise.
57936         (config-cflags-novzeroupper): Likewise.
57937         (config-asflags-i686): Likewise.
57938         (have-mfma4): Likewise.
57939         (have-as-vis3): Likewise.
57940         (MIG): Likewise.
57941         * configure.in (MIG): Do not AC_SUBST.
57942         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57943         (libc_cv_cc_sse4): Do not AC_SUBST.
57944         (libc_cv_cc_avx): Likewise.
57945         (libc_cv_cc_sse2avx): Likewise.
57946         (libc_cv_cc_novzeroupper): Likewise.
57947         (libc_cv_cc_fma4): Likewise.
57948         (libc_cv_as_i686): Likewise.
57949         (libc_cv_sparc_as_vis3): Likewise.
57950         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57951         LIBC_CONFIG_VAR.
57952         (config-asflags-i686): Likewise.
57953         (config-cflags-avx): Likewise.
57954         (config-cflags-sse2avx): Likewise.
57955         (have-mfma4): Likewise.
57956         (config-cflags-novzeroupper): Likewise.
57957         * sysdeps/mach/configure.in (MIG): Likewise.
57958         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57959         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57960         LIBC_CONFIG_VAR.
57961         (config-cflags-avx): Likewise.
57962         (config-cflags-sse2avx): Likewise.
57963         (have-mfma4): Likewise.
57964         (config-cflags-novzeroupper): Likewise.
57965         * configure: Regenerated.
57966         * sysdeps/i386/configure: Likewise.
57967         * sysdeps/mach/configure: Likewise.
57968         * sysdeps/sparc/configure: Likewise.
57969         * sysdeps/x86_64/configure: Likewise.
57971 2013-03-20  Roland McGrath  <roland@hack.frob.com>
57973         [BZ #14812]
57974         * locale/programs/localedef.c (options): Put N_ translation marker
57975         on argument names, not just descriptions.
57977 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57979         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57981 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
57983         [BZ #14176]
57984         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57986 2013-03-19  Roland McGrath  <roland@hack.frob.com>
57988         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
57989         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
57990         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
57991         [!BEFORE_ABORT] (before_abort): New function.
57992         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
57993         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
57994         (writev_for_fatal): New function.
57995         (WRITEV_FOR_FATAL): New macro; call that.
57996         (backtrace_and_maps): New function.
57997         (BEFORE_ABORT): New macro; call that.
57998         (struct str_list): Type removed.
57999         (__libc_message, __libc_fatal): Functions removed.
58000         Include <sysdeps/posix/libc_fatal.c> instead.
58002 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58004         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58005         constants.
58006         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58007         double constants.
58009 2013-03-19  Andreas Schwab  <schwab@suse.de>
58011         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58012         * sysdeps/gnu/configure: Regenerate.
58014         * configure.in: Substitute libc_cv_rtlddir.
58015         * configure: Regenerate.
58016         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58017         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58018         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58019         * elf/Makefile (install-others, CFLAGS-interp.c)
58020         (ldso_install, common-ldd-rewrite): Likewise.
58021         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58022         $(inst_slibdir)/$(rtld-installed-name).
58023         * scripts/rellns-sh: Add -p option.
58024         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58025         for source.
58027 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58029         * manual/nptl.texi: Renamed to ...
58030         * manual/threads.texi: ... this.
58031         * manual/Makefile (chapters): Update.
58033 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58035         [BZ #14812]
58036         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58037         on argument names, not just descriptions.
58038         * malloc/memusagestat.c (options): Likewise.
58039         * nss/getent.c (options): Likewise.
58041 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58043         [BZ #14812]
58044         * iconv/iconv_prog.c (options): Put N_ translation marker
58045         on argument names, not just descriptions.
58046         * iconv/iconvconfig.c (options): Likewise.
58048 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58050         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58051         implementation which is faster on all x86_64 architectures.
58052         Tested on AMD, Intel Nehalem, SNB, IVB.
58053         * sysdeps/x86_64/strnlen.S: Likewise.
58055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58056         Remove all multiarch strlen and strnlen versions.
58057         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58058         Remove strlen and strnlen related parts.
58060         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58061         Inline strlen part.
58062         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58064         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58065         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58066         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58067         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58068         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58069         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58071 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58073         * manual/memory.texi (Malloc Tunable Parameters):
58074         Sort parameters alphabetically. Add comments for missing entries.
58076 2013-03-17  David S. Miller  <davem@davemloft.net>
58078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58080 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58082         [BZ #15283]
58083         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58084         for arguments at most half maximum finite value.
58085         * math/libm-test.inc (j0_test): Add more tests.
58086         (j1_test): Likewise.
58087         (y0_test): Likewise.
58088         (y1_test): Likewise.
58089         * sysdeps/i386/fpu/libm-test-ulps: Update.
58090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58092         [BZ #14155]
58093         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58094         1 / x and functions P and Q for arguments above 0x1p256L.
58095         (__ieee754_y0l): Likewise.
58096         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58097         (__ieee754_y1l): Likewise.
58098         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58099         (j1_test): Likewise.
58100         (y0_test): Likewise.
58101         (y1_test): Likewise.
58103 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58105         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58106         variable.
58108 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58110         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58111         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58112         zero since it's initialized to EXEC_PAGESIZE.
58114         * sysdeps/unix/sysv/linux/ldsodefs.h
58115         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58116         * sysdeps/generic/ldsodefs.h: ... here.
58118 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58120         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58122         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58123         math/test-snan.c.
58124         * math/test-snan.c: Renamed from
58125         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58126         * math/Makefile (tests): Add test-snan.
58127         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58128         test-powerpc-snan.
58130         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58131         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58132         functions.
58133         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58134         __builtin_nan family of functions.
58135         * math/libm-test.inc (initialize): Initialize qnan_value with
58136         __builtin_nan family of functions.
58137         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58138         Remove variables.
58139         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58140         Remove functions.
58141         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58142         storage class.  Initialize qNaN_var and sNaN_var with
58143         __builtin_nan and __builtin_nans families of functions,
58144         respectively.
58146         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58147         (sqrt_test): Remove duplicate test with qNaN input.
58148         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58149         (round_test, signbit_test, significand_test): Note missing +/-Inf
58150         as well as qNaN tests.
58152         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58153         qNaN_var.  Fix a few strings, too.
58154         * math/libm-test.inc (nan_value): Rename to qnan_value.
58155         * math/gen-libm-test.pl (%beautify): Adjust to that.
58156         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58157         * math/test-misc.c (main): Likewise.
58158         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58159         to __qnan_bytes, and __qnan_union, respectively.
58160         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58161         Likewise.
58162         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58163         and lqnanval, respectively.
58164         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58165         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58166         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58167         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58169         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58170         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58171         doubles.
58173         * math/test-misc.c (main): Fix copy'n'pastos.
58174         * misc/tst-efgcvt.c (special): Likewise.
58176         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58177         Remove declarations.
58179 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58181         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58182         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58183         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58184         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58186 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58188         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58189         macro to return vdso values correctly in IFUNC implementations.
58190         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58191         Optimization by using IFUNC.
58193 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58194             Richard Henderson  <rth@redhat.com>
58195             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58197         * Makefile.in (bench): New target.
58198         * NEWS: Mention the benchmark framework.
58199         * Rules (bench): Likewise.
58200         (binaries-bench): Generate binaries for functions to
58201         benchmark.
58202         * benchtests/Makefile: New makefile for benchmark tests.
58203         * benchtests/bench-skeleton.c: New skeleton file for benchmark
58204         programs.
58205         * benchtests/exp-inputs: New input file for EXP function.
58206         * benchtests/pow-inputs: New input file for POW function.
58207         * scripts/bench.pl: New script to generate source files for
58208         benchmark programs.
58210 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58212         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58213         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58214         computations on mantissa.  Use macros for rounding and
58215         division.
58216         (denorm): Likewise.
58217         (__dbl_mp): Likewise.
58218         (add_magnitudes): Likewise.
58219         (sub_magnitudes): Likewise.
58220         (__mul): Likewise.
58221         (__sqr): Likewise.
58222         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58223         powers of two in terms of TWOPOW macro.
58224         (mp_no): Make type of mantissa as MANTISSA_T.
58225         [!RADIXI]: Define RADIXI.
58226         [!TWO52]: Define TWO52.
58227         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58229         * manual/nptl.texi (cindex): Modify threads to pthreads.
58231 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
58233         * sysdeps/x86_64/preconfigure: Regenerated.
58235 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
58237         [BZ #14155]
58238         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58239         0x1p28 and above.
58240         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58241         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58242         0x1p28 and above.
58243         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58244         * math/libm-test.inc (j0_test): Do not allow one spurious
58245         underflow exception.
58246         (y1_test): Likewise.
58248 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58250         * manual/Makefile (chapters): Add nptl.
58251         * manual/debug.texi (Debugging Support): Add link to Threads
58252         chapter.
58253         * manual/nptl.texi: New file.
58255         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58257 2013-03-14  Petr Baudis  <pasky@ucw.cz>
58259         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58260         for non-NULL pointer before the memory validity test. Pointed
58261         out by Holger Brunck <holger.brunck@keymile.com>.
58263 2013-03-13  Andreas Schwab  <schwab@suse.de>
58265         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58266         instead of .os.
58268 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
58270         * timezone/zic.c: Update from tzcode 2013b.
58272 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
58274         * manual/install.texi (Configuring and compiling):
58275         Mention i686 and i586.
58276         * INSTALL: Regenerate.
58278 2013-03-12  Roland McGrath  <roland@hack.frob.com>
58280         * sysdeps/init_array/elf-init.c: New file.
58281         * csu/elf-init.c
58282         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58283         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58285         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58286         __gmon_start__ as global, but as static with a .preinit_array pointer.
58287         * sysdeps/init_array/gmon-start.c: New file.  Use that.
58288         * sysdeps/init_array/crti.S: New file, empty except for comments.
58289         * sysdeps/init_array/crtn.S: Likewise.
58291 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
58293         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58294         definining bcopy.
58295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58296         Remove Prefer_SSE_for_memop.
58297         * sysdeps/x86_64/multiarch/init-arch.h: Remove
58298         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58299         HAS_PREFER_SSE_FOR_MEMOP.
58300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58301         memset-x86-64.
58302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58303         Remove bzero, memset ifunc support.
58304         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58305         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58306         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58307         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58309 2013-03-11  Andreas Schwab  <schwab@suse.de>
58311         [BZ #15234]
58312         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58313         by SHLIB_COMPAT.
58314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58315         (GLIBC_2.16): Remove pthread_atfork.
58317 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
58319         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58320         (ptestcases.h): Likewise.
58322 2013-03-08  Roland McGrath  <roland@hack.frob.com>
58324         * Makeconfig ($(common-objpfx)config.status): Depend on
58325         sysdeps/*/preconfigure{,.in} too.
58327 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
58329         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58330         (__free_hook): Use void * instead of __malloc_ptr_t.
58331         (__malloc_hook): Likewise.
58332         (__realloc_hook): Likewise.
58333         (__memalign_hook): Likewise.
58334         (__after_morecore_hook): Likewise.
58335         * malloc/arena.c (save_malloc_hook): Likewise.
58336         (save_free_hook): Likewise.
58337         * malloc/hooks.c (malloc_hook_ini): Likewise.
58338         (realloc_hook_ini): Likewise.
58339         (memalign_hook_ini): Likewise.
58340         * malloc/malloc.c (malloc_hook_ini): Likewise.
58341         (realloc_hook_ini): Likewise.
58342         (memalign_hook_ini): Likewise.
58343         (__free_hook): Likewise.
58344         (__malloc_hook): Likewise.
58345         (__realloc_hook): Likewise.
58346         (__memalign_hook): Likewise.
58347         (__libc_malloc): Likewise.
58348         (__libc_free): Likewise.
58349         (__libc_realloc): Likewise.
58350         (__libc_memalign): Likewise.
58351         (__libc_valloc): Likewise.
58352         (__libc_pvalloc): Likewise.
58353         (__libc_calloc): Likewise.
58354         (__posix_memalign): Likewise.
58355         * malloc/morecore.c (__sbrk): Likewise.
58356         (__default_morecore): Likewise.
58358         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58360         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58361         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58362         __malloc_ptrdiff_t.
58364         * malloc/malloc.h (__malloc_size_t): Remove macro.
58365         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58366         __malloc_size_t.
58367         (old_memalign_hook): Likewise.
58368         (old_realloc_hook): Likewise.
58369         (struct hdr): Likewise.
58370         (flood): Likewise.
58371         (mallochook): Likewise.
58372         (memalignhook): Likewise.
58373         (reallochook): Likewise.
58374         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58375         (tr_old_realloc_hook): Likewise.
58376         (tr_old_memalign_hook): Likewise.
58377         (tr_mallochook): Likewise.
58378         (tr_reallochook): Likewise.
58379         (tr_memalignhook): Likewise.
58381 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58383         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58384         default_ldbl_pack and using as default implementation.
58385         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58386         implementation.
58387         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58388         redundant definition.
58389         (ldbl_insert_mantissa): Likewise.
58390         (ldbl_canonicalize): Likewise.
58391         (ldbl_nearbyint): Likewise.
58392         (ldbl_pack): Rename to ldbl_pack_ppc.
58393         (ldbl_unpack): Rename to ldbl_unpack_ppc.
58394         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58395         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58397 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58399         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58400         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58401         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58402         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58404         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58405         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58406         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58408 2013-03-07  Andreas Jaeger  <aj@suse.de>
58410         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58411         bits/mman-linux.h.
58413 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58415         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58416         Include mpa.h and declare __MPEXP.
58417         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58418         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58419         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58420         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58421         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58422         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58423         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58425         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58426         (__slowpow): Use long double EXPL and LOGL functions to
58427         compute POW.
58428         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58429         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58430         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58431         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58432         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58433         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58435         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58436         intermediate variable to calculate exponent.
58437         (__sqr): Likewise.
58438         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58439         Likewise.
58440         (__sqr): Likewise.
58442         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58443         [!NO__SQR]: Define __sqr.
58444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58445         and NO__SQR.  Remove all code except __mul and __sqr.  Include
58446         sysdeps/ieee754/dbl-64/mpa.c.
58447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58449         [BZ #12723]
58450         * posix/Makefile (tests): Add tst-pathconf.
58451         * posix/tst-pathconf.c: New test case.
58452         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58453         _PC_PIPE_BUF.
58454         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58456 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
58458         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58460 2013-03-06  Andreas Jaeger  <aj@suse.de>
58462         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58463         definition via __MAP_ANONYMOUS.
58465         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58466         it's not part of Linux headers.
58468         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58469         (MAP_HUGE_MASK): Define.
58471         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58472         Define.
58473         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58474         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58475         Define.
58476         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58477         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58478         Define.
58479         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58480         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58481         Define.
58482         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58484         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58485         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58486         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58487         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58488         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58489         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58491         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58492         Handle f2fs.
58494         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58495         Handle f2fs and efivarfs.
58497         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58498         f2fs.
58500         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58501         (EFIVARFS_MAGIC): Add.
58502         (F2FS_LINK_MAX): Add.
58504 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58506         * stdio-common/vfprintf.c: Replace __builtin_expect with
58507         __glibc_unlikely.
58509 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
58511         [BZ #13550]
58512         * sysdeps/generic/bp-sym.h: Remove file.
58513         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58514         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58515         <bp-sym.h> and <bp-asm.h>.
58516         (__longjmp): Don't use BP_SYM.
58517         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58518         and <bp-asm.h>.
58519         (memcpy): Don't use BP_SYM.
58520         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58521         <bp-sym.h> and <bp-asm.h>.
58522         (memcpy): Don't use BP_SYM.
58523         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58524         <bp-asm.h>.
58525         (memcpy): Don't use BP_SYM.
58526         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58527         <bp-asm.h>.
58528         (memset): Don't use BP_SYM.
58529         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58530         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58531         (__bzero): Don't use BP_SYM.
58532         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58533         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58534         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58535         <bp-sym.h> and <bp-asm.h>.
58536         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58537         pointers.
58538         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58539         <bp-sym.h> and <bp-asm.h>.
58540         (memcpy): Don't use BP_SYM.
58541         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58542         <bp-sym.h> and <bp-asm.h>.
58543         (memset): Don't use BP_SYM.
58544         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58545         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58546         (__bzero): Don't use BP_SYM.
58547         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58548         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58549         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58550         <bp-sym.h> and <bp-asm.h>.
58551         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58552         pointers.
58553         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58554         <bp-sym.h> and <bp-asm.h>.
58555         (memcpy): Don't use BP_SYM.
58556         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58557         <bp-sym.h> and <bp-asm.h>.
58558         (memset): Don't use BP_SYM.
58559         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58560         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58561         (__bzero): Don't use BP_SYM.
58562         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58563         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58564         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58565         <bp-sym.h> and <bp-asm.h>.
58566         (__memchr): Don't use BP_SYM.
58567         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58568         <bp-sym.h> and <bp-asm.h>.
58569         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58570         pointers.
58571         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58572         <bp-sym.h> and <bp-asm.h>.
58573         (memcpy): Don't use BP_SYM.
58574         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58575         <bp-sym.h> and <bp-asm.h>.
58576         (__mempcpy): Don't use BP_SYM.
58577         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58578         <bp-sym.h> and <bp-asm.h>.
58579         (__memrchr): Don't use BP_SYM.
58580         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58581         <bp-sym.h> and <bp-asm.h>.
58582         (memset): Don't use BP_SYM.
58583         (__bzero): Likewise.
58584         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58585         <bp-sym.h> and <bp-asm.h>.
58586         (__rawmemchr): Don't use BP_SYM.
58587         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58588         <bp-sym.h> and <bp-asm.h>.
58589         (__STRCMP): Don't use BP_SYM.
58590         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58591         <bp-sym.h> and <bp-asm.h>.
58592         (strchr): Don't use BP_SYM.
58593         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58594         <bp-sym.h> and <bp-asm.h>.
58595         (__strchrnul): Don't use BP_SYM.
58596         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58597         <bp-sym.h> and <bp-asm.h>.
58598         (strlen): Don't use BP_SYM.
58599         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58600         <bp-sym.h> and <bp-asm.h>.
58601         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58602         pointers.
58603         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58604         <bp-sym.h> and <bp-asm.h>.
58605         (__strnlen): Don't use BP_SYM.
58606         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58607         <bp-sym.h> and <bp-asm.h>.
58608         (__GI__setjmp): Don't use BP_SYM.
58609         (_setjmp): Likewise.
58610         (__sigsetjmp): Likewise.
58611         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58612         (L(start_addresses)): Don't use BP_SYM.
58613         (_start): Likewise.
58614         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58615         <bp-asm.h>.
58616         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58617         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58618         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58619         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58620         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58621         <bp-asm.h>.
58622         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58623         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
58624         about bounded pointers.
58625         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58626         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58627         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58628         <bp-asm.h>.
58629         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58630         about bounded pointers.  Remove GKM FIXME comments.
58631         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58632         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58633         <bp-asm.h>.
58634         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58635         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
58636         Remove GKM FIXME comments.
58637         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58638         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58639         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58640         <bp-asm.h>.
58641         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58642         about bounded pointers.  Remove GKM FIXME comment.
58643         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58644         and <bp-asm.h>.
58645         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58646         pointers.
58647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58648         <bp-sym.h> and <bp-asm.h>.
58649         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58651         <bp-sym.h> and <bp-asm.h>.
58652         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58653         comment.
58655 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58657         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58658         call free(NULL).
58660 2013-03-05  David S. Miller  <davem@davemloft.net>
58662         * po/es.po: Update from translation team.
58664 2013-03-05  Andreas Jaeger  <aj@suse.de>
58666         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58667         <bits/mman-linux.h>.
58668         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58669         is fine.
58670         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58671         <bits/mman-linux.h> to end of file.
58672         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58673         is fine.
58674         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58675         <bits/mman-linux.h> to end of file.
58676         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58677         is fine.
58678         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58679         <bits/mman-linux.h> to end of file.
58681         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58682         (MCL_CURRENT, MCL_FUTURE): Define here.
58684 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58686         [BZ #15232]
58687         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58688         attribute_hidden.
58689         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58691 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58693         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58694         fourth parameter needed for rt_sigprocmask syscall.
58695         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58696         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58697         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58698         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58699         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58700         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58702 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
58704         [BZ #13550]
58705         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58706         comment about bounded pointers.
58707         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58708         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58710 2013-03-04  Andreas Jaeger  <aj@suse.de>
58712         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58713         common definitions.
58715         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58716         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58717         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58718         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58719         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58720         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58722 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58724         [BZ #15055]
58725         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58726         __ieee754_sqrl instead of __sqrl.
58728 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
58730         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58731         * sysdeps/powerpc/fpu_control.h: ... here.
58732         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58733         * sysdeps/powerpc/bits/fenvinline.h: ... here.
58734         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58735         * sysdeps/powerpc/bits/mathinline.h: ... here.
58737 2013-03-01  Roland McGrath  <roland@hack.frob.com>
58739         * elf/dl-hwcaps.c (_dl_important_hwcaps):
58740         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58741         to just [NEED_DL_SYSINFO_DSO].
58742         * elf/dl-support.c: Likewise.
58743         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58744         * elf/rtld.c (dl_main): Likewise.
58745         * elf/setup-vdso.h (setup_vdso): Likewise.
58746         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58747         * sysdeps/unix/sysv/linux/dl-sysdep.c
58748         (_dl_discover_osversion): Likewise.
58750 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
58752         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58753         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58755 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
58757         * NEWS: Mention libm performance improvements and non-x86 PI
58758         futex support.
58760         * csu/libc-start.c (__pthread_initialize_minimal): Change
58761         function arguments.
58762         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58764 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
58766         [BZ #13550]
58767         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58768         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58769         <bp-sym.h> and <bp-asm.h>.
58770         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58771         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58772         and <bp-asm.h>.
58773         (memcpy): Don't use BP_SYM.
58774         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58775         <bp-asm.h>.
58776         (__mpn_add_n): Don't use BP_SYM.
58777         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58778         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58779         and <bp-asm.h>.
58780         (__mpn_addmul_1): Don't use BP_SYM.
58781         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58782         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58783         <bp-sym.h>.
58784         (_setjmp): Don't use BP_SYM.
58785         (__novmx_setjmp): Likewise.
58786         (__GI__setjmp): Likewise.
58787         (__vmx_setjmp): Likewise.
58788         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58789         <bp-sym.h>.
58790         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58791         (__bzero): Don't use BP_SYM.
58792         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58793         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58794         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58795         <bp-sym.h> and <bp-asm.h>.
58796         (memcpy): Don't use BP_SYM.
58797         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58798         <bp-sym.h> and <bp-asm.h>.
58799         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58800         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58801         <bp-sym.h> and <bp-asm.h>.
58802         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58803         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58804         <bp-asm.h>.
58805         (__mpn_lshift): Don't use BP_SYM.
58806         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58807         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58808         <bp-asm.h>.
58809         (memset): Don't use BP_SYM.
58810         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58811         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58812         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58813         <bp-asm.h>.
58814         (__mpn_mul_1): Don't use BP_SYM.
58815         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58816         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58817         <bp-sym.h> and <bp-asm.h>.
58818         (memcmp): Don't use BP_SYM.
58819         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58820         <bp-sym.h> and <bp-asm.h>.
58821         (memcpy): Don't use BP_SYM.
58822         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58823         <bp-sym.h> and <bp-asm.h>.
58824         (memset): Don't use BP_SYM.
58825         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58826         <bp-sym.h> and <bp-asm.h>.
58827         (strncmp): Don't use BP_SYM.
58828         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58829         <bp-sym.h> and <bp-asm.h>.
58830         (memcpy): Don't use BP_SYM.
58831         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58832         <bp-sym.h> and <bp-asm.h>.
58833         (memset): Don't use BP_SYM.
58834         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58835         <bp-sym.h> and <bp-asm.h>.
58836         (__memchr): Don't use BP_SYM.
58837         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58838         <bp-sym.h> and <bp-asm.h>.
58839         (memcmp): Don't use BP_SYM.
58840         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58841         <bp-sym.h> and <bp-asm.h>.
58842         (memcpy): Don't use BP_SYM.
58843         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58844         <bp-sym.h> and <bp-asm.h>.
58845         (__mempcpy): Don't use BP_SYM.
58846         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58847         <bp-sym.h> and <bp-asm.h>.
58848         (__memrchr): Don't use BP_SYM.
58849         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58850         <bp-sym.h> and <bp-asm.h>.
58851         (memset): Don't use BP_SYM.
58852         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58853         <bp-sym.h> and <bp-asm.h>.
58854         (__rawmemchr): Don't use BP_SYM.
58855         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58856         <bp-sym.h> and <bp-asm.h>.
58857         (__STRCMP): Don't use BP_SYM.
58858         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58859         <bp-sym.h> and <bp-asm.h>.
58860         (strchr): Don't use BP_SYM.
58861         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58862         <bp-sym.h> and <bp-asm.h>.
58863         (__strchrnul): Don't use BP_SYM.
58864         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58865         <bp-sym.h> and <bp-asm.h>.
58866         (strlen): Don't use BP_SYM.
58867         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58868         <bp-sym.h> and <bp-asm.h>.
58869         (strncmp): Don't use BP_SYM.
58870         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58871         <bp-sym.h> and <bp-asm.h>.
58872         (__strnlen): Don't use BP_SYM.
58873         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58874         <bp-asm.h>.
58875         (__mpn_rshift): Don't use BP_SYM.
58876         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58877         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58878         <bp-sym.h> and <bp-asm.h>.
58879         (__sigsetjmp): Don't use BP_SYM.
58880         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58881         (L(start_addresses)): Don't use BP_SYM.
58882         (_start): Likewise.
58883         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58884         <bp-asm.h>.
58885         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58886         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58887         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58888         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58889         <bp-asm.h>.
58890         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58891         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58892         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58893         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58894         <bp-asm.h>.
58895         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58896         comments.
58897         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58898         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58899         <bp-asm.h>.
58900         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
58901         FIXME comments.
58902         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58903         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58904         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58905         <bp-asm.h>.
58906         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58907         comment.
58908         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58909         and <bp-asm.h>.
58910         (strncmp): Don't use BP_SYM,
58911         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58912         <bp-asm.h>.
58913         (__mpn_sub_n): Don't use BP_SYM.
58914         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58915         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58916         and <bp-asm.h>.
58917         (__mpn_submul_1): Don't use BP_SYM.
58918         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58920         <bp-sym.h> and <bp-asm.h>.
58921         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58923         <bp-sym.h> and <bp-asm.h>.
58924         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58925         comment.
58927 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58929         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58930         Use ZK to minimize writes to Z.
58931         (sub_magnitudes): Simplify code a bit.
58932         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58933         Use ZK to minimize writes to Z.
58934         (sub_magnitudes): Simplify code a bit.
58936 2013-02-27  Roland McGrath  <roland@hack.frob.com>
58938         * csu/gmon-start.c: Add special exception to license text.
58940 2013-02-27  Richard Henderson  <rth@redhat.com>
58942         * scripts/config.guess: Update from config.git.
58943         * scripts/config.sub: Likewise.
58945 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58947         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58949         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58951         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58953         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58955         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58957 2013-02-26  Roland McGrath  <roland@hack.frob.com>
58959         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58960         [$(build-shared = yes].
58962 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58964         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58965         (__mul): Reduce iterations for calculating mantissa.
58967         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58968         MPTWO.
58969         (__mpranred): Likewise.
58971         [BZ #15160]
58972         * malloc/memusagestat.c (main): Draw graphs for heap and stack
58973         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58975 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
58977         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58978         Define __attribute__.
58980 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58982         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58983         unused.
58984         * posix/regex_internal.h (__attribute): Remove.
58985         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58986         (re_string_context_at): Likewise.
58987         (bitset_not): Use __attribute__ and mark function as possibly
58988         unused.
58989         (bitset_merge): Likewise.
58990         (bitset_mask): Likewise.
58991         (re_string_char_size_at): Likewise.
58992         (re_string_wchar_at): Likewise.
58993         (re_string_elem_size_at): Likewise.
58995 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58997         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
58998         code.
58999         (cc32): Likewise.
59001         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59002         (__acr): Likewise.
59003         (__cpy): Likewise.
59004         (norm): Likewise.
59005         (denorm): Likewise.
59006         (__dbl_mp): Likewise.
59007         (add_magnitudes): Likewise.
59008         (sub_magnitudes): Likewise.
59009         (__mul): Likewise.
59010         (__inv): Likewise.
59012         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59013         style.
59015         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59016         style.
59018         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59019         code.
59021         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59022         up changes with default code.
59023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59024         Likewise.
59026 2013-02-24  Allan McRae  <allan@archlinux.org>
59028         * manual/socket.texi (The Internet Namespace): Order menu items
59029         to match that in the file.
59031         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59032         node listing of the info page menu.
59034 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59036         [BZ #13550]
59037         * sysdeps/i386/bp-asm.h: Remove file.
59038         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59039         (PARMS): Do not use macros from bp-asm.h.
59040         (S1): Likewise.
59041         (S2): Likewise.
59042         (SIZE): Likewise.
59043         (__mpn_add_n): Do not use BP_SYM
59044         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59045         "bp-asm.h".
59046         (PARMS): Do not use macros from bp-asm.h.
59047         (S1): Likewise.
59048         (SIZE): Likewise.
59049         (__mpn_addmul_1): Do not use BP_SYM
59050         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59051         "bp-asm.h".
59052         (PARMS): Do not use macros from bp-asm.h.
59053         (SIGMSK): Likewise.
59054         (_setjmp): Likewise.  Do not use BP_SYM.
59055         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59056         "bp-asm.h".
59057         (PARMS): Do not use macros from bp-asm.h.
59058         (SIGMSK): Likewise.
59059         (setjmp): Likewise.  Do not use BP_SYM.
59060         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59061         "bp-asm.h".
59062         (PARMS): Do not use macros from bp-asm.h.
59063         (__frexp): Do not use BP_SYM.
59064         (frexp): Likewise.
59065         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59066         "bp-asm.h".
59067         (PARMS): Do not use macros from bp-asm.h.
59068         (__frexpf): Do not use BP_SYM.
59069         (frexpf): Likewise.
59070         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59071         "bp-asm.h".
59072         (PARMS): Do not use macros from bp-asm.h.
59073         (__frexpl): Do not use BP_SYM.
59074         (frexpl): Likewise.
59075         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59076         "bp-asm.h".
59077         (PARMS): Do not use macros from bp-asm.h.
59078         (__remquo): Do not use BP_SYM.
59079         (remquo): Likewise.
59080         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59081         "bp-asm.h".
59082         (PARMS): Do not use macros from bp-asm.h.
59083         (__remquof): Do not use BP_SYM.
59084         (remquof): Likewise.
59085         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59086         "bp-asm.h".
59087         (PARMS): Do not use macros from bp-asm.h.
59088         (__remquol): Do not use BP_SYM.
59089         (remquol): Likewise.
59090         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59091         "bp-asm.h".
59092         (PARMS): Do not use macros from bp-asm.h.
59093         (DEST): Likewise.
59094         (SRC): Likewise.
59095         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59096         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59097         "bp-asm.h".
59098         (PARMS): Do not use macros from bp-asm.h.
59099         (strlen): Do not use BP_SYM.
59100         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59101         "bp-asm.h".
59102         (PARMS): Do not use macros from bp-asm.h.
59103         (S1): Likewise.
59104         (S2): Likewise.
59105         (SIZE): Likewise.
59106         (__mpn_add_n): Do not use BP_SYM.
59107         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59108         "bp-asm.h".
59109         (PARMS): Do not use macros from bp-asm.h.
59110         (S1): Likewise.
59111         (SIZE): Likewise.
59112         (__mpn_addmul_1): Do not use BP_SYM.
59113         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59114         weak_alias.
59115         (bzero): Likewise.
59116         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59117         "bp-asm.h".
59118         (PARMS): Do not use macros from bp-asm.h.
59119         (S): Likewise.
59120         (SIZE): Likewise.
59121         (__mpn_lshift): Do not use BP_SYM.
59122         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59123         "bp-asm.h".
59124         (PARMS): Do not use macros from bp-asm.h.
59125         (DEST): Likewise.
59126         (SRC): Likewise.
59127         (LEN): Likewise.
59128         (memcpy): Likewise.  Do not use BP_SYM.
59129         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59130         libc_hidden_def and weak_alias.
59131         (mempcpy): Do not use BP_SYM in weak_alias.
59132         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59133         "bp-asm.h".
59134         (PARMS): Do not use macros from bp-asm.h.
59135         (DEST): Likewise.
59136         (LEN): Likewise.
59137         [!BZERO_P] (CHR): Likewise.
59138         (memset): Likewise.  Do not use BP_SYM.
59139         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59140         "bp-asm.h".
59141         (PARMS): Do not use macros from bp-asm.h.
59142         (S1): Likewise.
59143         (SIZE): Likewise.
59144         (__mpn_mul_1): Do not use BP_SYM.
59145         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59146         "bp-asm.h".
59147         (PARMS): Do not use macros from bp-asm.h.
59148         (S): Likewise.
59149         (SIZE): Likewise.
59150         (__mpn_rshift): Do not use BP_SYM.
59151         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59152         "bp-asm.h".
59153         (PARMS): Do not use macros from bp-asm.h.
59154         (STR): Likewise.
59155         (CHR): Likewise.
59156         (strchr): Likewise.  Do not use BP_SYM.
59157         (index): Do not use BP_SYM in weak_alias.
59158         * sysdeps/i386/i586/strcpy.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         (SRC): Likewise.
59163         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59164         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59165         "bp-asm.h".
59166         (PARMS): Do not use macros from bp-asm.h.
59167         (strlen): Do not use BP_SYM.
59168         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59169         "bp-asm.h".
59170         (PARMS): Do not use macros from bp-asm.h.
59171         (S1): Likewise.
59172         (S2): Likewise.
59173         (SIZE): Likewise.
59174         (__mpn_sub_n): Do not use BP_SYM.
59175         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59176         "bp-asm.h".
59177         (PARMS): Do not use macros from bp-asm.h.
59178         (S1): Likewise.
59179         (SIZE): Likewise.
59180         (__mpn_submul_1): Do not use BP_SYM.
59181         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59182         "bp-asm.h".
59183         (PARMS): Do not use macros from bp-asm.h.
59184         (S1): Likewise.
59185         (S2): Likewise.
59186         (SIZE): Likewise.
59187         (__mpn_add_n): Do not use BP_SYM.
59188         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59189         weak_alias.
59190         (bzero): Likewise.
59191         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59192         "bp-asm.h".
59193         (PARMS): Do not use macros from bp-asm.h.
59194         (BLK2): Likewise.
59195         (LEN): Likewise.
59196         (memcmp): Do not use BP_SYM.
59197         (bcmp): Do not use BP_SYM in weak_alias.
59198         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59199         "bp-asm.h".
59200         (PARMS): Do not use macros from bp-asm.h.
59201         (DEST): Likewise.
59202         (SRC): Likewise.
59203         (LEN): Likewise.
59204         (memcpy): Likewise.  Do not use BP_SYM.
59205         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59206         "bp-asm.h".
59207         (PARMS): Do not use macros from bp-asm.h.
59208         (DEST): Likewise.
59209         (SRC): Likewise.
59210         (LEN): Likewise.
59211         (memmove): Likewise.  Do not use BP_SYM.
59212         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59213         "bp-asm.h".
59214         (PARMS): Do not use macros from bp-asm.h.
59215         (DEST): Likewise.
59216         (SRC): Likewise.
59217         (LEN): Likewise.
59218         (__mempcpy): Likewise.  Do not use BP_SYM.
59219         (mempcpy): Do not use BP_SYM in weak_alias.
59220         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59221         "bp-asm.h".
59222         (PARMS): Do not use macros from bp-asm.h.
59223         (DEST): Likewise.
59224         (LEN): Likewise.
59225         [!BZERO_P] (CHR): Likewise.
59226         (memset): Likewise.  Do not use BP_SYM.
59227         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59228         "bp-asm.h".
59229         (PARMS): Do not use macros from bp-asm.h.
59230         (STR2): Likewise.
59231         (strcmp): Do not use BP_SYM.
59232         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59233         "bp-asm.h".
59234         (PARMS): Do not use macros from bp-asm.h.
59235         (STR): Likewise.
59236         (DELIM): Likewise.
59237         [USE_AS_STRTOK_R] (SAVE): Likewise.
59238         (FUNCTION): Likewise.  Do not use BP_SYM.
59239         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59240         aliases.
59241         (strtok_r): Likewise.
59242         (__GI___strtok_r): Likewise.
59243         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59244         (PARMS): Do not use macros from bp-asm.h.
59245         (S): Likewise.
59246         (SIZE): Likewise.
59247         (__mpn_lshift): Do not use BP_SYM.
59248         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59249         (PARMS): Do not use macros from bp-asm.h.
59250         (STR): Likewise.
59251         (CHR): Likewise.
59252         (__memchr): Do not use BP_SYM.
59253         (memchr): Do not use BP_SYM in weak_alias.
59254         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59255         (PARMS): Do not use macros from bp-asm.h.
59256         (BLK2): Likewise.
59257         (LEN): Likewise.
59258         (memcmp): Do not use BP_SYM.
59259         (bcmp): Do not use BP_SYM in weak_alias.
59260         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59261         (PARMS): Do not use macros from bp-asm.h.
59262         (S1): Likewise.
59263         (SIZE): Likewise.
59264         (__mpn_mul_1): Do not use BP_SYM.
59265         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59266         "bp-asm.h".
59267         (PARMS): Do not use macros from bp-asm.h.
59268         (STR): Likewise.
59269         (CHR): Likewise.
59270         (__rawmemchr): Do not use BP_SYM.
59271         (rawmemchr): Do not use BP_SYM in weak_alias.
59272         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59273         (PARMS): Do not use macros from bp-asm.h.
59274         (S): Likewise.
59275         (SIZE): Likewise.
59276         (__mpn_rshift): Do not use BP_SYM.
59277         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59278         (PARMS): Do not use macros from bp-asm.h.
59279         (SIGMSK): Likewise.
59280         (__sigsetjmp): Likewise.  Do not use BP_SYM.
59281         * sysdeps/i386/start.S: Do not include "bp-sym.h".
59282         (_start): Do not use BP_SYM.
59283         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59284         (PARMS): Do not use macros from bp-asm.h.
59285         (DEST): Likewise.
59286         (SRC): Likewise.
59287         (__stpcpy): Likewise.  Do not use BP_SYM.
59288         (stpcpy): Do not use BP_SYM in weak_alias.
59289         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59290         "bp-asm.h".
59291         (PARMS): Do not use macros from bp-asm.h.
59292         (DEST): Likewise.
59293         (SRC): Likewise.
59294         (LEN): Likewise.
59295         (__stpncpy): Likewise.  Do not use BP_SYM.
59296         (stpncpy): Do not use BP_SYM in weak_alias.
59297         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59298         (PARMS): Do not use macros from bp-asm.h.
59299         (STR): Likewise.
59300         (CHR): Likewise.
59301         (strchr): Likewise.  Do not use BP_SYM.
59302         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59303         "bp-asm.h".
59304         (PARMS): Do not use macros from bp-asm.h.
59305         (STR): Likewise.
59306         (CHR): Likewise.
59307         (__strchrnul): Likewise.  Do not use BP_SYM.
59308         (strchrnul): Do not use BP_SYM in weak_alias.
59309         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59310         "bp-asm.h".
59311         (PARMS): Do not use macros from bp-asm.h.
59312         (STOP): Likewise.
59313         (strcspn): Do not use BP_SYM.
59314         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59315         "bp-asm.h".
59316         (PARMS): Do not use macros from bp-asm.h.
59317         (STR): Likewise.
59318         (STOP): Likewise.
59319         (strpbrk): Likewise.  Do not use BP_SYM.
59320         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59321         "bp-asm.h".
59322         (PARMS): Do not use macros from bp-asm.h.
59323         (STR): Likewise.
59324         (CHR): Likewise.
59325         (strrchr): Likewise.  Do not use BP_SYM.
59326         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59327         (PARMS): Do not use macros from bp-asm.h.
59328         (SKIP): Likewise.
59329         (strspn): Do not use BP_SYM.
59330         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59331         (PARMS): Do not use macros from bp-asm.h.
59332         (STR): Likewise.
59333         (DELIM): Likewise.
59334         (SAVE): Likewise.
59335         (FUNCTION): Likewise.  Do not use BP_SYM.
59336         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59337         aliases.
59338         (strtok_r): Likewise.
59339         (__GI___strtok_r): Likewise.
59340         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59341         (PARMS): Do not use macros from bp-asm.h.
59342         (S1): Likewise.
59343         (S2): Likewise.
59344         (SIZE): Likewise.
59345         (__mpn_sub_n): Do not use BP_SYM.
59346         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59347         "bp-asm.h".
59348         (PARMS): Do not use macros from bp-asm.h.
59349         (S1): Likewise.
59350         (SIZE): Likewise.
59351         (__mpn_submul_1): Do not use BP_SYM.
59352         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59353         <bp-sym.h>.
59354         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59355         and <bp-asm.h>.
59356         (PARMS): Do not use macros from bp-asm.h.
59357         (FLAGS): Likewise.
59358         (PTID): Likewise.
59359         (TLS): Likewise.
59360         (CTID): Likewise.
59361         (__clone): Do not use BP_SYM.
59362         (clone): Do not use BP_SYM in weak_alias.
59363         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59364         and <bp-asm.h>.
59365         (PARMS): Do not use macros from bp-asm.h.
59366         (LEN): Likewise.
59367         (__mmap64): Do not use BP_SYM.
59368         (mmap64): Do not use BP_SYM in weak_alias.
59369         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59370         <bp-sym.h> and <bp-asm.h>.
59371         (PARMS): Do not use macros from bp-asm.h.
59372         (__posix_fadvise64_l64): Do not use BP_SYM.
59373         * sysdeps/unix/sysv/linux/i386/semtimedop.S
59374         (PARMS): Do not use macros from bp-asm.h.
59375         (NSOPS): Likewise.
59376         (semtimedop): Do not use BP_SYM.
59377         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59378         and <bp-asm.h>.
59380 2013-02-21  Allan McRae  <allan@archlinux.org>
59382         * manual/message.texi (Charset conversion in gettext):
59383         Move @end statement to beginning of line.
59385 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59388         static.
59389         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59390         Likewise.
59392         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59393         (denorm): Likewise.
59394         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59395         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59397 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59399         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59400         tail-call to the resolved function if pltexit isn't needed.
59402 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59405         or Y being zero as being unlikely.
59406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59407         Likewise.
59409 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
59411         * manual/nss.texi (System Databases and Name Service Switch):
59412         Remove frobnicate @pxref.
59414 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59416         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59417         __attribute__ ((unused)) to __attribute__ ((__unused__)).
59419 2013-02-20  Petr Machata  <pmachata@redhat.com>
59421         * elf/elf.h (R_ARM_TARGET1): New macro.
59422         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59423         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59424         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59425         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59426         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59427         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59428         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59429         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59430         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59431         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59432         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59433         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59434         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59435         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59436         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59437         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59438         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59439         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59440         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59441         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59442         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59443         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59444         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59445         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59446         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59447         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59448         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59449         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59450         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59451         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59452         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59453         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59454         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59455         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59456         (R_ARM_THM_GOT_BREL12): Likewise.
59457         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59458         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59459         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59460         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59461         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59462         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59463         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59464         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59465         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59467 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59469         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59470         __attribute_used__ to __attribute__ ((unused)).
59472 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59474         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59475         powerpc mpa.c.
59476         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59477         comment formatting.
59478         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59480 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
59482         [BZ #13550]
59483         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59484         Remove macro.
59485         (ENTER): Remove both macro definitions.
59486         (LEAVE): Likewise.
59487         (CHECK_BOUNDS_LOW): Likewise.
59488         (CHECK_BOUNDS_HIGH): Likewise.
59489         (CHECK_BOUNDS_BOTH): Likewise.
59490         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59491         (RETURN_BOUNDED_POINTER): Likewise.
59492         (RETURN_NULL_BOUNDED_POINTER): Likewise.
59493         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59494         (POP_ERRNO_LOCATION_RETURN): Likewise.
59495         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59496         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59497         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59498         macros.
59499         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59500         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59501         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59502         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59503         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59504         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59505         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59506         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59507         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59508         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59509         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59510         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59511         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59512         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59513         removed macros.
59514         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59515         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59516         macros.
59517         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59518         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59519         * sysdeps/i386/i586/memset.S (memset): Likewise.
59520         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59521         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59522         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59523         macros.
59524         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59525         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59526         Change uses of L(2) to L(out).
59527         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59528         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59529         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59530         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59531         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59532         removed macros.
59533         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59534         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59535         macros.
59536         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59537         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59538         (RETURN): Do not use macro LEAVE.
59539         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59540         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59541         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59542         * sysdeps/i386/i686/memset.S (memset): Likewise.
59543         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59544         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59545         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59546         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59547         Likewise.
59548         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59549         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
59550         L(1_2) and L(1_3) into L(1).
59551         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59552         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59553         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59554         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59555         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59556         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59557         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59558         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59559         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59560         macros.
59561         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59562         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59563         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59564         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59565         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59566         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59567         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59568         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59569         * sysdeps/i386/strcspn.S (strcspn): Likewise.
59570         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59571         * sysdeps/i386/strrchr.S (strrchr): Likewise.
59572         * sysdeps/i386/strspn.S (strspn): Likewise.
59573         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59574         conditional code.
59575         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59576         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59577         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59578         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
59579         L(1_3) into L(1_1).
59580         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59581         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59582         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59583         macros.
59584         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59586 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
59588         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59589         macro.
59591 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59593         * math/atest-exp.c (exp_mpn): Remove ROUND.
59594         * math/atest-exp2.c (exp_mpn): Likewise.
59595         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59597         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59598         * stdlib/tst-tls-atexit-lib.c: Likewise.
59599         * stdlib/tst-tls-atexit.c: Likewise.
59601 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59603         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59604         and __attribute_alloc_size__.
59606 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59608         * include/programs/xmalloc.h: Change __attribute_alloc_size to
59609         __attribute_alloc_size__.
59610         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59611         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59613 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59615         * include/programs/xmalloc.h: New file.
59616         * catgets/gencat.c: Include it.
59617         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59618         * elf/pldd.c: Likewise.
59619         * iconv/iconv_charmap.c: Likewise.
59620         * iconv/iconvconfig.c: Likewise.
59621         * iconv/strtab.c: Likewise.
59622         * locale/programs/locale.c: Likewise.
59623         * locale/programs/localedef.h: Likewise.
59624         * locale/programs/simple-hash.c: Likewise.
59625         * nscd/nscd.h: Likewise.
59626         * nss/makedb.c: Likewise.
59627         * sysdeps/generic/ldconfig.h: Likewise.
59629 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59631         * Versions.def: Add GLIBC_2.18.
59632         * include/link.h (struct link_map): New member l_tls_dtor_count.
59633         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59634         (__call_tls_dtors): Likewise.
59635         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59636         __cxa_thread_atexit_impl.
59637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59638         Likewise.
59639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59640         Likewise.
59641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59642         Likewise.
59643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59644         Likewise.
59645         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59647         Likewise.
59648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59649         Likewise.
59650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59651         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59652         Likewise.
59653         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59654         (tests): Add test case tst-tls-atexit.
59655         (modules-names): Add shared library for tst-tls-atexit.
59656         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59657         (GLIBC_PRIVATE): Add __call_tls_dtors.
59658         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59659         for libstdc++.
59660         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59661         * stdlib/tst-tls-atexit.c: New test case.
59662         * stdlib/tst-tls-atexit-lib.c: New test case.
59664         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59666         * elf/Versions (ld): Add _dl_find_dso_for_object.
59667         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59668         * elf/dl-open.c (_dl_find_dso_for_object): New function.
59669         (dl_open_worker): Use _dl_find_dso_for_object.
59670         * elf/dl-sym.c (do_sym): Likewise.
59671         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59673 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59675         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59676         Syntactic changes only.
59677         (_dl_runtime_profile): Do a tail-call to the resolved function.
59679 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
59681         [BZ #13550]
59682         * sysdeps/x86_64/bp-asm.h: Remove file.
59683         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59684         <bp-sym.h> and <bp-asm.h>.
59685         (__clone): Do not use BP_SYM.
59686         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59687         <bp-sym.h> and <bp-asm.h>.
59688         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59689         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59690         "bp-asm.h".
59691         (_setjmp): Do not use BP_SYM.
59692         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59693         "bp-asm.h".
59694         (setjmp): Do not use BP_SYM.
59695         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59696         libc_hidden_def.
59697         (mempcpy): Do not use BP_SYM in weak_alias.
59698         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59699         "bp-asm.h".
59700         (strchr): Do not use BP_SYM.
59701         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59702         "bp-asm.h".
59703         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59704         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59705         (_start): Do not use BP_SYM.
59706         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59707         "bp-asm.h".
59708         (strcat): Do not use BP_SYM.
59709         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59710         "bp-asm.h".
59711         (STRCMP): Do not use BP_SYM.
59712         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59713         "bp-asm.h".
59714         (STRCPY): Do not use BP_SYM.
59715         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59716         "bp-asm.h".
59717         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59718         "bp-asm.h".
59719         (FUNCTION): Do not use BP_SYM.
59720         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59721         weak_alias.
59722         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59724 2013-02-17  Andreas Jaeger  <aj@suse.de>
59726         * time/Versions: Sort entries.
59727         * string/Versions: Likewise.
59728         * resolv/Versions: Likewise.
59729         * posix/Versions: Likewise.
59730         * iconv/Versions: Likewise.
59731         * elf/Versions: Likewise.
59732         * wcsmbs/Versions: Likewise.
59734 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59736         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59737         loop termination condition.
59739         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59740         variable to calculate EZ.
59741         (__sqr): Likewise.
59743         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59744         the lower precision input.
59746 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
59748         [BZ #13550]
59749         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59750         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59751         (run-via-rtld-prefix): Do not handle %-bp tests.
59752         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59753         (all-object-suffixes): Remove .ob.
59754         (bppfx): Remove variable.
59755         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59756         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59757         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59758         [$(build-bounded) = yes] (libtype.ob): Likewise.
59759         * Makerules (elide-routines.ob): Remove variable.
59760         (do-tests-clean): Do not handle *-bp.out.
59761         (common-mostlyclean): Do not handle *-bp and *-bp.out.
59762         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59763         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59764         (tests): Do not include $(tests-bp.out).
59765         (xtests): Do not include $(xtests-bp.out).
59766         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59767         [$(build-bounded) = yes] ($(addprefix
59768         $(objpfx),$(binaries-bounded))): Remove rule.
59769         ($(objpfx)%-bp.out): Remove rule.
59770         * config.make.in (build-bounded): Remove variable.
59771         * crypt/Makefile [$(build-bounded) = yes]
59772         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59773         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59774         append to variable.
59775         [$(build-bounded) = yes] (install-lib): Likewise.
59776         [$(build-bounded) = yes] (generated): Likewise.
59777         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59778         Remove rule.
59779         * intl/Makefile [$(build-bounded) = yes]
59780         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59781         * math/Makefile [$(build-bounded) = yes]
59782         ($(tests:%=$(objpfx)%-bp): Likewise.
59783         * misc/Makefile [$(build-bounded) = yes]
59784         ($(objpfx)tst-tsearch-bp): Likewise.
59785         * nptl/Makeconfig (bounded-thread-library): Remove variable.
59786         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59787         Remove dependency.
59788         * string/Makefile (o-objects.ob): Remove variable.
59789         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59790         (CFLAGS-.ob): Remove variable.
59791         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59792         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59793         both definitions of variable.
59794         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59795         (ASFLAGS-.ob): Remove variable.
59797 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
59799         [BZ #13550]
59800         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59801         Remove __BOUNDED_POINTERS__ from condition.
59802         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59803         * string/bits/string2.h [!__NO_STRING_INLINES &&
59804         !__BOUNDED_POINTERS__]: Likewise.
59805         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59806         Likewise.
59807         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59808         Remove conditional code.
59809         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59810         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59811         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59812         condition.
59814         [BZ #13550]
59815         * csu/libc-start.c: Do not include <bp-sym.h>.
59816         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59817         * elf/dl-open.c: Do not include <bp-sym.h>.
59818         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59819         * math/fegetenv.c: Do not include <bp-sym.h>.
59820         (fegetenv): Do not use BP_SYM in versioned symbols.
59821         * nptl/sysdeps/pthread/bits/libc-lockP.h
59822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59823         <bp-sym.h>.
59824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59825         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59827         (__pthread_mutex_destroy): Likewise.
59828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59829         (__pthread_mutex_lock): Likewise.
59830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59831         (__pthread_mutex_trylock): Likewise.
59832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59833         (__pthread_mutex_unlock): Likewise.
59834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59835         (__pthread_mutexattr_init): Likewise.
59836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59837         (__pthread_mutexattr_destroy): Likewise.
59838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59839         (__pthread_mutexattr_settype): Likewise.
59840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59841         (__pthread_rwlock_init): Likewise.
59842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59843         (__pthread_rwlock_destroy): Likewise.
59844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59845         (__pthread_rwlock_rdlock): Likewise.
59846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59847         (__pthread_rwlock_tryrdlock): Likewise.
59848         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59849         (__pthread_rwlock_wrlock): Likewise.
59850         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59851         (__pthread_rwlock_trywrlock): Likewise.
59852         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59853         (__pthread_rwlock_unlock): Likewise.
59854         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59855         (__pthread_key_create): Likewise.
59856         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59857         (__pthread_setspecific): Likewise.
59858         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59859         (__pthread_getspecific): Likewise.
59860         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59861         Likewise.
59862         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59863         (_pthread_cleanup_push_defer): Likewise.
59864         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59865         (_pthread_cleanup_pop_restore): Likewise.
59866         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59867         (pthread_setcancelstate): Likewise.
59868         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59869         <bp-sym.h>.
59870         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59871         (memchr): Do not use BP_SYM in weak_alias.
59872         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59873         (fegetenv): Do not use BP_SYM in versioned symbols.
59874         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59875         (fesetenv): Do not use BP_SYM in versioned symbols.
59876         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59877         (feupdateenv): Do not use BP_SYM in versioned symbols.
59878         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59879         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59880         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59881         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59882         (open64): Do not use BP_SYM in weak_alias.
59883         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59884         (fegetenv): Do not use BP_SYM in versioned symbols.
59885         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59886         (fesetenv): Do not use BP_SYM in versioned symbols.
59887         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59888         (feupdateenv): Do not use BP_SYM in versioned symbols.
59889         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59890         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59891         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59892         (feraiseexcept): Do not use BP_SYM in versioned symbols.
59893         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59894         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59895         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59896         <bp-sym.h>.
59897         (__libc_start_main): Do not use BP_SYM.
59899 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59901         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59902         redundant return line.
59903         (norm): Likewise.
59904         (denorm): Likewise.
59905         (dbl_mp): Likewise.
59906         (sub_magnitudes): Likewise.
59907         (__add): Likewise.
59908         (__sub): Likewise.
59909         (__mul): Likewise.
59910         (__inv): Likewise.
59911         (__dvd): Likewise.
59912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59913         (norm): Likewise.
59914         (denorm): Likewise.
59915         (dbl_mp): Likewise.
59916         (sub_magnitudes): Likewise.
59917         (__add): Likewise.
59918         (__sub): Likewise.
59919         (__mul): Likewise.
59920         (__inv): Likewise.
59921         (__dvd): Likewise.
59923         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59924         instead of __mul.
59925         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59926         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59927         (cc32): Likewise.
59929         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59930         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59931         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59932         of __mul for squares.
59933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59934         function
59935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59936         Likewise.
59937         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59938         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59940 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
59942         [BZ #13550]
59943         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59944         code.
59945         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59946         prototype or function definition.  Rename ubp_* variables and
59947         parameters.  Remove argv definitions conditional on
59948         [__BOUNDED_POINTERS__].
59949         * debug/backtrace.c (__backtrace): Do not use __unbounded.
59950         * elf/dl-runtime.c (_dl_fixup): Likewise.
59951         * include/set-hooks.h (RUN_HOOK): Likewise.
59952         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59953         definition.
59954         * string/strcpy.c (strcpy): Do not use __unbounded.
59955         * sysdeps/generic/frame.h (struct layout): Likewise.
59956         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59957         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59958         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59959         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59960         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59961         (__backtrace): Likewise.
59962         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59963         use __ptrvalue.
59964         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59965         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59966         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59967         Likewise.
59968         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59969         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59970         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59971         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59972         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59973         Do not use __unbounded.
59974         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59975         Rename __unboundedrlimits parameter to rlimits in prototype.
59976         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59977         Do not use __unbounded.
59978         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59979         not use __ptrvalue.
59980         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59981         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59982         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59983         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59984         __ptrvalue or __unbounded.
59985         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59986         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
59987         use __unbounded.
59988         (__new_msgctl): Do not use __ptrvalue.
59989         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
59990         __unbounded.
59991         (__libc_msgrcv): Do not use __ptrvalue.
59992         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
59993         startup_info): Do not use __unbounded.
59994         (__libc_start_main): Likewise.  Rename ubp_* variables and
59995         parameters.  Remove argv definitions conditional on
59996         [__BOUNDED_POINTERS__].
59997         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59998         __ptrvalue.
59999         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60000         use __unbounded.
60001         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60002         or __ptrvalue.
60003         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60004         use __unbounded.
60005         (__new_shmctl): Do not use __ptrvalue.
60006         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60007         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60008         Likewise.
60009         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60010         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60011         (__libc_sigaction): Likewise.
60012         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60013         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60014         Likewise.
60015         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60017 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60019         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60021         * string/mempcpy.c: Implement by calling memcpy.
60023 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60025         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60027         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60028         evaluation.
60030         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60031         values in the mantissa.
60033         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60034         minimize writes to Z.
60035         (sub_magnitudes): Simplify code a bit.
60037 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60039         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60040         from the message.  The linker prefixes all warnings with that already.
60042 2013-02-12  Andreas Schwab  <schwab@suse.de>
60044         [BZ #15078]
60045         * posix/regexec.c (extend_buffers): Add parameter min_len.
60046         (check_matching): Pass minimum needed length.
60047         (clean_state_log_if_needed): Likewise.
60048         (get_subexp): Likewise.
60049         * posix/Makefile (tests): Add bug-regex34.
60050         (bug-regex34-ENV): Define.
60051         * posix/bug-regex34.c: New file.
60053         [BZ #11561]
60054         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60055         elements compare against the byte sequence of it, not its name.
60056         * posix/Makefile (tests): Add bug-regex35.
60057         (bug-regex35-ENV): Define.
60058         * posix/bug-regex35.c: New file.
60060 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60062         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60063         comment.
60064         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60065         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60066         (CHECK_EOL): Add undef.
60068 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60070         * bits/stdlib-bsearch.h: New file.
60071         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60072         * stdlib/stdlib.h: Likewise.
60074 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60076         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60077         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60078         declaration.
60079         * manual/search.texi (Array Search Function): Add missing const in
60080         lfind prototype.
60081         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60082         declaration to use rlim_t.
60083         (Basic Scheduling Functions): Remove erroneous const from
60084         sched_getparam prototype.  Remove erroneous * from
60085         sched_get_priority_max and sched_get_priority_min prototypes.
60086         (Resource Usage): Fix summary @comment on vtimes to refer to
60087         sys/vtimes.h rather than vtimes.h.
60088         Add missing *s in vtimes prototype.
60089         (Limits on Resources): Fix ulimit prototype to return long int.
60090         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60091         prototypes to use long int rather than double.
60092         (BSD Random): Fix initstate and setstate to use char *, not void *.
60093         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60094         prototype to make second argument 'struct aiocb64 *const[]'.
60095         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60096         (Status of AIO Operations): Remove erroneous const in aio_return and
60097         aio_return64 prototypes.
60098         (Synchronizing I/O): Fix sync prototype to return void.
60099         * manual/startup.texi (Suboptions): Remove an erroneous const in
60100         getsubopt prototype.
60101         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60102         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60103         use size_t rather than int.
60104         (Scanning All Users): Likewise for getpwent_r.
60105         (Setting Groups): Add missing const to setgroups prototype.
60106         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60107         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60108         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60109         'const void *' rather than 'const char *'.
60110         (Host Address Functions): Likewise for inet_ntop.
60111         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60112         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60113         ssize_t for return value.
60114         (Sending Data): Likewise for send, sendto, sendmsg.
60115         (Socket Option Functions): Add a missing const in setsockopt prototype.
60116         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60117         use wchar_t for the argument.
60118         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60119         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60120         take no arguments.
60121         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60122         double/float/long double for second argument.
60123         Fix return types of significand, significandf, significandl.
60124         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60125         argument in fchmod prototype.
60126         (File Owner): Use uid_t and gid_t in fchown prototype.
60127         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60128         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60129         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60130         use 'const struct dirent **' as argument types to CMP function pointer
60131         argument.
60132         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60133         (File Times): Fix summary magic @comment for struct utimbuf and utime
60134         to refer to utime.h, not time.h.
60135         * manual/string.texi (Argz Functions): Add missing const in
60136         argz_extract and argz_next prototypes.
60137         (Finding Tokens in a String): Likewise for basename.
60138         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60139         (Copying and Concatenation): Fix typo in wmemmove prototype.
60140         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60141         (Signal Stack): Remove erroneous const in sigstack prototype.
60142         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60143         prototype.
60144         (Simple Calendar Time): Likewise for stime.
60145         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60146         prototype.
60147         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60148         say sys/sysctl.h instead.
60149         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60150         and vsyslog prototypes.
60152 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60154         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60155         Remove.
60157 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60159         * misc/sys/mman.h: Fix typo in mremap comment.
60161 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60163         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60164         the '\0' terminator.
60166 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60168         [BZ #13550]
60169         * debug/segfault.c: Don't include <bp-checks.h>.
60170         * sysdeps/generic/bp-checks.h: Remove file.
60171         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60172         (__GETDENTS): Don't use CHECK_N.
60173         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60174         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60175         (__getgroups): Don't use CHECK_N.
60176         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60177         (setgroups): Don't use CHECK_N.
60178         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60179         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60180         (__libc_msgrcv): Don't use CHECK_N.
60181         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60182         (__libc_msgsnd): Don't use CHECK_N.
60183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60184         <bp-checks.h>.
60185         (__libc_pread): Don't use CHECK_N.
60186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60187         include <bp-checks.h>.
60188         (__libc_pread64): Don't use CHECK_N.
60189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60190         include <bp-checks.h>.
60191         (__libc_pwrite): Don't use CHECK_N.
60192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60193         include <bp-checks.h>.
60194         (__libc_pwrite64): Don't use CHECK_N.
60195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60196         <bp-checks.h>.
60197         (__libc_pread): Don't use CHECK_N.
60198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60199         include <bp-checks.h>.
60200         (__libc_pread64): Don't use CHECK_N.
60201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60202         include <bp-checks.h>.
60203         (__libc_pwrite): Don't use CHECK_N.
60204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60205         include <bp-checks.h>.
60206         (__libc_pwrite64): Don't use CHECK_N.
60207         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60208         (do_pread): Don't use CHECK_N.
60209         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60210         (do_pread64): Don't use CHECK_N.
60211         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60212         (do_pwrite): Don't use CHECK_N.
60213         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60214         (do_pwrite64): Don't use CHECK_N.
60215         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60216         (__libc_readv): Don't use CHECK_N.
60217         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60218         (semop): Don't use CHECK_N.
60219         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60220         <bp-checks.h>.
60221         (semtimedop): Don't use CHECK_N.
60222         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60223         (__libc_pread): Don't use CHECK_N.
60224         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60225         <bp-checks.h>.
60226         (__libc_pread64): Don't use CHECK_N.
60227         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60228         <bp-checks.h>.
60229         (__libc_pwrite): Don't use CHECK_N.
60230         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60231         <bp-checks.h>.
60232         (__libc_pwrite64): Don't use CHECK_N.
60233         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60234         <bp-checks.h>.
60235         (__libc_msgrcv): Don't use CHECK_N.
60236         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60237         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
60238         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60239         (__libc_writev): Don't use CHECK_N.
60241 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60243         * string/strcpy.c: Removed unused variable.
60245         * Makeconfig (+sysdep-includes): Define with := rather than =.
60246         Use an existing include/ subdir of each sysdeps dir before it.
60248 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60250         * nscd/connection.c (register_traced_file): Comment function.
60251         [HAVE_INOTIFY] (union __inev): Define.
60252         [HAVE_INOTIFY] (inotify_check_files): New function.
60253         [HAVE_INOTIFY] (clear_db_cache): Likewise.
60254         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60255         clear_db_cache.
60256         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60258 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60260         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60261         loaded if not already and that a failure is permanent.
60263 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60265         [BZ #15006]
60266         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60267         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60269 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60271         [BZ #13550]
60272         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60273         (CHECK_1_NULL_OK): Likewise.
60274         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60275         (__fxstat): Do not use CHECK_1.
60276         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60277         <bp-checks.h>.
60278         (___fxstat64): Do not use CHECK_1.
60279         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60280         <bp-checks.h>.
60281         (__fxstatat): Do not use CHECK_1.
60282         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60283         <bp-checks.h>.
60284         (__fxstatat64): Do not use CHECK_1.
60285         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60286         <bp-checks.h>.
60287         (__fxstat): Do not use CHECK_1.
60288         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60289         <bp-checks.h>.
60290         (__fxstatat): Do not use CHECK_1.
60291         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60292         <bp-checks.h>.
60293         (__getresgid): Do not use CHECK_1.
60294         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60295         <bp-checks.h>.
60296         (__getresuid): Do not use CHECK_1.
60297         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60298         <bp-checks.h>.
60299         (__lxstat): Do not use CHECK_1.
60300         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60301         <bp-checks.h>.
60302         (__old_msgctl): Do not use CHECK_1.
60303         (__new_msgctl): Likewise.
60304         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60305         <bp-checks.h>.
60306         (__new_setrlimit): Do not use CHECK_1.
60307         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60308         <bp-checks.h>.
60309         (__old_shmctl): Do not use CHECK_1.
60310         (__new_shmctl): Likewise.
60311         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60312         <bp-checks.h>.
60313         (__xstat): Do not use CHECK_1.
60314         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60315         (__lxstat): Do not use CHECK_1.
60316         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60317         <bp-checks.h>.
60318         (___lxstat64): Do not use CHECK_1.
60319         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60320         (__old_msgctl): Do not use CHECK_1.
60321         (__new_msgctl): Likewise.
60322         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60323         <bp-checks.h>.
60324         (__gettimeofday): Do not use CHECK_1.
60325         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60326         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60327         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60328         <bp-checks.h>.
60329         (__gettimeofday): Do not use CHECK_1.
60330         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60331         (__old_shmctl): Do not use CHECK_1_NULL_OK.
60332         (__new_shmctl): Do not use CHECK_1.
60333         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60334         <bp-checks.h>.
60335         (do_sigtimedwait): Do not use CHECK_1.
60336         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60337         <bp-checks.h>.
60338         (do_sigwaitinfo): Do not use CHECK_1.
60339         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60340         <bp-checks.h>.
60341         (msgctl): Do not use CHECK_1.
60342         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60343         <bp-checks.h>.
60344         (shmctl): Do not use CHECK_1.
60345         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60346         (ustat): Do not use CHECK_1.
60347         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60348         <bp-checks.h>.
60349         (__fxstat): Do not use CHECK_1.
60350         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60351         <bp-checks.h>.
60352         (__fxstatat): Do not use CHECK_1.
60353         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60354         <bp-checks.h>.
60355         (__lxstat): Do not use CHECK_1.
60356         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60357         <bp-checks.h>.
60358         (__xstat): Do not use CHECK_1.
60359         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60360         (__xstat): Do not use CHECK_1.
60361         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60362         (___xstat64): Do not use CHECK_1.
60364         [BZ #13550]
60365         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60366         definitions.
60367         (CHECK_BOUNDS_HIGH): Likewise.
60368         * string/strcpy.c: Do not include <bp-checks.h>.
60369         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60371 2013-02-07  Roland McGrath  <roland@hack.frob.com>
60373         * nscd/nscd-client.h (__nscd_drop_map_ref):
60374         Add __attribute__ ((unused)).
60375         * nis/nss-nisplus.h (niserr2nss): Likewise.
60377         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60378         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60380         * csu/libc-tls.c (init_static_tls, init_slotinfo):
60381         Remove inline keyword.
60382         * include/rounding-mode.h (round_away): Likewise.
60383         * libio/wfileops.c (adjust_wide_data): Likewise.
60384         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60385         (__m128i_strloadu_tolower): Likewise.
60386         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60387         (__m128i_strloadu_tolower): Likewise.
60388         * time/mktime.c (ydhms_diff): Likewise.
60389         * locale/elem-hash.h (elem_hash): Likewise.
60390         * locale/setlocale.c (setdata): Likewise.
60391         * posix/regex_internal.h (re_string_char_size_at): Likewise.
60392         (re_string_wchar_at): Likewise.
60393         (bitset_not, bitset_merge, bitset_mask): Likewise.
60394         [!(__GNUC__ > 3)] (inline): Remove macro.
60395         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60396         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60397         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60398         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60399         * string/memcmp.c (memcmp_bytes): Likewise.
60400         * locale/programs/locarchive.c (compute_hashval): Likewise.
60401         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60402         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60403         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60404         * nss/getent.c (print_rpc, print_protocols): Likewise.
60405         (print_passwd, print_group, print_aliases): Likewise.
60406         * nis/nss-nisplus.h (niserr2nss): Likewise.
60407         * nscd/connections.c (restart_p): Likewise.
60408         Change return type to bool.
60410 2013-02-05  Roland McGrath  <roland@hack.frob.com>
60412         * Makeconfig (all-Depend-files): Add existing
60413         $(sorted-subdirs:=/Depend) files.
60414         (all-subdirs): Remove nss.
60415         * sysdeps/unix/inet/Subdirs: Add it here instead.
60416         * hesiod/Depend: New file.
60418         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60419         instead of calling alloca.
60421         * io/lseek.c (__lseek): Rename to __libc_lseek.
60422         Define __lseek as an alias.
60424         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60426 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
60428         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60429         else clause and remove check for non-standard endianness.
60431 2013-02-04  David S. Miller  <davem@davemloft.net>
60433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60435 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
60437         [BZ #13550]
60438         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60439         (__ubp_memchr): Remove prototype.
60440         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60441         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60442         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60443         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60444         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60445         Remove alias.
60446         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60447         (__ubp_memchr): Likewise.
60448         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60449         (__ubp_memchr): Likewise.
60450         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60451         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60452         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60453         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60454         CHECK_STRING.
60455         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60456         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60457         (__getcwd): Do not use CHECK_STRING.
60458         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60459         <bp-checks.h>.
60460         (__real_chown): Do not use CHECK_STRING.
60461         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60462         <bp-checks.h>.
60463         (fchownat): Do not use CHECK_STRING.
60464         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60465         CHECK_STRING.
60466         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60467         <bp-checks.h>.
60468         (__lchown): Do not use CHECK_STRING.
60469         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60470         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60471         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60472         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60474         include <bp-checks.h>.
60475         (truncate64): Do not use CHECK_STRING.
60476         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60477         <bp-checks.h>.
60478         (__real_chown): Do not use CHECK_STRING.
60479         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60480         <bp-checks.h>.
60481         (__lchown): Do not use CHECK_STRING.
60482         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60483         <bp-checks.h>.
60484         (__chown): Do not use CHECK_STRING.
60485         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60486         <bp-checks.h>.
60487         (truncate64): Do not use CHECK_STRING.
60488         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60489         Likewise.
60490         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60491         (__xmknod): Do not use CHECK_STRING.
60492         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60493         <bp-checks.h>.
60494         (__xmknodat): Do not use CHECK_STRING.
60495         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60496         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60498 2013-02-04  Andreas Schwab  <schwab@suse.de>
60500         [BZ #14142]
60501         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60502         * include/netdb.h: Likewise for h_errno.
60503         * elf/tst-stackguard1.c: Include <tls.h>.
60505 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
60507         * elf/link.h (struct link_map): Extend the l_addr comment.
60508         * include/link.h (struct link_map): Likewise.
60510 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
60512         [BZ #13550]
60513         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60514         (BOUNDED_1): Remove macro.
60515         * debug/backtrace.c: Don't include <bp-checks.h>.
60516         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60517         (__backtrace): Likewise.
60518         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60519         <bp-checks.h>.
60520         (__backtrace): Don't use BOUNDED_1.
60521         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60522         <bp-checks.h>.
60523         (__backtrace): Don't use BOUNDED_1.
60524         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60525         (__backtrace): Don't use BOUNDED_1.
60526         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60527         (shmat): Don't use BOUNDED_N.
60529 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
60531         [BZ #13550]
60532         * sysdeps/generic/bp-start.h: Remove file.
60533         * csu/libc-start.c: Don't include <bp-start.h>.
60534         (LIBC_START_MAIN): Set up __environ directly instead of using
60535         INIT_ARGV_and_ENVIRON.
60536         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60537         <bp-start.h>.
60539         [BZ #13550]
60540         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60541         definitions.
60542         (CHECK_FCNTL): Likewise.
60543         (CHECK_N_PAGES): Likewise.
60545         [BZ #13550]
60546         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60547         definitions.
60548         (CHECK_SIGSET_NULL_OK): Likewise.
60549         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60550         <bp-checks.h>.
60551         (sigpending): Don't use CHECK_SIGSET.
60552         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60553         <bp-checks.h>.
60554         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60555         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60556         <bp-checks.h>.
60557         (do_sigsuspend): Don't use CHECK_SIGSET.
60558         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60559         use CHECK_SIGSET.
60560         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60561         (do_sigwait): Don't use CHECK_SIGSET.
60562         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60563         use CHECK_SIGSET.
60564         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60565         include <bp-checks.h>.
60566         (sigpending): Don't use CHECK_SIGSET.
60567         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60568         include <bp-checks.h>.
60569         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60570         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60571         <bp-checks.h>.
60572         (sigpending): Don't use CHECK_SIGSET.
60573         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60574         <bp-checks.h>.
60575         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60577         [BZ #13550]
60578         * sysdeps/generic/bp-semctl.h: Remove file.
60579         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60580         <bp-checks.h> and <bp-semctl.h>.
60581         (__old_semctl): Don't use CHECK_SEMCTL.
60582         (__new_semctl): Likewise.
60583         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60584         and <bp-semctl.h>.
60585         (__old_semctl): Don't use CHECK_SEMCTL.
60586         (__new_semctl): Likewise.
60587         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60588         <bp-checks.h> and <bp-semctl.h>.
60589         (__old_semctl): Don't use CHECK_SEMCTL.
60590         (__new_semctl): Likewise.
60591         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60592         <bp-checks.h> and <bp-semctl.h>.
60593         (semctl): Don't use CHECK_SEMCTL.
60595         [BZ #13550]
60596         * Makerules (elide-bp-thunks): Remove variable.
60597         (elide-routines.oS): Don't use $(elide-bp-thunks).
60598         (elide-routines.os): Likewise.
60599         (elide-routines.o): Likewise.
60600         (elide-routines.op): Likewise.
60601         (elide-routines.og): Likewise.
60602         (objects): Don't use $(bp-thunks).
60603         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60604         include.
60605         (common-generated): Do not add s-proto-bp.d.
60606         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60607         (int): Likewise.
60608         (typ): Likewise.
60609         Do not generate makefile rules for bounded-pointer thunks.
60610         * sysdeps/generic/bp-thunks.h: Remove file.
60611         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60612         * sysdeps/unix/s-proto-bp.S: Likewise.
60614         [BZ #15062]
60615         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60616         parts of result separately when argument is not close to line from
60617         -i to i and one part of argument is small.
60618         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60619         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60620         * math/libm-test.inc (cacos_test): Add more tests.
60621         (casin_test): Likewise.
60622         (casinh_test): Likewise.
60623         * sysdeps/i386/fpu/libm-test-ulps: Update.
60624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60626 2013-01-31  David S. Miller  <davem@davemloft.net>
60628         * po/de.po: Update from translation team.
60630 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
60632         * time/tzfile.c: Include stdint.h for SIZE_MAX.
60634 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
60636         * configure.in (_AC_PROG_CC_C89): New definition.
60637         * configure: Regenerate.
60639         * configure.in (AC_PROG_CPP): New definition.
60640         * configure: Regenerate.
60642 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60644         * debug/tst-backtrace.h: New file.
60645         * debug/tst-backtrace2.c: Include tst-backtrace.h.
60646         (ret): Remove variable.
60647         (x): Likewise.
60648         (FAIL): Remove macro.
60649         (NO_INLINE): Likewise.
60650         (fn1): Use match function instead of strstr.
60651         * debug/tst-backtrace3.c: Include tst-backtrace.h.
60652         (ret): Remove variable.
60653         (x): Likewise.
60654         (FAIL): Remove macro.
60655         (NO_INLINE): Likewise.
60656         (fn): Use match function instead of strstr.
60657         * debug/tst-backtrace4.c: Include tst-backtrace.h.
60658         (ret): Remove variable.
60659         (x): Likewise.
60660         (FAIL): Remove macro.
60661         (NO_INLINE): Likewise.
60662         (handle_signal): Use match function instead of strstr.
60663         * debug/tst-backtrace5.c: Include tst-backtrace.h.
60664         (ret): Remove variable.
60665         (x): Likewise.
60666         (FAIL): Remove macro.
60667         (NO_INLINE): Likewise.
60668         (handle_signal): Use match function instead of strstr.
60670 2013-01-23  Roland McGrath  <roland@hack.frob.com>
60672         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60674 2013-01-23  David S. Miller  <davem@davemloft.net>
60676         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60677         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60678         argument of CAS if possible.
60679         * sysdeps/sparc/sparc64/bits/atomic.h
60680         (__arch_compare_and_exchange_val_32_acq): Likewise.
60681         (__arch_compare_and_exchange_val_64_acq): Likewise.
60683 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
60685         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60686         * sysdeps/posix/ulimit.c: ... this.
60687         Include <limits.h>.
60688         * sysdeps/unix/bsd/ulimit.c: Remove file.
60690 2013-01-23  Adam Conrad  <adconrad@0c3.net>
60692         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60693         (LDFLAGS-tst-array5): Likewise.
60695 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60697         [BZ #15036]
60698         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60699         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60700         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60701         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60703 2013-01-21  David S. Miller  <davem@davemloft.net>
60705         * sysdeps/sparc/backtrace.c: New file.
60706         * sysdeps/sparc/sparc32/backtrace.h: New file.
60707         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60708         * sysdeps/sparc/sparc64/backtrace.h: New file.
60709         * sysdeps/sparc/sparc64/backtrace.c: Delete.
60710         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60711         -funwind-tables.
60713 2013-01-21  Andreas Schwab  <schwab@suse.de>
60715         [BZ #15020]
60716         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60717         closed its stdout.
60719 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
60721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60722         "mpa2.h".
60723         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60725 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
60726             Mark Mitchell  <mark@codesourcery.com>
60727             Tom de Vries  <tom@codesourcery.com>
60728             Paul Pluzhnikov  <ppluzhnikov@google.com>
60730         * debug/tst-backtrace2.c: New file.
60731         * debug/tst-backtrace3.c: Likewise.
60732         * debug/tst-backtrace4.c: Likewise.
60733         * debug/tst-backtrace5.c: Likewise.
60734         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60735         (CFLAGS-tst-backtrace3.c): Likewise.
60736         (CFLAGS-tst-backtrace4.c): Likewise.
60737         (CFLAGS-tst-backtrace5.c): Likewise.
60738         (LDFLAGS-tst-backtrace2): Likewise.
60739         (LDFLAGS-tst-backtrace3): Likewise.
60740         (LDFLAGS-tst-backtrace4): Likewise.
60741         (LDFLAGS-tst-backtrace5): Likewise.
60742         (tests): Add new tests tst-backtrace2, tst-backtrace3,
60743         tst-backtrace4 and tst-backtrace5.
60745 2013-01-18  Anton Blanchard  <anton@samba.org>
60746             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60748         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60749         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60750         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60751         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60753         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60754         "+r" and remove output regs list as redundant.  Add explicit inline
60755         asm to specify register of return val to work around compiler codegen
60756         bug.  Remove (int) cast on return value.  Add return type parameter to
60757         use in macro so that this macro does not truncate return value for
60758         64-bit values.
60759         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60760         pass to INTERNAL_VSYSCALL_NCS.
60761         (INLINE_VSYSCALL): Add 'long int' as return type to
60762         INTERNAL_VSYSCALL_NCS macro invocation.
60763         (INTERNAL_VSYSCALL): Add 'long int' as return type to
60764         INTERNAL_VSYSCALL_NCS macro invocation.
60765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60767 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60769         [BZ #14496]
60770         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60771         Fix application of SIMD FP exception mask.
60773         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60774         mp_no from a power of two.
60775         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60776         __mpexp_twomm1.  Use __pow_mp.
60778         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60779         multiplication.
60781 2013-01-17  David S. Miller  <davem@davemloft.net>
60783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60785 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60787         [BZ #15023]
60788         * include/complex.h: Condition contents on [!_COMPLEX_H].
60789         (__kernel_casinhf): New prototype.
60790         (__kernel_casinh): Likewise.
60791         (__kernel_casinhl): Likewise.
60792         * math/Makefile (libm_calls): Add k_casinh.
60793         * math/k_casinh.c: New file.
60794         * math/k_casinhf.c: Likewise.
60795         * math/k_casinhl.c: Likewise.
60796         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60797         finite nonzero arguments.
60798         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60799         finite nonzero arguments.
60800         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60801         finite nonzero arguments.
60802         * math/s_casinh.c: Do not include <float.h>.
60803         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60804         * math/s_casinhf.c: Do not include <float.h>.
60805         (__casinhf): Move code for finite nonzero arguments to
60806         k_casinhf.c.
60807         * math/s_casinhl.c: Do not include <float.h>.
60808         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60809         redefine.
60810         (__casinhl): Move code for finite nonzero arguments to
60811         k_casinhl.c.
60812         * math/libm-test.inc (cacos_test): Add more tests.
60813         * sysdeps/i386/fpu/libm-test-ulps: Update.
60814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60816 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
60818         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60819         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60820         [!HAVE_MREMAP]: Remove [defined linux] case.
60821         * malloc/arena.c: Do not include <malloc-sysdep.h>.
60823 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60825         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60827 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
60829         * elf/elf.h (R_386_SIZE32): New relocation.
60830         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60831         R_386_SIZE32.
60832         (elf_machine_rela): Likewise.
60833         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60834         R_X86_64_SIZE64 and R_X86_64_SIZE32.
60836 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60838         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60839         (FP_FAST_FMA): Do not define.
60840         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60841         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60842         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60843         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60844         !_SOFT_FLOAT]: Likewise.
60845         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60846         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60847         value.
60848         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60849         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60850         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60851         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60852         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60853         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60854         file.
60856 2013-01-16  Andreas Schwab  <schwab@suse.de>
60858         [BZ #14327]
60859         * include/stdlib.h (__mktemp): Add declaration.
60860         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60861         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60863 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60865         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60866         definitions.
60867         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60868         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60869         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60870         definitions here.
60871         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60872         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60873         definitions.
60874         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60875         and ONE.
60876         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60877         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60878         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60879         definitions.
60880         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60881         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60882         definitions.
60883         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60885         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60887 2013-01-15  David S. Miller  <davem@davemloft.net>
60889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60890         trunc{,f} to libm-sysdep_routes.
60891         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60893         file.
60894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60896         file.
60897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60898         file.
60899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60901         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60902         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60903         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60904         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60905         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60906         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60909         nearbyint{,f} to libm-sysdep_routes.
60910         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60912         New file.
60913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60914         file.
60915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60916         New file.
60917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60918         file.
60919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60921         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60922         file.
60923         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60924         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60925         file.
60926         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60927         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60928         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60930         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60931         libc_feholdexcept and libc_fesetenv.
60933 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
60935         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60937 2013-01-14  David S. Miller  <davem@davemloft.net>
60939         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60940         (SPARC_ASM_VIS2_IFUNC): Likewise.
60941         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60943         use of 'siam' instruction.
60944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60945         Likewise.
60946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60947         Likewise.
60948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60949         Likewise.
60950         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60951         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60952         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60953         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60955         file.
60956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60957         file.
60958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60959         file.
60960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60961         file.
60962         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60967         new VIS2 routines.
60968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60971         Likewise.
60972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60975         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60977         routines to libm-sysdep_routines.
60978         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60981         fdim/fdimf to libm-sysdep_routines.
60982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60983         file.
60984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60986         file.
60987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
60988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
60989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
60990         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
60991         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
60992         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
60993         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
60995 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60997         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
60998         to optimize copies.
61000         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61002         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61004         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61005         local variable MPTWO.
61006         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61007         Likewise.
61009 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61011         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61012         GLOB_NOESCAPE.
61014 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61016         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61018 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61020         * manual/pattern.texi (glob_t): Document gl_flags.
61021         (glob64_t): Likewise.
61023 2013-01-11  David S. Miller  <davem@davemloft.net>
61025         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61026         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61027         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61028         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61029         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61030         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61031         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61032         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61033         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61034         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61035         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61036         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61037         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61039         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61040         sparc V9 rather than using V8 code.
61041         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61042         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61044         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61045         Move to...
61046         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61047         Here.
61049 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61051         [BZ #14941]
61052         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61053         not in the main loop.
61054         * configure: Regenerated.
61056 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61058         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61059         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61060         to just #else.
61061         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61062         [!__GLIBC_HAVE_LONG_LONG] case.
61063         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61064         condition to just #else.
61065         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61066         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61067         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61068         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61069         unconditional.
61070         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61071         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61072         #elif condition to just #else.
61073         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61074         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61075         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61076         #elif condition to just #else.
61078 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61080         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61081         (EF_MIPS_ARCH_64): Fix value.
61082         (EF_MIPS_ARCH_32R2): New.
61083         (EF_MIPS_ARCH_64R2): New.
61085 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61087         * Makeconfig (+link-pie-before-libc): New.
61088         (+link-pie-after-libc): Likewise.
61089         (+link-pie-tests): Likewise.
61090         (+link-pie): Rewritten.
61091         (link-before-libc): Remove $(config-LDFLAGS).
61092         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61093         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61094         (config-LDFLAGS): Renamed to ...
61095         (rtld-LDFLAGS): This.
61096         (rtld-tests-LDFLAGS): New macro.
61097         (link-libc-rpath-link): Likewise.
61098         (link-libc-tests-rpath-link): Likewise.
61099         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61100         (link-libc): Prepand $(link-libc-rpath-link).
61101         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61102         (test-program-prefix): New macro.
61103         (test-via-rtld-prefix): Likewise.
61104         (test-program-cmd): Likewise.
61105         (host-test-program-cmd): Likewise.
61106         * Makefile ($(common-objpfx)testrun.sh): Replace
61107         $(run-program-prefix) with $(test-program-prefix).
61108         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61109         $(rtld-LDFLAGS).
61110         ($(common-objpfx)shlib.lds): Likewise.
61111         (build-module-helper): Likewise.
61112         ($(common-objpfx)format.lds): Likewise.
61113         * Rules (binaries-pie-tests): New.
61114         (binaries-pie-notests): Likewise.
61115         (binaries-pie): Rewritten.
61116         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61117         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61118         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61119         (make-test-out): Replace $(host-built-program-cmd) with
61120         $(host-test-program-cmd).
61121         * config.make.in (build-hardcoded-path-in-tests): New variable.
61122         * configure.in (--enable-hardcoded-path-in-tests): New configure
61123         option.
61124         (hardcoded_path_in_tests): New AC_SUBST.
61125         * configure: Regenerated.
61126         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61127         $(built-program-cmd) with $(test-program-cmd).
61128         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61129         (test_program_cmd): This.
61130         * elf/Makefile ($(objpfx)order.out): Run test with
61131         $(test-program-prefix).
61132         ($(objpfx)order2.out): Likewise.
61133         ($(objpfx)tst-initorder.out): Likewise.
61134         ($(objpfx)tst-initorder2.out): Likewise.
61135         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61136         $(test-program-cmd).
61137         ($(objpfx)tst-array1-static.out): Likewise.
61138         ($(objpfx)tst-array2.out): Likewise.
61139         ($(objpfx)tst-array3.out): Likewise.
61140         ($(objpfx)tst-array4.out): Likewise.
61141         ($(objpfx)tst-array5.out): Likewise.
61142         ($(objpfx)tst-array5-static.out): Likewise.
61143         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61144         $(test-program-cmd).
61145         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61146         $(run-program-prefix) with $(test-program-prefix).
61147         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61148         (test_program_prefix): This.
61149         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61150         $(run-program-prefix) with $(test-program-prefix).
61151         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61152         (test_program_prefix): This.
61153         * iconvdata/tst-tables.sh: Likewise.
61154         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61155         $(run-program-prefix) with $(test-program-prefix).
61156         ($(objpfx)tst-translit.out): Likewise.
61157         ($(objpfx)tst-gettext2.out): Likewise.
61158         ($(objpfx)tst-gettext4.out): Likewise.
61159         ($(objpfx)tst-gettext6.out): Likewise.
61160         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61161         (test_program_prefix): This.
61162         * intl/tst-gettext2.sh: Likewise.
61163         * intl/tst-gettext4.sh  Likewise.
61164         * intl/tst-gettext6.sh: Likewise.
61165         * intl/tst-translit.sh: Likewise.
61166         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61167         with $(test-program-cmd).
61168         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61169         $(run-program-prefix) with $(test-program-prefix).
61170         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61171         (test_program_prefix): This.
61172         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61173         $(run-program-prefix) with $(test-program-prefix).
61174         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61175         (test_program_prefix): This.
61176         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61177         * posix/Makefile ($(objpfx)globtest.out): Replace
61178         $(run-via-rtld-prefix) and $(test-wrapper) with
61179         $(test-program-prefix) and $(test-via-rtld-prefix).
61180         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61181         $(test-program-prefix).
61182         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61183         $(host-test-program-cmd).
61184         (tst-spawn-ARGS): Likewise.
61185         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61186         $(test-program-prefix).
61187         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61188         (test_via_rtld_prefix): This.
61189         (test_wrapper): Renamed to ...
61190         (test_program_prefix): This.
61191         (run_program_prefix): Replaced by test_program_prefix.
61192         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61193         (test_program_prefix): This.
61194         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61195         with $(host-test-program-cmd).
61196         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61197         $(run-program-prefix) with $(test-program-prefix).
61198         ($(objpfx)tst-printf.out): Likewise.
61199         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61200         $(test-program-cmd).
61201         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61202         (test_program_prefix): This.
61203         * stdio-common/tst-unbputc.sh: Likewise.
61204         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61205         $(run-program-prefix) with $(test-program-prefix).
61206         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61207         (test_program_prefix): This.
61208         * string/Makefile ($(objpfx)tst-svc.out):  Replace
61209         $(built-program-cmd) with $(test-program-cmd).
61211 2013-01-11  Andreas Jaeger  <aj@suse.de>
61213         [BZ #15003]
61214         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61215         value. Sync with Linux 3.7.
61217 2013-01-10  David S. Miller  <davem@davemloft.net>
61219         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61220         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61221         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61223 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61225         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61226         never set.
61227         * configure: Regenerated.
61229 2013-01-10  David S. Miller  <davem@davemloft.net>
61231         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61232         sparc V9 rather than using V8 code.
61233         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61234         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61236 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61238         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61239         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61240         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61241         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61242         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61243         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61244         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61245         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61246         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61247         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61248         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61249         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61250         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61251         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61252         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61253         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61254         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61255         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61256         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61257         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61258         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61259         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61260         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61261         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61262         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61263         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61264         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61266 2013-01-10  David S. Miller  <davem@davemloft.net>
61268         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61270 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61272         * posix/Makefile (tests-static): New variable.
61273         (tests): Add $(tests-static).
61274         (tst-exec-static-ARGS): New variable.
61275         (tst-spawn-static-ARGS): Likewise.
61276         * posix/tst-exec-static.c: New file.
61277         * posix/tst-spawn-static.c: Likewise.
61278         * posix/tst-exec.c: Support run directly.
61279         * posix/tst-spawn.c: Likewise.
61281 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
61283         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61284         long.
61285         * math/bits/mathcalls.h (llrint): Likewise.
61286         (llround): Likewise.
61287         * stdlib/stdlib.h (struct drand48_data): Likewise.
61288         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61289         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61290         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61291         Likewise.
61292         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61293         Likewise.
61294         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61295         (elf_greg_t): Likewise.
61296         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61297         (__jmp_buf): Likewise.
61298         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61299         definitions.
61300         (llrint): Likewise, for all definitions.
61301         (llrintl): Likewise.
61303         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61304         Remove [__GNUC__] condition.
61305         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61306         condition to just [__USE_ISOC99].
61307         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61309 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61311         [BZ #14200]
61312         * sysdeps/unix/sysv/linux/x86/bits/environments.h
61313         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61314         defined.
61315         (_POSIX_V6_ILP32_OFF32): Likewise.
61316         (_XBS5_ILP32_OFF32): Likewise.
61317         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61318         (__ILP32_OFFBIG_LDFLAGS): Likewise.
61320 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61322         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61325         doubles __mpexp_twomm1.  Adjust usage.
61326         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61327         Remove.
61329 2013-01-10  Andreas Schwab  <schwab@suse.de>
61331         [BZ #14964]
61332         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61333         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61335 2013-01-09  David S. Miller  <davem@davemloft.net>
61337         [BZ #15003]
61338         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61339         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61340         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61341         (TCP_FASTOPEN): Define.
61342         (tcp_repair_opt): New structure.
61343         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61344         enum values.
61345         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61346         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61347         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61348         (tcp_cookie_transactions): New structure.
61350 2013-01-09  Anton Blanchard  <anton@samba.org>
61352         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61353         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61354         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61355         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61357 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
61359         * include/features.h (__USE_ANSI): Remove.
61361 2013-01-09  Roland McGrath  <roland@hack.frob.com>
61363         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61365         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61367 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
61369         * sysdeps/s390/fpu/libm-test-ulps: Update.
61371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61373         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61374         (__acr): Likewise.
61375         (__cpy): Likewise.
61376         (norm): Likewise.
61377         (denorm): Likewise.
61378         (__mp_dbl): Likewise.
61379         (__dbl_mp): Likewise.
61380         (add_magnitudes): Likewise.
61381         (sub_magnitudes): Likewise.
61382         (__add): Likewise.
61383         (__sub): Likewise.
61384         (__mul): Likewise.
61385         (__inv): Likewise.
61386         (__dvd): Likewise.
61387         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61388         (__acr): Likewise.
61389         (__cpy): Likewise.
61390         (norm): Likewise.
61391         (denorm): Likewise.
61392         (__mp_dbl): Likewise.
61393         (__dbl_mp): Likewise.
61394         (add_magnitudes): Likewise.
61395         (sub_magnitudes): Likewise.
61396         (__add): Likewise.
61397         (__sub): Likewise.
61398         (__mul): Likewise.
61399         (__inv): Likewise.
61400         (__dvd): Likewise.
61401         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61402         (__acr): Likewise.
61403         (__cpy): Likewise.
61404         (norm): Likewise.
61405         (denorm): Likewise.
61406         (__mp_dbl): Likewise.
61407         (__dbl_mp): Likewise.
61408         (add_magnitudes): Likewise.
61409         (sub_magnitudes): Likewise.
61410         (__add): Likewise.
61411         (__sub): Likewise.
61412         (__mul): Likewise.
61413         (__inv): Likewise.
61414         (__dvd): Likewise.
61416 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
61418         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61419         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61420         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61421         2 && __USE_EXTERN_INLINES]: Likewise.
61423 2013-01-08  Andreas Jaeger  <aj@suse.de>
61425         [BZ# 14985]
61426         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61427         Remove.
61428         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61429         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61431 2013-01-07  Anton Blanchard  <anton@samba.org>
61433         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61434         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61435         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61436         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61437         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61438         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61439         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61440         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61442         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61443         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61444         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61445         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61446         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61447         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61448         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61449         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61450         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61451         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61452         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61453         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61454         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61455         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61456         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61457         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61458         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61459         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61460         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61461         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61462         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61463         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61465         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61466         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61467         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61468         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61469         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61471         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61472         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61473         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61474         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61475         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61477 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
61479         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61480         (__MALLOC_PMT): Likewise.
61481         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61482         [__GNUC__], only on [_LIBC].
61483         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61484         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61485         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61486         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61487         forward declaration.
61488         (realloc_hook_ini): Likewise.
61489         (memalign_hook_ini): Likewise.
61490         (__libc_memalign): Do not use __MALLOC_PMT in variable
61491         declaration.
61492         (__libc_valloc): Likewise.
61493         (__libc_pvalloc): Likewise.
61494         (__libc_calloc): Likewise.
61495         (__posix_memalign): Likewise.
61497         [BZ #14996]
61498         * math/s_casinh.c: Include <float.h>.
61499         (__casinh): Do not do computation with squaring and square root
61500         for large arguments.
61501         * math/s_casinhf.c: Include <float.h>.
61502         (__casinhf): Do not do computation with squaring and square root
61503         for large arguments.
61504         * math/s_casinhl.c: Include <float.h>.
61505         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61506         (__casinhl): Do not do computation with squaring and square root
61507         for large arguments.
61508         * math/libm-test.inc (casin_test): Add more tests.
61509         (casinh_test): Likewise.
61510         * sysdeps/i386/fpu/libm-test-ulps: Update.
61511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61513 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
61515         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61516         (__x86_64_raw_data_cache_size): Likewise.
61517         (__x86_64_data_cache_size_half): Likewise.
61518         (__x86_64_raw_data_cache_size_half): Likewise.
61519         (__x86_64_shared_cache_size): Likewise.
61520         (__x86_64_raw_shared_cache_size): Likewise.
61521         (__x86_64_shared_cache_size_half): Likewise.
61522         (__x86_64_raw_shared_cache_size_half): Likewise.
61523         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61524         to ...
61525         (__x86_data_cache_size): This.
61526         (__x86_64_raw_data_cache_size): Renamed to ...
61527         (__x86_raw_data_cache_size): This.
61528         (__x86_64_data_cache_size_half): Renamed to ...
61529         (__x86_data_cache_size_half): This.
61530         (__x86_64_raw_data_cache_size_half): Renamed to ...
61531         (__x86_raw_data_cache_size_half): This.
61532         (__x86_64_shared_cache_size): Renamed to ...
61533         (__x86_shared_cache_size): This.
61534         (__x86_64_raw_shared_cache_size): Renamed to ...
61535         (__x86_raw_shared_cache_size): This.
61536         (__x86_64_shared_cache_size_half): Renamed to ...
61537         (__x86_shared_cache_size_half): This.
61538         (__x86_64_raw_shared_cache_size_half): Renamed to ...
61539         (__x86_raw_shared_cache_size_half): This.
61540         * sysdeps/x86_64/memcpy.S: Updated.
61541         * sysdeps/x86_64/memset.S: Likewise.
61542         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61543         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61544         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61546 2013-01-04  David S. Miller  <davem@davemloft.net>
61548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61550 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
61552         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61553         1 to avoid redefinition warning.
61554         (__USE_GNU): Don't define.
61555         (init_signaling_nan): Protoize.
61557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61559 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61561         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61562         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61563         (__cpymn): Likewise.
61564         (norm): Remove commented code.
61565         (denorm): Likewise.
61566         (__mp_dbl): Likewise.
61567         (__inv): Likewise.
61568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61569         (__cpymn): Likewise.
61570         (norm): Remove commented code.
61571         (denorm): Likewise.
61572         (__mp_dbl): Likewise.
61573         (__inv): Likewise.
61575         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61576         mp_no value for 1.0 and 2.0.
61577         (norm): Use RADIXI instead of radixi.d.
61578         (denorm): Likewise.
61579         (__mul): Use 0.0 instead of zero.d.
61580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61581         mp_no value for 1.0 and 2.0.
61582         (norm): Use RADIXI instead of radixi.d.
61583         (denorm): Likewise.
61584         (__mul): Use 0.0 instead of zero.d.
61586 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
61588         [BZ #14994]
61589         * math/s_casinh.c (__casinh): Reduce finite argument to first
61590         quadrant then set signs of results at the end.
61591         * math/s_casinhf.c (__casinhf): Likewise.
61592         * math/s_casinhl.c (__casinhl): Likewise.
61593         * math/libm-test.inc (casin_test): Add more tests.
61594         (casinh_test): Likewise.
61595         * sysdeps/i386/fpu/libm-test-ulps: Update.
61596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61598 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61600         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61602         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61604         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61605         declarations.
61606         (denorm): Likewise.
61607         (__mp_dbl): Likewise.
61608         (__inv): Likewise.
61610         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61611         and adjust the header comment.
61613         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61614         variable name from declaration.
61616 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
61618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61619         Initialize COMMON_CPUID_INDEX_7 element.
61620         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61621         (CPUID_RTM): Likewise.
61622         (HAS_RTM): Likewise.
61623         (COMMON_CPUID_INDEX_7): New enum.
61625 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
61627         [BZ #14981]
61628         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61629         size is zero, record memory as freed.
61631 2013-01-03  Andreas Jaeger  <aj@suse.de>
61633         * po/ia.po: Add new Interlingua translation.
61635 2012-01-03  Allan McRae  <allan@archlinux.org>
61637         * locale/programs/localedef.c: Fix description of '--posix' flag.
61639 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
61641         * NEWS: Update dates in second copyright notice.
61642         * README: Update copyright dates in example.
61643         * manual/libc.texinfo: Update copyright dates.
61644         * scripts/test-installation.pl: Update copyright date in --version
61645         output.
61647         * hurd/ctty-input.c: Fix copyright notice formatting.
61648         * hurd/ctty-output.c: Likewise.
61649         * hurd/dtable.c: Likewise.
61650         * hurd/hurd-raise.c: Likewise.
61651         * hurd/hurdprio.c: Likewise.
61652         * hurd/msgportdemux.c: Likewise.
61653         * misc/sys/file.h: Likewise.
61654         * misc/sys/ioctl.h: Likewise.
61655         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61656         * sysdeps/mach/hurd/chdir.c: Likewise.
61657         * sysdeps/mach/hurd/fchdir.c: Likewise.
61658         * sysdeps/mach/hurd/rename.c: Likewise.
61659         * sysdeps/mach/hurd/rmdir.c: Likewise.
61660         * sysdeps/mach/hurd/seekdir.c: Likewise.
61661         * sysdeps/mach/hurd/setsid.c: Likewise.
61662         * sysdeps/posix/wait3.c: Likewise.
61664         * All files with FSF copyright notices: Update copyright dates
61665         using scripts/update-copyrights.
61666         * intl/plural.c: Regenerated.
61667         * locale/programs/charmap-kw.h: Likewise.
61668         * locale/programs/locfile-kw.h: Likewise.
61670 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61672         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61673         four values.
61675         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61676         calculation loop and add branch prediction.
61678         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61679         check access beyond bounds of m1np.
61681         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61682         MPTWO.
61683         (__inv): Remove local variable MPTWO to use the global
61684         constant.
61685         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61686         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61687         variable MPTWO.
61688         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61689         MP3HALFS static const.
61691 2013-01-01  David S. Miller  <davem@davemloft.net>
61693         * po/ca.po: Update from translation team.
61695 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
61697         * scripts/update-copyrights: New file.
61698         * Makeconfig: Reformat copyright notice.
61699         * ctype/ctype.h: Likewise.
61700         * debug/swprintf_chk.c: Likewise.
61701         * elf/dl-cache.c: Likewise.
61702         * elf/dl-debug.c: Likewise.
61703         * elf/dl-object.c: Likewise.
61704         * grp/initgroups.c: Likewise.
61705         * hurd/Makefile: Likewise.
61706         * hurd/hurd/signal.h: Likewise.
61707         * hurd/hurdfault.c: Likewise.
61708         * hurd/hurdioctl.c: Likewise.
61709         * hurd/hurdlookup.c: Likewise.
61710         * hurd/intr-msg.c: Likewise.
61711         * iconv/gconv_open.c: Likewise.
61712         * libio/swprintf.c: Likewise.
61713         * locale/lc-ctype.c: Likewise.
61714         * locale/nl_langinfo.c: Likewise.
61715         * mach/Machrules: Likewise.
61716         * mach/Makefile: Likewise.
61717         * malloc/obstack.h: Likewise.
61718         * manual/Makefile: Likewise.
61719         * manual/tsort.awk: Likewise.
61720         * misc/bits/stab.def: Likewise.
61721         * nis/nis_print_group_entry.c: Likewise.
61722         * nis/nis_table.c: Likewise.
61723         * nis/nss_compat/compat-pwd.c: Likewise.
61724         * nis/nss_compat/compat-spwd.c: Likewise.
61725         * po/Makefile: Likewise.
61726         * posix/fnmatch.c: Likewise.
61727         * posix/regex.h: Likewise.
61728         * resolv/Makefile: Likewise.
61729         * resolv/nss_dns/dns-network.c: Likewise.
61730         * resolv/res_hconf.c: Likewise.
61731         * scripts/gen-sorted.awk: Likewise.
61732         * soft-fp/soft-fp.h: Likewise.
61733         * stdio-common/printf.h: Likewise.
61734         * stdlib/monetary.h: Likewise.
61735         * stdlib/random.c: Likewise.
61736         * stdlib/random_r.c: Likewise.
61737         * sysdeps/generic/Makefile: Likewise.
61738         * sysdeps/gnu/Makefile: Likewise.
61739         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61740         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61741         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61742         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61743         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61746         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61747         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61748         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61749         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61750         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61751         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61752         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61753         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61754         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61755         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61756         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61757         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61758         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61759         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61760         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61761         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61762         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61763         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61764         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61765         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61766         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61767         * sysdeps/mach/hurd/errnos.awk: Likewise.
61768         * sysdeps/mach/hurd/fork.c: Likewise.
61769         * sysdeps/mach/hurd/getcwd.c: Likewise.
61770         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61771         * sysdeps/mach/hurd/mmap.c: Likewise.
61772         * sysdeps/mach/hurd/utimes.c: Likewise.
61773         * sysdeps/mach/hurd/xmknod.c: Likewise.
61774         * sysdeps/posix/profil.c: Likewise.
61775         * sysdeps/posix/readdir_r.c: Likewise.
61776         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61777         * sysdeps/powerpc/bits/setjmp.h: Likewise.
61778         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61779         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61781         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61782         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61783         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61785         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61786         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61787         * sysdeps/pthread/lio_listio.c: Likewise.
61788         * sysdeps/sparc/dl-procinfo.h: Likewise.
61789         * sysdeps/unix/i386/sysdep.S: Likewise.
61790         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61791         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61792         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61793         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61795         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61796         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61797         * sysdeps/unix/sysv/linux/speed.c: Likewise.
61798         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61799         * sysdeps/wordsize-32/divdi3.c: Likewise.
61800         * time/sys/time.h: Likewise.
61801         * wcsmbs/Makefile: Likewise.
61803 2013-01-01  David S. Miller  <davem@davemloft.net>
61805         * po/fr.po: Update from translation team.
61807         * catgets/gencat.c: Update copyright year.
61808         * csu/version.c: Likewise.
61809         * debug/catchsegv.sh: Likewise.
61810         * debug/pcprofiledump.c: Likewise.
61811         * debug/xtrace.sh: Likewise.
61812         * elf/ldconfig.c: Likewise.
61813         * elf/ldd.bash.in: Likewise.
61814         * elf/pldd.c: Likewise.
61815         * elf/sotruss.ksh: Likewise.
61816         * elf/sprof.c: Likewise.
61817         * iconv/iconv_prog.c: Likewise.
61818         * iconv/iconvconfig.c: Likewise.
61819         * locale/programs/locale.c: Likewise.
61820         * locale/programs/localedef.c: Likewise.
61821         * login/programs/pt_chown.c: Likewise.
61822         * malloc/memusage.sh: Likewise.
61823         * malloc/memusagestat.c: Likewise.
61824         * malloc/mtrace.pl: Likewise.
61825         * nscd/nscd.c: Likewise.
61826         * nss/getent.c: Likewise.
61827         * nss/makedb.c: Likewise.
61828         * posix/getconf.c: Likewise.
61830 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61832         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61833         numbers.
61835 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
61837         * math/bits/mathcalls.h (modf): Use __nonnull.
61839 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61841         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61842         (split): Use macro CN instead of the bare value.
61843         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61844         could be used.
61845         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61846         instead of the bare value.
61847         (power1): Likewise.
61849 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61851         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61852         __ATAN_TWOM.
61853         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61855         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61856         their values.
61857         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61858         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61859         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61860         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61862 2012-12-28  Andreas Jaeger  <aj@suse.de>
61864         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
61865         values are from Linux 3.7.
61867         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61868         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
61870 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61872         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61873         TRUE case.
61875         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61876         (norm): Likewise.
61877         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61878         variables with preprocessor constants.
61879         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61880         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61881         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61883 2012-12-27  Bruno Haible  <bruno@clisp.org>
61885         [BZ #14317]
61886         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61887         only if needed.
61889 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61892         and use variable directly.
61893         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61895         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61896         MPONE.
61897         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61898         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61899         variable MPONE.
61900         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61901         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61902         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61903         include directive.  Remove local variable MPONE.
61904         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61905         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61906         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61908 2012-12-25  David S. Miller  <davem@davemloft.net>
61910         * version.h (RELEASE): Set to "development".
61911         (VERSION): Set to "2.17.90".
61912         * NEWS: Add 2.18 section.
61914 2012-12-21  David S. Miller  <davem@davemloft.net>
61916         * po/hr.po: Update from translation team.
61918 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61920         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61922 2012-12-19  Steve Ellcey  <sellcey@mips.com>
61924         * NEWS:  Mention new memcpy for MIPS.
61926 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61928         * manual/contrib.texi (Contributors): Spelling correction.
61930 2012-12-15  David S. Miller  <davem@davemloft.net>
61932         * po/ru.po: Update from translation team.
61934 2012-12-13  David S. Miller  <davem@davemloft.net>
61936         * NEWS: Mention IFUNC testsuite enhancements.
61938         * po/pl.po: Update from translation team.
61939         * po/bg.po: Likewise.
61941         * manual/contrib.texi (Contributors): Update entries for Hongjiu
61942         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
61944 2012-12-11  David S. Miller  <davem@davemloft.net>
61946         * po/sv.po: Update from translation team.
61948         * po/vi.po: Update from translation team.
61950         * po/cs.po: Update from translation team.
61952         * po/de.po: Update from translation team.
61953         * po/eo.po: Likewise.
61954         * po/nl.po: Likewise.
61956 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61958         [BZ #14246]
61959         * manual/argp.texi (Argp Helper Functions): Move node to follow
61960         Argp Parsing State.
61962         [BZ #14872]
61963         * manual/conf.texi (Limits on File System Capacity): Mention if
61964         terminating null is included in the max size.
61966 2012-12-10  Andreas Jaeger  <aj@suse.de>
61968         * po/cs.po: Update from translation team.
61970 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61972         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61973         void pointer and cast to uintptr_t.
61974         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61975         path.
61976         * sysdeps/s390/s390-64/memcpy.S: Likewise.
61977         * sysdeps/s390/s390-64/memset.S: Likewise.
61979 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
61981         [BZ #14833]
61982         * menual/message.texi (Message Translation): Fix typos.
61983         (Helper programs for gettext): Likewise.
61985 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
61987         [BZ #14898]
61988         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
61989         Change to -1.
61991 2012-12-07  David S. Miller  <davem@davemloft.net>
61993         * po/libc.pot: Update.
61995 2012-12-07  Richard Henderson  <rth@redhat.com>
61997         [BZ #10114]
61998         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
61999         normal/normal case to before the switch.
62000         (_FP_DIV): Likewise.
62002 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62003             Mike Frysinger  <vapier@gentoo.org>
62005         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62006         check for __NR_fadvise64_64.
62008 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62010         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62011         0, not just to plain "0" as a statement.
62012         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62013         with cw.
62015 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62017         * NEWS: Use sourceware.org in Bugzilla URL.
62019 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62022         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62024         * stdio-common/tst-put-error.c (do_test): Add newline to the
62025         padded test to ensure flush.
62027 2012-12-05  Jeff Law  <law@redhat.com>
62029         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62031 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62033         * README: Don't refer to ports add-on as distributed separately.
62034         Mention AArch64 in list of systems supported in the ports add-on.
62036         * LICENSES: Add more non-FSF copyright and license notices.
62038         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62039         ((unused)).
62041         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62043         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62044         10000 as width of padded output.
62046 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62048         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62050         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62051         variable LX with __attribute__ ((unused)).
62052         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62053         Likewise.
62054         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62055         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62056         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62057         with __attribute__ ((unused)).
62059 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62061         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62063 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62065         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62066         (CFLAGS-nldbl-acos.c): New variable.
62067         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62068         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62069         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62070         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62071         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62072         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62073         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62074         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62075         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62076         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62077         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62078         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62079         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62080         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62081         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62082         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62083         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62084         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62085         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62086         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62087         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62088         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62089         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62090         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62091         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62092         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62093         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62094         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62095         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62096         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62097         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62098         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62099         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62100         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62101         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62102         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62103         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62104         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62105         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62106         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62107         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62108         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62109         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62110         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62111         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62112         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62113         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62114         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62115         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62116         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62117         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62118         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62119         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62120         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62121         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62122         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62123         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62124         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62125         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62126         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62127         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62128         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62129         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62130         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62131         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62132         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62133         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62134         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62135         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62136         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62137         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62138         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62139         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62140         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62141         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62142         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62143         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62144         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62145         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62146         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62147         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62148         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62149         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62150         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62151         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62152         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62153         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62154         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62155         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62156         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62157         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62158         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62159         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62160         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62161         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62162         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62163         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62166         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62168         [BZ #14914]
62169         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62170         whole low double instead of just low 47 bits when splitting values
62171         into two parts.
62173 2012-12-03  Allan McRae  <allan@archlinux.org>
62175         * manual/stdio.texi (Predefined Printf Handlers): Remove
62176         @hsep and @vsep usage.
62178 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62180         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62181         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62183 2012-12-03  Jeff Law  <law@redhat.com>
62185         * time/sys/time.h (settimeofday): Do not mark TV argument
62186         as __nonnull.
62188 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62190         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62191         when currently writing and seek to current position when not.
62192         * libio/Makefile (tests): Remove bug-fclose1.
62193         * libio/bug-fclose1.c: Delete.
62195 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
62197         * manual/arith.texi (feenableexcept): Fix typo.
62198         (fedisableexcept): Likewise.
62200 2012-11-30  Roland McGrath  <roland@hack.frob.com>
62202         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62203         second, differently-typed declaration, rather than a cast.
62205 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62207         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62208         * include/rpc/svc.h: ... here.
62210 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
62212         [BZ #13013]
62213         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62214         depending n and resplen2 to catch cases where answer
62215         equals answerp2.
62217 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
62219         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62220         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62222 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
62224         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62226 2012-11-29  Roland McGrath  <roland@hack.frob.com>
62228         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62230 2012-11-28  Jeff Law  <law@redhat.com>
62232         [BZ #13761]
62233         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62234         dataset_temporary.  Track alloca usage into alloca_used.
62235         If dataset is large allocate and release it via malloc/free.
62237 2012-06-04  Florian Weimer  <fweimer@redhat.com>
62239         [BZ #14197]
62240         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62242 2012-11-28  David S. Miller  <davem@davemloft.net>
62244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62246 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62248         [BZ #14803]
62249         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62250         of pi/2 rounded to nearest to 64 bits.
62251         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62252         nearest to 64 bits.
62253         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62254         bits.
62256 2012-11-28  Jeff Law <law@redhat.com>
62257             Martin Osvald <mosvald@redhat.com>
62259         [BZ #14889]
62260         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62261         * sunrpc/svc.c: Include time.h.
62262         (__svc_accept_failed): New function.
62263         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62264         any reason other than EINTR, call __svc_accept_failed.
62265         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62266         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62268 2012-11-28  Andreas Schwab  <schwab@suse.de>
62270         * scripts/abilist.awk: Also handle indirect functions in .opd
62271         section.
62273 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62275         [BZ #13881]
62276         * sysdeps/x86/fpu/powl_helper.c: New file.
62277         * sysdeps/x86/fpu/Makefile: Likewise.
62278         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62279         (p3): New object.
62280         (__ieee754_powl): Use __powl_helper for finite arguments except
62281         integer exponents below 8.
62282         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62283         (p3): New object.
62284         (__ieee754_powl): Use __powl_helper for finite arguments except
62285         integer exponents below 8.
62286         * math/libm-test.inc (pow_test): Add more tests and enable some
62287         previously disabled tests.
62288         * sysdeps/i386/fpu/libm-test-ulps: Update.
62289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62291 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62292             Carlos O'Donell  <carlos_odonell@mentor.com>
62294         * nss/makedb.c (is_prime): Assert that input is odd and greater
62295         than 4.  Note that fact in a comment too.
62296         (next_prime): Add 4 to input.
62298 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62300         [BZ #11741]
62301         * libio/Makefile (tests): Add test case tst-fwrite-error.
62302         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62303         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62304         * libio/tst-fwrite-error.c: New test case.
62306 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
62308         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62309         before casting to void *.
62310         * include/libc-internal.h (__pointer_type): New macro.
62311         (__integer_if_pointer_type_sub): Likewise.
62312         (__integer_if_pointer_type): Likewise.
62313         (cast_to_integer): Likewise.
62314         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62315         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62316         before casting to atomic64_t.
62317         (atomic_exchange_acq): Likewise.
62318         (__arch_exchange_and_add_body): Likewise.
62319         (__arch_add_body): Likewise.
62320         (atomic_add_negative): Likewise.
62321         (atomic_add_zero): Likewise.
62323 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
62325         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62326         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62327         (add_fdes): Likewise.
62328         (linear_search_fdes): Likewise.
62329         (binary_search_unencoded_fdes): Likewise.
62331 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
62333         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62335 2012-11-24  Adam Conrad  <adconrad@0c3.net>
62337         * configure.in: Autodetect C++ header directories.
62338         * configure: Regenerated.
62340 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
62342         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62344 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
62346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62348 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
62350         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62351         LDBL_MANT_DIG == 106]: Disable some tests.
62352         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62353         Likewise.
62354         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62355         Likewise.
62357         [BZ #14871]
62358         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62359         input for small inputs.  Return +/- pi/2 for large inputs.
62360         * math/libm-test.inc (atan_test): Add more tests.
62362         * sysdeps/generic/unwind-dw2-fde-glibc.c
62363         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62364         __attribute__ ((unused)).
62366         [BZ #14645]
62367         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62368         x * y if x and y are nonzero and z is zero.
62370         [BZ #14811]
62371         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62372         nonzero exponents with absolute value below 0x1p-117 to +/-
62373         0x1p-117.
62375         [BZ #14869]
62376         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62377         up arguments below 2**-450, not just those below 2**-500.
62378         * math/libm-test.inc (hypot_test): Add another test.
62380         [BZ #14868]
62381         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62382         Return a+b for ratio over 2**120, not 2**60.
62383         * math/libm-test.inc (hypot_test): Add another test.
62385         * math/libm-test.inc (clog_test): Use
62386         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62387         (clog10_test): Likewise.
62389         [BZ #6778]
62390         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62392 2012-11-22  Andreas Schwab  <schwab@suse.de>
62394         * sysdeps/i386/fpu/libm-test-ulps: Update.
62396 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
62398         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62399         printf output with newline.
62401 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
62403         [BZ #14865]
62404         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62405         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62406         -z nodlopen, -z initfirst and -z execstack support.
62407         * configure: Regenerated.
62409         * elf/elf.h (DF_1_NODIRECT): New macro.
62410         (DF_1_IGNMULDEF): Likewise.
62411         (DF_1_NOKSYMS): Likewise.
62412         (DF_1_NOHDR): Likewise.
62413         (DF_1_EDITED): Likewise.
62414         (DF_1_NORELOC): Likewise.
62415         (DF_1_SYMINTPOSE): Likewise.
62416         (DF_1_GLOBAUDIT): Likewise.
62417         (DF_1_SINGLETON): Likewise.
62418         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62419         DT_1_SUPPORTED_MASK bits.
62420         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62422 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
62424         * sysdeps/unix/make-syscalls.sh: Document prefixes.
62426 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
62428         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62429         macro.
62431         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62432         (sendmmsg): Move declarations...
62433         * socket/sys/socket.h: ... here.
62434         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62435         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62436         include it from...
62437         * socket/recvmmsg.c: ... this new file.
62438         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62439         (sendmmsg): Rename to __sendmmsg, create weak alias and make
62440         definition of __sendmmsg hidden.
62441         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62442         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62443         Move ENOSYS stub into and include it from...
62444         * socket/sendmmsg.c: ... this new file.
62445         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62446         (sysdep_routines): Move recvmmsg and sendmmsg...
62447         * socket/Makefile (routines): ... here.
62448         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62449         (GLIBC_PRIVATE): Add __sendmmsg.
62450         * include/sys/socket.h (__sendmmsg): Add declarations.
62451         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62452         sendmmsg.
62454 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
62456         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62457         variable I1 with __attribute__ ((unused)).
62458         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62460 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62462         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62463         DUMMY variables with __attribute__ ((unused)).
62465         * bits/byteswap.h: Include <bits/types.h>.
62466         (__bswap_64): Use __uint64_t instead of unsigned long long int.
62468 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62470         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62471         string_t.  Do not manually set errno.
62472         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62473         length with __strnlen.  Make sure to both set errno and return it on
62474         failure.
62476 2012-11-19  David S. Miller  <davem@davemloft.net>
62478         With help from Joseph Myers.
62479         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62480         very large arguments properly.
62481         * math/libm-test.inc (atan_test): New tests.
62482         (atan2_test): New tests.
62483         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62486 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62488         [BZ #14856]
62489         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62490         Define to 3.
62492         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62493         [POSIX] (EADDRNOTAVAIL): Likewise.
62494         [POSIX] (EAFNOSUPPORT): Likewise.
62495         [POSIX] (EALREADY): Likewise.
62496         [POSIX] (ECONNABORTED): Likewise.
62497         [POSIX] (ECONNREFUSED): Likewise.
62498         [POSIX] (ECONNRESET): Likewise.
62499         [POSIX] (EDESTADDRREQ): Likewise.
62500         [POSIX] (EDQUOT): Likewise.
62501         [POSIX] (EHOSTUNREACH): Likewise.
62502         [POSIX] (EIDRM): Likewise.
62503         [POSIX] (EISCONN): Likewise.
62504         [POSIX] (ELOOP): Likewise.
62505         [POSIX] (EMULTIHOP): Likewise.
62506         [POSIX] (ENETDOWN): Likewise.
62507         [POSIX] (ENETUNREACH): Likewise.
62508         [POSIX] (ENOBUFS): Likewise.
62509         [POSIX] (ENODATA): Likewise.
62510         [POSIX] (ENOLINK): Likewise.
62511         [POSIX] (ENOMSG): Likewise.
62512         [POSIX] (ENOPROTOOPT): Likewise.
62513         [POSIX] (ENOSR): Likewise.
62514         [POSIX] (ENOSTR): Likewise.
62515         [POSIX] (ENOTCONN): Likewise.
62516         [POSIX] (ENOTSOCK): Likewise.
62517         [POSIX] (EOPNOTSUPP): Likewise.
62518         [POSIX] (EOVERFLOW): Likewise.
62519         [POSIX] (EPROTO): Likewise.
62520         [POSIX] (EPROTONOSUPPORT): Likewise.
62521         [POSIX] (EPROTOTYPE): Likewise.
62522         [POSIX] (ESTALE): Likewise.
62523         [POSIX] (ETIME): Likewise.
62524         [POSIX] (ETXTBSY): Likewise.
62525         [POSIX] (EWOULDBLOCK): Likewise.
62526         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62527         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62528         [POSIX] (SEEK_CUR): Likewise.
62529         [POSIX] (SEEK_END): Likewise.
62530         [POSIX || UNIX98] (mode_t): Do not require.
62531         [POSIX] (off_t): Likewise.
62532         [POSIX] (pid_t): Likewise.
62533         [POSIX] (sys/stat.h): Do not allow header.
62534         [POSIX] (unistd.h): Likewise.
62535         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62536         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62537         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62538         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62539         require.
62540         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62541         sigevent): Specify elements.
62542         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62543         entry.
62544         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62545         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62547         * conform/data/cpio.h-data [POSIX]: Disable whole file.
62548         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62549         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62550         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62551         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62552         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62553         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62554         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62555         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62556         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62557         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62558         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62559         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62560         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62561         Likewise.
62562         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62563         Likewise.
62564         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62565         Likewise.
62566         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62567         Likewise.
62568         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62569         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62570         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62571         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62572         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62573         Specify lower bound on value.
62574         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62575         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62576         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62577         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62578         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62579         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62580         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62581         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62582         value.
62583         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62584         as optional.
62585         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62586         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62587         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62588         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62589         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62590         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62591         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62592         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62593         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62594         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62595         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62596         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62597         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62598         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62599         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62600         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62601         entry.
62602         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62603         optional.
62604         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62605         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62606         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62607         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62608         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62609         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62610         Likewise.
62611         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62612         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62613         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62614         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62615         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
62616         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62617         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62618         as optional.
62619         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62620         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62621         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62622         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62623         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62624         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62625         specify as optional.
62626         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62627         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62628         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62629         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62630         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62631         [XPG3] (NL_LANGMAX): Likewise.
62632         [POSIX || XPG3] (NL_MSGMAX): Likewise.
62633         [POSIX || XPG3] (NL_NMAX): Likewise.
62634         [POSIX || XPG3] (NL_SETMAX): Likewise.
62635         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62636         [XPG3] (NZERO): Likewise.
62637         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62638         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62639         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62640         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62641         (REG_ERANGE): Expect.
62642         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62643         optional-constant.
62644         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62645         Use (void) in prototype.
62646         [POSIX] (*_t): Allow.
62647         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62648         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62649         (WRDE_BADVAL): Expect.
62651         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62652         expect.
62653         [XPG3 || XPG4] (O_RSYNC): Likewise.
62654         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62655         Likewise.
62656         [XPG3 || XPG4] (pthread_sigmask): Likewise.
62657         [XPG3 || XPG4] (sigqueue): Likewise.
62658         [XPG3 || XPG4] (sigtimedwait): Likewise.
62659         [XPG3 || XPG4] (sigwaitinfo): Likewise.
62660         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62661         [XPG3 || XPG4] (vsnprintf): Likewise.
62662         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62663         Likewise.
62664         [XPG3 || XPG4] (blksize_t): Likewise.
62665         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62666         Likewise.
62667         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62668         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62669         [XPG3 || XPG4] (struct itimerspec): Likewise.
62670         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62671         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62672         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62673         [XPG3 || XPG4] (clockid_t): Likewise.
62674         [XPG3 || XPG4] (timer_t): Likewise.
62675         [XPG3 || XPG4] (clock_getres): Likewise.
62676         [XPG3 || XPG4] (clock_gettime): Likewise.
62677         [XPG3 || XPG4] (clock_settime): Likewise.
62678         [XPG3 || XPG4] (nanosleep): Likewise.
62679         [XPG3 || XPG4] (timer_create): Likewise.
62680         [XPG3 || XPG4] (timer_delete): Likewise.
62681         [XPG3 || XPG4] (timer_gettime): Likewise.
62682         [XPG3 || XPG4] (timer_getoverrun): Likewise.
62683         [XPG3 || XPG4] (timer_settime): Likewise.
62684         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62685         [XPG3 || XPG4] (getlogin_r): Likewise.
62686         [XPG3 || XPG4] (pread): Likewise.
62687         [XPG3 || XPG4] (pthread_atfork): Likewise.
62688         [XPG3 || XPG4] (pwrite): Likewise.
62690         [BZ #14835]
62691         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62692         <bits/siginfo.h>.
62694 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62696         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62697         finalizing MALLSTREAM.
62699         * sysdeps/mach/hurd/syncfs.c: New file.
62701 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62703         [BZ #14719]
62704         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62705         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62706         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62707         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62708         (_nss_dns_gethostbyname4_r): Likewise.
62709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62710         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62712 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
62714         [BZ #13763]
62715         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62717 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
62719         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62720         * elf/cache.c (print_entry): Print ",AArch64" for
62721         FLAG_AARCH64_LIB64
62723         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62724         * elf/cache.c (print_entry): Print ",hard-float" for
62725         FLAG_ARM_LIBHF.
62727 2012-11-18  David S. Miller  <davem@davemloft.net>
62729         With help from Joseph Myers.
62730         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62731         cutoff to 2**-13.
62732         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62733         cutoff to 2**-25.
62734         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62735         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62736         small.
62737         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62738         * math/libm-test.inc (y0_test): New tests.
62739         (y1_test): New tests.
62740         * sysdeps/i386/fpu/libm-test-ulps: Update.
62741         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62744 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
62746         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62747         64-bit targets.
62748         * configure: Regenerated.
62750 2012-11-17  David S. Miller  <davem@davemloft.net>
62752         [BZ #14811]
62753         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62754         nonzero exponents with absolute value below 0x1p-128 to +/-
62755         0x1p-128.
62757 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
62759         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62761         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62763         * posix/getconf-speclist.c: New file.
62764         * posix/posix-envs.def: Likewise.
62765         * posix/confstr.c (START_ENV_GROUP): New macro.
62766         (END_ENV_GROUP): Likewise.
62767         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62768         (KNOWN_PRESENT_ENV_STRING): Likewise.
62769         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62770         (UNKNOWN_ENVIRONMENT): Likewise.
62771         (confstr): Include posix-envs.def instead of handling
62772         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62773         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62774         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62775         (END_ENV_GROUP): Likewise.
62776         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62777         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62778         (UNKNOWN_ENVIRONMENT): Likewise.
62779         (__sysconf): Include posix-envs.def instead of handling associated
62780         cases directly here.
62781         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62782         preprocessing getconf-speclist.c rather than running getconf or
62783         generating empty file.
62785 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
62787         * scripts/check-local-headers.sh: Ignore 'mach' headers.
62789 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
62791         [BZ #14672]
62792         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62794 2012-11-16  David S. Miller  <davem@davemloft.net>
62796         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62797         smaller than LDBL_EPSILON/2.0L, just return xm1.
62799 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
62801         * elf/tst-array1.c (init): Set constructor priority to 1000.
62802         (fini): Set destructor priority to 1000.
62803         * elf/tst-array2dep.c: Likewise.
62805 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62807         [BZ #11741]
62808         * libio/fileops.c (_IO_new_file_write): Correctly return error.
62809         (_IO_new_file_xsputn): Also return EOF if none of the input
62810         data was written when overflow failed.
62811         * libio/iopadn.c (_IO_padn): Likewise.
62812         * libio/iowpadn.c (_IO_wpadn): Likewise.
62813         * stdio-common/tst-put-error.c: Add copyright notice.
62814         (do_test): Add case for printing padded string.
62815         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62816         _IO_padn returned error.
62817         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62818         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62819         return EOF.
62821 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62823         * libio/libioP.h: Add comment note that the references to C++
62824         bits are now obsolete.
62826 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62828         * math/libm-test.inc (check_complex): Use asprintf.
62830 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
62832         * debug/pcprofiledump.c (print_version): Update copyright year.
62833         * malloc/memusagestat.c (print_version): Likewise.
62835 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
62837         [BZ #14831]
62838         * elf/Makefile (tests): Add tst-audit8.
62839         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62840         ($(objpfx)tst-audit8.out): New target.
62841         (tst-audit8-ENV): New variable.
62842         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62843         audit if l_reloc_result is NULL.
62844         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62845         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62846         * elf/tst-audit8.c: New file.
62848 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62850         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62851         * misc/Makefile (CFLAGS-select.c): Define.
62852         * posix/Makefile (CFLAGS-pause.c): Define.
62854 2012-11-13  David S. Miller  <davem@davemloft.net>
62856         * crypt/Makefile: Move test targets after toplevel Rules
62857         inclusion.  Grab any necessary sysdep routines when linking.
62858         * crypt/md5.c (md5_process_block): Remove define, we will always
62859         name it __md5_process_block.
62860         (md5_finish_ctx): Update md5_process_block call.
62861         (md5_stream): Likewise.
62862         (md5_process_bytes): Likewise.
62863         (md5_process_block): Rename to __md5_process_block and move to ...
62864         * crypt/md5-block.c: ... here.
62865         * crypt/sha256.c (sha256_process_block): Move to ...
62866         * crypt/sha256-block.c: ... here.
62867         * crypt/sha512.c (sha512_process_block): Move to ...
62868         * crypt/sha512-block.c: ... here.
62869         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62870         path.
62871         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62872         * sysdeps/sparc/sparc64/multiarch/Makefile
62873         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62874         crypt subdir.
62875         (localedef-aux): Add md5 crypto assembler when in locale subdir.
62876         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62877         multiarch changes.
62878         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62879         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62880         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62881         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62882         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62883         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62884         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62885         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62886         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62887         file.
62888         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62889         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62890         file.
62891         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62893 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
62895         * timezone/tzselect.ksh: Update from tzcode git revision
62896         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62897         * timezone/zdump.c: Likewise.
62898         * timezone/zic.c: Likewise.
62899         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62900         in TZVERSION setting, not $(PKGVERSION).
62901         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
62902         REPORT_BUGS_TO settings.
62904         [BZ #14838]
62905         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62906         macro.
62908 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62910         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62911         detection to immediately after _FP_ROUND().
62912         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62913         bits are 0.
62915 2012-11-11  David S. Miller  <davem@davemloft.net>
62917         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62918         inttypes.h
62919         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62920         __close rather than their public counterparts.
62922 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
62924         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62925         file.
62926         [UNIX98] (sem_timedwait): Do not expect.
62927         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62928         [XPG4 || UNIX98] (sockatmark): Do not expect.
62929         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62930         (clock_getcpuclockid): Do not expect.
62931         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62932         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62933         Do not expect.
62934         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62935         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62936         [UNIX98] (vwscanf): Likewise.
62937         [UNIX98] (vswscanf): Likewise.
62939 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
62941         * timezone/version.h: Remove file.
62942         * timezone/README: Do not refer to version.h.
62943         * timezone/Makefile ($(objpfx)zic.o): New dependency on
62944         $(objpfx)version.h.
62945         ($(objpfx)zdump.o): Likewise.
62946         ($(objpfx)version.h): New target.
62948         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62949         2012i.
62950         * timezone/README: Don't mention modification to tzselect.ksh.
62951         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62952         work on unmodified tzselect.ksh.  Substitute version numbers in
62953         tzselect.ksh.
62955         * Makefile (format-me): Remove.
62956         (INSTALL): Adjust indentation.  Use commands directly instead of
62957         using $(format-me).
62959         * aclocal.m4 (ACX_PKGVERSION): New macro.
62960         (ACX_BUGURL): Likewise.
62961         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62962         (PKGVERSION): New AC_DEFINE_UNQUOTED.
62963         (REPORT_BUGS_TO): Likewise.
62964         * configure: Regenerated.
62965         * config.h.in (PKGVERSION): New macro.
62966         (REPORT_BUGS_TO): Likewise.
62967         * config.make.in (PKGVERSION): New variable.
62968         (PKGVERSION_TEXI): Likewise.
62969         (REPORT_BUGS_TO): Likewise.
62970         (REPORT_BUGS_TEXI): Likewise.
62971         * Makefile (format-me): Use -I$(common-objpfx)manual.
62972         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62973         ($(common-objpfx)manual/%): New target.
62974         (manual/%): Remove target.
62975         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62976         (print_version): Use PKGVERSION.
62977         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62978         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62979         and REPORT_BUGS_TO.
62980         ($(objpfx)xtrace): Likewise.
62981         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62982         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62983         (print_version): Use PKGVERSION.
62984         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62985         (do_version): Use PKGVERSION.
62986         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
62987         REPORT_BUGS_TO.
62988         (common-ldd-rewrite): Likewise.
62989         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
62990         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
62991         (print_version): Use PKGVERSION.
62992         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
62993         * elf/pldd.c (argp_program_bug_address): Remove variable.
62994         (more_help): New function.
62995         (argp): Use more_help.
62996         (print_version): Use PKGVERSION.
62997         * elf/sln.c (main): Use PKGVERSION.
62998         (usage): Use REPORT_BUGS_TO.
62999         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63000         (top level): Use PKGVERSION.
63001         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63002         (print_version): Use PKGVERSION.
63003         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63004         (print_version): Use PKGVERSION.
63005         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63006         (print_version): Use PKGVERSION.
63007         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63008         (print_version): Use PKGVERSION.
63009         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63010         (print_version): Use PKGVERSION.
63011         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63012         (print_version): Use PKGVERSION.
63013         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63014         and BUGURL.
63015         ($(objpfx)memusage): Likewise.
63016         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63017         (do_version): Use PKGVERSION.
63018         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63019         (print_version): Use PKGVERSION.
63020         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63021         ($PKGVERSION): New variable.
63022         ($REPORT_BUGS_TO): Likewise.
63023         (usage): Use $REPORT_BUGS_TO.
63024         (top level): Use $PKGVERSION.
63025         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63026         ($(objpfx)pkgvers.texi): New rule.
63027         ($(objpfx)stamp-pkgvers): Likewise.
63028         * manual/install.texi: Include pkgvers.texi.
63029         (--with-pkgversion): Document new configure option.
63030         (--with-bugurl): Likewise.
63031         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63032         than necessarily for this particular distribution.  Use
63033         REPORT_BUGS_TO for where to report bugs.
63034         * INSTALL: Regenerated.
63035         * manual/libc.texinfo: Include pkgvers.texi.
63036         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63037         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63038         (print_version): Use PKGVERSION.
63039         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63040         (print_version): Use PKGVERSION.
63041         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63042         (print_version): Use PKGVERSION.
63043         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63044         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63045         macro.
63046         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63047         (print_version): Use PKGVERSION.
63048         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63049         (print_version): Use PKGVERSION.
63050         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63051         and PKGVERSION.
63053         * timezone/checktab.awk: Update from tzcode 2012i.
63054         * timezone/ialloc.c: Likewise.
63055         * timezone/private.h: Likewise.
63056         * timezone/scheck.c: Likewise.
63057         * timezone/tzfile.h: Likewise.
63058         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63059         (TZVERSION): Hardcode tzcode version number.
63060         * timezone/zdump.c: Update from tzcode 2012i.
63061         * timezone/zic.c: Likewise.
63062         * timezone/version.h: New file.
63063         * timezone/README: Describe version.h.  Update upstream location.
63065         [BZ #14824]
63066         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63067         (mktemp): Enable declaration.
63068         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63069         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63070         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63071         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63072         Likewise.
63073         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63074         Likewise.
63075         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63076         Likewise.
63077         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63078         Likewise.
63079         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63080         Likewise.
63081         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63082         Likewise.
63084         [BZ #14821]
63085         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63086         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63087         for copies of such integer values.
63088         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63089         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63091 2012-11-09  Andreas Jaeger  <aj@suse.de>
63093         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63094         definitions and declarations that are provided by
63095         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63097 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63099         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63100         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63101         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63102         definition.
63104 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63106         * elf/elf.h: Update comment before AArch64 relocations.
63108 2012-11-07  David S. Miller  <davem@davemloft.net>
63110         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63111         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63112         (__start_context): Declare.
63113         (__makecontext_ret): Delete.
63114         (__makecontext): Hook up __start_context instead of
63115         __makecontext_ret.
63116         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63117         (sysdep_routines): Add __start_context when in stdlib.
63119 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63121         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63122         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63123         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63124         hardcoded "nm".
63125         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63126         (READELF): New variable.  Use it instead of hardcoded "readelf".
63128 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63130         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63131         * sysdeps/x86/Makefile: Here.
63132         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63133         * sysdeps/x86/tst-xmmymm.sh: This.
63135 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63137         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63138         expectations.
63139         [UNIX98] (pthread_barrier_t): Do not expect.
63140         [UNIX98] (pthread_barrierattr_t): Likewise.
63141         [UNIX98] (pthread_spinlock_t): Likewise.
63142         [UNIX98] (pthread_barrier_destroy): Likewise.
63143         [UNIX98] (pthread_barrier_init): Likewise.
63144         [UNIX98] (pthread_barrier_wait): Likewise.
63145         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63146         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63147         [UNIX98] (pthread_barrierattr_init): Likewise.
63148         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63149         [UNIX98] (pthread_getcpuclockid): Likewise.
63150         [UNIX98] (pthread_mutex_timedlock): Likewise.
63151         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63152         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63153         [UNIX98] (pthread_sigmask): Likewise.
63154         [UNIX98] (pthread_spin_destroy): Likewise.
63155         [UNIX98] (pthread_spin_init): Likewise.
63156         [UNIX98] (pthread_spin_lock): Likewise.
63157         [UNIX98] (pthread_spin_trylock): Likewise.
63158         [UNIX98] (pthread_spin_unlock): Likewise.
63159         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63160         Do not expect.
63161         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63162         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63163         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63164         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63165         [XPG3 || XPG4] (pthread_key_t): Likewise.
63166         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63167         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63168         [XPG3 || XPG4] (pthread_once_t): Likewise.
63169         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63170         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63171         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63172         [XPG3 || XPG4] (pthread_t): Likewise.
63174         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63175         not expect.
63176         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63178         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63179         Change function return type to int.
63181         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63182         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63183         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63184         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63185         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63186         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63187         [!POSIX] (posix_madvise): Likewise.
63188         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63189         && !UNIX98].
63190         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63191         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63192         (mode_t): Likewise.
63193         (posix_mem_offset): Likewise.
63194         (posix_typed_mem_get_info): Likewise.
63195         (posix_typed_mem_open): Likewise.
63197         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63198         Change condition to [XOPEN2K8].
63200         * conform/conformtest.pl: Preprocess allow-header data with -x c
63201         instead of from stdin.
63202         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63203         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63204         [C99-based standards] (cerfc): Likewise.
63205         [C99-based standards] (cexp2): Likewise.
63206         [C99-based standards] (cexpm1): Likewise.
63207         [C99-based standards] (clog10): Likewise.
63208         [C99-based standards] (clog1p): Likewise.
63209         [C99-based standards] (clog2): Likewise.
63210         [C99-based standards] (clgamma): Likewise.
63211         [C99-based standards] (ctgamma): Likewise.
63212         [C99-based standards] (cerff): Likewise.
63213         [C99-based standards] (cerfcf): Likewise.
63214         [C99-based standards] (cexp2f): Likewise.
63215         [C99-based standards] (cexpm1f): Likewise.
63216         [C99-based standards] (clog10f): Likewise.
63217         [C99-based standards] (clog1pf): Likewise.
63218         [C99-based standards] (clog2f): Likewise.
63219         [C99-based standards] (clgammaf): Likewise.
63220         [C99-based standards] (ctgammaf): Likewise.
63221         [C99-based standards] (cerfl): Likewise.
63222         [C99-based standards] (cerfcl): Likewise.
63223         [C99-based standards] (cexp2l): Likewise.
63224         [C99-based standards] (cexpm1l): Likewise.
63225         [C99-based standards] (clog10l): Likewise.
63226         [C99-based standards] (clog1pl): Likewise.
63227         [C99-based standards] (clog2l): Likewise.
63228         [C99-based standards] (clgammal): Likewise.
63229         [C99-based standards] (ctgammal): Likewise.
63230         * conform/data/inttypes.h-data [C99-based standards]: Include
63231         stdint.h-data.  Remove all expectations for stdint.h contents.
63232         [C99-based standards] (PRI*): Do not allow.
63233         [C99-based standards] (SCN*): Likewise.
63234         [C99-based standards] (*_t): Likewise.
63235         [C99-based-standards] (PRId8): Expect macro.
63236         [C99-based-standards] (PRIi8): Likewise.
63237         [C99-based-standards] (PRIo8): Likewise.
63238         [C99-based-standards] (PRIu8): Likewise.
63239         [C99-based-standards] (PRIx8): Likewise.
63240         [C99-based-standards] (PRIX8): Likewise.
63241         [C99-based-standards] (SCNd8): Likewise.
63242         [C99-based-standards] (SCNi8): Likewise.
63243         [C99-based-standards] (SCNo8): Likewise.
63244         [C99-based-standards] (SCNu8): Likewise.
63245         [C99-based-standards] (SCNx8): Likewise.
63246         [C99-based-standards] (PRIdLEAST8): Likewise.
63247         [C99-based-standards] (PRIiLEAST8): Likewise.
63248         [C99-based-standards] (PRIoLEAST8): Likewise.
63249         [C99-based-standards] (PRIuLEAST8): Likewise.
63250         [C99-based-standards] (PRIxLEAST8): Likewise.
63251         [C99-based-standards] (PRIXLEAST8): Likewise.
63252         [C99-based-standards] (SCNdLEAST8): Likewise.
63253         [C99-based-standards] (SCNiLEAST8): Likewise.
63254         [C99-based-standards] (SCNoLEAST8): Likewise.
63255         [C99-based-standards] (SCNuLEAST8): Likewise.
63256         [C99-based-standards] (SCNxLEAST8): Likewise.
63257         [C99-based-standards] (PRIdFAST8): Likewise.
63258         [C99-based-standards] (PRIiFAST8): Likewise.
63259         [C99-based-standards] (PRIoFAST8): Likewise.
63260         [C99-based-standards] (PRIuFAST8): Likewise.
63261         [C99-based-standards] (PRIxFAST8): Likewise.
63262         [C99-based-standards] (PRIXFAST8): Likewise.
63263         [C99-based-standards] (SCNdFAST8): Likewise.
63264         [C99-based-standards] (SCNiFAST8): Likewise.
63265         [C99-based-standards] (SCNoFAST8): Likewise.
63266         [C99-based-standards] (SCNuFAST8): Likewise.
63267         [C99-based-standards] (SCNxFAST8): Likewise.
63268         [C99-based-standards] (PRId16): Likewise.
63269         [C99-based-standards] (PRIi16): Likewise.
63270         [C99-based-standards] (PRIo16): Likewise.
63271         [C99-based-standards] (PRIu16): Likewise.
63272         [C99-based-standards] (PRIx16): Likewise.
63273         [C99-based-standards] (PRIX16): Likewise.
63274         [C99-based-standards] (SCNd16): Likewise.
63275         [C99-based-standards] (SCNi16): Likewise.
63276         [C99-based-standards] (SCNo16): Likewise.
63277         [C99-based-standards] (SCNu16): Likewise.
63278         [C99-based-standards] (SCNx16): Likewise.
63279         [C99-based-standards] (PRIdLEAST16): Likewise.
63280         [C99-based-standards] (PRIiLEAST16): Likewise.
63281         [C99-based-standards] (PRIoLEAST16): Likewise.
63282         [C99-based-standards] (PRIuLEAST16): Likewise.
63283         [C99-based-standards] (PRIxLEAST16): Likewise.
63284         [C99-based-standards] (PRIXLEAST16): Likewise.
63285         [C99-based-standards] (SCNdLEAST16): Likewise.
63286         [C99-based-standards] (SCNiLEAST16): Likewise.
63287         [C99-based-standards] (SCNoLEAST16): Likewise.
63288         [C99-based-standards] (SCNuLEAST16): Likewise.
63289         [C99-based-standards] (SCNxLEAST16): Likewise.
63290         [C99-based-standards] (PRIdFAST16): Likewise.
63291         [C99-based-standards] (PRIiFAST16): Likewise.
63292         [C99-based-standards] (PRIoFAST16): Likewise.
63293         [C99-based-standards] (PRIuFAST16): Likewise.
63294         [C99-based-standards] (PRIxFAST16): Likewise.
63295         [C99-based-standards] (PRIXFAST16): Likewise.
63296         [C99-based-standards] (SCNdFAST16): Likewise.
63297         [C99-based-standards] (SCNiFAST16): Likewise.
63298         [C99-based-standards] (SCNoFAST16): Likewise.
63299         [C99-based-standards] (SCNuFAST16): Likewise.
63300         [C99-based-standards] (SCNxFAST16): Likewise.
63301         [C99-based-standards] (PRId32): Likewise.
63302         [C99-based-standards] (PRIi32): Likewise.
63303         [C99-based-standards] (PRIo32): Likewise.
63304         [C99-based-standards] (PRIu32): Likewise.
63305         [C99-based-standards] (PRIx32): Likewise.
63306         [C99-based-standards] (PRIX32): Likewise.
63307         [C99-based-standards] (SCNd32): Likewise.
63308         [C99-based-standards] (SCNi32): Likewise.
63309         [C99-based-standards] (SCNo32): Likewise.
63310         [C99-based-standards] (SCNu32): Likewise.
63311         [C99-based-standards] (SCNx32): Likewise.
63312         [C99-based-standards] (PRIdLEAST32): Likewise.
63313         [C99-based-standards] (PRIiLEAST32): Likewise.
63314         [C99-based-standards] (PRIoLEAST32): Likewise.
63315         [C99-based-standards] (PRIuLEAST32): Likewise.
63316         [C99-based-standards] (PRIxLEAST32): Likewise.
63317         [C99-based-standards] (PRIXLEAST32): Likewise.
63318         [C99-based-standards] (SCNdLEAST32): Likewise.
63319         [C99-based-standards] (SCNiLEAST32): Likewise.
63320         [C99-based-standards] (SCNoLEAST32): Likewise.
63321         [C99-based-standards] (SCNuLEAST32): Likewise.
63322         [C99-based-standards] (SCNxLEAST32): Likewise.
63323         [C99-based-standards] (PRIdFAST32): Likewise.
63324         [C99-based-standards] (PRIiFAST32): Likewise.
63325         [C99-based-standards] (PRIoFAST32): Likewise.
63326         [C99-based-standards] (PRIuFAST32): Likewise.
63327         [C99-based-standards] (PRIxFAST32): Likewise.
63328         [C99-based-standards] (PRIXFAST32): Likewise.
63329         [C99-based-standards] (SCNdFAST32): Likewise.
63330         [C99-based-standards] (SCNiFAST32): Likewise.
63331         [C99-based-standards] (SCNoFAST32): Likewise.
63332         [C99-based-standards] (SCNuFAST32): Likewise.
63333         [C99-based-standards] (SCNxFAST32): Likewise.
63334         [C99-based-standards] (PRId64): Likewise.
63335         [C99-based-standards] (PRIi64): Likewise.
63336         [C99-based-standards] (PRIo64): Likewise.
63337         [C99-based-standards] (PRIu64): Likewise.
63338         [C99-based-standards] (PRIx64): Likewise.
63339         [C99-based-standards] (PRIX64): Likewise.
63340         [C99-based-standards] (SCNd64): Likewise.
63341         [C99-based-standards] (SCNi64): Likewise.
63342         [C99-based-standards] (SCNo64): Likewise.
63343         [C99-based-standards] (SCNu64): Likewise.
63344         [C99-based-standards] (SCNx64): Likewise.
63345         [C99-based-standards] (PRIdLEAST64): Likewise.
63346         [C99-based-standards] (PRIiLEAST64): Likewise.
63347         [C99-based-standards] (PRIoLEAST64): Likewise.
63348         [C99-based-standards] (PRIuLEAST64): Likewise.
63349         [C99-based-standards] (PRIxLEAST64): Likewise.
63350         [C99-based-standards] (PRIXLEAST64): Likewise.
63351         [C99-based-standards] (SCNdLEAST64): Likewise.
63352         [C99-based-standards] (SCNiLEAST64): Likewise.
63353         [C99-based-standards] (SCNoLEAST64): Likewise.
63354         [C99-based-standards] (SCNuLEAST64): Likewise.
63355         [C99-based-standards] (SCNxLEAST64): Likewise.
63356         [C99-based-standards] (PRIdFAST64): Likewise.
63357         [C99-based-standards] (PRIiFAST64): Likewise.
63358         [C99-based-standards] (PRIoFAST64): Likewise.
63359         [C99-based-standards] (PRIuFAST64): Likewise.
63360         [C99-based-standards] (PRIxFAST64): Likewise.
63361         [C99-based-standards] (PRIXFAST64): Likewise.
63362         [C99-based-standards] (SCNdFAST64): Likewise.
63363         [C99-based-standards] (SCNiFAST64): Likewise.
63364         [C99-based-standards] (SCNoFAST64): Likewise.
63365         [C99-based-standards] (SCNuFAST64): Likewise.
63366         [C99-based-standards] (SCNxFAST64): Likewise.
63367         [C99-based-standards] (PRIdMAX): Likewise.
63368         [C99-based-standards] (PRIiMAX): Likewise.
63369         [C99-based-standards] (PRIoMAX): Likewise.
63370         [C99-based-standards] (PRIuMAX): Likewise.
63371         [C99-based-standards] (PRIxMAX): Likewise.
63372         [C99-based-standards] (PRIXMAX): Likewise.
63373         [C99-based-standards] (SCNdMAX): Likewise.
63374         [C99-based-standards] (SCNiMAX): Likewise.
63375         [C99-based-standards] (SCNoMAX): Likewise.
63376         [C99-based-standards] (SCNuMAX): Likewise.
63377         [C99-based-standards] (SCNxMAX): Likewise.
63378         [C99-based-standards] (PRIdPTR): Likewise.
63379         [C99-based-standards] (PRIiPTR): Likewise.
63380         [C99-based-standards] (PRIoPTR): Likewise.
63381         [C99-based-standards] (PRIuPTR): Likewise.
63382         [C99-based-standards] (PRIxPTR): Likewise.
63383         [C99-based-standards] (PRIXPTR): Likewise.
63384         [C99-based-standards] (SCNdPTR): Likewise.
63385         [C99-based-standards] (SCNiPTR): Likewise.
63386         [C99-based-standards] (SCNoPTR): Likewise.
63387         [C99-based-standards] (SCNuPTR): Likewise.
63388         [C99-based-standards] (SCNxPTR): Likewise.
63389         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63390         allow.
63391         * conform/data/stdint.h-data: Update comments to clarify
63392         requirements.
63393         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
63394         type.
63395         [C99-based standards] (INT8_MAX): Likewise.
63396         [C99-based standards] (INT16_MIN): Likewise.
63397         [C99-based standards] (INT16_MAX): Likewise.
63398         [C99-based standards] (INT32_MIN): Likewise.
63399         [C99-based standards] (INT32_MAX): Likewise.
63400         [C99-based standards] (INT64_MIN): Likewise.
63401         [C99-based standards] (INT64_MAX): Likewise.
63402         [C99-based standards] (UINT8_MAX): Likewise.
63403         [C99-based standards] (UINT16_MAX): Likewise.
63404         [C99-based standards] (UINT32_MAX): Likewise.
63405         [C99-based standards] (UINT64_MAX): Likewise.
63406         [C99-based standards] (INT_LEAST8_MIN): Likewise.
63407         [C99-based standards] (INT_LEAST8_MAX): Likewise.
63408         [C99-based standards] (INT_LEAST16_MIN): Likewise.
63409         [C99-based standards] (INT_LEAST16_MAX): Likewise.
63410         [C99-based standards] (INT_LEAST32_MIN): Likewise.
63411         [C99-based standards] (INT_LEAST32_MAX): Likewise.
63412         [C99-based standards] (INT_LEAST64_MIN): Likewise.
63413         [C99-based standards] (INT_LEAST64_MAX): Likewise.
63414         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63415         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63416         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63417         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63418         [C99-based standards] (INT_FAST8_MIN): Likewise.
63419         [C99-based standards] (INT_FAST8_MAX): Likewise.
63420         [C99-based standards] (INT_FAST16_MIN): Likewise.
63421         [C99-based standards] (INT_FAST16_MAX): Likewise.
63422         [C99-based standards] (INT_FAST32_MIN): Likewise.
63423         [C99-based standards] (INT_FAST32_MAX): Likewise.
63424         [C99-based standards] (INT_FAST64_MIN): Likewise.
63425         [C99-based standards] (INT_FAST64_MAX): Likewise.
63426         [C99-based standards] (UINT_FAST8_MAX): Likewise.
63427         [C99-based standards] (UINT_FAST16_MAX): Likewise.
63428         [C99-based standards] (UINT_FAST32_MAX): Likewise.
63429         [C99-based standards] (UINT_FAST64_MAX): Likewise.
63430         [C99-based standards] (INTPTR_MIN): Likewise.
63431         [C99-based standards] (INTPTR_MAX): Likewise.
63432         [C99-based standards] (UINTPTR_MAX): Likewise.
63433         [C99-based standards] (INTMAX_MIN): Likewise.
63434         [C99-based standards] (INTMAX_MAX): Likewise.
63435         [C99-based standards] (UINTMAX_MAX): Likewise.
63436         [C99-based standards] (PTRDIFF_MIN): Likewise.
63437         [C99-based standards] (PTRDIFF_MAX): Likewise.
63438         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63439         [C99-based standards] (SIZE_MAX): Likewise.
63440         [C99-based standards] (WCHAR_MAX): Likewise.
63441         [C99-based standards] (WINT_MAX): Likewise.
63442         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
63443         constraint on value.
63444         [C99-based standards] (WCHAR_MIN): Likewise.
63445         [C99-based standards] (WINT_MIN): Likewise.
63446         [C99-based standards] (*_t): Allow.
63447         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63448         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63449         Include math.h-data and complex.h-data.  Remove all expectations
63450         of math.h and complex.h contents.
63451         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63452         at end of line.
63453         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63454         (struct tm): Expect tag.
63455         [C99-based-standards] (wcstof): Expect function.
63456         [C99-based-standards] (wcstold): Likewise.
63457         [C99-based-standards] (wcstoll): Likewise.
63458         [C99-based-standards] (wcstoull): Likewise.
63459         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63460         macro-int-constant.  Specify type.
63461         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
63462         constraint on value.
63463         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63464         Specify type.
63465         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63466         Specify value.
63467         [ISO C standards]: Do not allow headers.
63468         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63469         wcs[abcdefghijklmnopqrstuvwxyz]*.
63470         [ISO C standards] (*_t): Do not allow.
63471         * conform/data/wctype.h-data [C99-based standards] (iswblank):
63472         Expect function.
63473         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63474         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63475         Specify type.
63476         [ISO C standards]: Do not allow headers.
63477         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63478         is[abcdefghijklmnopqrstuvwxyz]*.
63479         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63480         to[abcdefghijklmnopqrstuvwxyz]*.
63481         [ISO C standards] (*_t): Do not allow.
63482         * conform/data/stdalign.h-data: New file.
63483         * conform/data/stdbool.h-data: Likewise.
63484         * conform/data/stdnoreturn.h-data: Likewise.
63486 2012-11-07  Roland McGrath  <roland@hack.frob.com>
63488         [BZ #14815]
63489         * manual/filesys.texi (Directory Entries): Typo fix.
63490         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63492 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63494         * elf/elf.h (EM_AARCH64): New macro.
63495         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63496         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63497         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63498         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63499         (R_AARCH64_TLSDESC): Likewise.
63500         (NT_ARM_TLS): Likewise.
63501         (NT_ARM_HW_BREAK): Likewise.
63502         (NT_ARM_HW_WATCH): Likewise.
63504 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63506         [BZ #14811]
63507         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63508         (__ieee754_powl): Saturate nonzero exponents with absolute value
63509         below 0x1p-79 to +/- 0x1p-79.
63510         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63511         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63512         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63513         nonzero exponents with absolute value below 0x1p-32 to +/-
63514         0x1p-32.
63515         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63516         (__ieee754_powl): Saturate nonzero exponents with absolute value
63517         below 0x1p-79 to +/- 0x1p-79.
63518         * math/libm-test.inc (pow_test): Add more tests.
63520 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63522         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63523         _dl_s390_cap_flags with kernel. Increase string length.
63524         (_dl_s390_platforms): Add z196 and zEC12.
63526 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63528         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63529         Change XOPEN21K to XOPEN2K.
63531 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
63533         * string/memmove.c: Use memcpy when possible.
63535 2012-11-06  Andreas Jaeger  <aj@suse.de>
63537         * po/eo.po: Update from translation team.
63539 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
63541         [BZ #14793]
63542         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63543         exponent and small x and y exponents, scale x or y up.  Increase
63544         by 2 the exponent used in scaling up.
63545         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63546         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63547         * math/libm-test.inc (fma_test): Add more tests.
63548         (fma_test_towardzero): Likewise.
63549         (fma_test_downward): Likewise.
63550         (fma_test_upward): Likewise.
63552 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
63554         [BZ #14805]
63555         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63556         fenv_t *.
63558         [BZ #14801]
63559         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63560         namespace for names of struct fields.
63561         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63562         fenv_t fields.
63563         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63564         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63566 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63568         [BZ #3665]
63569         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63571 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63573         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63574         PTR_DEMANGLE.
63576         [BZ #5246]
63577         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63578         PTR_DEMANGLE.
63580 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
63582         [BZ #14797]
63583         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63584         definitely overflow as x * y not x * y + z.
63585         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63586         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63587         * math/libm-test.inc (fma_test): Add more tests.
63588         (fma_test_towardzero): Likewise.
63589         (fma_test_downward): Likewise.
63590         (fma_test_upward): Likewise.
63592 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63594         [BZ #157]
63596         * include/stub-tag.h: Remove file.
63597         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63598         '#include' of it.
63599         * manual/maint.texi (Porting): Don't reference it.
63600         * Makerules ($(objpfx)stubs): Likewise.
63601         * dirent/closedir.c: Don't include <stub-tag.h>.
63602         * dirent/dirfd.c: Likewise.
63603         * dirent/fdopendir.c: Likewise.
63604         * dirent/getdents.c: Likewise.
63605         * dirent/getdents64.c: Likewise.
63606         * dirent/opendir.c: Likewise.
63607         * dirent/readdir.c: Likewise.
63608         * dirent/readdir64.c: Likewise.
63609         * dirent/readdir64_r.c: Likewise.
63610         * dirent/readdir_r.c: Likewise.
63611         * dirent/rewinddir.c: Likewise.
63612         * dirent/seekdir.c: Likewise.
63613         * dirent/telldir.c: Likewise.
63614         * gmon/profil.c: Likewise.
63615         * grp/setgroups.c: Likewise.
63616         * inet/if_index.c: Likewise.
63617         * io/access.c: Likewise.
63618         * io/chdir.c: Likewise.
63619         * io/chmod.c: Likewise.
63620         * io/chown.c: Likewise.
63621         * io/close.c: Likewise.
63622         * io/dup.c: Likewise.
63623         * io/dup2.c: Likewise.
63624         * io/dup3.c: Likewise.
63625         * io/euidaccess.c: Likewise.
63626         * io/faccessat.c: Likewise.
63627         * io/fchdir.c: Likewise.
63628         * io/fchmod.c: Likewise.
63629         * io/fchmodat.c: Likewise.
63630         * io/fchown.c: Likewise.
63631         * io/fchownat.c: Likewise.
63632         * io/fcntl.c: Likewise.
63633         * io/flock.c: Likewise.
63634         * io/fstatfs.c: Likewise.
63635         * io/fstatfs64.c: Likewise.
63636         * io/fstatvfs.c: Likewise.
63637         * io/fstatvfs64.c: Likewise.
63638         * io/futimens.c: Likewise.
63639         * io/fxstat.c: Likewise.
63640         * io/fxstat64.c: Likewise.
63641         * io/fxstatat.c: Likewise.
63642         * io/fxstatat64.c: Likewise.
63643         * io/getcwd.c: Likewise.
63644         * io/isatty.c: Likewise.
63645         * io/lchmod.c: Likewise.
63646         * io/lchown.c: Likewise.
63647         * io/link.c: Likewise.
63648         * io/linkat.c: Likewise.
63649         * io/lseek.c: Likewise.
63650         * io/lseek64.c: Likewise.
63651         * io/lxstat64.c: Likewise.
63652         * io/mkdir.c: Likewise.
63653         * io/mkdirat.c: Likewise.
63654         * io/mkfifo.c: Likewise.
63655         * io/mkfifoat.c: Likewise.
63656         * io/open.c: Likewise.
63657         * io/open64.c: Likewise.
63658         * io/openat.c: Likewise.
63659         * io/openat64.c: Likewise.
63660         * io/pipe.c: Likewise.
63661         * io/pipe2.c: Likewise.
63662         * io/poll.c: Likewise.
63663         * io/posix_fadvise.c: Likewise.
63664         * io/posix_fadvise64.c: Likewise.
63665         * io/posix_fallocate.c: Likewise.
63666         * io/posix_fallocate64.c: Likewise.
63667         * io/read.c: Likewise.
63668         * io/readlink.c: Likewise.
63669         * io/readlinkat.c: Likewise.
63670         * io/rmdir.c: Likewise.
63671         * io/sendfile.c: Likewise.
63672         * io/sendfile64.c: Likewise.
63673         * io/statfs.c: Likewise.
63674         * io/statfs64.c: Likewise.
63675         * io/statvfs.c: Likewise.
63676         * io/statvfs64.c: Likewise.
63677         * io/symlink.c: Likewise.
63678         * io/symlinkat.c: Likewise.
63679         * io/ttyname.c: Likewise.
63680         * io/ttyname_r.c: Likewise.
63681         * io/umask.c: Likewise.
63682         * io/unlink.c: Likewise.
63683         * io/unlinkat.c: Likewise.
63684         * io/utime.c: Likewise.
63685         * io/utimensat.c: Likewise.
63686         * io/write.c: Likewise.
63687         * io/xmknod.c: Likewise.
63688         * io/xmknodat.c: Likewise.
63689         * io/xstat.c: Likewise.
63690         * io/xstat64.c: Likewise.
63691         * login/getpt.c: Likewise.
63692         * login/grantpt.c: Likewise.
63693         * login/unlockpt.c: Likewise.
63694         * math/e_acoshl.c: Likewise.
63695         * math/e_acosl.c: Likewise.
63696         * math/e_asinl.c: Likewise.
63697         * math/e_atan2l.c: Likewise.
63698         * math/e_atanhl.c: Likewise.
63699         * math/e_coshl.c: Likewise.
63700         * math/e_expl.c: Likewise.
63701         * math/e_fmodl.c: Likewise.
63702         * math/e_gammal_r.c: Likewise.
63703         * math/e_hypotl.c: Likewise.
63704         * math/e_j0l.c: Likewise.
63705         * math/e_j1l.c: Likewise.
63706         * math/e_jnl.c: Likewise.
63707         * math/e_lgammal_r.c: Likewise.
63708         * math/e_log10l.c: Likewise.
63709         * math/e_log2l.c: Likewise.
63710         * math/e_logl.c: Likewise.
63711         * math/e_powl.c: Likewise.
63712         * math/e_rem_pio2l.c: Likewise.
63713         * math/e_sinhl.c: Likewise.
63714         * math/e_sqrtl.c: Likewise.
63715         * math/fclrexcpt.c: Likewise.
63716         * math/fedisblxcpt.c: Likewise.
63717         * math/feenablxcpt.c: Likewise.
63718         * math/fegetenv.c: Likewise.
63719         * math/fegetexcept.c: Likewise.
63720         * math/fegetround.c: Likewise.
63721         * math/feholdexcpt.c: Likewise.
63722         * math/fesetenv.c: Likewise.
63723         * math/fesetround.c: Likewise.
63724         * math/feupdateenv.c: Likewise.
63725         * math/fgetexcptflg.c: Likewise.
63726         * math/fraiseexcpt.c: Likewise.
63727         * math/fsetexcptflg.c: Likewise.
63728         * math/ftestexcept.c: Likewise.
63729         * math/k_cosl.c: Likewise.
63730         * math/k_rem_pio2l.c: Likewise.
63731         * math/k_sinl.c: Likewise.
63732         * math/k_tanl.c: Likewise.
63733         * math/s_asinhl.c: Likewise.
63734         * math/s_atanl.c: Likewise.
63735         * math/s_cbrtl.c: Likewise.
63736         * math/s_erfl.c: Likewise.
63737         * math/s_expm1l.c: Likewise.
63738         * math/s_log1pl.c: Likewise.
63739         * math/s_tanhl.c: Likewise.
63740         * misc/acct.c: Likewise.
63741         * misc/brk.c: Likewise.
63742         * misc/chflags.c: Likewise.
63743         * misc/chroot.c: Likewise.
63744         * misc/fchflags.c: Likewise.
63745         * misc/fgetxattr.c: Likewise.
63746         * misc/flistxattr.c: Likewise.
63747         * misc/fremovexattr.c: Likewise.
63748         * misc/fsetxattr.c: Likewise.
63749         * misc/fsync.c: Likewise.
63750         * misc/ftruncate.c: Likewise.
63751         * misc/futimes.c: Likewise.
63752         * misc/futimesat.c: Likewise.
63753         * misc/getdomain.c: Likewise.
63754         * misc/getdtsz.c: Likewise.
63755         * misc/gethostid.c: Likewise.
63756         * misc/gethostname.c: Likewise.
63757         * misc/getloadavg.c: Likewise.
63758         * misc/getpagesize.c: Likewise.
63759         * misc/getsysstats.c: Likewise.
63760         * misc/getxattr.c: Likewise.
63761         * misc/gtty.c: Likewise.
63762         * misc/ioctl.c: Likewise.
63763         * misc/lgetxattr.c: Likewise.
63764         * misc/listxattr.c: Likewise.
63765         * misc/llistxattr.c: Likewise.
63766         * misc/lremovexattr.c: Likewise.
63767         * misc/lsetxattr.c: Likewise.
63768         * misc/lutimes.c: Likewise.
63769         * misc/madvise.c: Likewise.
63770         * misc/mincore.c: Likewise.
63771         * misc/mlock.c: Likewise.
63772         * misc/mlockall.c: Likewise.
63773         * misc/mmap.c: Likewise.
63774         * misc/mprotect.c: Likewise.
63775         * misc/msync.c: Likewise.
63776         * misc/munlock.c: Likewise.
63777         * misc/munlockall.c: Likewise.
63778         * misc/munmap.c: Likewise.
63779         * misc/preadv.c: Likewise.
63780         * misc/preadv64.c: Likewise.
63781         * misc/ptrace.c: Likewise.
63782         * misc/pwritev.c: Likewise.
63783         * misc/pwritev64.c: Likewise.
63784         * misc/readv.c: Likewise.
63785         * misc/reboot.c: Likewise.
63786         * misc/remap_file_pages.c: Likewise.
63787         * misc/removexattr.c: Likewise.
63788         * misc/revoke.c: Likewise.
63789         * misc/select.c: Likewise.
63790         * misc/setdomain.c: Likewise.
63791         * misc/setegid.c: Likewise.
63792         * misc/seteuid.c: Likewise.
63793         * misc/sethostid.c: Likewise.
63794         * misc/sethostname.c: Likewise.
63795         * misc/setregid.c: Likewise.
63796         * misc/setreuid.c: Likewise.
63797         * misc/setxattr.c: Likewise.
63798         * misc/sstk.c: Likewise.
63799         * misc/stty.c: Likewise.
63800         * misc/swapoff.c: Likewise.
63801         * misc/swapon.c: Likewise.
63802         * misc/sync.c: Likewise.
63803         * misc/syncfs.c: Likewise.
63804         * misc/syscall.c: Likewise.
63805         * misc/truncate.c: Likewise.
63806         * misc/ualarm.c: Likewise.
63807         * misc/usleep.c: Likewise.
63808         * misc/ustat.c: Likewise.
63809         * misc/utimes.c: Likewise.
63810         * misc/vhangup.c: Likewise.
63811         * misc/writev.c: Likewise.
63812         * posix/_exit.c: Likewise.
63813         * posix/alarm.c: Likewise.
63814         * posix/execve.c: Likewise.
63815         * posix/fexecve.c: Likewise.
63816         * posix/fork.c: Likewise.
63817         * posix/fpathconf.c: Likewise.
63818         * posix/getaddrinfo.c: Likewise.
63819         * posix/getegid.c: Likewise.
63820         * posix/geteuid.c: Likewise.
63821         * posix/getgid.c: Likewise.
63822         * posix/getgroups.c: Likewise.
63823         * posix/getlogin.c: Likewise.
63824         * posix/getlogin_r.c: Likewise.
63825         * posix/getpgid.c: Likewise.
63826         * posix/getpid.c: Likewise.
63827         * posix/getppid.c: Likewise.
63828         * posix/getresgid.c: Likewise.
63829         * posix/getresuid.c: Likewise.
63830         * posix/getsid.c: Likewise.
63831         * posix/getuid.c: Likewise.
63832         * posix/glob64.c: Likewise.
63833         * posix/nanosleep.c: Likewise.
63834         * posix/pathconf.c: Likewise.
63835         * posix/pause.c: Likewise.
63836         * posix/posix_madvise.c: Likewise.
63837         * posix/pread.c: Likewise.
63838         * posix/pread64.c: Likewise.
63839         * posix/pwrite.c: Likewise.
63840         * posix/pwrite64.c: Likewise.
63841         * posix/sched_getaffinity.c: Likewise.
63842         * posix/sched_getp.c: Likewise.
63843         * posix/sched_gets.c: Likewise.
63844         * posix/sched_primax.c: Likewise.
63845         * posix/sched_primin.c: Likewise.
63846         * posix/sched_rr_gi.c: Likewise.
63847         * posix/sched_setaffinity.c: Likewise.
63848         * posix/sched_setp.c: Likewise.
63849         * posix/sched_sets.c: Likewise.
63850         * posix/sched_yield.c: Likewise.
63851         * posix/setgid.c: Likewise.
63852         * posix/setlogin.c: Likewise.
63853         * posix/setpgid.c: Likewise.
63854         * posix/setresgid.c: Likewise.
63855         * posix/setresuid.c: Likewise.
63856         * posix/setsid.c: Likewise.
63857         * posix/setuid.c: Likewise.
63858         * posix/sleep.c: Likewise.
63859         * posix/spawni.c: Likewise.
63860         * posix/sysconf.c: Likewise.
63861         * posix/times.c: Likewise.
63862         * posix/wait.c: Likewise.
63863         * posix/wait3.c: Likewise.
63864         * posix/wait4.c: Likewise.
63865         * posix/waitpid.c: Likewise.
63866         * resolv/gai_sigqueue.c: Likewise.
63867         * resource/getpriority.c: Likewise.
63868         * resource/getrlimit.c: Likewise.
63869         * resource/getrusage.c: Likewise.
63870         * resource/nice.c: Likewise.
63871         * resource/setpriority.c: Likewise.
63872         * resource/setrlimit.c: Likewise.
63873         * resource/ulimit.c: Likewise.
63874         * rt/aio_cancel.c: Likewise.
63875         * rt/aio_fsync.c: Likewise.
63876         * rt/aio_read.c: Likewise.
63877         * rt/aio_sigqueue.c: Likewise.
63878         * rt/aio_suspend.c: Likewise.
63879         * rt/aio_write.c: Likewise.
63880         * rt/clock_getres.c: Likewise.
63881         * rt/clock_gettime.c: Likewise.
63882         * rt/clock_nanosleep.c: Likewise.
63883         * rt/clock_settime.c: Likewise.
63884         * rt/lio_listio.c: Likewise.
63885         * rt/mq_close.c: Likewise.
63886         * rt/mq_getattr.c: Likewise.
63887         * rt/mq_notify.c: Likewise.
63888         * rt/mq_open.c: Likewise.
63889         * rt/mq_receive.c: Likewise.
63890         * rt/mq_send.c: Likewise.
63891         * rt/mq_setattr.c: Likewise.
63892         * rt/mq_timedreceive.c: Likewise.
63893         * rt/mq_timedsend.c: Likewise.
63894         * rt/mq_unlink.c: Likewise.
63895         * rt/shm_open.c: Likewise.
63896         * rt/shm_unlink.c: Likewise.
63897         * rt/timer_create.c: Likewise.
63898         * rt/timer_delete.c: Likewise.
63899         * rt/timer_getoverr.c: Likewise.
63900         * rt/timer_gettime.c: Likewise.
63901         * rt/timer_settime.c: Likewise.
63902         * setjmp/__longjmp.c: Likewise.
63903         * setjmp/setjmp.c: Likewise.
63904         * signal/kill.c: Likewise.
63905         * signal/killpg.c: Likewise.
63906         * signal/raise.c: Likewise.
63907         * signal/sigaction.c: Likewise.
63908         * signal/sigaltstack.c: Likewise.
63909         * signal/sigblock.c: Likewise.
63910         * signal/sigignore.c: Likewise.
63911         * signal/sigintr.c: Likewise.
63912         * signal/signal.c: Likewise.
63913         * signal/sigpause.c: Likewise.
63914         * signal/sigpending.c: Likewise.
63915         * signal/sigqueue.c: Likewise.
63916         * signal/sigreturn.c: Likewise.
63917         * signal/sigset.c: Likewise.
63918         * signal/sigsetmask.c: Likewise.
63919         * signal/sigstack.c: Likewise.
63920         * signal/sigsuspend.c: Likewise.
63921         * signal/sigtimedwait.c: Likewise.
63922         * signal/sigvec.c: Likewise.
63923         * signal/sigwait.c: Likewise.
63924         * signal/sigwaitinfo.c: Likewise.
63925         * signal/sysv_signal.c: Likewise.
63926         * socket/accept.c: Likewise.
63927         * socket/accept4.c: Likewise.
63928         * socket/bind.c: Likewise.
63929         * socket/connect.c: Likewise.
63930         * socket/getpeername.c: Likewise.
63931         * socket/getsockname.c: Likewise.
63932         * socket/getsockopt.c: Likewise.
63933         * socket/isfdtype.c: Likewise.
63934         * socket/listen.c: Likewise.
63935         * socket/recv.c: Likewise.
63936         * socket/recvfrom.c: Likewise.
63937         * socket/recvmsg.c: Likewise.
63938         * socket/send.c: Likewise.
63939         * socket/sendmsg.c: Likewise.
63940         * socket/sendto.c: Likewise.
63941         * socket/setsockopt.c: Likewise.
63942         * socket/shutdown.c: Likewise.
63943         * socket/sockatmark.c: Likewise.
63944         * socket/socket.c: Likewise.
63945         * socket/socketpair.c: Likewise.
63946         * stdio-common/ctermid.c: Likewise.
63947         * stdio-common/cuserid.c: Likewise.
63948         * stdio-common/remove.c: Likewise.
63949         * stdio-common/rename.c: Likewise.
63950         * stdio-common/renameat.c: Likewise.
63951         * stdio-common/tempname.c: Likewise.
63952         * stdlib/getcontext.c: Likewise.
63953         * stdlib/makecontext.c: Likewise.
63954         * stdlib/setcontext.c: Likewise.
63955         * stdlib/swapcontext.c: Likewise.
63956         * stdlib/system.c: Likewise.
63957         * streams/fattach.c: Likewise.
63958         * streams/fdetach.c: Likewise.
63959         * streams/getmsg.c: Likewise.
63960         * streams/getpmsg.c: Likewise.
63961         * streams/putmsg.c: Likewise.
63962         * streams/putpmsg.c: Likewise.
63963         * sysdeps/unix/bsd/getpt.c: Likewise.
63964         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63965         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63966         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63968         Likewise.
63969         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63970         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63971         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63972         * sysvipc/msgctl.c: Likewise.
63973         * sysvipc/msgget.c: Likewise.
63974         * sysvipc/msgrcv.c: Likewise.
63975         * sysvipc/msgsnd.c: Likewise.
63976         * sysvipc/semctl.c: Likewise.
63977         * sysvipc/semget.c: Likewise.
63978         * sysvipc/semop.c: Likewise.
63979         * sysvipc/semtimedop.c: Likewise.
63980         * sysvipc/shmat.c: Likewise.
63981         * sysvipc/shmctl.c: Likewise.
63982         * sysvipc/shmdt.c: Likewise.
63983         * sysvipc/shmget.c: Likewise.
63984         * termios/tcdrain.c: Likewise.
63985         * termios/tcflow.c: Likewise.
63986         * termios/tcflush.c: Likewise.
63987         * termios/tcgetattr.c: Likewise.
63988         * termios/tcgetpgrp.c: Likewise.
63989         * termios/tcsendbrk.c: Likewise.
63990         * termios/tcsetattr.c: Likewise.
63991         * termios/tcsetpgrp.c: Likewise.
63992         * time/adjtime.c: Likewise.
63993         * time/clock.c: Likewise.
63994         * time/getitimer.c: Likewise.
63995         * time/gettimeofday.c: Likewise.
63996         * time/setitimer.c: Likewise.
63997         * time/settimeofday.c: Likewise.
63998         * time/stime.c: Likewise.
63999         * time/time.c: Likewise.
64001 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64003         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64004         /usr/old/bin.
64006         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64007         instead of spaces.
64008         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64010 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64012         [BZ #14796]
64013         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64014         FE_TONEAREST before applying Dekker multiplication and Knuth
64015         addition.  Clear inexact exceptions and check for exact zero
64016         results afterwards.
64017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64018         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64019         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64020         * math/libm-test.inc (fma_test): Add more tests.
64021         (fma_test_towardzero): Likewise.
64022         (fma_test_downward): Likewise.
64023         (fma_test_upward): Likewise.
64024         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64025         function.
64026         (libc_fesetround): New macro.
64027         (libc_fesetroundf): Likewise.
64028         (libc_fesetroundl): Likewise.
64029         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64030         function.
64031         (libc_fesetround_387): Likewise.
64032         (libc_fesetroundf): New macro.
64033         (libc_fesetround): Likewise.
64034         (libc_fesetroundl): Likewise.
64035         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64036         function.
64037         (libc_fesetroundf): New macro.
64038         (libc_fesetround): Likewise.
64039         (libc_fesetroundl): Likewise.
64040         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64041         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64042         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64043         libm_hidden_ver.
64044         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64045         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64046         libm_hidden_def.
64047         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64048         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64049         libm_hidden_ver.
64050         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64051         libm_hidden_def.
64053         [BZ #3439]
64054         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64055         integer constant usable in #if and use that to give value to enum
64056         constant.
64057         (FE_DIVBYZERO): Likewise.
64058         (FE_UNDERFLOW): Likewise.
64059         (FE_OVERFLOW): Likewise.
64060         (FE_INVALID): Likewise.
64061         (FE_INVALID_SNAN): Likewise.
64062         (FE_INVALID_ISI): Likewise.
64063         (FE_INVALID_IDI): Likewise.
64064         (FE_INVALID_ZDZ): Likewise.
64065         (FE_INVALID_IMZ): Likewise.
64066         (FE_INVALID_COMPARE): Likewise.
64067         (FE_INVALID_SOFTWARE): Likewise.
64068         (FE_INVALID_SQRT): Likewise.
64069         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64070         (FE_TONEAREST): Likewise.
64071         (FE_TOWARDZERO): Likewise.
64072         (FE_UPWARD): Likewise.
64073         (FE_DOWNWARD): Likewise.
64074         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64075         (FE_DIVBYZERO): Likewise.
64076         (FE_OVERFLOW): Likewise.
64077         (FE_UNDERFLOW): Likewise.
64078         (FE_INEXACT): Likewise.
64079         (FE_TONEAREST): Likewise.
64080         (FE_DOWNWARD): Likewise.
64081         (FE_UPWARD): Likewise.
64082         (FE_TOWARDZERO): Likewise.
64083         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64084         (FE_UNDERFLOW): Likewise.
64085         (FE_OVERFLOW): Likewise.
64086         (FE_DIVBYZERO): Likewise.
64087         (FE_INVALID): Likewise.
64088         (FE_TONEAREST): Likewise.
64089         (FE_TOWARDZERO): Likewise.
64090         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64091         (FE_OVERFLOW): Likewise.
64092         (FE_UNDERFLOW): Likewise.
64093         (FE_DIVBYZERO): Likewise.
64094         (FE_INEXACT): Likewise.
64095         (FE_TONEAREST): Likewise.
64096         (FE_TOWARDZERO): Likewise.
64097         (FE_UPWARD): Likewise.
64098         (FE_DOWNWARD): Likewise.
64099         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64100         (FE_DIVBYZERO): Likewise.
64101         (FE_OVERFLOW): Likewise.
64102         (FE_UNDERFLOW): Likewise.
64103         (FE_INEXACT): Likewise.
64104         (FE_TONEAREST): Likewise.
64105         (FE_DOWNWARD): Likewise.
64106         (FE_UPWARD): Likewise.
64107         (FE_TOWARDZERO): Likewise.
64109 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64111         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64113 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64115         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64116         commands.  Quote $PWD.
64117         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64118         -x" by "export".
64119         (remove_newlines): Remove.
64121 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64123         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64124         * stdlib/stdlib.h (atof): Moved to ...
64125         * include/bits/stdlib-float.h: Here.  New file.
64126         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64127         * stdlib/bits/stdlib-float.h: New file.
64128         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64129         -mno-sse -mno-mmx.
64130         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64131         <xmmintrin.h>.
64133 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64135         * conform/conformtest.pl (@headers): Add fenv.h.
64136         * conform/data/fenv.h-data: New file.
64137         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64138         include of <math/fenv.h>.
64140         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64141         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64142         && !UNIX98].  Enables tests for XOPEN2K8.
64143         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64144         POSIX2008]: Likewise.
64146         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64147         (struct rusage): Do not expect type or its members.
64149         [BZ #3439]
64150         * math/math.h (FP_NAN): Define macro to integer constant usable in
64151         #if and use that to give value to enum constant.
64152         (FP_INFINITE): Likewise.
64153         (FP_ZERO): Likewise.
64154         (FP_SUBNORMAL): Likewise.
64155         (FP_NORMAL): Likewise.
64157 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64159         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64160         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64161         arguments.
64163 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64165         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64166         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64167         autoconf-time if not.
64168         * configure.in: Remove AC_PREREQ.
64170 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64172         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64173         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64174         of the internal implementation.
64176 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64178         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64179         except include of <misc/sys/syslog.h>.
64181 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64184         function returns with a NULL context exit with zero.
64186 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64188         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64190 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64192         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64193         (run_program_cmd): This.
64194         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64195         (tst_langinfo): New variable.  Use it.
64197 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
64199         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64200         floating point opcodes.
64202 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64204         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64205         variable.
64207         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64209         * sysdeps/mach/hurd/powerpc: Remove directory.
64210         * sysdeps/mach/powerpc: Likewise.
64212 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64214         * scripts/check-local-headers.sh: Ignore c++ headers.
64216 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64218         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64219         __libc_cleanup_region_start argument.
64221 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
64223         [BZ #14784]
64224         [BZ #14785]
64225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64226         x * y using scaling, not as x * y + z.
64227         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64228         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64229         * math/libm-test.inc (fma_test): Add more tests.
64230         (fma_test_towardzero): Likewise.
64231         (fma_test_downward): Likewise.
64232         (fma_test_upward): Likewise.
64234 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64236         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64238 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64240         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64241         New variable.
64243 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
64245         * rt/tst-shm.c (worker): Correct checking for mmap failure.
64247 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64250         Fix sort order.
64251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64252         Likewise.
64254 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64257         Fix the order of the list for glibc 2.17.
64258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64259         Likewise.
64261 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64265 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64267         [BZ #14610]
64268         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64269         for low part of x being zero before using __atanl (y).
64270         * math/libm-test.inc (atan2_test): Add another test.
64272         * manual/install.texi (Configuring and compiling): Document
64273         general use of test-wrapper and test-wrapper-env.
64274         * INSTALL: Regenerated.
64276         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64277         (__fma): Do not extract and scale down low bits on after-rounding
64278         systems when result rounded to normal precision would have normal
64279         exponent.
64280         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64281         (__fmal): Do not extract and scale down low bits on after-rounding
64282         systems when result rounded to normal precision would have normal
64283         exponent.
64284         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64285         (__fmal): Do not extract and scale down low bits on after-rounding
64286         systems when result rounded to normal precision would have normal
64287         exponent.
64288         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64289         macro.
64290         (fma_test): Add more tests.
64291         (fma_test_towardzero): Likewise.
64292         (fma_test_downward): Likewise.
64293         (fma_test_upward): Likewise.
64295 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
64297         * sysdeps/i386/tininess.h: Renamed to ...
64298         * sysdeps/x86/tininess.h: This.
64299         * sysdeps/x86_64/tininess.h: Removed.
64301 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64303         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64304         input.  Use $(build-program-cmd).
64305         ($(objpfx)tst-array1-static.out): Likewise.
64306         ($(objpfx)tst-array2.out): Likewise.
64307         ($(objpfx)tst-array3.out): Likewise.
64308         ($(objpfx)tst-array4.out): Likewise.
64309         ($(objpfx)tst-array5.out): Likewise.
64310         ($(objpfx)tst-array5-static.out): Likewise.
64312 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
64314         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64315         if defined.
64317         * nss/nsswitch.h (nss_interface_function): Provide new
64318         macro for use with NSS functions.
64319         * grp/initgroups.c: Use new macro.
64320         * nss/getXXbyYY.c: Likewise.
64321         * nss/getXXbyYY_r.c: Likewise.
64322         * nss/getXXent.c: Likewise.
64323         * nss/getXXent_r.c: Likewise.
64324         * sysdeps/posix/getaddrinfo.c: Likewise.
64326 2012-10-30  Andreas Jaeger  <aj@suse.de>
64328         * po/ru.po: Update Russion translation from translation project.
64330 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64332         [BZ #14152]
64333         [BZ #14783]
64334         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64335         result and shift together with sticky bit instead of replicating
64336         round-to-nearest rounding.
64337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64338         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64339         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
64340         missing underflow exceptions.
64341         (fma_test_towardzero): Add more tests.
64342         (fma_test_downward): Likewise.
64343         (fma_test_upward): Likewise.
64345         [BZ #14047]
64346         * sysdeps/generic/tininess.h: New file.
64347         * sysdeps/i386/tininess.h: Likewise.
64348         * sysdeps/sh/tininess.h: Likewise.
64349         * sysdeps/x86_64/tininess.h: Likewise.
64350         * stdlib/tst-strtod-underflow.c: Likewise.
64351         * stdlib/tst-tininess.c: Likewise.
64352         * stdlib/strtod_l.c: Include <tininess.h>.
64353         (round_and_return): Do not set errno for exact underflow cases.
64354         Force an underflow exception when setting errno for underflow.
64355         Determine underflow based on rounding to normal precision if
64356         TININESS_AFTER_ROUNDING.
64357         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64358         ERANGE for exact underflow cases.
64359         * stdlib/Makefile (tests): Add tst-tininess and
64360         tst-strtod-underflow.
64361         ($(objpfx)tst-tininess): Use $(link-libm).
64362         ($(objpfx)tst-strtod-underflow): Likewise.
64364 2012-10-30  Andreas Jaeger  <aj@suse.de>
64366         [BZ#14767]
64367         * elf/Makefile (tests): Remove conditional for have-initfini-array
64368         since this is now always required and the variable does not exist
64369         anymore.
64370         (tests-static): Likewise.
64371         (modules-names): Likewise.
64373         * po/eo.po: Add Esperanto translation from translation project.
64375         * elf/tst-array1.c (fini_array): Make writeable so that it can be
64376         merged with constructor/destructor.
64377         (init_array): Likewise.
64378         * elf/tst-array2dep.c (fini_array): Likewise.
64379         (init_array): Likewise.
64381 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
64383         * manual/message.texi: Delete @cartouche tags.
64385 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
64387         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64388         EOPNOTSUPP.
64389         * sysdeps/mach/hurd/fsync.c: Likewise.
64391         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64392         [_POSIX_REALTIME_SIGNALS]: Change condition to
64393         [_POSIX_REALTIME_SIGNALS > 0].
64395 2012-10-27  Andreas Jaeger  <aj@suse.de>
64397         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64398         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64399         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64400         [__WORDSIZE != 64]: Likewise.
64402 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
64404         *  iconvdata/tst-table.sh: Remove ${SHELL}.
64405         *  iconvdata/tst-tables.sh: Likewise.
64407 2012-10-25  David S. Miller  <davem@davemloft.net>
64409         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64410         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64411         of strtoull.
64413         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64414         ifunc-impl-list.c
64415         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64416         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64417         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64418         file.
64420 2012-10-25  Roland McGrath  <roland@hack.frob.com>
64422         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64423         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64424         __getdirentries.
64426 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64427             Jim Blandy  <jimb@codesourcery.com>
64429         * scripts/cross-test-ssh.sh: New file.
64430         * manual/install.texi (Configuring and compiling): Document use of
64431         cross-test-ssh.sh.
64432         * INSTALL: Regenerated.
64434 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
64436         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64437         EOPNOTSUPP.
64439 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64441         * Makeconfig (run-program-prefix): Fix comment.
64443 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64444             Jim Blandy  <jimb@codesourcery.com>
64446         * Makeconfig (test-wrapper): New variable,
64447         (test-wrapper-env): Likewise.
64448         [$(cross-compiling) = yes && $(test-wrapper) != ""]
64449         (run-built-tests): Define to yes.
64450         (run-program-prefix): Use $(test-wrapper).
64451         (built-program-cmd): Likewise.
64452         * Rules (make-test-out): Use $(test-wrapper-env) and
64453         $(host-built-program-cmd).
64454         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64455         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64456         tst-pathopt.sh.
64457         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64458         $(test-wrapper-env) to tst-rtld-load-self.sh.
64459         ($(objpfx)order2.out): Use $(test-wrapper).
64460         ($(objpfx)tst-initorder.out): Likewise.
64461         ($(objpfx)tst-initorder2.out): Likewise.
64462         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64463         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64464         (test_wrapper_env): New variable.  Use it to run ld.so.
64465         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64466         Use it to run ld.so.
64467         (test_wrapper_env): Likewise.
64468         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64469         $(test-wrapper) to run-iconv-test.sh.
64470         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64471         (ICONV): Use $test_wrapper.
64472         * posix/Makefile ($(objpfx)globtest.out): Pass
64473         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64474         globtest.sh, not $(run-program-prefix).
64475         * posix/globtest.sh (run_via_rtld_prefix): New variable.
64476         (test_wrapper): Likewise.
64477         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
64478         set together with run_via_rtld_prefix.
64479         (run_program_prefix): Define in terms of test_wrapper and
64480         run_via_rtld_prefix.
64482 2012-10-24  Roland McGrath  <roland@hack.frob.com>
64484         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64485         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64486         Targets removed.
64488         [BZ #14743]
64489         * include/time.h: Remove librt_hidden_proto (clock_gettime).
64490         Declare __clock_getres, __clock_gettime, __clock_settime,
64491         __clock_nanosleep, and __clock_getcpuclockid.
64492         * rt/clock_gettime.c: Define __clock_gettime as an alias.
64493         Remove librt_hidden_def (clock_gettime).
64494         * sysdeps/unix/clock_gettime.c: Likewise.
64495         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64496         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64497         * rt/clock_getres.c: Define __clock_getres as an alias.
64498         * sysdeps/posix/clock_getres.c: Likewise.
64499         * rt/clock_settime.c: Define __clock_settime as an alias.
64500         * sysdeps/unix/clock_settime.c: Likewise.
64501         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64502         * sysdeps/unix/clock_nanosleep.c: Likewise.
64503         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64504         * rt/clock-compat.c: New file.
64505         * rt/Makefile (librt-routines): Add clock-compat and move
64506         $(clock-routines) to ...
64507         (routines): ... here, new variable.
64508         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64509         Don't add get_clockfreq here.
64510         * rt/Versions (libc: GLIBC_2.17): New version set.
64511         Add clock_* symbols here.
64512         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
64513         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64514         (GLIBC_2.17): Add clock_* symbols.
64515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64517         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64519         Likewise.
64520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64521         Likewise.
64522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64526         * NEWS: Mention the move.
64528         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64529         Use __open, __read, __close rather than their public counterparts.
64530         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64531         (__get_clockfreq_via_cpuinfo): Likewise.
64532         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64533         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64535         * config.h.in (HAVE_IFUNC): New #undef.
64536         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64537         was successful.
64538         * configure: Regenerated.
64540 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64542         * configure.in: Move READELF check to start of file.
64543         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64544         libc_cv_asm_gnu_indirect_function in the process.
64545         * configure: Regenerated.
64547 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64549         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64550         send the output to /dev/null.
64551         (libc_cv_cc_with_libunwind): Likewise.
64552         (libc_cv_as_noexecstack): Likewise.
64553         * configure: Regenerate.
64555 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64557         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64559         * posix/globtest.sh (TMPDIR): Do not set.
64560         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64561         (testout): Likewise.
64563 2012-10-24  Andreas Jaeger  <aj@suse.de>
64565         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64566         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64567         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64568         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64569         posix_fadvise64, posix_fallocate64.
64571         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64572         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64573         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64574         Likewise.
64575         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64576         Likewise.
64577         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64579         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64580         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64581         <bits/fcntl-linux.h>.
64582         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64584         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64585         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64586         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64587         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64588         [__WORDSIZE != 64]: Likewise.
64590 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64592         * Makeconfig (run-built-tests): New variable.
64593         * Rules [$(cross-compiling) = yes]: Change condition to
64594         [$(run-built-tests) = no].
64595         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64596         to [$(run-built-tests) = yes].
64597         * elf/Makefile [$(cross-compiling) = no]: Likewise.
64598         * grp/Makefile [$(cross-compiling) = no]: Likewise.
64599         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64600         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64601         * intl/Makefile [$(cross-compiling) = no]: Likewise.
64602         * io/Makefile [$(cross-compiling) = no]: Likewise.
64603         * libio/Makefile [$(cross-compiling) = no]: Likewise.
64604         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64605         * misc/Makefile [$(cross-compiling) = no]: Likewise.
64606         * posix/Makefile [$(cross-compiling) = no]: Likewise.
64607         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64608         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64609         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64610         * string/Makefile [$(cross-compiling) = no]: Likewise.
64612         * posix/Makefile ($(objpfx)globtest.out): Pass
64613         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64614         $(rtld-installed-name).
64615         * posix/globtest.sh (elf_objpfx): Remove variable.
64616         (rtld_installed_name): Likewise.
64617         (library_path): Likewise.
64618         (run_program_prefix): New variable.  Use for running globtest
64619         binary.
64621 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
64622             Joseph Myers  <joseph@codesourcery.com>
64624         * Makeconfig (host-built-program-cmd): New variable.
64625         * elf/Makefile (tst-stackguard1-ARGS): Use
64626         $(host-built-program-cmd).
64627         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64628         (tst-spawn-ARGS): Likewise.
64629         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64631 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64632             Jim Blandy  <jimb@codesourcery.com>
64634         * Makeconfig (run-via-rtld-prefix): New variable.
64635         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64636         (built-program-cmd): Likewise.
64638 2012-10-22  Andreas Jaeger  <aj@suse.de>
64640         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64641         __O_RSYNC if it exists, otherwise to O_SYNC.
64643 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
64644             Joseph Myers  <joseph@codesourcery.com>
64646         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64647         /dev/null.
64648         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64649         from /dev/null
64650         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64651         /dev/null.
64653 2012-10-22  Andreas Jaeger  <aj@suse.de>
64655         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64656         Define always.
64657         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64660         bits/fcntl-linux.h.
64662         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64663         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64665         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64666         to __O_LARGEFILE.
64667         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64668         to __O_LARGEFILE.
64670 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
64671             Joseph Myers  <joseph@codesourcery.com>
64673         * config.make.in (NM): New variable.
64675 2012-10-21  Andreas Jaeger  <aj@suse.de>
64677         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64678         definitions and declarations that are provided by
64679         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64681 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64683         [BZ #14683]
64684         * elf/Makefile (tests-static): Add tst-leaks1-static.
64685         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64686         ($(objpfx)tst-leaks1-static): New rule.
64687         ($(objpfx)tst-leaks1-static-mem): Likewise.
64688         (tst-leaks1-static-ENV): New macro.
64689         * elf/dl-open.c (dl_open_worker): Check the main application
64690         only if SHARED is defined.
64691         * elf/tst-leaks1-static.c: New file.
64693 2012-10-20  Andreas Jaeger  <aj@suse.de>
64695         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64696         generic values for Linux.
64697         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64698         and declarations that are provided by <bits/fcntl-linux.h> and
64699         include <bits/fcntl-linux.h>.
64700         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64701         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64703 2012-10-20  Roland McGrath  <roland@hack.frob.com>
64705         * io/fcntl.h: Move include of <bits/types.h> to the top and
64706         include it unconditionally.
64708 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64710         * wcsmbs/Makefile (tests-ifunc): New variable.
64711         (tests): Add $(tests-ifunc).
64712         * wcsmbs/test-wcschr-ifunc.c: New file.
64713         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64714         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64715         * wcsmbs/test-wcslen-ifunc.c: Likewise.
64716         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64717         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64719         * string/Makefile (tests-ifunc): New variable.
64720         (tests): Add $(tests-ifunc).
64721         * string/test-memccpy.c (TEST_NAME): New macro.
64722         * string/test-memchr.c (TEST_NAME): Likewise.
64723         * string/test-memcmp.c (TEST_NAME): Likewise.
64724         * string/test-memcpy.c (TEST_NAME): Likewise.
64725         * string/test-memmem.c (TEST_NAME): Likewise.
64726         * string/test-memmove.c (TEST_NAME): Likewise.
64727         * string/test-memset.c (TEST_NAME): Likewise.
64728         * string/test-rawmemchr.c (TEST_NAME): Likewise.
64729         * string/test-stpcpy.c (TEST_NAME): Likewise.
64730         * string/test-stpncpy.c (TEST_NAME): Likewise.
64731         * string/test-strcasecmp.c (TEST_NAME): Likewise.
64732         * string/test-strcasestr.c (TEST_NAME): Likewise.
64733         * string/test-strcat.c (TEST_NAME): Likewise.
64734         * string/test-strchr.c (TEST_NAME): Likewise.
64735         * string/test-strcmp.c(TEST_NAME): Likewise.
64736         * string/test-strcpy.c (TEST_NAME): Likewise.
64737         * string/test-strcspn.c (TEST_NAME): Likewise.
64738         * string/test-strlen.c (TEST_NAME): Likewise.
64739         * string/test-strncasecmp.c (TEST_NAME): Likewise.
64740         * string/test-strncmp.c (TEST_NAME): Likewise.
64741         * string/test-strncpy.c (TEST_NAME): Likewise.
64742         * string/test-strnlen.c (TEST_NAME): Likewise.
64743         * string/test-strpbrk.c (TEST_NAME): Likewise.
64744         * string/test-strrchr.c (TEST_NAME): Likewise.
64745         * string/test-strspn.c (TEST_NAME): Likewise.
64746         * string/test-strstr.c (TEST_NAME): Likewise.
64747         * string/test-bcopy-ifunc.c: New file.
64748         * string/test-bzero-ifunc.c: Likewise.
64749         * string/test-memccpy-ifunc.c: Likewise.
64750         * string/test-memchr-ifunc.c: Likewise.
64751         * string/test-memcmp-ifunc.c: Likewise.
64752         * string/test-memcpy-ifunc.c: Likewise.
64753         * string/test-memmem-ifunc.c: Likewise.
64754         * string/test-memmove-ifunc.c: Likewise.
64755         * string/test-mempcpy-ifunc.c: Likewise.
64756         * string/test-memset-ifunc.c: Likewise.
64757         * string/test-rawmemchr-ifunc.c: Likewise.
64758         * string/test-stpcpy-ifunc.c: Likewise.
64759         * string/test-stpncpy-ifunc.c: Likewise.
64760         * string/test-strcasecmp-ifunc.c: Likewise.
64761         * string/test-strcasestr-ifunc.c: Likewise.
64762         * string/test-strcat-ifunc.c: Likewise.
64763         * string/test-strchr-ifunc.c: Likewise.
64764         * string/test-strchrnul-ifunc.c: Likewise.
64765         * string/test-strcmp-ifunc.c: Likewise.
64766         * string/test-strcpy-ifunc.c: Likewise.
64767         * string/test-strcspn-ifunc.c: Likewise.
64768         * string/test-strlen-ifunc.c: Likewise.
64769         * string/test-strncasecmp-ifunc.c: Likewise.
64770         * string/test-strncat-ifunc.c: Likewise.
64771         * string/test-strncmp-ifunc.c: Likewise.
64772         * string/test-strncpy-ifunc.c: Likewise.
64773         * string/test-strnlen-ifunc.c: Likewise.
64774         * string/test-strpbrk-ifunc.c: Likewise.
64775         * string/test-strrchr-ifunc.c: Likewise.
64776         * string/test-strspn-ifunc.c: Likewise.
64777         * string/test-strstr-ifunc.c: Likewise.
64779         * debug/Makefile (tests-ifunc): New variable.
64780         (tests): Add $(tests-ifunc).
64781         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64782         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64783         * debug/test-stpcpy_chk-ifunc.c: New file.
64784         * debug/test-strcpy_chk-ifunc.c: Likewise.
64786 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64788         [BZ #13601]
64789         * elf/dl-load.c (open_verify): Retry read if the entire ELF
64790         header is not read in.
64792 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
64794         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
64795         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
64796         directly.  Pass built executable to script as
64797         $(built-program-cmd).
64798         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
64799         $testprogram without using LD_LIBRARY_PATH and $ldso.
64801         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64802         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64803         $(rtld-installed-name).
64804         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64805         (rtld_installed_name): Likewise.
64806         (library_path): Likewise.
64807         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
64808         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64809         $(run-program-prefix) to tst-tables.sh.
64810         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
64811         it to run tst-table-from and tst-table-to.
64812         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64813         Pass it to tst-table.sh.
64814         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64815         $(run-program-prefix) to tst-gettext.sh.
64816         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64817         tst-translit.sh.
64818         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64819         tst-gettext2.sh.
64820         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
64821         to run tst-gettext.
64822         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
64823         to run tst-gettext2.
64824         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
64825         to run tst-translit.
64826         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64827         $(run-program-prefix) to tst-mtrace.sh.
64828         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
64829         to run tst-mtrace.
64830         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64831         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64832         $(rtld-installed-name).
64833         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64834         (rtld_installed_name): Likewise.
64835         (run_program_prefix): New variable.  Use it to run wordexp-test.
64837         * Makeconfig (ARCH): Remove all definitions.
64838         (machine): Likewise.
64839         [ARCH]: Remove conditional code.
64840         [!objdir]: Give error.
64841         [!objdir] (objpfx): Remove.
64842         [!objdir] (common-objpfx): Likewise.
64843         [!objdir] (common-objdir): Likewise.
64844         * configure.in (config_makefile): Remove.  Hardcode Makefile in
64845         AC_CONFIG_FILES call.
64846         * configure: Regenerated.
64848         [BZ #13888]
64849         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64850         or TMPDIR.
64851         (testout): Likewise.
64853         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64854         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64855         $(rtld-installed-name).
64856         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64857         (rtld_installed_name): Likewise.
64858         (runit): Remove function.
64859         (run_getconf): New variable,  Use it for running getconf binary.
64861 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
64863         [BZ #14716]
64864         * string/test-memmem.c (check_result): New function.
64865         (do_one_test): Use it.
64866         (check1): New function.
64867         (test_main): Use it.
64869 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
64871         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64873 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
64875         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64876         (_G_LSEEK64): Likewise.
64877         (_G_MMAP64): Likewise.
64878         (_G_FSTAT64): Likewise.
64879         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64880         (_G_LSEEK64): Likewise.
64881         (_G_MMAP64): Likewise.
64882         (_G_FSTAT64): Likewise.
64883         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64884         unconditional.  Call __mmap64 directly.
64885         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64886         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
64887         __lseek64 directly.
64888         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64889         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
64890         __mmap64 directly.
64891         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64892         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64893         __lseek64 directly.
64894         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64895         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64896         __lseek64 directly.
64897         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64898         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
64899         __lseek64 directly.
64900         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64901         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
64902         __fxstat64 directly.
64903         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64904         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64905         unconditional.
64906         (freopen64) [!_G_OPEN64]: Remove conditional code.
64907         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64908         unconditional.
64909         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64910         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64911         unconditional.
64912         (ftello64) [!_G_LSEEK64]: Remove conditional code.
64913         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64914         unconditional.
64915         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64916         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64917         unconditional.
64918         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64919         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64920         unconditional.
64921         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64922         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64923         unconditional.
64924         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64925         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64926         unconditional.
64927         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64929 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64931         [BZ #12140]
64932         * manual/memory.texi (Malloc Tunable Parameters): Add note
64933         about free list pointers overwriting some perturb bytes.
64934         Wording suggested by Roland McGrath.
64936 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
64938         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64939         (lgamma_test): Likewise.
64940         (tgamma_test): Likewise.
64942 2012-10-16  Florian Weimer  <fweimer@redhat.com>
64944         [BZ #14700]
64945         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64946         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64948 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
64950         * NEWS: Mention BZ #14716.
64951         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64952         when removing AVAILABLE1_USES_J macro.
64954 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
64956         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64957         (__bswap_64): __uint64_t for unsigned 64-bit int.
64959 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
64961         * include/string.h (memmem): Declare libc hidden alias.
64962         * string/memmem.c (memmem): Define libc hidden alias.
64963         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64964         __read, __close instead of open, read, close.
64966 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
64968         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64969         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64970         global and hidden.
64971         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64972         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64973         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64974         Likewise.
64975         (__rawmemchr_sse2): Likewise.
64976         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64977         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64978         (__strchr_sse2): Likewise.
64979         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64980         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64981         (__strcasecmp_sse2): Likewise.
64982         (__strncasecmp_sse2): Likewise.
64983         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64984         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64985         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64986         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
64987         (__strrchr_sse2): Likewise.
64988         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
64989         ifunc-impl-list.c.
64990         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
64991         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
64992         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
64993         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64994         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
64995         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
64996         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64997         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64998         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
64999         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65000         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65001         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65002         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65003         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65004         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65005         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65006         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65007         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65008         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65009         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65010         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65011         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65012         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65013         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65014         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65015         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65016         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65017         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65018         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65019         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65021         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65022         global and hidden.
65023         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65024         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65025         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65026         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65027         Likewise.
65028         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65029         Likewise.
65030         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65031         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65032         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65033         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65034         ifunc-impl-list.c.
65035         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65036         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65037         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65038         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65039         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65040         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65041         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65042         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65043         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65044         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65045         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65046         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65047         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65048         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65049         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65050         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65051         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65052         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65053         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65054         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65055         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65056         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65057         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65058         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65059         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65060         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65061         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65062         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65063         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65064         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65065         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65066         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65067         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65068         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65069         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65070         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65071         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65072         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65073         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65074         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65075         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65077         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65078         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65079         * include/ifunc-impl-list.h: New file.
65080         * misc/ifunc-impl-list.c: Likewise.
65081         * misc/Makefile (routines): Add ifunc-impl-list.
65082         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65083         * string/test-string.h: Include <ifunc-impl-list.h>.
65084         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65085         TEST_NAME]: New variables.
65086         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65087         are defined.
65088         (test_init): Call __libc_ifunc_impl_list to initialize
65089         func_list if TEST_IFUNC and TEST_NAME are defined.
65091         * string/Makefile (strop-tests): Add bcopy and bzero.
65092         * string/test-bcopy.c: New file.
65093         * string/test-bzero.c: Likewise.
65094         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65095         defined.
65096         * string/test-memset.c: Support bzero test if TEST_BZERO is
65097         defined.
65098         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65099         __libc_memmove.
65100         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65101         __libc_memset.
65102         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65103         of memset.
65105 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65107         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65108         * configure: Regenerated.
65110         * Makeconfig (+link-static-before-libc): Don't include
65111         $(link-static-libc).
65113         * libio/libio.h (_IO_pos_t): Remove.
65115 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65117         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65118         McGrath.
65120 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65122         * crypt/crypt-entry.c: Include fips-private.h.
65123         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65124         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65125         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65126         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65128 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65130         * crypt/crypt-private.h: Include stdbool.h.
65131         (_ufc_setup_salt_r): Return bool.
65132         * crypt/crypt-entry.c: Include errno.h.
65133         (__crypt_r): Return NULL with EINVAL for bad salt.
65134         * crypt/crypt_util.c (bad_for_salt): New.
65135         (_ufc_setup_salt_r): Check that salt is long enough and within
65136         the specified alphabet.
65137         * crypt/badsalttest.c: New file.
65138         * crypt/Makefile (tests): Add it.
65139         ($(objpfx)badsalttest): New.
65141 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65143         * NEWS: Add entry for BZ #14602.
65145 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65147         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65148         type-generic.
65149         * math/libm-test.inc: Update comment listing what functions and
65150         macros are tested.
65151         (isgreater_test): New function.
65152         (isgreaterequal_test): Likewise.
65153         (isless_test): Likewise.
65154         (islessequal_test): Likewise.
65155         (islessgreater_test): Likewise.
65156         (isunordered_test): Likewise.
65157         (main): Call the new functions.
65159 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65161         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65162         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65163         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65164         * sysdeps/i386/configure: Regenerated.
65165         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65166         * sysdeps/mach/configure: Regenerated.
65167         * sysdeps/mach/hurd/configure: Regenerated.
65168         * sysdeps/powerpc/configure: Regenerated.
65169         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65170         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65171         * sysdeps/s390/s390-32/configure: Regenerated.
65172         * sysdeps/s390/s390-64/configure: Regenerated.
65173         * sysdeps/sh/configure: Regenerated.
65174         * sysdeps/sparc/configure: Regenerated.
65175         * sysdeps/unix/sysv/linux/configure: Regenerated.
65176         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65177         * sysdeps/x86_64/configure: Regenerated.
65179         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65180         defined.  Don't check if MAP is NULL.
65182 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65184         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65185         (_G_stat64): Likewise.
65186         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65187         (_G_stat64): Likewise.
65188         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65189         instead of struct _G_stat64.
65190         * libio/fileops.c (mmap_remap_check): Likewise.
65191         (decide_maybe_mmap): Likewise.
65192         (_IO_new_file_seekoff): Likewise.
65193         (_IO_file_stat): Likewise.
65194         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65195         _G_off64_t.
65196         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65197         instead of struct _G_stat64.
65198         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65200 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
65202         [BZ #14602]
65203         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65204         Replace with ...
65205         (CHECK_EOL): New macro.
65206         (two_way_short_needle): Check beginning of haystack for EOL.  Use
65207         CHECK_EOL.
65208         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65209         Replace with CHECK_EOL.
65210         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65211         Replace with CHECK_EOL.
65213 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
65215         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65216         type-generic.
65217         * math/libm-test.inc: Update comment listing what functions and
65218         macros are tested.
65219         (finite_test): New function.
65220         (isinf_test): Likewise.
65221         (isnan_test): Likewise.
65222         (fpclassify_test): Test subnormal input.
65223         (isfinite_test): Likewise.
65224         (isnormal_test): Likewise.
65225         (main): Call the new functions.
65227 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
65229         [BZ #14660]
65230         * Makerules (%.dynsym): Force C locale when running
65231         $(OBJDUMP) --dynamic-syms.
65233 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
65235         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65236         <stdint.h>.
65238 2012-10-06  David S. Miller  <davem@davemloft.net>
65240         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65241         upper 32-bits of the length value in %o2 since we use branch-on-register
65242         tests which consider the entire 64-bit register.
65244 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
65246         * string/test-strstr.c (check2): Add a test for page boundary.
65248 2012-10-05  David S. Miller  <davem@davemloft.net>
65250         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65251         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65252         file.
65253         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65254         sysdep_routines.
65255         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65256         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65257         and bzero when HWCAP_SPARC_CRYPTO is present.
65259 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
65261         [BZ #14602]
65262         * string/test-strstr.c (check2): New function.
65263         (test_main): Call check2.
65265         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65266         and bug-strchr1.
65267         * string/bug-strcasestr1.c (do_test): Moved to ...
65268         * string/test-strcasestr.c (check1): Here.  New function.
65269         (do_one_test): Break out result checking code into ...
65270         (check_result): This.  New function.
65271         (do_one_test): Call check_result.
65272         (test_main): Call check1.
65273         * string/bug-strchr1.c (do_test): Moved to ...
65274         * string/test-strchr.c (check1): Here.  New function.
65275         (do_one_test): Break out result checking code into ...
65276         (check_result): This.  New function.
65277         (do_one_test): Call check_result.
65278         (test_main): Call check1.
65279         * string/bug-strstr1.c (main): Moved to ...
65280         * string/test-strstr.c (check1): Here.  New function.
65281         (do_one_test): Break out result checking code into ...
65282         (check_result): This.  New function.
65283         (do_one_test): Call check_result.
65284         (test_main): Call check1.
65285         * string/bug-strcasestr1.c: Removed.
65286         * string/bug-strchr1.c: Likewise.
65287         * string/bug-strstr1.c: Likewise.
65289         * elf/Makefile (dl-routines): Add hwcaps.
65290         * elf/dl-support.c (_dl_important_hwcaps): Removed.
65291         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65292         (_dl_important_hwcaps): Moved to ...
65293         * elf/dl-hwcaps.c: Here.  New file.
65294         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65296         [BZ #14557]
65297         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65298         if IS_IN_rtld isn't defined.
65300         * elf/dl-support.c (_dl_sysinfo_map): New.
65301         Include "get-dynamic-info.h" and "setup-vdso.h".
65302         (_dl_non_dynamic_init): Call setup_vdso.
65303         * elf/dynamic-link.h: Don't include <assert.h>.
65304         (elf_get_dynamic_info): Moved to ...
65305         * elf/get-dynamic-info.h: Here.  New file.
65306         * elf/dynamic-link.h: Include "get-dynamic-info.h".
65307         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65308         * elf/setup-vdso.h: Here.  New file.
65309         * elf/rtld.c: Include "setup-vdso.h".
65310         (dl_main): Call setup_vdso.
65312 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
65314         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65315         creal in comment listing functions tested.  List finite, isinf,
65316         isnan, isless, islessequal, isgreater, isgreaterequal,
65317         islessgreater, isunordered, lgamma_r and pow10 as functions and
65318         macros not tested.  Mention which functions not tested are aliases
65319         for other functions.  Fix typo.  Note that signs of NaNs are not
65320         tested.
65322         * scripts/config.guess: Update from config.git.
65323         * scripts/config.sub: Likewise.
65325 2012-10-04  Roland McGrath  <roland@hack.frob.com>
65327         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65328         * misc/madvise.c (madvise): Renamed to __madvise.
65329         Make madvise a weak alias.
65330         * include/sys/mman.h: Declare __madvise.
65331         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65332         * sysdeps/unix/syscalls.list
65333         (madvise): Make __madvise the strong name, and madvise a weak alias.
65334         * sysdeps/unix/sysv/linux/syscalls.list
65335         (madvise, mmap): Remove redundant entries.
65336         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65337         * malloc/malloc.c (mtrim): Likewise.
65338         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65340 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65342         * sysdeps/mach/hurd/dl-cache.c: File removed.
65343         * config.h.in (USE_LDCONFIG): New #undef.
65344         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65345         * configure: Regenerated.
65346         * elf/Makefile (dl-routines): Add dl-cache only under
65347         [$(use-ldconfig) = yes].
65348         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65349         cache on [USE_LDCONFIG].
65350         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65351         [USE_LDCONFIG].
65352         * elf/rtld.c (dl_main): Likewise.
65354 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
65356         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65357         _SC_LEVEL4_CACHE_LINESIZE.
65359 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65361         * sysdeps/unix/bsd/confstr.h: File removed.
65363 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
65365         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65366         sys/sdt-config.h.
65368 2012-10-02  Roland McGrath  <roland@hack.frob.com>
65370         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65371         Make 'mapoff' field ElfW(Off) rather than off_t.
65373 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
65375         * nscd/Makefile: Remove nscd-cflags and all its users.
65376         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65377         (CFLAGS-nonlib): Add compiler flags for nscd modules.
65379         [BZ #10631]
65380         * malloc.c (malloc_printerr): Clarify error message.
65382 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
65384         [BZ #14648]
65385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65386         Set bit_FMA_Usable if FMA is supported.
65387         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65388         macro.
65389         (bit_FMA4_Usable): Updated.
65390         (index_FMA_Usable): New macro.
65391         (CPUID_FMA): Likewise.
65392         (HAS_FMA): Defined with bit_FMA_Usable.
65394 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65396         * bits/types.h (__swblk_t): Type removed.
65397         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65398         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65399         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65400         (__SWBLK_T_TYPE): Likewise.
65401         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65402         (__SWBLK_T_TYPE): Likewise.
65403         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65404         (__SWBLK_T_TYPE): Likewise.
65405         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65406         (__SWBLK_T_TYPE): Likewise.
65408 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
65409             Honza Horak <hhorak@redhat.com>
65411         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65412         (xdr_mapname): Use YPMAXMAP as maxsize.
65413         (xdr_peername): Use YPMAXPEER as maxsize.
65414         (xdr_keydat): Use YPAXRECORD as maxsize.
65415         (xdr_valdat): Use YPMAXRECORD as maxsize.
65417 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65419         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65421         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65422         * csu/init-first.c: ... here.
65423         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65424         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65425         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65426         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65427         * sysdeps/i386/init-first.c: File removed.
65428         * sysdeps/sh/init-first.c: File removed.
65430 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
65432         [BZ #14645]
65433         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65434         if x * y might underflow to zero and z is zero.
65435         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65436         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65437         * math/libm-test.inc (min_subnorm_value): New variable.
65438         (fma_test): Add more tests.
65439         (fma_test_towardzero): Likewise.
65440         (fma_test_downward): Likewise.
65441         (fma_test_upward): Likewise.
65442         (initialize): Set min_subnorm_value.
65444 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
65446         [BZ #14638]
65447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65448         0 + 0.
65449         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65450         mode for addition resulting in exact zero.
65451         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65452         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65453         exact 0 + 0.
65454         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65455         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65456         * math/libm-test.inc (fma_test): Add more tests.
65457         (fma_test_towardzero): New function.
65458         (fma_test_downward): Likewise.
65459         (fma_test_upward): Likewise.
65460         (main): Call the new functions.
65462 2012-09-28  David S. Miller  <davem@davemloft.net>
65464         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65466 2012-09-28  Roland McGrath  <roland@hack.frob.com>
65468         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65469         instead of SIGALRM.
65471         * sysdeps/gnu/_G_config.h: Moved to ...
65472         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65473         * sysdeps/mach/hurd/_G_config.h: Moved to ...
65474         * sysdeps/generic/_G_config.h: ... here.
65476         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
65478         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65480         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65481         Conditionalize target on [libnss_test1.so-version].
65483         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65485         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65486         (elfobjdir): Move out of conditionals.
65488         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65489         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65490         (__nss_lookup_function): Conditionalize label remove_from_tree on
65491         [!DO_STATIC_NSS || SHARED], matching its only use.
65493 2012-09-28  David S. Miller  <davem@davemloft.net>
65495         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65496         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65497         file.
65498         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65499         sysdep_routines.
65500         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65501         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65502         when HWCAP_SPARC_CRYPTO is present.
65504 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65506         * io/tst-mknodat.c: Create a FIFO instead of a socket.
65508 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
65510         [BZ #6530]
65511         * stdio-common/vfprintf.c (process_string_arg): Revert
65512         2000-07-22 change.
65514 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
65516         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65517         for testcase.
65518         * stdio-common/tst-sprintf.c: Include <locale.h>
65519         (main): Test sprintf's handling of incomplete multibyte
65520         characters.
65522 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
65524         * elf/dl-runtime.c (VERSYMIDX): Removed.
65525         * elf/dl-version.c (VERSYMIDX): Likewise.
65526         * elf/do-rel.h (VERSYMIDX): Likewise.
65527         (VALIDX): Likewise.
65528         * elf/dynamic-link.h (VERSYMIDX): Likewise.
65529         * elf/rtld.c (VALIDX): Likewise.
65530         (ADDRIDX): Likewise.
65531         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65532         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65533         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65534         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65535         (VALIDX): Likewise.
65536         (ADDRIDX): Likewise.
65538 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65540         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65542 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
65544         [BZ #11438]
65545         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65546         to global scope.
65547         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65548         addresses are in the same scope as 192.0.2/24.
65549         * posix/gai.conf: Document new scope table defaults.
65551 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65553         [BZ #5298]
65554         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65555         for ftell.  Compute offsets from write pointers instead.
65556         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65558 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65560         [BZ #14543]
65561         * libio/Makefile (tests): New test case tst-fseek.
65562         * libio/tst-fseek.c: New test case to verify that fseek/ftell
65563         combination works in wide mode.
65564         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65565         state when the external buffer state changes.
65567 2012-09-27  David S. Miller  <davem@davemloft.net>
65569         [BZ #14376]
65570         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65571         pass reloc->r_addend in as the 'high' argument to
65572         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65576 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65578         * rt/tst-aio2.c: Include <pthread.h>.
65579         * rt/tst-aio3.c: Likewise.
65581 2012-09-27  Steve Ellcey  <sellcey@mips.com>
65583         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65585 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
65587         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65588         contents on [SHARED].
65590 2012-09-26  Marek Polacek  <polacek@redhat.com>
65592         [BZ #14530]
65593         [BZ #13741]
65594         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65595         for C++ and GCC <4.3 as well as for non GCC compilers.
65597 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65601 2012-09-25  Roland McGrath  <roland@hack.frob.com>
65603         * Makefile.in (all, install): Declare with .PHONY.
65604         Reported by Michael Hope <michael.hope@linaro.org>.
65606 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65608         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65609         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65610         system header.
65611         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65612         Likewise.
65613         (sydep_routines): Add the new and the internal functions.
65614         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65615         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65617         (GLIBC_2.17): Add the new function.
65618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65619         (GLIBC_2.17): Likewise.
65620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65621         (GLIBC_2.17): Likewise.
65622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65623         (GLIBC_2.17): Likewise.
65624         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65626 2012-09-25  Alan Modra  <amodra@gmail.com>
65628         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65629         Add release barrier before setting once_control to say
65630         initialisation is done.  Add hints on lwarx.  Use macro in
65631         place of isync.
65632         (clear_once_control): Add release barrier.
65634 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65636         [BZ #13629]
65637         * math/s_clog.c (__clog): Handle more values close to |z| = 1
65638         specially.
65639         * math/s_clog10.c (__clog10): Likewise.
65640         * math/s_clog10f.c (__clog10f): Likewise.
65641         * math/s_clog10l.c (__clog10l): Likewise.
65642         * math/s_clogf.c (__clogf): Likewise.
65643         * math/s_clogl.c (__clogl): Likewise.
65644         * math/Makefile (libm-calls): Add x2y2m1.
65645         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65646         (__x2y2m1): Likewise.
65647         (__x2y2m1l): Likewise.
65648         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65649         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65650         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65651         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65652         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65653         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65654         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65655         * sysdeps/i386/fpu/libm-test-ulps: Update.
65656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65658         [BZ #14621]
65659         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65660         int as type of variable DEPTH.
65661         (glob): Use size_t instead of int as type of variables NEWCOUNT
65662         and OLD_PATHC.
65664 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65666         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65667         Add s_sincosf-sse2.
65668         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65669         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65670         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65671         macros for using routine as __sincosf_ia32.
65672         Use macro for function declaration and weak_alias.
65673         * sysdeps/i386/fpu/libm-test-ulps: Update.
65675         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65676         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65678         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65679         subnormal argument.
65680         * math/s_cexpf.c (__cexpf): Likewise.
65681         * math/s_csinf.c (__csinf): Likewise.
65682         * math/s_csinhf.c (__csinhf): Likewise.
65683         * math/s_ctanf.c (__ctanf): Likewise.
65684         * math/s_ctanhf.c (__ctanhf): Likewise.
65685         * math/s_ccosh.c (__ccoshf): Likewise.
65686         * math/s_cexp.c (__cexpl): Likewise.
65687         * math/s_csin.c (__csin): Likewise.
65688         * math/s_csinh.c (__csinh): Likewise.
65689         * math/s_ctan.c (__ctan): Likewise.
65690         * math/s_ctanh.c (ctanh): Likewise.
65691         * math/s_ccoshl.c (__ccoshl): Likewise.
65692         * math/s_cexpl.c (__cexpl): Likewise.
65693         * math/s_csinl.c (__csinl): Likewise.
65694         * math/s_csinhl.c (__csinhl): Likewise.
65695         * math/s_ctanl.c (__ctanl): Likewise.
65696         * math/s_ctanhl.c (__ctanhl): Likewise.
65698 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65700         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65701         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65702         (_IO_off_t): Define to __off_t, not _G_off_t.
65703         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65704         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65705         (_IO_wint_t): Define to wint_t, not _G_wint_t.
65706         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65707         type of __dummy and __dummy2 fields.
65708         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65709         (_G_ssize_t): Likewise.
65710         (_G_off_t): Likewise.
65711         (_G_pid_t): Likewise.
65712         (_G_uid_t): Likewise.
65713         (_G_wchar_t): Likewise.
65714         (_G_wint_t): Likewise.
65715         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65716         (_G_ssize_t): Likewise.
65717         (_G_off_t): Likewise.
65718         (_G_pid_t): Likewise.
65719         (_G_uid_t): Likewise.
65720         (_G_wchar_t): Likewise.
65721         (_G_wint_t): Likewise.
65722         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65723         (_G_ssize_t): Likewise.
65724         (_G_off_t): Likewise.
65725         (_G_pid_t): Likewise.
65726         (_G_uid_t): Likewise.
65727         (_G_wchar_t): Likewise.
65728         (_G_wint_t): Likewise.
65730 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65732         * malloc/arena.c: Include malloc-sysdep.h.
65733         (shrink_heap): Use check_may_shrink_heap to decide if madvise
65734         is sufficient to shrink the heap or an unmap is needed.
65735         * sysdeps/generic/malloc-sysdep.h: New file.  Define
65736         new function check_may_shrink_heap.
65737         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
65738         new function check_may_shrink_heap.
65740 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65742         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65743         comments.
65745 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
65747         * catgets/test-gencat.sh: Add "set -e".
65748         * elf/tst-pathopt.sh: Likewise.
65749         * grp/tst_fgetgrent.sh: Likewise.
65750         * iconvdata/run-iconv-test.sh: Likewise.
65751         * intl/tst-gettext.sh: Likewise.
65752         * intl/tst-gettext2.sh: Likewise.
65753         * intl/tst-gettext4.sh: Likewise.
65754         * intl/tst-gettext6.sh: Likewise.
65755         * intl/tst-translit.sh: Likewise.
65756         * io/ftwtest-sh: Likewise.
65757         * libio/test-freopen.sh: Likewise.
65758         * malloc/tst-mtrace.sh: Likewise.
65759         * posix/globtest.sh: Likewise.
65760         * posix/tst-getconf.sh: Likewise.
65761         * posix/wordexp-tst.sh: Likewise.
65762         * stdio-common/tst-printf.sh: Likewise.
65763         * stdio-common/tst-unbputc.sh: Likewise.
65764         * stdlib/tst-fmtmsg.sh: Likewise.
65765         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65766         * catgets/Makefile: Do not specify -e option when running
65767         testsuite shell scripts.
65768         * elf/Makefile: Likewise.
65769         * grp/Makefile: Likewise.
65770         * iconvdata/Makefile: Likewise.
65771         * intl/Makefile: Likewise.
65772         * io/Makefile: Likewise.
65773         * libio/Makefile: Likewise.
65774         * malloc/Makefile: Likewise.
65775         * posix/Makefile: Likewise.
65776         * stdio-common/Makefile: Likewise.
65777         * stdlib/Makefile: Likewise.
65778         * sysdeps/x86_64/Makefile: Likewise.
65780         * io/ftwtest-sh: Add copyright header.
65781         * posix/globtest.sh: Likewise.
65782         * posix/tst-getconf.sh: Likewise.
65783         * posix/wordexp-tst.sh: Likewise.
65784         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65786 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
65788         [BZ #13679]
65789         * Makeconfig (+link): Defined as $(+link-static) if
65790         $(build-shared) isn't yes.
65791         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65792         isn't yes.
65793         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65795         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65797         [BZ #14562]
65798         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65799         new chunk size with MALLOC_ALIGN_MASK.
65801 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
65803         [BZ #5044]
65804         * stdio-common/printf_fphex.c: Include <stdbool.h> and
65805         <rounding-mode.h>.
65806         (__printf_fphex): Determine rounding using get_rounding_mode and
65807         round_away.
65808         * stdio-common/tst-printf-round.c (struct hex_test): New
65809         structure.
65810         (hex_tests): New variable.
65811         (test_hex_in_one_mode): New function.
65812         (do_test): Also run tests for hex float output.
65814 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
65816         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65817         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65818         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65819         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65820         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65821         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65822         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65823         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65825 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
65827         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65828         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65829         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65830         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65832 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
65834         [BZ #14579]
65835         * elf/rtld.c (dl_main): Limit the check for self loading to normal
65836         mode only.
65837         * elf/tst-rtld-load-self.sh: New test.
65838         * elf/Makefile: Run it.
65840 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
65842         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65843         (tst-writev-ENV): Remove.
65844         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65846 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
65848         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65850 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
65852         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65853         unconditional.
65854         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65855         Likewise.
65856         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65857         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65858         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65859         Likewise.
65861 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
65863         [BZ #14587]
65864         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65865         * config.make.in (have-cpp-asm-debuginfo): Removed.
65866         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65867         * configure: Regenerated.
65869 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
65871         [BZ #5044]
65872         * stdio-common/printf_fp.c: Include <stdbool.h> and
65873         <rounding-mode.h>.
65874         (___printf_fp): Determine rounding using get_rounding_mode and
65875         round_away.
65876         * stdio-common/tst-printf-round.c: New file.
65877         * stdio-common/Makefile (tests): Add tst-printf-round.
65878         (link-libm): New variable.
65879         ($(objpfx)tst-printf-round): Depend in $(link-libm).
65881 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
65883         [BZ #14576]
65884         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65885         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65886         Likewise.
65887         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65888         Likewise.
65890 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
65892         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65893         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65894         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65895         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65897 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
65899         [BZ #14518]
65900         * include/rounding-mode.h: New file.
65901         * sysdeps/generic/get-rounding-mode.h: Likewise.
65902         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65903         * stdlib/strtod_l.c: Include <rounding-mode.h>.
65904         (MAX_VALUE): New macro.
65905         (MIN_VALUE): Likewise.
65906         (overflow_value): New function.
65907         (underflow_value): Likewise.
65908         (round_and_return): Use overflow_value and underflow_value to
65909         determine return values in overflow and underflow cases.  Use
65910         round_away to determine rounding depending on rounding mode.
65911         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65912         determine return values in overflow and underflow cases.
65913         * stdlib/tst-strtod-round.c: Include <fenv.h>.
65914         (struct test_results): New structure.
65915         (struct test): Use struct test_results to store expected results
65916         for all rounding modes.
65917         (TEST): Include expected results for all rounding modes.
65918         (test_in_one_mode): New function.
65919         (do_test): Use test_in_one_mode to compute and check results.
65920         Check results for all rounding modes.
65921         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65922         $(link-libm).
65924 2012-12-09  Allan McRae  <allan@archlinux.org>
65926         * sysdeps/i386/fpu/libm-test-ulps: Update
65928 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
65930         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65931         (_G_int32_t): Likewise.
65932         (_G_uint16_t): Likewise.
65933         (_G_uint32_t): Likewise.
65934         (_G_HAVE_BOOL): Likewise.
65935         (_G_HAVE_ATEXIT): Likewise.
65936         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65937         (_G_HAVE_IO_FILE_OPEN): Likewise.
65938         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65939         (_G_int32_t): Likewise.
65940         (_G_uint16_t): Likewise.
65941         (_G_uint32_t): Likewise.
65942         (_G_HAVE_BOOL): Likewise.
65943         (_G_HAVE_ATEXIT): Likewise.
65944         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65945         (_G_HAVE_IO_FILE_OPEN): Likewise.
65946         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65947         (_G_int32_t): Likewise.
65948         (_G_uint16_t): Likewise.
65949         (_G_uint32_t): Likewise.
65950         (_G_HAVE_BOOL): Likewise.
65951         (_G_HAVE_ATEXIT): Likewise.
65952         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65953         (_G_HAVE_IO_FILE_OPEN): Likewise.
65955 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
65957         * csu/libc-tls.c: Update copyright years.
65959 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
65961         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65962         [!_G_USING_THUNKS]: Remove conditional code.
65963         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65964         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65966         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65967         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65968         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65969         (_G_VTABLE_LABEL_PREFIX): Likewise.
65970         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65971         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65972         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65973         (_G_VTABLE_LABEL_PREFIX): Likewise.
65974         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65975         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65976         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65977         (_G_VTABLE_LABEL_PREFIX): Likewise.
65978         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65980 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
65982         * libio/Makefile: Include ../Makeconfig before tests.
65983         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65984         only if $(build-shared) is yes.
65986         * iconv/gconv_db.c: Update copyright years.
65988 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65990         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
65991         unwind info if defined PIC. Fix special cases description.
65992         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
65994         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
65995         DP_HI_MASK entry.
65996         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
65998 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66000         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66002         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66003         is NULL.
66005         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66006         (LDLIBS-tst-chk4): This.
66007         (LDFLAGS-tst-chk5): Renamed to ...
66008         (LDLIBS-tst-chk5): This.
66009         (LDFLAGS-tst-chk6): Renamed to ...
66010         (LDLIBS-tst-chk6): This.
66011         (LDFLAGS-tst-lfschk4): Renamed to ...
66012         (LDLIBS-tst-lfschk4): This.
66013         (LDFLAGS-tst-lfschk5): Renamed to ...
66014         (LDLIBS-tst-lfschk5): This.
66015         (LDFLAGS-tst-lfschk6): Renamed to ...
66016         (LDLIBS-tst-lfschk6): This.
66018         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66019         on $(common-objpfx)soversions.mk.
66021 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66023         [BZ #10014]
66024         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66025         example host name.
66027 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66029         * malloc/arena.c (arena_get_retry): New function that gets
66030         another arena for the caller to try its request on.
66031         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66032         current arena cannot fulfill the request.
66033         (__libc_memalign): Likewise.
66034         (__libc_memalign): Likewise.
66035         (__libc_pvalloc): Likewise.
66036         (__libc_calloc): Likewise.
66038 2012-09-05  John Tobey  <john.tobey@gmail.com>
66040         [BZ #13542]
66041         * manual/arith.texi (Operations on Complex): Fix description
66042         of carg branch cut.
66044 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66046         [BZ #10014]
66047         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66048         host name.
66050         [BZ #10038]
66051         * manual/memory.texi (Memory): Make order of menu items match
66052         order of sections.
66054 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66056         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66057         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66058         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66060 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66062         * csu/libc-tls.c (static_dtv): Renamed to ...
66063         (_dl_static_dtv): This.  Make it global.
66064         (_dl_initial_dtv): Removed.
66065         (__libc_setup_tls): Updated.
66066         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66067         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66068         DL_INITIAL_DTV.
66070 2012-09-06  Petr Machata  <pmachata@redhat.com>
66072         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66073         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66074         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66075         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66077 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66079         [BZ #14545]
66080         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66081         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66082         freeing dtv[-1].
66084 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66086         [BZ #14544]
66087         * Makeconfig (link-static-before-libc): Replace $(+prector)
66088         with $(+prectorT).
66089         (link-static-after-libc): Replace $(+postctor) with
66090         $(+postctorT).
66091         (link-bounded): Replace $(+prector)/$(+postctor) with
66092         $(+prectorT)/$(+postctorT).
66093         (+prectorT): New macro.
66094         (+postctorT): Likewise.
66096 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66098         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66099         (round_str): Handle values above the maximum for IBM long double
66100         as inexact.
66101         * stdlib/tst-strtod-round.c (tests): Regenerated.
66103 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66105         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66106         assembler flag.
66107         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66108         zarch_nohighgprs around the zarch optimized routines.
66109         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66110         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66112         for zarch.
66114 2012-09-05  David S. Miller  <davem@davemloft.net>
66116         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66118         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66119         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66120         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66121         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66122         entries.
66124 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66126         * malloc/arena.c: Fold copyright years.
66127         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66129 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66131         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66133 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66135         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66137 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66139         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66140         change internal state upon failure.
66142 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66144         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66145         * malloc/memusage.c (mmap): Likewise.
66146         (mmap64, mremap): Likewise.  Adjust name in comment.
66148 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66150         * libio/fileops.c: Fix typos in comments.
66151         * libio/oldfileops.c: Likewise.
66152         * libio/wfileops.c: Likewise.
66154 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66156         [BZ #1349]
66157         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66158         (tst-malloc-usable-ENV): Set environment for test case.
66159         * malloc/hooks.c (malloc_check_get_size): New function to get
66160         requested size.
66161         * malloc/malloc.c (musable): Use malloc_check_get_size.
66162         * malloc/tst-malloc-usable.c: New test case.
66164 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66166         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66168 2012-09-05  Allan McRae  <allan@archlinux.org>
66170         [BZ #13966]
66171         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66172         determine header location.
66173         * configure: Regenerated.
66175 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66177         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66178         float format.
66179         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66180         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66181         format.
66182         (test): Regenerate.
66184 2012-09-04  David S. Miller  <davem@davemloft.net>
66186         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66187         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66188         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66190 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66192         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66193         failures.
66195         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66197 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
66199         [BZ #9914]
66200         * libio/iogetdelim.c: Include <limits.h>.
66201         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66202         + len + 1 would overflow.
66204 2012-09-03  Andreas Jaeger  <aj@suse.de>
66206         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66207         * sysdeps/i386/fpu/libm-test-ulps: Update.
66209 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66211         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66212         Add s_sinf-sse2, s_conf-sse2.
66214         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66215         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66216         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66217         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66219         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66220         for using routine as __sinf_ia32.
66221         Use macro for function declaration and weak_alias.
66222         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66223         for using routine as __cosf_ia32.
66224         Use macro for function declaration and weak_alias.
66226         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66227         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66229         * sysdeps/x86_64/fpu/s_sinf.S: New file.
66230         * sysdeps/x86_64/fpu/s_cosf.S: New file.
66231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66233         * math/libm-test.inc (cos_test): Add more test cases.
66234         (sin_test): Likewise.
66235         (sincos_test): Likewise.
66237 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66239         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66240         (IFUNC_RESOLVE): Make pointers to the specialized implementations
66241         hidden.
66242         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66244 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
66246         [BZ #14538]
66247         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66248         first element of the GOT.
66249         (elf_machine_load_address): Return the difference between
66250         the runtime address of _DYNAMIC and elf_machine_dynamic ().
66252 2012-09-01  Allan McRae  <allan@archlinux.org>
66254         [BZ #13412]
66255         * configure.in (AWK): Require gawk version 3.0 or later.
66256         * configure: Regenerated.
66258 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
66260         * sysdeps/unix/sysv/linux/kernel-features.h
66261         (__ASSUME_POSIX_CPU_TIMERS): Remove.
66262         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66263         [__NR_clock_getres]: Make code unconditional.
66264         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66265         (clock_getcpuclockid): Remove code left unreachable by removal of
66266         conditionals.
66267         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66268         code unconditional.
66269         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66270         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66271         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66272         Make code unconditional.
66273         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66274         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66275         * sysdeps/unix/sysv/linux/clock_settime.c
66276         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66277         conditional code.
66278         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66279         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66281 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
66283         [BZ #14476]
66284         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66285         scripts/test-installation.pl.
66287         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66288         and $ld_so_version if it is set.
66290 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66292         [BZ #14516]
66293         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66294         failure if reading from procfs failed.
66295         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66297 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66299         * sysdeps/unix/sysv/linux/kernel-features.h
66300         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66301         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66302         Remove conditional code.
66303         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66304         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66305         Remove conditional code.
66306         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66307         * sysdeps/unix/sysv/linux/i386/fxstat.c
66308         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66309         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66310         * sysdeps/unix/sysv/linux/i386/fxstatat.c
66311         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66312         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66313         * sysdeps/unix/sysv/linux/i386/lxstat.c
66314         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66315         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66316         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66317         Remove conditional code.
66318         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66319         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66320         Remove conditional code.
66321         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66322         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66323         <kernel-features.h>.
66324         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66325         Remove.
66326         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66327         Remove conditional code.
66328         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66329         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66330         Remove conditional.
66332 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
66334         [BZ #5400]
66335         * NEWS: Add fixed bug number.
66337 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66339         [BZ #14519]
66340         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66341         underflowing exponent in case of negative sign.
66342         * stdlib/tst-strtod-round-data: Add more tests.
66343         * stdlib/tst-strtod-round.c (tests): Regenerated.
66345         [BZ #3479]
66346         * stdlib/strtod_l.c (NDIG): Remove.
66347         (HEXNDIG): Likewise.
66348         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66349         smallest representable value.
66350         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66351         lie within an exact representation of 1/2 ulp of the result.
66352         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66353         unconditionally.
66354         (TENS_P9_IDX): Define unconditionally.
66355         (TENS_P9_SIZE): Likewise.
66356         (TENS_P10_IDX): Likewise.
66357         (TENS_P10_SIZE): Likewise.
66358         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66359         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66360         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66361         entries for 10^2^13 and 10^2^14.
66362         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66363         (TENS_P13_IDX): Define.
66364         (TENS_P13_SIZE): Likewise.
66365         (TENS_P14_IDX): Likewise.
66366         (TENS_P14_SIZE): Likewise.
66367         (_fpioconst_pow10): Change array size to
66368         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
66369         unconditional.
66370         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66371         1024]: Add entries for 10^2^13 and 10^2^14.
66372         [LAST_POW10 > _LAST_POW10]: Remove #error.
66373         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66374         (_fpioconst_pow10): Change array size to
66375         FPIOCONST_POW10_ARRAY_SIZE.
66376         * stdlib/gen-fpioconst.c: New file.
66377         * stdlib/gen-tst-strtod-round.c: Likewise.
66378         * stdlib/tst-strtod-round-data: Likewise.
66379         * stdlib/tst-strtod-round.c: Likewise.
66380         * stdlib/Makefile (tests): Add tst-strtod-round.
66382         [BZ #14459]
66383         * stdlib/strtod_l.c: Include <stdint.h>.
66384         (NDEBUG): Do not define.
66385         (round_and_return): Change EXPONENT parameter to type intmax_t.
66386         Rearrange calculations to avoid internal overflow possibilities.
66387         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66388         Rearrange calculations to avoid internal overflow possibilities.
66389         Assert that number fits inside MPNSIZE limbs.
66390         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66391         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
66392         calculations and add assertions to avoid internal overflow
66393         possibilities.  Add casts to avoid signed/unsigned operations.
66394         * stdlib/tst-strtod-overflow.c: New file.
66395         * stdlib/Makefile (tests): Add tst-strtod-overflow.
66397 2012-08-25  Marek Polacek  <polacek@redhat.com>
66399         * time/time.h: Fix some typos in comments.
66401 2012-08-23  Roland McGrath  <roland@hack.frob.com>
66403         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66404         * posix/tst-rfc3484-2.c: Likewise.
66405         * posix/tst-rfc3484-3.c: Likewise.
66407 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
66409         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66410         (EF_ARM_ABI_FLOAT_HARD): Likewise.
66412 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
66414         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66415         #include of fxstatat64.c.
66417 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66419         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66420         * shadow/getspent_r.c: Likewise.
66421         * shadow/getspnam.c: Likewise.
66422         * shadow/getspnam_r.c: Likewise.
66423         * gshadow/getsgent.c: Likewise.
66424         * gshadow/getsgent_r.c: Likewise.
66425         * gshadow/getsgnam.c: Likewise.
66426         * gshadow/getsgnam_r.c: Likewise.
66427         * inet/getnetbyad.c: Likewise.
66428         * inet/getnetbyad_r.c: Likewise.
66429         * inet/getnetbynm.c: Likewise.
66430         * inet/getnetbynm_r.c: Likewise.
66431         * inet/getnetent.c: Likewise.
66432         * inet/getnetent_r.c: Likewise.
66433         * inet/getproto.c: Likewise.
66434         * inet/getproto_r.c: Likewise.
66435         * inet/getprtent.c: Likewise.
66436         * inet/getprtent_r.c: Likewise.
66437         * inet/getprtname.c: Likewise.
66438         * inet/getprtname_r.c: Likewise.
66439         * inet/getrpcbyname.c: Likewise.
66440         * inet/getrpcbyname_r.c: Likewise.
66441         * inet/getrpcbynumber.c: Likewise.
66442         * inet/getrpcbynumber_r.c: Likewise.
66443         * inet/getrpcent.c: Likewise.
66444         * inet/getrpcent_r.c: Likewise.
66445         * inet/getaliasent.c: Likewise.
66446         * inet/getaliasent_r.c: Likewise.
66447         * inet/getaliasname.c: Likewise.
66448         * inet/getaliasname_r.c: Likewise.
66449         * nscd/getgrgid_r.c: Likewise.
66450         * nscd/getgrnam_r.c: Likewise.
66451         * nscd/gethstbyad_r.c: Likewise.
66452         * nscd/gethstbynm3_r.c: Likewise.
66453         * nscd/getpwnam_r.c: Likewise.
66454         * nscd/getpwuid_r.c: Likewise.
66455         * nscd/getsrvbynm_r.c: Likewise.
66456         * nscd/getsrvbypt_r.c: Likewise.
66457         * nscd/gai.c: Likewise.
66459         * configure.in (build_nscd): New substituted variable, set
66460         by --disable-build-nscd and defaults to $use_nscd.
66461         * configure: Regenerated.
66462         * config.make.in (build-nscd): New substituted variable.
66463         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66464         Change conditional to require [$(build-nscd) = yes] as well.
66465         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66467         [BZ# 13696]
66468         * configure.in (use_nscd): New substituted variable, set by
66469         --disable-nscd.  If enabled, define USE_NSCD.
66470         * configure: Regenerated.
66471         * config.h.in: Add USE_NSCD.
66472         * config.make.in (use-nscd): New substituted variable.
66473         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66474         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66475         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66476         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66477         (CFLAGS-getgrnam_r.c): Likewise.
66478         (CFLAGS-initgroups.c): Likewise.
66479         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66480         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66481         Variables removed.
66482         * inet/getnetgrent_r.c
66483         (nscd_setnetgrent): New function, broken out of ...
66484         (setnetgrent): ... here.  Call it.
66485         (innetgr): Conditionalize nscd bits on [USE_NSCD].
66486         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66487         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66488         * nscd/Makefile (routines, aux): Move definitions after include of
66489         Makeconfig.  Conditionalize on [$(use-nscd) != no].
66490         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66491         Conditionalize on [USE_NSCD].
66492         (is_nscd, nscd_init_cb): Likewise.
66493         (nss_load_library): Conditionalize init callback on [USE_NSCD].
66494         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66495         * nss/nss_db/db-init.c: Likewise.
66496         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66497         [USE_NSCD].
66498         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66499         (make_request): Use it.
66500         (cache_valid_p): New function.
66501         (__check_pf): Use it.
66502         * NEWS: Add item for --disable-nscd.
66504 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
66506         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66507         to support sed >= 4.2.1-20-ga9bf076.
66508         * configure: Regenerated.
66510 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66512         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66513         Conditionalize whole body on [IREL].
66515 2012-08-22  Jeff Law <law@redhat.com>
66517         [BZ #14505]
66518         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66519         if the family is PF_UNSPEC.
66521 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
66523         * Makerules (lib-version): Rename from V.
66524         (install-lib-nosubdir): Change V to lib-version.
66526 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
66528         [BZ #14252]
66529         * powerpc32/power6/wcschr.c: New file.
66530         * powerpc32/power6/wcscpy.c: New file.
66531         * powerpc32/power6/wcsrchr.c: New file.
66532         * powerpc64/power6/wcschr.c: New file.
66533         * powerpc64/power6/wcscpy.c: New file.
66534         * powerpc64/power6/wcsrchr.c: New file.
66536 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66538         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66539         (two_way_short_needle): Use it.
66540         * string/strstr.c (AVAILABLE1_USES_J): Define.
66541         * string/strcasestr.c: Likewise.
66543         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66544         array references.
66545         * string/strcasestr.c (TOLOWER): Make side-effect safe.
66547         [BZ #11607]
66548         * NEWS: Add an entry.
66549         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66550         define their defaults.
66551         (two_way_short_needle): Detect end-of-string on-the-fly.
66552         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66553         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66554         * string/bug-strcasestr1.c: New test.
66555         * string/Makefile: Run it.
66557 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66559         [BZ #11607]
66560         * string/str-two-way.h (two_way_short_needle): Optimize matching of
66561         the first character.
66563 2012-08-21  Roland McGrath  <roland@hack.frob.com>
66565         * csu/elf-init.c (__libc_csu_irel): Function removed.
66566         * csu/libc-start.c (apply_irel): New function.
66567         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66569 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
66571         * sysdeps/unix/sysv/linux/kernel-features.h
66572         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66573         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66574         <kernel-features.h>.
66575         [__NR_fadvise64_64]: Make code unconditional.
66576         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66577         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66578         !__NR_fadvise64_64)]: Likewise.
66579         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66580         !__NR_fadvise64_64))]: Likewise.
66581         [__NR_fadvise64]: Make code unconditional.
66582         [!__NR_fadvise64]: Remove conditional code.
66583         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66584         <kernel-features.h>.
66585         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66586         unconditional.
66587         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66588         conditional code.
66589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66590         not include <kernel-features.h>.
66591         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66592         unconditional.
66593         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66594         conditional code.
66595         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66596         include <kernel-features.h>.
66597         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66598         unconditional.
66599         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66600         conditional code.
66602 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66604         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66605         slight instruction rearrangements per scrollpipe analysis.
66606         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66608 2012-08-20  Roland McGrath  <roland@hack.frob.com>
66610         * manual/syslog.texi (syslog; vsyslog, closelog):
66611         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66612         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66614         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66615         DSOCAPS to match condition on defining it.
66617 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
66619         * sysdeps/unix/sysv/linux/kernel-features.h
66620         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66622         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66623         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66625         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66626         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66628         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66629         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66631         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66632         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66634         * sysdeps/unix/sysv/linux/kernel-features.h
66635         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66636         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66637         unconditional.
66638         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66639         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66640         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66641         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66642         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66643         Make code unconditional.
66644         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66645         (__mmap64) [!__NR_mmap2]: Likewise.
66646         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66647         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66648         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66649         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66650         [__NR_mmap2]: Make code unconditional.
66651         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66652         (__mmap64) [!__NR_mmap2]: Likewise.
66654 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66656         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66658 2012-08-18  Andreas Jaeger  <aj@suse.de>
66660         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66662 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66664         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66665         * include/unistd.h (__have_sock_cloexec): Likewise.
66666         (__have_pipe2): Likewise.
66667         (__have_dup3): Likewise.
66669 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66671         [BZ #9685]
66672         * include/unistd.h (__have_pipe2): Change define into an extern int.
66673         (__have_dup3): Likewise.
66674         * socket/have_sock_cloexec.c: Include fcntl.h.
66675         (__have_pipe2): New variable.
66676         (__have_dup3): Likewise.
66678 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
66680         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66682 2012-08-17  Marek Polacek  <polacek@redhat.com>
66684         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66685         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66687 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66689         * configure.in: Add AC_SUBST for sysheaders.
66690         * configure: Regenerated.
66691         * config.make.in (sysheaders): New substituted variable.
66693         * sysdeps/unix/mkfifo.c: Moved ...
66694         * sysdeps/posix/mkfifo.c: ... here.
66695         * sysdeps/unix/mkfifoat.c: Moved ...
66696         * sysdeps/posix/mkfifoat.c: ... here.
66698         * sysdeps/unix/utime.c: Moved ...
66699         * sysdeps/posix/utime.c: ... here.
66701         * sysdeps/unix/time.c: Moved ...
66702         * sysdeps/posix/time.c: ... here.
66703         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66704         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66706         * sysdeps/unix/nice.c: Moved ...
66707         * sysdeps/posix/nice.c: ... here.
66709         * sysdeps/unix/alarm.c: Moved ...
66710         * sysdeps/posix/alarm.c: ... here.
66712         * intl/Makefile ($(codeset_mo)): Depend on the input file.
66714 2012-08-17  Jeff Law <law@redhat.com>
66716         * intl/Makefile (codeset_mo): New variable.
66717         ($(codeset_mo)): New target.
66718         (tst-codeset.out): Depend on that.  Remove explicit rule.
66719         (tst-gettext3.out, tst-gettext5.out): Likewise.
66720         (LOCPATH-ENV, tst-codeset-ENV): New variables.
66721         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66722         * intl/tst-codeset.sh: Remove.
66723         * intl/tst-gettext3.sh: Likewise.
66724         * intl/tst-gettext5.sh: Likewise.
66726 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66728         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
66729         * sysdeps/unix/syscalls.list: ... here.
66731         * sysdeps/posix/getaddrinfo.c
66732         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66733         (gaiconf_init, gaiconf_reload): Use them.
66734         [!_STATBUF_ST_NSEC]
66735         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66736         Define using time_t rather than struct timespec.
66738         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66739         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66740         Macros removed.
66741         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66742         [!NO_THREADS].
66743         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66744         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66745         Likewise.
66747         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66748         __libc_cleanup_push argument.
66750         * bits/param.h: New file.
66751         * misc/sys/param.h: New file.
66752         * include/sys/param.h: New file.
66753         * misc/Makefile (headers): Add bits/param.h.
66754         * sysdeps/generic/sys/param.h: File removed.
66755         * sysdeps/unix/sysv/linux/bits/param.h: New file.
66756         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66757         * sysdeps/mach/hurd/bits/param.h: New file.
66758         * sysdeps/mach/hurd/sys/param.h: File removed.
66760         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66761         last change.
66763         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66764         [_IO_MTSAFE_IO].
66765         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66766         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66767         New macros.
66769         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66770         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66771         rather than -D_IO_MTSAFE_IO conditionally.
66772         * stdio-common/Makefile (CPPFLAGS): Likewise.
66773         * wcsmbs/Makefile (CPPFLAGS): Likewise.
66774         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66775         Use $(libio-mtsafe).
66776         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66777         of -D_IO_MTSAFE_IO.
66778         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66779         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66780         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66781         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66782         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66783         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66784         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66785         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66786         (CFLAGS-fread_u_chk.c): Likewise.
66787         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66788         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66789         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66790         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66791         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66792         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66793         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66794         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66795         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66797         * libio/Makefile: Test [$(libc-reentrant) = yes]
66798         instead of [$(filter %REENTRANT, $(defines)) nonempty].
66800         * Makeconfig
66801         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66802         * sysdeps/pthread/configure: File removed.
66803         * sysdeps/pthread/Makeconfig: New file.
66804         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66805         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66807 2012-08-16  Gary Benson  <gbenson@redhat.com>
66809         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66810         unmapping the first object in a namespace.
66812 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66814         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66815         (__internal_setnetgrent): ... this.  Add internal_function to
66816         definition.  Add libc_hidden_def.
66817         (setnetgrent): Update caller.
66818         (internal_endnetgrent): Renamed to ...
66819         (__internal_endnetgrent): ... this.  Add internal_function to
66820         definition.  Add libc_hidden_def.
66821         (endnetgrent): Update caller.
66822         (internal_getnetgrent_r): Renamed to ...
66823         (__internal_getnetgrent_r): ... this.  Add internal_function to
66824         definition.  Add libc_hidden_def.
66825         (__getnetgrent_r): Update caller.
66826         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
66828 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66830         * stdlib/longlong.h: Update from GCC.
66832 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66834         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66835         on _QL, which is set by umul_ppmm but never used.
66836         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66837         variables, which are set by GMP macros but never used.
66838         * stdio-common/_itowa.c (_itowa): Likewise.
66839         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66840         * stdlib/mod_1.c (mpn_mod_1): Likewise.
66842 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
66844         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66845         struct La_sh_regs is not constant.
66846         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66847         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66848         and struct La_sparc64_regs are not constant.
66850 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66852         * sysdeps/unix/sysv/linux/kernel-features.h
66853         (__ASSUME_POSIX_TIMERS): Remove.
66854         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66855         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66856         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66857         Make code unconditional.
66858         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66859         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66860         Make code unconditional.
66861         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66862         * sysdeps/unix/sysv/linux/clock_nanosleep.c
66863         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66864         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66865         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66866         Make code unconditional.
66867         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66868         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66869         (__libc_missing_posix_timers): Remove.
66871 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66873         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66874         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66876         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66878         * elf/dl-sym.c: Include <stdlib.h>.
66880         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66881         constants, which avoids warnings in 32-bit builds.
66883         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66884         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66886         * misc/lseek.c: File moved to ...
66887         * io/lseek.c: ... here.
66889         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66891         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66892         shifting LEN more than 31 bits at once.
66894 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66896         [BZ #14195]
66897         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66898         segmentation fault for a case of two empty input strings.
66899         * string/test-strncasecmp.c (check1): Renamed to...
66900         (bz12205): ...this.
66901         (bz14195): Add new testcase for two empty input strings and N > 0.
66902         (test_main): Call new testcase, adapt for renamed function.
66904 2012-08-15  Andreas Jaeger  <aj@suse.de>
66906         [BZ #14090]
66907         * crypt/md5test2.c: New test, based on test supplied by Serge
66908         Belyshev <belyshev@depni.sinp.msu.ru>.
66909         * crypt/Makefile (xtests): Add md5test-giant..
66910         * crypt/Makefile ($(objpfx)md5test-giant): Add.
66912 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
66914         [BZ #14090]
66915         * crypt/md5.c (md5_process_block): Don't assume the buffer
66916         length is less than 2**32.
66917         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66918         length is less than 2**64.
66920 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66922         * string/str-two-way.h: Include <sys/param.h>.
66923         (MAX): Macro removed.
66925         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66926         Move #define and #undef of memmove to just before and after
66927         including <string.h>.
66929         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66930         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66931         and after including <string.h>.  Move declarations of
66932         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66933         to before #include "string/memmove.c".
66935         * include/dirent.h: Declare __getdirentries.
66937         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66938         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66940 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
66942         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66943         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66944         * sysdeps/i386/configure: Regenerated.
66945         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66946         STABS_CURRENT_FILE, and STABS_FUN.
66947         (END): Remove call to STABS_FUN_END.
66948         (STABS_CURRENT_FILE1): Delete.
66949         (STABS_CURRENT_FILE): Likewise.
66950         (STABS_FUN): Likewise.
66951         (STABS_FUN_END): Likewise.
66952         (STABS_FUN2): Likewise.
66953         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66954         * sysdeps/x86_64/configure: Regenerated.
66956 2012-08-14  Roland McGrath  <roland@hack.frob.com>
66958         * elf/dl-open.c: Include <atomic.h>.
66959         * elf/dl-lookup.c: Likewise.
66961 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
66963         * sysdeps/unix/sysv/linux/kernel-features.h
66964         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66965         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66966         unconditionally.
66967         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66968         unconditionally.
66969         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66970         condition on __ASSUME_CLONE_THREAD_FLAGS.
66972 2012-08-14  Andreas Jaeger  <aj@suse.de>
66974         * sysdeps/i386/fpu/libm-test-ulps: Update.
66976 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
66978         * include/atomic.h (atomic_exchange_and_add): Split into ...
66979         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66980         New atomic macros.
66982 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
66984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66986 2012-08-13  Jeff Law <law@redhat.com>
66988         * manual/stdio.texi (snprintf): Clarify handling of the trailing
66989         null byte in the output string.
66991 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
66993         * sysdeps/unix/sysv/linux/kernel-features.h
66994         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
66995         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
66996         (__ASSUME_ARG_MAX_STACK_BASED): Define.
66997         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66998         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
66999         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67000         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67002 2012-08-09  Jeff Law <law@redhat.com>
67004         [BZ #13939]
67005         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67006         When avoid_arena is set, don't retry in the that arena.  Pick the
67007         next one, whatever it might be.
67008         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67009         (arena_lock): Pass in new parameter to arena_get2.
67010         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67011         arena_get2.
67012         (__libc_malloc): Unify retrying after main arena failure with
67013         __libc_memalign version.
67014         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67016 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67018         [BZ #14166]
67019         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67020         to __redirect_strstr.
67021         (__strstr_sse42): Use typeof __redirect_strstr.
67022         (__strstr_ia32): Likewise.
67023         (__libc_strstr): New prototype.
67024         (strstr): Renamed to ...
67025         (__libc_strstr): This.
67026         (strstr): New strong alias of __libc_strstr.
67027         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67028         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67029         __redirect_time.
67030         Include <time.h>.
67031         (__libc_time): New prototype.
67032         (time_ifunc): Replace time with __libc_time.
67033         (time): New strong alias and hidden definition of __libc_time.
67034         (__GI_time): Remove strong alias.
67035         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67036         Include <stddef.h>.
67037         (memmove): Redefined to __redirect_memmove.
67038         (__memmove_sse2): Use typeof __redirect_memmove.
67039         (__memmove_ssse3): Likewise.
67040         (__memmove_ssse3_back): Likewise.
67041         (__libc_memmove): New prototype.
67042         (memmove): Renamed to ...
67043         (__libc_memmove): This.
67044         (memmove): New strong alias of __libc_memmove.
67046 2012-08-08  Mark Salter  <msalter@redhat.com>
67048         * elf/elf.h
67049         (R_MN10300_TLS_GD): Define.
67050         (R_MN10300_TLS_LD): Likewise.
67051         (R_MN10300_TLS_LDO): Likewise.
67052         (R_MN10300_TLS_GOTIE): Likewise.
67053         (R_MN10300_TLS_IE): Likewise.
67054         (R_MN10300_TLS_LE): Likewise.
67055         (R_MN10300_TLS_DTPMOD): Likewise.
67056         (R_MN10300_TLS_DTPOFF): Likewise.
67057         (R_MN10300_TLS_TPOFF): Likewise.
67058         (R_MN10300_SYM_DIFF): Likewise.
67059         (R_MN10300_ALIGN): Likewise.
67060         (R_MN10300_NUM): Update.
67062 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67064         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67065         Remove.
67067 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67069         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67071         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67072         sysdeps/unix -> sysdeps/posix move.
67073         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67075 2012-08-07      Allan McRae     <allan@archlinux.org>
67077         [BZ #14303]
67078         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67079         (SUNOS_CPP): Likewise.
67080         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67081         not found.
67082         (open_input): Call CPP using execvp.
67084 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67086         * sysdeps/unix/sysv/linux/kernel-features.h
67087         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67088         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67089         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67090         (__ASSUME_WAITID_SYSCALL): Likewise.
67091         * sysdeps/unix/sysv/linux/dl-execstack.c
67092         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67093         code unconditional.
67094         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67095         conditional code.
67096         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67097         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67098         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67099         code.
67100         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67101         unconditional.
67102         [__ASSUME_WAITID_SYSCALL]: Likewise.
67103         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67105 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67107         * sysdeps/unix/closedir.c: Renamed to ...
67108         * sysdeps/posix/closedir.c: ... here.
67109         * sysdeps/unix/dirfd.c: Renamed to ...
67110         * sysdeps/posix/dirfd.c: ... here.
67111         * sysdeps/unix/dirstream.h: Renamed to ...
67112         * sysdeps/posix/dirstream.h: ... here.
67113         * sysdeps/unix/fdopendir.c: Renamed to ...
67114         * sysdeps/posix/fdopendir.c: ... here.
67115         * sysdeps/unix/opendir.c: Renamed to ...
67116         * sysdeps/posix/opendir.c: ... here.
67117         * sysdeps/unix/readdir.c: Renamed to ...
67118         * sysdeps/posix/readdir.c: ... here.
67119         * sysdeps/unix/readdir_r.c: Renamed to ...
67120         * sysdeps/posix/readdir_r.c: ... here.
67121         * sysdeps/unix/rewinddir.c: Renamed to ...
67122         * sysdeps/posix/rewinddir.c: ... here.
67123         * sysdeps/unix/seekdir.c: Renamed to ...
67124         * sysdeps/posix/seekdir.c: ... here.
67125         * sysdeps/unix/telldir.c: Renamed to ...
67126         * sysdeps/posix/telldir.c: ... here.
67127         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67128         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67129         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67130         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67132         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67133         * bits/fcntl.h: ... here.
67135         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67136         not 0.
67137         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67138         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67139         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67140         (struct flock): Move l_start, l_len to the beginning.
67141         Use __pid_t for l_pid.
67142         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67143         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67144         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67145         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67146         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67147         [__USE_LARGEFILE64] (struct flock64): New type.
67148         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67150         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67151         * bits/dirent.h: ... here.
67153         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67154         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67156 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67158         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67159         Change from 2.6.0 to 2.6.16.
67160         * sysdeps/unix/sysv/linux/configure: Regenerated.
67161         * sysdeps/unix/sysv/linux/kernel-features.h
67162         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67163         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67164         version.
67165         (__ASSUME_UTIMES): Likewise.
67166         (__ASSUME_CLONE_STOPPED): Remove.
67167         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67168         architectures, not kernel version.
67169         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67170         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67171         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67172         (__ASSUME_WAITID_SYSCALL): Likewise.
67173         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67174         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67175         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67176         refer to older versions.
67178 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67180         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67181         Define alphasort64 as an alias.
67182         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67183         Define versionsort64 as an alias.
67184         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67185         Define scandir64 as an alias.
67186         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67187         Define scandirat64 as an alias.
67188         * dirent/alphasort64.c (alphasort64):
67189         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67190         * dirent/versionsort64.c: Likewise.
67191         * dirent/scandir64.c: Likewise.
67192         * dirent/scandirat64.c: Likewise.
67193         * sysdeps/wordsize-64/alphasort.c: File removed.
67194         * sysdeps/wordsize-64/alphasort64.c: File removed.
67195         * sysdeps/wordsize-64/scandir.c: File removed.
67196         * sysdeps/wordsize-64/scandir64.c: File removed.
67197         * sysdeps/wordsize-64/scandirat.c: File removed.
67198         * sysdeps/wordsize-64/scandirat64.c: File removed.
67199         * sysdeps/wordsize-64/versionsort.c: File removed.
67200         * sysdeps/wordsize-64/versionsort64.c: File removed.
67201         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67202         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67203         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67204         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67205         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67206         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67207         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67208         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67210         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67211         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67212         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67213         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67214         [defined __arch64__ || defined __sparcv9]
67215         (__INO_T_MATCHES_INO64_T): New macro.
67216         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67217         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67218         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67219         * sysdeps/unix/sysv/linux/bits/dirent.h
67220         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67221         (_DIRENT_MATCHES_DIRENT64): New macro.
67223         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67224         Define lockf64 as an alias.
67225         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67226         Define fseeko64 as an alias.
67227         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67228         Define ftello64 as an alias.
67229         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67230         Define _IO_fgetpos64 and fgetpos64 as aliases.
67231         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67232         Define _IO_fsetpos64 and fsetpos64 as aliases.
67233         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67234         Conditionalize body on this.
67235         * libio/fseeko64.c: Likewise.
67236         * libio/ftello64.c: Likewise.
67237         * libio/iofgetpos64.c: Likewise.
67238         * libio/iofsetpos64.c: Likewise.
67239         * sysdeps/wordsize-64/lockf.c: File removed.
67240         * sysdeps/wordsize-64/lockf64.c: File removed.
67241         * sysdeps/wordsize-64/fseeko.c: File removed.
67242         * sysdeps/wordsize-64/fseeko64.c: File removed.
67243         * sysdeps/wordsize-64/ftello.c: File removed.
67244         * sysdeps/wordsize-64/ftello64.c: File removed.
67245         * sysdeps/wordsize-64/iofgetpos.c: File removed.
67246         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67247         * sysdeps/wordsize-64/iofsetpos.c: File removed.
67248         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67249         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67250         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67251         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67252         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67253         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67254         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67255         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67256         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67257         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67258         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67260         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67261         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67262         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67263         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67264         [defined __arch64__ || defined __sparcv9]
67265         (__OFF_T_MATCHES_OFF64_T): New macro.
67266         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67267         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67268         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67269         (__OFF_T_MATCHES_OFF64_T): New macro.
67271 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67273         * stdlib/secure-getenv.c (__secure_getenv): Replace
67274         GLIBC_2_16 with GLIBC_2_17.
67276 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67278         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67279         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67281 2012-08-03  David S. Miller  <davem@davemloft.net>
67283         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67285 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67287         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67288         Remove.
67289         (__ASSUME_CORRECT_SI_PID): Likewise.
67290         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67291         (__ASSUME_TMPFS_NAME): Likewise.
67292         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67293         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67294         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67295         (HAVE_AUX_SECURE): Make definition unconditional.
67296         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67297         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67299 2012-08-03  Roland McGrath  <roland@hack.frob.com>
67301         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67302         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67303         * sysdeps/mach/hurd/eloop-threshold.h: New file.
67304         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67305         __eloop_threshold instead of SYMLOOP_MAX.
67307         * sysdeps/generic/eloop-threshold.h: New file.
67308         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67309         of MAXSYMLINKS.
67310         * elf/chroot_canon.c (chroot_canon): Likewise.
67312 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67314         [BZ #13717]
67315         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67316         Change to 2.6.0 everywhere.
67317         * sysdeps/unix/sysv/linux/configure: Regenerated.
67318         * sysdeps/unix/sysv/linux/kernel-features.h
67319         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67320         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67321         kernel versions.
67322         (__ASSUME_POSIX_TIMERS): Define unconditionally.
67323         (__ASSUME_FUTEX_REQUEUE): Remove.
67324         (__ASSUME_STATFS64): Define unconditionally.
67325         (__ASSUME_AT_SECURE): Likewise.
67326         (__ASSUME_CORRECT_SI_PID): Likewise.
67327         (__ASSUME_TGKILL): Define without depending on kernel version for
67328         i386.
67329         (__ASSUME_UTIMES): Likewise.
67330         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67331         kernel version.
67332         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67333         (__ASSUME_TMPFS_NAME): Likewise.
67334         * README: Update reference to Linux kernel versions.
67336 2012-08-02  Marek Polacek  <polacek@redhat.com>
67338         [BZ# 14150]
67339         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
67340         libc_cv_asm_type_prefix with %.
67341         * configure: Regenerated.
67342         * include/libc-symbols.h: Remove comment about
67343         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67344         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67345         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67346         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67347         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67348         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67349         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67350         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67351         * elf/tst-unique2mod1.c: Likewise.
67352         * elf/tst-unique1mod2.c: Likewise.
67353         * elf/tst-unique1mod1.c: Likewise.
67354         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67355         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67356         Replace ASM_TYPE_DIRECTIVE with .type.
67357         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67358         * sysdeps/i386/sysdep.h: Likewise.
67359         * sysdeps/x86_64/sysdep.h: Likewise.
67360         * sysdeps/sh/sysdep.h: Likewise.
67361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67362         Do not define ASM_TYPE_DIRECTIVE.
67363         * sysdeps/powerpc/sysdep.h: Likewise.
67364         * sysdeps/powerpc/powerpc32/sysdep.h:
67365         Replace ASM_TYPE_DIRECTIVE with .type.
67366         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67367         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67368         * sysdeps/i386/fpu/e_powf.S: Likewise.
67369         * sysdeps/i386/fpu/e_expl.S: Likewise.
67370         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67371         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67372         * sysdeps/i386/fpu/e_pow.S: Likewise.
67373         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67374         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67375         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67376         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67377         * sysdeps/i386/fpu/e_log2.S: Likewise.
67378         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67379         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67380         * sysdeps/i386/fpu/e_powl.S: Likewise.
67381         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67382         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67383         * sysdeps/i386/fpu/e_logl.S: Likewise.
67384         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67385         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67386         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67387         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67388         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67389         * sysdeps/i386/fpu/e_log.S: Likewise.
67390         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67391         * sysdeps/i386/fpu/e_logf.S: Likewise.
67392         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67393         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67394         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67395         * sysdeps/i386/fpu/e_log10.S: Likewise.
67396         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67397         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67398         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67399         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67400         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67401         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67402         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67403         * sysdeps/i386/i686/strtok.S: Likewise.
67404         * sysdeps/i386/i386-mcount.S: Likewise.
67405         * sysdeps/i386/strtok.S: Likewise.
67406         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67407         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67408         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67409         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67410         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67411         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67412         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67413         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67414         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67415         * sysdeps/x86_64/_mcount.S: Likewise.
67416         * sysdeps/x86_64/strtok.S: Likewise.
67417         * sysdeps/sh/_mcount.S: Likewise.
67419 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67421         * libio/iofopen.c: Include <fcntl.h>.
67422         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67423         (_IO_fopen64, fopen64): Define as aliases.
67424         * libio/iofopen64.c: Include <fcntl.h>.
67425         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67426         Conditionalize body on this.
67427         * sysdeps/wordsize-64/iofopen.c: File removed.
67428         * sysdeps/wordsize-64/iofopen64.c: File removed.
67430 2012-08-01  Marek Polacek  <polacek@redhat.com>
67432         * libc/Makeconfig: Use elf in place of binfmt-subdir.
67433         Use dlfcn directly instead of a variable.
67434         (binfmt-subdir): Do not define.
67435         (dlfcn): Likewise.
67437 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
67439         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67440         Remove all definitions.
67441         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67442         <kernel-features.h>.
67443         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67444         (miss_F_GETOWN_EX): Remove all definitions.
67445         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67446         macro definition.
67447         [!__ASSUME_FCNTL64]: Remove conditional code.
67448         [__ASSUME_FCNTL64]: Make code unconditional.
67449         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67450         <kernel-features.h>.
67451         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67452         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67453         (lockf64) [__NR_fcntl64]: Make code unconditional.
67454         (lockf64) [__ASSUME_FCNTL64]: Likewise.
67456         * sysdeps/unix/sysv/linux/kernel-features.h
67457         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67458         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67459         Make code unconditional.
67460         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67461         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67463         [__NR_vfork]: Make code unconditional.
67464         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67465         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67467         [__NR_vfork]: Make code unconditional.
67468         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67469         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67471 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67473         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67474         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67476         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67477         Define mkstemp64 as an alias.
67478         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67479         Define mkstemps64 as an alias.
67480         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67481         Define mkostemp64 as an alias.
67482         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67483         Define mkostemps64 as an alias.
67484         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67485         Conditionalize body on this.
67486         * misc/mkostemp64.c: Likewise.
67487         * misc/mkostemps64.c: Likewise.
67488         * misc/mkstemps64.c: Likewise.
67489         * sysdeps/wordsize-64/mkstemp64.c: File removed.
67490         * sysdeps/wordsize-64/mkostemp64.c: File removed.
67491         * sysdeps/wordsize-64/mkostemp.c: File removed.
67492         * sysdeps/wordsize-64/mkstemp.c: File removed.
67493         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67494         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67495         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67496         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67498         [BZ #14138]
67499         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67500         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67501         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67502         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67504         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67505         compat_symbol macros from <shlib-compat.h> rather than the underlying
67506         default_symbol_version and symbol_version macros, so that DEFAULT
67507         lines in shlib-versions are respected.
67508         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67510 2012-08-01  Florian Weimer  <fweimer@redhat.com>
67512         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67513         Declare with warn_unused_result.
67514         (setgid, setregid, setegid, setresgid): Likewise.
67515         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67516         Likewise.
67517         * WUR-REPORT: Remove set*id functions.
67519 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
67521         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67523 2012-07-31  Roland McGrath  <roland@hack.frob.com>
67525         [BZ #10191]
67526         * include/sys/socket.h (__libc_accept, __libc_accept4):
67527         Add attribute_hidden.
67528         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67530         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67531         use of PTR_MANGLE.
67532         * inet/getnetgrent_r.c (setup): Likewise.
67534         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67536 2012-07-31  David S. Miller  <davem@davemloft.net>
67538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67540 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
67542         [BZ #13629]
67543         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67544         value between 1.0 and 2.0 and smaller part has absolute value less
67545         than 1.0.
67546         * math/s_clog10.c (__clog10): Likewise.
67547         * math/s_clog10f.c (__clog10f): Likewise.
67548         * math/s_clog10l.c (__clog10l): Likewise.
67549         * math/s_clogf.c (__clogf): Likewise.
67550         * math/s_clogl.c (__clogl): Likewise.
67551         * math/libm-test.inc (clog_test): Add more tests.
67552         (clog10_test): Likewise.
67553         * sysdeps/i386/fpu/libm-test-ulps: Update.
67554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67556 2012-07-31  Florian Weimer  <fweimer@redhat.com>
67558         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67559         Exit with zero in case no suitable GID is found, and write a
67560         message to standard error.
67562 2012-07-30  Roland McGrath  <roland@hack.frob.com>
67564         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67565         rather than to 1.
67566         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67567         (MAXPATHLEN): Removed.
67568         (NOGROUP, NODEV): New macros.
67569         (setbit, clrbit, isset, isclr): New macros.
67570         (howmany, roundup, powerof2): New macros.
67571         (DEV_BSIZE): New macro.
67573         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67574         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67576         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67577         definition on [!__NO_LONG_DOUBLE_MATH].
67579         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67580         PTR_MANGLE and PTR_DEMANGLE.
67582         * socket/accept4.c (accept4): Rename to __libc_accept4.
67583         Define accept4 as a weak alias.
67585         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67586         on [_DIRENT_HAVE_D_TYPE].
67587         * io/ftw.c (ftw_dir): Likewise.
67589         * io/xmknod.c (__xmknod): Don't check PATH for being null.
67591         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67593         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67594         Use the BSD numbers rather than the arbitrary ones we had.
67595         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67596         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67597         (SIGXCPU, SIGXFSZ): New macros.
67598         (_NSIG): Now 32.
67600         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67601         initializer on [_LIBC_REENTRANT].
67603         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67604         definitions inside [_POSIX_MAPPED_FILES].
67606         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67608         * dirent/opendir.c: Include <fcntl.h>.
67610         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67611         (__libc_getspecific): Likewise.
67612         (__libc_key_create): Likewise.
67614         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67615         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67616         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67617         (tmpfile64): Define as alias.
67618         * sysdeps/wordsize-64/tmpfile.c: File removed.
67619         * sysdeps/wordsize-64/tmpfile64.c: File removed.
67620         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67621         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67623         * stdio-common/vfscanf.c: Include <stdbool.h>.
67624         * nss/makedb.c: Likewise.
67625         * stdio-common/_i18n_number.h: Likewise.
67626         * argp/argp-help.c: Likewise.
67627         * posix/wordexp.c: Likewise.
67628         * sysdeps/posix/spawni.c: Likewise.
67629         * nss/nss_files/files-initgroups.c: Likewise.
67630         * stdio-common/reg-modifier.c: Include <stdlib.h>.
67631         * nss/nss_files/files-initgroups.c: Likewise.
67632         * nss/nss_db/db-netgrp.c: Likewise.
67633         * nss/nss_db/db-initgroups.c: Likewise.
67634         * io/fchmodat.c: Include <sys/stat.h>.
67636         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67637         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67639         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67640         [HAVE_MMAP].
67642         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67643         Add multiple inclusion protection.
67645 2012-07-27  David S. Miller  <davem@davemloft.net>
67647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67649 2012-07-27  Gary Benson  <gbenson@redhat.com>
67651         [BZ #14298]
67652         * elf/rtld.c: Include <stap-probe.h>.
67653         (dl_main): Added static probes "init_start" and "init_complete".
67654         * elf/dl-load.c: Include <stap-probe.h>.
67655         (lose): Take new parameter "nsid".
67656         Added static probe "map_failed".
67657         (_dl_map_object_from_fd): Pass namespace id to lose.
67658         Added static probe "map_start".
67659         (open_verify): Pass namespace id to lose.
67660         * elf/dl-open.c: Include <stap-probe.h>.
67661         (dl_open_worker) Added static probes "map_complete", "reloc_start"
67662         and "reloc_complete".
67663         * elf/dl-close.c: Include <stap-probe.h>.
67664         (_dl_close_worker): Added static probes "unmap_start" and
67665         "unmap_complete".
67666         * elf/rtld-debugger-interface.txt: New file documenting the above.
67668 2012-07-26  Roland McGrath  <roland@hack.frob.com>
67670         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67671         rather than a string variable.
67672         * sunrpc/rpc_main.c (h_output): Likewise.
67673         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67675 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
67677         * inet/check_native.c: New file.
67679 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
67681         [BZ #13629]
67682         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67683         if larger part has absolute value 1.0.
67684         * math/s_clog10.c (__clog10): Likewise.
67685         * math/s_clog10f.c (__clog10f): Likewise.
67686         * math/s_clog10l.c (__clog10l): Likewise.
67687         * math/s_clogf.c (__clogf): Likewise.
67688         * math/s_clogl.c (__clogl): Likewise.
67689         * math/libm-test.inc (clog_test): Add more tests.
67690         (clog10_test): Likewise.
67691         * sysdeps/i386/fpu/libm-test-ulps: Update.
67692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67694         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67695         (pltexit): Likewise.
67696         (La_regs): Likewise.
67697         (La_retval): Likewise.
67698         (int_retval): Likewise.
67699         Update #error for removed macros to refer only to definitions in
67700         tst-audit.h.
67701         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67702         macro.
67703         (pltexit): Likewise.
67704         (La_regs): Likewise.
67705         (La_retval): Likewise.
67706         (int_retval): Likewise.
67707         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67708         macro.
67709         (pltexit): Likewise.
67710         (La_regs): Likewise.
67711         (La_retval): Likewise.
67712         (int_retval): Likewise.
67713         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67714         macro.
67715         (pltexit): Likewise.
67716         (La_regs): Likewise.
67717         (La_retval): Likewise.
67718         (int_retval): Likewise.
67719         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67720         macro.
67721         (pltexit): Likewise.
67722         (La_regs): Likewise.
67723         (La_retval): Likewise.
67724         (int_retval): Likewise.
67725         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67726         macro.
67727         (pltexit): Likewise.
67728         (La_regs): Likewise.
67729         (La_retval): Likewise.
67730         (int_retval): Likewise.
67731         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67732         macro.
67733         (pltexit): Likewise.
67734         (La_regs): Likewise.
67735         (La_retval): Likewise.
67736         (int_retval): Likewise.
67737         * sysdeps/generic/tst-audit.h: Update comment to refer only to
67738         macro definitions in tst-audit.h.
67739         * sysdeps/i386/tst-audit.h: New file.
67740         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67741         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67742         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67743         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67744         * sysdeps/sh/tst-audit.h: Likewise.
67745         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67746         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67747         * sysdeps/x86_64/tst-audit.h: Likewise.
67749 2012-07-26  Andreas Jaeger  <aj@suse.de>
67751         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67752         ptrace.
67754         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67755         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67756         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67757         PTRACE_O_MASK.
67758         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67759         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67760         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67762         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67763         value.
67765         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67766         _sigsys.
67767         (si_call_addr, si_syscall, si_arch): Define new macro.
67768         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67769         _sigsys.
67770         (si_call_addr, si_syscall, si_arch): Define new marcro.
67771         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67772         _sigsys.
67773         (si_call_addr, si_syscall, si_arch): Define new macro.
67774         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67775         _sigsys.
67776         (si_call_addr, si_syscall, si_arch): Define new macro.
67778 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67780         [BZ #13717]
67781         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67782         Change to 2.4.21 where previously 2.4.1.
67783         * sysdeps/unix/sysv/linux/configure: Regenerated.
67784         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67785         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67786         Linux kernel version.
67787         (__ASSUME_STD_AUXV): Remove.
67788         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67789         kernel version.
67790         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67791         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67792         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67793         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67794         (__ASSUME_NETLINK_SUPPORT): Likewise.
67795         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67796         (__no_netlink_support): Remove conditional definition.
67797         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67798         Remove.
67799         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67800         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67801         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67802         (if_nameindex_ioctl): Remove.
67803         (if_nameindex_netlink): Do not handle __no_netlink_support.
67804         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67805         code.
67806         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67807         Remove conditional code.
67808         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67809         code.
67810         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67811         unconditional.
67812         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67813         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67814         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67815         Remove.
67816         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67817         [!__ASSUME_STD_AUXV]: Remove conditional code.
67818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67819         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67820         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67822         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67823         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67824         code.
67825         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67827         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67828         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67829         conditional code.
67830         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67832         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67833         code.
67834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67835         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67836         conditional code.
67837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67838         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67839         code unconditional.
67840         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67841         conditional code.
67842         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67843         unconditional.
67844         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67845         conditional code.
67846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67847         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67848         unconditional.
67849         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67850         conditional code.
67851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67852         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67853         code unconditional.
67854         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67855         conditional code.
67856         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67857         unconditional.
67858         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67859         conditional code.
67860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67861         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67862         code unconditional.
67863         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67864         conditional code.
67865         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67866         unconditional.
67867         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67868         conditional code.
67870 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
67872         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67873         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67874         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67875         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67876         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67877         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67878         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67879         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67880         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67881         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67882         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67883         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67884         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67885         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67886         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67887         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67888         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67889         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67890         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67892         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67893         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67894         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67896 2012-07-25  Florian Weimer  <fweimer@redhat.com>
67898         * Versions.def: Add GLIBC_2.17.
67899         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67900         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67901         Introduce __libc_secure_getenv.
67902         * stdlib/Versions (2.17): Add secure_getenv
67903         (GLIBC_PRIVATE): Add __libc_secure_getenv.
67904         * stdlib/secure-getenv.c: Rename __secure_getenv to
67905         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
67906         symbol __secure_getenv for GLIBC_2.0.
67907         * stdlib/tst-secure-getenv.c: New.
67908         * stdlib/Makefile (tests): Add testcase.
67909         * manual/startup.texi (Environment Access): Document
67910         secure_getenv.
67911         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67912         __libc_secure_getenv.
67913         * inet/ruserpass.c (ruserpass): Likewise.
67914         * malloc/mtrace.c (mtrace): Likewise.
67915         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67916         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67917         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67918         * sysdeps/posix/tempname.c: Likewise.  Evaluate
67919         HAVE_SECURE_GETENV.
67920         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67921         __secure_getenv to __libc_secure_getenv.
67922         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67924         Likewise.
67925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67926         Likewise.
67927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67929         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67935 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67937         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67938         (struct La_i86_retval): Likewise.
67939         (struct La_x86_64_regs): Likewise.
67940         (struct La_x86_64_retval): Likewise.
67941         (struct La_x32_regs): Likewise.
67942         (struct La_x32_retval): Likewise.
67943         (struct La_ppc32_regs): Likewise.
67944         (struct La_ppc32_retval): Likewise.
67945         (struct La_ppc64_regs): Likewise.
67946         (struct La_ppc64_retval): Likewise.
67947         (struct La_sh_regs): Likewise.
67948         (struct La_sh_retval): Likewise.
67949         (struct La_s390_32_regs): Likewise.
67950         (struct La_s390_32_retval): Likewise.
67951         (struct La_s390_64_regs): Likewise.
67952         (struct La_s390_64_retval): Likewise.
67953         (struct La_sparc32_regs): Likewise.
67954         (struct La_sparc32_retval): Likewise.
67955         (struct La_sparc64_regs): Likewise.
67956         (struct La_sparc64_retval): Likewise.
67957         (struct audit_ifaces): Remove architecture-specific pltenter and
67958         pltexit members.
67959         * sysdeps/i386/ldsodefs.h: New file.
67960         * sysdeps/powerpc/ldsodefs.h: Likewise.
67961         * sysdeps/s390/ldsodefs.h: Likewise.
67962         * sysdeps/sh/ldsodefs.h: Likewise.
67963         * sysdeps/sparc/ldsodefs.h: Likewise.
67964         * sysdeps/x86_64/ldsodefs.h: Likewise.
67966 2012-07-25  Marek Polacek  <polacek@redhat.com>
67968         [BZ #6808]
67969         * math/libm-test.inc (yn_test): Add another test.
67970         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67971         to ERANGE when the result is +-Inf.
67972         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67973         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67974         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67975         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67977 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
67979         * conform/data/time.h-data (NULL): Use macro-constant.  Require
67980         equal to 0.
67981         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
67982         clock_t.
67983         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
67985 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
67987         * configure.in <sysdeps resolving>: Correct printing
67988         Implies_before.
67989         * configure: Regenerate.
67991 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
67993         * math/w_ilogb.c: Include <limits.h>.
67994         * math/w_ilogbl.c: Likewise.
67996 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
67998         * manual/lang.texi (__va_copy): Document primarily as ISO C99
67999         va_copy.  Document allowing for unavailable va_copy only as
68000         pre-C99 compatibility.
68001         * manual/string.texi (Copying and Concatenation): Use va_copy
68002         instead of __va_copy in concat example.
68004 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68006         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68007         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68008         it if not null.
68010         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68011         with O_NOLINK passed to __file_name_lookup.
68013         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68014         with O_NOLINK passed to __file_name_lookup.
68016         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68017         negative N or less than NGIDS.
68019         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68020         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68021         enough.  Use memcpy instead of strncpy.
68023 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68025         * elf/Makefile (check-data): Remove.
68026         (localplt.data): New vpath directive.
68027         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68028         instead of $(check-data).
68029         * scripts/data/localplt-generic.data: Move to ...
68030         * sysdeps/generic/localplt.data: ... here.
68031         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68032         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68033         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68035         ... here.
68036         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68038         ... here.
68039         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68041         ... here.
68042         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68043         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68044         ... here.
68045         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68046         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68047         ... here.
68048         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68049         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68050         ... here.
68052 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68054         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68055         PPC32 and PPC64 files.
68056         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68057         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68059 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68061         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68062         __makecontext_ret to ...
68063         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68064         ... here and call exit if uc_link is NULL.  New file.
68065         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68066         __makecontext_ret.S.
68067         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68068         __makecontext_ret to ...
68069         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68070         ... here and call exit if uc_link is NULL.  New file.
68071         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68072         __makecontext_ret.S.
68074 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68076         * elf/elf.h (R_390_IRELATIVE): New definition.
68077         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68078         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68079         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68080         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68081         (elf_machine_lazy_rel): Likewise.
68082         * sysdeps/s390/dl-irel.h: New file.
68083         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68084         * sysdeps/s390/s390-64/memset.S: New asm code.
68085         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68086         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68087         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68088         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68089         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68090         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68091         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68092         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68093         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68094         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68095         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68096         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68097         * sysdeps/s390/s390-32/memset.S: New asm code.
68098         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68100 2012-07-17  Marek Polacek  <polacek@redhat.com>
68102         [BZ #14349]
68103         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68104         * sysdeps/s390/s390-64/configure.in: Likewise.
68105         * sysdeps/sparc/configure.in: Likewise.
68106         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68107         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68108         * sysdeps/i386/configure.in: Likewise.
68109         * sysdeps/x86_64/configure.in: Likewise.
68110         * sysdeps/sh/configure.in: Likewise.
68111         * sysdeps/s390/s390-32/configure: Regenerated.
68112         * sysdeps/s390/s390-64/configure: Likewise.
68113         * sysdeps/x86_64/configure: Likewise.
68114         * sysdeps/sh/configure: Likewise.
68115         * sysdeps/powerpc/powerpc64/configure: Likewise.
68116         * sysdeps/powerpc/powerpc32/configure: Likewise.
68117         * sysdeps/sparc/configure: Likewise.
68118         * sysdeps/i386/configure: Likewise.
68120         * elf/dl-open.c: Comment fixes.
68122 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68124         * Makefile [CXX] (check-data): Remove.
68125         [CXX] (c++-types.data): New vpath directive.
68126         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68127         vpath.  Do not allow for C++ type data being missing.
68128         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68129         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68130         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68131         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68132         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68133         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68134         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68136         ... here.
68137         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68139         ... here.
68140         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68142         ... here.
68143         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68145         ... here.
68146         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68147         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68148         ... here.
68149         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68151         ... here.
68152         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68154         ... here.
68155         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68158         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68159         definitions to architecture-specific files.
68160         (TLS_IE): Likewise.
68161         (TLS_LD): Likewise.
68162         (TLS_GD): Likewise.
68163         * sysdeps/i386/tls-macros.h: New file.
68164         * sysdeps/powerpc/tls-macros.h: Likewise.
68165         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68166         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68167         * sysdeps/sh/tls-macros.h: Likewise.
68168         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68169         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68170         * sysdeps/x86_64/tls-macros.h: Likewise.
68172 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68174         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68175         zero value for regular exit case.
68177         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68178         (__start_context): Preserve zero value for regular exit case.
68180 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68181             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68183         * manual/setjmp.texi (setcontext): Clarify normal process
68184         termination when uc_link is the null pointer.
68185         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68186         exit call.
68188 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68190         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68191         preprocessor.  Test for each exception mask separately.
68193 2012-07-16  Andreas Jaeger  <aj@suse.de>
68195         * po/ru.po: Update from translation team.
68197 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
68199         * conform/data/string.h-data (NULL): Use macro-constant.  Require
68200         equal to 0.
68201         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68202         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68203         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68204         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68205         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68207 2012-07-13  Andreas Jaeger  <aj@suse.de>
68209         * po/fr.po: Update from translation team.
68211 2012-07-12  Marek Polacek  <polacek@redhat.com>
68213         [BZ #14173]
68214         * math/libm-test.inc (yn_test): Add test for BZ #14173.
68215         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68216         loop condition.
68218 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
68220         [BZ #13717]
68221         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68222         Change to 2.4.1 where previously 2.4.0.
68223         * sysdeps/unix/sysv/linux/configure: Regenerated.
68224         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68225         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68226         version.
68227         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68228         (__ASSUME_AT_CLKTCK): Remove.
68229         (__ASSUME_AT_PAGESIZE): Likewise.
68230         (__ASSUME_AT_XID): Likewise.
68231         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68232         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68233         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68234         unconditionally.
68235         (HAVE_AUX_PAGESIZE): Likewise.
68236         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68237         [__ASSUME_AT_CLKTCK]: Make code unconditional.
68238         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68240 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
68242         [BZ #14307]
68243         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68244         the temporary buffer used to invoke __gethostbyname2_r,
68245         __gethostbyaddr_r and gethostbyname4_r to make room for struct
68246         host_data / struct gaih_addrtuple.
68247         * resolv/nss_dns/dns-host.c (global scope): Move definition of
68248         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68249         header file nss/nsswitch.h.
68250         * nss/nsswitch.h (global scope): Add definition of implementation
68251         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68252         resolv/nss_dns/dns-host.c).
68254 2012-07-11  Andreas Jaeger  <aj@suse.de>
68256         * po/fr.po: Update from translation team.
68258         * po/sv.po: Update from translation team
68259         * po/fr.po: Another update from translation team.
68261 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68263         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68264         for subnormals or multiply small sinh result by itself.
68265         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68268 2012-07-11  David S. Miller  <davem@davemloft.net>
68270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68272 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
68274         [BZ #14347]
68275         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68276         (INTERNAL_MARK): Shift it here.
68278 2012-07-10  Marek Polacek  <polacek@redhat.com>
68280         [BZ #14151]
68281         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
68282         libc_cv_asm_global_directive with .globl.
68283         * configure: Regenerated.
68284         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68285         with .globl.
68286         * sysdeps/i386/configure: Regenerated.
68287         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68288         with .globl.
68289         * sysdeps/x86_64/configure: Regenerated.
68290         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68291         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68292         * elf/tst-unique2mod2.c: Likewise.
68293         * elf/tst-unique2mod1.c: Likewise.
68294         * elf/tst-unique1mod2.c: Likewise.
68295         * elf/tst-unique1mod1.c: Likewise.
68296         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68297         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68298         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68299         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68300         * sysdeps/mach/sysdep.h: Likewise.
68301         * sysdeps/i386/sysdep.h: Likewise.
68302         * sysdeps/i386/i386-mcount.S: Likewise.
68303         * sysdeps/x86_64/_mcount.S: Likewise.
68304         * sysdeps/x86_64/sysdep.h: Likewise.
68305         * sysdeps/sh/_mcount.S: Likewise.
68306         * sysdeps/sh/sysdep.h: Likewise.
68307         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68308         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68309         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68310         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68311         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68312         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68313         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68314         * locale/localeinfo.h: Likewise.
68315         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68316         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68318 2012-07-09  Roland McGrath  <roland@hack.frob.com>
68320         [BZ #14336]
68321         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68322         system".
68323         * manual/message.texi (The Uniforum approach): Likewise.
68324         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68325         (glibc iconv Implementation): Likewise.
68327 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
68329         [BZ #14337]
68330         * math/s_clog.c (__clog): Avoid scaling a value down where that
68331         could result in underflow.
68332         * math/s_clog10.c (__clog10): Likewise.
68333         * math/s_clog10f.c (__clog10f): Likewise.
68334         * math/s_clog10l.c (__clog10l): Likewise.
68335         * math/s_clogf.c (__clogf): Likewise.
68336         * math/s_clogl.c (__clogl): Likewise.
68337         * math/libm-test.inc (clog_test): Add more tests.
68338         (clog10_test): Likewise.
68339         * sysdeps/i386/fpu/libm-test-ulps: Update.
68340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68342 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
68344         [BZ #14283]
68345         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68346         by 7 not 8 to examine high bit of fractional part.
68348         [BZ #14042]
68349         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68350         for call to __mcount_internal.
68351         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68352         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68353         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68355 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
68357         [BZ #14154]
68358         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68359         approximation for values within 0x1p-13f of an odd multiple of
68360         pi/4.
68361         * math/libm-test.inc (tan_test): Do not allow spurious underflow
68362         exception.  Add more tests.
68363         * sysdeps/i386/fpu/libm-test-ulps: Update.
68365         [BZ #6778]
68366         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68367         inputs and return -1 for them.  Do not check for +Inf in case not
68368         reachable for +Inf.
68369         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68370         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68371         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68372         and return -1 for them.  Do not check for +Inf in case not
68373         reachable for +Inf.
68374         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68375         define.
68376         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68377         and return -1 for them.  Do not check for +Inf in case not
68378         reachable for +Inf.
68379         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
68380         spurious underflow.
68381         * sysdeps/i386/fpu/libm-test-ulps: Update.
68382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68384 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
68386         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68388 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
68390         [BZ #14157]
68391         [BZ #14331]
68392         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68393         could result in spurious underflow.  Scale down values above
68394         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68395         * math/s_csqrtf.c (__csqrtf): Likewise.
68396         * math/s_csqrtl.c (__csqrtl): Likewise.
68397         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
68398         spurious underflow.
68399         * sysdeps/i386/fpu/libm-test-ulps: Update.
68400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68402 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
68404         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68405         xopen-msg.sed.
68406         * catgets/xopen-msg.awk: New file.
68407         * catgets/xopen-msg.sed: Removed.
68409         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68410         po2text.sed.
68411         * intl/po2test.awk: New file.
68412         * intl/po2test.sed: Removed.
68414 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
68416         [BZ #14328]
68417         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68418         or multiply small sinh result by itself.
68419         * math/s_ctanf.c (__ctanf): Likewise.
68420         * math/s_ctanh.c (__ctanh): Likewise.
68421         * math/s_ctanhf.c (__ctanhf): Likewise.
68422         * math/s_ctanhl.c (__ctanhl): Likewise.
68423         * math/s_ctanl.c (__ctanl): Likewise.
68424         * math/libm-test.inc (ctan_test_tonearest): New function.
68425         (ctan_test_towardzero): Likewise.
68426         (ctan_test_downward): Likewise.
68427         (ctan_test_upward): Likewise.
68428         (ctanh_test_tonearest): Likewise.
68429         (ctanh_test_towardzero): Likewise.
68430         (ctanh_test_downward): Likewise.
68431         (ctanh_test_upward): Likewise.
68432         (main): Call these new functions.
68433         * sysdeps/i386/fpu/libm-test-ulps: Update.
68434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68436 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
68438         * .gitignore: Delete /ports entry.
68440 2012-07-03  Andreas Jaeger  <aj@suse.de>
68442         * po/bg.po: Update from translation team.
68443         * po/cs.po: Likewise.
68444         * po/de.po: Likewise.
68445         * po/hr.po: Likewise.
68446         * po/nl.pl: Likewise.
68447         * po/pl.po: Likewise.
68448         * po/vi.po: Likewise.
68450 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
68452         * Makeconfig [!+link] (+link-before-libc): New variable.
68453         [!+link] (+link-after-libc): Likewise.
68454         [!+link] (+link-tests): Likewise.
68455         [!+link] (+link): Define in terms of $(+link-before-libc) and
68456         $(+link-after-libc).
68457         [!+link-static] (+link-static-before-libc): New variable.
68458         [!+link-static] (+link-static-after-libc): Likewise.
68459         [!+link-static] (+link-static-tests): Likewise.
68460         [!+link-static] (+link-static): Define in terms of
68461         $(+link-static-before-libc) and $(+link-static-after-libc).
68462         [build-shared] (link-libc-before-gnulib): New variable.
68463         [build-shared] (link-libc-tests): Likewise.
68464         [build-shared] (link-libc): Define in terms of
68465         $(link-libc-before-gnulib).
68466         [!build-shared] (link-libc-tests): New variable.
68467         (link-libc-static-tests): New variable.
68468         [!gnulib] (gnulib-arch): New variable.
68469         [!gnulib] (gnulib-tests): Likewise.
68470         [!gnulib] (static-gnulib-arch): Likewise.
68471         [!gnulib] (static-gnulib-tests): Likewise.
68472         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
68473         Define with "=" instead of ":=".
68474         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
68475         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
68476         * Rules (binaries-all-notests): New variable.
68477         (binaries-all-tests): Likewise.
68478         (binaries-static-notests): Likewise.
68479         (binaries-static-tests): Likewise.
68480         (binaries-all): Define using $(binaries-all-notests) and
68481         $(binaries-all-tests).
68482         (binaries-static): Define using $(binaries-static-notests) and
68483         $(binaries-static-tests).
68484         (binaries-shared-tests): New variable.
68485         (binaries-shared-notests): Likewise.
68486         (binaries-shared): Remove variable.
68487         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68488         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68489         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68490         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68491         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68492         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68493         * elf/Makefile (sln-modules): New variable.
68494         (extra-objs): Add $(sln-modules:=.o).
68495         (ldconfig-modules): Add static-stubs.
68496         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68497         * elf/static-stubs.c: New file.
68499         [BZ #14283]
68500         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68501         by 7 not 8 to examine high bit of fractional part.  Use volatile
68502         variables when splitting into final array of floats if
68503         __FLT_EVAL_METHOD__ != 0.
68504         * math/libm-test.inc (cos_test): Add another test.
68505         (sin_test): Likewise.
68506         * sysdeps/i386/fpu/libm-test-ulps: Update.
68508         [BZ #14273]
68509         * math/libm-test.inc (cosh_test): Add more tests.
68511         * version.h (RELEASE): Set to "development".
68512         (VERSION): Set to "2.16.90".
68514 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
68516         * NEWS: Update copyright. Remove last-updated date.
68517         Mention math library bug fixes and timezone data changes.
68518         * README: Mention GNU/Hurd, x32, and HPPA support status.
68520 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
68522         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68524 2012-06-27  Andreas Jaeger  <aj@suse.de>
68526         * manual/contrib.texi (Contributors): Add Samuel Thibault.
68528 2012-06-25  Andreas Jaeger  <aj@suse.de>
68530         * sysdeps/s390/fpu/libm-test-ulps: Update.
68532 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
68533             Thomas Schwinge  <thomas@codesourcery.com>
68535         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68536         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68538         fanotify_mark.
68540 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
68542         * sysdeps/mach/start.c: Remove file.
68543         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68544         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68545         * sysdeps/sh/init-first.c: Likewise.
68547         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68548         registers for frame unwinding purposes, add CFI directives.
68549         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68550         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68551         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68552         Likewise.
68554         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68555         __fortify_fail returning.
68556         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68558         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68559         sysdeps/sh/____longjmp_chk.S.
68560         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68561         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68562         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68563         (gen-as-const-headers): Append sigaltstack-offsets.sym.
68565         * sysdeps/sh/abort-instr.h: New file.
68566         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68567         process in case exit returns.
68569         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68570         initialize the GOT register before use.
68572         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68573         calculation of ARGC > 4.
68575         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68576         meaningful names to some local labels.
68578 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68579             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68581         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68582         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68583         (__arch_compare_and_exchange_val_16_acq): Likewise.
68584         (__arch_compare_and_exchange_val_32_acq): Likewise.
68585         (atomic_exchange_and_add): Fix gUSA sequence.
68586         (atomic_add): Likewise.
68587         (atomic_add_negative): Likewise.
68588         (atomic_add_zero): Likewise.
68589         (atomic_bit_test_set): Likewise.
68591 2012-06-22  Andreas Schwab  <schwab@redhat.com>
68593         [BZ #13579]
68594         * include/link.h (struct link_map): Add l_free_initfini.
68595         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68596         l_initfini.
68597         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68598         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68599         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68600         set.
68602 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
68604         * configure.in: Use AC_LANG_SOURCE.
68605         * configure: Regenerate.
68607 2012-06-22  Roland McGrath  <roland@hack.frob.com>
68609         * configure.in (libc_cv_localstatedir): New substituted variable.
68610         * configure: Regenerated.
68611         * config.make.in (localstatedir): New variable, substituted from
68612         libc_cv_localstatedir.
68613         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68614         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68615         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68616         * sysdeps/gnu/configure: Regenerated.
68618 2012-06-21  Jeff Law  <law@redhat.com>
68620         [BZ #14277]
68621         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68622         free.  Simplify list management for _LIBC case.
68624 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
68626         [BZ #14273]
68627         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68628         Clear sign bit of 64-bit integer value before comparing against
68629         overflow value.
68631         * sysdeps/mach/configure: Regenerated.
68633 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
68635         [BZ #14278]
68636         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68638 2012-06-21  Jeff Law  <law@redhat.com>
68640         [BZ #13882]
68641         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
68642         uint16_t for elements in the "seen" array to avoid char overflows.
68643         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68644         * elf/dl-open.c (dl_open_worker): Likewise.
68646 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
68648         * scripts/list-sources.sh: Scan PORTS for translations.
68649         * po/libc.pot: Regenerated.
68651 2012-06-21  Andreas Jaeger  <aj@suse.de>
68653         [BZ #12194]
68654         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68655         warning.
68656         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68657         * bits/byteswap-16.h (__bswap_16): Likewise.
68658         * bits/byteswap.h (__bswap_constant_16): Likewise.
68660 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
68662         [BZ #14117]
68663         * sysdeps/i386/fpu_control.h: Removed.
68664         * sysdeps/x86_64/fpu_control.h: Moved to ...
68665         * sysdeps/x86/fpu_control.h: Here.
68667         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68668         (_FPU_SETCW): Likewise.
68670 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
68672         [BZ #14117]
68673         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68674         * sysdeps/x86/fpu/bits/mathinline.h: This.
68675         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68677         [BZ #14050]
68678         [BZ #14117]
68679         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68680         functions if __x86_64__ is defined.
68682 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
68684         * string/endian.h: Add !__ASSEMBLER__ condition for including
68685         conversion interfaces.
68687 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
68689         [BZ #14241]
68690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68691         of ABS(x) in calculating zero to negative powers other than odd
68692         integers.
68693         * math/libm-test.inc (pow_test): Add more tests.
68695 2012-06-15  Andreas Jaeger  <aj@suse.de>
68697         * manual/contrib.texi (Contributors): Update entry of Liubov
68698         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68699         Machado Filho.
68701 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
68703         * string/string.h: Add __wur to GNU version of strerror_r.
68705 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
68707         [BZ #14229]
68708         * string/Makefile (tests): Add tst-strtok_r.
68709         * string/tst-strtok_r.c: New file.
68710         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68711         RAX_LP/RDX_LP on SAVE_PTR.
68713 2012-06-14  Roland McGrath  <roland@hack.frob.com>
68715         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68717 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
68719         * libm_test.inc (csqrt_test): Allow more spurious underflow
68720         exceptions.
68721         (j0_test): Likewise.
68722         (j1_test): Likewise.
68723         (y0_test): Likewise.
68724         (y1_test): Likewise.
68726 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
68728         * po/Makefile (libc.pot): Use UTF-8 charset.
68730 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
68732         [BZ #14210]
68733         Suppress sign-conversion warning from FD_SET.
68734         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68735         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68736         not unsigned long int.
68737         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68739 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
68741         [BZ #14050]
68742         [BZ #14117]
68743         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68744         __extern_always_inline instead of __extern_inline.
68745         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68746         (__signbit): Likewise.
68747         (__signbitl): Support C++ namespace.
68748         (lrintf): New inline function.
68749         (lrint): Likewise.
68750         (llrintf): Likewise.
68751         (llrint): Likewise.
68752         (fmaxf): Likewise.
68753         (fmax): Likewise.
68754         (fminf): Likewise.
68755         (fmin): Likewise.
68756         (rint): Likewise.
68757         (rintf): Likewise.
68758         (ceil): Likewise.
68759         (ceilf): Likewise.
68760         (floor): Likewise.
68761         (floorf): Likewise.
68762         (nearbyint): Likewise.
68763         (nearbyintf): Likewise.
68765 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
68767         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68768         non-default versions.
68770 2012-06-11  Roland McGrath  <roland@hack.frob.com>
68772         [BZ #14218]
68773         * manual/argp.texi (Argp): Reword argp_parse description slightly.
68775 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
68777         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68778         (FE_UPWARD, FE_DOWNWARD): Don't define.
68779         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68780         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68782         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68783         reading it.
68784         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68785         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68787 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68789         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68790         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68791         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68792         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68794 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
68796         [BZ #14117]
68797         * sysdeps/i386/fpu/bits/fenv.h: Removed.
68798         * sysdeps/i386/fpu/Implies: New file.
68799         * sysdeps/x86_64/fpu/Implies: Likewise.
68800         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68801         * sysdeps/x86/fpu/bits/fenv.h: This.
68803         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68804         __SSE_MATH__.
68806 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68808         [BZ #14134]
68809         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68810         character 0xffff that matches the last element of the
68811         conversion table.
68813 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68815         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68816         fmodl commit.
68818 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68820         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68821         values higher than 25.6283.
68823 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68825         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68826         subnormal exponent extraction and add some __builtin_expect.
68827         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68828         Fix for subnormal mantissa calculation.
68830 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
68832         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68833         cpu2 is -1 and errno is not ENOSYS.
68835 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
68837         [BZ #14117]
68838         * sysdeps/i386/i486/bits/string.h: Renamed to ...
68839         * sysdeps/x86/bits/string.h: This.
68840         * sysdeps/x86_64/bits/string.h: Removed.
68842         * sysdeps/i386/i486/bits/string.h: Define inline functions only
68843         if not compiling for x86-64, but compiling for >= i486.
68845         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68846         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68848         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68849         New macro from Linux kernel 3.4.0.
68850         (FP_XSTATE_MAGIC2): Likewise.
68851         (FP_XSTATE_MAGIC2_SIZE): Likewise.
68852         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68853         (struct _fpx_sw_bytes): New struct.
68854         (struct _xsave_hdr): Likewise.
68855         (struct _ymmh_state): Likewise.
68856         (struct _xstate): Likewise.
68858         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68859         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68860         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68861         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68862         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68863         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68865         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68866         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68867         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68868         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68869         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68870         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68872 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68874         [BZ #13743]
68875         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68876         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68877         (sysdep_headers): Include sys/platform/ppc.h.
68878         * sysdeps/powerpc/test-gettimebase.c: Test for
68879         __ppc_get_timebase() to catch future ISA opcode/insn changes.
68880         * manual/Makefile (appendices): Include platform.texi.
68881         * manual/contrib.texi (Contributors): Update @node pointers.
68882         * manual/maint.texi (Maintenance): Likewise.
68883         (Platform): New node.
68884         * manual/platform.texi: New file.  Document the new features.
68886 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68887             Jakub Jelinek  <jakub@redhat.com>
68889         [BZ #14188]
68890         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68891         where __builtin_expect is unavailable.
68893 2012-06-03  David S. Miller  <davem@davemloft.net>
68895         * stdlib/longlong.h: Updated from GCC.
68897 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
68899         [BZ #14042]
68900         * sysdeps/powerpc/powerpc32/mcount.c: New file.
68901         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68902         __mcount_internal.
68903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68904         (GLIBC_2.16): Likewise.
68906 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68908         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68910 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68913         (default-abi): New variable.
68914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68915         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68916         variable.
68917         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68918         Likewise.
68919         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68920         Likewise.
68921         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68922         Likewise.
68924         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68925         definition.  Document in comment.
68927 2012-06-01  David S. Miller  <davem@davemloft.net>
68929         * stdlib/longlong.h: Updated from GCC.
68931 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68933         [BZ #14117]
68934         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68935         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68936         sys/debugreg.h sys/io.h here.
68937         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68938         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68939         sys/io.h.
68940         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68941         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68942         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68943         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68944         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68945         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68948         Define only if __x86_64__ is defined.
68950 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68952         [BZ #14048]
68953         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68954         Use int64_t for variable i.
68955         * math/libm-test.inc (fmod_test): Add more tests.
68957         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68958         z computation is not scheduled after fetestexcept.
68959         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68960         Use math_force_eval instead of asm to ensure calculation scheduled
68961         before exception test.
68962         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68963         Ensure a1 + u.d computation is not scheduled after fetestexcept.
68965 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
68967         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68968         computation is not scheduled after fetestexcept.
68970 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68972         [BZ #14117]
68973         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68974         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68976 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68978         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68979         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68981 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68983         [BZ #14117]
68984         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68985         <bits/wordsize.h>.
68986         (__WCHAR_MIN): Support __WORDSIZE == 64.
68987         (__WCHAR_MAX): Likewise.
68989         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
68990         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
68992         [BZ #14183]
68993         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68994         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
68996         [BZ #14117]
68997         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
68998         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69000         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69001         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69003         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69004         Defined to 1 if __x86_64__ isn't defined.
69005         (_STAT_VER_LINUX_OLD): New.
69006         (st_atime): Remove duplicate.
69007         (st_mtime): Likewise.
69008         (st_ctime): Likewise.
69010 2012-05-31  David S. Miller  <davem@davemloft.net>
69012         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69013         entries.
69015 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69017         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69018         gen-libm-test.pl.
69020         [BZ #14132]
69021         * elf/dl-reloc.c: Include <_itoa.h>.
69022         (_dl_reloc_bad_type): Remove use of INTUSE.
69023         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69024         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69025         * stdio-common/psiginfo.c (psiginfo): Likewise.
69026         * stdio-common/psignal.c (psignal): Likewise.
69027         * string/strsignal.c (strsignal): Likewise.
69028         * include/signal.h (_sys_siglist): Declare hidden proto.
69029         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69030         INTVARDEF with libc_hidden_data_def.
69031         * stdio-common/itoa-udigits.c: Likewise.
69032         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69033         (_itoa_lower_digits_internal): Remove declaration.
69034         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69035         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69036         (_sys_sigabbrev_internal): Remove aliases.
69037         (_sys_siglist): Define hidden alias.
69039 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69042         bits/sysctl.h.
69044 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69046         [BZ #14117]
69047         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69048         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69050         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69051         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69052         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69053         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69054         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69055         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69057         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69058         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69059         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69061         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69062         with __addr.
69063         (insw): Likewise.
69064         (insl): Likewise.
69065         (outsb): Likewise.
69066         (outsw): Likewise.
69067         (outsl): Likewise.
69069         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69070         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69071         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69073         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69074         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69075         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69076         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69077         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69078         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69080         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69081         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69083         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69084         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69086         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69087         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69088         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69090         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69091         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69092         to ...
69093         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69095         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69096         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69097         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69099         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69100         for x86-64.
69101         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69103 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69105         * math/math.h (M_El): Use two more decimal places.
69106         (M_LOG2El): Likewise.
69107         (M_LOG10El): Likewise.
69108         (M_LN2l): Likewise.
69109         (M_LN10l): Likewise.
69110         (M_PIl): Likewise.
69111         (M_PI_2l): Likewise.
69112         (M_PI_4l): Likewise.
69113         (M_1_PIl): Likewise.
69114         (M_2_PIl): Likewise.
69115         (M_2_SQRTPIl): Likewise.
69116         (M_SQRT2l): Likewise.
69117         (M_SQRT1_2l): Likewise.
69119 2012-05-31  David S. Miller  <davem@davemloft.net>
69121         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69122         values between float registers.
69123         * sysdeps/sparc/sparc64/memset.S: Likewise.
69124         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69126 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69128         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69129         -D_FORTIFY_SOURCE=1.
69130         (CPPFLAGS-tst-longjmp_chk.c): Define.
69131         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69132         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69133         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69134         CFLAGS-tst-wchar-h.c.
69136 2012-05-31  Marek Polacek  <polacek@redhat.com>
69138         [BZ #14132]
69139         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69140         __endmntent_internal): Remove declaration.
69141         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69142         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69143         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69145 2012-05-30  David S. Miller  <davem@davemloft.net>
69147         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69148         (___Q_simulate_exceptions): Use real FP ops rather than writing
69149         into the %fsr.
69150         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69151         Likewise.
69153 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69155         [BZ #14117]
69156         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69157         * sysdeps/x86/bits/xtitypes.h: This.
69159         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69160         * sysdeps/x86/bits/wordsize.h: This.
69162         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69163         * sysdeps/x86/bits/huge_vall.h: This.
69165         * sysdeps/i386/bits/select.h: Removed.
69166         * sysdeps/x86_64/bits/select.h: Renamed to ...
69167         * sysdeps/x86/bits/select.h: This.
69169         * sysdeps/i386/bits/setjmp.h: Removed.
69170         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69171         * sysdeps/x86/bits/setjmp.h: This.
69173         * sysdeps/i386/bits/mathdef.h: Removed.
69174         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69175         * sysdeps/x86/bits/mathdef.h: This.
69177 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69179         [BZ #14132]
69180         * include/sys/socket.h (__connect_internal)
69181         (__libc_sa_len_internal): Remove declaration.
69182         (__connect, __libc_sa_len): Declare hidden_proto.
69183         (SA_LEN): Remove use of INTUSE.
69184         * socket/connect.c: Add libc_hidden_def.
69185         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69186         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69187         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69188         alias.
69189         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69190         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69191         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69192         of adding _internal alias.
69194 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69196         [BZ #14117]
69197         * sysdeps/i386/bits/link.h: Removed.
69198         * sysdeps/i386/bits/linkmap.h: Likewise.
69199         * sysdeps/x86_64/bits/link.h: Renamed to ...
69200         * sysdeps/x86/bits/link.h: This.
69201         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69202         * sysdeps/x86/bits/linkmap.h: This.
69204         * sysdeps/i386/bits/endian.h: Removed.
69205         * sysdeps/x86_64/bits/endian.h: Renamed to ...
69206         * sysdeps/x86/bits/endian.h: This.
69208         * sysdeps/i386/bits/byteswap.h: Removed.
69209         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69210         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69211         * sysdeps/x86/bits/byteswap.h: This.
69212         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69213         * sysdeps/x86/bits/byteswap-16.h: This.
69214         * sysdeps/i386/Implies: Add x86.
69215         * sysdeps/x86_64/Implies: Likewise.
69217 2012-05-30  David S. Miller  <davem@davemloft.net>
69219         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69220         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69221         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69222         (FP_TRAPPING_EXCEPTIONS): Define.
69223         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69224         (FP_TRAPPING_EXCEPTIONS): Define.
69225         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69226         subnormals only when inexact has been signalled or underflow
69227         exceptions are enabled.
69228         (_FP_PACK_CANONICAL): Likewise.
69230 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69232         [BZ #14183]
69233         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69234         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69236 2012-05-30  Richard Henderson  <rth@twiddle.net>
69238         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69239         with #ifndef NOT_IN_libc.
69241         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
69242         marked to avoid plt entry.
69244 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69246         [BZ #14112]
69247         * Makeconfig (default-abi): New macro.
69248         (abi-includes): Likewise.
69249         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
69250         $(abi-$(default-abi)-lib-soname) for soname if defined.
69251         ($(common-objpfx)gnu/lib-names.stmp): Generate from
69252         abi-variants.
69253         * Makefile (installed-stubs): Likewise.
69254         * include/stubs-biarch.h: Removed.
69255         * scripts/lib-names.awk: Only handle one library at a time.
69256         * scripts/soversions.awk: Remove WORDSIZE support.
69257         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69258         entries.
69259         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69260         Removed.
69261         (syscall-list-default-condition): Likewise.
69262         (syscall-list-default-condition): Likewise.
69263         (syscall-list-includes): Likewise.
69264         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69265         syscall-list-* with abi-*.  Handle undefined abi-variants.
69266         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69267         * sysdeps/unix/sysv/linux/i386/Implies: New file.
69268         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69269         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69270         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69271         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69272         Removed.
69273         (syscall-list-32-options): Likewise.
69274         (syscall-list-32-condition): Likewise.
69275         (syscall-list-64-options): Likewise.
69276         (syscall-list-64-condition): Likewise.
69277         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69278         macro.
69279         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69280         Renamed to ...
69281         (abi-*): This.
69282         (abi-64-ld-soname): New macro.
69283         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69284         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69285         Renamed to ...
69286         (abi-*): This.
69287         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69288         * sysdeps/x86_64/x32/shlib-versions: Likewise.
69290 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
69292         * sysdeps/unix/sysv/linux/kernel-features.h
69293         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69294         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69295         include <kernel-features.h>.
69296         [!__NR_ftruncate64]: Remove conditional code.
69297         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69298         [__NR_ftruncate64]: Make code unconditional.
69299         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69300         * sysdeps/unix/sysv/linux/truncate64.c: Do not
69301         include <kernel-features.h>.
69302         [!__NR_ftruncate64]: Remove conditional code.
69303         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69304         [__NR_ftruncate64]: Make code unconditional.
69305         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69307         include <kernel-features.h>.
69308         [!__NR_ftruncate64]: Remove conditional code.
69309         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69310         [__NR_ftruncate64]: Make code unconditional.
69311         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69313         include <kernel-features.h>.
69314         [!__NR_ftruncate64]: Remove conditional code.
69315         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69316         [__NR_ftruncate64]: Make code unconditional.
69317         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69319         * configure.in (libc_cv_fpie): Weaken to a compile test using
69320         LIBC_TRY_CC_OPTION.
69321         * configure: Regenerated.
69323 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69329         Refreshed.
69330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69332         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69334         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69335         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69336         Refreshed.
69338 2012-05-27  David S. Miller  <davem@davemloft.net>
69340         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69341         (___Q_zero): New.
69342         (__Q_simulate_exceptions): Return void.  Change to simulate
69343         exceptions by writing into the %fsr.
69344         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69345         (__Qp_handle_exceptions): Likewise.
69346         (numbers): Delete.
69347         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69348         __Qp_handle_exceptions.
69349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69350         __Qp_handle_exceptions.
69351         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69352         as unused and give dummy FP_RND_NEAREST initializer.
69353         (FP_INHIBIT_RESULTS): Define.
69354         (___Q_simulate_exceptions): Update declaration.
69355         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69356         formatting.
69357         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69358         as unused and give dummy FP_RND_NEAREST initializer.
69359         (__Qp_handle_exceptions): Update declaration.
69360         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69361         formatting.
69363 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
69365         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69366         the temporary FPU control word.
69367         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69368         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69369         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69370         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69371         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69372         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69373         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69374         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69375         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69376         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69377         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69379 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69381         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69382         fields.
69384 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
69386         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69387         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69388         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69389         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69390         Likewise.
69391         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69392         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69393         Likewise.
69395 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
69397         * po/h.po: Update from translation team.
69399 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
69401         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69403         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69404         handling of denormals.
69405         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69406         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69407         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69408         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69410         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69411         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69412         Likewise.
69414 2012-05-26  Marek Polacek  <polacek@redhat.com>
69416         [BZ #14152]
69417         * math/libm-test.inc (fma_test): Don't always expect underflow
69418         exception.
69420 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69422         [BZ #12416]
69423         * elf/tst-execstack.c: Include stackinfo.h.
69424         (do_test): Adjust test case to ensure that pthread_getattr_np
69425         behaviour remains the same after marking stack executable.
69427 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69429         * sysdeps/unix/sysv/linux/kernel-features.h
69430         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69431         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69432         kernel-features.h.
69433         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69434         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69435         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69436         kernel-features.h.
69437         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69438         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69440 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
69442         * configure.in: Define the default includes to being none.
69443         * configure: Regenerated.
69445 2012-05-25  Roland McGrath  <roland@hack.frob.com>
69447         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69448         * sysdeps/x86_64/setjmp.S: Likewise.
69449         * sysdeps/i386/bsd-setjmp.S: Likewise.
69450         * sysdeps/i386/bsd-_setjmp.S: Likewise.
69451         * sysdeps/i386/setjmp.S: Likewise.
69452         * sysdeps/i386/__longjmp.S: Likewise.
69453         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69454         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69456         * include/stap-probe.h: New file.
69457         * configure.in: Handle --enable-systemtap.
69458         * configure: Regenerated.
69459         * config.h.in (USE_STAP_PROBE): New #undef.
69460         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69461         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69462         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69464 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69466         [BZ #13717]
69467         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69468         to 2.4.0 where earlier.
69469         * sysdeps/unix/sysv/linux/configure: Regenerated.
69470         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69471         <kernel-features.h>.
69472         [__ASSUME_32BITUIDS]: Make code unconditional.
69473         [!__ASSUME_32BITUIDS]: Remove conditional code.
69474         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69475         <kernel-features.h>.
69476         [__ASSUME_32BITUIDS]: Make code unconditional.
69477         [!__ASSUME_32BITUIDS]: Remove conditional code.
69478         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69479         [__ASSUME_32BITUIDS]: Make code unconditional.
69480         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69481         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69482         <kernel-features.h>.
69483         [__ASSUME_32BITUIDS]: Make code unconditional.
69484         [!__ASSUME_32BITUIDS]: Remove conditional code.
69485         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69486         <kernel-features.h>.
69487         [__ASSUME_32BITUIDS]: Make code unconditional.
69488         [!__ASSUME_32BITUIDS]: Remove conditional code.
69489         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69490         <kernel-features.h>.
69491         [__ASSUME_32BITUIDS]: Make code unconditional.
69492         [!__ASSUME_32BITUIDS]: Remove conditional code.
69493         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69494         <kernel-features.h>.
69495         [__ASSUME_32BITUIDS]: Make code unconditional.
69496         [!__ASSUME_32BITUIDS]: Remove conditional code.
69497         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69498         <kernel-features.h>.
69499         [__ASSUME_32BITUIDS]: Make code unconditional.
69500         [!__ASSUME_32BITUIDS]: Remove conditional code.
69501         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
69502         <kernel-features.h>.
69503         [__ASSUME_32BITUIDS]: Make code unconditional.
69504         [!__ASSUME_32BITUIDS]: Remove conditional code.
69505         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
69506         <kernel-features.h>.
69507         [__ASSUME_32BITUIDS]: Make code unconditional.
69508         [!__ASSUME_32BITUIDS]: Remove conditional code.
69509         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
69510         <kernel-features.h>.
69511         [__ASSUME_32BITUIDS]: Make code unconditional.
69512         [!__ASSUME_32BITUIDS]: Remove conditional code.
69513         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
69514         <kernel-features.h>.
69515         [__ASSUME_32BITUIDS]: Make code unconditional.
69516         [!__ASSUME_32BITUIDS]: Remove conditional code.
69517         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
69518         <kernel-features.h>.
69519         [__ASSUME_32BITUIDS]: Make code unconditional.
69520         [!__ASSUME_32BITUIDS]: Remove conditional code.
69521         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
69522         <kernel-features.h>.
69523         [__NR_setresgid] (__setresgid): Do not declare.
69524         [__ASSUME_32BITUIDS]: Make code unconditional.
69525         [!__ASSUME_32BITUIDS]: Remove conditional code.
69526         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69527         <kernel-features.h>.
69528         [__NR_setresuid] (__setresuid): Do not declare.
69529         [__ASSUME_32BITUIDS]: Make code unconditional.
69530         [!__ASSUME_32BITUIDS]: Remove conditional code.
69531         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.c: Do not include
69548         <kernel-features.h>.
69549         [__ASSUME_32BITUIDS]: Make code unconditional.
69550         [!__ASSUME_32BITUIDS]: Remove conditional code.
69551         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
69552         <kernel-features.h>.
69553         [__ASSUME_32BITUIDS]: Make code unconditional.
69554         [!__ASSUME_32BITUIDS]: Remove conditional code.
69555         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
69556         <kernel-features.h>.
69557         [__ASSUME_32BITUIDS]: Make code unconditional.
69558         [!__ASSUME_32BITUIDS]: Remove conditional code.
69559         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
69560         <kernel-features.h>.
69561         [__ASSUME_32BITUIDS]: Make code unconditional.
69562         [!__ASSUME_32BITUIDS]: Remove conditional code.
69563         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
69564         <kernel-features.h>.
69565         [__ASSUME_32BITUIDS]: Make code unconditional.
69566         [!__ASSUME_32BITUIDS]: Remove conditional code.
69567         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
69568         <kernel-features.h>.
69569         [__ASSUME_32BITUIDS]: Make code unconditional.
69570         [!__ASSUME_32BITUIDS]: Remove conditional code.
69571         * sysdeps/unix/sysv/linux/kernel-features.h
69572         (__ASSUME_SETRESUID_SYSCALL): Remove.
69573         (__ASSUME_SETRESGID_SYSCALL): Likewise.
69574         (__ASSUME_32BITUIDS): Likewise.
69575         (__ASSUME_LDT_WORKS): Likewise.
69576         (__ASSUME_O_DIRECTORY): Likewise.
69577         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69578         architecture but not kernel version.
69579         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69580         (__ASSUME_MMAP2_SYSCALL): Likewise.
69581         (__ASSUME_STAT64_SYSCALL): Likewise.
69582         (__ASSUME_IPC64): Likewise.
69583         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69584         <kernel-features.h>.
69585         [__ASSUME_32BITUIDS]: Make code unconditional.
69586         [!__ASSUME_32BITUIDS]: Remove conditional code.
69587         * sysdeps/unix/sysv/linux/opendir.c: Do not include
69588         <kernel-features.h>.
69589         [__ASSUME_O_DIRECTORY]: Make code unconditional.
69590         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69591         132096]: Remove conditional code.
69592         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69593         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.c: Do not include
69598         <kernel-features.h>.
69599         [__ASSUME_32BITUIDS]: Make code unconditional.
69600         [!__ASSUME_32BITUIDS]: Remove conditional code.
69601         * sysdeps/unix/sysv/linux/setegid.c: Do not include
69602         <kernel-features.h>.
69603         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69604         unconditional.
69605         (__setresgid): Do not declare.
69606         [__ASSUME_32BITUIDS]: Make code unconditional.
69607         [!__ASSUME_32BITUIDS]: Remove conditional code.
69608         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69609         <kernel-features.h>.
69610         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69611         unconditional.
69612         (__setresuid): Do not declare.
69613         [__ASSUME_32BITUIDS]: Make code unconditional.
69614         [!__ASSUME_32BITUIDS]: Remove conditional code.
69615         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69616         <kernel-features.h>.
69617         [__ASSUME_32BITUIDS]: Make code unconditional.
69618         [!__ASSUME_32BITUIDS]: Remove conditional code.
69619         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69620         <kernel-features.h>.
69621         [__ASSUME_32BITUIDS]: Make code unconditional.
69622         [!__ASSUME_32BITUIDS]: Remove conditional code.
69624 2012-05-25  Richard Henderson  <rth@twiddle.net>
69626         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69627         dl_hwcap to ifunc resolver.
69628         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69629         elf_ifunc_invoke.
69630         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69631         dl_hwcap to ifunc resolver.
69632         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69634 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69636         [BZ #14153]
69637         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69638         for |x| <= 2**-26, not 2**-57.
69639         * math/libm-test.inc (acos_test): Do not allow spurious underflow
69640         exception.
69642 2012-05-24  Jeff Law  <law@redhat.com>
69644         * stdio-common/Makefile (tests): Add bug25.
69645         * stdio-common/bug25.c: New test.
69647 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69649         [BZ #13576]
69650         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69651         multiple of MALLOC_ALIGNMENT in size.
69652         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69654 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69656         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69657         Require >= 256.
69658         (FILENAME_MAX): Use macro-int-constant.
69659         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
69660         (_IOFBF): Use macro-int-constant.
69661         (_IOLBF): Likewise.
69662         (_IONBF): Likewise.
69663         (SEEK_CUR): Likewise.
69664         (SEEK_END): Likewise.
69665         (SEEK_SET): Likewise.
69666         (TMP_MAX): Likewise.
69667         (EOF): Use macro-int-constant.  Require < 0.
69668         (NULL): Use macro-constant.  Require == 0.
69669         (stdin): Require type to be FILE *.
69670         (stdout): Likewise.
69671         (stderr): Likewise.
69672         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69673         macro-int-constant.
69674         (EXIT_SUCCESS): Likewise.
69675         (NULL): Use macro-constant.  Require == 0.
69676         (RAND_MAX): Use macro-int-constant.
69677         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69678         [C99-based standards] (strtof): Require function.
69679         [C99-based standards] (strtold): Likewise.
69680         [C99-based standards] (strtoll): Likewise.
69681         [C99-based standards] (strtoull): Likewise.
69682         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69683         [ISO || ISO99 || ISO11] (limits.h): Likewise.
69684         [ISO || ISO99 || ISO11] (math.h): Likewise.
69685         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69686         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69687         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69689 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
69691         [BZ #14132]
69692         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69693         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69694         * intl/dgettext.c (DCGETTEXT): Likewise.
69695         * intl/gettext.c (DCGETTEXT): Likewise.
69696         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69697         * posix/regex_internal.h (gettext): Likewise.
69698         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69699         Remove declaration.
69700         * include/argz.h (__argz_count_internal)
69701         (__argz_stringify_internal): Remove declaration.
69702         (__argz_count, __argz_stringify): Declare hidden proto.
69703         * intl/dcgettext.c: Remove use of INTDEF.
69704         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69705         * string/argz-stringify.c: Likewise.
69706         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69707         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69708         Declare hidden proto.
69709         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69710         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69711         Declare hidden proto.
69712         * include/stdio.h (__asprintf_internal): Don't declare.
69713         (__asprintf): Don't define as macro.  Declare hidden proto.
69714         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69715         (__fsetlocking): Declare hidden proto.
69716         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69717         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69718         hidden proto.
69719         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69720         (_IO_setlinebuf): Remove use of INTUSE.
69721         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69722         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69723         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69724         Remove declaration.
69725         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69726         (_IO_do_flush): Remove use of INTUSE.
69727         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69728         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69729         (_IO_adjust_column, _IO_least_wmarker)
69730         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69731         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69732         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69733         (_IO_default_doallocate, _IO_wdefault_doallocate)
69734         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69735         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69736         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69737         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69738         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69739         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69740         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69741         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69742         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69743         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69744         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69745         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69746         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69747         proto.
69748         (_IO_flush_all_internal, _IO_adjust_column_internal)
69749         (_IO_default_uflow_internal, _IO_default_finish_internal)
69750         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69751         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69752         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69753         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69754         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69755         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69756         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69757         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69758         (_IO_file_close_internal, _IO_file_close_it_internal)
69759         (_IO_file_underflow_internal, _IO_file_overflow_internal)
69760         (_IO_file_init_internal, _IO_file_attach_internal)
69761         (_IO_file_fopen_internal, _IO_file_read_internal)
69762         (_IO_file_sync_internal, _IO_file_seek_internal)
69763         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69764         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69765         (_IO_str_underflow_internal, _IO_str_overflow_internal)
69766         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69767         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69768         (_IO_list_all_internal, _IO_link_in_internal)
69769         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69770         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69771         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69772         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69773         (_IO_do_write_internal, _IO_padn_internal)
69774         (_IO_getline_info_internal, _IO_getline_internal)
69775         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69776         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69777         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69778         (_IO_vfscanf_internal, _IO_vfprintf_internal)
69779         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69780         (_IO_init_internal, _IO_un_link_internal): Don't declare.
69781         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69782         with libc_hidden_ver, remove use of INTUSE.
69783         * libio/genops.c: Likewise.
69784         * libio/freopen.c: Likewise.
69785         * libio/freopen64.c: Likewise.
69786         * libio/iofclose.c: Likewise.
69787         * libio/iofdopen.c: Likewise.
69788         * libio/iofflush.c: Likewise.
69789         * libio/iofflush_u.c: Likewise.
69790         * libio/iofgets.c: Likewise.
69791         * libio/iofgets_u.c: Likewise.
69792         * libio/iofopen.c: Likewise.
69793         * libio/iofopncook.c: Likewise.
69794         * libio/iofread.c: Likewise.
69795         * libio/iofread_u.c: Likewise.
69796         * libio/ioftell.c: Likewise.
69797         * libio/iofwrite.c: Likewise.
69798         * libio/iogetline.c: Likewise.
69799         * libio/iogets.c: Likewise.
69800         * libio/iogetwline.c: Likewise.
69801         * libio/iopadn.c: Likewise.
69802         * libio/iopopen.c: Likewise.
69803         * libio/ioseekoff.c: Likewise.
69804         * libio/ioseekpos.c: Likewise.
69805         * libio/iosetbuffer.c: Likewise.
69806         * libio/iosetvbuf.c: Likewise.
69807         * libio/ioungetc.c: Likewise.
69808         * libio/ioungetwc.c: Likewise.
69809         * libio/iovdprintf.c: Likewise.
69810         * libio/iovsprintf.c: Likewise.
69811         * libio/iovsscanf.c: Likewise.
69812         * libio/memstream.c: Likewise.
69813         * libio/obprintf.c: Likewise.
69814         * libio/oldfileops.c: Likewise.
69815         * libio/oldiofclose.c: Likewise.
69816         * libio/oldiofdopen.c: Likewise.
69817         * libio/oldiofopen.c: Likewise.
69818         * libio/oldiopopen.c: Likewise.
69819         * libio/oldstdfiles.c: Likewise.
69820         * libio/putc.c: Likewise.
69821         * libio/setbuf.c: Likewise.
69822         * libio/setlinebuf.c: Likewise.
69823         * libio/stdfiles.c: Likewise.
69824         * libio/strops.c: Likewise.
69825         * libio/vasprintf.c: Likewise.
69826         * libio/vscanf.c: Likewise.
69827         * libio/vsnprintf.c: Likewise.
69828         * libio/vswprintf.c: Likewise.
69829         * libio/wfiledoalloc.c: Likewise.
69830         * libio/wfileops.c: Likewise.
69831         * libio/wgenops.c: Likewise.
69832         * libio/wmemstream.c: Likewise.
69833         * libio/wstrops.c: Likewise.
69834         * libio/__fpurge.c: Likewise.
69835         * libio/__fsetlocking.c: Likewise.
69836         * assert/assert.c: Likewise.
69837         * debug/fgets_chk.c: Likewise.
69838         * debug/fgets_u_chk.c: Likewise.
69839         * debug/fread_chk.c: Likewise.
69840         * debug/fread_u_chk.c: Likewise.
69841         * debug/gets_chk.c: Likewise.
69842         * debug/obprintf_chk.c: Likewise.
69843         * debug/vasprintf_chk.c: Likewise.
69844         * debug/vdprintf_chk.c: Likewise.
69845         * debug/vsnprintf_chk.c: Likewise.
69846         * debug/vsprintf_chk.c: Likewise.
69847         * malloc/mtrace.c: Likewise.
69848         * misc/error.c: Likewise.
69849         * misc/syslog.c: Likewise.
69850         * stdio-common/asprintf.c: Likewise.
69851         * stdio-common/fxprintf.c: Likewise.
69852         * stdio-common/getw.c: Likewise.
69853         * stdio-common/isoc99_fscanf.c: Likewise.
69854         * stdio-common/isoc99_scanf.c: Likewise.
69855         * stdio-common/isoc99_vfscanf.c: Likewise.
69856         * stdio-common/isoc99_vscanf.c: Likewise.
69857         * stdio-common/isoc99_vsscanf.c: Likewise.
69858         * stdio-common/printf-prs.c: Likewise.
69859         * stdio-common/printf_fp.c: Likewise.
69860         * stdio-common/printf_fphex.c: Likewise.
69861         * stdio-common/printf_size.c: Likewise.
69862         * stdio-common/putw.c: Likewise.
69863         * stdio-common/scanf.c: Likewise.
69864         * stdio-common/sprintf.c: Likewise.
69865         * stdio-common/tmpfile.c: Likewise.
69866         * stdio-common/vfprintf.c: Likewise.
69867         * stdio-common/vfscanf.c: Likewise.
69868         * stdlib/strfmon_l.c: Likewise.
69869         * sunrpc/openchild.c: Likewise.
69870         * sunrpc/xdr_stdio.c: Likewise.
69871         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69872         * sysdeps/mach/hurd/tmpfile.c: Likewise.
69874 2012-05-24  Roland McGrath  <roland@hack.frob.com>
69876         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69878         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69879         in the third column, to generate for the shared library an IFUNC
69880         that uses _dl_vdso_vsym.
69881         * Makerules (COMPILE.c, compile-stdin.c): New variables.
69882         * Makeconfig (object-suffixes-noshared): New variable.
69884         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69885         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69886         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69887         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69889         [BZ #14132]
69890         * include/sys/time.h (__gettimeofday): Remove macro.
69891         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69892         * time/gettimeofday.c (__gettimeofday): Remove #undef.
69893         Remove INTDEF.
69894         (__gettimeofday): Add libc_hidden_def.
69895         (gettimeofday): Add libc_hidden_weak.
69896         * sysdeps/mach/gettimeofday.c: Likewise.
69897         * sysdeps/posix/gettimeofday.c: Likewise.
69898         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69899         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69900         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69901         (__gettimeofday_internal): Remove strong_alias.
69902         (__gettimeofday): Add libc_hidden_def.
69903         (gettimeofday): Add libc_hidden_weak.
69904         * sysdeps/unix/syscalls.list (gettimeofday):
69905         Remove __gettimeofday_internal alias.
69907 2012-05-24  Daniel Jacobowitz  <drow@false.org>
69908             H.J. Lu  <hongjiu.lu@intel.com>
69910         [BZ #12495]
69911         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69912         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69913         (largebin_index_32_big): New.
69914         (largebin_index): Use it for 16-byte alignment.
69915         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
69916         correction with front_misalign.
69918 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69920         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69922         Likewise.
69923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69924         Likewise.
69925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69926         Likewise.
69927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69928         Likewise.
69929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69930         Likewise.
69931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69932         Likewise.
69933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69934         Likewise.
69935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69936         Likewise.
69937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69938         Likewise.
69939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69940         Likewise.
69941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69942         Likewise.
69943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69944         Likewise.
69946         * scripts/data/c++-types-x32-linux-gnu.data: New file.
69947         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69949 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69951         [BZ #10846]
69952         [BZ #14036]
69953         * math/libm-test.inc (exp_test): Add test from bug 14036.
69954         (pow_test): Add test from bug 10846.
69956         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69957         and other flags.
69958         (special_function): Do not include flags in test name.
69959         (parse_args): Likewise.
69960         * sysdeps/i386/fpu/libm-test-ulps: Update.
69961         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69962         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69963         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69966         * math/gen-libm-test.pl (%beautify): Add entries for underflow
69967         exceptions.
69968         * math/libm-test.inc ("Philosophy"): Update comment about
69969         exception testing.
69970         (UNDERFLOW_EXCEPTION): New macro.
69971         (UNDERFLOW_EXCEPTION_OK): Likewise.
69972         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69973         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69974         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69975         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69976         (INVALID_EXCEPTION_OK): Update value.
69977         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69978         (OVERFLOW_EXCEPTION_OK): Likewise.
69979         (IGNORE_ZERO_INF_SIGN): Likewise.
69980         (test_exceptions): Handle underflow exceptions.
69981         (acos_test): Update for underflow exception expectations.
69982         (cexp_test): Likewise.
69983         (clog_test): Likewise.
69984         (clog10_test): Likewise.
69985         (csqrt_test): Likewise.
69986         (ctan_test): Likewise.
69987         (ctanh_test): Likewise.
69988         (exp_test): Likewise.
69989         (exp10_test): Likewise.
69990         (exp2_test): Likewise.
69991         (expm1_test): Likewise.
69992         (fma_test): Likewise.
69993         (j0_test): Likewise.
69994         (jn_test): Likewise.
69995         (nexttoward_test): Likewise.
69996         (pow_test): Likewise.
69997         (scalbn_test): Likewise.
69998         (scalbln_test): Likewise.
69999         (tan_test): Likewise.
70000         (y1_test): Likewise.
70001         * sysdeps/i386/fpu/libm-test-ulps: Update.
70002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70004 2012-05-23  David S. Miller  <davem@davemloft.net>
70006         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70007         (__libc_sigaction): Remove unused local variables.
70009 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70011         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70013 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70015         mktime: avoid signed integer overflow
70016         * time/mktime.c (__mktime_internal): Do not mishandle the case
70017         where diff == INT_MIN.
70019         mktime: simplify computation of average
70020         * time/mktime.c (ranged_convert): Use new time_t_avg function
70021         instead of rolling our own (probably-slower) code.
70023         mktime: do not assume signed right shift propagates sign bit
70024         * time/mktime.c (isdst_differ): New static function.
70025         (__mktime_internal): No need to normalize tm_isdst now.
70026         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70027         tm_isdst values.
70029         mktime: merge another wrapv change from gnulib
70030         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70031         from some compilers.
70033         mktime: remove incorrect attempt at unusual arithmetics
70034         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70035         The code didn't really work on such machines anyway.
70036         (TYPE_MINIMUM): Assume two's complement.
70037         (twos_complement_arithmetic): Verify that long_int and time_t
70038         are two's complement (or unsigned, in the latter case).
70040         mktime: check signed shifts on long_int and time_t, too
70041         * time/mktime.c (SHR): Check that shifts work as desired
70042         on the types long_int and time_t too, as SHR is used on
70043         such types.
70045         mktime: do not assume 'long' is wide enough
70046         * time/mktime.c (verify): Move decl up.
70047         (long_int): New type.
70048         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70049         to remove assumption in the code that 'long' is wide enough to
70050         store year values.  This assumption is not true on x32 and on
70051         some non-glibc platforms.
70053         mktime: merge wrapv change from gnulib
70054         * time/mktime.c (WRAPV): New macro.
70055         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70056         (guess_time_tm, __mktime_internal): Do not assume that signed
70057         integer overflow wraps around; modern compilers generate code
70058         where this assumption is no longer valid.
70060 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70062         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70063         Replace "jmp L(pseudo_end)" with "ret".
70064         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70065         Likewise.
70067 2012-05-23  Andreas Jaeger  <aj@suse.de>
70069         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70070         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70072 2012-05-23  Andreas Jaeger  <aj@suse.de>
70073             Maximilian Attems  <max@stro.at>
70075         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70076         New macros.
70078 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70080         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70081         code so that pseudo_end is just ret and the stack pointer is
70082         correct also for static library in error case.
70084 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70086         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70087         move to syscalls.list.
70088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70093         * manual/install.texi (Running make install): Do not mention Linux
70094         kernel version for which pt_chown is not needed.
70095         (Linux): Do not mention problems with nscd with 2.0 kernels.
70096         * INSTALL: Regenerated.
70098 2012-05-23  Andreas Jaeger  <aj@suse.de>
70100         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70101         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70102         macro.
70103         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70104         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70105         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70106         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70107         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70108         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70109         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70110         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70111         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70112         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70113         * sysdeps/unix/sysv/linux/bits/in.h
70114         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70116 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70118         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70119         (PREPARE_VERSION): Just use assert instead, it will be elided
70120         under [NDEBUG] anyway.
70122 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70124         * sysdeps/unix/sysv/linux/Makefile: Include
70125         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70126         (sysdep_routines): Remove sysctl.
70127         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70128         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70129         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70130         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70131         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70133 2012-05-22  Andreas Jaeger  <aj@suse.de>
70135         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70136         that pseudo_end is just ret and the stack pointer is correct also
70137         for static library in error case.
70139 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70141         [BZ #14122]
70142         * nss/nsswitch.c (defconfig_entries): New variable.
70143         (__nss_database_lookup): Don't leak defconfig entries.
70144         (nss_parse_service_list): Don't leak on error paths.
70145         (free_database_entries): New function.
70146         (free_defconfig): New function.
70147         (free_mem): Move common code to free_database_entries.
70149 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70151         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70152         Add arch_prctl.
70153         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70155         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70156         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70157         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70158         New macro.
70159         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70160         (INTERNAL_SYSCALL_TYPES): Likewise.
70161         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70162         (LOAD_REGS_TYPES_[1-6]): Likewise.
70163         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70164         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70166 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70168         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70169         copysignl for GLIBC_2_0.
70170         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70171         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70172         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70173         logbl for GLIBC_2_0.
70174         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70175         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70177 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70179         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70180         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70182         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70183         Use "neg %eax".
70185         * time/mktime.c: Update copyright years.
70187 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70189         mktime: merge comment-quoting-style change from gnulib
70190         * time/mktime.c: Quote 'like this' in comments.
70191         The GNU coding standards suggest that we no longer quote `like this',
70192         as "`" and "'" are typically rendered asymmetrically nowadays.
70193         The typical gnulib style is to quote 'like this' when quoting
70194         code, and "like this" when quoting English.
70196         * time/mktime.c (compile-command): Add "-I.".
70198         mktime: merge mktime-internal.h change from gnulib
70199         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70201         mktime: merge time_r change from gnulib
70202         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70204         mktime: merge DEBUG change from gnulib
70205         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70206         case system <time.h> has a #define.
70208         mktime: merge <sys/types.h> change from gnulib
70209         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70210         since <time.t> is now guaranteed to define time_t.
70212         mktime: merge HAVE_CONFIG_H change from gnulib
70213         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70215 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70218         Use "neg %eax".
70220         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70221         __rlim_t cast.
70222         (struct rusage): Use anonymous union to pad each field to
70223         __syscall_slong_t.
70225 2012-05-21  David S. Miller  <davem@davemloft.net>
70227         * Makefules (o-iterator): Remove .s cases.
70228         (compile-command.s): Delete.
70229         (COMPILE.s): Delete.
70230         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70232 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
70234         * configure.in (libc_cv_predef_stack_protector): Only consider
70235         "foobar" and "__stack_chk_fail" lines in libc_undefs.
70236         * configure: Regenerated.
70238 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70240         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70241         New macro.  Use R*LP on int and pointer.
70242         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70243         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70244         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70245         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70247         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70248         [__WORDSIZE_TIME64_COMPAT32] instead of
70249         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70250         (struct utmp): Likewise.
70251         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70252         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70253         Renamed to ...
70254         (__WORDSIZE_TIME64_COMPAT32): This.
70255         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70256         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70257         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70258         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70259         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70260         (__WORDSIZE_TIME64_COMPAT32): New macro.
70262 2012-05-21  Andreas Jaeger  <aj@suse.de>
70264         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70265         only if [SHARED]. Add prototype for __wcschr_ia32.
70267 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70269         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70270         of %rbp unmolested in the jmp_buf while mangling the low bits.
70271         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70272         unmolested high bits of %rbp while demangling the low bits.
70273         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70275 2012-05-21  Andreas Jaeger  <aj@suse.de>
70277         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70278         * sunrpc/svc_simple.c: Use it for registerrpc.
70279         * sunrpc/xcrypt.c: Use it for passwd2des.
70281         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70283 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70285         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70286         Don't define if [__SYSCALL_WORDSIZE != 32].
70287         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70288         New macro.
70290 2012-05-21  Bruno Haible  <bruno@clisp.org>
70291             Andreas Jaeger  <aj@suse.de>
70293         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70294         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70295         inptr and inend for must_buffer_ch.
70296         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70297         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70298         * stdio-common/Makefile (tests): Remove bug15.
70299         (bug15-ENV): Remove macro.
70300         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70301         anymore.
70303 2012-05-19  Andreas Jaeger  <aj@suse.de>
70304             Roland McGrath  <roland@hack.frob.com>
70306         * manual/contrib.texi: Completely rewritten. It contains now an
70307         alphabetical list of contributors and their contributions.
70309 2012-05-21  Richard Henderson  <rth@twiddle.net>
70311         * misc/getauxval.c (__getauxval): Use unsigned long int.
70312         * misc/sys/auxv.h: Include <sys/cdefs.h>.
70313         (getauxval): Use unsigned long int.
70315 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70317         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70319 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70321         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70322         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70323         __alignof__ (long double).
70325 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70329 2012-05-20  Richard Henderson  <rth@twiddle.net>
70331         * misc/getauxval.c: New file.
70332         * misc/sys/auxv.h: New file.
70333         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70334         (routines): Add getauxval.
70335         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70336         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70337         * elf/dl-sysdep.c (_dl_auxv): Remove.
70338         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70339         * elf/dl-support.c (_dl_auxv): New variable.
70340         (_dl_aux_init): Initialize it.
70341         * manual/startup.texi (Auxiliary Vector): New node.
70342         * sysdeps/generic/bits/hwcap.h: New file.
70343         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70344         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
70345         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70346         * sysdeps/sparc/sysdep.h: ... here.  Include it.
70347         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70348         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70350         Update.
70351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70354         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70358         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70360 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70364 2012-05-19  David S. Miller  <davem@davemloft.net>
70366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70368 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70370         [BZ #14123]
70371         * math/s_ccosh.c: Include <float.h>
70372         (__ccosh): Avoid internal overflow calculating sinh and cosh
70373         values before multiplying by sin and cos values.
70374         * math/s_ccoshf.c: Likewise.
70375         * math/s_ccoshl.c: Likewise.
70376         * math/s_csin.c: Likewise.
70377         * math/s_csinf.c: Likewise.
70378         * math/s_csinl.c: Likewise.
70379         * math/s_csinh.c: Likewise.
70380         * math/s_csinhf.c: Likewise.
70381         * math/s_csinhl.c: Likewise.
70382         * math/libm-test.inc (ccos_test): Add more tests.
70383         (ccosh_test): Likewise.
70384         (csin_test): Likewise.
70385         (csinh_test): Likewise.
70386         * sysdeps/i386/fpu/libm-test-ulps: Update.
70387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70389 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
70391         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70392         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70394         * sysdeps/x86_64/x32/_itoa.h: Add comment.
70396 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70398         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70399         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70400         * sysdeps/powerpc/soft-fp/Versions: Likewise.
70401         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70402         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70403         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70404         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70405         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70406         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70407         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70408         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70409         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70410         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70411         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70412         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70413         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70414         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70415         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70416         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70417         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70418         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70419         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70420         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70421         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70422         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70423         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70424         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70425         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70426         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70427         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70428         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70430 2012-05-18  Andreas Jaeger  <aj@suse.de>
70432         * csu/.gitignore: Delete.
70434 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70436         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70437         (timex): Use __syscall_slong_t.
70439 2012-05-18  Andreas Jaeger  <aj@suse.de>
70440             Carlos O'Donell  <carlos_odonell@mentor.com>
70442         * manual/install.texi (Configuring and compiling): Update
70443         description about files modified in the source directory.
70444         * INSTALL: Regenerated.
70446 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70448         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70449         value.  Use "or" to set return value to -1.
70450         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70451         negate return value.
70453 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70455         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70456         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70457         failure if the compiler has Graphite support disabled.
70458         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70459         Likewise.
70460         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70461         (CFLAGS-memmove.c): Likewise.
70462         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70463         Likewise.
70465 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70467         * sysdeps/x86_64/x32/_itoa.h: New file.
70469         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70470         getdents system call only if kernel and user dirents have the
70471         same d_ino and d_off.
70473         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70474         LLONG_MAX != LONG_MAX.
70475         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70476         (_fitoa_word): Likewise.
70478         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70479         years.
70480         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70481         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70482         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70484         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70485         include <bits/wordsize.h>.  Check __x86_64__ instead of
70486         __WORDSIZE.
70487         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70488         if __x86_64__ is defined.  Use anonymous union on fpstate.
70490         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70491         anonymous union.
70493 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
70495         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70496         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70497         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70498         Refer to _rtld_local_ro instead of _rtld_global_ro.
70499         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70500         Likewise.
70501         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70502         Likewise.
70503         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70504         Likewise.
70505         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70506         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70507         of _rtld_global, and rtld_progname instead of _dl_argv[0].
70509         [BZ #10882]
70510         * sysdeps/powerpc/powerpc32/dl-machine.c
70511         (__elf_machine_runtime_setup) [PROF]: Don't reference
70512         _dl_prof_resolve.
70514 2012-05-18  Andreas Jaeger  <aj@suse.de>
70516         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70517         function only available for GCCs before 3.4 since GCC 3.4
70518         introduced a builtin.
70519         (lrint): Likewise.
70520         (llrintf): Likewise.
70521         (llrint): Likewise.
70522         (fmaxf): Likewise.
70523         (fmax): Likewise.
70524         (fminf): Likewise.
70525         (fmin): Likewise.
70526         (rint): Likewise.
70527         (rintf): Likewise.
70528         (nearbyint): Likewise.
70529         (nearbyintf): Likewise.
70530         (ceil): Likewise.
70531         (ceilf): Likewise.
70532         (floor): Likewise.
70533         (floorf): Likewise.
70535 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70537         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70538         on both fields and cast pointer to __syscall_ulong_t.
70540         * bits/types.h (__fsword_t): New type.
70541         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70542         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70543         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70544         (__FSWORD_T_TYPE): Likewise.
70545         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70546         (__FSWORD_T_TYPE): Likewise.
70547         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70548         (__FSWORD_T_TYPE): Likewise.
70549         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70550         (__FSWORD_T_TYPE): Likewise.
70551         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70552         __SWORD_TYPE with __fsword_t.
70553         (statfs64): Likewise.
70555 2012-05-17  David S. Miller  <davem@davemloft.net>
70557         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70559 2012-05-17  Andreas Jaeger  <aj@suse.de>
70561         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70562         warning.
70564 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70566         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70568 2012-05-17  Andreas Jaeger  <aj@suse.de>
70570         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70571         when it is used.
70573 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70575         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70577 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70579         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70580         * sysdeps/x86_64/tst-mallocalign1.c: New file.
70582 2012-05-17  Andreas Jaeger  <aj@suse.de>
70583             Carlos O'Donell  <carlos_odonell@mentor.com>
70585         [BZ #14059]
70586         * sysdeps/x86_64/multiarch/init-arch.h
70587         (bit_YMM_Usable): Rename to...
70588         (bit_AVX_Usable): ... this.
70589         (bit_FMA4_Usable): New macro.
70590         (bit_XMM_state): New macro.
70591         (bit_YMM_state): New macro.
70592         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70593         [__ASSEMBLER__] (index_AVX_Usable): ... this.
70594         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70595         (CPUID_OSXSAVE): New macro.
70596         (CPUID_AVX): New macro.
70597         (CPUID_FMA4): New macro.
70598         (index_YMM_Usable): Rename to...
70599         (index_AVX_Usable): ... this.
70600         (HAS_AVX): Use HAS_ARCH_FEATURE.
70601         (HAS_FMA4): Likewise.
70602         (HAS_YMM_USABLE): Remove.
70603         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70604         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70605         are present.
70606         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70607         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70608         * sysdeps/x86_64/multiarch/Makefile: Likewise.
70609         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70610         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70612 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70614         * math/libm-test.c: Support platforms without multiple rounding modes.
70615         * math/bug-nextafter.c: Support platforms without FP exceptions.
70616         * math/bug-nexttoward.c: Likewise.
70617         * math/test-fenv.c: Likewise.
70618         * math/test-misc.c: Likewise.
70619         * stdlib/bug-getcontext.c: Likewise.
70621 2012-05-17  Andreas Jaeger  <aj@suse.de>
70623         * manual/examples/search.c (critter_cmp): Change signature to
70624         avoid warnings.
70625         * manual/string.texi (Collation Functions): Likewise.
70627 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70629         * bits/types.h: Fold copyright years.
70630         * bits/typesizes.h: Likewise.
70631         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70632         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70633         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70634         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70635         * time/time.h: Likewise.
70637 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
70639         [BZ #208]
70640         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70641         in instead of returning them.  Return void.
70642         (__libc_mallinfo): Accumulate over all arenas.
70643         (__malloc_stats): Adjust for change in int_mallinfo interface.
70645 2012-05-16  Roland McGrath  <roland@hack.frob.com>
70647         [BZ #10375]
70648         * configure.in (NM): Add AC_CHECK_TOOL for it.
70649         (libc_extra_cflags): New substituted variable.
70650         Check for -fstack-protector being used implicitly.
70651         * configure: Regenerated.
70652         * config.make.in (config-extra-cflags): New variable,
70653         gets @libc_extra_cflags@.
70654         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70656         [BZ #10375]
70657         * configure.in: Check for _FORTIFY_SOURCE being predefined.
70658         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70659         * configure: Regenerated.
70660         * config.make.in (CPPUNDEFS): New substituted variable.
70661         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70662         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70663         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70665 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70667         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70668         (mq_attr): Use __syscall_slong_t.
70670 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70672         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70673         Check __x86_64__ instead of __WORDSIZE.
70674         (_STAT_VER_LINUX): Likewise.
70675         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
70676         __syscall_ulong_t and __syscall_slong_t.
70677         (stat64): Likewise.
70679 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70681         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70683 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70685         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70687 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70689         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70690         __syscall_ulong_t.
70692         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70693         include <bits/wordsize.h>.  Check __x86_64__ instead of
70694         __WORDSIZE.
70695         (greg_t): Use "__extension__ long long int" if __x86_64__ is
70696         defined.
70697         (mcontext_t): Replace "unsigned long" with "unsigned long long".
70699         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70700         include <bits/wordsize.h>.  Check __x86_64__ instead of
70701         __WORDSIZE.
70702         (user_regs_struct): Use "__extension__ unsigned long long"
70703         instead of "unsigned long" if __x86_64__ is defined.
70704         (user): Likewise.  Pad after pointer field if __ILP32__ is
70705         defined.
70707 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
70709         * configure.in (makeinfo): Require version 4.5 or later.  Allow
70710         versions 5 to 9.
70711         * configure: Regenerated.
70712         * manual/install.texi (texinfo): Increase version requirement to
70713         4.5 or later.
70714         * INSTALL: Regenerated.
70716         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70718 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70720         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70722         * sysdeps/x86_64/x32/ffs.c: New file.
70724         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70725         __syscall_ulong_t.
70726         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70727         defined.  Use __syscall_ulong_t.
70728         (shminfo): Use __syscall_ulong_t.
70729         (shm_info): Likewise.
70731         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70732         __syscall_ulong_t.
70734         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70735         <bits/wordsize.h>.
70736         (msgqnum_t): Use __syscall_ulong_t.
70737         (msglen_t): Likewise.
70738         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
70739         __syscall_ulong_t.
70741         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70742         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70744         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70746         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70747         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70749         * sysvipc/sys/msg.h (msgbuf): Replace long int with
70750         __syscall_slong_t.
70752         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70753         include <bits/wordsize.h>.  Check __x86_64__ instead of
70754         __WORDSIZE.
70756         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70757         "unsigned long long int" if __x86_64__ is defined.
70758         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70760         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70761         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70762         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70764         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70765         <stdint.h>.
70766         (GET_PC): Cast to uintptr_t first.
70767         (GET_FRAME): Likewise.
70768         (GET_STACK): Likewise.
70770         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70771         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70772         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70773         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70774         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70775         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70776         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70777         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70778         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70779         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70780         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70781         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70782         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70783         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70784         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70785         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70786         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70787         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70788         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70789         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70790         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70791         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70792         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70793         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70794         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70795         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70796         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70797         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70798         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70800 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
70802         * Makerules (+depfiles): Also collect depfiles from .oS in
70803         $(extra-objs).
70804         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70805         .oS, $(libnldbl-routines)).
70807         * Makerules (native-compile-mkdep-flags): Define.
70808         * sunrpc/Makefile (extra-objs): Add $(addprefix
70809         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70810         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70811         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
70812         calling $(make-target-directory).
70814 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70816         * bits/types.h (__snseconds_t): Removed.
70817         * time/time.h (struct timespec): Replace __snseconds_t with
70818         __syscall_slong_t.
70819         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70820         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70821         Likewise.
70822         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70823         (__SNSECONDS_T_TYPE): Likewise.
70824         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70825         (__SNSECONDS_T_TYPE): Likewise.
70826         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70827         (__SNSECONDS_T_TYPE): Likewise.
70829 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70831         * sysdeps/mach/hurd/bits/typesizes.h
70832         (__SYSCALL_SLONG_TYPE): New macro.
70833         (__SYSCALL_ULONG_TYPE): Likewise.
70835 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70837         * bits/types.h (__syscall_slong_t): New type.
70838         (__syscall_ulong_t): Likewise.
70840         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70841         (__SYSCALL_ULONG_TYPE): Likewise.
70842         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70843         (__SYSCALL_SLONG_TYPE): Likewise.
70844         (__SYSCALL_ULONG_TYPE): Likewise.
70845         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70846         (__SYSCALL_SLONG_TYPE): Likewise.
70847         (__SYSCALL_ULONG_TYPE): Likewise.
70848         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70849         (__SYSCALL_SLONG_TYPE): Likewise.
70850         (__SYSCALL_ULONG_TYPE): Likewise.
70852 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70854         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70855         Add sigaltstack-offsets.sym.
70856         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70857         <sigaltstack-offsets.h>.
70858         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
70859         longjmp_msg pointer.
70860         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
70861         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70862         signal stack.
70863         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70865 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70867         * elf/stackguard-macros.h: Remove file.
70868         * sysdeps/generic/stackguard-macros.h: New file.
70869         * sysdeps/i386/stackguard-macros.h: Likewise.
70870         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70871         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70872         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70873         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70874         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70875         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70876         * sysdeps/x86_64/stackguard-macros.h: Likewise.
70877         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70878         <elf/stackguard-macros.h>.
70880         [BZ #14109]
70881         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70882         __aligned__ in attribute.
70883         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70884         (gregset_t): Likewise.
70886 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70888         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70889         * sysdeps/x86_64/64/Implies-after: Here.  New file.
70890         * sysdeps/x86_64/x32/Implies-after: New file.
70892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70894         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70895         and access return value for _dl_profile_fixup.  Use R10_LP to
70896         load frame size.
70898 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70900         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70904         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70905         * sysdeps/x86_64/x32/sysdep.h: New file.
70907 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70909         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70910         * sysdeps/x86_64/setjmp.S: Likewise.
70912 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70914         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70915         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70916         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70917         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70918         remove unused global constant.
70920 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
70922         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70923         include of <not-cancel.h>.
70925 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70927         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70929 2012-05-15  Jeff Law  <law@redhat.com>
70930             Andreas Jaeger  <aj@suse.de>
70932         [BZ #13594]
70933         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70934         out from...
70935         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70936         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70937         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70938         code changing __hst_map_handle.map.
70940 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70942         * configure.in (sysnames): Look for Implies-before and Implies-after
70943         files.
70944         * configure: Regenerated.
70946 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70948         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70949         8-byte data alignment with LP_SIZE alignment.
70951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70953         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70954         into R10_LP.
70956 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70958         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70960 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70962         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70963         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70965         Likewise.
70966         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70970         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70971         (stackinfo_sub_sp): Likewise.
70973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70975         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70976         RAX_LP.
70978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70980         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70981         into R*_LP.
70983 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70985         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70986         sizes into R*_LP.
70988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70990         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
70992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70994         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
70995         into R11_LP and load __x86_64_shared_cache_size_half into
70996         R8_LP.
70998 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71000         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71001         R8_LP.
71003 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71006         logb for POWER7.
71007         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71008         logbf for POWER7.
71009         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71010         logbl for POWER7.
71011         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71012         powerpc32/power7/fpu/s_logb.c via #include.
71013         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71014         powerpc32/power7/fpu/s_logbf.c via #include.
71015         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71016         powerpc32/power7/fpu/s_logbl.c via #include.
71018 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71020         * README.libm: Remove file.
71022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71024         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71025         count for x32.  Use R*_LP and omit operand-size suffix.
71027 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71029         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71030         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71031         * sysdeps/x86_64/x32/shlib-versions: New file.
71033 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71035         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71036         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71037         Use _dl_fatal_printf instead.
71039 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71041         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71042         set if not set by the user.  Do not allow for being unset.
71043         * sysdeps/unix/sysv/linux/configure: Regenerated.
71045 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71047         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71048         the `q' suffix from lea and replace .quad with ASM_ADDR.
71050 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71052         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71053         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71054         instead of $17.
71055         (PTR_DEMANGLE): Likewise.
71057 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71059         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71060         (LP_OP): Likewise.
71061         (ASM_ADDR): Likewise.
71062         (RAX_LP): Likewise.
71063         (RBP_LP): Likewise.
71064         (RBX_LP): Likewise.
71065         (RCX_LP): Likewise.
71066         (RDI_LP): Likewise.
71067         (RSI_LP): Likewise.
71068         (RSP_LP): Likewise.
71069         (R8_LP): Likewise.
71070         (R9_LP): Likewise.
71071         (R10_LP): Likewise.
71072         (R10_LP): Likewise.
71073         (R11_LP): Likewise.
71074         (R12_LP): Likewise.
71075         (R13_LP): Likewise.
71076         (R14_LP): Likewise.
71077         (R15_LP): Likewise.
71079 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71081         * sysdeps/x86_64/x32/dl-machine.h: New file.
71083 2012-05-14  Andreas Jaeger  <aj@suse.de>
71085         * manual/Makefile (subdir): Remove export of subdir.
71086         (all): Remove target.
71087         (.PHONY): Remove all from list.
71088         (mkinstalldirs): Remove.
71089         (.PHONY): Remove installdirs from list.
71090         ($(inst_infodir)/libc.info): Use make-target-directory.
71091         (installdirs): Remove.
71092         (subdir_%): Remove.
71093         (glibc-targets): Remove.
71094         (lib): Remove.
71095         (stubs): Remove.
71096         ($(objpfx)stubs ../po/manual.pot): Remove.
71097         ($(objpfx)stamp%): Remove.
71098         (make-target-directory): Remove.
71099         (subdir_install): Remove.
71100         (routines): Remove.
71101         (aux): Remove.
71102         (sources): Remove.
71103         (objects): Remove.
71104         (headers): Remove.
71106         [BZ #13750]
71107         * manual/.gitignore: Remove, it's not needed anymore.
71108         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71109         all files in it.
71110         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71111         directory.
71112         (texis): Renamed to $(objpfx)texis.
71113         (texis-path): New, contains path to generated files.
71114         (chapters.%): Use texis-path for complete path, add extra argument
71115         libc-texinfo.sh.
71116         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71117         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71118         (summary,texi, stamp-summary): Use complete path of
71119         files. Generate files in build dir.
71120         (dir-add.texi): Build in build dir.
71121         (libm-err.texi,stamp-libm-err): Likewise.
71122         (version.texi, stamp-version): Likewise.
71123         (.%c.texi): Likewise.
71124         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71125         (mostlyclean): Remove target.
71126         (realclean): Remove target.
71127         (generated): Add new variable with contents from mostlyclean and
71128         realclean, remove entries duplicated in common-mostlyclean, add
71129         stamp-libm-err and stamp-version.
71130         (generated-dirs): Add libc directory.
71131         ($(inst_infodir)/libc.info): Install files from build dir.
71133         * manual/install.texi (Configuring and compiling): Adjust since
71134         the info files are not part of the tar ball anymore.
71136 2012-05-14  Andreas Jaeger  <aj@suse.de>
71138         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71139         variable.
71141 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71143         [BZ #13717]
71144         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71145         to 2.2.0 where earlier.
71146         * sysdeps/unix/sysv/linux/configure: Regenerated.
71147         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71148         Remove conditional code.
71149         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71150         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71151         Remove conditional code.
71152         [!__NR_lchown]: Likewise.
71153         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71154         [__NR_lchown]: Likewise.
71155         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71156         comment referencing __ASSUME_LCHOWN_SYSCALL.
71157         * sysdeps/unix/sysv/linux/i386/sigaction.c
71158         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71159         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71160         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71161         Remove conditional code.
71162         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71163         (__protocol_available): Remove #if 0 code.
71164         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71165         conditional code.
71166         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71167         * sysdeps/unix/sysv/linux/kernel-features.h
71168         (__ASSUME_GETCWD_SYSCALL): Don't define.
71169         (__ASSUME_REALTIME_SIGNALS): Likewise.
71170         (__ASSUME_PREAD_SYSCALL): Likewise.
71171         (__ASSUME_PWRITE_SYSCALL): Likewise.
71172         (__ASSUME_POLL_SYSCALL): Likewise.
71173         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71174         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71175         non-SPARC.
71176         (__ASSUME_SIOCGIFNAME): Don't define.
71177         (__ASSUME_MSG_NOSIGNAL): Likewise.
71178         (__ASSUME_SENDFILE): Define unconditionally.
71179         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71180         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71181         conditional code.
71182         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71183         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71184         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71185         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71186         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71187         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71188         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71190         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71191         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71193         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71194         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71196         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71197         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71199         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71200         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71202         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71203         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71205         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71206         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71208         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71209         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71211         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71212         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71213         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71214         Remove conditional code.
71215         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71216         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71217         Remove conditional code.
71218         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71219         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71220         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71221         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71222         Remove conditional code.
71223         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71224         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71225         Remove conditional code.
71226         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71227         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71228         Remove conditional code.
71229         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71230         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71231         Remove conditional code.
71232         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71233         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71234         Remove conditional code.
71235         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71236         * sysdeps/unix/sysv/linux/sh/pwrite64.c
71237         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71238         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71239         * sysdeps/unix/sysv/linux/sigaction.c
71240         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71241         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71242         * sysdeps/unix/sysv/linux/sigpending.c
71243         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71244         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71245         * sysdeps/unix/sysv/linux/sigprocmask.c
71246         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71247         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71248         * sysdeps/unix/sysv/linux/sigsuspend.c
71249         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71250         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71251         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71252         (__libc_missing_rt_sigs): Remove.
71253         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71254         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71255         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71256         Remove conditional code.
71257         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71258         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71259         return 1.
71260         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71261         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71262         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71263         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71265 2012-05-14  Andreas Jaeger  <aj@suse.de>
71267         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71268         it's not used in glibc.
71269         (__coshm1): Likewise.
71270         (__acosh1p): Likewise.
71271         (__sgn): Likewise.
71273         * manual/string.texi (Copying and Concatenation): Add missing
71274         variable in concat example.
71275         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71277 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71279         [BZ #14103]
71280         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71281         __builtin_clzl with __builtin_clzll.
71283 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71285         [BZ #14104]
71286         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71287         libc_freeres_ptr.
71289 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71291         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71292         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71293         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71294         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71296 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
71298         * NEWS: Update ia64 info.
71300 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
71302         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71303         used as bcopy.
71305 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
71307         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71308         * sysdeps/unix/syscalls.list (dup3): Likewise.
71309         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71310         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71312 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71314         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71315         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71317 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71319         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71320         thread pointer.
71321         (TLS_IE): Use mov/add instead of movq/addq to load thread
71322         pointer.
71323         (TLS_GD_PREFIX): New.
71324         (TLS_GD): Use it.
71326 2012-05-11  David S. Miller  <davem@davemloft.net>
71328         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71329         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71330         (_FPU_SETCW): Likewise.
71332 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71334         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71335         is 32-byte aligned.
71337 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
71339         [BZ #11837]
71340         * iconvdata/gb18030.c: Update tables.
71341         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
71342         characters specially.
71343         (BODY for TO_LOOP): Add encoding of missing ranges.
71345 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
71347         [BZ #13673]
71348         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71349         * sysdeps/mach/hurd/dup3.c: Likewise.
71350         * sysdeps/mach/hurd/readlinkat.c: Likewise.
71351         * sysdeps/powerpc/memmove.c:: Likewise.
71353 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71355         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71356         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71358 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71360         * elf/elf.h (R_X86_64_RELATIVE64): New.
71361         (R_X86_64_NUM): Updated.
71362         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71363         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
71364         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71365         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71366         tst-quad1pie tst-quad2pie
71367         (modules-names): Add tst-quadmod1 tst-quadmod2.
71368         ($(objpfx)tst-quad1): New dependency.
71369         ($(objpfx)tst-quad2): Likewise.
71370         ($(objpfx)tst-quad1pie): Likewise.
71371         ($(objpfx)tst-quad2pie): Likewise.
71372         * sysdeps/x86_64/tst-quad1.c: New file.
71373         * sysdeps/x86_64/tst-quad1pie.c: New file.
71374         * sysdeps/x86_64/tst-quad2.c: Likewise.
71375         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71376         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71377         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71378         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71379         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71381 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71383         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71384         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71385         * streams/stropts.h (t_scalar_t): Define type.
71387         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71388         (_PATH_PRESERVE): Set to "/var/lib".
71389         (_PATH_RWHODIR): Set to "/var/spool/rwho".
71391         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71392         instead of int.
71394         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71395         if __dir_mkfile succeeded.
71397         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71398         checking for _hurd_dtablesize.  Unlock it right after having
71399         finished _hurd_dtable allocation.
71401 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71403         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71404         * sysdeps/mach/hurd/configure: Regenerated.
71405         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71406         special-casing to...
71407         * sysdeps/gnu/configure.in: ... this new file.
71408         * sysdeps/unix/sysv/linux/configure: Regenerated.
71409         * sysdeps/gnu/configure: New generated file.
71411         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71412         for Linux: use nsec instead of usec, as well as:
71413         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71414         members of type struct timespec.
71415         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71416         New macros.
71417         (struct stat64): Likewise.
71418         (_STATBUF_ST_NSEC): New macro.
71419         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71421         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71422         __strtoul_internal rather than strtoul.
71424 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71426         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71427         and reject them.
71429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71431         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71432         which preserves existing values.
71433         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71435 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71437         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71438         TIMEOUT values.  Return EINVAL for NFDS values either negative or
71439         greater than FD_SETSIZE.
71441 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71443         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71444         allocated, call __vm_protect to finish enabling the existing space, and
71445         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71446         allocate the remainder.
71448 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71450         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71451         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
71453 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71455         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71456         sysdeps/mach/hurd/readlink.c.
71458         * posix/tst-sysconf.c (posix_options): Only use
71459         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71460         _POSIX_SYNCHRONIZED_IO when they are defined
71461         * sysdeps/mach/hurd/bits/posix_opt.h:
71462         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71463         (_XOPEN_REALTIME): Undefine macro.
71464         (_XOPEN_REALTIME_THREADS): Undefine macro.
71465         (_XOPEN_SHM): Undefine macro.
71466         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71467         macro to -1.
71468         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71469         macro to -1.
71470         (_POSIX_ASYNC_IO): Undefine macro.
71471         (_POSIX_PRIORITIZED_IO): Undefine macro.
71472         (_POSIX_SPIN_LOCKS): Define macro to -1.
71474         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71475         SA_NODEFER, SA_RESETHAND.
71476         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71477         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71478         F_DUPFD_CLOEXEC.
71480 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71482         * elf/Makefile (pldd-modules): Define unconditionally.
71484 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71486         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71490         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71491         Return ENOENT when name is empty.
71492         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71494 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71496         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71498         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71502         Fix mlock in all cases except non-readable pages.
71503         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71504         instead of VM_PROT_ALL as parameter to __vm_wire function.
71506         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71507         (__mkdir): When path is `/', just fail with EEXIST.
71508         * sysdeps/mach/hurd/mkdirat.c: Likewise.
71510 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71512         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71513         <sys/uio.h> (for writev).
71514         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71515         and <sys/param.h> (for MIN).
71517 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71519         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71520         REQUESTED_TIME.  Properly set the remaining time and return EINTR
71521         if interrupted.
71523 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71525         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71526         Depend on against $(link-rpcuserlibs).
71528 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71530         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71531         (__libc_stack_end): Do not use attribute_relro.
71532         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71533         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71534         to libthread-provided value.
71535         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71536         attribute_relro.
71538 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71540         [BZ #3748]
71541         * bits/libc-lock.h (__libc_once_get): New macro.
71542         * sysdeps/mach/bits/libc-lock.h: Likewise.
71543         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71544         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71545         instead of using implementation details.
71547         * libio/fileops.c: Unconditionally include <kernel-features.h>.
71548         * libio/freopen.c: Likewise.
71549         * libio/freopen64.c: Likewise.
71550         * misc/syslog.c: Likewise.
71551         * nscd/connections.c: Likewise.
71552         * nscd/netgroupcache.c: Likewise.
71553         * sysdeps/posix/getcwd.c: Likewise.
71555 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71557         * math/w_ilogbf.c: Add #include <limits.h>.
71559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71561         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71562         path instead of returning without unlocking.
71564         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71565         immediate-write ioctls.
71566         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71568 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71570         * sysdeps/mach/hurd/i386/init-first.c (init): Use
71571         __builtin_frame_address instead of making assumptions about the
71572         location of the return address relative to DATA.  Force early load of
71573         the return address.
71574         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71575         __builtin_frame_address.
71577         dup3 for GNU Hurd.
71578         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71579         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
71580         implement dup3 and do some further code clean-ups.
71581         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71582         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71584 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71586         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71588         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71589         HURD_CRITICAL_END around holding _hurd_dtable_lock.
71590         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71591         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71592         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71593         d->port.lock.
71595         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71596         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
71597         when handler == SIG_ERR, not when handler != SIG_ERR.
71599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71601         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71602         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71603         definitions.
71605         accept4 for GNU Hurd.
71606         * include/sys/socket.h (__libc_accept4): New prototype.
71607         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
71608         to implement __libc_accept4.
71609         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71610         __libc_accept4.
71611         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71613         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71614         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71615         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71616         signal-defines.sym.
71618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71620         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71622 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71624         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71625         assertion on O_CLOEXEC flag.
71626         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71627         * hurd/intern-fd.c: Likewise.
71628         * hurd/port2fd.c: Likewise.
71630 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71632         [BZ #3906]
71633         * bits/in.h (IPV6_PKTINFO): Define new macro.
71634         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71636 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71638         [BZ #13954]
71639         [BZ #13955]
71640         [BZ #13956]
71641         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71642         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71643         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71644         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71645         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71646         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71647         * math/libm-test.inc (logb_test) : Additional logb tests.
71649 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
71650             Andreas Jaeger  <aj@suse.de>
71652         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71653         * configure: Regenerated.
71654         * config.h.in (LINK_OBSOLETE_RPC): New macro.
71655         * config.make.in (link-obsolete-rpc): New substituted variable.
71656         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71657         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71658         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71659         (shared-only-routines): Don't set it under [link-obsolete-rpc],
71660         so that libc.a contains the symbols.
71661         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71662         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71663         * sunrpc/auth_none.c: Likewise.
71664         * sunrpc/auth_unix.c: Likewise.
71665         * sunrpc/authdes_prot.c: Likewise.
71666         * sunrpc/authuxprot.c: Likewise.
71667         * sunrpc/clnt_gen.c: Likewise.
71668         * sunrpc/clnt_perr.c: Likewise.
71669         * sunrpc/clnt_raw.c: Likewise.
71670         * sunrpc/clnt_simp.c: Likewise.
71671         * sunrpc/clnt_tcp.c: Likewise.
71672         * sunrpc/clnt_udp.c: Likewise.
71673         * sunrpc/clnt_unix.c: Likewise.
71674         * sunrpc/des_crypt.c: Likewise.
71675         * sunrpc/des_soft.c: Likewise.
71676         * sunrpc/get_myaddr.c: Likewise.
71677         * sunrpc/key_call.c: Likewise.
71678         * sunrpc/key_prot.c: Likewise.
71679         * sunrpc/netname.c: Likewise.
71680         * sunrpc/pm_getmaps.c: Likewise.
71681         * sunrpc/pm_getport.c: Likewise.
71682         * sunrpc/pmap_clnt.c: Likewise.
71683         * sunrpc/pmap_prot.c: Likewise.
71684         * sunrpc/pmap_prot2.c: Likewise.
71685         * sunrpc/pmap_rmt.c: Likewise.
71686         * sunrpc/publickey.c: Likewise.
71687         * sunrpc/rpc_cmsg.c: Likewise.
71688         * sunrpc/rpc_common.c: Likewise.
71689         * sunrpc/rpc_dtable.c: Likewise.
71690         * sunrpc/rpc_prot.c: Likewise.
71691         * sunrpc/rpc_thread.c: Likewise.
71692         * sunrpc/rtime.c: Likewise.
71693         * sunrpc/svc.c: Likewise.
71694         * sunrpc/svc_auth.c: Likewise.
71695         * sunrpc/svc_raw.c: Likewise.
71696         * sunrpc/svc_run.c: Likewise.
71697         * sunrpc/svc_tcp.c: Likewise.
71698         * sunrpc/svc_udp.c: Likewise.
71699         * sunrpc/svc_unix.c: Likewise.
71700         * sunrpc/svcauth_des.c: Likewise.
71701         * sunrpc/xcrypt.c: Likewise.
71702         * sunrpc/xdr.c: Likewise.
71703         * sunrpc/xdr_array.c: Likewise.
71704         * sunrpc/xdr_float.c: Likewise.
71705         * sunrpc/xdr_intXX_t.c: Likewise.
71706         * sunrpc/xdr_mem.c: Likewise.
71707         * sunrpc/xdr_rec.c: Likewise.
71708         * sunrpc/xdr_ref.c: Likewise.
71709         * sunrpc/xdr_sizeof.c: Likewise.
71710         * sunrpc/xdr_stdio.c: Likewise.
71712 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71714         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71715         change.  Update copyright years.
71717 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71719         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71721 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
71722             Joseph Myers  <joseph@codesourcery.com>
71723             Paul Pluzhnikov  <ppluzhnikov@google.com>
71725         [BZ #14012]
71726         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71727         requiring rpcgen.
71728         [cross-compiling] (extra-libs): Likewise.
71729         [cross-compiling] (extra-libs-others): Likewise.
71730         [cross-compiling] (librpcsvc-routines): Likewise.
71731         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71732         [cross-compiling] (omit-deps): Likewise.
71733         (sunrpc-CPPFLAGS): New variable.
71734         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71735         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71736         (cross-rpcgen-objs): New variable.
71737         (extra-objs): Append $(cross-rpcgen-objs).
71738         ($(cross-rpcgen-objs)): New rule.
71739         ($(objpfx)cross-rpcgen): Likewise.
71740         (rpcgen-cmd): Define to use $(built-program-file).  Expand
71741         comment.
71742         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71743         ($(objpfx)x%.stmp): Likewise.
71744         * sunrpc/proto.h [IS_IN_build] (_): Define.
71745         [IS_IN_build] (_libc_intl_domainname): Likewise.
71747 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71749         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71750         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71751         and R_X86_64_TPOFF64.
71753 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71755         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71756         sysdeps/unix/sysv/syscalls.list.
71757         (stime): Likewise.
71758         (utime): Likewise.
71759         * sysdeps/unix/sysv/syscalls.list: Remove file.
71761 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
71763         [BZ #3440]
71764         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71765         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71766         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71767         (__LC_IDENTIFICATION): Make these macros useful in #if
71768         expressions, as required by C99.
71770 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
71772         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71773         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
71774         after this.
71776 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
71778         * stdlib/longlong.h: Updated from GCC.
71780 2012-05-09  Andreas Jaeger  <aj@suse.de>
71782         * nscd/nscd.c (run_modes): Make named enum, reorder so that
71783         default is first entry.
71784         (run_mode): Set type.
71785         (main): Remove informal message about syslog.
71786         (options): Fix typo.
71788         [BZ #14053]
71789         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71790         to asm.
71791         (lrint): Likewise.
71792         (llrintf): Likewise.
71793         (llrint): Likewise.
71794         (rint): Likewise.
71795         (rintf): Likewise.
71796         (nearbyint): Likewise.
71797         (nearbyintf): Likewise.
71799 2012-05-09  Andreas Jaeger  <aj@suse.de>
71800             Pedro Alves  <palves@redhat.com>
71802         * nscd/nscd.c (run_mode): Use enum.
71803         (main): Cleanup coding style issue.
71805 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
71806             Andreas Jaeger  <aj@suse.de>
71808         * nscd/nscd.c (go_background): Replaced with...
71809         (run_mode): ... this.
71810         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71811         (options): Add -F --foreground.
71812         (main): Implement it.
71813         (parse_opt): Parse it.
71815 2012-05-09  Andreas Jaeger  <aj@suse.de>
71817         [BZ #14083]
71818         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71819         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71820         -Wconversion warning.
71821         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71822         Likewise.
71824 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
71826         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
71827         == 0.
71828         (LC_ALL): Use macro-int-constant.
71829         (LC_COLLATE): Likewise.
71830         (LC_CTYPE): Likewise.
71831         (LC_MESSAGES): Likewise.
71832         (LC_MONETARY): Likewise.
71833         (LC_NUMERIC): Likewise.
71834         (LC_TIME): Likewise.
71835         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71836         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71837         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71838         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71839         Specify type.
71840         [C99-based standards] (float_t): Expect type.
71841         [C99-based standards] (double_t): Expect type.
71842         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
71843         type.
71844         [C99-based standards] (HUGE_VALL): Likewise.
71845         [C99-based standards] (INFINITY): Likewise.
71846         [C99-based standards] (NAN): Likewise.
71847         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71848         [C99-based standards] (FP_NAN): Likewise.
71849         [C99-based standards] (FP_NORMAL): Likewise.
71850         [C99-based standards] (FP_SUBNORMAL): Likewise.
71851         [C99-based standards] (FP_ZERO): Likewise.
71852         [C99-based standards] (FP_FAST_FMA): Use
71853         optional-macro-int-constant.  Specify type.  Require == 1.
71854         [C99-based standards] (FP_FAST_FMAF): Likewise.
71855         [C99-based standards] (FP_FAST_FMAL): Likewise.
71856         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71857         [C99-based standards] (FP_ILOGBNAN): Likewise.
71858         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71859         Specify type.
71860         [C99-based standards] (MATH_ERREXCEPT): Likewise.
71861         [C99-based standards] (math_errhandling): Specify type.
71862         [ISO99 || ISO11] (signgam): Do not allow.
71863         [non-C99-based standards] (copysignf): Do not allow.
71864         [non-C99-based standards] (exp2f): Likewise.
71865         [non-C99-based standards] (log2f): Likewise.
71866         [non-C99-based standards] (modff): Allow.
71867         [non-C99-based standards] (erff): Do not allow.
71868         [non-C99-based standards] (erfcf): Likewise.
71869         [non-C99-based standards] (gammaf): Likewise.
71870         [non-C99-based standards] (hypotf): Likewise.
71871         [non-C99-based standards] (j0f): Likewise.
71872         [non-C99-based standards] (j1f): Likewise.
71873         [non-C99-based standards] (jnf): Likewise.
71874         [non-C99-based standards] (lgammaf): Likewise.
71875         [non-C99-based standards] (tgammaf): Likewise.
71876         [non-C99-based standards] (y0f): Likewise.
71877         [non-C99-based standards] (y1f): Likewise.
71878         [non-C99-based standards] (ynf): Likewise.
71879         [non-C99-based standards] (isnanf): Likewise.
71880         [non-C99-based standards] (acoshf): Likewise.
71881         [non-C99-based standards] (asinhf): Likewise.
71882         [non-C99-based standards] (atanhf): Likewise.
71883         [non-C99-based standards] (cbrtf): Likewise.
71884         [non-C99-based standards] (expm1f): Likewise.
71885         [non-C99-based standards] (ilogbf): Likewise.
71886         [non-C99-based standards] (log1pf): Likewise.
71887         [non-C99-based standards] (logbf): Likewise.
71888         [non-C99-based standards] (nextafterf): Likewise.
71889         [non-C99-based standards] (remainderf): Likewise.
71890         [non-C99-based standards] (rintf): Likewise.
71891         [non-C99-based standards] (scalbf): Likewise.
71892         [non-C99-based standards] (copysignl): Likewise.
71893         [non-C99-based standards] (exp2l): Likewise.
71894         [non-C99-based standards] (log2l): Likewise.
71895         [non-C99-based standards] (modfl): Allow.
71896         [non-C99-based standards] (erfl): Do not allow.
71897         [non-C99-based standards] (erfcl): Likewise.
71898         [non-C99-based standards] (gammal): Likewise.
71899         [non-C99-based standards] (hypotl): Likewise.
71900         [non-C99-based standards] (j0l): Likewise.
71901         [non-C99-based standards] (j1l): Likewise.
71902         [non-C99-based standards] (jnl): Likewise.
71903         [non-C99-based standards] (lgammal): Likewise.
71904         [non-C99-based standards] (tgammal): Likewise.
71905         [non-C99-based standards] (y0l): Likewise.
71906         [non-C99-based standards] (y1l): Likewise.
71907         [non-C99-based standards] (ynl): Likewise.
71908         [non-C99-based standards] (isnanl): Likewise.
71909         [non-C99-based standards] (acoshl): Likewise.
71910         [non-C99-based standards] (asinhl): Likewise.
71911         [non-C99-based standards] (atanhl): Likewise.
71912         [non-C99-based standards] (cbrtl): Likewise.
71913         [non-C99-based standards] (expm1l): Likewise.
71914         [non-C99-based standards] (ilogbl): Likewise.
71915         [non-C99-based standards] (log1pl): Likewise.
71916         [non-C99-based standards] (logbl): Likewise.
71917         [non-C99-based standards] (nextafterl): Likewise.
71918         [non-C99-based standards] (remainderl): Likewise.
71919         [non-C99-based standards] (rintl): Likewise.
71920         [non-C99-based standards] (scalbl): Likewise.
71921         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71922         [non-C99-based standards] (FP_*): Do not allow.
71923         [C99-based standards] (FP_*): Change to
71924         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71925         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71926         allow.
71927         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71928         (SIG_ERR): Likewise.
71929         [X/Open-based standards] (SIG_HOLD): Likewise.
71930         (SIG_IGN): Likewise.
71931         (SIGABRT): Use macro-int-constant.  Specify type.  Require
71932         positive value.
71933         (SIGFPE): Likewise.
71934         (SIGILL): Likewise.
71935         (SIGINT): Likewise.
71936         (SIGSEGV): Likewise.
71937         (SIGTER): Likewise.
71938         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71939         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71940         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71941         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71942         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71943         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71944         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71945         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71946         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71947         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71948         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71949         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71950         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71951         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71952         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71953         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71954         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71955         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71956         [X/Open-based standards] (SIGTRAP): Likewise.
71957         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71958         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71959         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71960         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71961         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71962         allow.
71964 2012-05-08  Ian Wienand  <ianw@vmware.com>
71966         [BZ #14080]
71967         * time/tzset.c (__tzset_parse_tz): Update default rules for
71968         daylight time changes in the Energy Policy Act of 2005.
71970 2012-05-09  Andreas Jaeger  <aj@suse.de>
71972         [BZ #13983]
71973         * elf/ldconfig.c (parse_conf): Change string to make clear that
71974         ldconfig only issued a warning if ld.so.conf does not exist.
71976 2012-05-08  David S. Miller  <davem@davemloft.net>
71978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71979         movxtod instead of popping the value on the stack.
71981         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71983 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
71985         * config.h.in: Add HAVE_ARM_PCS_VFP.
71987 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
71989         [BZ #13979]
71990         * include/features.h: Warn if user requests __FORTIFY_SOURCE
71991         checking but the checks are disabled for any reason.
71993 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
71995         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
71996         and ELF64_R_TYPE with ELFW(R_TYPE).
71998 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72000         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72001         (ulimit): Likewise.
72003         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72004         (settimeofday): Likewise.
72006 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72008         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72009         a struct th_u2 inside the union, and move tu_block/tu_code into
72010         a new th_u3 union of tu_block/tu_code inside of that.  Move
72011         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72012         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72013         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72014         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72015         (th_stuff): Change to th_u1.tu_stuff.
72016         (th_data): Define.
72017         (th_msg): Change to th_u1.th_u2.tu_data.
72019 2012-05-07  David S. Miller  <davem@davemloft.net>
72021         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72023         [BZ #14074]
72024         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72025         (SETUP_PIC_REG): Use it.
72026         (SETUP_PIC_REG_LEAF): Use it.
72028 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72030         [BZ #13885]
72031         [BZ #13923]
72032         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72033         USE_AS_EXPM1L.
72034         (EXPL_FINITE): Likewise.
72035         (FLDLOG): Likewise.
72036         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72037         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72038         e_expl.S.
72039         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72040         USE_AS_EXPM1L.
72041         (EXPL_FINITE): Likewise.
72042         (FLDLOG): Likewise.
72043         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72044         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72045         e_expl.S.
72046         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72047         test of -max_value argument for long double.
72048         * sysdeps/i386/fpu/libm-test-ulps: Update.
72049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72051 2012-05-06  David S. Miller  <davem@davemloft.net>
72053         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72054         quad soft-float symbols whose references which are compiler
72055         generated.
72056         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72058 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72060         [BZ #13884]
72061         [BZ #13914]
72062         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72063         USE_AS_EXP10L.
72064         (EXPL_FINITE): Likewise.
72065         (FLDLOG): Likewise.
72066         (c0): Likewise.
72067         (c1): Likewise.
72068         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72069         Adjust comments for base varying.
72070         (__expl_finite): Change alias to EXPL_FINITE.
72071         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72072         e_expl.S.
72073         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72074         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72075         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72076         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72077         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72078         USE_AS_EXP10L.
72079         (EXPL_FINITE): Likewise.
72080         (FLDLOG): Likewise.
72081         (c0): Likewise.
72082         (c1): Likewise.
72083         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72084         Adjust comments for base varying.
72085         (__expl_finite): Change alias to EXPL_FINITE.
72086         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72087         tests for bugs.
72088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72090         [BZ #14064]
72091         * math/libm-test.inc (check_float_internal): Correct ulp
72092         calculation for subnormal expected results.
72094 2012-05-06  Andreas Jaeger  <aj@suse.de>
72096         * Makeconfig (+math-flags): New, set to -frounding-math.
72097         (+cflags): Add +math-flags so that all of glibc gets compiled with
72098         it.
72100         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72102 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72104         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72105         Disable one test.
72107         [BZ #13787]
72108         [BZ #13922]
72109         [BZ #14036]
72110         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72111         (__ieee754_expl): Allow for and saturate large arguments.
72112         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72113         (u_threshold): Likewise.
72114         (__exp): Call __ieee754_exp before checking for overflow and
72115         underflow.
72116         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72117         (u_threshold): Likewise.
72118         (__expf): Call __ieee754_expf before checking for overflow and
72119         underflow.
72120         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72121         (u_threshold): Likewise.
72122         (__expl): Call __ieee754_expl before checking for overflow and
72123         underflow.
72124         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72125         (__ieee754_expl): Allow for and saturate large arguments.
72126         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72127         missing overflow exception on overflow.
72128         (expm1_test): Do not allow missing overflow exception on overflow.
72130         * sysdeps/i386/fpu/e_expl.c: Move to ...
72131         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72132         rather than using inline asm.
72133         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72134         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72135         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72137         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72138         (nice): Likewise.
72139         (poll): Likewise.
72140         (signal): Likewise.
72141         (time): Likewise.
72142         (times): Likewise.
72144 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72146         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72147         sysdeps/unix/common/syscalls.list.
72148         (fchmod): Likewise.
72149         (fchown): Likewise.
72150         (ftruncate): Likewise.
72151         (getrusage): Likewise.
72152         (gettimeofday): Likewise.
72153         (setpgid): Likewise.
72154         (setregid): Likewise.
72155         (setreuid): Likewise.
72156         (sigaction): Likewise.
72157         (truncate): Likewise.
72158         (vhangup): Likewise.
72159         * sysdeps/unix/common/syscalls.list: Remove file.
72160         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72161         * sysdeps/unix/sysv/linux/Implies: Likewise.
72163 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72165         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72167         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72168         Moved to ...
72169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72170         Here.
72171         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72172         to ...
72173         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72174         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72175         to ...
72176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72177         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72178         to ...
72179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72180         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72181         to ...
72182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72183         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72184         to ...
72185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72186         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72187         to ...
72188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72189         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72190         to ...
72191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72192         Here.
72193         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72194         to ...
72195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72196         Here.
72197         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72198         to ...
72199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72200         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72201         Moved to ...
72202         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72203         Here.
72204         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72205         to ...
72206         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72208 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72210         * sysdeps/unix/common/bits/dirent.h: Remove file.
72211         * sysdeps/unix/common/bits/fcntl.h: Likewise.
72213         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72214         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72215         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72216         * sysdeps/unix/bsd/isatty.c: Likewise.
72217         * sysdeps/unix/bsd/tcdrain.c: Likewise.
72218         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72219         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72221 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72223         [BZ #13563]
72224         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72225         long double comparison inaccuracies.
72226         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72229 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
72231         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72232         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72234 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72236         [BZ #14049]
72237         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72238         nonzero digits before rounding a hex value.
72239         * stdlib/tst-strtod.c (tests): Add another test.
72241 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72243         * sysdeps/s390/fpu/libm-test-ulps: Update.
72245 2012-05-03  Andreas Jaeger  <aj@suse.de>
72247         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72248         does not get optimized out.
72249         (malloc_opt_barrier): New.
72251 2012-05-03  Andreas Jaeger  <aj@suse.de>
72252             Roland McGrath  <roland@hack.frob.com>
72254         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72255         intermediate file deletion.
72256         (generated): Add .symlist files.
72258 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
72260         [BZ #13775]
72261         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72262         Redirect under this condition.
72263         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72264         [__USE_GNU] (__dprintf_chk): Not under this condition.
72265         [__USE_GNU] (__vdprintf_chk): Likewise.
72266         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72267         under this condition.
72268         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72269         [__USE_XOPEN2K8] (dprintf): Define under this condition.
72270         [__USE_XOPEN2K8] (vdprintf): Likewise.
72271         [__USE_GNU] (__dprintf_chk): Not under this condition.
72272         [__USE_GNU] (__vdprintf_chk): Likewise.
72273         [__USE_GNU] (dprintf): Likewise.
72274         [__USE_GNU] (vdprintf): Likewise.
72276 2012-05-03  Roland McGrath  <roland@hack.frob.com>
72278         * elf/Makefile (common-generated): Set this instead of generated for
72279         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
72280         $(all-built-dso)-derived lists.
72282 2012-05-03  Andreas Jaeger  <aj@suse.de>
72284         * sysdeps/i386/fpu/libm-test-ulps: Update.
72286         * FAQ: Removed.
72287         * FAQ.in: Likewise.
72288         * scripts/gen-FAQ.pl: Likewise.
72289         * manual/install.texi (Installation): Point to online location of
72290         FAQ.
72291         * Makefile (files-for-dist): Remove FAQ.
72292         (FAQ): Remove.
72294 2012-05-02  Allan McRae  <allan@archlinux.org>
72296         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72297         (LDFLAGS-reldepmod5.so): Likewise.
72298         (LDFLAGS-reldep6mod1.so): Likewise.
72299         (LDFLAGS-reldep6mod4.so): Likewise.
72300         (LDFLAGS-reldep8mod3.so): Likewise.
72301         (LDFLAGS-unload4mod1.so): Likewise.
72302         (LDFLAGS-unload4mod2.so): Likewise.
72303         (LDFLAGS-tst-initorder): Likewise.
72304         (LDFLAGS-tst-initordera2.so): Likewise.
72305         (LDFLAGS-tst-initordera3.so): Likewise.
72306         (LDFLAGS-tst-initordera4.so): Likewise.
72307         (LDFLAGS-tst-initorderb2.so): Likewise.
72308         (LDFLAGS-noload): Likewise.
72309         (LDFLAGS-next): Likewise.
72310         (LDFLAGS-order2mod1.so): Likewise.
72311         (LDFLAGS-order2mod2.so): Likewise.
72312         (LDFLAGS-tst-initorder2): Likewise.
72313         (LDFLAGS-tst-initorder2a.so): Likewise.
72314         (LDFLAGS-tst-initorder2b.so): Likewise.
72315         (LDFLAGS-tst-initorder2c.so): Likewise.
72316         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72318 2012-05-02  David S. Miller  <davem@davemloft.net>
72320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72322 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
72324         [BZ #14055]
72325         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72327 2012-05-02  Andreas Jaeger  <aj@suse.de>
72329         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72330         since we manipulate rounding mode.
72331         (CPPFLAGS-test-idouble.c): Likewise.
72332         (CPPFLAGS-test-ifloat.c): Likewise.
72333         (CFLAGS-test-ldouble.c): Likewise.
72334         (CFLAGS-test-double.c): Likewise.
72335         (CFLAGS-test-float.c): Likewise.
72336         (CFLAGS-test-misc.c): Likewise.
72337         (CFLAGS-test-test-fenv.c): Likewise.
72339 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72341         [BZ #2550]
72342         [BZ #2570]
72343         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72344         comparisons to determine direction to adjust input.
72346 2012-05-01  Roland McGrath  <roland@hack.frob.com>
72348         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72349         output to the target.
72351         * scripts/localplt.awk: New file.
72352         * elf/Makefile ($(objpfx)check-localplt): Target removed.
72353         (check-localplt-CFLAGS): Variable removed.
72354         ($(all-built-dso:=.jmprel)): New static pattern rule.
72355         (generated): Add those targets.
72356         (localplt-built-dso): New variable.
72357         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72359         * elf/check-localplt.c: File removed.
72361         * scripts/check-execstack.awk: New file.
72362         * elf/Makefile ($(objpfx)check-execstack): Target removed.
72363         (check-execstack-CFLAGS): Variable removed.
72364         ($(objpfx)check-execstack.h): Target removed.
72365         ($(objpfx)execstack-default): New target.
72366         (generated): Add that instead of check-execstack.h.
72367         ($(all-built-dso:=.phdr)): New static pattern rule.
72368         (generated): Add those targets.
72369         * elf/check-execstack.c: File removed.
72371         * scripts/check-textrel.awk: New file.
72372         * elf/Makefile ($(objpfx)check-textrel): Target removed.
72373         (check-textrel-CFLAGS): Variable removed.
72374         (all-built-dso): Use := to define.o
72375         ($(all-built-dso:=.dyn)): New static pattern rule.
72376         (generated): Add those targets.
72377         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72378         * config.make.in (READELF): New substituted variable.
72379         * elf/check-textrel.c: File removed.
72381 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72383         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72384         allow.
72385         * conform/data/ctype.h-data [C99-based standards] (isblank):
72386         Expect function.
72387         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72388         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72389         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72390         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72391         Specify type.  Require positive value.
72392         (EILSEQ): Likewise.
72393         (ERANGE): Likewise.
72394         [ISO || POSIX] (EILSEQ): Do not expect.
72395         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72396         Specify type.  Require positive value.
72397         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72398         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72399         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72400         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72401         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72402         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72403         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72404         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72405         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72406         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72407         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72408         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72409         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72410         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72411         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72412         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72413         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72414         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72415         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72416         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72417         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72418         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72419         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72420         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72421         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72422         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72423         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72424         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72425         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72426         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72427         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72428         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72429         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72430         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72431         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72432         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72433         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72434         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72435         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72436         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72437         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72438         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72439         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72440         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72441         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72442         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72443         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72444         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72445         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72446         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72447         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72448         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72449         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72450         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72451         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72452         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72453         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72454         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72455         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72456         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72457         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72458         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72459         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72460         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72461         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72462         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72463         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72464         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72465         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72466         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72467         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72468         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72469         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72470         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72471         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72472         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72473         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72474         Require >= 2.
72475         (FLT_ROUNDS): Expect as macro, not constant.
72476         (FLT_MANT_DIG): Use macro-int-constant.
72477         (DBL_MANT_DIG): Likewise.
72478         (LDBL_MANT_DIG): Likewise.
72479         (FLT_DIG): Likewise.
72480         (DBL_DIG): Likewise.
72481         (LDBL_DIG): Likewise.
72482         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
72483         (DBL_MIN_EXP): Likewise.
72484         (LDBL_MIN_EXP): Likewise.
72485         (FLT_MAX_EXP): Use macro-int-constant.
72486         (DBL_MAX_EXP): Likewise.
72487         (LDBL_MAX_EXP): Likewise.
72488         (FLT_MAX_10_EXP): Likewise.
72489         (DBL_MAX_10_EXP): Likewise.
72490         (LDBL_MAX_10_EXP): Likewise.
72491         (FLT_MAX): Use macro-constant.
72492         (DBL_MAX): Likewise.
72493         (LDBL_MAX): Likewise.
72494         (FLT_EPSILON): Use macro-constant.  Give upper bound.
72495         (DBL_EPSILON): Likewise.
72496         (LDBL_EPSILON): Likewise.
72497         (FLT_MIN): Likewise.
72498         (DBL_MIN): Likewise.
72499         (LDBL_MIN): Likewise.
72500         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72501         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72502         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72503         [ISO11] (FLT_HAS_SUBNORM): Likewise.
72504         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72505         [ISO11] (DBL_DECIMAL_DIG): Likewise.
72506         [ISO11] (FLT_DECIMAL_DIG): Likewise.
72507         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72508         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72509         [ISO11] (FLT_TRUE_MIN): Likewise.
72510         [ISO11] (LDBL_TRUE_MIN): Likewise.
72511         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72512         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72513         (SCHAR_MIN): Use macro-int-constant.  Specify type.
72514         (SCHAR_MAX): Likewise.
72515         (UCHAR_MAX): Likewise.
72516         (CHAR_MIN): Likewise.
72517         (CHAR_MAX): Likewise.
72518         (MB_LEN_MAX): Use macro-int-constant.
72519         (SHRT_MIN): Use macro-int-constant.  Specify type.
72520         (SHRT_MAX): Likewise.
72521         (USHRT_MAX): Likewise.
72522         (INT_MAX): Likewise.
72523         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
72524         bound negative.
72525         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72526         bound with "U".
72527         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72528         bound with "L".
72529         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
72530         bound negative.  Suffix upper bound with "L".
72531         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72532         bound with "UL".
72533         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72534         Specify type.
72535         [C99-based standards] (LLONG_MAX): Likewise.
72536         [C99-based standards] (ULLONG_MAX): Likewise.
72537         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
72538         == 0.
72539         [ISO11] (max_align_t): Require type.
72540         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72542         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72543         from $CFLAGS, without defining away __attribute__ calls.
72544         (checknamespace): Use $CFLAGS_namespace.
72546         * conform/conformtest.pl (@keywords): Only include C99 keywords
72547         for standards based on C99 or C11.
72549         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72550         Disable tests.
72551         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72552         UNIX98]: Likewise.
72554         * conform/conformtest.pl: Handle "macro-int-constant" and test for
72555         usability of symbols in #if.
72557         * conform/conformtest.pl: If macro or constant types start
72558         "promoted:", expect the symbol to be of the following type
72559         promoted by the integer promotions.
72561         * conform/conformtest.pl: Parse all "constant" and "macro" lines
72562         in one place.  Also handle "macro-constant".
72564         * conform/conformtest.pl: Only accept expected macro values with
72565         "==".  Parse all "macro" lines in one place.
72566         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72568         * conform/conformtest.pl: Handle braced types on "constant" lines
72569         instead of handling "typed-constant".
72570         * conform/data/signal.h-data: Use "constant" instead of
72571         "typed-constant".
72573         * conform/conformtest.pl: Handle "optional-" at start of lines in
72574         one place rather than duplicating several cases.  Handle each
72575         format of "macro" line with initial "optional-".
72577         * conform/conformtest.pl: Only accept expected constant or
72578         optional-constant values with "==".  Parse all "constant" lines in
72579         one place.  Parse all "optional-constant" lines in one place.
72580         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72581         * conform/data/fmtmsg.h-data: Likewise.
72582         * conform/data/netinet/in.h-data: Likewise.
72583         * conform/data/tar.h-data: Likewise.
72584         * conform/data/limits.h-data: Use "==" form on "constant" and
72585         "optional-constant" lines.
72587         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72588         Use -std=c99 for XOPEN2K.
72589         (@knownproblems): Remove.
72590         (newtoken): Don't check %isknown.
72592         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72593         Do not expect macro.
72594         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72595         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72596         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72597         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72598         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72599         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72600         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72601         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72602         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72603         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72604         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72605         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72606         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72607         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72608         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72609         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72610         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72611         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72612         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72613         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72614         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72615         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72616         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72617         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72618         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72619         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72620         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72621         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72622         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72623         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72624         [XPG3] (acosh): Likewise.
72625         [XPG3] (asinh): Likewise.
72626         [XPG3] (atanh): Likewise.
72627         [XPG3] (cbrt): Likewise.
72628         [XPG3] (expm1): Likewise.
72629         [XPG3] (ilogb): Likewise.
72630         [XPG3] (log1p): Likewise.
72631         [XPG3] (logb): Likewise.
72632         [XPG3] (nextafter): Likewise.
72633         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72634         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72635         [XPG3] (remainder): Likewise.
72636         [XPG3] (rint): Likewise.
72637         [XPG3 || XPG4 || UNIX98] (round): Likewise.
72638         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72639         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72640         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72641         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72642         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72643         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72644         [UNIX98 || XOPEN2K] (scalb): Expect.
72645         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72646         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72647         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72648         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72649         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72650         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72651         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72652         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72653         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72654         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72655         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72656         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72657         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72658         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72659         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72660         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72661         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72662         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72663         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72664         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72665         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72666         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72667         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72668         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72669         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72670         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72671         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72672         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72673         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72674         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72675         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72676         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72677         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72678         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72679         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72680         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72681         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72682         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72683         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72684         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72685         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72686         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72687         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72688         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72689         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72690         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72691         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72692         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72693         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72694         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72695         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72696         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72697         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72698         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72699         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72700         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72701         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72702         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72703         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72704         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72705         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72706         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72707         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72708         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72709         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72710         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72711         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72712         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72713         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72714         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72715         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72716         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72717         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72718         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72719         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72720         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72721         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72722         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72723         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72724         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72725         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72726         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72727         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72728         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72729         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72730         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72731         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72732         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72733         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72734         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72735         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72736         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72737         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72738         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72739         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72740         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72741         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72742         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72743         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72744         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72745         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72746         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72747         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72748         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72749         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72750         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72751         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72752         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72753         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72754         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72755         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72756         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72757         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72758         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72759         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72760         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72761         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72762         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72763         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72764         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72765         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72766         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72767         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72768         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72769         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72770         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72771         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72772         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72773         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72774         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72775         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72776         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72777         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72778         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72779         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72780         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72781         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72783         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72784         _XOPEN_SOURCE_EXTENDED for XPG4.
72786         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72788         * Makeconfig (localtime): Remove variable.
72789         (inst_localtime-file): Likewise.
72791 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72794         Update.
72795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72796         Update.
72797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72798         Update.
72799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72800         Update.
72801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72802         Update.
72803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72804         Update.
72805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72806         Update.
72807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72808         Update.
72809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72810         Update.
72812 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72814         [BZ #2550]
72815         [BZ #2570]
72816         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72817         comparisons to determine direction to adjust input.
72818         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72819         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72820         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72821         Likewise.
72822         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72823         Likewise.
72824         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72825         Likewise.
72826         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72827         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72828         Likewise.
72829         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72830         Likewise.
72831         * math/libm-test.inc (nexttoward_test): Add more tests.
72833 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72835         [BZ #14040]
72836         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72837         in version GLIBC_2.1, not GLIBC_2.0.
72838         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72839         Likewise.
72841 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
72843         [BZ #13942]
72844         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72845         (1 - x) * (1 + x).
72846         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72847         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72848         * math/libm-test.inc (acos_test): Add more tests.
72849         (asin_test): Likewise.
72850         * sysdeps/i386/fpu/libm-test-ulps: Update.
72851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72853         [BZ #14034]
72854         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72855         of square root.
72856         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72857         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72858         * math/libm-test.inc (acos_test_tonearest): New function.
72859         (acos_test_towardzero): Likewise.
72860         (acos_test_downward): Likewise.
72861         (acos_test_upward): Likewise.
72862         (asin_test_tonearest): Likewise.
72863         (asin_test_towardzero): Likewise.
72864         (asin_test_downward): Likewise.
72865         (asin_test_upward): Likewise.
72866         (main): Call the new functions.
72867         * sysdeps/i386/fpu/libm-test-ulps: Update.
72868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72870         [BZ #13884]
72871         [BZ #13924]
72872         * math/e_exp10.c: Include <float.h>.
72873         (__ieee754_exp10): Handle underflow here rather than multiplying
72874         large negative argument by M_LN10.
72875         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72876         of __ieee754_expf.
72877         * math/e_exp10l.c: Include <float.h>.
72878         (__ieee754_exp10l): Handle underflow here rather than multiplying
72879         large negative argument by M_LN10l.
72880         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
72881         spurious overflow exception on underflow.
72883 2012-04-29  Marek Polacek  <polacek@redhat.com>
72885         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72886         (__fortify_function): New macro.
72887         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72888         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72889         __extern_always_inline.
72890         * libio/bits/stdio2.h: Likewise.
72891         * libio/bits/stdio.h: Likewise.
72892         * string/string.h: Likewise.
72893         * string/bits/string3.h: Likewise.
72894         * include/stdio.h: Likewise.
72895         * stdlib/bits/stdlib.h: Likewise.
72896         * stdlib/stdlib.h: Likewise.
72897         * rt/bits/mqueue2.h: Likewise.
72898         * rt/mqueue.h: Likewise.
72899         * posix/bits/unistd.h: Likewise.
72900         * posix/unistd.h: Likewise.
72901         * io/bits/poll2.h: Likewise.
72902         * io/bits/fcntl2.h: Likewise.
72903         * io/fcntl.h: Likewise.
72904         * io/sys/poll.h: Likewise.
72905         * misc/bits/syslog.h: Likewise.
72906         * misc/bits/syslog-ldbl.h: Likewise.
72907         * misc/sys/syslog.h: Likewise.
72908         * socket/bits/socket2.h: Likewise.
72909         * socket/sys/socket.h: Likewise.
72910         * debug/tst-chk1.c: Likewise.
72911         * wcsmbs/bits/wchar2.h: Likewise.
72912         * wcsmbs/bits/wchar-ldbl.h: Likewise.
72913         * wcsmbs/wchar.h: Likewise.
72915 2012-04-29  Andreas Jaeger  <aj@suse.de>
72917         * Makerules (tests): Remove enable-check-abi protection.
72918         (check-abi-warn): Remove.
72919         (check-abi-%): Remove check-abi-warn usage.
72921         * configure.in: Remove check-abi configure option.
72922         * configure: Regenerated.
72923         * config.make.in (enable-check-abi): Remove.
72925 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
72927         [BZ #14033]
72928         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72929         double functions to double *_finite functions.
72931         [BZ #13941]
72932         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72933         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72934         LDBL_MIN_EXP.
72935         * stdio-common/Makefile (tests): Add tst-sprintf3.
72936         * stdio-common/tst-sprintf3.c: New file.
72938         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72939         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72941 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72943         * conform/conformtest.pl: Remove duplicate typed-constant
72944         handling.
72946 2012-04-28  David S. Miller  <davem@davemloft.net>
72948         * Makerules (%.abilist): Add vpath on sysdep_dirs.
72949         (check-abi-%): Remove AWK script prerequisite and explicit
72950         abilist directory.
72951         (check-abi): Rewrite to just diff the symlist with the abilist.
72952         (config-tls, config-abi-config): Delete, no longer used.
72953         (update-abi-%): Remove AWK script and explicit abilist directory.
72954         (update-abi): Rewrite to simply compare and conditionally copy the
72955         symlist and the sysdep abilist file.  Remove update-abi-config
72956         checks.
72957         * abilist/ld.abilist: Remove.
72958         * abilist/libBrokenLocale.abilist: Remove.
72959         * abilist/libanl.abilist: Remove.
72960         * abilist/libcrypt.abilist: Remove.
72961         * abilist/libdl.abilist: Remove.
72962         * abilist/librt.abilist: Remove.
72963         * abilist/libthread_db.abilist: Remove.
72964         * abilist/libutil.abilist: Remove.
72965         * scripts/extract-abilist.awk: Remove.
72966         * scripts/merge-abilist.awk: Remove.
72967         * sysdeps/generic/libcidn.abilist: New file.
72968         * sysdeps/generic/libnss_compat.abilist: New file.
72969         * sysdeps/generic/libnss_db.abilist: New file.
72970         * sysdeps/generic/libnss_dns.abilist: New file.
72971         * sysdeps/generic/libnss_files.abilist: New file.
72972         * sysdeps/generic/libnss_hesiod.abilist: New file.
72973         * sysdeps/generic/libnss_nis.abilist: New file.
72974         * sysdeps/generic/libnss_nisplus.abilist: New file.
72975         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72976         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72977         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72978         file.
72979         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72980         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72981         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72982         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72983         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72984         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72985         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72986         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72987         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
72988         file.
72989         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
72990         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
72991         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
72992         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
72993         file.
72994         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
72995         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
72996         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72997         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
72998         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
72999         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73000         file.
73001         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73002         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73003         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73004         file.
73005         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73007         New file.
73008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73009         New file.
73010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73011         New file.
73012         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73013         New file.
73014         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73015         New file.
73016         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73017         New file.
73018         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73019         New file.
73020         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73021         New file.
73022         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73023         New file.
73024         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73025         New file.
73026         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73027         New file.
73028         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73029         New file.
73030         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73031         New file.
73032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73033         file.
73034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73035         New file.
73036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73037         New file.
73038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73039         file.
73040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73041         New file.
73042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73043         New file.
73044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73045         file.
73046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73047         New file.
73048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73049         New file.
73050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73051         New file.
73052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73053         New file.
73054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73055         New file.
73056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73057         New file.
73058         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73060         file.
73061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73062         New file.
73063         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73064         file.
73065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73066         file.
73067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73068         file.
73069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73070         file.
73071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73072         file.
73073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73074         New file.
73075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73076         file.
73077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73078         file.
73079         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73080         New file.
73081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73082         file.
73083         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73085         file.
73086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73087         New file.
73088         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73089         file.
73090         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73091         file.
73092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73093         file.
73094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73095         file.
73096         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73097         file.
73098         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73099         New file.
73100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73101         file.
73102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73103         file.
73104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73105         New file.
73106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73107         file.
73108         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73109         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73110         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73111         file.
73112         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73113         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73114         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73115         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73116         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73117         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73118         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73119         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73120         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73121         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73122         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73124         file.
73125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73126         New file.
73127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73128         file.
73129         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73130         file.
73131         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73132         file.
73133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73134         file.
73135         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73136         file.
73137         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73138         New file.
73139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73140         New file.
73141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73142         file.
73143         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73144         New file.
73145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73146         file.
73147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73149         file.
73150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73151         New file.
73152         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73153         file.
73154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73155         file.
73156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73157         file.
73158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73159         file.
73160         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73161         file.
73162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73163         New file.
73164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73165         New file.
73166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73167         file.
73168         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73169         New file.
73170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73171         file.
73173 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73175         * conform/conformtest.pl: Fix typo in handling typed-constant from
73176         allow-header.
73178 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73180         * README: Cut down references to pre-2.6 Linux kernels and
73181         Linuxthreads.  Update lists of configurations in libc and ports
73182         and sort alphabetically.  Say "or newer" with Linux kernel version
73183         requirements.
73185         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73187 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73189         [BZ #887]
73190         * math/libm-test.inc (logb_test_downward): New test to expose
73191         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73192         rounding mode.
73194 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73196         [BZ #14027]
73197         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73198         to be done.
73199         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73200         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73202 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
73204         * sysdeps/unix/i386/brk.S: Remove file.
73205         * sysdeps/unix/i386/dl-brk.S: Likewise.
73206         * sysdeps/unix/i386/pipe.S: Likewise.
73207         * sysdeps/unix/i386/sigreturn.S: Likewise.
73208         * sysdeps/unix/i386/syscall.S: Likewise.
73209         * sysdeps/unix/i386/vfork.S: Likewise.
73210         * sysdeps/unix/i386/wait.S: Likewise.
73212         * sysdeps/unix/common/tcsendbrk.c: Move to ...
73213         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73215         * configure.in (arm*-none*): Do not allow without
73216         --enable-hacker-mode.
73217         (netbsd*): Remove case setting base_os.
73218         (386bsd*): Likewise.
73219         (freebsd*): Likewise.
73220         (bsdi*): Likewise.
73221         (osf*): Likewise.
73222         (sunos*): Likewise.
73223         (ultrix*): Likewise.
73224         (newsos*): Likewise.
73225         (dynix*): Likewise.
73226         (*bsd*): Likewise.
73227         (sysv*): Likewise.
73228         (isc*): Likewise.
73229         (esix*): Likewise.
73230         (sco*): Likewise.
73231         (minix*): Likewise.
73232         (irix4*): Likewise.
73233         (irix6*): Likewise.
73234         (solaris[2-9]*): Likewise.
73235         (none): Likewise.
73236         * configure: Regenerated.
73238 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73240         [BZ #11521]
73241         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73242         overflow or cancellation in calculating denominator.
73243         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73245         down expression to avoid unexpected rounding in newer GCCs.
73246         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73248 2012-04-26  David S. Miller  <davem@davemloft.net>
73250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73251         long-double compat symbols.
73252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73259         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73261         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73264         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73266 2012-04-25  David S. Miller  <davem@davemloft.net>
73268         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73269         HWCAP_* values only after the memory barriers have been defined.
73270         (atomic_full_barrier): Define.
73271         (atomic_read_barrier): Define.
73272         (atomic_write_barrier): Define.
73274 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73276         * shlib-versions: Add libgcc_s version information.
73277         * sysdeps/generic/libgcc_s.h: Remove.
73278         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73279         libgcc_s.h.
73280         * sysdeps/gnu/unwind-resume.c: Likewise.
73281         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73283 2012-04-25  David S. Miller  <davem@davemloft.net>
73285         * sysdeps/unix/sparc/brk.S: Delete.
73286         * sysdeps/unix/sparc/dl-brk.S: Delete.
73287         * sysdeps/unix/sparc/pipe.S: Delete.
73288         * sysdeps/unix/sparc/sysdep.S: Delete.
73289         * sysdeps/unix/sparc/sysdep.h: Delete.
73290         * sysdeps/unix/sparc/vfork.S: Delete.
73291         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73292         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73293         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73294         (ret_ERRVAL, r0, r1, MOVE): Define.
73295         (JUMPTARGET): Remove.
73296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73297         sysdeps/unix/sparc/sysdep.h
73298         (ENTRY, END): Remove.
73299         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73301 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
73303         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73304         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73305         -DIS_IN_build.
73307         * timezone/README: Update upstream location and email address for
73308         tzcode and tzdata.
73309         * timezone/zdump.c: Update from tzcode 2012b.
73310         * timezone/zic.c: Likewise.
73312         * configure.in (libc_cv_as_needed): Remove test.
73313         * configure: Regenerated.
73314         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73315         conditional definition.
73316         [$(have-as-needed) != yes] (no-as-needed): Likewise.
73317         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73318         * config.make.in (have-as-needed): Remove variable.
73320 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73321             Paul Pluzhnikov  <ppluzhnikov@google.com>
73323         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73324         strings correctly.
73326 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
73328         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73329         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73330         * sysdeps/sh/strlen.S: Likewise.
73332 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73334         * sysdeps/unix/fork.S: Remove file.
73335         * sysdeps/unix/i386/fork.S: Likewise.
73336         * sysdeps/unix/sparc/fork.S: Likewise.
73338         * sysdeps/unix/system.c: Remove file.
73339         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73341         * sysdeps/unix/getegid.S: Remove file.
73342         * sysdeps/unix/geteuid.S: Likewise.
73344 2012-04-24  Roland McGrath  <roland@hack.frob.com>
73346         * scripts/check-localplt.awk: New file.
73347         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73348         of diff.
73349         * scripts/data/localplt-generic.data: Add a comment.
73351         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73352         NODE when __dir_mkfile failed.
73353         * sysdeps/mach/hurd/symlinkat.c: Likewise.
73354         Reported by Ludovic Courtès <ludo@gnu.org>.
73356 2012-04-24  Andreas Jaeger  <aj@suse.de>
73358         * Makerules (common-clean): Also remove gen-as-const-headers
73359         files.
73361 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73363         * Makerules (native-compile): Do not change working directory for
73364         build.  Use $(OUTPUT_OPTION) in command.
73365         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73367 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73369         [BZ #13886]
73370         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73371         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73372         * math/libm-test.inc (floor_test): Add more tests.
73373         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73375 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73377         * sysdeps/unix/getdents.c: Remove file.
73378         * sysdeps/unix/sysv/getdents.c: Likewise.
73379         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73381         * sysdeps/unix/syscalls.list (madvise): Add syscall from
73382         sysdeps/unix/mman/syscalls.list.
73383         (mmap): Likewise.
73384         (mprotect): Likewise.
73385         (msync): Likewise.
73386         (munmap): Likewise.
73387         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73388         * sysdeps/unix/mman/syscalls.list: Remove.
73389         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73391         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73392         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73393         * configure: Regenerated.
73394         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73395         $(libgcc_s_suffix).
73396         * config.make.in (libgcc_s_suffix): Remove variable.
73398 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
73400         * sysdeps/unix/sysv/gethostname.c: Move to ...
73401         * sysdeps/posix/gethostname.c: ... here.
73403         * sysdeps/unix/execve.S: Remove file.
73405         * sysdeps/unix/_exit.S: Remove file.
73407 2012-04-23  Andreas Jaeger  <aj@suse.de>
73409         [BZ #13739]
73410         * manual/Makefile: Remove make dist support, there's no
73411         need for a stand-alone documentation tar ball.
73412         (TEXI2DVI): Define always, it's not in Makeconfig.
73413         (dist): Removed.
73414         (tar-it): Removed.
73415         (edition): Removed.
73416         (glibc-doc-$(edition).tar): Removed
73417         (%.Z): Removed.
73418         (%.gz): Removed.
73419         (%.uu): Removed.
73420         (ETAGS): Remove, it's in Makeconfig.
73421         (move-if-change): Remove, it's in Makeconfig.
73423 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
73425         [BZ #13970]
73426         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73427         (strtod, strtof, strtold, strtol, strtoul, strtoq)
73428         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73429         (strtod_l, strtof_l, strtold_l): Remove __wur.
73430         It is not necessarily an error to ignore strtol's return value.
73431         One can reliably look at the stored endptr to decide whether
73432         the number had valid syntax.
73434 2012-04-21  Andreas Jaeger  <aj@suse.de>
73436         [BZ #13739]
73437         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73439 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
73441         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73442         * sysdeps/unix/sysv/Versions: Remove file.
73444 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
73446         [BZ #13927]
73447         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73449 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
73451         [BZ #7064]
73452         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73453         version from __vm86.
73455 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
73457         * sysdeps/unix/common/lxstat.c: Remove file.
73458         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73460         * sysdeps/unix/sysv/Makefile: Remove file.
73462         * sysdeps/unix/sysv/direct.h: Remove file.
73464         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73465         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73466         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73467         * sysdeps/unix/sysv/bits/signum.h: Likewise.
73468         * sysdeps/unix/sysv/bits/stat.h: Likewise.
73469         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73470         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73472         * sysdeps/unix/sysv/setrlimit.c: Remove file.
73474         * sysdeps/unix/xmknod.c: Remove file.
73475         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73477         * sysdeps/unix/sysv/settimeofday.c: Remove file.
73479         * sysdeps/unix/sysv/i386/time.S: Remove file.
73481         * sysdeps/unix/fxstat.c: Remove file.
73482         * sysdeps/unix/xstat.c: Likewise.
73483         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73485         * sysdeps/unix/sysv/sigaction.c: Remove file.
73487         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73488         (sysdep_headers): Remove variable.
73489         [termio.h not in sysdep_headers] (generated): Likewise.
73490         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73491         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73492         * sysdeps/unix/sysv/tcdrain.c: Likewise.
73493         * sysdeps/unix/sysv/tcflow.c: Likewise.
73494         * sysdeps/unix/sysv/tcflush.c: Likewise.
73495         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73496         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73497         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73498         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73499         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73501         * sysdeps/unix/siglist.c: Remove file.
73503         * sysdeps/unix/getppid.S: Remove file.
73505         * sysdeps/unix/mkdir.c: Remove file.
73506         * sysdeps/unix/rmdir.c: Likewise.
73508 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
73510         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73511         ERR_MAX value.
73512         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73513         errlist-compat value.
73515 2012-04-18  David S. Miller  <davem@davemloft.net>
73517         * sysdeps/generic/memcopy.h (reg_char): Delete.
73518         * debug/strcat_chk.c: Use char, not reg_char.
73519         * debug/strcpy_chk.c: Likewise.
73520         * debug/strncat_chk.c: Likewise.
73521         * debug/strncpy_chk.c: Likewise.
73522         * string/memchr.c: Likewise.
73523         * string/memrchr.c: Likewise.
73524         * string/rawmemchr.c: Likewise.
73525         * string/strcat.c: Likewise.
73526         * string/strchr.c: Likewise.
73527         * string/strchrnul.c: Likewise.
73528         * string/strcmp.c: Likewise.
73529         * string/strcpy.c: Likewise.
73530         * string/strncat.c: Likewise.
73531         * string/strncmp.c: Likewise.
73532         * string/strncpy.c: Likewise.
73534 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73536         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73537         __builtin_memcopy is called when src and dest ranges are known to not
73538         overlap.
73540 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73542         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73543         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73544         fwd_align_merge macro call.
73545         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73546         bwd_align_merge macro call.
73547         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73549 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73551         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73552         bwd_align_merge macros.
73553         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73554         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73555         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73557 2012-04-18  David S. Miller  <davem@davemloft.net>
73559         * sysdeps/sparc/sparc64/memcopy.h: Delete.
73561 2012-04-18  Andreas Jaeger  <aj@suse.de>
73563         [BZ# 6794]
73564         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73565         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73566         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73568         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73569         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73570         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73572         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73573         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73574         Adjust for changed ldbl-128 files.
73576         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73577         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73578         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73580 2012-04-17  David S. Miller  <davem@davemloft.net>
73582         * sysdeps/sparc/sparc32/memcopy.h: Delete.
73584 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
73586         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73587         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73588         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73589         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73590         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73591         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73593 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73595         [BZ #6794]
73596         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73597         * math/libm-test.inc: Add ilogb errno and exception tests.
73598         * math/w_ilogb.c: New file: ilogb wrapper.
73599         * math/w_ilogbf.c: New file: ilogbf wrapper.
73600         * math/w_ilogbl.c: New file: ilogbl wrapper.
73601         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73602         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73603         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73604         exception being thrown with 0.0 as argument.
73605         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73606         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73607         exception being thrown with 0.0 as argument.
73608         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73609         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73610         exception being thrown with 0.0 as argument.
73611         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73612         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73613         exception being thrown with 0.0 as argument.
73614         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73615         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73616         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73617         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73618         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73619         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73620         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73621         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73622         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73624 2012-04-17  Petr Baudis  <pasky@ucw.cz>
73626         * include/sys/uio.h: Change __vector to __iovec to avoid clash
73627         with altivec.
73629 2012-04-16  Marek Polacek  <polacek@redhat.com>
73631         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73633 2012-04-16  Marek Polacek  <polacek@redhat.com>
73635         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73636         operands of fdivp instruction.
73638 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73640         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73641         * elf/tst-auditmod3b.c: Likewise.
73642         * elf/tst-auditmod4b.c: Likewise.
73643         * elf/tst-auditmod5b.c: Likewise.
73644         * elf/tst-auditmod6b.c: Likewise.
73645         * elf/tst-auditmod6c.c: Likewise.
73646         * elf/tst-auditmod7b.c: Likewise.
73647         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73648         * sysdeps/x86_64/preconfigure.in: Likewise.
73649         * sysdeps/x86_64/preconfigure: Regenerated.
73651 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73653         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73654         __ILP32__.
73656 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
73658         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73659         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73661 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
73663         [BZ #13973]
73664         * locale/iso-639.def: Fix gl language name. Spotted by
73665         Yaron Shahrabani.
73667 2012-04-12  Roland McGrath  <roland@hack.frob.com>
73669         [BZ #2074]
73670         * libio/libio.h (__io_write_fn): Update comment.
73672 2012-04-12  Petr Baudis  <pasky@ucw.cz>
73674         [BZ #2074]
73675         * stdio.texi (Hook Functions): The user provided writer function
73676         is not allowed to return -1.
73678 2012-04-11  David S. Miller  <davem@davemloft.net>
73680         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73682 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
73684         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73685         Add a leading slash to rtkaio.
73687 2012-04-11  Jim Meyering  <meyering@redhat.com>
73689         [BZ #11959]
73690         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73691         It is not necessarily an error to ignore fwrite's return
73692         value.  One can reliably use ferror to test for errors after
73693         the fact.
73695 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73697         * bits/types.h (__snseconds_t): New type.
73698         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73700         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73701         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73702         (__SNSECONDS_T_TYPE): Likewise.
73703         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73704         (__SNSECONDS_T_TYPE): Likewise.
73705         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73706         (__SNSECONDS_T_TYPE): Likewise.
73708 2012-04-10  Andreas Jaeger  <aj@suse.de>
73710         [BZ #2636]
73711         * manual/time.texi (Processor Time): Return type of times is
73712         elapsed real time since an arbitrary point in the past.
73713         (CPU Time): Move CLK_TCK from here...
73714         (Processor Time): ...to here.  Correct description.
73715         * manual/conf.texi (Constants for Sysconf): Correct description of
73716         _SC_CLK_TCK.
73718 2012-04-10  David S. Miller  <davem@davemloft.net>
73720         [BZ #13967]
73721         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73722         where the is a gap between DT_REL(A) and DT_JMPREL.
73724 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73726         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73727         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73728         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73730 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
73732         * elf/dl-support.c (_dl_inhibit_cache): New variable.
73733         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73734         (dl_main): Handle --inhibit-cache.
73735         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73736         _dl_inhibit_cache.
73737         * elf/dl-load.c (_dl_map_object): Use it.
73738         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73740 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73742         [BZ #13872]
73743         * sysdeps/i386/fpu/e_powl.S (p78): New object.
73744         (__ieee754_powl): Saturate large exponents rather than testing for
73745         overflow of y*log2(x).
73746         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73747         * math/libm-test.inc (pow_test): Do not permit spurious overflow
73748         exceptions.
73750         [BZ #11521]
73751         * math/s_ctan.c: Include <float.h>.
73752         (__ctan): Avoid internal overflow or cancellation in calculating
73753         denominator.
73754         * math/s_ctanf.c: Likewise.
73755         * math/s_ctanl.c: Likewise.
73756         * math/s_ctanh.c: Likewise.
73757         * math/s_ctanhf.c: Likewise.
73758         * math/s_ctanhl.c: Likewise.
73759         * math/libm-test.inc (ctan_test): Add more tests.
73760         (ctanh_test): Likewise.
73761         * sysdeps/i386/fpu/libm-test-ulps: Update.
73762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73764 2012-04-09  Andreas Jaeger  <aj@suse.de>
73766         [BZ #6894]
73767         * manual/filesys.texi (Directory Entries): Mention that d_namlen
73768         is an optional BSD extension.
73770         [BZ #10254]
73771         * manual/stdio.texi (Opening Streams): Document additional fopen
73772         parameters.
73774 2012-04-09  Roland McGrath  <roland@hack.frob.com>
73776         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73777         %eax without telling the compiler.
73779 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
73781         [BZ # 13963]
73782         * manual/install.texi: Use sourceware.org.
73784 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73786         [BZ #13873]
73787         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73788         (__ieee754_pow): Generate overflow and underflow using huge*huge
73789         and tiny*tiny rather than just returning constant infinity or zero
73790         for large exponents.
73791         * math/libm-test.inc (pow_test): Require overflow exceptions for
73792         applicable cases of large exponents.
73794         [BZ #706]
73795         * sysdeps/i386/fpu/e_pow.S (p10): New object.
73796         (__ieee754_pow): Use iterative multiplication algorithm only for
73797         integer exponents with absolute value below 1024.  Check for odd
73798         integer exponents when using algorithm for real exponents.
73799         * math/libm-test.inc (pow_test): Add more tests.
73800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73802 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
73804         [BZ #13705]
73805         * math/libm-test.inc (exp_test): Do not allow overflow exception
73806         on underflow test.
73808 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
73810         [BZ #13705]
73811         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73812         instead of __kernel_standard_f.
73814 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
73816         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73817         * sysdeps/x86_64/memset_chk.S: Likewise.
73819 2012-04-08  Andreas Jaeger  <aj@suse.de>
73821         [BZ #10153]
73822         * manual/startup.texi (Environment Access): Describe return value
73823         for putenv and setenv.
73825         [BZ #6895]
73826         * manual/filesys.texi (Directory Entries): Add description for
73827         DT_LNK.
73829         [BZ #6890]
73830         * manual/filesys.texi (Directory Entries): Clarify that it's file
73831         system not operating system in the description of DT_UNKNOWN.
73833         [BZ #6578]
73834         * manual/syslog.texi (closelog): Fix reference, it's openlog.
73836 2012-04-08  Stephen Compall  <s11@member.fsf.org>
73838         [BZ #6649]
73839         * manual/llio.texi (Opening and Closing Files): Add cross
73840         reference to explain mode argument.
73842 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
73844         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73845         * sysdeps/x86_64/memset_chk.S: Likewise.
73847 2012-04-07  David S. Miller  <davem@davemloft.net>
73849         * elf/elf.h (R_SPARC_WDISP10): Define.
73850         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73851         R_SPARC_SIZE32.
73852         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73853         R_SPARC_SIZE64 and R_SPARC_H34.
73855 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
73857         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73858         conditions and remove no longer applicable assertion.
73860 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73862         * bits/byteswap.h: Include <features.h>.
73863         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73864         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73866 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73868         * bits/byteswap.h (__bswap_16): Removed.
73869         Include <bits/byteswap-16.h> to get __bswap_16.
73870         * sysdeps/i386/bits/byteswap.h: Likewise.
73871         * sysdeps/s390/bits/byteswap.h: Likewise.
73872         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73873         * bits/byteswap-16.h: New file.
73874         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73875         * sysdeps/s390/bits/byteswap-16.h: Likewise.
73876         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73877         * string/Makefile (headers): Add bits/byteswap-16.h.
73879 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73881         [BZ #13895]
73882         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73883         extra indirection.
73884         * nss/Makefile (tests-static, tests): Add tst-nss-static.
73885         * nss/tst-nss-static.c: New.
73887 2012-04-06  Robert Millan  <rmh@gnu.org>
73889         [BZ #6486]
73890         * manual/llio.texi (File Position Primitive): lseek
73891         refers to WHENCE when it really means OFFSET.
73893 2012-04-06  Andreas Jaeger  <aj@suse.de>
73895         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73896         strncmp declarations.
73898         * abilist/libc.abilist: Add __poll and __ppoll.
73900 2012-04-05  David S. Miller  <davem@davemloft.net>
73902         * scripts/check-local-headers.sh: Accept a host triplet in the
73903         path matched by the exclude regexp.
73905         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73906         definition.
73907         * sysdeps/powerpc/powerpc32/dl-machine.h
73908         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73909         * sysdeps/s390/s390-32/dl-machine.h
73910         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73911         * sysdeps/sparc/sparc32/dl-machine.h
73912         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73913         * sysdeps/sparc/sparc64/dl-machine.h
73914         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73916         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73917         lazy binding.
73918         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73919         undefined symbol errors.
73921         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73922         DT_NEEDED entries.
73924 2012-04-05  Michael Matz  <matz@suse.de>
73926         [BZ #13592]
73927         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73929 2012-04-05  Andreas Jaeger  <aj@suse.de>
73931         [BZ #13908]
73932         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73933         comment.
73935 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73937         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73938         which ROUND is no valid rounding mode.
73940 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73942         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73943         read again.
73944         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73946 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73948         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73949         an exception using FPU order intentionally.
73951 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73953         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73954         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73955         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73956         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73958 2012-04-05  Simon Josefsson  <simon@josefsson.org>
73960         [BZ #12340]
73961         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73962         EINVAL when BUFLEN is too smal.
73964 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
73966         [BZ #13553]
73967         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73968         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73970 2012-04-03  Andreas Jaeger  <aj@suse.de>
73972         [BZ #13938]
73973         * manual/setjmp.texi (System V contexts): Fix sentence.
73975         [BZ #13926]
73976         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73977         New macro for this case.
73978         [!__GNUC__] (__bswap_64): New inline function for this case.
73979         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73980         * bits/byteswap.h: Likewise.
73981         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73982         ull, guard with __GLIBC_HAVE_LONG_LONG.
73984         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73985         __GLIBC_HAVE_LONG_LONG.
73987         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
73988         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
73990 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73992         [BZ #13691]
73993         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
73994         inptr and inend, rather than using last_ch.
73996 2012-04-02  David S. Miller  <davem@davemloft.net>
73998         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
73999         * stdio-common/printf-parse.h (read_int): Change return type to
74000         'int', return -1 on INT_MAX overflow.
74001         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74002         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74003         overflows INT_MAX.  Check for overflow of in-format-string precision
74004         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74005         SIZE_MAX not INT_MAX for integer overflow test.
74006         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74007         skip the construct in the format string but do not record anything.
74008         * stdio-common/bug22.c: Adjust to test both width/prevision
74009         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74010         explicitly for proper errno values.
74012 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74014         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74015         CHAR_MAX.
74016         * string/test-strcmp.c [! WIDE]: Likewise.
74017         * time/tst-mktime2.c: Likewise for INT_MAX.
74018         * string/test-string.h: #include <sys/param.h> for MIN.
74020         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74021         * sysdeps/i386/init-first.c (init): Likewise.
74022         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74023         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74024         * sysdeps/sh/init-first.c (init): Likewise.
74026 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74028         * po/ru.po: Update from translation team.
74029         * po/vi.po: Likewise.
74031 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74033         * resolv/nss_dns/dns-host.c: Merge copyright years.
74035 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74037         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74038         Optimize memcpy with prefetch if
74039         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74040         src, dst pointers have unequal 16 byte alignments.
74042 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74044         [BZ #13928]
74045         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74046         from a CNAME entry and return the minimum ttl for the query.
74047         (gaih_getanswer_slice): Likewise.
74049 2012-03-30  Jeff Law  <law@redhat.com>
74051         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74052         due to long keys.
74053         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74054         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74056         * resolv/nss_dns/dns-host.c: Update copyright year.
74058 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74060         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74061         requests to save a system call.  Fix check that all bytes are sent.
74063         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74064         comments for sendmmsg.
74066 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74068         [BZ #13691]
74069         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74070         with only 1 character between 0x0041 and 0x01b0.
74071         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74072         * wcsmbs/tst-mbsnrtowcs.c: New file.
74074 2012-03-29  David S. Miller  <davem@davemloft.net>
74076         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74077         small copies by hand.
74079 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74081         [BZ #13761]
74082         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74083         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74084         group memberships.
74086 2012-03-28  David S. Miller  <davem@davemloft.net>
74088         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74089         that branches into memcpy.
74090         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74091         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74092         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74093         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74094         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74095         bits.
74096         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74097         implementation too.
74098         * sysdeps/sparc/mempcpy.S: New file.
74100         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74101         the IFUNC routine in the libc case.
74102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74104         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74105         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74106         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74107         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74108         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74109         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74110         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74111         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74113         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74114         loop to 256 bytes instead of 64 bytes and fix test signedness.
74116         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74117         * sysdeps/sparc/sparc32/Makefile: rather than here...
74118         * sysdeps/sparc/sparc64/Makefile: and here.
74120 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74122         * malloc/mallocbug.c: Avoid warnings about unused variables.
74124 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74126         [BZ #13760]
74127         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74128         in the right place. Discard and retry query if response is
74129         larger than input buffer size.
74131 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74133         [BZ #369]
74134         [BZ #2678]
74135         [BZ #3866]
74136         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74137         x for large integer exponent.
74138         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74139         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74140         sign of result as needed afterwards.
74141         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74142         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74143         result for underflowing pow the same as for overflow.
74144         (__kernel_standard_l): Handle powl overflow and underflow here
74145         rather than calling __kernel_standard.
74146         * math/libm-test.inc (pow_test): Add more tests.
74148         [BZ #3868]
74149         [BZ #13879]
74150         [BZ #13910]
74151         [BZ #13911]
74152         [BZ #13912]
74153         [BZ #13913]
74154         [BZ #13915]
74155         [BZ #13916]
74156         [BZ #13917]
74157         [BZ #13918]
74158         [BZ #13919]
74159         [BZ #13920]
74160         [BZ #13921]
74161         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74162         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74163         (__kernel_standard_l): New function.
74164         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74165         __kernel_standard.
74166         * math/w_acosl.c (__acosl): Likewise.
74167         * math/w_asinl.c (__asinl): Likewise.
74168         * math/w_atan2l.c (__atan2l): Likewise.
74169         * math/w_atanhl.c (__atanhl): Likewise.
74170         * math/w_coshl.c (__coshl): Likewise.
74171         * math/w_exp10l.c (__exp10l): Likewise.
74172         * math/w_exp2l.c (__exp2l): Likewise.
74173         * math/w_fmodl.c (__fmodl): Likewise.
74174         * math/w_hypotl.c (__hypotl): Likewise.
74175         * math/w_j0l.c (__j0l, __y0l): Likewise.
74176         * math/w_j1l.c (__j1l, __y1l): Likewise.
74177         * math/w_jnl.c (__jnl, __ynl): Likewise.
74178         * math/w_lgammal.c (__lgammal): Likewise.
74179         * math/w_log10l.c (__log10l): Likewise.
74180         * math/w_log2l.c (__log2l): Likewise.
74181         * math/w_logl.c (__logl): Likewise.
74182         * math/w_powl.c (__powl): Likewise.
74183         * math/w_remainderl.c (__remainderl): Likewise.
74184         * math/w_scalbl.c (sysv_scalbl): Likewise.
74185         * math/w_sinhl.c (__sinhl): Likewise.
74186         * math/w_sqrtl.c (__sqrtl): Likewise.
74187         * math/w_tgammal.c (__tgammal): Likewise.
74188         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74189         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74190         * math/libm-test.inc (acos_test): Add more tests.
74191         (acosh_test): Likewise.
74192         (asin_test): Likewise.
74193         (atanh_test): Likewise.
74194         (exp_test): Likewise.
74195         (exp10_test): Likewise.
74196         (exp2_test): Likewise.
74197         (expm1_test): Likewise.
74198         (lgamma_test): Likewise.
74199         (log_test): Likewise.
74200         (log10_test): Likewise.
74201         (log1p_test): Likewise.
74202         (log2_test): Likewise.
74203         (pow_test): Do not allow some spurious overflow exceptions.
74204         (sqrt_test): Add more tests.
74205         (tgamma_test): Likewise.
74206         (y0_test): Likewise.
74207         (y1_test): Likewise.
74208         (yn_test): Likewise.
74210 2012-03-27  Anton Blanchard  <anton@samba.org>
74212         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74213         MAP_HUGETLB.
74214         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74215         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74216         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74218 2012-03-27  David S. Miller  <davem@davemloft.net>
74220         * conform/Makefile: Run run-conformtest.sh using $(BASH).
74222         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74223         have-as-vis3 check.
74225 2012-03-27  Andreas Jaeger  <aj@suse.de>
74227         * sysdeps/x86_64/elf/configure.in: Moved to ...
74228         * sysdeps/x86_64/configure.in: ... here.
74229         * sysdeps/x86_64/elf/start.S: Moved to ...
74230         * sysdeps/x86_64/start.S: ... here.
74231         * sysdeps/x86_64/elf/configure: Delete.
74233         * sysdeps/x86_64/configure.in: Merge contents from
74234         sysdeps/i386/configure.in (without i686 check).
74236         * sysdeps/i386/elf/Versions: Merge into ...
74237         * sysdeps/i386/Versions: ... this.
74238         * sysdeps/i386/elf/Versions: Delete file.
74239         * sysdeps/i386/elf/start.S: Moved to ...
74240         * sysdeps/i386/start.S: ...here.
74241         * sysdeps/i386/elf/configure.in: Merge into...
74242         * sysdeps/i386/configure.in: ...here.
74243         * sysdeps/i386/elf/configure.in: Delete file.
74244         * sysdeps/i386/elf/configure: Delete file.
74246         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74247         * debug/backtracesyms.c: ... here.
74248         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74249         * debug/backtracesymsfd.c: ... here.
74250         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74251         * sysdeps/generic/ifunc-sel.h: ... here.
74253         * sysdeps/unix/i386/start.c: Delete file.
74254         * sysdeps/unix/sparc/start.c: Delete file.
74255         * sysdeps/unix/start.c: Delete file.
74257         * sysdeps/sh/elf/configure.in: Moved to ...
74258         * sysdeps/sh/configure.in: ... here.
74259         * sysdeps/sh/elf/start.S: Moved to ...
74260         * sysdeps/sh/start.S: ... here.
74261         * sysdeps/sh/elf/configure: Delete file.
74263         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74264         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74265         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74266         * sysdeps/powerpc/powerpc64/entry.h: ... here.
74267         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74268         * sysdeps/powerpc/powerpc64/start.S: here.
74269         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74270         * sysdeps/powerpc/powerpc64/Makefile: ... this.
74271         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74272         * sysdeps/powerpc/powerpc64/configure.in: ... this.
74273         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74275         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74276         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74277         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74278         * sysdeps/powerpc/powerpc32/start.S: ... here.
74279         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74280         * sysdeps/powerpc/powerpc32/configure.in: ... this.
74281         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74283         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74284         * sysdeps/powerpc/ifunc-sel.h: ... here.
74285         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74286         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74288         * sysdeps/sparc/elf/configure.in: Moved to ...
74289         * sysdeps/sparc/configure.in: ... here.
74290         * sysdeps/sparc/elf/configure: Delete file.
74291         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74292         * sysdeps/sparc/sparc32/start.S: ... here.
74293         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74294         * sysdeps/sparc/sparc64/start.S: ... here.
74295         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74296         * sysdeps/sparc/sparc32/Makefile: ... this.
74297         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74298         * sysdeps/sparc/sparc64/Makefile: ... this.
74300         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74301         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74302         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74303         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74304         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74305         * sysdeps/s390/s390-32/setjmp.S: ... here.
74306         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74307         * sysdeps/s390/s390-32/configure.in: ... here.
74308         * sysdeps/s390/s390-32/elf/configure: Delete file.
74309         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74310         * sysdeps/s390/s390-32/start.S: ... here.
74312         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74313         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74314         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74315         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74316         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74317         * sysdeps/s390/s390-64/setjmp.S: ... here.
74318         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74319         * sysdeps/s390/s390-64/configure.in: ... here
74320         * sysdeps/s390/s390-64/elf/configure: Delete file.
74321         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74322         * sysdeps/s390/s390-64/start.S: ... here.
74323         * sysdeps/s390/s390-64/elf/configure: Delete.
74325         * configure.in: Remove support for elf directories in sysdeps.
74327         * configure: Regenerated.
74328         * sysdeps/i386/configure: Regenerated.
74329         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74330         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74331         * sysdeps/s390/s390-32/configure: Regenerated.
74332         * sysdeps/s390/s390-64/configure: Regenerated.
74333         * sysdeps/sh/configure: Regenerated.
74334         * sysdeps/sparc/configure: Regenerated.
74335         * sysdeps/x86_64/configure: Regenerated.
74337 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
74339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74341         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74342         denormal result into account.
74344 2012-03-25  Roland McGrath  <roland@hack.frob.com>
74346         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74347         Reported by Allan McRae <allan@archlinux.org>.
74349 2012-03-23  Jeff Law  <law@redhat.com>
74351         * nss/getnssent.c (__nss_getent): Fix typo.
74353 2012-03-23  David S. Miller  <davem@davemloft.net>
74355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74357 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
74359         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74360         to pad to uint64_t for each field.
74361         (dl_tls_index): Replace unsigned long with uint64_t.
74363 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
74364         Paul Pluzhnikov  <ppluzhnikov@google.com>
74366         [BZ #6528]
74367         * grp/Makefile (otherlibs): Don't set it.
74368         * inet/Makefile (otherlibs): Likewise.
74369         * login/Makefile (otherlibs): Likewise.
74370         * nscd/Makefile (otherlibs): Likewise.
74371         * posix/Makefile (otherlibs): Likewise.
74372         * pwd/Makefile (otherlibs): Likewise.
74373         * rt/Makefile (otherlibs): Likewise.
74374         * sunrpc/Makefile (otherlibs): Likewise.
74375         * nss/Makefile (otherlibs): Likewise.
74376         Add libnss_files to routines and static-only-routines.
74377         ($(objpfx)getent): Remove rule.
74378         * resolv/Makefile: Add libnss_dns and libresolv to routines and
74379         static-only-routines.
74381 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74383         [BZ #13892]
74384         * math/s_cexp.c: Include <float.h>.
74385         (__cexp): Handle exp result overflowing not necessarily
74386         overflowing both real and imaginary parts of result.
74387         * math/s_cexpf.c: Likewise.
74388         * math/s_cexpl.c: Likewise.
74389         * math/libm-test.inc (cexp_test): Add more tests.
74390         * sysdeps/i386/fpu/libm-test-ulps: Update.
74391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74393 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74395         * include/link.h (ELFW): New macro.
74396         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74397         Replace ELF64_R_TYPE with ELFW(R_TYPE).
74399 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74401         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74402         with uint64_t.
74404 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74406         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74407         declaration.
74408         (struct La_x32_retval): Likewise.
74410 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74412         * sysdeps/x86_64/preconfigure.in: New file.
74413         * sysdeps/x86_64/preconfigure: New generated file.
74415 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74417         [BZ #13824]
74418         * math/e_exp2l.c: Include <float.h>.
74419         (__ieee754_exp2l): Handle overflow and underflow cases
74420         separately.  Only pass fractional part of argument to
74421         __ieee754_expl.
74422         * math/libm-test.inc (exp2_test): Add more tests.
74424         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74425         negating x to take absolute value.
74426         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74427         Likewise.
74428         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74429         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74430         Likewise.
74431         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74432         computing low part if x was negated.
74433         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74435 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74437         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74438         la_x32_gnu_pltexit.
74439         (pltexit): Cast int_retval to ptrdiff_t.
74440         * elf/tst-auditmod3b.c: Likewise.
74441         * elf/tst-auditmod4b.c: Likewise.
74442         * elf/tst-auditmod5b.c: Likewise.
74443         * elf/tst-auditmod6b.c: Likewise.
74444         * elf/tst-auditmod6c.c: Likewise.
74445         * elf/tst-auditmod7b.c: Likewise.
74447         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74448         and x32_gnu_pltexit.
74450         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74451         __ELF_NATIVE_CLASS.
74452         (La_x32_regs): New macro.
74453         (La_x32_retval): Likewise.
74454         (la_x32_gnu_pltenter): New function prototype.
74455         (la_x32_gnu_pltexit): Likewise.
74457 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
74459         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74460         exponent.
74462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74464         * configure.in (libc_cv_cc_nofma): Check for option to disable
74465         generation of FMA instructions.
74466         * configure: Regenerate.
74467         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74468         * sysdeps/ieee754/dbl-64/Makefile: New file.
74469         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74470         Remove brandred-fma4.
74471         (CFLAGS-brandred-fma4.c): Remove.
74472         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74473         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74474         define.
74475         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74476         define.
74478 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74480         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74481         LLONG_MAX != LONG_MAX.
74482         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74483         (_fitoa_word): Likewise.
74484         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74485         LLONG_MAX != LONG_MAX.
74486         * stdio-common/_itowa.h: Include <_itoa.h>.
74487         (_itowa_word): Use _ITOA_WORD_TYPE on value.
74488         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
74489         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
74490         only if not defined.
74491         (_ITOA_WORD_TYPE): Likewise.
74492         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74493         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74495 2012-03-21  David S. Miller  <davem@davemloft.net>
74497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74499 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74501         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74502         of x86_64 when setting libc_cv_slibdir, libdir and
74503         libc_cv_localedir.
74504         * sysdeps/unix/sysv/linux/configure: Regenerated.
74506 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74508         * manual/lang.texi (Old Varargs): Remove section.
74509         (How Variadic): Update menu.
74510         (va_start): Do not mention varargs.h.
74512 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74513             Joseph Myers  <joseph@codesourcery.com>
74515         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74516         link test.
74517         * configure: Regenerated.
74519 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74521         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74522         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74523         conformtest.pl
74525 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74527         * NOTES: Remove.
74528         * Makefile (files-for-dist): Remove NOTES.
74529         (NOTES): Remove rule.
74530         * README: Don't refer to NOTES.
74531         * manual/creature.texi: Don't include macros.texi.
74532         * manual/intro.texi (creature.texi): Remove comment referring to
74533         NOTES.
74535         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74536         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74537         * configure: Regenerated.
74538         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74539         LIBC_TRY_CC_OPTION.
74540         (libc_cv_as_i686): Likewise.
74541         (libc_cv_cc_avx): Likewise.
74542         (libc_cv_cc_sse2avx): Likewise.
74543         (libc_cv_cc_fma4): Likewise.
74544         (libc_cv_cc_novzeroupper): Likewise.
74545         * sysdeps/i386/configure: Regenerated.
74547         [BZ #13883]
74548         * sysdeps/i386/fpu/s_cexp.S: Remove.
74549         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74550         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74551         * math/libm-test.inc (cexp_test): Add more tests.
74552         * sysdeps/i386/fpu/libm-test-ulps: Update.
74553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74555 2012-03-21  Allan McRae  <allan@archlinux.org>
74557         * timezone/Makefile: Do not install iso3166.tab and zone.tab
74559 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74561         [BZ #13871]
74562         * math/w_exp2.c: Do not include <float.h>.
74563         (o_threshold, u_threshold): Remove.
74564         (__exp2): Calculate result before checking finiteness and calling
74565         __kernel_standard.
74566         * math/w_exp2f.c: Likewise.
74567         * math/w_exp2l.c: Likewise.
74568         * math/libm-test.inc (exp2_test): Require overflow exception for
74569         1e6 input.
74571         [BZ #3866]
74572         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74573         range of signed 64-bit integers before using fistpll.  Remove
74574         checks for whether integers fit in mantissa bits.
74575         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74576         the range of signed 32-bit integers before using fistpl.  Remove
74577         checks for whether integers fit in mantissa bits.
74578         * sysdeps/i386/fpu/e_powl.S (p64): New object.
74579         (__ieee754_powl): Test for y outside the range of signed 64-bit
74580         integers before using fistpll.  Reduce 64-bit values to 63-bit
74581         ones as needed.
74582         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74583         divide-by-zero is raised for zero to large negative powers.
74584         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74585         (__ieee754_powl): Test for y outside the range of signed 64-bit
74586         integers before using fistpll.  Reduce 64-bit values to 63-bit
74587         ones as needed.
74588         * math/libm-test.inc (pow_test): Add more tests.
74590 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74592         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74593         <stdio-common/_itoa.h>.
74594         * debug/segfault.c: Likewise.
74595         * elf/dl-cache.c: Likewise.
74596         * elf/dl-minimal.c: Likewise.
74597         * elf/dl-misc.c: Likewise.
74598         * elf/dl-sysdep.c: Likewise.
74599         * elf/dl-version.c: Likewise.
74600         * elf/rtld.c: Likewise.
74601         * hurd/hurdsock.c: Likewise.
74602         * hurd/lookup-retry.c: Likewise.
74603         * malloc/malloc.c: Likewise.
74604         * malloc/mtrace.c: Likewise.
74605         * nscd/nscd_getgr_r.c: Likewise.
74606         * nscd/nscd_getpw_r.c: Likewise.
74607         * nscd/nscd_getserv_r.c: Likewise.
74608         * posix/getopt_init.c: Likewise.
74609         * posix/wordexp.c: Likewise.
74610         * stdio-common/_itoa.c: Likewise.
74611         * stdio-common/printf_fphex.c: Likewise.
74612         * stdio-common/vfprintf.c: Likewise.
74613         * string/_strerror.c: Likewise.
74614         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74615         * sysdeps/i386/i686/hp-timing.h: Likewise.
74616         * sysdeps/mach/_strerror.c: Likewise.
74617         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74618         * sysdeps/mach/hurd/sethostid.c: Likewise.
74619         * sysdeps/mach/hurd/xmknodat.c: Likewise.
74620         * sysdeps/mach/xpg-strerror.c: Likewise.
74621         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74622         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74623         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74624         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74625         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74626         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74627         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74628         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74629         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74630         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74631         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74632         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74633         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74634         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74635         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74636         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74637         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74638         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74639         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74640         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74641         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74643         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74645         * stdio-common/_itoa.h: Moved to ...
74646         * sysdeps/generic/_itoa.h: Here.
74648         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74650         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74651         instead of "_itoa.h" and "_itowa.h".
74652         * stdio-common/vfprintf.: Likewise.
74654 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74656         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74657         <bits/wordsize.h>.
74658         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74659         (__signbit): Likewise.
74660         (llrintf): Likewise.
74661         (llrint): Likewise.
74663 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74665         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74666         __WORDSIZE != 64.
74668 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
74670         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74671         OVERFLOW_EXCEPTION_OK.
74672         * math/libm-test.inc ("Philosophy"): Update comment about
74673         exception testing.
74674         (OVERFLOW_EXCEPTION): Define.
74675         (OVERFLOW_EXCEPTION_OK): Likewise.
74676         (INVALID_EXCEPTION_OK): Renumber.
74677         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74678         (IGNORE_ZERO_INF_SIGN): Likewise.
74679         (test_exceptions): Handle FE_OVERFLOW.
74680         (exp10_test): Expect overflow exceptions.
74681         (exp2_test): Likewise.
74682         (expm1_test): Likewise.
74683         (nextafter_test): Likewise.
74684         (pow_test): Likewise.
74685         (scalbn_test): Likewise.
74686         (scalbln_test): Likewise.
74688 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74690         * sysdeps/x86_64/bits/atomic.h
74691         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74692         64bit integer.
74693         (atomic_exchange_acq): Likewise.
74694         (__arch_exchange_and_add_body): Likewise.
74695         (__arch_add_body): Likewise.
74696         (atomic_add_negative): Likewise.
74697         (atomic_add_zero): Likewise.
74699 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74701         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74702         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74704 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74706         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74707         Check __x86_64__ instead of __WORDSIZE.
74709 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74711         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74713 2012-03-19  David S. Miller  <davem@davemloft.net>
74715         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74717         * sysdeps/sparc/fpu/fenv_private.h: New file.
74718         * sysdeps/sparc/fpu/math_private.h: Use it.
74719         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74720         Remove.
74721         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74722         (libc_feholdexcept_setroundl): Remove.
74723         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74724         Remove.
74725         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74726         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74730         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74731         int64_t instead of long int.
74732         (INSERT_WORDS64): Likewise.
74734 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74736         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74737         _Unwind_GetCFA return to _Unwind_Ptr first.
74739 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
74741         [BZ #13629]
74742         * math/s_clog.c: Include <float.h>.
74743         (__clog): Scale large or subnormal inputs.
74744         * math/s_clogf.c: Likewise.
74745         * math/s_clogl.c: Likewise.
74746         * math/s_clog10.c: Include <float.h>.
74747         (M_LOG10_2): Define.
74748         (__clog10): Scale large or subnormal inputs.
74749         * math/s_clog10f.c: Likewise.
74750         * math/s_clog10l.c: Likewise.
74751         * math/libm-test.inc (clog_test): Add more tests.
74752         (clog10_test): Likewise.
74753         * sysdeps/i386/fpu/libm-test-ulps: Update.
74754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74756         [BZ #11451]
74757         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74758         x and y.
74759         * math/libm-test.inc (atan2_test): Add another test.
74761         * Makerules (common-objdir-compile): Remove.
74762         * sysdeps/unix/Makefile (config-generated): Do not add
74763         $(unix-generated) to variable.
74764         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74765         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74766         Remove rule.
74767         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74768         Likewise.
74769         [generic bits/local_lim.h] (before-compile): Do not append to
74770         variable.
74771         [generic bits/local_lim.h] (common-generated): Likewise.
74772         [generic sys/param.h] (before-compile): Do not append to variable.
74773         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74774         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74775         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74776         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74777         include.
74778         [generic sys/param.h] (sys/param.h-includes): Remove variable.
74779         [generic sys/param.h] (sys/param.h-includes): Remove rule.
74780         [generic sys/param.h] ($(addprefix
74781         $(common-objpfx),$(sys/param.h-includes))): Likewise.
74782         [generic sys/param.h] (common-generated): Do not append to
74783         variable.
74784         [generic sys/param.h] (sysdep_headers): Likewise.
74785         [generic bits/errno.h] (before-compile): Do not append to
74786         variable.
74787         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74788         rule.
74789         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74790         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74791         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74792         [generic bits/errno.h] (common-generated): Do not append to
74793         variable.
74794         [generic bits/ioctls.h] (before-compile): Do not append to
74795         variable.
74796         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74797         rule.
74798         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74799         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74800         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74801         rule.
74802         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74803         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74804         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74805         [generic bits/ioctls.h] (common-generated): Do not append to
74806         variable.
74807         [generic sys/syscall.h] (syscall.h): Remove variable.
74808         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74809         rule.
74810         [generic sys/syscall.h] (before-compile): Do not append to
74811         variable.
74812         [generic sys/syscall.h] (common-generated): Likewise.
74813         * sysdeps/unix/errnos-tmpl.c: Remove file.
74814         * sysdeps/unix/errnos.awk: Likewise.
74815         * sysdeps/unix/ioctls-tmpl.c: Likewise.
74816         * sysdeps/unix/ioctls.awk: Likewise.
74817         * sysdeps/unix/mk-local_lim.c: Likewise.
74818         * sysdeps/unix/snarf-ioctls: Likewise.
74820 2012-03-19  Richard Henderson  <rth@twiddle.net>
74822         * sysdeps/i386/fpu/fenv_private.h: New file.
74823         * sysdeps/i386/fpu/math_private.h: Use it.
74824         (math_opt_barrier, math_force_eval): Remove.
74825         (libc_feholdexcept_setround_53bit): Remove.
74826         (libc_feupdateenv_53bit): Remove.
74827         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74828         (math_opt_barrier, math_force_eval): Remove.
74829         (libc_feholdexcept): Remove.
74830         (libc_feholdexcept_setround): Remove.
74831         (libc_fetestexcept, libc_fesetenv): Remove.
74832         (libc_feupdateenv_test): Remove.
74833         (libc_feupdateenv, libc_feholdsetround): Remove.
74834         (libc_feresetround): Remove.
74836         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74837         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74839         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74840         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74841         (libc_feupdateenv_testl): New.
74842         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74843         (libc_feupdateenv_testf): New.
74844         (libc_feupdateenv): Use libc_feupdateenv_test.
74845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74846         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74848         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74849         (libc_feholdsetroundf, libc_feholdsetroundl): New.
74850         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74851         (libc_feresetround_noex): New.
74852         (libc_feresetround_noexf): New.
74853         (libc_feresetround_noexl): New.
74854         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74855         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74856         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74857         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74858         SET_RESTORE_ROUND.
74859         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74860         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74861         (__cos): Likewise.
74862         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74863         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74864         SET_RESTORE_ROUND_NOEX.
74865         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74866         SET_RESTORE_ROUND_NOEXF.
74867         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74868         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74869         (libc_feholdsetroundf): New.
74870         (libc_feresetround, libc_feresetroundf): New.
74872         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74873         (libc_feholdexcept_setround_53bit): Convert from macro to function.
74874         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
74876         * sysdeps/generic/math_private.h: Include <fenv.h>.
74877         (default_libc_feholdexcept): New.
74878         (default_libc_feholdexcept_setround): New.
74879         (default_libc_fesetenv, default_libc_feupdateenv): New.
74880         (libc_feholdexcept): Only define if undefined.
74881         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74882         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74883         (libc_feholdexcept_setroundl): Likewise.
74884         (libc_feholdexcept_setround_53bit): Likewise.
74885         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74886         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74887         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74888         (libc_feupdateenv_53bit): Likewise.
74889         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74890         (libc_feholdexcept): Convert from macro to inline function.
74891         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74892         (libc_fesetenv, libc_feupdateenv): Likewise.
74894         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74895         not previously defined.
74896         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74897         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74898         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74899         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74900         * sysdeps/ieee754/flt-32/math_private.h: New file.
74901         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74902         math_private.h below SET_FLOAT_WORD.
74903         (__isnan, __isinf_ns, __finite): Remove.
74904         (__isnanf, __isinf_nsf, __finitef): Remove.
74906 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
74908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74910 2012-03-17  David S. Miller  <davem@davemloft.net>
74912         [BZ #6471]
74913         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74914         for 2.16.
74916 2012-03-16  David S. Miller  <davem@davemloft.net>
74918         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74919         warnings.
74921         [BZ #6471]
74922         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74923         properly.
74924         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74925         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74926         sysdep_routines when subdir is sysvipc.
74927         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74928         __getshmlba helper.
74930         * sysdeps/sparc/fpu/libm-test/ulps: Update.
74932 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74934         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74935         [__LP64__].
74937 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74939         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74940         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74941         (__lround): Renamed to ...
74942         (__llround): This.  Replace long int with long long int.
74943         Define lround functions as aliases of llround functions.
74944         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74946 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74948         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74949         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
74950         adresses to uintptr_t.  Replace "long int" and "unsigned long
74951         int" with "greg_t" on va_arg.
74953 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74955         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74956         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74958         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74959         Move e_machine check before EI_CLASS check.  Handle x32
74960         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74961         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74962         SKIP_EM_IA_64 and include
74963         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74965         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74966         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74967         (add_system_dir): New macro.
74969         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74970         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74972 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74974         [BZ #2551]
74975         [BZ #2552]
74976         [BZ #2553]
74977         [BZ #2554]
74978         [BZ #2562]
74979         [BZ #2563]
74980         [BZ #2565]
74981         [BZ #2566]
74982         [BZ #2576]
74983         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74984         (y0): Likewise.
74985         * math/w_j0f.c (j0f): Likewise.
74986         (y0f): Likewise.
74987         * math/w_j0l.c (__j0l): Likewise.
74988         (__y0l): Likewise.
74989         * math/w_j1.c (j1): Likewise.
74990         (y1): Likewise.
74991         * math/w_j1f.c (j1f): Likewise.
74992         (y1f): Likewise.
74993         * math/w_j1l.c (__j1l): Likewise.
74994         (__y1l): Likewise.
74995         * math/w_jn.c (jn): Likewise.
74996         (yn): Likewise.
74997         * math/w_jnf.c (jnf): Likewise.
74998         (ynf): Likewise.
74999         * math/w_jnl.c (__jnl): Likewise.
75000         (__ynl): Likewise.
75001         * math/libm-test.inc (j0_test): Add more tests.
75002         (j1_test): Likewise.
75003         (jn_test): Likewise.  Add trailing semicolon to existing test.
75004         (y0_test): Likewise.
75005         (y1_test): Likewise.
75006         * sysdeps/i386/fpu/libm-test-ulps: Update.
75007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75009         [BZ #13851]
75010         [BZ #13854]
75011         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75012         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75013         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75014         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75015         (__tanl): Set errno for infinite argument.
75016         * sysdeps/i386/fpu/mptan.c: Remove.
75017         * sysdeps/i386/fpu/s_tan.S: Likewise.
75018         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75019         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75020         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75021         * math/libm-test.inc (tan_test): Add more tests and enable more
75022         tests for double and long double.
75023         * sysdeps/i386/fpu/libm-test-ulps: Update.
75024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75026 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75028         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75029         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75031 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75033         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75034         * configure.in: Use it for both main tree and add-ons.
75035         * configure: Regenerated.
75037 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75039         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75041 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75043         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75044         in comment.
75046         [BZ #13851]
75047         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75048         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75049         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75050         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75051         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75052         infinite argument.
75053         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75054         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75055         != 0 for prec == 2.
75056         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75057         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75058         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75059         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75060         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75061         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75062         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75063         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75064         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75065         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75066         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75067         * math/libm-test.inc (cos_test): Add more tests and enable more
75068         tests for long double.
75069         (sin_test): Likewise.
75070         (sincos_test): Likewise.
75071         * sysdeps/i386/fpu/libm-test-ulps: Update.
75072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75074 2012-03-16  David S. Miller  <davem@davemloft.net>
75076         * sysdeps/sparc/fpu/math_private.h: New file.
75078 2012-03-15  David S. Miller  <davem@davemloft.net>
75080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75081         file.
75082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75084         file.
75085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75086         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75087         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75088         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75089         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75090         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75091         sysdep routines.
75092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75094         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75095         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75097         * sysdeps/sparc/sparc-ifunc.h: New file.
75098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75099         sparc-ifunc.h
75100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75102         Likewise.
75103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75104         Likewise.
75105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75109         Likewise.
75110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75115         Likewise.
75116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75117         Likewise.
75118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75123         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75124         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75125         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75128         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75129         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75130         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75131         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75132         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75133         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75134         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75135         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75136         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75137         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75138         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75139         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75140         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75141         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75143 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75145         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75146         scaling.
75147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75149 2012-03-15  Andreas Jaeger  <aj@suse.de>
75151         [BZ #13852]
75152         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75153         ieee754/flt-32 implementation for sin, cos and sincos.
75154         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75155         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75156         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75157         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75158         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75159         ieee754/flt-32 implementation for tan.
75161         * math/libm-test.inc (cos_test): Enable some large input tests for
75162         float as well
75163         (sin_test): Likewise.
75164         (sincos_test): Likewise.
75165         (tan_test): Add tests for large input.
75167         * sysdeps/i386/fpu/libm-test-ulps: Update.
75169 2012-03-15  Andreas Jaeger  <aj@suse.de>
75171         [BZ #13658]
75172         * math/libm-test.inc (cos_test): Add more test cases.
75173         (sin_test): Likewise.
75174         (sincos_test): Likewise.
75176 2012-03-15  Andreas Jaeger  <aj@suse.de>
75178         [BZ #13837]
75179         * math/libm-test.inc (cos_test): Add a test case for large input
75180         value.
75181         (sin_test): Likewise.
75182         (sincos_test): Likewise.
75184 2012-03-15  Andreas Jaeger  <aj@suse.de>
75185             Joseph Myers  <joseph@codesourcery.com>
75187         [BZ #13658]
75188         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75189         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75190         * sysdeps/i386/fpu/branred.c: Likewise.
75191         * sysdeps/i386/fpu/dosincos.c: Likewise.
75192         * sysdeps/i386/fpu/mpa.c: Likewise.
75193         * sysdeps/i386/fpu/s_cos.S: Likewise.
75194         * sysdeps/i386/fpu/s_sin.S: Likewise.
75195         * sysdeps/i386/fpu/s_sincos.S: Likewise.
75196         * sysdeps/i386/fpu/sincos32.c: Likewise.
75198         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75199         Define.
75200         (libc_feupdateenv_53bit): Define.
75201         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75202         Define.
75203         (libc_feupdateenv_53bit): Define.
75205         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75206         53 bit (without extend i386 double precision).
75208         * math/libm-test.inc (sincos_test): Add tests for large input.
75209         (sin): Likewise.
75210         (cos): Likewise.
75212         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75214 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75218 2012-03-15  David S. Miller  <davem@davemloft.net>
75220         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75221         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75222         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75223         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75228         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75229         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75230         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75236         file.
75237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75239         file.
75240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75242         file.
75243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75245         file.
75246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75247         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75248         fmin/fmax sysdep routines.
75249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75251 2012-03-14  David S. Miller  <davem@davemloft.net>
75253         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75254         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75255         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75256         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75257         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75258         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75259         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75260         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75261         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75262         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75263         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75265         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75266         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75267         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75268         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75269         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75270         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75271         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75272         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75273         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75274         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75275         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75276         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75277         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75278         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75279         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75280         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75281         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75282         routines.
75283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75284         file.
75285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75287         file.
75288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75290         file.
75291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75293         file.
75294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75296         file.
75297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75299         file.
75300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75301         file.
75302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75303         file.
75304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75305         file.
75306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75307         New file.
75308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75309         file.
75310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75311         file.
75312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75314         file.
75315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75317         file.
75318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75320         file.
75321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75323         VIS3 routines.
75325         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75326         New file.
75328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75330         * sysdeps/sparc/configure.in: New file.
75331         * sysdeps/sparc/configure: Generate.
75332         * configure.in (libc_cv_sparc_as_vis3): Substitute.
75333         * configure: Regenerate.
75334         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75335         * config.make.in (have-as-vis3): New.
75336         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75337         available use -Av9d instead of -Av9a.
75338         * sysdeps/sparc/sparc64/Makefile: Likewise.
75339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75341         New file.
75342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75343         file.
75344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75345         New file.
75346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75347         file.
75348         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75349         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75350         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75351         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75352         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75354         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75355         fzeros/fnegs to load 0x80000000 into a float register instead of
75356         using the stack.
75357         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75359 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75361         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75362         bits/syscall.h.
75363         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75364         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75365         ($(inst_includedir)/bits/syscall.h): Remove rule.
75366         ($(objpfx)bits/syscall.d): Include instead of
75367         $(objpfx)syscall-list.d.
75368         (generated): Change syscall-list.h and syscall-list.d to
75369         bits/syscall.h and bits/syscall.d.
75371 2012-03-14  Roland McGrath  <roland@hack.frob.com>
75373         [BZ #13846]
75374         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75376 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75378         [BZ #13841]
75379         * math/s_csqrt.c: Include <float.h>.
75380         (__csqrt): Scale large or subnormal inputs.
75381         * math/s_csqrtf.c: Likewise.
75382         * math/s_csqrtl.c: Likewise.
75383         * math/libm-test.inc (csqrt_test): Add more tests.
75384         * sysdeps/i386/fpu/libm-test-ulps: Update.
75385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75387         [BZ #13840]
75388         * math/libm-test.inc (hypot_test): Add more tests.
75390 2012-03-13  David S. Miller  <davem@davemloft.net>
75392         [BZ #13840]
75393         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75394         double-precision for the calculation instead of scaling.
75396 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
75398         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75399         manipulate bits before adding and subtracting TWO52[sx].
75400         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75401         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75402         Likewise.
75403         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75405 2012-03-13  David S. Miller  <davem@davemloft.net>
75407         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75408         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75409         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75410         rtld-global-offsets.h
75411         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75413         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75414         large parameters.
75416         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75418         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75419         'err' in the ifdef scope in which it is actually used.
75421         * nss/nss_db/db-init.c: Include string.h
75423 2012-03-12  David S. Miller  <davem@davemloft.net>
75425         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75426         masking out of the most significant byte of random value used.
75427         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75428         Fix coding style in previous change.
75430         * sysdeps/unix/sysv/linux/kernel-features.h
75431         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75432         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75433         expression.
75434         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75435         later.
75437 2012-03-11  David S. Miller  <davem@davemloft.net>
75439         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75440         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75441         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75442         for 'resultvar' otherwise things get truncated on 64-bit.
75444         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75445         Fix masking out of the most significant byte of random value used.
75447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75449 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
75451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75453 2012-03-09  David S. Miller  <davem@davemloft.net>
75455         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75456         variables with appropriate CPP guards.
75457         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75458         from the frame pointer, not the stack pointer.  Correct layout
75459         comments.  Fix test on resulting framesize and the management of
75460         the outregs buffer for pltexit.  Preserve floating point return
75461         values across _dl_call_pltexit call.
75462         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75463         framesize and the management of the outregs buffer for pltexit.
75464         Preserve floating point return values across _dl_call_pltexit
75465         call.
75466         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75467         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75468         (la_sparc64_gnu_pltexit): New functions.
75469         (print_exit): Fix format string for return register value.
75471 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
75473         * sunrpc/Makefile (others): Add rpcgen.
75474         ($(objpfx)rpcgen): Remove special build rule and dependency on
75475         libc.
75476         * sunrpc/rpcgen.c: New file.
75478 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
75480         [BZ #13673]
75481         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75482         * stdio-common/bug-vfprintf-nargs.c: Likewise.
75483         * sysdeps/i386/crti.S: Likewise.
75484         * sysdeps/i386/crtn.S: Likewise.
75485         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75486         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75487         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75488         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75489         * sysdeps/sh/crti.S: Likewise.
75490         * sysdeps/sh/crtn.S: Likewise.
75491         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75493         [BZ #13673]
75494         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75495         with URL.
75496         * locale/programs/locfile-kw.gperf: Likewise.
75497         * locale/programs/charmap-kw.h: Regenerated.
75498         * locale/programs/locfile-kw.h: Likewise.
75500         [BZ #13673]
75501         * intl/plural.y: Replace FSF snail mail address with URL.
75502         * intl/plural.c: Regenerated.
75504 2012-03-09  Richard Henderson  <rth@twiddle.net>
75506         * include/math_private.h: Remove file.
75507         * math/math_private.h: Move file ...
75508         * sysdeps/generic/math_private.h: ... here.
75510         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75511         * sysdeps/powerpc/fpu/math_private.h: Likewise.
75512         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75514         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75515         and <math_private.h>.
75516         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75517         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75518         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75519         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75520         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75521         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75522         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75524         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75525         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75527         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75528         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75529         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75530         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75531         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75532         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75533         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75534         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75535         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75536         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75537         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75538         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75539         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75540         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75541         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75542         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75543         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75545         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75546         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75547         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75548         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75549         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75550         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75551         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75552         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75553         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75554         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75555         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75556         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75557         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75558         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75559         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75560         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75561         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75562         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75563         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75564         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75565         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75566         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75567         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75568         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75569         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75570         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75571         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75572         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75573         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75574         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75575         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75576         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75577         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75578         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75579         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75580         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75581         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75582         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75583         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75584         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75585         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75586         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75587         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75588         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75589         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75590         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75592         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75593         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75594         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75595         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75596         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75597         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75598         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75599         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75600         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75601         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75602         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75603         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75604         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75605         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75606         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75607         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75608         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75609         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75610         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75611         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75612         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75613         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75614         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75615         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75616         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75617         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75618         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75619         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75620         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75621         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75622         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75623         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75624         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75625         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75626         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75627         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75628         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75629         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75630         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75631         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75632         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75633         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75634         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75635         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75636         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75637         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75638         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75639         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75640         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75641         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75642         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75643         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75644         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75645         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75646         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75647         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75648         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75649         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75650         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75651         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75652         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75653         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75654         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75655         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75656         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75657         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75658         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75659         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75660         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75661         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75662         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75663         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75664         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75665         * sysdeps/ieee754/k_standard.c: Likewise.
75666         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75667         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75668         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75669         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75670         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75671         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75672         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75673         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75674         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75675         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75676         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75678         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75679         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75680         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75681         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75682         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75683         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75684         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75685         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75686         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75687         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75688         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75689         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75690         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75691         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75692         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75693         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75694         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75695         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75696         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75697         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75698         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75699         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75700         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75701         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75702         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75703         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75704         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75705         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75706         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75707         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75708         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75709         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75710         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75711         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75712         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75713         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75714         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75715         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75716         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75717         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75718         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75719         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75720         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75721         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75722         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75723         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75724         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75725         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75726         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75727         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75728         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75729         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75730         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75731         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75732         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75733         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75734         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75735         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75736         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75737         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75738         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75739         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75740         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75741         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75742         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75743         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75744         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75745         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75746         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75747         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75748         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75749         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75750         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75751         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75752         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75753         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75754         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75755         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75756         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75757         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75758         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75759         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75760         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75761         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75762         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75763         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75764         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75765         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75766         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75767         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75768         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75769         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75770         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75771         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75772         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75773         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75774         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75775         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75776         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75777         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75778         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75779         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75780         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75781         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75782         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75783         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75784         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75785         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75786         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75787         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75788         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75789         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75790         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75791         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75792         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75793         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75794         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75795         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75796         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75797         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75798         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75799         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75800         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75801         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75802         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75803         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75804         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75805         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75806         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75807         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75808         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75809         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75810         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75811         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75812         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75813         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75814         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75815         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75816         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75817         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75818         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75819         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75820         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75821         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75822         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75823         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75824         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75825         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75826         * sysdeps/ieee754/s_lib_version.c: Likewise.
75827         * sysdeps/ieee754/s_matherr.c: Likewise.
75828         * sysdeps/ieee754/s_signgam.c: Likewise.
75829         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75830         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75831         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75832         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75833         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75834         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75835         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75836         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75837         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75838         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75839         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75840         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75841         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75842         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75843         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75844         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75845         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75846         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75847         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75848         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75849         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75851 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75853         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75854         * sunrpc/rpc_main.c: Likewise.
75855         * sunrpc/rpc_svcout.c: Likewise.
75857 2012-03-09  David S. Miller  <davem@davemloft.net>
75859         * include/math_private.h: New file.
75861 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75863         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75864         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75865         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75866         from <bits/socket_type.h>.
75867         (enum __socket_type): Don't define here.
75868         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75869         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75870         bits/socket_type.h.
75872         [BZ #13566]
75873         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75874         checking __USE_GNU.
75876         * Makerules ($(inst_includedir)/%.h): New rule.
75877         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75878         (install-others): Remove variable setting.
75879         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75881 2012-03-08  Richard Henderson  <rth@twiddle.net>
75883         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75884         from macro to inline function; merge with the
75885         !__LIBC_INTERNAL_MATH_INLINES version.
75886         (__ieee754_sqrtf): Likewise.
75888         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75889         to inline function.
75890         (__rintf, __floor, __floorf): Likewise.
75892         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75893         macro to inline function.
75894         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75896         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75897         not <math/math_private.h>.
75899 2012-03-08  David S. Miller  <davem@davemloft.net>
75901         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75902         copyright year.
75903         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75905 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
75907         * resolv/gai_misc.c (handle_requests): Fix struct timespec
75908         normalization.
75909         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75910         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75912 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
75914         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
75915         be defined individually, they must be defined as a block.  Define
75916         S for printing a string instead of hidint the different by using a
75917         macro for adding the 'l'.
75918         * stdio-common/tst-fphex-wide.c: Adjust.
75920 2012-03-07  Marek Polacek  <polacek@redhat.com>
75922         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75924 2012-03-08  Marek Polacek  <polacek@redhat.com>
75926         [BZ #13806]
75927         * stdio-common/Makefile (tests): Add tst-fphex-wide.
75928         * stdio-common/tst-fphex.c: Define a few macros to make the
75929         test reusable.  Use them.
75930         * stdio-common/tst-fphex-wide.c: New file.
75932 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
75934         [BZ #6911]
75935         * manual/macros.texi (gnusystems): New macro.
75936         (nongnusystems): Likewise.
75937         (gnulinuxhurdsystems): Likewise.
75938         (gnuhurdsystems): Likewise..
75939         (gnulinuxsystems): Likewise.
75940         * manual/charset.texi: Use new macros or @theglibc{} to refer to
75941         variants of the GNU system, not "GNU system".
75942         * manual/conf.texi: Likewise.
75943         * manual/errno.texi: Likewise.  Update example of errno macro
75944         expansion.
75945         * manual/filesys.texi: Likewise.
75946         (getumask): Document as specific to GNU/Hurd.
75947         * manual/install.texi: Likewise.  Reword some references to
75948         GNU/Linux.
75949         * manual/intro.texi: Likewise.
75950         * manual/io.texi: Likewise.
75951         (File Name Portability): Detail which constraints are inapplicable
75952         to all GNU systems and which are only inapplicable to GNU/Hurd.
75953         * manual/job.texi: Likewise.
75954         * manual/llio.texi: Likewise.
75955         (O_NOCTTY): Document as present on GNU/Linux.
75956         * manual/maint.texi: Likewise.
75957         * manual/memory.texi: Likewise.
75958         * manual/pattern.texi: Likewise.
75959         * manual/pipe.texi: Likewise.
75960         * manual/process.texi: Likewise.
75961         * manual/resource.texi: Likewise.
75962         (RUSAGE_CHILDREN): Remove statement about specifying a particular
75963         child on GNU/Hurd.
75964         * manual/setjmp.texi: Likewise.
75965         * manual/signal.texi: Likewise.
75966         * manual/startup.texi: Likewise.
75967         * manual/stdio.texi: Likewise.
75968         * manual/terminal.texi: Likewise.
75969         (ONLCR): Document as POSIX.
75970         (OXTABS): Document availability on GNU/Linux as XTABS.
75971         (ONOEOT): Document availability separately from other bits.
75972         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75973         * manual/time.texi: Likewise.
75974         * manual/users.texi: Likewise.
75975         * INSTALL: Regenerated.
75976         * sysdeps/gnu/errlist.c: Regenerated.
75978         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75979         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75980         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
75981         puts.
75982         * configure: Regenerated.
75984 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
75986         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
75987         default includes instead of AC_HEADER_CHECK.
75988         * sysdeps/i386/configure: Regenerated.
75990         [BZ #10716]
75991         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
75992         * math/s_cacoshf.c (__cacoshf): Likewise.
75993         * math/s_cacoshl.c (__cacoshl): Likewise.
75994         * math/s_casinh.c (__casinh): Set signs of result from argument.
75995         * math/s_casinhf.c (__casinhf): Likewise.
75996         * math/s_casinhl.c (__casinhl): Likewise.
75997         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
75998         (casinh_test): Add more tests.
75999         * sysdeps/i386/fpu/libm-test-ulps: Update.
76000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76002 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76004         * po/zh_TW.po: Update from translation team.
76006         * login/Makefile (distribute): Remove variable.
76007         * catgets/Makefile: Likewise.
76008         * mach/Makefile: Likewise.
76009         * malloc/Makefile: Likewise.
76010         * misc/Makefile: Likewise.
76011         * iconv/Makefile: Likewise.
76012         * nscd/Makefile: Likewise.
76013         * hurd/Makefile: Likewise.
76014         * manual/Makefile: Likewise.
76015         * locale/Makefile: Likewise.
76016         * intl/Makefile: Likewise.
76017         * conform/Makefile: Likewise.
76018         * nss/Makefile: Likewise.
76019         * time/Makefile: Likewise.
76020         * soft-fp/Makefile: Likewise.
76021         * dirent/Makefile: Likewise.
76022         * gmon/Makefile: Likewise.
76023         * po/Makefile: Likewise.
76024         * rt/Makefile: Likewise.
76025         * socket/Makefile: Likewise.
76026         * math/Makefile: Likewise.
76027         * signal/Makefile: Likewise.
76028         * debug/Makefile: Likewise.
76029         * elf/Makefile: Likewise.
76030         * timezone/Makefile: Likewise.
76031         * stdlib/Makefile: Likewise.
76032         * iconvdata/Makefile: Likewise.
76033         * sunrpc/Makefile: Likewise.
76034         * io/Makefile: Likewise.
76035         * argp/Makefile: Likewise.
76036         * inet/Makefile: Likewise.
76037         * hesiod/Makefile: Likewise.
76038         * grp/Makefile: Likewise.
76039         * csu/Makefile: Likewise.
76040         * wctype/Makefile: Likewise.
76041         * crypt/Makefile: Likewise.
76042         * libio/Makefile: Likewise.
76043         * string/Makefile: Likewise.
76044         * nis/Makefile: Likewise.
76045         * resolv/Makefile: Likewise.
76046         * stdio-common/Makefile: Likewise.
76047         * wcsmbs/Makefile: Likewise.
76048         * dlfcn/Makefile: Likewise.
76049         * posix/Makefile: Likewise.
76051         [BZ #6959]
76052         * timezone/Makefile: Don't install timezone files, just the programs
76053         and scripts.
76055 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76057         * nss/databases.def: Add missing gshadow entry.
76059         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76061 2012-03-06  Marek Polacek  <polacek@redhat.com>
76063         [BZ #13726]
76064         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76065         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76066         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76067         * stdio-common/tst-long-dbl-fphex.c: New file.
76069 2012-03-06  David S. Miller  <davem@davemloft.net>
76071         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76072         (set_obp_int): New function.
76073         (get_obp_int): New function.
76074         (__get_clockfreq_via_dev_openprom): Likewise.
76075         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76076         Avoid unused variable warnings on 'val' and use builtin_expect.
76077         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76078         __builtin_expect.
76079         (INLINE_CLONE_SYSCALL): Likewise.
76081 2012-03-05  David S. Miller  <davem@davemloft.net>
76083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76085 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76089         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76090         only for |x| >= 40.
76091         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76093 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76095         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76096         Replace gettimeofday with __vdso_gettimeofday.
76098         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76099         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76100         __vdso_clock_gettime and __vdso_getcpu.
76102         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76103         time with __vdso_time.
76105 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76107         * manual/lang.texi (size_t): Note types to which size_t may be
76108         equivalent with the GNU C Library, but do not describe when
76109         differences between them are significant.
76111 2012-03-05  Andreas Jaeger  <aj@suse.de>
76113         * sysdeps/i386/fpu/libm-test-ulps: Update.
76115 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76117         [BZ #3976]
76118         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76119         (__ieee754_pow): Save and restore rounding mode and use
76120         round-to-nearest for main computations.
76121         * math/libm-test.inc (pow_test_tonearest): New function.
76122         (pow_test_towardzero): Likewise.
76123         (pow_test_downward): Likewise.
76124         (pow_test_upward): Likewise.
76125         (main): Call the new functions.
76126         * sysdeps/i386/fpu/libm-test-ulps: Update.
76127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76129         [BZ #3976]
76130         * math/libm-test.inc (cosh_test_tonearest): New function.
76131         (cosh_test_towardzero): Likewise.
76132         (cosh_test_downward): Likewise.
76133         (cosh_test_upward): Likewise.
76134         (sinh_test_tonearest): Likewise.
76135         (sinh_test_towardzero): Likewise.
76136         (sinh_test_downward): Likewise.
76137         (sinh_test_upward): Likewise.
76138         (main): Call the new functions.
76139         * sysdeps/i386/fpu/libm-test-ulps: Update.
76140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76142 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76144         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76145         default stack guard is set in last bytes.
76146         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76148 2012-03-05  Kees Cook  <keescook@chromium.org>
76150         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76152         [BZ #13656]
76153         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76154         possibly allocate from heap instead of stack.
76155         * stdio-common/bug-vfprintf-nargs.c: New file.
76156         * stdio-common/Makefile (tests): Add nargs overflow test.
76158 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76162 2012-03-03  Marek Polacek  <polacek@redhat.com>
76164         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76165         * math/math_private.h: Likewise.
76166         * stdlib/tst-strtod.c: Likewise.
76167         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76168         * sysdeps/x86_64/bits/atomic.h: Likewise.
76170 2012-03-02  David S. Miller  <davem@davemloft.net>
76172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76176         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76177         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76178         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76179         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76181 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76183         [BZ #13792]
76184         * manual/examples/README: New file, says the example source files
76185         can be used under GPL>=2.
76186         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76187         line containing just "*/".
76188         * manual/examples/add.c: Add copyright header (GPL>=2).
76189         * manual/examples/argp-ex1.c: Likewise.
76190         * manual/examples/argp-ex2.c: Likewise.
76191         * manual/examples/argp-ex3.c: Likewise.
76192         * manual/examples/argp-ex4.c: Likewise.
76193         * manual/examples/atexit.c: Likewise.
76194         * manual/examples/db.c: Likewise.
76195         * manual/examples/dir.c: Likewise.
76196         * manual/examples/dir2.c: Likewise.
76197         * manual/examples/execinfo.c: Likewise.
76198         * manual/examples/filecli.c: Likewise.
76199         * manual/examples/filesrv.c: Likewise.
76200         * manual/examples/fmtmsgexpl.c: Likewise.
76201         * manual/examples/genpass.c: Likewise.
76202         * manual/examples/inetcli.c: Likewise.
76203         * manual/examples/inetsrv.c: Likewise.
76204         * manual/examples/isockad.c: Likewise.
76205         * manual/examples/longopt.c: Likewise.
76206         * manual/examples/memopen.c: Likewise.
76207         * manual/examples/memstrm.c: Likewise.
76208         * manual/examples/mkfsock.c: Likewise.
76209         * manual/examples/mkisock.c: Likewise.
76210         * manual/examples/mygetpass.c: Likewise.
76211         * manual/examples/pipe.c: Likewise.
76212         * manual/examples/popen.c: Likewise.
76213         * manual/examples/rprintf.c: Likewise.
76214         * manual/examples/search.c: Likewise.
76215         * manual/examples/select.c: Likewise.
76216         * manual/examples/setjmp.c: Likewise.
76217         * manual/examples/sigh1.c: Likewise.
76218         * manual/examples/sigusr.c: Likewise.
76219         * manual/examples/stpcpy.c: Likewise.
76220         * manual/examples/strdupa.c: Likewise.
76221         * manual/examples/strftim.c: Likewise.
76222         * manual/examples/strncat.c: Likewise.
76223         * manual/examples/subopt.c: Likewise.
76224         * manual/examples/swapcontext.c: Likewise.
76225         * manual/examples/termios.c: Likewise.
76226         * manual/examples/testopt.c: Likewise.
76227         * manual/examples/testpass.c: Likewise.
76228         * manual/examples/timeval_subtract.c: Likewise.
76230         [BZ #13792]
76231         * manual/time.texi (Elapsed Time): Move timeval_subtract example
76232         function to ...
76233         * manual/timeval_subtract.c.texi: ... here, new file.
76235 2012-03-02  David S. Miller  <davem@davemloft.net>
76237         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76239 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
76241         [BZ #3976]
76242         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76243         (__sin): Save and restore rounding mode and use round-to-nearest
76244         for all computations.
76245         (__cos): Save and restore rounding mode and use round-to-nearest
76246         for all computations.
76247         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76248         <fenv.h>.
76249         (tan): Save and restore rounding mode and use round-to-nearest for
76250         all computations.
76251         * math/libm-test.inc (cos_test_tonearest): New function.
76252         (cos_test_towardzero): Likewise.
76253         (cos_test_downward): Likewise.
76254         (cos_test_upward): Likewise.
76255         (sin_test_tonearest): Likewise.
76256         (sin_test_towardzero): Likewise.
76257         (sin_test_downward): Likewise.
76258         (sin_test_upward): Likewise.
76259         (tan_test_tonearest): Likewise.
76260         (tan_test_towardzero): Likewise.
76261         (tan_test_downward): Likewise.
76262         (tan_test_upward): Likewise.
76263         (main): Call the new functions.
76264         * sysdeps/i386/fpu/libm-test-ulps: Update.
76265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76267         [BZ #10135]
76268         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76269         small n, then large n, before computing and testing k+n.
76270         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76271         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76272         Likewise.
76273         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76274         Likewise.
76275         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76276         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76277         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76278         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76279         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76280         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76281         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76282         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76283         * math/libm-test.inc (scalbn_test): Add more tests.
76284         (scalbln_test): Likewise.
76286         * manual/filesys.texi (mode_t): Describe constraints on size and
76287         signedness, not exact equivalence to a particular type.
76288         (ino_t): Likewise.
76289         (ino64_t): Likewise.
76290         (dev_t): Likewise.
76291         (nlink_t): Likewise.
76292         (blkcnt_t): Likewise.
76293         (blkcnt64_t): Likewise.
76294         * manual/llio.texi (off_t): Likewise.
76296         [BZ #3976]
76297         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76298         (__ieee754_exp): Save and restore rounding mode and use
76299         round-to-nearest for all computations.
76300         * math/libm-test.inc (exp_test_tonearest): New function.
76301         (exp_test_towardzero): Likewise.
76302         (exp_test_downward): Likewise.
76303         (exp_test_upward): Likewise.
76304         (main): Call the new functions.
76305         * sysdeps/i386/fpu/libm-test-ulps: Update.
76306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76308 2012-03-01  Chris Demetriou  <cgd@google.com>
76310         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76311         have predictable order.
76313 2012-03-01  David S. Miller  <davem@davemloft.net>
76315         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76317         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76318         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76319         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76320         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76322         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76323         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76324         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76326         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76327         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76328         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76329         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76330         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76334         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76335         * sysdeps/sparc/fpu/libm-test-ulps: to here.
76336         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76338         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76339         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76340         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76341         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76342         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76343         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76344         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76345         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76346         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76347         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76348         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76349         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76351         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76352         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76353         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76354         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76355         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76356         * sysdeps/sparc/elf/configure: Regenerated.
76358 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
76360         * configure.in (AS, LD): Require binutils 2.20 or later.
76361         * configure: Regenerated.
76362         * manual/install.texi (Tools for Compilation): Give binutils 2.20
76363         as required minimum version.
76364         * INSTALL: Regenerated.
76366         [BZ #2541]
76367         [BZ #4108]
76368         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76369         before squaring exponent.
76370         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76371         bottom long double and 27 bits of top long double before squaring
76372         exponent.
76373         * math/libm-test.inc (erfc_test): Add more tests.
76374         * sysdeps/i386/fpu/libm-test-ulps: Update.
76375         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76378 2012-03-01  Kai Tietz  <ktietz@redhat.com>
76380         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76381         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76382         containing bit-fields.
76383         * soft-fp/extended.h (_FP_UNION_E): Likewise.
76384         * soft-fp/single.h (_FP_UNION_S): Likewise.
76385         * soft-fp/double.h (_FP_UNION_D): Likewise.
76387 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76389         [BZ #13786]
76390         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76391         not include ../strcmp.S.
76392         [USE_AS_STRNCASECMP_L]: Likewise.
76393         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76394         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76395         * sysdeps/i386/i686/multiarch/strncase_l-c.c
76396         (__strncasecmp_l_ia32): Define as alias to
76397         __strncasecmp_l_nonascii.
76399         [BZ #5794]
76400         * math/libm-test.inc (expm1_test): Add test for bug 5794.
76401         * sysdeps/i386/fpu/libm-test-ulps: Update.
76402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76404         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76407 2012-02-29  Jeff Law  <law@redhat.com>
76409         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76410         out of bounds read.
76412 2012-02-29  Marek Polacek  <polacek@redhat.com>
76414         [BZ #13706]
76415         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76416         * elf/Makefile: Add rules to run tst-unused-dep.out.
76418 2012-02-28  David S. Miller  <davem@davemloft.net>
76420         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76421         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76422         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76423         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76424         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76425         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76427 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76429         * math/libm-test.inc (llround_test): Move one test from
76430         lround_test.  Use TEST_f_L in moved test.
76431         (lround_test): Move misplaced test to llround_test.  Add testcase
76432         from bug 2561.
76434 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
76436         * sysdeps/x86_64/fpu/e_expf.S: New file.
76437         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76439 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
76441         [BZ #13637]
76442         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76443         of remain_len that may cause incomplete multi-byte character and
76444         false match.
76445         * posix/bug-regex33.c: New file.
76446         * posix/Makefile (tests): Add bug-regex33.
76448 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
76450         * manual/macros.texi: New file.
76451         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76452         * manual/libc.texinfo: Include macros.texi.
76453         * manual/creatute.texi: Likewise.
76454         * manual/install.texi: Likewise.
76455         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76456         @glibcadj{} in references to the GNU C Library.
76457         * manual/charset.texi: Likewise.
76458         * manual/conf.texi: Likewise.
76459         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
76460         when not using those macros.
76461         * manual/creature.texi: Likewise.
76462         * manual/crypt.texi: Likewise.
76463         * manual/errno.texi: Likewise.
76464         * manual/filesys.texi: Likewise.
76465         * manual/header.texi: Likewise.
76466         * manual/install.texi: Likewise.
76467         * manual/intro.texi: Likewise.
76468         * manual/io.texi: Likewise.
76469         * manual/job.texi: Likewise.
76470         * manual/lang.texi: Likewise.
76471         * manual/libc.texiinfo: Likewise.
76472         * manual/llio.texi: Likewise.
76473         * manual/locale.texi: Likewise.
76474         * manual/maint.texi: Likewise.
76475         * manual/math.texi: Likewise.
76476         * manual/memory.texi: Likewise.
76477         * manual/message.texi: Likewise.
76478         * manual/nss.texi: Likewise.
76479         * manual/pattern.texi: Likewise.
76480         * manual/process.texi: Likewise.
76481         * manual/resource.texi: Likewise.
76482         * manual/search.texi: Likewise.
76483         * manual/setjmp.texi: Likewise.
76484         * manual/signal.texi: Likewise.
76485         * manual/socket.texi: Likewise.
76486         * manual/startup.texi: Likewise.
76487         * manual/stdio.texi: Likewise.
76488         * manual/string.texi: Likewise.
76489         * manual/sysinfo.texi: Likewise.
76490         * manual/syslog.texi: Likewise.
76491         * manual/terminal.texi: Likewise.
76492         * manual/time.texi: Likewise.
76493         * manual/users.texi: Likewise.
76494         * INSTALL: Regenerated.
76495         * NOTES: Regenerated.
76496         * sysdeps/gnu/errlist.c: Regenerated.
76498 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
76500         * include/dirent.h: Include <dirstream.h> before
76501         <dirent/dirent.h>.
76503 2012-02-28  David S. Miller  <davem@davemloft.net>
76505         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76506         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76507         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76508         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76510 2012-02-27  David S. Miller  <davem@davemloft.net>
76512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76514         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76515         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76518         frame pointer instead of stack pointer relative arg slot.
76519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76520         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76521         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76523 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
76525         [BZ #3992]
76526         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76528 2012-02-27  David S. Miller  <davem@davemloft.net>
76530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76534         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76535         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76536         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76537         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76539 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76541         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76542         later.  Allow versions 5-9.
76543         * configure: Regenerated.
76544         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76545         required minimum version and 4.6 as recommended version.  Do not
76546         mention bugs in GCC 2.7 and 2.8.
76547         * INSTALL: Regenerated.
76549 2012-02-27  David S. Miller  <davem@davemloft.net>
76551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76555         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76556         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76557         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76558         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76560         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76561         manipulate bits before adding and subtracting TWO112[sx].
76562         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76564 2012-02-27  Roland McGrath  <roland@hack.frob.com>
76566         [BZ #13775]
76567         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76568         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76569         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76570         being in POSIX, because they are in 1003.1-2008.
76572         * rt/tst-aio.c: Include <fcntl.h>.
76573         * rt/tst-aio7.c: Likewise.
76574         * rt/tst-aio64.c: Likewise.
76576         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76578 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76580         * manual/install.texi (--with-headers): Describe headers as
76581         interface headers, not private headers.
76582         (Specific advice for GNU/Linux systems): Describe use of headers
76583         from "make headers_install", not private headers from older
76584         kernels.
76585         * INSTALL: Regenerated.
76586         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76587         Change to 2.6.19.
76588         * sysdeps/unix/sysv/linux/configure: Regenerated.
76590         * manual/llio.texi (fclean): Remove documentation.
76592         * manual/Makefile (libc-texi-generated): New variable.  Include
76593         version.texi.
76594         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76595         $(libc-texi-generated), not duplicated list of files.
76596         (version.texi, stamp-version): New rules.
76597         (realclean): Remove $(libc-texi-generated), not individual files
76598         from that list.  Do not remove dir-add.texinfo.
76599         * manual/libc.texinfo: Comment out uses of edition numbers and
76600         references to printed manual.  Remove last-updated dates.
76601         (EDITION): Comment out.
76602         (ISBN): Likewise.
76603         (VERSION, UPDATED): Remove.
76604         (version.texi): Include.
76606 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
76608         * sysdeps/posix/spawni.c: Include <signal.h>.
76609         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76610         * sysdeps/pthread/aio_fsync.c: Likewise.
76612 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
76614         * conform/Makefile (tests): Run only when not cross-compiling and
76615         when fast-check is not defined.
76617         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76618         * conform/data/limits.h-data: Fixes for POSIX2008.
76619         * conform/run-conformtest.sh: Run all tests.
76620         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76621         headers.
76622         * include/bits/dlfcn.h: Likewise.
76623         * include/langinfo.h: Likewise.
76624         * include/monetary.h: Likewise.
76625         * include/sys/poll.h: Likewise.
76627         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76628         for __USE_GNU.
76629         * posix/spawn.h: Define __need_sigset_t.
76630         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76631         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76632         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
76633         to get sigevent_t only.
76634         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76635         only for __USE_GNU.
76636         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76637         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76638         process_vm_writev only for __USE_GNU.
76639         * termios/termios.h: Declare tcgetsid also for POSIX2008.
76641         * conform/Makefile: For now ignore errors from run-conformtest.
76642         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
76643         POSIX to avoid namespace pollution.  Don't prepend headers.
76644         * conform/data/aio.h-data: Fixes for POSIX testing.
76645         * conform/data/fcntl.h-data: Likewise.
76646         * conform/data/glob.h-data: Likewise.
76647         * conform/data/grp.h-data: Likewise.
76648         * conform/data/pthread.h-data: Likewise.
76649         * conform/data/pwd.h-data: Likewise.
76650         * conform/data/signal.h-data: Likewise.
76651         * conform/data/spawn.h-data: Likewise.
76652         * conform/data/stdio.h-data: Likewise.
76653         * conform/data/stdlib.h-data: Likewise.
76654         * conform/data/stropts.h-data: Likewise.
76655         * conform/data/sys/mman.h-data: Likewise.
76656         * conform/data/sys/stat.h-data: Likewise.
76657         * conform/data/sys/types.h-data: Likewise.
76658         * conform/data/sys/wait.h-data: Likewise.
76659         * conform/data/time.h-data: Likewise.
76660         * conform/data/unistd.h-data: Likewise.
76661         * conform/data/utime.h-data: Likewise.
76663         * io/sys/stat.h: fchmod was always in POSIX.
76664         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76665         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76666         * rt/aio.h: Define __need_timespec before including <time.h>.
76667         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76668         struct.  Add forward declaration of pthread_attr_t and use it in
76669         sigevent.
76670         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76671         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76672         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76673         always remove CLK_TCK definition.
76675 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
76677         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76679 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
76681         * conform/run-conformtest.sh: New file.
76682         * conform/Makefile: Run run-conformtest for tests.
76683         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
76684         support.
76686         * conform/data/uchar.h-data: New file.
76687         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76688         * conform/data/arpa/inet.h-data: Likewise.
76689         * conform/data/assert.h-data: Likewise.
76690         * conform/data/complex.h-data: Likewise.
76691         * conform/data/cpio.h-data: Likewise.
76692         * conform/data/ctype.h-data: Likewise.
76693         * conform/data/dirent.h-data: Likewise.
76694         * conform/data/dlfcn.h-data: Likewise.
76695         * conform/data/errno.h-data: Likewise.
76696         * conform/data/fcntl.h-data: Likewise.
76697         * conform/data/float.h-data: Likewise.
76698         * conform/data/fmtmsg.h-data: Likewise.
76699         * conform/data/fnmatch.h-data: Likewise.
76700         * conform/data/ftw.h-data: Likewise.
76701         * conform/data/glob.h-data: Likewise.
76702         * conform/data/grp.h-data: Likewise.
76703         * conform/data/iconv.h-data: Likewise.
76704         * conform/data/inttypes.h-data: Likewise.
76705         * conform/data/langinfo.h-data: Likewise.
76706         * conform/data/libgen.h-data: Likewise.
76707         * conform/data/limits.h-data: Likewise.
76708         * conform/data/locale.h-data: Likewise.
76709         * conform/data/math.h-data: Likewise.
76710         * conform/data/monetary.h-data: Likewise.
76711         * conform/data/mqueue.h-data: Likewise.
76712         * conform/data/ndbm.h-data: Likewise.
76713         * conform/data/net/if.h-data: Likewise.
76714         * conform/data/netdb.h-data: Likewise.
76715         * conform/data/netinet/in.h-data: Likewise.
76716         * conform/data/nl_types.h-data: Likewise.
76717         * conform/data/poll.h-data: Likewise.
76718         * conform/data/pthread.h-data: Likewise.
76719         * conform/data/pwd.h-data: Likewise.
76720         * conform/data/regex.h-data: Likewise.
76721         * conform/data/sched.h-data: Likewise.
76722         * conform/data/search.h-data: Likewise.
76723         * conform/data/semaphore.h-data: Likewise.
76724         * conform/data/setjmp.h-data: Likewise.
76725         * conform/data/signal.h-data: Likewise.
76726         * conform/data/spawn.h-data: Likewise.
76727         * conform/data/stdarg.h-data: Likewise.
76728         * conform/data/stdio.h-data: Likewise.
76729         * conform/data/stdlib.h-data: Likewise.
76730         * conform/data/string.h-data: Likewise.
76731         * conform/data/strings.h-data: Likewise.
76732         * conform/data/stropts.h-data: Likewise.
76733         * conform/data/sys/ipc.h-data: Likewise.
76734         * conform/data/sys/mman.h-data: Likewise.
76735         * conform/data/sys/msg.h-data: Likewise.
76736         * conform/data/sys/resource.h-data: Likewise.
76737         * conform/data/sys/select.h-data: Likewise.
76738         * conform/data/sys/sem.h-data: Likewise.
76739         * conform/data/sys/shm.h-data: Likewise.
76740         * conform/data/sys/socket.h-data: Likewise.
76741         * conform/data/sys/stat.h-data: Likewise.
76742         * conform/data/sys/statvfs.h-data: Likewise.
76743         * conform/data/sys/time.h-data: Likewise.
76744         * conform/data/sys/timeb.h-data: Likewise.
76745         * conform/data/sys/times.h-data: Likewise.
76746         * conform/data/sys/types.h-data: Likewise.
76747         * conform/data/sys/uio.h-data: Likewise.
76748         * conform/data/sys/un.h-data: Likewise.
76749         * conform/data/sys/utsname.h-data: Likewise.
76750         * conform/data/sys/wait.h-data: Likewise.
76751         * conform/data/syslog.h-data: Likewise.
76752         * conform/data/tar.h-data: Likewise.
76753         * conform/data/termios.h-data: Likewise.
76754         * conform/data/utime.h-data: Likewise.
76755         * conform/data/utmpx.h-data: Likewise.
76756         * conform/data/varargs.h-data: Likewise.
76757         * conform/data/wchar.h-data: Likewise.
76758         * conform/data/wctype.h-data: Likewise.
76759         * conform/data/wordexp.h-data: Likewise.
76761         * include/stropts.h: New file.
76762         * include/uchar.h: New file.
76763         * include/aio.h: Changes to allow conformtest.pl to use the headers.
76764         * include/assert.h: Likewise.
76765         * include/ctype.h: Likewise.
76766         * include/dirent.h: Likewise.
76767         * include/dlfcn.h: Likewise.
76768         * include/fcntl.h: Likewise.
76769         * include/fnmatch.h: Likewise.
76770         * include/glob.h: Likewise.
76771         * include/grp.h: Likewise.
76772         * include/libio.h: Likewise.
76773         * include/locale.h: Likewise.
76774         * include/math.h: Likewise.
76775         * include/net/if.h: Likewise.
76776         * include/netdb.h: Likewise.
76777         * include/netinet/in.h: Likewise.
76778         * include/pthread.h: Likewise.
76779         * include/pwd.h: Likewise.
76780         * include/regex.h: Likewise.
76781         * include/sched.h: Likewise.
76782         * include/search.h: Likewise.
76783         * include/setjmp.h: Likewise.
76784         * include/signal.h: Likewise.
76785         * include/stdio.h: Likewise.
76786         * include/stdlib.h: Likewise.
76787         * include/string.h: Likewise.
76788         * include/sys/cdefs.h: Likewise.
76789         * include/sys/mman.h: Likewise.
76790         * include/sys/msg.h: Likewise.
76791         * include/sys/resource.h: Likewise.
76792         * include/sys/select.h: Likewise.
76793         * include/sys/socket.h: Likewise.
76794         * include/sys/stat.h: Likewise.
76795         * include/sys/statvfs.h: Likewise.
76796         * include/sys/time.h: Likewise.
76797         * include/sys/times.h: Likewise.
76798         * include/sys/uio.h: Likewise.
76799         * include/sys/utsname.h: Likewise.
76800         * include/sys/wait.h: Likewise.
76801         * include/termios.h: Likewise.
76802         * include/time.h: Likewise.
76803         * include/ulimit.h: Likewise.
76804         * include/unistd.h: Likewise.
76805         * include/utime.h: Likewise.
76806         * include/wchar.h: Likewise.
76807         * include/wctype.h: Likewise.
76808         * include/wordexp.h: Likewise.
76810         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76812         * time/time.h: TIME_UTC must be a macro.
76813         Make timespec_get available for ISO C11 only as well.
76815 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
76817         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76818         Reported by Peng Haitao <penght@cn.fujitsu.com>.
76820 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76822         * configure.in: Use -o not -a in test for unsupported multi-arch.
76824 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76826         * manual/texinfo.tex: Update to version 2012-01-19.16.
76828 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76830         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76832 2012-02-24  Roland McGrath  <roland@hack.frob.com>
76834         [BZ #13738]
76835         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76836         * manual/fdl-1.3.texi: New file.
76837         * manual/fdl-1.1.texi: File removed.
76839         [BZ #13738]
76840         * manual/libc.texinfo (FDL_VERSION): New @set.
76841         Use it for mention of FDL in cover text.
76842         (Documentation License): Use it in @include file name.
76844 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76845             Roland McGrath  <roland@hack.frob.com>
76847         [BZ #5461]
76848         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76849         (not LONG_LONG_MAX and LONG_LONG_MIN.
76850         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76851         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
76852         name.
76853         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76855 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76857         [BZ #2547]
76858         [BZ #11365]
76859         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76860         manipulate bits before adding and subtracting TWO23[sx].
76861         * math/libm-test.inc (nearbyint_test): Add more tests.
76863 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76865         [BZ #2548]
76866         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76867         bits before adding and subtracting TWO23[sx].
76868         * math/libm-test.inc (rint_test): Add more tests.
76869         (rint_test_tonearest): Likewise.
76870         (rint_test_towardzero): Likewise.
76871         (rint_test_downward): Likewise.
76872         (rint_test_upward: Likewise.
76874 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76876         [BZ #10110]
76877         * include/stdc-predef.h: New file.  Extracted from features.h.
76878         * include/features.h: Include stdc-predef.h.
76879         * Makefile (headers): Add stdc-predef.h.
76880         * CONFORMANCE (Compiler limitations): Update.
76882 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76884         * manual/libc.texinfo (VERSION, UPDATED): Revert.
76886 2012-02-21  David S. Miller  <davem@davemloft.net>
76888         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76889         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76891 2012-02-20  David S. Miller  <davem@davemloft.net>
76893         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76894         using a normal save/restore sequence, rather than allocating a
76895         dummy stack frame just to store a frame pointer and restore.
76896         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76898 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76900         * manual/install.texi: Fix stray word in line-wrapped comment.
76902 2012-02-20  David S. Miller  <davem@davemloft.net>
76904         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76905         both binutils and gcc support GOTDATA.
76907         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76908         "rd %pc" in the PIC register setup sequences.
76910         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76911         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76912         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76913         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76914         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76915         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76916         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76917         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76918         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76919         (SYSCALL_ERROR_HANDLER): Likewise.
76920         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76921         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76923         (SYSCALL_ERROR_HANDLER): Likewise.
76925         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76926         (HAVE_GCC_GOTDATA): New.
76927         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76928         relocation support in both binutils and gcc.
76929         * sysdeps/sparc/elf/configure: Regenerate.
76931         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76932         * sysdeps/sparc/sparc32/elf/configure: Delete.
76933         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76934         * sysdeps/sparc/sparc64/elf/configure: Delete.
76935         * sysdeps/sparc/elf/configure.in: New file.
76936         * sysdeps/sparc/elf/configure: Generate.
76938         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76939         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76940         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76941         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76942         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76944 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76946         * manual/install.texi: Do not mention specific glibc version
76947         numbers.
76948         * manual/libc.texinfo (VERSION, UPDATED): Update.
76949         (@copying): Use @copyright{} and range of years.
76951 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76953         [BZ #13695]
76954         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76955         [crti.S not in sysdirs] (generated): Do not append.
76956         [crti.S not in sysdirs] (omit-deps): Likewise.
76957         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76958         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76959         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76960         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76961         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76962         Likewise.
76963         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76964         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76965         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76966         * csu/defs.awk: Remove file.
76967         * sysdeps/generic/initfini.c: Likewise.
76968         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76969         variable.
76970         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76971         Likewise.
76973 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76975         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76976         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76977         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76978         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76979         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76980         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76981         <bits/epoll.h>.
76982         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76983         (__EPOLL_PACKED): Define to empty if not defined by
76984         <bits/epoll.h>.
76985         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76986         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76987         bits/epoll.h.
76989 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76991         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
76992         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
76993         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
76994         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
76995         <bits/timerfd.h>.
76996         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
76997         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76998         bits/timerfd.h.
77000 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77002         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77003         in C locale.
77004         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77005         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77006         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77009 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77011         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77012         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77014 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77016         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77017         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77018         defined.
77019         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77020         Likewise.
77021         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77022         entry for 2.16.
77024 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77026         * math/w_acos.c: Use non-signaling floating-point comparisons.
77027         * math/w_acosf.c: Likewise.
77028         * math/w_acosh.c: Likewise.
77029         * math/w_acoshf.c: Likewise.
77030         * math/w_acoshl.c: Likewise.
77031         * math/w_acosl.c: Likewise.
77032         * math/w_asin.c: Likewise.
77033         * math/w_asinf.c: Likewise.
77034         * math/w_asinl.c: Likewise.
77035         * math/w_atanh.c: Likewise.
77036         * math/w_atanhf.c: Likewise.
77037         * math/w_atanhl.c: Likewise.
77038         * math/w_exp2.c: Likewise.
77039         * math/w_exp2f.c: Likewise.
77040         * math/w_exp2l.c: Likewise.
77041         * math/w_j0.c: Likewise.
77042         * math/w_j0f.c: Likewise.
77043         * math/w_j0l.c: Likewise.
77044         * math/w_j1.c: Likewise.
77045         * math/w_j1f.c: Likewise.
77046         * math/w_j1l.c: Likewise.
77047         * math/w_jn.c: Likewise.
77048         * math/w_jnf.c: Likewise.
77049         * math/w_log.c: Likewise.
77050         * math/w_log10.c: Likewise.
77051         * math/w_log10f.c: Likewise.
77052         * math/w_log10l.c: Likewise.
77053         * math/w_log2.c: Likewise.
77054         * math/w_log2f.c: Likewise.
77055         * math/w_log2l.c: Likewise.
77056         * math/w_logf.c: Likewise.
77057         * math/w_logl.c: Likewise.
77058         * math/w_sqrt.c: Likewise.
77059         * math/w_sqrtf.c: Likewise.
77060         * math/w_sqrtl.c: Likewise.
77061         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77062         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77063         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77064         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77065         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77067 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77069         [BZ #9739]
77070         * manual/string.texi (strnlen): Use correct parameter name in
77071         equivalent expression.
77073 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77075         [BZ #11174]
77076         * manual/users.texi (seteuid): Consistently use neweuid for
77077         argument name.
77079 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77081         [BZ #13704]
77082         * manual/nss.texi (Services in the NSS configuration): Correct
77083         list of services in example configuration file.
77085 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77087         [BZ #11322]
77088         * manual/arith.texi: Remove statements about negative zero
77089         behaving identically to zero.
77091 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77093         [BZ #5993]
77094         * manual/install.texi: Do not document upgrading from libc5.
77096 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77098         [BZ #4596]
77099         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77101 2012-02-18  David S. Miller  <davem@davemloft.net>
77103         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77104         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77105         %o7 across the call.
77106         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77107         instead.
77108         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77109         SETUP_PIC_REG_LEAF.
77110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77111         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77112         * sysdeps/sparc/crtn.S: Likewise.
77114 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77116         * aout/Makefile: Remove.
77118 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77120         [BZ #13058]
77121         * manual/examples/argp-ex1.c (main): Format definition in GNU
77122         style.
77123         * manual/examples/argp-ex2.c (main): Likewise.
77124         * manual/examples/argp-ex3.c (main): Likewise.
77125         * manual/examples/argp-ex4.c (main): Likewise.
77126         * manual/examples/longopt.c (main): Use new-style prototype
77127         definition.
77128         * manual/examples/strncat.c (main): Specify return type and use
77129         (void) for arguments.
77130         * manual/examples/subopt.c (main): Use char **argv argument.
77132 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77134         [BZ #5077]
77135         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77136         rounding modes.
77138 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77140         [BZ #6907]
77141         * manual/string.texi (strchr): Change when strchrnul is
77142         recommended.
77144 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77146         [BZ #174]
77147         * manual/locale.texi (setlocale): Document LOCPATH.
77149 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77151         [BZ #10210]
77152         * manual/process.texi (execle): Move @dots{} before last argument.
77154 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77156         [BZ #12047]
77157         * manual/charset.texi (Generic Charset Conversion): Fix typo
77158         (LC_TYPE -> LC_CTYPE).
77160 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77162         [BZ #5805]
77163         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77164         (scalbnf): Likewise.
77165         (scalbnl): Likewise.
77166         (scalbln): Likewise.
77167         (scalblnf): Likewise.
77168         (scalblnl): Likewise.
77169         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77170         (vwarnx): Likewise.
77171         (verr): Likewise.
77172         (verrx): Likewise.
77173         * manual/filesys.texi (telldir): Use braces around return type.
77174         * manual/llio.texi (mmap): Add space after comma.
77175         (mmap64): Likewise.
77176         * manual/math.texi (jn): Use @var{} on parameter names.
77177         (jnf): Likewise.
77178         (jnl): Likewise.
77179         (yn): Likewise.
77180         (ynf): Likewise.
77181         (ynl): Likewise.
77182         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77183         line.
77184         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77185         "...".
77186         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77187         (sched_get_priority_max): Likewise.
77188         * manual/signal.texi (sigvec): Add space after comma.
77189         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77190         names.
77191         (if_indextoname): Likewise.
77192         (if_freenameindex): Likewise.
77193         (sendto): Use ',' instead of '.' in prototype.
77194         * manual/startup.texi (syscall): Use @dots{} instead of literal
77195         "...".
77196         * manual/stdio.texi (__fpending): Separate initial words of
77197         paragraph from @deftypefun line.
77198         * manual/syslog.texi (syslog): Use @dots{} instead of literal
77199         "...".
77200         (vsyslog): Use @var{} on parameter names.
77201         * manual/terminal.texi (stty): Use @var{} on parameter names.
77202         * manual/users.texi (getutmp): Use @var{} on parameter names.
77203         (getutmpx): Likewise.
77205 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77207         [BZ #6884]
77208         * manual/stdio.texi (fopen): Fix typos in description of
77209         ",ccs=STRING".
77211 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
77213         [BZ #4026]
77214         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77215         get clock_id definition.
77217 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
77219         [BZ #4822]
77220         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77221         (madvise): Cast every argument to void on its own.
77223 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77225         [BZ #9902]
77226         * manual/startup.texi (Exit Status): Fix typo.
77228 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77230         [BZ #10140]
77231         * manual/examples/argp-ex1.c: Include <stdlib.h>.
77232         * manual/examples/argp-ex2.c: Likewise.
77233         * manual/examples/argp-ex3.c: Likewise.
77235 2012-02-16  Richard Henderson  <rth@redhat.com>
77237         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77238         * sysdeps/s390/s390-32/initfini.c: Remove.
77239         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77240         * sysdeps/s390/s390-64/initfini.c: Remove.
77242 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77244         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77245         compiler output for sysdeps/generic/initfini.c.
77246         * sysdeps/sh/elf/initfini.c: Remove file.
77248 2012-02-16  David S. Miller  <davem@davemloft.net>
77250         [BZ #11494]
77251         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77253         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77254         * sysdeps/sparc/crti.S: New file.
77255         * sysdeps/sparc/crtn.S: New file.
77256         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77257         * sysdeps/sparc/sparc64/Makefile: Likewise.
77259 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
77261         [BZ #3335]
77262         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77264 2012-02-15  Roland McGrath  <roland@hack.frob.com>
77266         [BZ #4822]
77267         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77269         * mach/devstream.c (cookie_io_functions_t): Macro removed.
77270         (write, read, close): Likewise.
77271         Patch by Aurelien Jarno <aurelien@aurel32.net>.
77273 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
77275         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77276         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77277         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77278         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77279         <bits/signalfd.h>.
77280         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77282         bits/signalfd.h.
77284 2012-02-14  Marek Polacek  <polacek@redhat.com>
77286         * sysdeps/x86_64/crti.S: New file.
77287         * sysdeps/x86_64/crtn.S: New file.
77288         * sysdeps/x86_64/elf/initfini.c: Remove file.
77290 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77292         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77293         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77294         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77295         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77296         <bits/inotify.h>.
77297         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77299         bits/inotify.h.
77301 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77303         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77304         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77305         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77306         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77307         <bits/eventfd.h>.
77308         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77310         bits/eventfd.h.
77312 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
77314         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77315         __feraiseexcept instead of feraiseexcept.
77317         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77318         nanosleep invocations.
77319         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77320         strings, and add error checking for a nanosleep invocations.
77322 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
77324         Replace FSF snail mail address with URLs, as per GNU coding standards.
77325         Most of the snail mail addresses were wrong anyway, and omitting
77326         them makes the source code easier to maintain.  Almost all of the
77327         changes are to license notices and to locale LC_IDENTIFICATION
77328         addresses, except for this one:
77329         * manual/libc.texinfo: In "Published by", give the FSF's URL,
77330         not its snail mail address.
77332 2012-02-09  Richard Henderson  <rth@twiddle.net>
77334         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77335         of kernel-features.h.
77337         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77339 2012-02-08  Marek Polacek  <polacek@redhat.com>
77341         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77342         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77343         * sysdeps/gnu/_G_config.h: Likewise.
77344         * sysdeps/generic/_G_config.h: Likewise.
77346 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
77348         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77349         tests.
77350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77352         * sysdeps/powerpc/powerpc32/crti.S: New file.
77353         * sysdeps/powerpc/powerpc32/crtn.S: New file.
77354         * sysdeps/powerpc/powerpc64/crti.S: New file.
77355         * sysdeps/powerpc/powerpc64/crtn.S: New file.
77357         * Makeconfig (have-initfini): Don't set.
77358         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77359         * configure.in (nopic_initfini): Don't substitute.
77360         * config.h.in (HAVE_INITFINI): Don't #undef.
77361         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77362         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77364 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
77366         Support crti.S and crtn.S provided directly by architectures.
77367         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77368         [crti.S in sysdirs] (omit-deps): Likewise.
77369         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77370         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77371         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77372         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77373         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77374         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77375         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77376         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77377         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77378         compiler output for sysdeps/generic/initfini.c.
77379         * sysdeps/i386/elf/Makefile: Remove file.
77380         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77382 2012-02-07  Marek Polacek  <polacek@redhat.com>
77384         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77385         * sysdeps/gnu/_G_config.h: Likewise.
77386         * sysdeps/mach/hurd/_G_config.h: Likewise.
77388 2012-02-07  Marek Polacek  <polacek@redhat.com>
77390         * math/Makefile (tests): Add tst-CMPLX2.
77391         * math/tst-CMPLX2.c: New file.
77393 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
77395         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77397         * math/libm-test.inc (jn_test): Add missing L suffix.
77399 2012-02-06  Marek Polacek  <polacek@redhat.com>
77401         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77402         * sysdeps/i386/fpu/e_powf.S: Likewise.
77403         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77404         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77405         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77406         * sysdeps/i386/fpu/e_pow.S: Likewise.
77407         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77408         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77409         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77410         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77411         * sysdeps/i386/fpu/e_log2.S: Likewise.
77412         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77413         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77414         * sysdeps/i386/fpu/e_powl.S: Likewise.
77415         * sysdeps/i386/fpu/s_log1p.S: Likewise.
77416         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77417         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77418         * sysdeps/i386/fpu/e_logl.S: Likewise.
77419         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77420         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77421         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77422         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77423         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77424         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77425         * sysdeps/i386/fpu/e_log.S: Likewise.
77426         * sysdeps/i386/fpu/s_cexp.S: Likewise.
77427         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77428         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77429         * sysdeps/i386/fpu/e_logf.S: Likewise.
77430         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77431         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77432         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77433         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77434         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77435         * sysdeps/i386/fpu/e_log10.S: Likewise.
77436         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77437         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77438         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77439         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77440         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77441         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77442         * sysdeps/i386/asm-syntax.h: Likewise.
77443         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77444         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77445         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77446         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77447         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77448         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77449         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77450         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77451         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77452         * sysdeps/powerpc/sysdep.h: Likewise.
77453         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77454         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77456 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77458         [BZ #411]
77459         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77461 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77463         * sysdeps/i386/sysdep.h: Include <features.h>.
77464         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77465         version.
77467 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
77469         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77470         Define.
77471         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77472         LOAD_PIC_REG_STR.
77474 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77476         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77477         (SETUP_PIC_REG): Use GET_PC_THUNK.
77478         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77479         macro.
77481 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77483         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77484         for non-PIC compilation.
77485         (SETUP_PIC_REG): Add .p2align directive.
77486         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77487         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77488         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77489         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77490         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77491         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77492         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77493         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77494         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77495         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77496         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77497         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77498         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77499         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77500         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77501         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77502         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77503         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77504         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77505         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77506         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77507         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77508         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77509         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77510         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77511         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77512         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77513         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77514         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77515         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77516         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77517         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77518         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77519         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77520         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77521         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77522         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77523         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77524         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77525         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77526         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77528 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77530         * math/tst-CMPLX.c: Include <stdio.h>.
77532 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
77534         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77535         float.
77536         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77537         * sysdeps/sparc/bits/mathdef.h: Likewise.
77539 2012-01-31  Marek Polacek  <polacek@redhat.com>
77541         * libio/libio.h: Don't define _PARAMS.
77542         * locale/programs/config.h: Don't define PARAMS.
77543         * stdlib/strtol_l.c: Likewise.
77544         (__strtol_l): Remove PARAMS from the prototype.
77546 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
77548         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
77549         names.  Just use the correct names.  Remove unnecessary wrapper
77550         functions.
77551         * malloc/arena.c: Likewise.
77552         * malloc/hooks.c: Likewise.
77554         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77555         ARENA_TEST says not to.  Simplify test for creation of a new arena.
77556         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77558 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
77560         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77561         into tail calls.
77562         (update_get_addr): New function.
77563         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77564         GET_ADDR_MODULE parameter.
77566 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77568         * crypt/cert.c: Remove __STDC__ conditionals.
77569         * crypt/crypt-entry.c: Likewise.
77570         * crypt/crypt_util.c: Likewise.
77571         * libio/filedoalloc.c: Likewise.
77572         * libio/fileops.c: Likewise.
77573         * libio/genops.c: Likewise.
77574         * libio/iofclose.c: Likewise.
77575         * libio/iofdopen.c: Likewise.
77576         * libio/iofopen.c: Likewise.
77577         * libio/iofopen64.c: Likewise.
77578         * libio/iogetdelim.c: Likewise.
77579         * libio/iopopen.c: Likewise.
77580         * libio/obprintf.c: Likewise.
77581         * libio/oldfileops.c: Likewise.
77582         * libio/oldiofclose.c: Likewise.
77583         * libio/oldiofdopen.c: Likewise.
77584         * libio/oldiofopen.c: Likewise.
77585         * libio/oldiopopen.c: Likewise.
77586         * libio/wfiledoalloc.c: Likewise.
77587         * libio/wgenops.c: Likewise.
77588         * locale/programs/xmalloc.c: Likewise.
77589         * misc/syslog.c: Likewise.
77590         * stdio-common/xbug.c: Likewise.
77591         * string/memchr.c: Likewise.
77592         * string/memcmp.c: Likewise.
77593         * string/memrchr.c: Likewise.
77594         * string/rawmemchr.c: Likewise.
77595         * sysdeps/posix/getcwd.c: Likewise.
77596         * time/strftime_l.c: Likewise.
77598 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77600         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77601         * config.make.in (config-cflags-sse2avx): Define.
77602         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77603         Fix typo.
77605 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
77607         * scripts/config.guess: Update from upstream config git repository.
77608         * scripts/config.sub: Likewise.
77610 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
77612         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77613         (EM_NUM): Update.
77614         (R_TILEPRO_*, R_TILEGX_*): New macros.
77616         * scripts/firstversions.awk: Fix bug in version range handling.
77618         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77620         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77622         * include/sys/epoll.h: New file.
77623         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77624         libc_hidden_def.
77626 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
77628         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77629         Avoid unnecessary __WORDSIZE == 64 test.
77630         (fmaxf): Use VEX format if possible.
77631         (fmax): Likewise.
77632         (fminf): Likewise.
77633         (fmin): Likewise.
77635         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77636         * math/math_private.h: Remove libc_fegetround* and
77637         libc_fesetround*.
77638         * sysdeps/i386/configure.in: Check for -msse2avx.
77639         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77640         also if SSE2AVX is defined.
77641         Remove libc_fegetround* and libc_fesetround*.
77642         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77643         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
77644         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77645         of HAS_YMM_USABLE.
77646         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77647         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77648         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77649         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77650         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77652         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77654 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77656         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77657         size is not set.
77658         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77660 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
77662         [BZ #13618]
77663         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77664         relocation.
77665         * Makeconfig (libm): Define.
77666         * elf/Makefile: Add rules to build and run tst-relsort1.
77667         * elf/tst-relsort1.c: New file.
77668         * elf/tst-relsort1mod1.c: New file.
77669         * elf/tst-relsort1mod2.c: New file.
77671 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
77673         * math/s_ldexp.c: Remove __STDC__ conditionals.
77674         * math/s_ldexpf.c: Likewise.
77675         * math/s_ldexpl.c: Likewise.
77676         * math/s_nextafter.c: Likewise.
77677         * math/s_nexttowardf.c: Likewise.
77678         * math/s_significand.c: Likewise.
77679         * math/s_significandf.c: Likewise.
77680         * math/s_significandl.c: Likewise.
77681         * math/w_jnl.c: Likewise.
77682         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77683         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77684         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77685         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77686         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77687         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77688         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77689         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77690         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77691         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77692         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77693         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77694         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77695         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77696         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77697         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77698         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77699         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77700         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77701         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77702         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77703         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77704         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77705         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77706         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77707         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77708         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77709         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77710         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77711         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77712         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77713         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77714         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77715         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77716         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77717         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77718         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77719         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77720         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77721         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77722         * sysdeps/ieee754/k_standard.c: Likewise.
77723         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77724         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77725         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77726         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77727         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77728         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77729         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77730         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77731         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77732         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77733         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77734         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77735         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77736         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77737         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77738         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77739         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77740         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77741         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77742         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77743         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77744         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77745         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77746         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77747         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77748         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77750         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77751         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77752         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77753         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77754         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77755         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77756         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77757         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77758         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77759         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77760         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77761         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77762         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77763         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77764         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77765         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77766         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77767         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77768         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77769         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77770         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77771         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77772         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77773         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77774         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77775         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77776         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77777         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77778         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77779         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77780         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77781         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77782         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77783         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77784         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77785         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77786         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77787         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77788         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77789         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77790         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77791         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77792         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77793         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77794         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77795         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77796         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77797         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77798         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77799         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77800         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77801         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77802         * sysdeps/ieee754/s_matherr.c: Likewise.
77803         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77804         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77805         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77806         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77808 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77810         * crypt/md5.h: Remove __STDC__ conditionals.
77811         * libio/libioP.h: Likewise.
77812         * locale/programs/config.h: Likewise.
77813         * sysdeps/generic/sysdep.h: Likewise.
77814         * sysdeps/i386/asm-syntax.h: Likewise.
77815         * sysdeps/s390/asm-syntax.h: Likewise.
77816         * sysdeps/unix/sysdep.h: Likewise.
77817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77820 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77822         * libio/libio.h: Remove __STDC__ conditionals.
77823         * malloc/obstack.h: Likewise.
77824         * math/complex.h: Likewise.
77825         * math/math.h: Likewise.
77826         * sysdeps/generic/_G_config.h: Likewise.
77827         * sysdeps/gnu/_G_config.h: Likewise.
77828         * sysdeps/mach/hurd/_G_config.h: Likewise.
77829         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77830         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77831         * sysdeps/sparc/bits/mathdef.h: Likewise.
77833 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
77835         [BZ #13583]
77836         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77837         Clean up HAS_* macros.
77838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77839         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77840         possible.
77841         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77842         HAS_AVX.
77843         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77844         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77845         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77846         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77847         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77849 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
77851         * elf/tst-unique3.cc (gets): Remove declaration.
77852         * elf/tst-unique3lib.cc (gets): Likewise.
77853         * elf/tst-unique3lib2.cc (gets): Likewise.
77854         * elf/tst-unique4.cc (gets): Likewise.
77856 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
77858         * include/stdio.h: Add C++ protection.  Add gets declarations and
77859         definitions.
77860         * debug/tst-chk1.c: Don't declare gets here.
77861         * stdio-common/tst-gets.c: Likewise.
77863 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77865         * posix/glob: Remove directory.
77867 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77869         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77871 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
77873         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77874         of the non-standard EPFNOSUPPORT.
77876 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77878         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77879         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77880         ANYWHERE set to 1 only on KERN_NO_SPACE error.
77882 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
77884         * wcsmbs/uchar.h: Test __STDC_VERSION__.
77886 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
77888         * nscd/aicache.c (addhstaiX): Do not cache negative results of
77889         transient errors.
77890         * nscd/grpcache.c (cache_addgr): Likewise.
77891         * nscd/hstcache.c (cache_addhst): Likewise.
77892         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77893         * nscd/pwdcache.c (cache_addpw): Likewise.
77894         * nscd/servicescache.c (cache_addserv): Likewise.
77896 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
77898         * malloc/malloc.c: Various cleanups.
77899         * malloc/hooks.c: Likewise.
77901         * stdlib/Makefile (tests): Add bug-fmtmsg1.
77902         * stdlib/bug-fmtmsg1.c: New file.
77904         * stdlib/fmtmsg.c (init): Add missing unlock.
77905         Patch by Peng Haitao <penght@cn.fujitsu.com>.
77907 2012-01-12  Marek Polacek  <polacek@redhat.com>
77909         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77910         and _GNU_SOURCE.
77912 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77914         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77915         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77916         macro to ensure uniqueness of label name.
77917         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77918         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77920 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
77922         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77924         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77925         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77926         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77927         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77929 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
77931         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77933         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77934         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77935         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77937         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77939         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77940         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77941         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77942         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77944         * math/bits/math-finite.h: Add ldexp support.
77946 2012-01-10  Marek Polacek  <polacek@redhat.com>
77948         * locale/programs/localedef.h (show_archive_content): Add noreturn
77949         attribute.
77951 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
77953         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77955 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77957         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77959         * io/Makefile (headers): Add bits/poll2.h.
77961 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
77963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77964         typo #include statement.
77966 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77968         * include/sys/cdefs.h: Define __attribute_alloc_size.
77969         * catgets/gencat.c: Add alloc_size attribute and apply consistently
77970         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77971         * elf/pldd.c: Likewise.
77972         * iconv/iconv_charmap.c: Likewise.
77973         * iconv/iconvconfig.c: Likewise.
77974         * iconv/strtab.c: Likewise.
77975         * locale/programs/locale.c: Likewise.
77976         * locale/programs/localedef.h: Likewise.
77977         * locale/programs/simple-hash.c: Likewise.
77978         * nscd/nscd.h: Likewise.
77979         * nss/makedb.c: Likewise.
77980         * sysdeps/generic/ldconfig.h: Likewise.
77981         * locale/programs/localedef.c: Remove xmalloc prototype.
77982         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77984 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77986         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
77987         appropriate.
77989 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77991         * math/Makefile (tests): Add tst-CMPLX.
77992         * math/tst-CMPLX.c: New file.
77994         * math/complex.h (CMPLXL): Fix typo.
77996         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
77997         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
77998         GLIBC_2.16.
77999         * debug/tst-chk1.c: Add poll and ppoll tests.
78000         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78001         * include/sys/poll.h: Add hidden proto for ppoll.
78002         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78003         * sysdeps/mach/hurd/ppoll.c: Likewise.
78004         * io/ppoll.c: Likewise.
78005         * debug/poll_chk.c: New file.
78006         * debug/ppoll_chk.c: New file.
78007         * include/bits/poll2.h: New file.
78008         * io/bits/poll2.h: New file.
78010         [BZ #1350]
78011         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78013         * configure.in: static is always set to yes.  Remove.
78014         * config.make.in: Don't set build-static.
78015         * Makeconfig: Remove use of build-static.
78016         * dlfcn/Makefile: Likewise.
78017         * elf/Makefile: Likewise.
78018         * math/Makefile: Likewise.
78019         * misc/Makefile: Likewise.
78020         * nptl/Makefile: Likewise.
78021         * sysdeps/mach/hurd/Makefile: Likewise.
78023         * configure.in: PWD_P is not used anymore.
78024         * config.make.in: Remove PWD_P entry.
78026         * configure.in: Remove last remnants of RANLIB.
78027         No need to check for signed size_t anymore.
78028         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78029         and IA-64.
78030         Remove __builtin_expect test because we require at least gcc 3.4.
78031         * aclocal.m4: Likewise.
78033         * wcsmbs/mbrtoc16.c: Implement using towc function.
78034         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78035         * wcsmbs/wcsmbsload.c: Likewise.
78036         * iconv/gconv_simple.c: Likewise.
78037         * iconv/gconv_int.h: Likewise.
78038         * iconv/gconv_builtin.h: Likewise.
78039         * iconv/iconv_prog.c: Remove CHAR16 handling.
78041         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78043         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78045         * configure.in: Remove --with-elf and --enable-bounded options.
78046         Dont set base_machine for ia64.  More non-ELF conditions removed.
78047         Remove testing and setting of leading underscore information.
78048         * config.make.in (build-bounded): Set to no.
78049         * config.h.in: Remove NO_UNDERSCORES entry.
78050         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78051         them.
78052         * csu/start.c: Remove !NO_UNDERSCORE code.
78053         * locale/localeinfo.h: Likewise.
78054         * sysdeps/generic/machine-gmon.h: Likewise.
78055         * sysdeps/generic/sysdep.h: Likewise.
78056         * sysdeps/i386/sysdep.h: Likewise.
78057         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78058         * sysdeps/mach/sysdep.h: Likewise.
78059         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78060         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78061         * sysdeps/sh/sysdep.h: Likewise.
78062         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78063         * sysdeps/unix/i386/sysdep.S: Likewise.
78064         * sysdeps/unix/sparc/start.c: Likewise.
78065         * sysdeps/unix/sparc/sysdep.S: Likewise.
78066         * sysdeps/unix/sparc/sysdep.h: Likewise.
78067         * sysdeps/unix/start.c: Likewise.
78068         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78069         * sysdeps/x86_64/sysdep.h: Likewise.
78071 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78073         [BZ #13553]
78074         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78075         for non-gcc.
78076         * argp/argp-fmtstream.h: Use const instead __const.
78077         * argp/argp.h: Likewise.
78078         * assert/assert.h: Likewise.
78079         * bits/fenv.h: Likewise.
78080         * bits/sched.h: Likewise.
78081         * bits/sigset.h: Likewise.
78082         * bits/sigthread.h: Likewise.
78083         * catgets/nl_types.h: Likewise.
78084         * conform/data/pthread.h-data: Likewise.
78085         * crypt/crypt-private.h: Likewise.
78086         * crypt/crypt.h: Likewise.
78087         * crypt/crypt_util.c: Likewise.
78088         * ctype/ctype.h: Likewise.
78089         * debug/execinfo.h: Likewise.
78090         * debug/mbsnrtowcs_chk.c: Likewise.
78091         * debug/mbsrtowcs_chk.c: Likewise.
78092         * debug/wcsnrtombs_chk.c: Likewise.
78093         * debug/wcsrtombs_chk.c: Likewise.
78094         * debug/wcstombs_chk.c: Likewise.
78095         * dirent/dirent.h: Likewise.
78096         * dlfcn/dlfcn.h: Likewise.
78097         * elf/neededtest4.c: Likewise.
78098         * grp/grp.h: Likewise.
78099         * gshadow/gshadow.h: Likewise.
78100         * iconv/gconv.h: Likewise.
78101         * iconv/gconv_int.h: Likewise.
78102         * iconv/gconv_simple.c: Likewise.
78103         * iconv/iconv.h: Likewise.
78104         * iconv/loop.c: Likewise.
78105         * iconv/skeleton.c: Likewise.
78106         * include/aio.h: Likewise.
78107         * include/aliases.h: Likewise.
78108         * include/argz.h: Likewise.
78109         * include/arpa/inet.h: Likewise.
78110         * include/assert.h: Likewise.
78111         * include/dirent.h: Likewise.
78112         * include/dlfcn.h: Likewise.
78113         * include/execinfo.h: Likewise.
78114         * include/fcntl.h: Likewise.
78115         * include/fenv.h: Likewise.
78116         * include/glob.h: Likewise.
78117         * include/grp.h: Likewise.
78118         * include/libintl.h: Likewise.
78119         * include/mntent.h: Likewise.
78120         * include/netdb.h: Likewise.
78121         * include/pwd.h: Likewise.
78122         * include/rpc/netdb.h: Likewise.
78123         * include/sched.h: Likewise.
78124         * include/search.h: Likewise.
78125         * include/shadow.h: Likewise.
78126         * include/signal.h: Likewise.
78127         * include/stdio.h: Likewise.
78128         * include/stdlib.h: Likewise.
78129         * include/string.h: Likewise.
78130         * include/sys/socket.h: Likewise.
78131         * include/sys/stat.h: Likewise.
78132         * include/sys/statfs.h: Likewise.
78133         * include/sys/statvfs.h: Likewise.
78134         * include/sys/syslog.h: Likewise.
78135         * include/sys/time.h: Likewise.
78136         * include/sys/uio.h: Likewise.
78137         * include/time.h: Likewise.
78138         * include/unistd.h: Likewise.
78139         * include/utmp.h: Likewise.
78140         * include/wchar.h: Likewise.
78141         * include/wctype.h: Likewise.
78142         * inet/aliases.h: Likewise.
78143         * inet/arpa/inet.h: Likewise.
78144         * inet/netinet/ether.h: Likewise.
78145         * inet/netinet/in.h: Likewise.
78146         * intl/libintl.h: Likewise.
78147         * io/bits/fcntl2.h: Likewise.
78148         * io/fcntl.h: Likewise.
78149         * io/ftw.h: Likewise.
78150         * io/sys/poll.h: Likewise.
78151         * io/sys/stat.h: Likewise.
78152         * io/sys/statfs.h: Likewise.
78153         * io/sys/statvfs.h: Likewise.
78154         * io/utime.h: Likewise.
78155         * libio/bits/stdio.h: Likewise.
78156         * libio/bits/stdio2.h: Likewise.
78157         * libio/libio.h: Likewise.
78158         * libio/libioP.h: Likewise.
78159         * libio/stdio.h: Likewise.
78160         * locale/lc-ctype.c: Likewise.
78161         * locale/locale.h: Likewise.
78162         * login/utmp.h: Likewise.
78163         * malloc/arena.c: Likewise.
78164         * malloc/malloc.c: Likewise.
78165         * malloc/malloc.h: Likewise.
78166         * malloc/mcheck.c: Likewise.
78167         * malloc/mtrace.c: Likewise.
78168         * math/bits/mathcalls.h: Likewise.
78169         * math/fenv.h: Likewise.
78170         * math/math_private.h: Likewise.
78171         * misc/bits/error.h: Likewise.
78172         * misc/bits/syslog.h: Likewise.
78173         * misc/err.h: Likewise.
78174         * misc/error.h: Likewise.
78175         * misc/fstab.h: Likewise.
78176         * misc/mntent.h: Likewise.
78177         * misc/regexp.h: Likewise.
78178         * misc/search.h: Likewise.
78179         * misc/sgtty.h: Likewise.
78180         * misc/sys/mman.h: Likewise.
78181         * misc/sys/syslog.h: Likewise.
78182         * misc/sys/uio.h: Likewise.
78183         * misc/sys/xattr.h: Likewise.
78184         * misc/ttyent.h: Likewise.
78185         * nis/rpcsvc/ypclnt.h: Likewise.
78186         * nss/nss.h: Likewise.
78187         * posix/bits/unistd.h: Likewise.
78188         * posix/fnmatch.h: Likewise.
78189         * posix/glob.h: Likewise.
78190         * posix/sched.h: Likewise.
78191         * posix/spawn.h: Likewise.
78192         * posix/sys/wait.h: Likewise.
78193         * posix/unistd.h: Likewise.
78194         * posix/wordexp.h: Likewise.
78195         * pwd/pwd.h: Likewise.
78196         * resolv/netdb.h: Likewise.
78197         * resource/sys/resource.h: Likewise.
78198         * rt/aio.h: Likewise.
78199         * rt/bits/mqueue2.h: Likewise.
78200         * rt/mqueue.h: Likewise.
78201         * shadow/shadow.h: Likewise.
78202         * signal/signal.h: Likewise.
78203         * socket/send.c: Likewise.
78204         * socket/sendto.c: Likewise.
78205         * socket/sys/socket.h: Likewise.
78206         * stdio-common/printf.h: Likewise.
78207         * stdlib/bits/stdlib.h: Likewise.
78208         * stdlib/fmtmsg.h: Likewise.
78209         * stdlib/monetary.h: Likewise.
78210         * stdlib/stdlib.h: Likewise.
78211         * stdlib/ucontext.h: Likewise.
78212         * streams/stropts.h: Likewise.
78213         * string/argz.h: Likewise.
78214         * string/bits/string2.h: Likewise.
78215         * string/string.h: Likewise.
78216         * string/strings.h: Likewise.
78217         * sunrpc/rpc/auth.h: Likewise.
78218         * sunrpc/rpc/auth_des.h: Likewise.
78219         * sunrpc/rpc/clnt.h: Likewise.
78220         * sunrpc/rpc/netdb.h: Likewise.
78221         * sunrpc/rpc/pmap_clnt.h: Likewise.
78222         * sunrpc/rpc/xdr.h: Likewise.
78223         * sysdeps/generic/inttypes.h: Likewise.
78224         * sysdeps/generic/net/if.h: Likewise.
78225         * sysdeps/generic/sys/swap.h: Likewise.
78226         * sysdeps/gnu/net/if.h: Likewise.
78227         * sysdeps/gnu/utmpx.h: Likewise.
78228         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78229         * sysdeps/i386/i486/bits/string.h: Likewise.
78230         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78231         * sysdeps/s390/bits/string.h: Likewise.
78232         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78233         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78234         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78235         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78236         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78237         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78238         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78239         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78240         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78241         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78242         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78243         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78244         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78245         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78246         * sysdeps/unix/sysv/linux/readv.c: Likewise.
78247         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78248         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78249         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78250         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78251         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78252         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78253         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78254         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78255         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78256         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78257         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78258         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78259         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78260         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78261         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78262         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78263         * sysvipc/sys/ipc.h: Likewise.
78264         * sysvipc/sys/msg.h: Likewise.
78265         * sysvipc/sys/sem.h: Likewise.
78266         * sysvipc/sys/shm.h: Likewise.
78267         * termios/termios.h: Likewise.
78268         * time/sys/time.h: Likewise.
78269         * time/time.h: Likewise.
78270         * wcsmbs/bits/wchar2.h: Likewise.
78271         * wcsmbs/uchar.h: Likewise.
78272         * wcsmbs/wchar.h: Likewise.
78273         * wctype/wctype.h: Likewise.
78275         [BZ #13551]
78276         * Makeconfig: Remove all but ELF support including AIX support.
78277         * Makerules: Likewise.
78278         * config.h.in: Likewise.
78279         * config.make.in: Likewise.
78280         * configure: Likewise.
78281         * configure.in: Likewise.
78282         * csu/Makefile: Likewise.
78283         * csu/version.c: Likewise.
78284         * debug/Makefile: Likewise.
78285         * dlfcn/Makefile: Likewise.
78286         * elf/Makefile: Likewise.
78287         * extra-lib.mk: Likewise.
78288         * iconv/Makefile: Likewise.
78289         * include/libc-symbols.h: Likewise.
78290         * include/shlib-compat.h: Likewise.
78291         * resolv/Makefile: Likewise.
78292         * resolv/res_libc.c: Likewise.
78293         * rt/Makefile: Likewise.
78294         * sysdeps/i386/asm-syntax.h: Likewise.
78295         * sysdeps/i386/sysdep.h: Likewise.
78296         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78297         * sysdeps/mach/sysdep.h: Likewise.
78298         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78299         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78300         * sysdeps/s390/asm-syntax.h: Likewise.
78301         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78302         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78303         * sysdeps/sh/sysdep.h: Likewise.
78304         * sysdeps/unix/sparc/sysdep.h: Likewise.
78305         * sysdeps/wordsize-32/divdi3.c: Likewise.
78306         * sysdeps/x86_64/sysdep.h: Likewise.
78308         * argp/Versions: Remove _argp_unlock_xxx.
78310         [BZ #13559]
78311         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
78312         * abilist/libBrokenLocale.abilist: Likewise.
78313         * abilist/libanl.abilist: Likewise.
78314         * abilist/libc.abilist: Likewise.
78315         * abilist/libcrypt.abilist: Likewise.
78316         * abilist/libdl.abilist: Likewise.
78317         * abilist/libm.abilist: Likewise.
78318         * abilist/libnsl.abilist: Likewise.
78319         * abilist/libpthread.abilist: Likewise.
78320         * abilist/libresolv.abilist: Likewise.
78321         * abilist/librt.abilist: Likewise.
78322         * abilist/libthread_db.abilist: Likewise.
78323         * abilist/libutil.abilist: Likewise.
78324         * abilist/libnss_db.abilist: New file.
78326         * scripts/abilist.awk: Add support for indirect functions.
78328         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78330         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78332         * shlib-versions: Remove entries for ports architectures.
78334         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
78335         files in ports.
78336         * elf/stackguard-macros.h: Remove support for IA-64.
78337         * elf/tst-auditmod1.c: Likewise.
78338         * sysdeps/generic/ldsodefs.h: Likewise.
78340         * sysdeps/unix/sysv/linux/configure.in: Ports should define
78341         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78342         configure files.
78344         [BZ #13552]
78345         * configure.in: Remove --enable-omitfp support.
78346         * FAQ.in: Adjust.
78347         * config.make.in: Likewise.
78348         * Makeconfig: Likewise.
78349         * manual/install.texi: Likewise.
78351         In case anyone cares, the IA-64 architecture could move to ports.
78352         * sysdeps/ia64/*: Removed.
78353         * sysdeps/unix/sysv/linux/ia64/*: Removed.
78354         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78356         [BZ #13555]
78357         * configure.in: Remove entries for unsupported architectures.
78359         [BZ #13533]
78360         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78361         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
78362         routines.
78363         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78364         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78365         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
78366         fall back to using wcrtomb.
78367         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78368         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
78369         renaming.
78370         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78371         * wcsmbs/tst-c16c32-1.c: New file.
78373         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78374         local variable.
78376         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78378         * elf/tst-unique3.cc: Add explicit declaration of gets.
78379         * elf/tst-unique3lib.cc: Likewise.
78380         * elf/tst-unique3lib2.cc: Likewise.
78381         * elf/tst-unique4.cc: Likewise.
78383         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78385 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
78387         [BZ #13566]
78388         * assert/assert.h (static_assert): Don't define for C++.
78389         * libio/stdio.h (gets): Do declare for C++ <= C++11.
78390         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78392 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
78394         * iconv/loop.c (single loop): Fix assertion in storing of
78395         remaining bytes.
78397         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78399 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
78401         * posix/getconf.c: Update copyright year.
78402         * nss/getent.c: Likewise.
78403         * nss/makedb.c: Likewise.
78404         * iconv/iconvconfig.c: Likewise.
78405         * iconv/iconv_prog.c: Likewise.
78406         * elf/ldconfig.c: Likewise.
78407         * elf/pldd.c: Likewise.
78408         * elf/sotruss.ksh: Likewise.
78409         * catgets/gencat.c: Likewise.
78410         * csu/version.c: Likewise.
78411         * elf/ldd.bash.in: Likewise.
78412         * elf/sprof.c (print_version): Likewise.
78413         * locale/programs/locale.c: Likewise.
78414         * locale/programs/localedef.c: Likewise.
78415         * login/programs/pt_chown.c: Likewise.
78416         * nscd/nscd.c (print_version): Likewise.
78417         * debug/xtrace.sh: Likewise.
78418         * malloc/memusage.sh: Likewise.
78419         * malloc/mtrace.pl: Likewise.
78420         * debug/catchsegv.sh: Likewise.
78422 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
78424         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78425         pure attribute.
78427 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
78429         [BZ #13533]
78430         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78431         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78432         transformations.
78433         * iconv/gconv_int.h: Likewise.
78434         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78435         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78436         from libc for GLIBC_2.16.
78437         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78438         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78439         * wcsmbs/uchar.h: Really define mbstate_t.
78440         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78441         * wcsmbs/c16rtomb.c: New file.
78442         * wcsmbs/mbrtoc16.c: New file.
78443         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78444         for C/POSIX locale.
78445         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78446         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78448         * wcsmbs/wchar.h: Add missing __restrict.
78450 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78452         [BZ #13532]
78453         * time/Makefile (routines): Add timespec_get.
78454         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78455         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
78456         timespec for ISO C11.
78457         * time/timespec_get.c: New file.
78458         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78459         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78461         [BZ #13531]
78462         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78463         * stdlib/stdlib.h: Declare aligned_alloc.
78464         * Versions.def: Add GLIBC_2.16 for libc.
78465         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78467         [BZ 13527]
78468         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78469         ISO C11.
78471         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78472         code.
78474         [BZ #13528]
78475         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78477         [BZ #13529]
78478         * assert/assert.h (static_assert): Define.
78480         * version.h: Update for 2.16 development version.
78482         [BZ #13526]
78483         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78484         _ISOC11_SOURCE.
78486         * version.h (RELEASE): Bump for 2.15 release.
78487         * include/features.h (__GLIBC_MINOR__): Bump to 15.
78489         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78490         Patch by Marek Polacek <mpolacek@redhat.com>.
78492         * bits/byteswap.h: Protect long long constants with __extension__.
78493         * sysdeps/i386/bits/byteswap.h: Likewise.
78494         * sysdeps/ia64/bits/byteswap.h: Likewise.
78495         * sysdeps/s390/bits/byteswap.h: Likewise.
78496         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78498 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78500         [BZ #13540]
78501         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78502         destination buffer.
78503         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78505 2011-12-23  Marek Polacek  <polacek@redhat.com>
78507         * elf/dl-addr.c (determine_info): Add inline keyword.
78508         * elf/tst-auditmod4b.c (check_avx): Likewise.
78509         * elf/tst-auditmod6b.c (check_avx): Likewise.
78510         * elf/tst-auditmod6c.c (check_avx): Likewise.
78511         * elf/tst-auditmod7b.c (check_avx): Likewise.
78513 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78515         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78516         !__SSE_MATH__.
78518 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78520         [BZ #13540]
78521         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78522         processing for last bytes.
78524 2011-08-06  Bruno Haible  <bruno@clisp.org>
78526         [BZ #13061]
78527         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78528         U+0385, not to U+1FEE.
78530         [BZ #13062]
78531         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78532         entry for U+00A5 U+0301.
78534 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78536         [BZ #13166]
78537         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78538         buffer for the output is too small.
78540         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78541         optimization.
78543         [BZ #13185]
78544         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78545         SSE flags if possible.
78547 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78549         [BZ #13540]
78550         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78551         processing for last bytes.
78553 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
78555         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78556         (syscall-list-default-options, syscall-list-default-condition)
78557         (syscall-list-includes): Define.
78558         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78559         list of ABIs and options and #if conditions for each ABI.  Do not
78560         handle common syscalls between ABIs specially.
78561         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78562         Remove.
78563         (syscall-list-variants, syscall-list-32bit-options)
78564         (syscall-list-32bit-condition, syscall-list-64bit-options)
78565         (syscall-list-64bit-condition): Define.
78566         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78567         (syscall-list-variants, syscall-list-32bit-options)
78568         (syscall-list-32bit-condition, syscall-list-64bit-options)
78569         (syscall-list-64bit-condition): Define.
78570         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78571         Remove.
78572         (syscall-list-variants, syscall-list-32bit-options)
78573         (syscall-list-32bit-condition, syscall-list-64bit-options)
78574         (syscall-list-64bit-condition): Define.
78575         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78576         Remove.
78577         (syscall-list-variants, syscall-list-32bit-options)
78578         (syscall-list-32bit-condition, syscall-list-64bit-options)
78579         (syscall-list-64bit-condition): Define.
78581 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78583         * locale/iso-639.def: Add brx entry.
78585         [BZ #13328]
78586         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78587         Proposed by Mariusz_Cukr <marcukr@op.pl>.
78589         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78590         __feraiseexcept_renamed.
78592 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78594         [BZ #13538]
78595         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78596         EPOLLET with unsigned values.
78597         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78598         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78600         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78601         to large cancellation.
78602         * math/s_cacoshf.c: Likewise.
78603         * math/s_cacoshl.c: Likewise.
78605 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
78607         [BZ #13305]
78608         [BZ #12786]
78609         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78610         * math/s_cacoshf.c: Likewise.
78611         * math/s_cacoshl.c: Likewise.
78613 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78615         [BZ #13439]
78616         * iconv/gconv.h: Define __GCONV_SWAP.
78617         * iconvdata/unicode.c: The swap bit must be stored in __flags.
78618         * iconvdata/utf-16.c: Likewise.
78619         * iconvdata/utf-32.c: Likewise.
78621 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
78623         [BZ #13524]
78624         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78625         numerator after shifting it by one limb.
78627 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
78629         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78630         under [__USE_EXTERN_INLINES].
78632 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78634         [BZ #13446]
78635         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78637 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78639         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78640         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78641         optimized code.
78642         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78643         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78644         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78645         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78646         for strncasecmp/strncasecmp_l compilation.
78647         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78648         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78650 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
78652         [BZ #13484]
78653         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78654         of __asm__.
78656 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78658         [BZ #13506]
78659         * time/tzfile.c (__tzfile_read): Check values from file header.
78661 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
78663         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78664         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78665         * powerpc/powerpc32/dl-start.S: Likewise.
78666         * powerpc/powerpc32/elf/start.S: Likewise.
78667         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78668         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78669         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78670         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78671         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78672         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78673         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78674         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78675         * powerpc/powerpc32/fpu/s_round.S: Likewise.
78676         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78677         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78678         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78679         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78680         * powerpc/powerpc32/memset.S: Likewise.
78681         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78682         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78683         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78684         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78685         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78686         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78687         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78688         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78689         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78690         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78691         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78692         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78693         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78695 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78697         * math/libm-test.inc: Added more nearbyint tests.
78698         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78699         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78700         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78701         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78703 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
78705         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78706         FD_CLOEXEC.
78708 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78710         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78711         Add wcscpy-ssse3 wcscpy-c.
78712         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78713         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78714         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78715         * sysdeps/x86_64/wcschr.S: New file.
78716         * sysdeps/x86_64/wcsrchr.S: New file.
78717         * string/test-strcmp.c: Remove checking of wcscmp function for
78718         wrong alignments.
78719         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78720         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78721         wcsrchr-sse2 wcsrchr-c.
78722         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78723         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78724         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78725         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78726         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78727         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78728         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78729         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78730         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78731         * wcsmbc/wcschr.c (WCSCHR): New macro.
78733 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78735         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78736         * wcsmbs/test-wcsrchr.c: New file.
78737         * string/test-strrchr.c: Add wcsrchr support.
78738         (WIDE): New macro.
78739         * wcsmbs/test-wcscpy.c: New file.
78740         * string/test-strcpy.c: Add wcscpy support.
78741         (WIDE): New macro.
78743 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
78745         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78746         the inner loop.
78748 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
78750         [BZ #13472]
78751         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78753 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
78755         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78756         Minor optimizations.
78758         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78759         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78760         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78762 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
78764         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78765         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78766         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78767         for gcc to avoid warnings.
78768         * inet/Makefile (tests): Add tst-checks.
78769         * inet/tst-checks.c: New file.
78771         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78772         warning.
78774         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78775         __wmemcmp_sse2.
78777         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78778         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78780         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78782 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
78784         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78785         problem.
78787         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78789 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
78791         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78792         conditional on GCC version.
78793         (__arch_compare_and_exchange_val_8_acq)
78794         (__arch_compare_and_exchange_val_16_acq)
78795         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78796         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78797         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78799 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
78801         * sysdeps/sh/backtrace.c: New file.
78803 2011-12-02  Andreas Schwab  <schwab@redhat.com>
78805         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
78806         parenthesis.
78808 2011-12-01  Andreas Schwab  <schwab@redhat.com>
78810         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78811         falling back to utime.
78813 2011-11-30  Andreas Schwab  <schwab@redhat.com>
78815         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78816         expectations for float.
78818 2011-11-29  Andreas Schwab  <schwab@redhat.com>
78820         * locale/weight.h (findidx): Add parameter len.
78821         * locale/weightwc.h (findidx): Likewise.
78822         * posix/fnmatch_loop.c (FCT): Adjust caller.
78823         * posix/regcomp.c (build_equiv_class): Likewise.
78824         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78825         * posix/regexec.c (check_node_accept_bytes): Likewise.
78826         * string/strcoll_l.c (STRCOLL): Likewise.
78827         * string/strxfrm_l.c (STRXFRM): Likewise.
78829 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
78831         * Makefile.in: Remove CVSOPT handling.
78832         * configure.in: Remove use of AC_REVISION.
78833         * iconvdata/Makefile (distribute): No need to filter out CVS.
78834         * scripts/list-sources.sh: Remove CVS, subversion and monotone
78835         handling.
78837 2011-11-16  Andreas Schwab  <schwab@redhat.com>
78839         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78840         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78841         [USE_AS_STRNCASECMP_L]: Likewise.
78842         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78843         NO_TLS_DIRECT_SEG_REFS.
78844         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78845         Fix argument offsets for non-PIC.
78846         [USE_AS_STRNCASECMP_L]: Likewise.
78847         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78848         NO_TLS_DIRECT_SEG_REFS.
78850 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78852         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78853         O_CLOEXEC.
78854         * locale/loadlocale.c (_nl_load_locale): Likewise.
78856 2011-11-15  Andreas Schwab  <schwab@redhat.com>
78858         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78859         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78860         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78861         (SYSCALL_GETTIME): Set errno on error.
78863         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78864         count references to noai6ai_cached.
78866 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78868         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78870         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78871         FD_CLOEXEC for /proc/self/maps.
78873         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78874         FD_CLOEXEC for /proc/meminfo.
78876         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78877         gai.conf.
78879         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
78880         FD_CLOEXEC for given file.
78882         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78884         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78885         FD_CLOEXEC for /etc/hosts.
78886         (_gethtent): Likewise.
78888         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78890         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78891         cancellation and set FD_CLOEXEC for /etc/netgroup.
78893         * nss/nss_files/files-key.c (search): Don't allow cancellation when
78894         reading /etc/publickey.
78896         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78897         allow cancellation when reading /etc/group.
78899         * nss/nss_files/files-alias.c (internal_setent): Don't allow
78900         cancellation.
78901         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
78903         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78904         when using data file.
78906         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78908         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78909         (write_nis_obj): Use "c" and "e" in fopen.
78911         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78913         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78915         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78917         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78919         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78920         locale.alias.
78922         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78924         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78926         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78928         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78929         file parsing and set FD_CLOEXEC.
78931 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78933         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78935 2011-11-14  Andreas Schwab  <schwab@redhat.com>
78937         * malloc/arena.c (arena_get2): Don't call reused_arena when
78938         _int_new_arena failed.
78940 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78942         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78943         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78944         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78945         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78946         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78947         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78948         to compile strcasecmp and strncasecmp.
78949         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78950         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78952         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78954 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
78956         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78957         locale-defines.sym to gen-as-const-headers.
78958         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78959         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78961         to compile strcasecmp and strncasecmp.
78962         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78963         strcasecmp_l and strncasecmp_l.
78964         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78965         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78966         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78967         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78968         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78969         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78970         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78971         * sysdeps/i386/i686/multiarch/strncase.S: New file.
78972         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78973         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78974         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78976 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
78978         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78979         result of SYSDEP_GETTIME_CPU to retval.
78980         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78981         parameter list to macro.  Remove trailing semicolon.  Adjust users.
78983         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78984         variable.
78986         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
78987         mantissa words.
78988         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
78990         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
78991         from unused variable.
78993         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
78994         DWARF definitions.
78995         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
78996         for assembling.
78998         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
78999         over namespaces.
79001         * sunrpc/rpc_prot.c (rejected): Fix case value.
79003         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79004         unsigned long long int to avoid warnings in shift.
79006         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79007         of use of trans.
79008         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79009         variable tmp.
79011         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79012         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79013         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79015         * nis/nis_table.c (nis_list): Use variable of correct type for
79016         result of __follow_path call.
79018 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79020         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79021         of math functions ceil, trunc, floor, round, and sqrt, when
79022         avaliable on the platform.
79023         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79024         name clash.
79025         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79026         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79027         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79029 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79031         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79032         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79034 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79036         * include/unistd.h: Fix __readlink return type.
79037         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79039 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79041         * stdlib/ucontext.h: Undo last change for makecontext.
79043 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79045         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79047         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79048         * setjmp/setjmp.h: Mark functions as non-leaf.
79049         * setjmp/bits/setjmp2.h: Likewise.
79050         * stdlib/ucontext.h: Likewise.
79052 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79054         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79055         (reused_arena): Don't check arena limit.
79056         (arena_get2): Atomically check arena limit.
79058 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79060         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79061         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79063         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79064         instructions.
79066 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79068         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79069         handler when locking.
79071         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79072         Fix size of allocated buffer.
79074 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79076         [BZ #10103]
79077         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79078         declarations for long double functions.
79079         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79081         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79083 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79085         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79086         installed.
79088         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79089         is disabled.
79091 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79093         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79095 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79097         * include/alloca.h (stackinfo_alloca_round): Define.
79098         (extend_alloca): Use it.
79099         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79100         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79101         here.
79103         * scripts/check-local-headers.sh: Ignore libaudit.h.
79105         * nscd/Makefile (extra-objs): Make recursively expanded.
79107 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79109         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79110         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79112         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79113         * posix/tst-rfc3484-2.c: Likewise.
79114         * posix/tst-rfc3484-3.c: Likewise.
79116         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79117         process_vm_writev.
79118         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79119         process_vm_writev.
79120         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79121         process_vm_writev from libc using GLIBC_2.15 version.
79123         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79125 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79127         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79128         stack usage.
79130 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79132         [BZ #13367]
79133         * nss/getent.c (initgroups_keys): Show error message in case no group
79134         names are given.
79136         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79137         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79138         __bump_nl_timestamp.
79139         * nscd/connections (nscd_init): When host database is served open
79140         netlink socket and request notification about configuration changes.
79141         (main_loop_poll): Track netlink file descriptor and bump timestamp
79142         in case data becomes available.
79143         (main_loop_epoll): Likewise.
79144         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79145         (database_pers_head): Add extra_data fileds.
79146         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79147         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79148         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79149         Adjust caller.
79150         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79151         in6ai data, call __free_in6ai.
79152         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79153         Add -DHAVE_NETLINK.
79154         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79155         interface information.  Reuse previous data if netlink timestamp
79156         is not changed.
79157         (__bump_nl_timestamp): New function.
79158         (__free_in6ai): New function.
79160 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79162         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79163         close_not_cancel_no_status here.
79164         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79166 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79168         [BZ #13276]
79169         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79170         return value.
79172         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79173         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79174         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79176 2011-07-03  Andreas Jaeger  <aj@suse.de>
79178         [BZ #10709]
79179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79180         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79181         * math/libm-test.inc (sin_test): Add test case.
79183 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79185         [BZ #13337]
79186         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79187         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79189         * elf/chroot_canon.c (chroot_canon): Cleanups.
79191         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79193         [BZ #13335]
79194         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79195         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79197         * string/test-strchr.c: Make usable for strchrnul testing.
79198         * string/test-strchrnul.c: New file.
79199         * string/Makefile (strop-tests): Add strchrnul.
79201         * po/it.po: Update from translation team.
79202         * po/es.po: Likewise.
79204 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
79206         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79207         the three constants needed as parameters.  Drop the others.
79208         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79209         __m128i_strloadu_tolower.
79210         Create and initialize variable zero and use it in all the places
79211         where _mm_setzero_si128 was used.
79213         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79214         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79215         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79216         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79217         anymore.
79218         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79219         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79220         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79221         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79222         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79223         __mpranred, __mptan.
79224         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79225         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79226         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79227         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79228         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79229         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79230         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79231         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79232         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79234 2011-10-28  Andreas Schwab  <schwab@redhat.com>
79236         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79237         redefine if SHARED.
79238         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79240         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79241         wide char related routines to wcsmbs subdir.
79243 2011-10-27  Andreas Schwab  <schwab@redhat.com>
79245         [BZ #13344]
79246         * misc/sys/cdefs.h (__THROWNL): Define.
79247         * posix/unistd.h: Use __THREADNL instead of __THREAD
79248         for memory synchronization functions.
79250 2011-10-26  Roland McGrath  <roland@hack.frob.com>
79252         [BZ #13349]
79253         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79254         doesn't exist.
79255         * manual/stdio.texi (Obstack Streams): Node removed.
79257 2011-10-26  Andreas Schwab  <schwab@redhat.com>
79259         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79260         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79261         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79263         * math/math_private.h (math_force_eval): Allow non-addressable
79264         arguments.
79265         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79267 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79269         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79270         file is not needed.
79272         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79273         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79274         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79275         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79276         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79277         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79278         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79279         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79280         Add AVX variants.
79281         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79282         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79283         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79284         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79285         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79286         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79287         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79288         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79289         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79290         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79291         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79292         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79293         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79294         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79295         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79296         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79297         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79298         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79299         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79301         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79302         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
79304         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79305         place.  Use VEX encoding when compiling for AVX.
79307 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79309         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79310         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79312         * string/test-strchr.c (do_test): Don't generate NUL bytes.
79314 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79316         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79317         useless if() expression.
79318         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79319         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79320         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79321         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79322         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79323         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79324         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79325         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79326         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79327         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79328         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79329         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79330         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79331         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79332         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79333         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79334         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79335         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79336         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79338         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79340 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79342         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79343         condition.
79344         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79346 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79348         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79349         .text section.  Avoid duplicate constants.
79350         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79351         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79352         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79353         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79354         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79355         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79356         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79357         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79358         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79359         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79360         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79361         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79362         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79363         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79364         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79365         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79366         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79367         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79368         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79369         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79370         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79371         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79372         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79373         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79374         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79375         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79376         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79377         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79378         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79379         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79380         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79381         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79382         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79383         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79384         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79385         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79386         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79387         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79388         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79389         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79390         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79391         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79392         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79393         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79394         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79396 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
79398         * sysdeps/x86_64/dla.h: Move to ...
79399         * sysdeps/x86_64/fpu/dla.h: ...here.
79400         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79401         situations.  Use __builtin_fma only for gcc 4.6 and up.
79403         * config.make.in: Add have-mfma4 entry.
79404         * configure.in: Substitute libc_cv_cc_fma4.
79405         * math/Makefile (dbl-only-routines): Add sincostab.
79406         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79407         Use __sincostab not sincos.
79408         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79409         name is a macro.
79410         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79411         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79412         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79413         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
79414         using __copysign.
79415         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
79416         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
79417         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79418         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79419         and __inv.
79420         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79421         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79422         __copysign.
79423         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
79424         define aliases when function name is a macro.
79425         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79426         sysdeps/ieee754/dbl-64/sincos.tbl.
79427         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79428         fma4-enabled routines.
79429         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79430         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79431         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79432         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79433         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79434         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79435         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79436         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79437         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79438         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79439         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79440         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79441         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79442         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79443         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79444         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79445         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79446         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79447         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79448         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79449         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79450         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79451         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79452         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79453         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79454         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79455         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79456         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79457         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79458         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79460         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79461         rename.
79462         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79463         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79464         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79465         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79466         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79467         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79468         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79469         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79471 2011-10-24  Andreas Schwab  <schwab@redhat.com>
79473         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79475 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79477         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79479         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79480         prediction.
79481         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79483         * string/strnlen.c: Don't define STRNLEN, reverse logic.
79484         Remove unused variable magic_bits.
79485         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79487         * string/strnlen.c: Define and use STRNLEN macro.
79488         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79489         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79490         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79491         * wcsmbs/wcslen.c: Define and use WCSLEN.
79492         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79493         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79494         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79495         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79496         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79497         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79498         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79500 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79502         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79503         strnlen-sse2-no-bsf.
79504         Rename strlen-no-bsf to strlen-sse2-no-bsf.
79505         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79506         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79507         Add strnlen support.
79508         (USE_AS_STRNLEN): New macro.
79509         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79510         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79511         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79512         * sysdeps/x86_64/wcslen.S: New file.
79514 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
79516         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79517         XMM-moves are used for copying on small sizes.
79519 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79521         * wcsmbs/Makefile (strop-tests): Add wcschr.
79522         * wcsmbs/test-wcschr.c: New file.
79523         * string/test-strchr.c: Update.
79524         Add wcschr support.
79525         (WIDE): New macro.
79527 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79529         * wcsmbs/Makefile (strop-tests): Add wcslen.
79530         * wcsmbs/test-wcslen.c: New file.
79531         * string/test-strlen.c: Update.
79532         Add wcslen support.
79533         (WIDE): New macro.
79535 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79537         * po/it.po: Update from translation team.
79539 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79541         * sysdeps/x86_64/wcscmp.S: Update.
79542         Fix wrong comparison semantics.
79543         wcscmp shall use signed comparison not unsigned.
79544         Don't use substraction to avoid overflow bug.
79545         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79546         * wcsmbc/wcscmp.c: Likewise.
79547         * string/test-strcmp.c: Likewise.
79548         Add new tests to check cases with negative values.
79550 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79552         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79553         * sysdeps/x86_64/dla.h: ...here.  New file.
79554         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79555         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79556         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79557         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79559         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79560         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79561         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79562         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79564 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
79566         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79567         __ynl_finite aliases.
79569 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79571         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79573         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79574         define DLA_FMA.
79575         [DLA_FMA] (EMULV): Use DLA_FMA.
79576         [DLA_FMA] (MUL12): Use EMULV.
79577         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79578         that are not needed.
79579         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79580         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79581         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79582         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79583         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79584         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79585         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79587 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
79589         * math/s_nan.c: Undef __nan.
79590         * math/s_nanf.c: Undef __nanf.
79591         * math/s_nanl.c: Undef __nanl.
79592         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79593         "math_private.h".
79595 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79597         * math/s_catan.c: Add branch predictions.
79598         * math/s_catanf.c: Likewise.
79599         * math/s_catanh.c: Likewise.
79600         * math/s_catanhf.c: Likewise.
79601         * math/s_catanhl.c: Likewise.
79602         * math/s_catanl.c: Likewise.
79603         * math/s_cexp.c: Likewise.
79604         * math/s_cexpf.c: Likewise.
79605         * math/s_cexpl.c: Likewise.
79606         * math/s_clog.c: Likewise.
79607         * math/s_clog10.c: Likewise.
79608         * math/s_clog10f.c: Likewise.
79609         * math/s_clog10l.c: Likewise.
79610         * math/s_clogf.c: Likewise.
79611         * math/s_clogl.c: Likewise.
79612         * math/s_csqrt.c: Likewise.
79613         * math/s_csqrtf.c: Likewise.
79614         * math/s_csqrtl.c: Likewise.
79615         * math/s_ctanf.c: Likewise.
79616         * math/s_ctanh.c: Likewise.
79617         * math/s_ctanhf.c: Likewise.
79618         * math/s_ctanhl.c: Likewise.
79619         * math/s_ctanl.c: Likewise.
79621         * math/math_private.h: Define __nan, __nanf, __nanl.
79622         * math/s_cacosh.c: Include <math_private.h>.
79623         * math/s_cacoshl.c: Likewise.
79624         * math/s_casinh.c: Likewise.
79625         * math/s_casinhf.c: Likewise.
79626         * math/s_casinhl.c: Likewise.
79627         * math/s_ccos.c: Rely entire on ccosh.
79628         * math/s_ccosf.c: Rely entire on ccoshf.
79629         * math/s_ccosl.c: Rely entirely on ccoshl.
79630         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
79631         Remove tests for FE_INVALID.
79632         * math/s_ccoshf.c: Likewise.
79633         * math/s_ccoshl.c: Likewise.
79634         * math/s_csin.c: Likewise.
79635         * math/s_csinf.c: Likewise.
79636         * math/s_csinh.c Likewise.
79637         * math/s_csinhf.c: Likewise.
79638         * math/s_csinhl.c: Likewise.
79639         * math/s_csinl.c: Likewise.
79640         * math/s_ctan.c: Likewise.
79641         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79642         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79643         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79645 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
79647         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79648         compilation problems.
79650         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79651         __builtin_expect.
79653 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
79655         * sysdeps/i386/configure.in: Test for -mfma4 option.
79656         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79657         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79658         COMMON_CPUID_INDEX_80000001.
79659         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79660         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79661         use it if FMA3 is not supported.
79662         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79664         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79665         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79667 2011-10-20  Andreas Schwab  <schwab@redhat.com>
79669         [BZ #12892]
79670         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79671         it would create a cycle with a link time dependency.
79673 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
79675         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79676         instruction.
79677         * string/Makefile (strop-tests): Add rawmemchr.
79678         * string/test-rawmemchr.c: New file.
79680         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79681         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
79682         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
79683         when compiling str{,n}casecmp and when AVX is available.  Hook up
79684         new optimized code in initializers.
79686 2011-10-19  Andreas Schwab  <schwab@redhat.com>
79688         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79689         __feraiseexcept instead of feraiseexcept.
79691 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
79693         * math/math_private.h: Define defaults for libc_fetestexcept and
79694         libc_feupdateenv.
79695         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79696         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79697         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79698         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79699         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79700         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79701         libc_fetestexcept and libc_feupdateenv.
79703         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79704         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79705         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79706         * sysdeps/x86_64/fpu/math_private.h: Define special version of
79707         libc_feholdexcept_setround.
79709         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79710         Add s_nearbyint-c and s_nearbyintf-c.
79711         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79712         nearbyintf inlines.
79713         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79714         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79715         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79716         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79718         * math/math_private.h: Define defaults for libc_fegetround,
79719         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79720         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79721         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79722         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79723         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79724         standard functions.
79725         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79726         Remove comments and hacks for old compiler versions.
79727         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79728         libc_fegetround, libc_fesetround, libc_feholdexcept, and
79729         libc_feholdexceptl.
79731 2011-10-18  Andreas Schwab  <schwab@redhat.com>
79733         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79734         (__feraiseexcept_renamed): Add __NTH.
79735         (feraiseexcept): Add __NTH.  Rename local variables to fix
79736         namespace violations.
79738 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
79740         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79742         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79744         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79745         recently added interfaces.
79746         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79748         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79749         about macro parameter expansion.
79751         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79752         __NO_MATH_INLINES is defined.  Cleanups.
79754         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79755         and __floorf is target has SSE4.1.
79756         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79757         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79758         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79759         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79761         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79762         name.
79763         (floorf): Likewise.
79765         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79767 2011-10-17  Andreas Schwab  <schwab@redhat.com>
79769         * misc/sys/cdefs.h: Fix last change.
79771         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79772         database lookup.
79774 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
79776         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79778         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79779         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79780         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79781         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79782         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79783         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79784         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79785         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79786         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79787         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79788         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79789         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79790         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79791         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79792         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79793         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79794         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79795         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79796         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79797         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79798         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79799         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79801         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79802         ceil, ceilf, floor, floorf.
79804         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79805         Perform IRELATIVE relocations last.
79807         * elf/do-rel.h: Add another parameter nrelative, replacing the
79808         local variable with the same name.  Change name of the function
79809         to end in Rel or Rela (uppercase).
79810         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79811         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
79812         elf_dynamic_do_##reloc function.
79814 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79816         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79817         is sufficient, at least on modern CPUs.
79819         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79821         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79822         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79824         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79825         __expl_finite.
79826         * math/bits/math-finite.h: Add entries for exp.
79827         * math/e_expl.c: Add __*_finite alias.
79828         * sysdeps/i386/fpu/e_exp.S: Likewise.
79829         * sysdeps/i386/fpu/e_expf.S: Likewise.
79830         * sysdeps/i386/fpu/e_expl.c: Likewise.
79831         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79832         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79833         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79834         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79835         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79836         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79837         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79839         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79840         is sufficient, at least on modern CPUs.
79842         * ctype/ctype-info.c (__ctype_init): Define.
79843         * include/ctype.h (__ctype_init): Declare.
79844         (__ctype_b_loc): The variable is always initialized.
79845         (__ctype_toupper_loc): Likewise.
79846         (__ctype_tolower_loc): Likewise.
79847         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79848         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79850 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
79852         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79854         * configure.in: Also look in $cxxmachine/include for C++ system
79855         headers.
79857 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79859         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79860         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79861         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79862         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
79863         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79864         (USE_AS_WMEMCMP): New macro.
79865         Fixing indents.
79866         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79867         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79868         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79869         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79870         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79871         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79872         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79873         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79874         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79875         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79876         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79877         (USE_AS_WMEMCMP): New macro.
79878         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79879         * sysdeps/string/test-memcmp.c: Update.
79880         Fix simple_wmemcmp.
79881         Add new tests.
79882         * wcsmbs/wmemcmp.c: Update.
79883         (WMEMCMP): New macro.
79884         Fix overflow bug.
79886 2011-10-12  Andreas Jaeger  <aj@suse.de>
79888         [BZ #13268]
79889         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79891 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79893         * libio/iofwide.c (do_length): Avoid warning.
79895         * ctype/ctype.h (__isctype_f): Add missing __THROW.
79897 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
79899         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79901         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79902         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79903         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79904         * sysdeps/i386/i686/fpu/e_log.S: New file.
79905         * sysdeps/i386/i686/fpu/e_logf.S: New file.
79906         * sysdeps/i386/i686/fpu/e_logl.S: New file.
79908         * ctype/ctype.h: Add support for inlined isXXX functions when
79909         compiling C++ code.
79911 2011-10-14  Andreas Schwab  <schwab@redhat.com>
79913         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79915         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79917 2011-10-13  Roland McGrath  <roland@hack.frob.com>
79919         [BZ #13291]
79920         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79922 2011-10-13  Andreas Schwab  <schwab@redhat.com>
79924         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79925         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79926         feraiseexcept.
79928         * sysdeps/x86_64/memrchr.S: Check for zero size.
79930         * string/stratcliff.c: Add memrchr tests.
79932 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79935         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79936         rawmemchr-sse2 rawmemchr-sse2-bsf.
79937         * sysdeps/i386/i686/multiarch/memchr.S: New file.
79938         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79939         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79940         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79941         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79942         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79943         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79944         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79945         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79946         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79947         * string/memrchr.c (MEMRCHR): New macro.
79949 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
79951         Add integration with gcc's -ffinite-math-only and optimize wrapper
79952         functions in libm.
79953         * Versions.def: Define GLIBC_2.15 version for libm.
79954         * math/Makefile (headers): Add bits/math-finite.h.
79955         * math/bits/math-finite.h: New file.
79956         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79957         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79958         * math/e_acoshl.c: Add __*_finite alias.
79959         * math/e_acosl.c: Likewise.
79960         * math/e_asinl.c: Likewise.
79961         * math/e_atan2l.c: Likewise.
79962         * math/e_atanhl.c: Likewise.
79963         * math/e_coshl.c: Likewise.
79964         * math/e_exp10.c: Likewise.
79965         * math/e_exp10f.c: Likewise.
79966         * math/e_exp10l.c: Likewise.
79967         * math/e_exp2l.c: Likewise.
79968         * math/e_fmodl.c: Likewise.
79969         * math/e_gammal_r.c: Likewise.
79970         * math/e_hypotl.c: Likewise.
79971         * math/e_j0l.c: Likewise.
79972         * math/e_j1l.c: Likewise.
79973         * math/e_jnl.c: Likewise.
79974         * math/e_lgammal_r.c: Likewise.
79975         * math/e_log10l.c: Likewise.
79976         * math/e_log2l.c: Likewise.
79977         * math/e_logl.c: Likewise.
79978         * math/e_powl.c: Likewise.
79979         * math/e_sinhl.c: Likewise.
79980         * math/e_sqrtl.c: Likewise.
79981         * math/e_scalb.c: Completely rewritten and optimized.
79982         * math/e_scalbf.c: Likewise.
79983         * math/e_scalbl.c: Likewise.
79984         * math/w_acos.c: Likewise.
79985         * math/w_acosf.c: Likewise.
79986         * math/w_acosl.c: Likewise.
79987         * math/w_acosh.c: Likewise.
79988         * math/w_acoshf.c: Likewise.
79989         * math/w_acoshl.c: Likewise.
79990         * math/w_asin.c: Likewise.
79991         * math/w_asinf.c: Likewise.
79992         * math/w_asinl.c: Likewise.
79993         * math/w_atan2.c: Likewise.
79994         * math/w_atan2f.c: Likewise.
79995         * math/w_atan2l.c: Likewise.
79996         * math/w_atanh.c: Likewise.
79997         * math/w_atanhf.c: Likewise.
79998         * math/w_atanhl.c: Likewise.
79999         * math/w_exp10.c: Likewise.
80000         * math/w_exp10f.c: Likewise.
80001         * math/w_exp10l.c: Likewise.
80002         * math/w_fmod.c: Likewise.
80003         * math/w_fmodf.c: Likewise.
80004         * math/w_fmodl.c: Likewise.
80005         * math/w_j0.c: Likewise.
80006         * math/w_j0f.c: Likewise.
80007         * math/w_j0l.c: Likewise.
80008         * math/w_j1.c: Likewise.
80009         * math/w_j1f.c: Likewise.
80010         * math/w_j1l.c: Likewise.
80011         * math/w_jn.c: Likewise.
80012         * math/w_jnf.c: Likewise.
80013         * math/w_log.c: Likewise.
80014         * math/w_logf.c: Likewise.
80015         * math/w_logl.c: Likewise.
80016         * math/w_log10.c: Likewise.
80017         * math/w_log10f.c: Likewise.
80018         * math/w_log10l.c: Likewise.
80019         * math/w_log2.c: Likewise.
80020         * math/w_log2f.c: Likewise.
80021         * math/w_log2l.c: Likewise.
80022         * math/w_pow.c: Likewise.
80023         * math/w_powf.c: Likewise.
80024         * math/w_powl.c: Likewise.
80025         * math/w_remainder.c: Likewise.
80026         * math/w_remainderf.c: Likewise.
80027         * math/w_remainderl.c: Likewise.
80028         * math/w_scalb.c: Likewise.
80029         * math/w_scalbf.c: Likewise.
80030         * math/w_scalbl.c: Likewise.
80031         * math/w_sqrt.c: Likewise.
80032         * math/w_sqrtf.c: Likewise.
80033         * math/w_sqrtl.c: Likewise.
80034         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80035         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80036         used.
80037         * math/math_private.h: Declare __kernel_standard_f.
80038         * math/w_cosh.c: Remove cruft and optimize a bit.
80039         * math/w_coshf.c: Likewise.
80040         * math/w_coshl.c: Likewise.
80041         * math/w_exp2.c: Likewise.
80042         * math/w_exp2f.c: Likewise.
80043         * math/w_exp2l.c: Likewise.
80044         * math/w_hypot.c: Likewise.
80045         * math/w_hypotf.c: Likewise.
80046         * math/w_hypotl.c: Likewise.
80047         * math/w_lgamma.c: Likewise.
80048         * math/w_lgamma_r.c: Likewise.
80049         * math/w_lgammaf.c: Likewise.
80050         * math/w_lgammaf_r.c: Likewise.
80051         * math/w_lgammal.c: Likewise.
80052         * math/w_lgammal_r.c: Likewise.
80053         * math/w_sinh.c: Likewise.
80054         * math/w_sinhf.c: Likewise.
80055         * math/w_sinhl.c: Likewise.
80056         * math/w_tgamma.c: Likewise.
80057         * math/w_tgammaf.c: Likewise.
80058         * math/w_tgammal.c: Likewise.
80059         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80060         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80061         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80062         Minor optimizations.  Pretty printing.  Remove cruft.
80063         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80064         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80065         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80066         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80067         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80068         * sysdeps/i386/fpu/e_asin.S: Likewise.
80069         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80070         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80071         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80072         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80073         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80074         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80075         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80076         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80077         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80078         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80079         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80080         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80081         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80082         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80083         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80084         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80085         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80086         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80087         * sysdeps/i386/fpu/e_log.S: Likewise.
80088         * sysdeps/i386/fpu/e_log10.S: Likewise.
80089         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80090         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80091         * sysdeps/i386/fpu/e_log2.S: Likewise.
80092         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80093         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80094         * sysdeps/i386/fpu/e_logf.S: Likewise.
80095         * sysdeps/i386/fpu/e_logl.S: Likewise.
80096         * sysdeps/i386/fpu/e_pow.S: Likewise.
80097         * sysdeps/i386/fpu/e_powf.S: Likewise.
80098         * sysdeps/i386/fpu/e_powl.S: Likewise.
80099         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80100         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80101         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80102         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80103         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80104         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80105         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80106         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80107         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80108         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80109         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80110         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80111         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80112         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80113         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80114         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80115         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80116         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80117         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80118         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80119         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80120         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80121         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80122         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80123         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80124         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80125         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80126         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80127         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80128         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80129         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80130         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80131         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80132         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80133         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80134         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80135         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80136         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80137         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80138         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80139         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80140         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80141         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80142         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80143         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80144         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80145         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80146         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80147         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80148         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80149         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80150         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80151         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80152         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80153         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80154         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80155         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80156         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80157         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80158         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80159         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80160         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80161         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80162         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80163         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80164         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80165         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80166         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80167         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80168         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80169         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80170         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80171         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80172         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80173         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80174         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80175         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80176         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80177         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80178         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80179         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80180         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80181         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80182         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80183         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80184         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80185         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80186         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80187         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80188         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80189         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80190         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80191         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80192         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80193         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80194         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80195         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80196         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80197         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80198         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80199         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80200         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80201         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80202         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80203         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80204         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80205         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80206         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80207         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80208         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80209         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80210         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80211         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80212         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80213         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80214         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80215         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80216         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80217         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80218         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
80219         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80220         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80221         (__isnanf): Likewise.
80222         (__isinf_ns): Likewise.
80223         (__isinf_nsf): Likewise.
80224         (__finite): Likewise.
80225         (__finitef): Likewise.
80226         (__ieee754_sqrt): Define as macro.
80227         (__ieee754_sqrtf): Define as macro.
80228         (__ieee754_sqrtl): Define as macro.
80229         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80230         inlined copy.
80231         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80232         __FINITE_MATH_ONLY__ consistent.
80233         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80235 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
80237         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80238         of rawmemchr.
80240         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80242 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
80244         * po/ja.po: Update from translation team.
80246 2011-10-08  Roland McGrath  <roland@hack.frob.com>
80248         * locale/programs/locarchive.c (prepare_address_space): New function.
80249         (create_archive, enlarge_archive, open_archive): Use it.
80251         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80252         inside [SHARED], where it is used.
80254         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80256         * nss/getent.c (netgroup_keys): Remove unused variable.
80257         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80259 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
80261         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80262         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80263         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80264         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80265         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80266         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80267         * math/Makefile (libm-calls): Add s_isinf_ns.
80268         * math/divtc3.c: Use __isinf_nsl instead of isinf.
80269         * math/multc3.c: Likewise.
80270         * math/s_casin.c: Likewise.
80271         * math/s_casinf.c: Likewise.
80272         * math/s_casinl.c: Likewise.
80273         * math/s_ccos.c: Likewise.
80274         * math/s_ccosf.c: Likewise.
80275         * math/s_ccosl.c: Likewise.
80276         * math/s_ctan.c: Likewise.
80277         * math/s_ctanf.c: Likewise.
80278         * math/s_ctanh.c: Likewise.
80279         * math/s_ctanhf.c: Likewise.
80280         * math/s_ctanhl.c: Likewise.
80281         * math/s_ctanl.c: Likewise.
80282         * math/w_fmod.c: Likewise.
80283         * math/w_fmodf.c: Likewise.
80284         * math/w_fmodl.c: Likewise.
80285         * math/w_remainder.c: Likewise.
80286         * math/w_remainderf.c: Likewise.
80287         * math/w_remainderl.c: Likewise.
80288         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80289         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80290         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80291         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80292         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80293         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80294         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80295         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80297         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80298         of the number.
80299         * stdio-common/printf_fphex.c: Likewise.
80300         * stdio-common/printf_size.c: Likewise.
80302         * math/e_exp10.c: Include math_private.h using <...> not "...".
80303         * math/e_exp10f.c: Likewise.
80304         * math/e_exp10l.c: Likewise.
80305         * math/e_exp2l.c: Likewise.
80306         * math/e_j0l.c: Likewise.
80307         * math/e_j1l.c: Likewise.
80308         * math/e_jnl.c: Likewise.
80309         * math/e_lgammal_r.c: Likewise.
80310         * math/e_rem_pio2l.c: Likewise.
80311         * math/e_scalb.c: Likewise.
80312         * math/e_scalbf.c: Likewise.
80313         * math/e_scalbl.c: Likewise.
80314         * math/k_cosl.c: Likewise.
80315         * math/k_sinl.c: Likewise.
80316         * math/k_tanl.c: Likewise.
80317         * math/s_cacoshf.c: Likewise.
80318         * math/s_catan.c: Likewise.
80319         * math/s_catanf.c: Likewise.
80320         * math/s_catanh.c: Likewise.
80321         * math/s_catanhf.c: Likewise.
80322         * math/s_catanhl.c: Likewise.
80323         * math/s_catanl.c: Likewise.
80324         * math/s_ccosh.c: Likewise.
80325         * math/s_ccoshf.c: Likewise.
80326         * math/s_ccoshl.c: Likewise.
80327         * math/s_cexp.c: Likewise.
80328         * math/s_cexpf.c: Likewise.
80329         * math/s_cexpl.c: Likewise.
80330         * math/s_clog.c: Likewise.
80331         * math/s_clog10.c: Likewise.
80332         * math/s_clog10f.c: Likewise.
80333         * math/s_clog10l.c: Likewise.
80334         * math/s_clogf.c: Likewise.
80335         * math/s_clogl.c: Likewise.
80336         * math/s_csin.c: Likewise.
80337         * math/s_csinf.c: Likewise.
80338         * math/s_csinh.c: Likewise.
80339         * math/s_csinhf.c: Likewise.
80340         * math/s_csinhl.c: Likewise.
80341         * math/s_csinl.c: Likewise.
80342         * math/s_csqrt.c: Likewise.
80343         * math/s_csqrtf.c: Likewise.
80344         * math/s_csqrtl.c: Likewise.
80345         * math/s_ctan.c: Likewise.
80346         * math/s_ctanf.c: Likewise.
80347         * math/s_ctanh.c: Likewise.
80348         * math/s_ctanhf.c: Likewise.
80349         * math/s_ctanhl.c: Likewise.
80350         * math/s_ctanl.c: Likewise.
80351         * math/s_ldexp.c: Likewise.
80352         * math/s_ldexpf.c: Likewise.
80353         * math/s_ldexpl.c: Likewise.
80354         * math/s_significand.c: Likewise.
80355         * math/s_significandf.c: Likewise.
80356         * math/s_significandl.c: Likewise.
80357         * math/w_acos.c: Likewise.
80358         * math/w_acosf.c: Likewise.
80359         * math/w_acosh.c: Likewise.
80360         * math/w_acoshf.c: Likewise.
80361         * math/w_acoshl.c: Likewise.
80362         * math/w_acosl.c: Likewise.
80363         * math/w_asin.c: Likewise.
80364         * math/w_asinf.c: Likewise.
80365         * math/w_asinl.c: Likewise.
80366         * math/w_atan2.c: Likewise.
80367         * math/w_atan2f.c: Likewise.
80368         * math/w_atan2l.c: Likewise.
80369         * math/w_atanh.c: Likewise.
80370         * math/w_atanhf.c: Likewise.
80371         * math/w_atanhl.c: Likewise.
80372         * math/w_cosh.c: Likewise.
80373         * math/w_coshf.c: Likewise.
80374         * math/w_coshl.c: Likewise.
80375         * math/w_dremf.c: Likewise.
80376         * math/w_exp10.c: Likewise.
80377         * math/w_exp10f.c: Likewise.
80378         * math/w_exp10l.c: Likewise.
80379         * math/w_exp2.c: Likewise.
80380         * math/w_exp2f.c: Likewise.
80381         * math/w_fmod.c: Likewise.
80382         * math/w_fmodf.c: Likewise.
80383         * math/w_fmodl.c: Likewise.
80384         * math/w_hypot.c: Likewise.
80385         * math/w_hypotf.c: Likewise.
80386         * math/w_hypotl.c: Likewise.
80387         * math/w_j0.c: Likewise.
80388         * math/w_j0f.c: Likewise.
80389         * math/w_j0l.c: Likewise.
80390         * math/w_j1.c: Likewise.
80391         * math/w_j1f.c: Likewise.
80392         * math/w_j1l.c: Likewise.
80393         * math/w_jn.c: Likewise.
80394         * math/w_jnf.c: Likewise.
80395         * math/w_jnl.c: Likewise.
80396         * math/w_lgamma.c: Likewise.
80397         * math/w_lgamma_r.c: Likewise.
80398         * math/w_lgammaf.c: Likewise.
80399         * math/w_lgammaf_r.c: Likewise.
80400         * math/w_lgammal.c: Likewise.
80401         * math/w_lgammal_r.c: Likewise.
80402         * math/w_log.c: Likewise.
80403         * math/w_log10.c: Likewise.
80404         * math/w_log10f.c: Likewise.
80405         * math/w_log10l.c: Likewise.
80406         * math/w_log2.c: Likewise.
80407         * math/w_log2f.c: Likewise.
80408         * math/w_log2l.c: Likewise.
80409         * math/w_logf.c: Likewise.
80410         * math/w_logl.c: Likewise.
80411         * math/w_pow.c: Likewise.
80412         * math/w_powf.c: Likewise.
80413         * math/w_powl.c: Likewise.
80414         * math/w_remainder.c: Likewise.
80415         * math/w_remainderf.c: Likewise.
80416         * math/w_remainderl.c: Likewise.
80417         * math/w_scalb.c: Likewise.
80418         * math/w_scalbf.c: Likewise.
80419         * math/w_scalbl.c: Likewise.
80420         * math/w_sinh.c: Likewise.
80421         * math/w_sinhf.c: Likewise.
80422         * math/w_sinhl.c: Likewise.
80423         * math/w_sqrt.c: Likewise.
80424         * math/w_sqrtf.c: Likewise.
80425         * math/w_sqrtl.c: Likewise.
80426         * math/w_tgamma.c: Likewise.
80427         * math/w_tgammaf.c: Likewise.
80428         * math/w_tgammal.c: Likewise.
80430         * po/ja.po: Update from translation team.
80432 2011-09-29  Andreas Jaeger  <aj@suse.de>
80434         [BZ #13179]
80435         * sunrpc/netname.c (netname2host): Fix logic.
80437         [BZ #6779]
80438         [BZ #6783]
80439         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80440         correctly.
80441         * math/w_remainder.c (__remainder): Likewise.
80442         * math/w_remainderf.c (__remainderf): Likewise.
80443         * math/libm-test.inc (remainder_test): Add test cases.
80445 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80447         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
80448         sdiv_qrnnd.
80450 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80452         * string/test-memcmp.c: Avoid unncessary #defines.
80453         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80455 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80457         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80458         Use new sse2 version for core i3 - i7 as it's faster
80459         than sse42 version.
80460         (bit_Prefer_PMINUB_for_stringop): New.
80461         * sysdeps/x86_64/rawmemchr.S: Update.
80462         Replace with faster SSE2 version.
80463         * sysdeps/x86_64/memrchr.S: New file.
80464         * sysdeps/x86_64/memchr.S: Update.
80465         Replace with faster SSE2 version.
80467 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
80469         * elf/dl-load.c (lose): Add cast to avoid warning.
80471 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80473         * po/ca.po: Update from translation team.
80475         * inet/getnetgrent_r.c: Hook up nscd.
80476         * nscd/Makefile (routines): Add nscd_netgroup.
80477         (nscd-modules): Add netgroupcache.
80478         (CFLAGS-netgroupcache.c): Define.
80479         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80480         (cache_search): Add const to second parameter.
80481         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80482         INNETGR.
80483         (dbs): Add netgrdb entry.
80484         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80485         (verify_persistent_db): Handle netgrdb.
80486         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80487         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80488         GETFDNETGR.
80489         (netgroup_response_header): Define.
80490         (innetgroup_response_header): Define.
80491         (datahead): Add netgroup_response_header and innetgroup_response_header
80492         elements.
80493         * nscd/nscd.conf: Add entries for netgroup cache.
80494         * nscd/nscd.h (dbtype): Add netgrdb.
80495         (_PATH_NSCD_NETGROUP_DB): Define.
80496         (netgroup_iov_disabled): Declare.
80497         (xmalloc, xcalloc, xrealloc): Move declarations here.
80498         (cache_search): Adjust prototype.
80499         Add netgroup-related prototypes.
80500         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80501         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80502         (__nscd_innetgr): Declare.
80503         * nscd/selinux.c (perms): Use access_vector_t as element type and
80504         add netgroup-related initializers.
80505         * nscd/netgroupcache.c: New file.
80506         * nscd/nscd_netgroup.c: New file.
80507         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80508         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80509         For four parameters use innetgr.
80510         * nss/nss_files/files-init.c: Add definition and callback for netgr.
80511         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80512         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80513         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80515         * nscd/connections.c (register_traced_file): Don't register file
80516         for disabled databases.
80518 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
80520         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80522         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80523         from tree and freeing node.
80525 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
80527         * nss/nsswitch.c (__nss_database_lookup): Handle
80528         nss_parse_service_list out of memory case.
80530 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
80532         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80533         out of memory case.
80535 2011-10-04  Andreas Schwab  <schwab@redhat.com>
80537         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80538         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80539         pass it down.
80540         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80541         elf_machine_rela, elf_machine_lazy_rel.
80542         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80543         (ELF_DYNAMIC_DO_REL): Likewise.
80544         (ELF_DYNAMIC_DO_RELA): Likewise.
80545         (ELF_DYNAMIC_RELOCATE): Likewise.
80546         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80547         to ELF_DYNAMIC_DO_REL.
80548         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80549         (dl_main): In trace mode always set __RTLD_NOIFUNC.
80550         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80551         elf_machine_rela.
80552         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80553         skip_ifunc, don't call ifunc function if non-zero.
80554         (elf_machine_rela): Likewise.
80555         (elf_machine_lazy_rel): Likewise.
80556         (elf_machine_lazy_rela): Likewise.
80557         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80558         (elf_machine_lazy_rel): Likewise.
80559         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80560         Likewise.
80561         (elf_machine_lazy_rel): Likewise.
80562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80563         Likewise.
80564         (elf_machine_lazy_rel): Likewise.
80565         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80566         (elf_machine_lazy_rel): Likewise.
80567         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80568         (elf_machine_lazy_rel): Likewise.
80569         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80570         (elf_machine_lazy_rel): Likewise.
80571         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80572         (elf_machine_lazy_rel): Likewise.
80573         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80574         (elf_machine_lazy_rel): Likewise.
80575         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80576         (elf_machine_lazy_rel): Likewise.
80578 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
80580         * nss/nss_files/files-init.c (_nss_files_init): Use static
80581         initialization for all the *_traced_file variables.
80583 2011-09-28  Andreas Schwab  <schwab@redhat.com>
80585         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80587 2011-09-27  Roland McGrath  <roland@hack.frob.com>
80589         [BZ #13226]
80590         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80592 2011-09-27  Andreas Schwab  <schwab@redhat.com>
80594         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80595         Reread the line before reparsing it.
80597 2011-09-26  Andreas Schwab  <schwab@redhat.com>
80599         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80601 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
80602             Maxim Kuvyrkov  <maxim@codesourcery.com>
80603             Joseph Myers  <joseph@codesourcery.com>
80605         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80606         if needed for __stack_chk_guard.
80608 2011-09-19  Roland McGrath  <roland@hack.frob.com>
80610         * sysdeps/posix/spawni.c (script_execute): Always define it.
80611         It will be optimized away if unused.
80612         (maybe_script_execute): New function.
80613         (__spawni): Call it.
80615         * Makerules: Don't include tls.make.
80616         (config-tls): Always set to thread.
80617         * tls.make.c: File removed.
80619 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
80621         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80622         * config.make.in (CPPFLAGS-config): New substituted variable.
80624 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80626         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80628         [BZ #13192]
80629         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80630         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80632 2011-09-15  Roland McGrath  <roland@hack.frob.com>
80634         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80635         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80636         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80637         (CALL_FAIL): Likewise.
80638         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80639         (CALL_FAIL): Macro removed.
80640         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80642 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80644         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80645         for __FINITE_MATH_ONLY__ == 1.
80647 2011-09-15  Andreas Schwab  <schwab@redhat.com>
80649         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80650         __ieee754_sqrt instead of sqrt.
80651         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80652         __ieee754_sqrtf instead of sqrtf.
80653         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80654         __floorf instead of floorf.
80655         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80656         __floorf, __truncf instead of floorf, truncf.
80658 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
80660         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80662         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80663         __extern_always_inline.
80664         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80665         32-bit.
80667 2011-09-14  Andreas Schwab  <schwab@redhat.com>
80669         * elf/rtld.c (dl_main): Also relocate in dependency order when
80670         doing symbol dependency testing.
80672 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
80674         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80675         Always define `refsym'.
80677 2011-09-13  Andreas Schwab  <schwab@redhat.com>
80679         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80680         (__FD_ELT): Renamed from __FDELT.
80681         * misc/bits/select2.h (__FD_ELT): Likewise.
80682         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80683         __FD_MASK instead of __FDELT, __FDMASK.
80684         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80685         Likewise.
80686         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80687         Likewise.
80689         * elf/Makefile (gen-ldd): Fix pattern.
80691         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80692         (init_tls): Likewise.
80694 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
80696         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80698 2011-09-12  Andreas Schwab  <schwab@redhat.com>
80700         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80701         `struct cmsghdr *' instead of `void *'.
80702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80703         Likewise.
80705 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
80707         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80708         if non-absolute.
80709         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80710         ldd_rewrite_script.
80712 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
80714         * configure.in: Remove --with-tls option.
80715         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80716         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80717         out in case it is missing.
80718         * sysdeps/ia64/elf/configure.in: Likewise.
80719         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80720         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80721         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80722         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80723         * sysdeps/sh/elf/configure.in: Likewise.
80724         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80725         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80726         * sysdeps/x86_64/elf/configure.in: Likewise.
80727         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80728         * sysdeps/mach/hurd/tls.h: Likewise.
80730         [BZ #13067]
80731         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80733         [BZ #13090]
80734         * configure.in: Fix use of AC_INIT.
80736         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80738 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
80740         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80741         __set_errno.
80742         * malloc/hooks.c: Likewise.
80744         [BZ #11929]
80745         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
80746         variables statically.
80747         (narenas): Initialize.
80748         (list_lock): Initialize.
80749         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
80750         initializtion of main_arena and list_lock.  Small cleanups.
80751         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80752         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
80753         Add initializers to main_arena and mp_.
80754         (malloc_state): Remove pagesize member.  Change all users to use
80755         GLRO(dl_pagesize).
80757         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80758         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
80759         is always initialized.
80761         * malloc/malloc.c: Removed unused configurations and dead code.
80762         * malloc/arena.c: Likewise.
80763         * malloc/hooks.c: Likewise.
80764         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80766         * include/tls.h: Removed.  USE___THREAD must always be defined.
80767         * bits/libc-tsd.h: Don't handle !USE___THREAD.
80768         * elf/dl-libc.c: Likewise.
80769         * elf/dl-tsd.c: Likewise.
80770         * include/errno.h: Likewise.
80771         * include/netdb.h: Likewise.
80772         * include/resolv.h: Likewise.
80773         * inet/herrno-loc.c: Likewise.
80774         * inet/herrno.c: Likewise.
80775         * malloc/arena.c: Likewise.
80776         * malloc/hooks.c: Likewise.
80777         * malloc/malloc.c: Likewise.
80778         * resolv/res-state.c: Likewise.
80779         * resolv/res_libc.c: Likewise.
80780         * sysdeps/i386/dl-machine.h: Likewise.
80781         * sysdeps/ia64/dl-machine.h: Likewise.
80782         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80783         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80784         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80785         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80786         * sysdeps/sh/dl-machine.h: Likewise.
80787         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80788         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80789         * sysdeps/unix/i386/sysdep.S: Likewise.
80790         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80791         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80792         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80795         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80796         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80797         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80798         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80800         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80801         * sysdeps/x86_64/dl-machine.h: Likewise.
80802         * tls.make.c: Likewise.
80804         * configure.in: Remove --with-__thread option.  Make tests for
80805         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80806         tls_model attribute fail if no support is available.  Remove
80807         USE_IN_LIBIO.
80808         * Makeconfig: Adjust for dropped configure option.  All features are
80809         now mandatory.
80810         * Makerules: Likewise.
80811         * Versions.def: Likewise.
80812         * argp/argp-fmtstream.c: Likewise.
80813         * argp/argp-fmtstream.h: Likewise.
80814         * argp/argp-help.c: Likewise.
80815         * assert/assert.c: Likewise.
80816         * config.h.in: Likewise.
80817         * config.make.in: Likewise.
80818         * configure: Likewise.
80819         * configure.in: Likewise.
80820         * csu/Versions: Likewise.
80821         * csu/init.c: Likewise.
80822         * elf/tst-audit2.c: Likewise.
80823         * elf/tst-tls10.c: Likewise.
80824         * elf/tst-tls10.h: Likewise.
80825         * elf/tst-tls11.c: Likewise.
80826         * elf/tst-tls12.c: Likewise.
80827         * elf/tst-tls14.c: Likewise.
80828         * elf/tst-tlsmod11.c: Likewise.
80829         * elf/tst-tlsmod12.c: Likewise.
80830         * elf/tst-tlsmod13.c: Likewise.
80831         * elf/tst-tlsmod13a.c: Likewise.
80832         * elf/tst-tlsmod14a.c: Likewise.
80833         * elf/tst-tlsmod15b.c: Likewise.
80834         * elf/tst-tlsmod16a.c: Likewise.
80835         * elf/tst-tlsmod16b.c: Likewise.
80836         * elf/tst-tlsmod7.c: Likewise.
80837         * elf/tst-tlsmod8.c: Likewise.
80838         * elf/tst-tlsmod9.c: Likewise.
80839         * gmon/gmon.c: Likewise.
80840         * grp/fgetgrent_r.c: Likewise.
80841         * grp/putgrent.c: Likewise.
80842         * hurd/fopenport.c: Likewise.
80843         * include/libc-symbols.h: Likewise.
80844         * include/tls.h: Likewise.
80845         * intl/gettextP.h: Likewise.
80846         * intl/loadinfo.h: Likewise.
80847         * locale/global-locale.c: Likewise.
80848         * locale/localeinfo.h: Likewise.
80849         * mach/devstream.c: Likewise.
80850         * malloc/arena.c: Likewise.
80851         * malloc/set-freeres.c: Likewise.
80852         * misc/err.c: Likewise.
80853         * misc/getttyent.c: Likewise.
80854         * misc/mntent_r.c: Likewise.
80855         * posix/getopt.c: Likewise.
80856         * posix/wordexp.c: Likewise.
80857         * pwd/fgetpwent_r.c: Likewise.
80858         * resolv/Versions: Likewise.
80859         * resolv/res_hconf.c: Likewise.
80860         * shadow/fgetspent_r.c: Likewise.
80861         * shadow/putspent.c: Likewise.
80862         * stdio-common/printf_fphex.c: Likewise.
80863         * stdio-common/tmpfile.c: Likewise.
80864         * stdlib/abort.c: Likewise.
80865         * stdlib/fmtmsg.c: Likewise.
80866         * sunrpc/auth_unix.c: Likewise.
80867         * sunrpc/clnt_perr.c: Likewise.
80868         * sunrpc/clnt_tcp.c: Likewise.
80869         * sunrpc/clnt_udp.c: Likewise.
80870         * sunrpc/clnt_unix.c: Likewise.
80871         * sunrpc/openchild.c: Likewise.
80872         * sunrpc/svc_simple.c: Likewise.
80873         * sunrpc/svc_tcp.c: Likewise.
80874         * sunrpc/svc_udp.c: Likewise.
80875         * sunrpc/svc_unix.c: Likewise.
80876         * sunrpc/xdr.c: Likewise.
80877         * sunrpc/xdr_array.c: Likewise.
80878         * sunrpc/xdr_rec.c: Likewise.
80879         * sunrpc/xdr_ref.c: Likewise.
80880         * sunrpc/xdr_stdio.c: Likewise.
80882 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80884         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80886 2011-07-03  Andreas Jaeger  <aj@suse.de>
80888         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80889         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80890         regenerate with gen-libm-tests.pl.
80892 2010-05-12  Petr Baudis  <pasky@suse.cz>
80894         [BZ #11589]
80895         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80896         around j0() zero points by switching to j1().
80897         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80898         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80900         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80902 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80904         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80905         instead of 0.
80906         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80907         instead of 0.
80908         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80909         Patch in part by Pavel Roskin <proski@gnu.org>.
80911         [BZ #13138]
80912         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80913         realloc.
80914         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
80915         Free memory block if necessary.
80917         [BZ #12847]
80918         * libio/genops.c (INTDEF): For string streams the _lock pointer can
80919         be NULL.  Don't lock in this case.
80921 2011-09-09  Roland McGrath  <roland@hack.frob.com>
80923         * elf/elf.h (ELFOSABI_GNU): New macro.
80924         (ELFOSABI_LINUX): Define to that.
80926 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
80928         * string/strncat.c (strncat): Undef the symbol in case it has been
80929         defined in bits/string.h.
80931 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80933         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80935         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80936         link map.
80938 2011-08-17  Andreas Jaeger  <aj@suse.de>
80940         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80942 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
80943             Ian Lance Taylor  <iant@google.com>
80945         * math/libm-test.inc (lround_test): New testcase.
80946         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80948 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
80950         * Makefile: Remove support for automatic cvs check-ins.
80951         * Makerules: Likewise.
80952         * config.make.in: Likewise.
80953         * configure.in: Likewise.
80954         * intl/Makefile: Likewise.
80955         * locale/Makefile: Likewise.
80956         * po/Makefile: Likewise.
80957         * posix/Makefile: Likewise.
80958         * sysdeps/gnu/Makefile: Likewise.
80959         * sysdeps/mach/hurd/Makefile: Likewise.
80960         * sysdeps/sparc/sparc32/Makefile: Likewise.
80962         [BZ #13118]
80963         * posix/Makefile (bug-regex32-ENV): Define.
80964         Patch by John Stanley <jpsinthemix@verizon.net>.
80966         * misc/Makefile (headers): Add bits/select2.h.
80967         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80968         * misc/bits/select2.h: New file.
80969         * include/bits/select2.h: New file.
80970         * debug/Makefile (routines): Add fdelt_chk.
80971         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80972         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80973         FD_ISSET.
80974         * debug/fdelt_chk.c: New file.
80976         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
80977         * wcsmbs/test-wmemcmp.c: Likewise.
80978         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80979         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80981 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80983         * string/Makefile (strop-tests): Add memcmp.
80984         * string/test-wmemcmp.c: New file.
80985         * string/test-memcmp.c: Add wmemcmp support.
80987 2011-09-08  Roland McGrath  <roland@hack.frob.com>
80989         [BZ #13153]
80990         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
80991         2011-07-19 change.
80993         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
80994         garbage value in a __mach_port_mod_refs call in the cases of the
80995         task-self and thread-self ports.
80997 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80999         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81001 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81003         * elf/dl-load.c (lose): Check for non-null L.
81005 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81007         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81009         * elf/dl-libc.c (dlerror_run): Pass back error code from
81010         dl_catch_error.
81012         [BZ #13123]
81013         * elf/dl-load.c (lose): Free l_origin if it is valid.
81015         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81016         names.
81017         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81018         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81019         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81020         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81021         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81022         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81024 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81026         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81027         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81028         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81029         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81030         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81031         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81032         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81033         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81034         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81035         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81037 2011-08-15  Alan Modra  <amodra@gmail.com>
81039         [BZ #13092]
81040         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81041         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81042         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81043         ppc_mcount to static-only-routines.
81044         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81045         __mcount_internal.
81046         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81047         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81049 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81051         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81052         for finite and infinity parameters.
81054 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81056         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81057         and add nop instructions for throughput optimization.
81058         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81060 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81062         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81063         aligned copy for power7 with vector-scalar instructions.
81064         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81066 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81069         AVX check.
81071 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81073         [BZ #13144]
81074         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81075         last change.
81077 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81079         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81080         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81081         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81082         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81083         clock_gettime.
81085 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81087         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81088         Forgot to demangle the pointer.
81090         * sysdeps/i386/sysdep.h: Define atom_text_section.
81091         * sysdeps/x86_64/sysdep.h: Likewise.
81092         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81093         section with atom_text_section.
81094         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81095         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81096         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81097         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81098         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81100         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81101         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81102         already be defined.  Change to take two parameters and don't assign
81103         result to variable.  Adjust all users.
81104         Define INTERNAL_GETTIME if not already defined.
81105         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81106         call.
81107         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81108         HAVE_CLOCK_GETTIME_VSYSCALL.
81109         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81111         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81112         gettimeofday vsyscall, just use time.
81114 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81116         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81117         <errno.h>.
81119 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81121         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81122         syscall on x86-64.
81123         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81124         syscall.
81125         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81126         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81127         syscall if possible.
81129 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81131         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81132         e_ident.  Don't pass to find_mapsXX.
81133         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81135 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81137         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81138         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81139         * sysdeps/x86_64/multiarch/strchr.S: Update.
81140         Check bit_slow_BSF bit.
81141         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81142         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81143         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81145 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81147         [BZ #13134]
81148         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81149         before glibc 2.15.
81150         (tryshell): Define.
81151         (__spawni): Change last parameter to be flag.  Test
81152         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81153         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81154         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81155         * posix/spawni.c: Likewise.
81156         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81157         * posix/spawnp.c: Likewise.  Change normal version to use
81158         SPAWN_XFLAGS_USE_PATH.
81159         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81160         SPAWN_XFLAGS_TRY_SHELL.
81162         [BZ #13150]
81163         * posix/glob.h: Remove gcc 1.x support.
81165         [BZ #13068]
81166         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81168 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81170         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81171         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81172         strrchr-sse2-bsf
81173         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81174         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81175         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81176         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81177         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81178         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81180 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81182         * sysdeps/x86_64/wcscmp.S: New file.
81184         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81185         wcscmp-c wcscmp-sse2
81186         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81187         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81188         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81189         * wcsmbs/wcscmp.c: Allow renaming.
81191 2011-09-05  David S. Miller  <davem@davemloft.net>
81193         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81194         stack slot, rather than the struct return pointer slot.
81195         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81196         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81198         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81200 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81202         * po/ja.po: Update from translation team.
81204         [BZ #13144]
81205         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81206         kernel in 64-bit binaries.
81208 2011-09-01  David S. Miller  <davem@davemloft.net>
81210         * elf/elf.h (HWCAP_SPARC_*): Move to..
81211         * sysdeps/sparc/sysdep.h: this new file and add new values.
81212         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81213         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81214         _DL_HWCAP_COUNT to 24.
81215         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81216         entries.
81217         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81218         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81219         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81220         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81221         instead of magic constants.
81222         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81224 2011-08-31  David S. Miller  <davem@davemloft.net>
81226         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81228         Reimplement to do errno handling inline.
81229         (SYSCALL_ERROR_HANDLER): New macro.
81230         (__SYSCALL_STRING): Do not do errno handling in asm.
81231         (__CLONE_SYSCALL_STRING): Delete.
81232         (__INTERNAL_SYSCALL_STRING): Delete.
81233         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81234         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81235         (PSEUDO): Reimplement to do errno handling inline.
81236         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81237         (SYSCALL_ERROR_HANDLER): New macro.
81238         (__SYSCALL_STRING): Do not do errno handling in asm.
81239         (__CLONE_SYSCALL_STRING): Delete.
81240         (__INTERNAL_SYSCALL_STRING): Delete.
81241         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81242         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81243         i386.
81244         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81245         (inline_syscall*): Add 'err' argument.
81246         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81247         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81248         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81249         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81251         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81252         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81254 2011-08-30  Andreas Schwab  <schwab@redhat.com>
81256         * elf/rtld.c (dl_main): Relocate objects in dependency order.
81258 2011-08-29  Jiri Olsa <jolsa@redhat.com>
81260         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81261         directive.
81263 2011-08-24  David S. Miller  <davem@davemloft.net>
81265         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81267 2011-08-24  Andreas Schwab  <schwab@redhat.com>
81269         * elf/Makefile: Add rules to build and run unload8 test.
81270         * elf/unload8.c: New file.
81271         * elf/unload8mod1.c: New file.
81272         * elf/unload8mod1x.c: New file.
81273         * elf/unload8mod2.c: New file.
81274         * elf/unload8mod3.c: New file.
81276         * elf/dl-close.c (_dl_close_worker): Reset private search list if
81277         it wasn't used.
81279 2011-08-23  David S. Miller  <davem@davemloft.net>
81281         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81282         subtract stack bias.
81283         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81284         %sp not %fp in calculations.
81285         (_JMPBUF_UNWINDS_ADJ): Likewise.
81287         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81288         (aio_suspend): Call it to force an exception region around the
81289         AIO_MISC_WAIT() invocation.
81291 2011-08-23  Andreas Schwab  <schwab@redhat.com>
81293         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81294         backslash.
81296 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
81298         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81299         protection macro.
81300         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81301         and <dl-machine.h>.
81302         (Elf64_FuncDesc): Remove.
81304 2011-08-22  David S. Miller  <davem@davemloft.net>
81306         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81307         sigaltstack check, add missing cfi directives.
81308         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81309         missing cfi directives, and sigaltstack handling.
81311 2011-08-16  Andreas Schwab  <schwab@redhat.com>
81313         [BZ #11724]
81314         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81315         object is seen twice.
81316         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81318         * elf/Makefile (distribute): Add tst-initorder2.c.
81319         (tests): Add tst-initorder2.
81320         (modules-names): Add tst-initorder2a tst-initorder2b
81321         tst-initorder2c tst-initorder2d.  Add rules to build them.
81322         ($(objpfx)tst-initorder2.out): New rule.
81323         * elf/tst-initorder2.c: New file.
81324         * elf/tst-initorder2.exp: New file.
81326 2011-08-22  Andreas Schwab  <schwab@redhat.com>
81328         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81330         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81331         dependencies back to end of function.
81333         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81334         $(elfobjdir)/ld.so.
81336 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
81338         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81339         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81341         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81342         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81343         of __vdso_gettimeofday.
81344         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81345         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
81346         attribute_hidden.
81347         (_libc_vdso_platform_setup): Remove initialization of
81348         __vdso_gettimeofday and __vdso_time.
81350 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81352         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81353         and fgetc_unlocked.
81354         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81355         getc_unlocked.
81357         * elf/dl-open.c (add_to_global): Report additions to the global scope
81358         for LD_DEBUG=scopes.
81359         (dl_open_worker): Also print scope of newly loaded dependencies.
81360         (_dl_show_scope): Indicate if there is no scope.
81362         [BZ #13114]
81363         * stdio-common/Makefile (tests): Add bug24.
81364         * stdio-common/bug24.c: New file.
81366 2011-08-19  Andreas Jaeger  <aj@suse.de>
81368         [BZ #13114]
81369         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81370         non-existant file when using close-on-exec mode.
81372 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81374         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81375         the very first instruction.
81377         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81378         the CFI state in the end.
81379         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81380         inclusion of dl-trampoline.h.
81381         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81383 2011-08-19  Andreas Schwab  <schwab@redhat.com>
81385         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81386         expectations for long double.
81388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81389         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81391 2011-08-14  David S. Miller  <davem@davemloft.net>
81393         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81394         artificual limit depends upon the system page size.
81396 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81398         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81399         * resolv/Makefile: Define CFLAGS-libresolv.
81401 2011-08-17  Andreas Schwab  <schwab@redhat.com>
81403         * nss/makedb.c (compute_tables): Make variables used in nested
81404         function static.
81406 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81408         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81409         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81410         if buffer was too small.
81412         * elf/pldd.c (main): Attach to all threads in the process.
81413         Rewrite /proc handling to use *at functions.
81415 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
81417         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81418         specifies first scope to show.
81419         (dl_open_worker): Update callers.  Move printing scope of new
81420         object to before the relocation.
81421         * elf/rtld.c (dl_main): Update _dl_show_scope call.
81422         * sysdeps/generic/ldsodefs.h: Update declaration.
81424         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81425         string for the scope number.
81427 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
81429         * nscd/servicescache.c (cache_addserv): Make sure written is always
81430         initialized.
81432 2011-08-14  Roland McGrath  <roland@hack.frob.com>
81434         * sysdeps/i386/i486/bits/atomic.h
81435         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81436         statement expression, so as to suppress "set but not used" warning.
81437         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81439         * string/strncat.c (STRNCAT): Use prototype definition.
81441         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81442         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81443         -Iprograms here.
81444         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81445         (localedef-modules): Add localedef.
81446         (locale-modules): Add locale.
81448         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81449         * elf/rtld.c (dl_main): Invert order of assignment in last change,
81450         to avoid a warning.
81452 2011-08-14  David S. Miller  <davem@davemloft.net>
81454         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81455         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81457 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
81459         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81460         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81461         * elf/rtld.c (dl_main): Set l_name of vDSO.
81462         Call _dl_show_scope when DL_DEBUG_SCOPES.
81463         (process_dl_debug): Recognize scopes flag and also set it for all.
81464         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81465         Declare _dl_show_scope.
81467         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81468         (do_dlopen): Pass caller_dlopen to dl_open.
81469         (__libc_dlopen_mode): Initialize caller_dlopen.
81471         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81472         of libc.  Make tolower call locale-independent.  Optimize a bit by
81473         using isdigit instead of isalnum.
81474         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81476 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
81478         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81479         was a dependency or dynamically loaded.
81481 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
81483         * intl/l10nflist.c: Allow architecture-specific pop function.
81484         * sysdeps/x86_64/l10nflist.c: New file.
81486         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81487         classification.
81489 2011-08-10  Andreas Schwab  <schwab@redhat.com>
81491         * include/dirent.h: Add libc_hidden_proto for scandirat and
81492         scandirat64.  Don't declare __scandirat64.
81493         * dirent/scandirat.c: Add libc_hidden_def.
81494         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81495         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81497 2011-08-10  David S. Miller  <davem@davemloft.net>
81499         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81500         enum.
81501         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81502         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81503         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81505 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
81507         * Versions.def [libc]: Add GLIBC_2.15.
81508         * dirent/Makefile (routines): Add scandirat and scandirat64.
81509         * dirent/Versions [libc]: Export scandirat and scandirat64 for
81510         GLIBC_2.15.
81511         * dirent/dirent.h: Declare scandirat and scandirat64.
81512         * dirent/scandirat.c: New file.
81513         * dirent/scandirat64.c: New file.
81514         * sysdeps/wordsize-64/scandirat.c: New file.
81515         * sysdeps/wordsize-64/scandirat64.c: New file.
81516         * dirent/opendir.c: Define opendirat.
81517         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
81518         using scandirat.
81519         * dirent/scandir64.c: Adjust for scandir.c change.
81520         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
81521         __scandirat64, and __scandir_cancel_handler.
81522         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
81523         additional parameter and use openat instead of open (outside of ld.so).
81524         Add new __opendir as wrapper around __opendirat.
81525         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81526         here without requiring old scandirat implementation.
81528 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
81530         * dirent/scandir.c (cancel_handler): Renamed to
81531         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
81532         defined.  Adjust users.
81533         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81534         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81536 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
81538         * string/test-string.h (IMPL): Use __STRING to expand name and then
81539         stringify it.
81541         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
81542         of cleanups.
81544 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81546         * string/Makefile: Update.
81547         (strop-tests): Append strncat.
81548         * string/test-wcscmp.c: New file.
81549         New comprehensive test for wcscmp.
81550         * string/test-strcmp.c: Update.
81551         (WIDE): New define.
81553 2011-07-22  Andreas Schwab  <schwab@redhat.com>
81555         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81556         line.
81558 2011-07-26  Andreas Schwab  <schwab@redhat.com>
81560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81561         encoding to ACE if AI_IDN.
81563 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
81565         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81566         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81568 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81570         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81571         Fix overflow bug in strncat.
81572         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81574         * string/test-strncat.c: Update.
81575         Add new tests for checking overflow bugs.
81577 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81580         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81581         * sysdeps/i386/i686/multiarch/strcat.S: New file.
81582         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81583         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81584         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81585         * sysdeps/i386/i686/multiarch/strncat.S: New file.
81586         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81587         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81589         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81590         (USE_AS_STRCAT): Define.
81591         Add strcat and strncat support.
81592         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81594 2011-07-25  Andreas Schwab  <schwab@redhat.com>
81596         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81597         __n bigger than INT_MAX+1.
81598         (__strncmp_g): Likewise.
81600 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
81602         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81603         * libio/stido.h: Likewise.
81605         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81606         (AF_NFC): Define.
81607         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81608         (AF_NFC): Define.
81610         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81611         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81612         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81613         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81614         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81616         [BZ #13021]
81617         * scripts/test-installation.pl: Don't expect libnss_test1 to be
81618         installed.
81620         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81621         typo.
81622         (_dl_x86_64_save_sse): Likewise.
81624 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
81626         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81627         OSXSAVE.
81628         (_dl_x86_64_save_sse): Likewise.
81630         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81632         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81634 2011-07-21  Andreas Schwab  <schwab@redhat.com>
81636         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81637         change.
81638         (_dl_x86_64_save_sse): Use correct AVX check.
81640 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81642         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81643         bug in strncpy/strncat.
81644         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81646 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
81648         * string/tester.c (test_strcat): Add tests for different alignments
81649         of source and destination.
81650         (test_strncat): Likewise.
81652 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81654         [BZ #12852]
81655         * posix/glob.c (glob): Check passed in values before using them in
81656         expressions to avoid some overflows.
81657         (glob_in_dir): Likewise.
81659         [BZ #13007]
81660         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81661         check for AVX enablement so that we don't crash with old kernels and
81662         new hardware.
81663         * elf/tst-audit4.c: Add same checks here.
81664         * elf/tst-audit6.c: Likewise.
81666         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81668 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
81670         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81672 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81674         * po/cs.po: Update from translation team.
81675         * po/bg.po: Likewise.
81677 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
81679         * misc/sys/cdefs.h: Add support for const attribute.
81680         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81681         to gnu_dev_{major,minor,makedev} functions.
81683 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
81685         * intl/dcigettext.c (get_output_charset): Add missing bracket.
81687 2011-07-20  Andreas Schwab  <schwab@redhat.com>
81689         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81690         strlen results.
81692 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81695         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81696         register in order to avoid conflicts with the soft frame pointer
81697         being held in r11 when necessary.
81698         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81699         (INTERNAL_VSYSCALL_NCS): Likewise.
81701 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
81703         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81704         * elf/dl-fini.c (_dl_fini): Adjust caller.
81705         * elf/dl-close.c (_dl_close_worker): Likewise.
81706         * sysdeps/generic/ldsodefs.h: Adjust declaration.
81708 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81710         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81711         "aux_cache->nlibs < 0".
81713         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81714         in the reload-count case.
81716 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81719         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81720         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81721         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81722         * sysdeps/x86_64/multiarch/strcat.S: New file.
81723         * sysdeps/x86_64/multiarch/strncat.S: New file.
81724         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81725         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81726         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81727         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81728         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81729         (USE_AS_STRCAT): Define.
81730         Add strcat and strncat support.
81731         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81732         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81733         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81734         * string/strncat.c: Update.
81735         (USE_AS_STRNCAT): Define.
81736         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81737         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81738         and i7.
81739         * sysdeps/x86_64/multiarch/init-arch.h
81740         (bit_Prefer_PMINUB_for_stringop): New.
81741         (index_Prefer_PMINUB_for_stringop): Likewise.
81742         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81743         bit_Prefer_PMINUB_for_stringop.
81745 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81747         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81748         buffer64.
81749         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81750         of casting of buffer.
81751         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81752         buffer32 and buffer64.
81753         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81754         writes instead of casting of buffer.
81755         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81756         buffer32.
81757         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81758         casting of buffer.
81760 2011-07-19  Andreas Schwab  <schwab@redhat.com>
81762         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81764 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81766         * nscd/nscd.c (termination_handler): Don't do anything for a database
81767         if it has not yet been initialized.
81769 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81771         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81773 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81775         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81777 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81779         * po/nl.po: Update from translation team.
81780         * po/sv.po: Likewise.
81782 2011-07-16  Roland McGrath  <roland@hack.frob.com>
81784         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81785         now disallowed by GCC.
81787         * configure.in (use-default-link): Default to yes if a test -shared
81788         link meets our qualifications.
81789         * configure: Regenerated.
81791         * config.make.in (output-format): New variable.
81792         * configure.in: Check for ld --print-output-format support.
81793         * configure: Regenerated.
81794         * Makerules ($(common-objpfx)format.lds)
81795         [$(output-format) != unknown]: Just use $(output-format),
81796         instead of the linker-script munging.
81798 2011-07-14  Roland McGrath  <roland@hack.frob.com>
81800         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81801         of $(common-objpfx)shlib.lds.
81802         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81804         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81805         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81807         * configure.in (-z relro check): Adjust test code to add a large
81808         writable data section after it.
81809         * configure: Regenerated.
81811 2011-07-11  Roland McGrath  <roland@hack.frob.com>
81813         * configure.in (-z relro check): Fix test code to make the variable
81814         truly const.
81815         * configure: Regenerated.
81817 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
81819         * nscd/nscd.h (struct traced_file): Define.
81820         (struct database_dyn): Remove inotify_descr, reset_res, and filename
81821         elements.  Add traced_files.
81822         (inotify_fd): Declare.
81823         (register_traced_file): Declare.
81824         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81825         (inotify_fd): Export.
81826         (resolv_conf_descr): Remove.
81827         (nscd_init): Move inotify descriptor creation to main.
81828         Don't register files for notification here.
81829         (register_traced_file): New function.
81830         (invalidate_cache): Don't use reset_res to determine whether to call
81831         res_init, go through the list of registered files.
81832         (main_loop_poll): The inotify descriptors are now stored in the
81833         structures for the traced files.
81834         (main_loop_epoll): Likewise.
81835         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
81836         to __nss_disable_nscd.
81837         * nscd/cache.c (prune_cache): There is no single inotify descriptor
81838         for a database anymore.  Check the records for all the registered
81839         files instead.
81840         * nss/Makefile (libnss_files-routines): Add files-init.
81841         (libnss_db-routines): Add db-init.
81842         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81843         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81844         * nss/nss_db/db-init.c: New file.
81845         * nss/nss_files/files-init.c: New file.
81846         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
81847         __nss_lookup_function.
81848         (__nss_lookup_function): Call nss_load_library.
81849         (nss_load_all_libraries): New function.
81850         (__nss_disable_nscd): Take parameter with callback function for files
81851         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
81852         used for the cached services.
81853         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81854         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81855         options for features to all the files in nscd.
81857         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81859 2011-07-10  Roland McGrath  <roland@hack.frob.com>
81861         * csu/elf-init.c (__libc_csu_init): Comment typo.
81863 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
81865         * po/pl.po: Update from translation team.
81866         * po/ja.po: Likewise.
81867         * po/ru.po: Likewise.
81868         * po/ko.po: Likewise.
81869         * po/fr.po: Likewise.
81871 2011-07-09  Roland McGrath  <roland@hack.frob.com>
81873         * configure.in (.ctors/.dtors header and trailer check):
81874         Use an empirical test on a built program.
81875         * configure: Regenerated.
81877         * configure.in (-z relro check): Use an empirical test on a built DSO.
81878         Detect, but do not require, on ia64.
81879         * configure: Regenerated.
81881         * configure.in (READELF): Find it with AC_CHECK_TOOL.
81882         Update tests that use readelf to use $READELF instead.
81883         * configure: Regenerated.
81885 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
81887         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81888         if the result is not used.
81890 2011-07-05  Andreas Jaeger  <aj@suse.de>
81892         [BZ#9696]
81893         * stdlib/tst-strtod.c: Add testcase.
81895 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
81897         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81898         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81899         The latter has a higher limit.  Take additional parameter to pass to
81900         the new function.
81901         (__pathconf): Pass file to __statfs_link_max.
81902         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81903         __statfs_link_max.
81904         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81905         __statfs_link_max.
81907         [BZ #12868]
81908         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81909         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81910         Handle Lustre.
81911         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81912         (__statfs_filesize_max): Likewise.
81913         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81915 2011-07-05  Andreas Jaeger  <aj@suse.de>
81917         * resolv/res_comp.c (dn_skipname): Remove unused variable.
81919 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
81921         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81922         `status' variable.
81923         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81924         Likewise.
81926 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
81928         * Makefile (strop-tests): Add strncat.
81929         * string/test-strncat.c: New file.
81931 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
81933         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81935 2011-06-21  Andreas Jaeger  <aj@suse.de>
81937         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81938         Copy rule from iconvdata/Makefile.
81940 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81942         [BZ #12922]
81943         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81944         but no long options are defined, just return 'W'.
81946 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
81948         [BZ #9696]
81949         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81951 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81953         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81954         netgroups to read.
81955         (innetgr): Likewise.
81957 2011-07-05  Roland McGrath  <roland@hack.frob.com>
81959         * config.make.in (install_root): Default to $(DESTDIR).
81961 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
81963         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81965 2011-07-02  Roland McGrath  <roland@hack.frob.com>
81967         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81969         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81970         containing directory rather than embedding absolute directory names.
81972         * scripts/check-local-headers.sh: Rewritten using awk.
81973         Match by word, not by line.  Print error messages for matches.
81974         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81976         * Makerules [shlib-lds-flags empty]:
81977         ($(common-objpfx)libc_pic.opts): New target.
81978         ($(common-objpfx)libc_pic.os.clean): New target.
81979         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81981         * config.make.in (OBJCOPY): New variable.
81982         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81983         * configure: Regenerated.
81985         * config.make.in (use-default-link): New variable.
81986         * configure.in (use_default_link): Grok --with-default-link to set it.
81987         * configure: Regenerated.
81988         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
81989         (shlib-lds, shlib-lds-flags): Define to empty.
81991         * Makerules (shlib-lds): New variable.
81992         (shlib-lds-flags): New variable.
81993         (build-shlib, build-moduile, build-module-asneeded): Use it.
81994         ($(common-objpfx)libc.so): Use $(shlib-lds).
81995         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
81996         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
81998         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
81999         DT_FLAGS/DT_FLAGS_1 with zero flags.
82001         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82002         linker script munging.
82004 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82006         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82007         as 128-bit value.
82008         * crypt/sha512.c (sha512_process_block): Perform total addition using
82009         128-bit if possible.
82010         (__sha512_finish_ctx): Likewise.
82011         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82012         as 64-bit value.
82013         * crypt/sha256.c (SWAP64): Define.
82014         (sha256_process_block): Perform total addition using 64-bit if
82015         possible.
82016         (__sha256_finish_ctx): Likewise.
82018 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82020         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82021         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82022         * nscd/hstcache.c (cache_addhst): Likewise.
82023         * nscd/grpcache.c (cache_addgr): Likewise.
82024         * nscd/aicache.c (addhstaiX): Likewise.
82025         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82027 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82029         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82030         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82031         * nscd/hstcache.c (cache_addhst): Likewise.
82032         * nscd/grpcache.c (cache_addgr): Likewise.
82033         * nscd/aicache.c (addhstaiX): Likewise.
82035 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82037         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82038         domain only when needed.
82040 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82042         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82043         is always restored.
82045 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82047         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82048         are re-adding the entry.
82049         * nscd/servicescache.c (cache_addserv): Likewise.
82051 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82053         * sysdeps/generic/dl-irel.h: fix protection against multiple
82054         inclusions.
82055         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82057 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82059         [BZ #12935]
82060         * malloc/memusage.sh: Fix quoting in message.
82061         * debug/xtrace.sh: Likewise.
82063         * configure.in: Remove support for --experimental-malloc option, make
82064         it the default.
82065         * config.make.in: Likewise.
82066         * malloc/Makefile: Likewise.
82068 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82070         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82071         two-byte characters.
82073 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82075         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82076         AC_CACHE_CHECK invocation.
82077         * configure: Regenerated.
82079         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82081 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82083         [BZ #12350]
82084         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82085         bit from old_res_options.
82087         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82089         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82090         value type for setfct.
82092 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82094         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82095         __gettimeofday instead of gettimeofday.
82097 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82099         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82101 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82103         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82105         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82106         info.
82108 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82110         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82111         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82112         strcpy-sse2-unaligned strncpy-sse2-unaligned
82113         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82114         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82115         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82116         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82117         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82118         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82119         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82120         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82121         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82122         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82123         (STRCPY): Support SSE2 and SSSE3 versions.
82125 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82127         [BZ #12874]
82128         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82129         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82130         kernels which artificially limit size of requests.
82132 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82134         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82135         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82136         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82137         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82138         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82139         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82140         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82141         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82142         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82143         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82144         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82145         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82146         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82147         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82148         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82150         Enable unaligned load optimization for Intel Core i3, i5 and i7
82151         processors.
82152         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82153         Define.
82154         (index_Fast_Unaligned_Load): Define.
82155         (HAS_FAST_UNALIGNED_LOAD): Define.
82157 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82159         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82161 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82163         [BZ #12907]
82164         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82165         until it is clear that the information is realy needed.
82166         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82168 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82172 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82174         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82175         /sys/devices/system/cpu/online if it is usable.
82177         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82178         reading the information from the /proc filesystem to once a second.
82180 2011-06-21  Andreas Jaeger  <aj@suse.de>
82182         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82183         NULL after inclusion of kernel headers.
82185 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82187         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82188         calls to internal_setent.
82190         [BZ #12885]
82191         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82192         addresses using gethostbyname4_r ignore IPv4 addresses.
82194         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82195         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
82197         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82199 2011-06-20  David S. Miller  <davem@davemloft.net>
82201         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82202         inclusions.
82203         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82205         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82206         (elf_irel): Use it.
82207         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82208         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82209         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82210         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82211         * sysdeps/x86_64/dl-irel.h: Likewise.
82213         * elf/dl-runtime.c: Use elf_ifunc_invoke.
82214         * elf/dl-sym.c: Likewise.
82216 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82218         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
82219         need to dereference resplen2.
82221 2011-06-14  Andreas Schwab  <schwab@redhat.com>
82223         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82225 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82227         * Makeconfig: Define vardbdir and inst_vardbdir.
82228         * nss/Makefile: Add rules to install db-Makefile.
82230         * nss/nss_db/db-XXX.c: Cleanup.
82232         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82233         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82234         GLIBC_PRIVATE.
82235         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82236         * nss/makedb.c: Implement -g option to specify that value strings
82237         are generated and should not be added to table iterated over for
82238         get*ent calls.
82239         * nss/nss_db/db-initgroups.c: New file.
82241         * nss/getent.c: Add support for initgroups lookups through getgrouplist
82242         interface.
82244         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82245         (internal_getgrouplist): Adjust to name change.
82246         Update use_initgroups_entry if this is not the first call.
82247         * nss/databases.def: Add initgroups entry.
82249         * nss/makedb.c (compute_tables): Check result of multiple hash table
82250         sizes to minimize maximum chain length.
82252 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
82254         * Versions.def: Add entry for libnss_db.
82255         * shlib-versions: Likewise.
82256         * nss/Makefile: Add rules to build libnss_db.
82257         * nss/Versions: Add libnss_db information.  Organize libnss_files
82258         entries better.
82259         * nss/db-Makefile: Add gshadow support.  Change rules for the new
82260         makedb progra.  Some minor improvements to generate smaller files.
82261         * nss/nss_db/nss_db.h: Move NSS database header data structures to
82262         here from...
82263         * nss/makedb.c: ...here.
82264         Improve database format to be smaller and require less memory at
82265         runtime.
82266         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
82267         db anymore.
82268         * nss/nss_db/db-netgrp.c: Likewise.
82269         * nss/nss_db/db-open.c: Likewise.
82270         * nss/nss_files/flies-XXX.x: Adjust comments.
82271         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82272         * nss/nss_files/files-grp.c: Likewise.
82273         * nss/nss_files/files-hosts.c: Likewise.
82274         * nss/nss_files/files-network.c: Likewise.
82275         * nss/nss_files/files-proto.c: Likewise.
82276         * nss/nss_files/files-pwd.c: Likewise.
82277         * nss/nss_files/files-rpc.c: Likewise.
82278         * nss/nss_files/files-service.c: Likewise.
82279         * nss/nss_files/files-sgrp.c: Likewise.
82280         * nss/nss_files/files-spwd.c: Likewise.
82281         * nss/nss_db/db-alias.c: Removed.
82282         * nss/nss_db/dummy-db.h: Removed.
82284 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
82286         * nss/makedb.c: Rewritten to not use database library.
82287         * nss/Makefile: Update to build new makedb program.
82289 2011-06-14  Andreas Jaeger  <aj@suse.de>
82291         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82292         memset declaration.
82294 2011-06-10  Andreas Schwab  <schwab@redhat.com>
82296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82297         tmpbuf.
82299 2011-06-10  Roland McGrath  <roland@hack.frob.com>
82301         * Makerules (shlib.lds): Fail if the linker script comes out empty.
82302         * elf/Makefile ($(objpfx)ld.so): Likewise.
82304         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82305         Don't list ld.so twice in dependencies.
82307         * posix/bug-regex31.c: Include <stdlib.h>.
82309         * nscd/hstcache.c (cache_addhst): Remove unused variable.
82311         * nis/nss_compat/compat-spwd.c
82312         (getspent_next_nss_netgr): Remove unused variable.
82313         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82315         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82316         nonmembers" output to use the right array.
82318         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82320         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82322         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82323         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82324         * catgets/gencat.c (read_input_file): Likewise.
82325         * locale/programs/locarchive.c (enlarge_archive): Likewise.
82327         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82328         variable definition inside #if's controlling its use.
82330         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82332         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82334         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82336         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82337         unreachable code.
82339         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82341         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82342         * configure: Regenerated.
82344         * Makerules: Revert last change.
82345         * elf/Makefile: Likewise.
82347 2011-06-09  Roland McGrath  <roland@hack.frob.com>
82349         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82350         * elf/Makefile ($(objpfx)librtld.os): Likewise.
82351         (reloc-link): Likewise.
82353 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
82355         * elf/Makefile: Add rules to build pldd.
82356         * elf/pldd.c: New file.
82357         * elf/pldd-xx.c: New file.
82359 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
82361         * version.h: Update for 2.15 development version.
82363 2011-06-07  David S. Miller  <davem@davemloft.net>
82365         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82366         ifuncs.
82367         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82368         elf_machine_lazy_rel): Likewise.
82369         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82370         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82371         elf_machine_lazy_rel): Likewise.
82372         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82373         dl_hwcap via passed in argument.
82374         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82375         Likewise.
82377 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82379         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
82381 2011-06-06  Roland McGrath  <roland@hack.frob.com>
82383         [BZ #12849]
82384         * manual/fdl-1.1.texi: New file, verbatim from:
82385         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82386         * manual/lgpl-2.1.texi: New file, verbatim from:
82387         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82388         * manual/Makefile (licenses): New variable, list those new file names.
82389         (texis): Use it.
82390         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82392         * manual/fdl.texi: File removed.
82393         * manual/lesser.texi: File removed.
82394         * manual/libc.texinfo (Copying, Documentation License):
82395         Use new @include file names, put @appendix directive before @include.
82397 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
82399         [BZ #12841]
82400         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82401         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82402         (mq_open): Add __NTH.
82404 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
82406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82407         Assume Intel Core i3/i5/i7 processor if AVX is available.
82409 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82411         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82412         typo.
82414 2011-05-31  Andreas Schwab  <schwab@redhat.com>
82416         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82417         memory.  Use alloca_account.  Fix memory leak when retrying.
82419 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82421         * version.h (RELEASE): Bump for 2.14 release.
82422         * include/features.h (__GLIBC_MINOR__): Bump to 14.
82424         * config.make.in (RANLIB): Remove entry.
82426 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
82428         * po/Makefile (po-sed-cmd): Add ksh to extensions.
82429         (libc.pot): Work around missing support for .ksh extension in xgettext.
82431         [BZ #12684]
82432         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82433         if both request failed.
82434         (send_dg): In case of server errors clear resplen or *resplen2.
82436         [BZ #12454]
82437         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82438         when there are multiple maps.
82439         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82440         (_dl_fini): Remove test here.
82442         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82444 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
82446         [BZ #12350]
82447         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82448         bit from old_res_options.
82449         (gaih_inet): Likewise.
82451         [BZ #11099]
82452         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82453         as signed.
82455         * resolv/res_init.c (res_setoptions): Make the code more compact.
82457         [BZ #11558]
82458         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82459         set RES_USEVC.
82461         [BZ #11634]
82462         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82464         * malloc/malloc.h: Mark malloc hook variables as deprecated.
82466         [BZ #11781]
82467         * malloc/malloc.h: Declare malloc hook variables as volatile.
82469         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82470         in last patch.
82472         [BZ #11799]
82473         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82474         raise in the comment.
82475         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82476         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82477         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82479 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
82481         [BZ #12811]
82482         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82483         grow the buffers more if it already has to be sufficient.
82484         (build_wcs_upper_buffer): Likewise.
82485         * posix/regexec.c (check_matching): Likewise.
82486         (clean_state_log_if_needed): Likewise.
82487         (extend_buffers): Don't enlarge buffers beyond size of the input
82488         buffer.
82489         Patches mostly by Emil Wojak <emil@wojak.eu>.
82490         * posix/bug-regex32.c: New file.
82491         * posix/Makefile (tests): Add bug-regex32.
82493         * locale/findlocale.c (_nl_find_locale): Return right away if
82494         _nl_explode_name failed.
82495         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82497         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82499         * debug/xtrace.sh: Unify messages.
82500         * malloc/memusage.sh: Likewise.
82502         [BZ #12813]
82503         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82504         time symbol from vDSO.  Substitute with vsyscall if not available.
82505         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82506         __vdso_time.
82508         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82509         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82510         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82511         Add sendmmsg and internal_sendmmsg.
82512         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82513         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82514         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82516         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82517         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82518         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82520 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
82522         [BZ #12813]
82523         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82524         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
82525         available.
82526         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82527         __vdso_getcpu.
82529         [BZ #12814]
82530         * iconvdata/Makefile (tests): Add bug-iconv9.
82531         * iconvdata/bug-iconv9.c: New file.
82533 2011-05-27  Andreas Schwab  <schwab@redhat.com>
82535         [BZ #12814]
82536         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82538 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
82540         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82541         (struct user_regs_struct): Change intcs field back to cs.
82543 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
82545         * po/ja.po: Update from translation team.
82547 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
82549         [BZ #12795]
82550         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82551         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82553 2011-05-20  Andreas Schwab  <schwab@redhat.com>
82555         * stdlib/longlong.h: Update from GCC.
82557 2011-05-23  Andreas Schwab  <schwab@redhat.com>
82559         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82560         parameter name.
82561         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82562         Add parameter name.
82563         (__sysconf): Pass it down.
82565 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
82567         [BZ #12671]
82568         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82569         some situations.
82570         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82571         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82572         add in in __libc_use_alloca calls.  Adjust callers.
82573         (glob): Use malloc in some situations.
82575         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82576         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82577         pltexit.
82579 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
82581         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82582         and CLOCK_BOOTTIME_ALARM.
82584         [BZ #12782]
82585         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82586         is returned.
82588         * string/_strerror.c (__strerror_r): Print negative errors as signed
82589         numbers.
82591         [BZ #12777]
82592         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82593         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82594         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82596         * configure.in: Fix typo in redirection and correct removal of test
82597         files in two cases.
82599         [BZ #12788]
82600         * locale/setlocale.c (new_composite_name): Fix test to check for
82601         identical name of all categories.
82603         [BZ #12792]
82604         * libio/filedoalloc.c (local_isatty): New function.
82605         (_IO_file_doallocate): Use local_isatty.
82606         * stdio-common/perror.c (perror): In case a new stream is used
82607         forward the stream error.
82608         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82609         error flag.
82611 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
82613         [BZ #11884]
82614         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82615         alloca.
82616         * include/alloca.h (extend_alloca_account): Define.
82618         [BZ #11857]
82619         * posix/regex.h: Fix comments with documentation of user-accessible
82620         fields after compilation and describe correct free'ing of pattern
82621         after re_compile_pattern.
82622         Patch by Reuben Thomas <rrt@sc3d.org>.
82624 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
82626         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82627         and -mno-altivec to prevent the compiler from using Altivec and/or
82628         VSX instructions when the corresponding registers are not available.
82630 2011-05-19  Andreas Schwab  <schwab@redhat.com>
82632         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82634 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
82636         * libio/freopen.c (freopen): Use __dup2, not dup2.
82637         * libio/freopen64.c (freopen64): Likewise.
82639 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82641         [BZ #12775]
82642         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82643         * math/Makefile (tests): Add test-powl.
82644         (CFLAGS-test-powl.c): Define.
82645         * math/test-powl.c: New file.
82647 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82649         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82651 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
82653         [BZ #11837]
82654         * iconvdata/gb18030.c: Update to GB18020-2005.
82656 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
82658         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82659         RE_SYNTAX_POSIX_AWK): Update to match recent development.
82660         Patch by Aharon Robbins <arnold@skeeve.com>.
82662         [BZ #11892]
82663         * stdlib/putenv.c (putenv): Don't always create copy of the variable
82664         on the stack.
82666         [BZ #11895]
82667         * misc/pselect.c (__pselect): Handle timeout value errors hidden
82668         through underflows.
82670         [BZ #12766]
82671         * misc/error.c (error_at_line): Ensure file_name and old_file_name
82672         point to strings before performing equality test for error_one_per_line
82673         mode.
82675         [BZ #11697]
82676         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82678         [BZ #11820]
82679         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82680         (struct user_fpregs_struct): Avoid __uint*_t types.
82682         [BZ #6420]
82683         * malloc/mtrace.c (tr_where): Add additional parameter to point to
82684         symbol info.  Use it instead of calling _dl_addr locally.
82685         (lock_and_info): New function.
82686         (tr_freehook): Call lock_and_info and pass symbol info as additional
82687         parameter to tr_where.
82688         (tr_mallochook): Likewise.
82689         (tr_reallochook): Likewise.
82690         (tr_memalignhook): Likewise.
82692         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
82693         used and couldn't be at all thread-safe.
82695 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
82697         * libio/freopen.c (freopen): Don't close old file descriptor
82698         before the new one is opened.  Instead dup the new file descriptor
82699         to the old one after the new stream is created.
82700         * libio/freopen64.c (freopen64): Likewise.
82701         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82702         * libio/fileops.c (_IO_new_file_close_it): Handle new
82703         _IO_FLAGS2_NOCLOSE flag.
82704         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82705         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82706         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82707         _IO_FLAGS2_NOCLOSE flag.
82708         * include/unistd.h: Add hidden_proto for dup3.
82709         Define __have_dup3.
82710         * io/dup3.c: Define hidden symbol.
82711         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82713         [BZ #7101]
82714         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82715         when an incomplete long option is used.
82716         * posix/tst-getopt_long1.c: New file.
82717         * posix/Makefile (tests): Add tst-getopt_long1.
82719         [BZ #10138]
82720         * scripts/config.guess: Update from autoconf-2.68.
82721         * scripts/config.sub: Likewise.
82723         [BZ #10157]
82724         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82725         tests into ...
82726         (has_cpuclock): ...this.  New function.
82727         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82728         macro here based on has_cpuclock code.
82730         [BZ #10149]
82731         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82732         First byte (not low byte) is now always NUL.
82733         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82735         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82736         Use non-cancelable interfaces.
82738         [BZ #9809]
82739         * locale/iso-639.def: Add entry for Sorani.
82741         [BZ #11901]
82742         * include/stdlib.h: Move include protection to the right place.
82743         Define abort_msg_s.  Declare __abort_msg with it.
82744         * stdlib/abort.c (__abort_msg): Adjust type.
82745         * assert/assert.c (__assert_fail_base): New function.  Majority
82746         of code from __assert_fail.  Allocate memory for __abort_msg with
82747         mmap.
82748         (__assert_fail): Now call __assert_fail_base.
82749         * assert/assert-perr.c: Remove bulk of implementation.  Use
82750         __assert_fail_base.
82751         * include/assert.hL Declare __assert_fail_base.
82752         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82753         mmap.
82754         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82756 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
82758         [BZ #11952]
82759         [BZ #12453]
82760         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82761         until all modules are registered in the DTV.
82762         * elf/Makefile: Add rules to build and run tst-tls19.
82763         * elf/tst-tls19.c: New file.
82764         * elf/tst-tls19mod1.c: New file.
82765         * elf/tst-tls19mod2.c: New file.
82766         * elf/tst-tls19mod3.c: New file.
82767         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82769         [BZ #12083]
82770         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82771         correctly.
82773         [BZ #12601]
82774         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82775         two-byte sequence errors.
82776         * iconvdata/Makefile (tests): Add bug-iconv8.
82777         * iconvdata/bug-iconv8.c: New file.
82779         [BZ #12626]
82780         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82781         buf2 definition.
82783         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82785         [BZ #12432]
82786         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82787         (dummy_getcfa): New function.
82788         (init): Get _Unwind_GetCFA address, use dummy if not found.
82789         (backtrace_helper): In recursion check, also check whether CFA changes.
82790         (__backtrace): Completely initialize arg.
82792         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82793         storing incomplete byte sequence in state object.  Avoid testing for
82794         guaranteed too small input if we know there is enough data available.
82796 2011-05-11  Andreas Schwab  <schwab@redhat.com>
82798         * Makeconfig (+link-pie): Indent.
82799         * Rules (binaries-pie): Define if $(have-fpie) and
82800         $(build-shared).
82801         (binaries-shared): Also filter out $(binaries-pie).
82802         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82803         * nscd/Makefile (others-pie): Add nscd.
82804         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82805         ($(objpfx)nscd): Remove command override.
82806         * login/Makefile (others-pie): Add pt_chown.
82807         ($(objpfx)pt_chown): Remove command override.
82808         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82809         remove command overrides.
82811 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
82813         * libio/tst_putwc.c: Fix error messages.
82815         [BZ #12724]
82816         * libio/fileops.c (_IO_new_file_close_it): Always flush when
82817         currently writing and seek to current position when not.
82818         * libio/Makefile (tests): Add bug-fclose1.
82819         * libio/bug-fclose1.c: New file.
82821 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
82823         [BZ #12511]
82824         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82825         don't set DF_1_NODELETE here.
82826         (do_lookup_x): When entering new entry test for copy relocation
82827         and if necessary set DF_1_NODELETE flag.
82828         * elf/tst-unique4.cc: New file.
82829         * elf/tst-unique4.h: New file.
82830         * elf/tst-unique4lib.cc: New file.
82831         * elf/Makefile: Add rules to build and run tst-unique4.
82832         Patch by Piotr Bury <pbury@goahead.com>.
82834 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
82836         [BZ #12052]
82837         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82839         [BZ #12625]
82840         * misc/mntent_r.c (addmntent): Flush the stream after the output
82842         [BZ #12393]
82843         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82844         (is_trusted_path_normalize): Skip initial colon.  Append slash
82845         to empty buffer.  Duplicate is_trusted_path code but allow
82846         constructed patch to be prefix.
82847         (is_dst): Allow $ORIGIN followed by /.
82848         (_dl_dst_substitute): Correct clearing of check_for_trusted.
82849         Correct testing of result of is_trusted_path_normalize
82850         (decompose_rpath): Fix warning.
82852 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
82854         [BZ #11257]
82855         * grp/initgroups.c (internal_getgrouplist): When we found the service
82856         list through the initgroups entry in nsswitch.conf do not always
82857         continue on a successful lookup.  Don't always use the
82858         __nss_group_database value if it is set.
82859         * nss/nsswitch.conf (initgroups): Change action for successful db
82860         lookup to continue for compatibility.
82862 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
82864         [BZ #11532]
82865         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82866         and CP774 modules.
82867         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82868         and CP774 modules.
82869         * iconvdata/tst-tables.sh: Likewise.
82870         * iconvdata/cp770.c: New file.
82871         * iconvdata/cp771.c: New file.
82872         * iconvdata/cp772.c: New file.
82873         * iconvdata/cp773.c: New file.
82874         * iconvdata/cp774.c: New file.
82875         * iconvdata/testdata/CP770: New file.
82876         * iconvdata/testdata/CP770..UTF8: New file.
82877         * iconvdata/testdata/CP771: New file.
82878         * iconvdata/testdata/CP771..UTF8: New file.
82879         * iconvdata/testdata/CP772: New file.
82880         * iconvdata/testdata/CP772..UTF8: New file.
82881         * iconvdata/testdata/CP773: New file.
82882         * iconvdata/testdata/CP773..UTF8: New file.
82883         * iconvdata/testdata/CP774: New file.
82884         * iconvdata/testdata/CP774..UTF8: New file.
82886         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82887         END CHARMAP line.
82888         * iconvdata/gen-8bit-gap.sh: Likewise.
82889         * iconvdata/gen-8bit.sh: Likewise.
82891         * locale/iso-639.def: Add ary entry.
82893         [BZ #11258]
82894         * locale/C-translit.h.in: Add U20A1 transliteration.
82896         [BZ #12178]
82897         * locale/iso-639.def: Add wae entry.
82898         Patch by Kevin Bortis <bortis@translate-wae.ch>.
82900         [BZ #12545]
82901         * locale/programs/localedef.c (construct_output_path): Use ssize_t
82902         for n.
82904         [BZ #12711]
82905         * locale/C-translit.h.in: Add entry for U20B9.
82906         Patch by pravin.d.s@gmail.com.
82908 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
82910         [BZ #12713]
82911         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82912         ENAMETOOLONG use generic getcwd.
82913         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
82914         in rtld.  Use *stat64.
82915         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82916         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82917         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82918         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82919         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82920         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82921         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82922         __fstatat64 macros.
82923         * include/dirent.h: Add libc_hidden_proto for rewinddir.
82924         * dirent/rewinddir.c: Add libc_hidden_def.
82925         * sysdeps/mach/hurd/rewinddir.c: Likewise.
82926         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
82928         * include/dirent.h (__alloc_dir): Add flags parameter.
82929         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82930         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82931         __alloc_dir.
82932         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
82933         from fdopendir if O_CLOEXEC is already set.
82935 2011-03-15  Alan Modra  <amodra@gmail.com>
82937         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82938         l_tls_firstbyte_offset non-zero.  Save padding offset in
82939         l_tls_firstbyte_offset for later use.
82940         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82941         freeing static tls block.
82943 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
82945         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82946         where #ifdef was intended.  The intent is to prevent ARG_MAX from
82947         being defined by the kernel headers.
82949 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
82951         [BZ #12734]
82952         * resolv/resolv.h: Define RES_NOTLDQUERY.
82953         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82954         no-tld-query and set RES_NOTLDQUERY.
82955         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82956         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82957         modern BIND to search name as TLD unless forbidden.
82959 2011-05-07  Petr Baudis  <pasky@suse.cz>
82960             Ulrich Drepper  <drepper@gmail.com>
82962         [BZ #12393]
82963         * elf/dl-load.c (fillin_rpath): Move trusted path check...
82964         (is_trusted_path): ...to here.
82965         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82966         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82967         using is_trusted_path_normalize() in setuid scripts.
82969 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82971         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82972         __BEGIN/__END_DECLS.
82974 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
82976         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82977         NSS_STATUS_NOTFOUND if no record was found.
82979 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82981         * sunrpc/Makefile (headers): Add rpc/netdb.h.
82982         (headers-not-in-tirpc): Remove rpc/netdb.h
82983         * resolv/netdb.h: Revert last change.
82985 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82987         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
82988         circular dependency between libgcc.a and libc.a.
82990 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82992         * resolv/netdb.h: Don't include <rpc/netdb.h>.
82993         * nis/Makefile: Don't install rpcsvc/*.
82994         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
82995         instead of <rpc/types.h>.
82996         (MAXHOSTNAMELEN): Define.
82998 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83000         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83002 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83004         [BZ #12714]
83005         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83006         gethostbyname4_r when IPv6 results are possible.
83008 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83010         [BZ #12723]
83011         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83012         _PC_PIPE_BUF handling.
83014 2011-04-30  Bruno Haible  <bruno@clisp.org>
83016         [BZ #12717]
83017         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83018         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83019         to 'int'.
83020         * inet/getnameinfo.c (getnameinfo): Likewise.
83022 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83024         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83025         to groups setting in database lookup.
83026         * nss/nsswitch.conf: Add initgroups entry.
83028 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83030         [BZ #12685]
83031         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83032         mode string.
83033         Patch by Eric Blake <eblake@redhat.com>.
83035 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83037         * sunrpc/Makefile (need-export-routines): Add svc_run.
83038         (routines): Remove svc_run.
83039         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83040         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83041         * sunrpc/svc_run.c (svc_run): Likewise.
83042         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83044 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83046         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83047         problem in reallocation in last patch.
83049 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83051         * sunrpc/Makefile: Move inclusion of Rules.
83053 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83055         * nss/nss_files/files-initgroups.c: New file.
83056         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83057         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83058         _nss_files_initgroups_dyn.
83060 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83062         * elf/elf.h (R_ARM_IRELATIVE): Define.
83064 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83066         * po/ru.po: Update from translation team.
83068 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83070         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83071         dependencies.
83073 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83075         [BZ #12653]
83076         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83077         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83078         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83079         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83080         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83082 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83084         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83085         differing bytes.
83086         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83087         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83088         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83090 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83092         [BZ #12420]
83093         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83094         storing it.
83095         * stdlib/bug-getcontext.c: New file.
83096         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83098 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83100         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83101         instructions into .machine "z9-109".
83102         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83103         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83105 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83107         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83108         between environment variables and auxiliary vector.
83110 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83112         * Makefile: Add rules to build linkobj/libc.so.
83113         * include/libc-symbols.h: Define libc_hidden_nolink.
83114         * include/rpc/auth.h: Mark functions which are to be hidden.
83115         * include/rpc/auth_des.h: Likewise.
83116         * include/rpc/auth_unix.h: Likewise.
83117         * include/rpc/clnt.h: Likewise.
83118         * include/rpc/des_crypt.h: Likewise.
83119         * include/rpc/key_prot.h: Likewise.
83120         * include/rpc/pmap_clnt.h: Likewise.
83121         * include/rpc/pmap_prot.h: Likewise.
83122         * include/rpc/pmap_rmt.h: Likewise.
83123         * include/rpc/rpc_msg.h: Likewise.
83124         * include/rpc/svc.h: Likewise.
83125         * include/rpc/svc_auth.h: Likewise.
83126         * include/rpc/xdr.h: Likewise.
83127         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83128         * nss/Makefile: Likewise.
83129         * sunrpc/Makefile: Don't install headers.  Build library with normal
83130         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83131         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83132         for the compat linking library.  Remove use of INTDEF/INTUSE.
83133         * sunrpc/auth_none.c: Likewise.
83134         * sunrpc/auth_unix.c: Likewise.
83135         * sunrpc/authdes_prot.c: Likewise.
83136         * sunrpc/authuxprot.c: Likewise.
83137         * sunrpc/clnt_gen.c: Likewise.
83138         * sunrpc/clnt_perr.c: Likewise.
83139         * sunrpc/clnt_raw.c: Likewise.
83140         * sunrpc/clnt_simp.c: Likewise.
83141         * sunrpc/clnt_tcp.c: Likewise.
83142         * sunrpc/clnt_udp.c: Likewise.
83143         * sunrpc/clnt_unix.c: Likewise.
83144         * sunrpc/des_crypt.c: Likewise.
83145         * sunrpc/des_soft.c: Likewise.
83146         * sunrpc/get_myaddr.c: Likewise.
83147         * sunrpc/key_call.c: Likewise.
83148         * sunrpc/key_prot.c: Likewise.
83149         * sunrpc/netname.c: Likewise.
83150         * sunrpc/pm_getmaps.c: Likewise.
83151         * sunrpc/pm_getport.c: Likewise.
83152         * sunrpc/pmap_clnt.c: Likewise.
83153         * sunrpc/pmap_prot.c: Likewise.
83154         * sunrpc/pmap_prot2.c: Likewise.
83155         * sunrpc/pmap_rmt.c: Likewise.
83156         * sunrpc/publickey.c: Likewise.
83157         * sunrpc/rpc_cmsg.c: Likewise.
83158         * sunrpc/rpc_common.c: Likewise.
83159         * sunrpc/rpc_dtable.c: Likewise.
83160         * sunrpc/rpc_prot.c: Likewise.
83161         * sunrpc/rpc_thread.c: Likewise.
83162         * sunrpc/rtime.c: Likewise.
83163         * sunrpc/svc.c: Likewise.
83164         * sunrpc/svc_auth.c: Likewise.
83165         * sunrpc/svc_authux.c: Likewise.
83166         * sunrpc/svc_raw.c: Likewise.
83167         * sunrpc/svc_run.c: Likewise.
83168         * sunrpc/svc_simple.c: Likewise.
83169         * sunrpc/svc_tcp.c: Likewise.
83170         * sunrpc/svc_udp.c: Likewise.
83171         * sunrpc/svc_unix.c: Likewise.
83172         * sunrpc/svcauth_des.c: Likewise.
83173         * sunrpc/xcrypt.c: Likewise.
83174         * sunrpc/xdr.c: Likewise.
83175         * sunrpc/xdr_array.c: Likewise.
83176         * sunrpc/xdr_float.c: Likewise.
83177         * sunrpc/xdr_intXX_t.c: Likewise.
83178         * sunrpc/xdr_mem.c: Likewise.
83179         * sunrpc/xdr_rec.c: Likewise.
83180         * sunrpc/xdr_ref.c: Likewise.
83181         * sunrpc/xdr_sizeof.c: Likewise.
83182         * sunrpc/xdr_stdio.c: Likewise.
83184 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83186         [BZ #12650]
83187         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83188         * sysdeps/ia64/dl-tls.h: Likewise.
83189         * sysdeps/powerpc/dl-tls.h: Likewise.
83190         * sysdeps/s390/dl-tls.h: Likewise.
83191         * sysdeps/sh/dl-tls.h: Likewise.
83192         * sysdeps/sparc/dl-tls.h: Likewise.
83193         * sysdeps/x86_64/dl-tls.h: Likewise.
83194         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83196 2011-03-14  Andreas Schwab  <schwab@redhat.com>
83198         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83199         rpath element also skip the following colon.
83200         (expand_dynamic_string_token): Add is_path parameter and pass
83201         down to DL_DST_REQUIRED and _dl_dst_substitute.
83202         (decompose_rpath): Call expand_dynamic_string_token with
83203         non-zero is_path.  Ignore empty rpaths.
83204         (_dl_map_object_from_fd): Call expand_dynamic_string_token
83205         with zero is_path.
83207 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
83209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83210         Make cancelable.
83212 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
83214         [BZ #12655]
83215         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83216         Patch by Filipe David Manana <fdmanana@apache.org>.
83218 2011-04-07  Andreas Schwab  <schwab@redhat.com>
83220         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83221         Maintain aligned stack.
83222         (CHECK_RSP): Remove unused macro.
83224 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
83226         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83227         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83229 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
83231         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83233         * include/features.h: Mention __USE_XOPEN2K8 in comment.
83235 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
83237         [BZ #12518]
83238         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83239         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83240         * sysdeps/x86_64/memmove.c: New file.
83241         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83242         (memcpy): Renamed to ...
83243         (__new_memcpy): This.
83244         (memcpy): Provide GLIBC_2_14 memcpy.
83245         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83246         (memcpy): Provide GLIBC_2_2_5 memcpy.
83248 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83250         [BZ #12631]
83251         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83253 2011-03-30  Andreas Schwab  <schwab@redhat.com>
83255         * misc/syncfs.c: New file.
83256         * misc/Makefile (routines): Add syncfs.
83257         * posix/unistd.h: Declare syncfs.
83258         * sysdeps/unix/syscalls.list: Add syncfs.
83260 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83262         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83263         open_by_handle_at.
83264         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83265         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83266         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83267         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83268         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83269         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83270         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83272 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83274         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83275         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83276         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83278         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83280         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83282         * io/Makefile: Compile fallocate.c, fallocate64.c, and
83283         sync_file_range.c with -fexceptions.
83284         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83285         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83286         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83287         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83288         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83289         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83290         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83291         sync_file_range as cancellation point
83292         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
83293         now a wrapper around __call_sync_file_range with cancellation handling.
83294         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83295         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
83296         function name to __call_sync_file_range.
83297         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83298         Add call_sync_file_range.
83300 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83303         bits/timex.h.
83305 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83307         * iconv/iconv.h: Fix typo in comment.
83308         * io/fcntl.h: Likewise.
83309         * libio/stdio.h: Likewise.
83310         * posix/spawn.h: Likewise.
83311         * posix/unistd.h: Likewise.
83312         * stdlib/stdlib.h: Likewise.
83313         * time/time.h: Likewise.
83314         * wcsmbs/wchar.h: Likewise.
83316         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83317         open_by_handle): Add.
83318         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83319         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
83320         Augment a few comments.
83321         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83322         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83323         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83324         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83325         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83326         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83327         open_by_handle.
83329         * io/fcntl.h (AT_EMPTY_PATH): Define.
83331 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
83333         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83334         * sysdeps/unix/sysv/linux/bits/time.h: New file.
83335         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83336         to...
83337         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
83338         * Versions.def: Add GLIBC_2.14.
83339         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83340         Export.
83342 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
83344         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83345         round counter.
83346         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83348 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83350         [BZ #12597]
83351         * string/test-strncmp.c (do_page_test): New function.
83352         (check2): Likewise.
83353         (test_main): Call check2.
83354         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83356 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
83358         [BZ #12587]
83359         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83360         Handle cache information in CPU leaf 4.
83361         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83363 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
83365         [BZ #12583]
83366         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83367         character representation.
83368         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83370 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
83372         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83373         END(__isnan) to END(__isnanf) to match function entry point/label
83374         EALIGN(__isnanf,...).
83376 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
83378         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83380 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
83382         [BZ #12510]
83383         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83384         copy from the symbol referenced in the relocation to initialize the
83385         used variable.
83386         Patch by Piotr Bury <pbury@goahead.com>.
83387         * elf/Makefile: Add rules to build and tst-unique3.
83388         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83389         * elf/tst-unique3.cc: New file.
83390         * elf/tst-unique3.h: New file.
83391         * elf/tst-unique3lib.cc: New file.
83392         * elf/tst-unique3lib2.cc: New file.
83394         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83396 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
83398         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83399         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
83400         to _start.
83402 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
83404         * elf/dl-load.c (_dl_map_object): If we are looking for the first
83405         to-be-loaded object along a path to loader is ld.so.
83407 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83408             Ulrich Drepper  <drepper@gmail.com>
83410         * sysdeps/x86_64/memset.S: After aligning destination, code
83411         branches to different locations depending on the value of
83412         misalignment, when multiarch is enabled. Fix this.
83414 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83416         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83417         Set _x86_64_preferred_memory_instruction for AMD processsors.
83418         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83419         Set bit_Prefer_SSE_for_memop for AMD processors.
83421 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
83423         * libio/fmemopen.c (fmemopen): Optimize a bit.
83425 2011-03-03  Andreas Schwab  <schwab@redhat.com>
83427         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83429 2011-03-03  Roland McGrath  <roland@redhat.com>
83431         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83433 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
83435         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83436         __bzero_ultra1 instead of __memset_ultra1.
83438 2011-02-23  Andreas Schwab  <schwab@redhat.com>
83439             Ulrich Drepper  <drepper@gmail.com>
83441         [BZ #12509]
83442         * include/link.h (struct link_map): Add l_orig_initfini.
83443         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83444         returning unsuccessfully.
83445         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83446         close of a file loaded at startup, restore the original l_initfini
83447         list.
83448         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83449         list, store the pointer.
83450         * elf/Makefile ($(objpfx)noload-mem): New rule.
83451         (noload-ENV): Define.
83452         (tests): Add $(objpfx)noload-mem.
83453         * elf/noload.c: Include <memcheck.h>.
83454         (main): Call mtrace.  Close all opened handles.
83456 2011-02-17  Andreas Schwab  <schwab@redhat.com>
83458         [BZ #12454]
83459         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83460         dependencies are missing.
83462 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83464         Fix __if_freereq crash: Unlike the generic version which uses free,
83465         Hurd needs munmap.
83466         * sysdeps/mach/hurd/ifreq.h: New file.
83468 2011-01-27  Petr Baudis  <pasky@suse.cz>
83469             Ulrich Drepper  <drepper@gmail.com>
83471         [BZ 12445]#
83472         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83473         to extend_alloca().
83474         * stdio-common/bug23.c: New file.
83475         * stdio-common/Makefile (tests): Add bug23.
83477 2010-09-28  Andreas Schwab  <schwab@redhat.com>
83478             Ulrich Drepper  <drepper@gmail.com>
83480         [BZ #12489]
83481         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83482         before performing relro protection.  At old place add assertion
83483         to make sure nothing changed.
83485 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
83486             Glauber de Oliveira Costa  <glommer@gmail.com>
83488         * elf/elf.h: Add new ARM TLS relocs.
83490 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
83492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83493         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83494         cast from r3.
83495         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
83496         'tests' variable.
83497         * sysdeps/wordsize-64/tst-writev.c: New file.
83499 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
83501         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83502         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83503         insns in _dl_start to prevent a TOC reference before relocs are
83504         resolved.
83506 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
83508         [BZ #12469]
83509         * Makeconfig: Remove RANLIB definition.
83510         * Makerules: Don't use RANLIB.
83511         * aclocal.m4: Remove ranlib test.
83512         * configure.in: No need to check for ranlib.
83513         * elf/rtld-Rules: Don't use RANLIB.
83515 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83517         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83518         protection macro.
83519         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83520         inclusion protection macro.
83522         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83523         SIGRTMIN and SIGRTMAX and print information in that case only when
83524         SIGRTMIN is defined.
83526 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
83528         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83529         arginfo fn returning -1.
83531         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83532         and thousands string is zero terminated.
83534 2011-02-03  Andreas Schwab  <schwab@redhat.com>
83536         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83537         sysdeps/unix/sysv/linux/bits/socket.h.
83539 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83541         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83542         (__CPU_COUNT): Remove old macros.
83543         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83544         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83545         (__CPU_ALLOC, __CPU_FREE): Add macros.
83546         (__sched_cpualloc, __sched_cpufree): Add declarations.
83548 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
83550         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83551         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83552         * nscd/aicache.c (addhstaiX): Return timeout of added value.
83553         (readdhstai): Return value of addhstaiX call.
83554         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83555         (addgrbyX): Return value returned by cache_addgr.
83556         (readdgrbyname): Return value returned by addgrbyX.
83557         (readdgrbygid): Likewise.
83558         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83559         (addpwbyX): Return value returned by cache_addpw.
83560         (readdpwbyname): Return value returned by addhstbyX.
83561         (readdpwbyuid): Likewise.
83562         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83563         (addservbyX): Return value returned by cache_addserv.
83564         (readdservbyname): Return value returned by addservbyX:
83565         (readdservbyport): Likewise.
83566         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83567         (addhstbyX): Return value returned by cache_addhst.
83568         (readdhstbyname): Return value returned by addhstbyX.
83569         (readdhstbyaddr): Likewise.
83570         (readdhstbynamev6): Likewise.
83571         (readdhstbyaddrv6): Likewise.
83572         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83573         (readdinitgroups): Return value returned by addinitgroupsX.
83574         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83575         (prune_cache): Keep track of timeout value of re-added entries.
83576         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83577         * nscd/nscd.h: Adjust prototypes of readd* functions.
83579 2011-02-04  Roland McGrath  <roland@redhat.com>
83581         * nis/nis_server.c (nis_servstate): Use the right name for 0.
83582         (nis_stats): Likewise.
83583         * nis/nis_modify.c (nis_modify): Likewise.
83584         * nis/nis_remove.c (nis_remove): Likewise.
83585         * nis/nis_add.c (nis_add): Likewise.
83587         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83589         * posix/fnmatch_loop.c: Add some consts.
83591         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83593 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
83595         [BZ #12460]
83596         * config.make.in (config-cflags-novzeroupper): Define.
83597         * configure.in: Substitute libc_cv_cc_novzeroupper.
83598         * elf/Makefile (AVX-CFLAGS): Define.
83599         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83600         (CFLAGS-tst-auditmod4a.c): Likewise.
83601         (CFLAGS-tst-auditmod4b.c): Likewise.
83602         (CFLAGS-tst-auditmod6b.c): Likewise.
83603         (CFLAGS-tst-auditmod6c.c): Likewise.
83604         (CFLAGS-tst-auditmod7b.c): Likewise.
83605         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83607 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
83609         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83610         function to the callback.
83611         Patch partly by Jiri Olsa <jolsa@redhat.com>.
83613 2011-02-02  Andreas Schwab  <schwab@redhat.com>
83615         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83616         of errno.
83618 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
83620         [BZ #11724]
83621         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83622         of constructors.
83623         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83624         of destructors.
83625         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83627         [BZ #11724]
83628         * elf/Makefile: Add rules to build and run new test.
83629         * elf/tst-initorder.c: New file.
83630         * elf/tst-initorder.exp: New file.
83631         * elf/tst-initordera1.c: New file.
83632         * elf/tst-initordera2.c: New file.
83633         * elf/tst-initordera3.c: New file.
83634         * elf/tst-initordera4.c: New file.
83635         * elf/tst-initorderb1.c: New file.
83636         * elf/tst-initorderb2.c: New file.
83637         * elf/tst-order-a1.c: New file.
83638         * elf/tst-order-a2.c: New file.
83639         * elf/tst-order-a3.c: New file.
83640         * elf/tst-order-a4.c: New file.
83641         * elf/tst-order-b1.c: New file.
83642         * elf/tst-order-b2.c: New file.
83643         * elf/tst-order-main.c: New file.
83644         New test case by George Gensure <werkt0@gmail.com>.
83646 2010-10-01  Andreas Schwab  <schwab@redhat.com>
83648         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83649         decoding ACE if AI_CANONIDN.
83651 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
83653         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83655 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
83657         * version.h (RELEASE): Bump for 2.13 release.
83658         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83660         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83662         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83663         MADV_NOHUGEPAGE.
83664         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83665         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83666         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83667         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83668         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83669         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83671         * posix/getconf.c: Update copyright year.
83672         * catgets/gencat.c: Likewise.
83673         * csu/version.c: Likewise.
83674         * debug/catchsegv.sh: Likewise.
83675         * debug/xtrace.sh: Likewise.
83676         * elf/ldconfig.c: Likewise.
83677         * elf/ldd.bash.in: Likewise.
83678         * elf/sprof.c (print_version): Likewise.
83679         * iconv/iconv_prog.c: Likewise.
83680         * iconv/iconvconfig.c: Likewise.
83681         * locale/programs/locale.c: Likewise.
83682         * locale/programs/localedef.c: Likewise.
83683         * malloc/memusage.sh: Likewise.
83684         * malloc/mtrace.pl: Likewise.
83685         * nscd/nscd.c (print_version): Likewise.
83686         * nss/getent.c: Likewise.
83688         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83689         PF_CAIF, and PF_ALG.
83690         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83692 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
83694         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83695         (modules-names): Use them.
83696         (ifunc-test-modules, ifunc-pie-tests): Define.
83697         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83698         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83699         (test-extras): Likewise.
83700         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83701         $(compile-command.c).
83702         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83703         (all-built-dso): Define.
83704         (check-textrel.out, check-execstack.out): Depend on it.
83706         * configure.in: Don't override --enable-multi-arch.
83708 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
83710         [BZ #6812]
83711         * nscd/hstcache.c (tryagain): Define.
83712         (cache_addhst): Return tryagain not notfound for temporary errors.
83713         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83714         failed.
83716 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
83718         [BZ #10563]
83719         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83720         to make the syscall.
83721         * sysdeps/unix/sysv/linux/setgroups.c: New file.
83723         [BZ #12378]
83724         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83725         and fall back to matching as normal character if the string ends before
83726         the matching ']' is found.  This is what POSIX requires.
83727         * posix/testfnm.c: Adjust test result.
83728         * posix/globtest.sh: Adjust test result.  Add new test.
83729         * posix/tst-fnmatch.input: Likewise.
83730         * posix/tst-fnmatch2.c: Add new test.
83732 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
83734         * elf/Makefile (check-execstack): Revert last change.  Depend on
83735         check-execstack.h.
83736         (check-execstack.h): New target.
83737         (generated): Add check-execstack.h.
83738         * elf/check-execstack.c: Include "check-execstack.h".
83739         (main): Revert last change.
83740         (handle_file): Return zero if GNU_STACK is absent and
83741         DEFAULT_STACK_PERMS doesn't include PF_X.
83743 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
83745         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83746         in child fails because the descriptor is already closed.
83747         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83748         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83749         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83751         [BZ #12397]
83752         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83753         syscall.
83755         [BZ #10484]
83756         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83757         temporary buffer used to handle multi lookups locally.
83758         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83760 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83762         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83763         loader is ld.so.
83765 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
83767         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83768         alignment for SSE2.
83770 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83772         [BZ #12394]
83773         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83774         characters.  When rounding increased number of integer digits recompute
83775         number of groups.
83776         * stdio-common/tst-grouping.c: New file.
83777         * stdio-common/Makefile: Add rules to build and run tst-grouping.
83779 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
83781         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83782         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
83784         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83785         void.
83786         * bits/select.h: Likewise.
83788 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
83790         * po/ja.po: Update from translation team.
83792 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
83794         [BZ #11155]
83795         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83796         implementation just like for lxstat, fxstatat, et al.
83798 2010-12-27  Jim Meyering  <meyering@redhat.com>
83800         [BZ #12348]
83801         * posix/regexec.c (build_trtable): Return failure indication upon
83802         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
83804 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
83806         [BZ #12201]
83807         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83808         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83809         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83810         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83812         [BZ #12207]
83813         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83815         [BZ #12204]
83816         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83817         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83819 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
83821         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83822         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83823         script has SORT_BY_INIT_PRIORITY.
83824         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83825         NO_CTORS_DTORS_SECTIONS is defined.
83826         * elf/soinit.c: Likewise.
83827         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83828         NO_CTORS_DTORS_SECTIONS is defined.
83829         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83830         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83831         * sysdeps/sh/init-first.c: Likewise.
83832         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83834 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
83836         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83837         always use the slow path.
83839 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
83841         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83842         similar rule which adds the sysdep directories to the header search in
83843         order to pick up the correct platform stackinfo.h.
83844         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83845         perform test if it is, otherwise return successfully without testing.
83846         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83847         DEFAULT_STACK_PERMS define in stackinfo.h.
83848         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83849         defined in stackinfo.h.
83850         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83851         DEFAULT_STACK_PERMS defined in stackinfo.h.
83852         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83853         * sysdeps/ia64/stackinfo.h: Likewise.
83854         * sysdeps/s390/stackinfo.h: Likewise.
83855         * sysdeps/sh/stackinfo.h: Likewise.
83856         * sysdeps/sparc/stackinfo.h: Likewise.
83857         * sysdeps/x86_64/stackinfo.h: Likewise.
83858         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83859         PF_X for powerpc64.  Retain PF_X for powerpc32.
83861 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
83863         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83864         accurately.
83865         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83866         GETDENTS_64BIT_ALIGNED.
83868 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
83870         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83872 2010-12-10  Andreas Schwab  <schwab@redhat.com>
83874         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83875         _GNU_SOURCE.
83877         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83878         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83879         Remove __restrict.
83880         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83881         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83883 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
83885         [BZ #11655]
83886         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83887         are initialized.
83889 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
83891         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83893 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
83895         * po/it.po: Update from translation team.
83897 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
83899         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83900         unused codes.
83902 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
83904         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83906 2010-11-24  Andreas Schwab  <schwab@redhat.com>
83908         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83909         specially.
83910         (gaih_getanswer_slice): Likewise.
83912 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
83914         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83916 2010-05-31  Petr Baudis  <pasky@suse.cz>
83918         [BZ #11149]
83919         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83920         silently even in the chroot mode.
83922 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
83924         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83925         last patch a bit.  Pretty printing
83927 2010-05-31  Petr Baudis <pasky@suse.cz>
83929         [BZ #10085]
83930         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83931         initialization of skip_initgroups_dyn.
83933 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
83935         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83936         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83938 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
83940         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83942 2010-11-11  Andreas Schwab  <schwab@redhat.com>
83944         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83945         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83946         (tst-fnmatch-ENV): Set MALLOC_TRACE.
83947         ($(objpfx)tst-fnmatch-mem): New rule.
83948         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83949         * posix/tst-fnmatch.c (main): Call mtrace.
83951 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
83953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83954         Support Intel processor model 6 and model 0x2c.
83956 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
83958         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83959           signed comparison.
83961 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
83963         [BZ #12205]
83964         * string/test-strncasecmp.c (check_result): New function.
83965         (do_one_test): Use it.
83966         (check1): New function.
83967         (test_main): Use it.
83968         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83969         Support strcasecmp and strncasecmp.
83971 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
83973         [BZ #12194]
83974         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83975         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83977 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
83979         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83980         IFUNC support.
83981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83982         memset-x86-64.
83983         * sysdeps/x86_64/multiarch/bzero.S: New file.
83984         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83985         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83986         * sysdeps/x86_64/multiarch/memset.S: New file.
83987         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
83988         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83989         Set bit_Prefer_SSE_for_memop for Intel processors.
83990         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
83991         Define.
83992         (index_Prefer_SSE_for_memop): Define.
83993         (HAS_PREFER_SSE_FOR_MEMOP): Define.
83995 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
83997         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
83998         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84000 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84002         [BZ #12191]
84003         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84004         (__x86_64_raw_data_cache_size_half): Likewise.
84005         (__x86_64_raw_shared_cache_size): Likewise.
84006         (__x86_64_raw_shared_cache_size_half): Likewise.
84008         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84009         (__x86_64_raw_data_cache_size_half): Likewise.
84010         (__x86_64_raw_shared_cache_size): Likewise.
84011         (__x86_64_raw_shared_cache_size_half): Likewise.
84012         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84013         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84014         and __x86_64_raw_shared_cache_size_half.  Round
84015         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84016         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84017         to multiple of 256 bytes.
84019 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84021         [BZ #12167]
84022         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84023         of inacessible symlinks.  Verify result of symlink before returning it.
84024         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84025         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84027 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84029         * math/math.h (isinf): Fix typo in comment.
84031 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84033         * po/da.po: Update from translation team.
84035 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84037         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84038         is added to the list.
84040 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84041             Ulrich Drepper  <drepper@gmail.com>
84043         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84044         the global list here.  Move code to...
84045         (_dl_add_to_namespace_list): ...here.  New function.
84046         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84047         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84048         * elf/dl-load.c (lose): Don't remove the element from the list.
84049         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84050         (_dl_map_object): Likewise.
84052 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84054         [BZ #12159]
84055         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84056         into all bytes of SSE register.
84057         Patch by Richard Li <richardpku@gmail.com>.
84059 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84061         [BZ #12140]
84062         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84063         perturbing.
84065 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84067         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84068         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84069         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84070         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84072         submachine.
84073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84075 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84077         * include/dlfcn.h (__RTLD_SECURE): Define.
84078         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84079         mode & __RTLD_SECURE instead.
84080         (open_path): Rename preloaded parameter to secure.
84081         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84082         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84083         * elf/dl-deps.c (openaux): Likewise.
84084         * elf/rtld.c (struct map_args): Remove is_preloaded.
84085         (map_doit): Don't use it.
84086         (dl_main): Likewise.
84087         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84088         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84090 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84092         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84093         (sysd-rules-targets): Remove duplicates.
84094         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84095         rtld-%.$o dependency.
84097 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84099         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84100         _dl_map_object do it.
84102 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84104         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84105         fast fma builtins, define the macros in the C99 standard.
84106         (FP_FAST_FMAF): Likewise.
84107         (FP_FAST_FMAL): Likewise.
84108         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84110         * bits/mathdef.h: Update copyright year.
84111         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84113 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84115         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84116         builtins, define the macros in the C99 standard.
84117         (FP_FAST_FMAF): Likewise.
84118         (FP_FAST_FMAL): Likewise.
84119         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84120         multiply/add.
84121         (FP_FAST_FMAF): Likewise.
84123 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84125         [BZ #3268]
84126         * math/libm-test.inc (fma_test): Some new testcases.
84127         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84128         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84129         y and infinite z.  Do multiplication by C already in long double.
84130         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84132         y and infinite z.  Do bitwise or of inexact bit into u.d.
84133         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84134         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84135         * sysdeps/i386/fpu/s_fma.S: Removed.
84136         * sysdeps/i386/fpu/s_fmal.S: Removed.
84138 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84140         [BZ #3268]
84141         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84143         computation is not scheduled after fetestexcept.  Fix value
84144         of minimum denormal long double.
84146 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84148         [BZ #3268]
84149         * math/libm-test.inc (fma_test): Add some more tests.
84150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84151         correctly.
84153 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84155         * scripts/data/localplt-s390-linux-gnu.data: New file.
84156         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84158 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84160         [BZ #3268]
84161         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84162         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84163         instead of dbl-64.
84164         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84165         inlines.
84166         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84167         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84168         if one of x and y is very large and the other is subnormal.
84169         * sysdeps/s390/fpu/s_fmaf.c: New file.
84170         * sysdeps/s390/fpu/s_fma.c: New file.
84171         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84172         * sysdeps/powerpc/fpu/s_fma.S: New file.
84173         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84174         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84175         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84177 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84179         [BZ #3268]
84180         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84181         fma tests.
84182         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84183         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84184         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84185         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84186         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84187         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84188         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84190 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84192         [BZ #12078]
84193         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84194         * posix/bug-regex31.input: Add test case.
84196 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84198         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84199         * posix/bug-regex31.input: New file.
84201         [BZ #12078]
84202         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84203         (parse_sub_exp): Fix last change, use postorder.
84205         * posix/bug-regex31.c: New file.
84206         * posix/Makefile: Add rules to build and run bug-regex31.
84208         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84210         [BZ #12078]
84211         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84213         [BZ #12108]
84214         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84215         to have entries in sys_siglist.
84217         [BZ #12093]
84218         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84219         be NULL.
84221 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
84223         [BZ #3268]
84224         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84225         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84226         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84227         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84228         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84229         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84230         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84231         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84232         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84233         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84234         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84235         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84236         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84237         * math/ftestexcept.c (fetestexcept): Likewise.
84238         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84239         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84240         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84241         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84242         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84243         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84244         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84246 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84248         [BZ #12107]
84249         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84250         newline.
84252 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
84254         * string/bug-strstr1.c: New file.
84255         * string/Makefile: Add rules to build and run bug-strstr1.
84257 2010-10-05  Eric Blake  <eblake@redhat.com>
84259         [BZ #12092]
84260         * string/str-two-way.h (two_way_long_needle): Always clear memory
84261         when skipping input due to the shift table.
84263 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
84265         [BZ #12005]
84266         * malloc/mcheck.c: Handle large requests.
84268         [BZ #12077]
84269         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84270         for strncmp and strncasecmp.
84271         * string/stratcliff.c: Add tests for strcmp and strncmp.
84272         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84274 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84276         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84277         __set_fpscr.
84279 2010-09-30  Andreas Jaeger  <aj@suse.de>
84281         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84282         (CGROUP_SUPER_MAGIC): Define.
84283         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84284         Handle btrfs and cgroup file systems.
84285         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84286         Likewise.
84288 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
84290         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84291         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84293 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84295         [BZ #12067]
84296         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84297         trying to locate the ELF header.
84299 2010-09-27  Andreas Schwab  <schwab@redhat.com>
84301         [BZ #11611]
84302         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84303         Mask out sign-bit copies when constructing f_fsid.
84305 2010-09-24  Petr Baudis <pasky@suse.cz>
84307         * debug/stack_chk_fail_local.c: Add missing licence exception.
84308         * debug/warning-nop.c: Likewise.
84310 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
84312         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84313         implementing getdents64 using getdents syscall, set d_type if
84314         __ASSUME_GETDENTS32_D_TYPE.
84316 2010-09-16  Andreas Schwab  <schwab@redhat.com>
84318         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84319         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84321 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
84323         [BZ #12037]
84324         * posix/unistd.h: Undo change of feature selection for ftruncate from
84325         2010-01-11.
84327 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
84329         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84330         detection.
84332 2010-09-20  Andreas Schwab  <schwab@redhat.com>
84334         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84335         fanotify_mark.
84336         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84338 2010-09-14  Andreas Schwab  <schwab@redhat.com>
84340         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84341         variables after CHECK_SP call.
84342         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84344 2010-09-13  Andreas Schwab  <schwab@redhat.com>
84345             Ulrich Drepper  <drepper@redhat.com>
84347         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84348         re-relocationg ld.so.
84349         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84350         _dl_init_paths call.
84351         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
84352         here anymore.
84354 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
84356         * resolv/res_init.c (__res_vinit): Count the default server we added.
84358 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
84359             Ulrich Drepper  <drepper@redhat.com>
84361         [BZ #11968]
84362         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84363         (____longjmp_chk): Use %ebx for saving value across system call.
84364         Add unwind info.
84366 2010-09-06  Andreas Schwab  <schwab@redhat.com>
84368         * manual/Makefile: Don't mix pattern rules with normal rules.
84370 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
84372         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84373         operation.
84374         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84375         * libio/iofopncook.c (_IO_cookie_init): Likewise.
84376         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84377         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84379         Likewise.
84381 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
84383         [BZ #11979]
84384         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84385         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84387 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
84389         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84390         * sysdeps/x86_64/addmul_1.S: Likewise.
84391         * sysdeps/x86_64/lshift.S: Likewise.
84392         * sysdeps/x86_64/mul_1.S: Likewise.
84393         * sysdeps/x86_64/rshift.S: Likewise.
84394         * sysdeps/x86_64/sub_n.S: Likewise.
84395         * sysdeps/x86_64/submul_1.S: Likewise.
84397 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84399         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84400         Define __sched_param instead of SCHED_* and sched_param when
84401         <bits/sched.h> is included with __need_schedparam defined.
84402         * bits/sched.h [__need_schedparam]
84403         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84404         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84405         (__defined_schedparam): Define to 1.
84406         (__sched_param): New structure, identical to sched_param.
84407         (__need_schedparam): Undefine.
84409 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
84411         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84412         (epoll_create1): Declare.
84414         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84416 2010-08-31  Andreas Schwab  <schwab@redhat.com>
84418         [BZ #7066]
84419         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84420         shifting retval into place.
84422 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
84424         * nis/rpcsvc/nis.h: Update copyright notice.
84425         * nis/rpcsvc/nis.x: Likewise.
84426         * nis/rpcsvc/nis_callback.h: Likewise.
84427         * nis/rpcsvc/nis_callback.x: Likewise.
84428         * nis/rpcsvc/nis_object.x: Likewise.
84429         * nis/rpcsvc/nis_tags.h: Likewise.
84430         * nis/rpcsvc/yp.h: Likewise.
84431         * nis/rpcsvc/yp.x: Likewise.
84432         * nis/rpcsvc/ypupd.h: Likewise.
84433         * nis/yp_xdr.c: Likewise.
84434         * nis/ypupdate_xdr.c: Likewise.
84436         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
84437         mainly the body of pmap_getport.  Add parameters to specify timeouts.
84438         (pmap_getport): Use __libc_rpc_getport.
84439         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84440         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84441         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84443 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
84445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84446         fanotify_mark.
84448 2010-08-27  Roland McGrath  <roland@redhat.com>
84450         * sysdeps/i386/i686/multiarch/Makefile
84451         (CFLAGS-varshift.c): New variable.
84453 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
84455         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84456         * sysdeps/i386/i686/multiarch/varshift.c: New file.
84458         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84460         * sysdeps/x86_64/strlen.S: Minimal code improvement.
84462 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
84464         * sysdeps/x86_64/strlen.S: Unroll the loop.
84465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84466         strlen-sse2 strlen-sse2-bsf.
84467         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84468         __strlen_no_bsf if bit_Slow_BSF is set.
84469         (__strlen_sse42): Removed.
84470         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84471         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84473 2010-08-25  Roland McGrath  <roland@redhat.com>
84475         * sysdeps/x86_64/multiarch/varshift.S: File removed.
84476         * sysdeps/x86_64/multiarch/varshift.c: New file.
84477         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84478         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84479         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84480         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84482 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
84484         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84485         strlen-sse2 strlen-sse2-bsf.
84486         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84487         __strlen_sse2_bsf if bit_Slow_BSF is unset.
84488         (__strlen_sse2): Removed.
84489         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84490         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84491         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84492         bit_Slow_BSF for Atom.
84493         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84494         (index_Slow_BSF): Define.
84495         (HAS_SLOW_BSF): Define.
84497 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
84499         [BZ #10851]
84500         * resolv/res_init.c (__res_vinit): When no server address at all
84501         is given default to loopback.
84503 2010-08-24  Roland McGrath  <roland@redhat.com>
84505         * configure.in: Remove config-name.h generation.
84506         * configure: Regenerated.
84507         * config-name.in: File removed.
84508         * scripts/config-uname.sh: New file.
84509         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84510         ($(objdir)config-name.h): New target.
84512         * sunrpc/rpc_parse.h: Avoid nested comment.
84514 2010-08-24  Richard Henderson  <rth@redhat.com>
84515             Ulrich Drepper  <drepper@redhat.com>
84516             H.J. Lu  <hongjiu.lu@intel.com>
84518         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84520         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84521         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
84522         _mm_alignr_epi8 with _mm_loadu_si128.
84523         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84524         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84525         (__m128i_shift_right): Removed.
84526         * sysdeps/i386/i686/multiarch/varshift.h: New file.
84527         * sysdeps/i386/i686/multiarch/varshift.S: New file.
84528         * sysdeps/x86_64/multiarch/varshift.h: New file.
84529         * sysdeps/x86_64/multiarch/varshift.S: New file.
84531 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
84533         * configure.in: Move assembler checks to before sysdep dir checking.
84535 2010-08-20  Petr Baudis  <pasky@suse.cz>
84537         * LICENSES: Sync the sunrpc license.
84539 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
84541         * sunrpc/auth_des.c: Update copyright notice once again.
84542         * sunrpc/auth_none.c: Likewise.
84543         * sunrpc/auth_unix.c: Likewise.
84544         * sunrpc/authdes_prot.c: Likewise.
84545         * sunrpc/authuxprot.c: Likewise.
84546         * sunrpc/bindrsvprt.c: Likewise.
84547         * sunrpc/clnt_gen.c: Likewise.
84548         * sunrpc/clnt_perr.c: Likewise.
84549         * sunrpc/clnt_raw.c: Likewise.
84550         * sunrpc/clnt_simp.c: Likewise.
84551         * sunrpc/clnt_tcp.c: Likewise.
84552         * sunrpc/clnt_udp.c: Likewise.
84553         * sunrpc/clnt_unix.c: Likewise.
84554         * sunrpc/des_crypt.c: Likewise.
84555         * sunrpc/des_soft.c: Likewise.
84556         * sunrpc/get_myaddr.c: Likewise.
84557         * sunrpc/getrpcport.c: Likewise.
84558         * sunrpc/key_call.c: Likewise.
84559         * sunrpc/key_prot.c: Likewise.
84560         * sunrpc/openchild.c: Likewise.
84561         * sunrpc/pm_getmaps.c: Likewise.
84562         * sunrpc/pm_getport.c: Likewise.
84563         * sunrpc/pmap_clnt.c: Likewise.
84564         * sunrpc/pmap_prot.c: Likewise.
84565         * sunrpc/pmap_prot2.c: Likewise.
84566         * sunrpc/pmap_rmt.c: Likewise.
84567         * sunrpc/rpc/auth.h: Likewise.
84568         * sunrpc/rpc/auth_unix.h: Likewise.
84569         * sunrpc/rpc/clnt.h: Likewise.
84570         * sunrpc/rpc/des_crypt.h: Likewise.
84571         * sunrpc/rpc/key_prot.h: Likewise.
84572         * sunrpc/rpc/netdb.h: Likewise.
84573         * sunrpc/rpc/pmap_clnt.h: Likewise.
84574         * sunrpc/rpc/pmap_prot.h: Likewise.
84575         * sunrpc/rpc/pmap_rmt.h: Likewise.
84576         * sunrpc/rpc/rpc.h: Likewise.
84577         * sunrpc/rpc/rpc_des.h: Likewise.
84578         * sunrpc/rpc/rpc_msg.h: Likewise.
84579         * sunrpc/rpc/svc.h: Likewise.
84580         * sunrpc/rpc/svc_auth.h: Likewise.
84581         * sunrpc/rpc/types.h: Likewise.
84582         * sunrpc/rpc/xdr.h: Likewise.
84583         * sunrpc/rpc_clntout.c: Likewise.
84584         * sunrpc/rpc_cmsg.c: Likewise.
84585         * sunrpc/rpc_common.c: Likewise.
84586         * sunrpc/rpc_cout.c: Likewise.
84587         * sunrpc/rpc_dtable.c: Likewise.
84588         * sunrpc/rpc_hout.c: Likewise.
84589         * sunrpc/rpc_main.c: Likewise.
84590         * sunrpc/rpc_parse.c: Likewise.
84591         * sunrpc/rpc_parse.h: Likewise.
84592         * sunrpc/rpc_prot.c: Likewise.
84593         * sunrpc/rpc_sample.c: Likewise.
84594         * sunrpc/rpc_scan.c: Likewise.
84595         * sunrpc/rpc_scan.h: Likewise.
84596         * sunrpc/rpc_svcout.c: Likewise.
84597         * sunrpc/rpc_tblout.c: Likewise.
84598         * sunrpc/rpc_util.c: Likewise.
84599         * sunrpc/rpc_util.h: Likewise.
84600         * sunrpc/rpcinfo.c: Likewise.
84601         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84602         * sunrpc/rpcsvc/key_prot.x: Likewise.
84603         * sunrpc/rpcsvc/klm_prot.x: Likewise.
84604         * sunrpc/rpcsvc/mount.x: Likewise.
84605         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84606         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84607         * sunrpc/rpcsvc/rex.x: Likewise.
84608         * sunrpc/rpcsvc/rstat.x: Likewise.
84609         * sunrpc/rpcsvc/rusers.x: Likewise.
84610         * sunrpc/rpcsvc/sm_inter.x: Likewise.
84611         * sunrpc/rpcsvc/spray.x: Likewise.
84612         * sunrpc/rpcsvc/yppasswd.x: Likewise.
84613         * sunrpc/rtime.c: Likewise.
84614         * sunrpc/svc.c: Likewise.
84615         * sunrpc/svc_auth.c: Likewise.
84616         * sunrpc/svc_authux.c: Likewise.
84617         * sunrpc/svc_raw.c: Likewise.
84618         * sunrpc/svc_run.c: Likewise.
84619         * sunrpc/svc_simple.c: Likewise.
84620         * sunrpc/svc_tcp.c: Likewise.
84621         * sunrpc/svc_udp.c: Likewise.
84622         * sunrpc/svc_unix.c: Likewise.
84623         * sunrpc/svcauth_des.c: Likewise.
84624         * sunrpc/xcrypt.c: Likewise.
84625         * sunrpc/xdr.c: Likewise.
84626         * sunrpc/xdr_array.c: Likewise.
84627         * sunrpc/xdr_float.c: Likewise.
84628         * sunrpc/xdr_mem.c: Likewise.
84629         * sunrpc/xdr_rec.c: Likewise.
84630         * sunrpc/xdr_ref.c: Likewise.
84631         * sunrpc/xdr_sizeof.c: Likewise.
84632         * sunrpc/xdr_stdio.c: Likewise.
84634         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84635         handling.
84637 2010-08-19  Andreas Schwab  <schwab@redhat.com>
84639         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84641 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
84643         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84644         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84645         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84646         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84647         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84648         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84649         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84650         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84651         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84652         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84653         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84654         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84655         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84656         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84658 2010-07-26  Anton Blanchard  <anton@samba.org>
84660         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84661         * malloc/arena.c (heap_trim): Likewise.
84663 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
84665         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84666         here.  Not...
84667         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84668         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84670 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
84672         * sysdeps/i386/elf/Makefile: New file.
84674 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84676         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84677         from fanotify_init.
84678         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84679         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84681 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
84683         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84684         of strncasecmp_l.
84685         * sysdeps/multiarch/strcmp.S: Likewise.
84687 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
84689         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84690         strncase_l-nonascii.
84691         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84692         Add strncase_l-ssse3.
84693         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84694         * sysdeps/x86_64/strcmp.S: Likewise.
84695         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84696         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84697         * sysdeps/x86_64/strncase.S: New file.
84698         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84699         * sysdeps/x86_64/strncase_l.S: New file.
84700         * string/Makefile (strop-tests): Add strncasecmp.
84701         * string/test-strncasecmp.c: New file.
84703         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84704         warning.
84706         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84707         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84709 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84711         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84713 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
84715         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84716         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84717         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84719 2010-05-01  Alan Modra  <amodra@gmail.com>
84721         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84722         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84723         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84724         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84725         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84726         tidying.  Don't tail-call __sigjmp_save for static lib.
84727         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84728         save location.
84729         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84730         (CALL_MCOUNT): Add eh info, and nop after bl.
84731         (TAIL_CALL_SYSCALL_ERROR): New macro.
84732         (PSEUDO_RET): Use it.
84733         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84734         Correct save location of integer regs and cr.
84735         (_dl_profile_resolve): Correct cr save location.  Delete nops
84736         after bl when SHARED.  Reduce cfi size a little by better
84737         placement of cfi directives.
84738         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84739         make a stack frame.  Instead use parm save area as a temp.
84740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84741         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
84742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84743         Don't make a stack frame for parent, use parm save area.
84744         Increase child stack frame to 112 bytes.  Don't save unused reg,
84745         and adjust reg usage.  Set up cfi on error recovery and
84746         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84748         (__makecontext): Add dummy nop after jump to exit.
84749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84750         Use correct parm save area and cr save, reduce stack frame.
84751         Correct cfi for possible PSEUDO_RET frame setup.
84752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84753         Branch to local label emitted by PSEUDO_RET rather than
84754         __syscall_error.
84756 2010-08-12  Andreas Schwab  <schwab@redhat.com>
84758         [BZ #11904]
84759         * locale/programs/locale.c (print_assignment): New function.
84760         (show_locale_vars): Use it.
84762 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
84764         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84765         field.
84766         (struct statfs64): Likewise.
84767         (_STATFS_F_FLAGS): Define.
84768         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84769         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84770         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84771         (ST_VALID): Define locally.
84772         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84773         __statvfs_getflags, use the provided value.
84774         * sysdeps/unix/sysv/linux/kernel-features.h: Define
84775         __ASSUME_STATFS_F_FLAGS.
84777         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84779         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84780         Add sys/fanotify.h.
84781         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84782         fanotify_mask for GLIBC_2.13.
84783         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84784         fanotify_init and fanotify_mark.
84785         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84786         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84788         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84789         Add prlimit.
84790         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84791         prlimit64 for GLIBC_2.13.
84792         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84793         prlimit64.
84794         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84795         syscall.
84796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84797         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84798         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84799         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84800         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
84801         add prlimit alias.
84802         * sysdeps/unix/sysv/linux/prlimit.c: New file.
84804         [BZ #11903]
84805         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84806         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84808         * nss/Makefile: Add rules to build and run tst-nss-test1.
84809         * shlib-versions: Add entry for libnss_test1.
84810         * nss/nss_test1.c: New file.
84811         * nss/tst-nss-test1.c: New file.
84813         * nss/nsswitch.c (__nss_database_custom): Define new variable.
84814         (__nss_configure_lookup): Set appropriate entry in
84815         __nss_configure_lookup to true.
84816         * nss/nsswitch.h: Define enum with indeces of databases in
84817         databases and __nss_database_custom arrays.  Declare
84818         __nss_database_custom.
84819         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84820         to avoid using nscd when custom rules are installed.
84821         * nss/getXXbyYY_r.c: Likewise.
84822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84824         * nss/nss_files/files-parse.c: Whitespace fixes.
84826 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
84828         [BZ #11883]
84829         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84830         * posix/fnmatch_loop.c: Likewise.
84832 2010-07-17  Andi Kleen  <ak@linux.intel.com>
84834         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84835         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84836         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84837         * Versions.def [GLIBC_2.13]: Add.
84839 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
84841         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84842         Also fail if tpwd after pwuid call is NULL.
84844 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84846         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84847         when converting to ms.
84849 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84851         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84852         EOPNOTSUPP errors with ENOTTY.
84853         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84854         EOPNOTSUPP errors with ENOTTY.
84856 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
84858         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84859         Add strcasecmp_l-ssse3.
84860         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84861         strcasecmp.
84862         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84863         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84864         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84866 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
84868         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84870         * string/Makefile (strop-tests): Add strcasecmp.
84871         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84872         strcasecmp_l-nonascii.
84873         (gen-as-const-headers): Add locale-defines.sym.
84874         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84875         * sysdeps/x86_64/strcasecmp.S: New file.
84876         * sysdeps/x86_64/strcasecmp_l.S: New file.
84877         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84878         * sysdeps/x86_64/locale-defines.sym: New file.
84879         * string/test-strcasecmp.c: New file.
84881         * string/test-strcasestr.c: Test both ends of the range of characters.
84882         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84884 2010-07-29  Roland McGrath  <roland@redhat.com>
84886         [BZ #11856]
84887         * manual/locale.texi (Yes-or-No Questions): Fix example code.
84889 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
84891         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84892         for ld.so.
84894 2010-07-27  Andreas Schwab  <schwab@redhat.com>
84896         * manual/memory.texi (Malloc Tunable Parameters): Document
84897         M_PERTURB.
84899 2010-07-26  Roland McGrath  <roland@redhat.com>
84901         [BZ #11840]
84902         * configure.in (-fgnu89-inline check): Set and substitute
84903         gnu89_inline, not libc_cv_gnu89_inline.
84904         * configure: Regenerated.
84905         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84907 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
84909         * string/test-strnlen.c: New file.
84910         * string/Makefile (strop-tests): Add strnlen.
84911         * string/tester.c (test_strnlen): Add a few more test cases.
84912         * string/tst-strlen.c: Better error reporting.
84914         * sysdeps/x86_64/strnlen.S: New file.
84916 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
84918         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84919         lower-latency instructions.
84921 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
84923         * string/test-strcasestr.c: New file.
84924         * string/test-strstr.c: New file.
84925         * string/Makefile (strop-tests): Add strstr and strcasestr.
84926         * string/str-two-way.h: Don't undefine MAX.
84927         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84929 2010-07-21  Andreas Schwab  <schwab@redhat.com>
84931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84932         strcasestr-nonascii.
84933         (CFLAGS-strcasestr-nonascii.c): Define.
84934         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84935         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84936         Remove unused attribute.
84938 2010-07-20  Roland McGrath  <roland@redhat.com>
84940         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84941         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
84942         ld.so.cache was broken.  With it, there is no way to disable dsocaps
84943         like LD_HWCAP_MASK can disable hwcaps.
84945 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84947         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84949 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
84951         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84952         call in strcasestr.
84953         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84954         __strcasestr_sse42_nonascii.
84955         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84956         strcasestr-nonascii.c.
84957         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84959 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
84961         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84962         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84963         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84964         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84966 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
84968         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84969         fcntl.
84971 2010-07-06  Andreas Schwab  <schwab@redhat.com>
84973         [BZ #11577]
84974         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84975         dl_signal_cerror.
84977 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
84979         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84980         _PC_PIPE_BUF using F_GETPIPE_SZ.
84982 2010-07-05  Roland McGrath  <roland@redhat.com>
84984         * manual/arith.texi (Rounding Functions): Fix rint description
84985         implicit in round description.
84987 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
84989         * elf/Makefile: Fix linking for a few tests to make recent linker
84990         happy.
84992 2010-06-30  Andreas Schwab  <schwab@redhat.com>
84994         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84995         $(common-objpfx)libc_nonshared.a.
84997 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
84999         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85000         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85001         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85002         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85003         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85004         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85005         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85006         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85021         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85022         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85023         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85024         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85025         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85026         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85027         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85028         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85029         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85030         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85031         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85032         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85048 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85050         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85051         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85052         * string/memmove.c (memmove): Renamed to ...
85053         (MEMMOVE): ...this.  Default to memmove.
85054         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85055         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85056         (END_CHK): Define.
85057         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85058         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85059         mempcpy-ssse3-back memmove-ssse3-back.
85060         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85061         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85062         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85063         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85064         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85065         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85066         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85067         * sysdeps/x86_64/multiarch/memmove.c: New file.
85068         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85069         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85070         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85071         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85072         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85073         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85074         Define.
85075         (index_Fast_Copy_Backward): Define.
85076         (HAS_ARCH_FEATURE): Define.
85077         (HAS_FAST_REP_STRING): Define.
85078         (HAS_FAST_COPY_BACKWARD): Define.
85080 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85082         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85083         Restore proper fallback handling.
85085 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85087         [BZ #11701]
85088         * posix/group_member.c (__group_member): Correct checking loop.
85090         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85091         OOM in getpwuid_r correctly.  Return error number when the caller
85092         should return, otherwise -1.
85093         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85094         call returning > 0 value.
85095         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85097 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85099         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85100         libc_nonshared.a from targets in modules-names.
85102 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85104         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85105         requires it.
85107 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85109         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85110         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85111         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85112         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85114 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85116         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85118 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85120         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85121         and F_GETPIPE_SZ.
85122         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85123         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85125         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85126         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85127         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85129 2010-06-14  Roland McGrath  <roland@redhat.com>
85131         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85133 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85135         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85136         __REDIRECT followed by __THROW.
85137         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85138         * posix/getopt.h (getopt): Likewise.
85140 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85142         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85143         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85144         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85145         in AT_FLAGS.
85146         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85147         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85149 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85151         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85153 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85155         [BZ #11640]
85156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85157         Properly check family and model.
85159 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85161         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85163 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85165         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85167 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85169         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85170         symbol reference.
85172 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85174         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85175         symbol reference.
85177 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85179         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85180         and internal_recvmmsg.
85181         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85182         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85183         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85184         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85186         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85187         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85188         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85190 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85192         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85194 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
85196         POWER7 optimizations.
85197         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85198         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85200 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
85202         * version.h: Update for 2.13 development version.
85204 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
85206         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85207         exceptions.  Return 0.
85209 2010-05-07  Roland McGrath  <roland@redhat.com>
85211         * elf/ldconfig.c (main): Add a const.
85213 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
85215         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85216         (args_options): Add no-idn option.
85217         (ahosts_keys_int): Add idn_flags to ai_flags.
85218         (parse_option): Handle 'i' option to clear idn_flags.
85220         * malloc/malloc.c (_int_free): Possible race in the most recently
85221         added check.  Only act on the data if no current modification
85222         happened.
85224 See ChangeLog.17 for earlier changes.