Fix up tabs/spaces mismatches
[glibc.git] / ChangeLog
blob2de8cd9607951bf4dfe054adcc90fd96852b3908
1 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
7         [BZ #21019]
8         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
9         New syscall entry.
10         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
12         lseek.
14         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
15         power4 glibc for powerpc-linux-gnu.
17 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
20         semctl.
22 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
24         * math/test-nearbyint-except.c: Include <stdbool.h>.
25         (any_supported): New variable.
26         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
27         set any_supported.
28         (do_test): Return 77 if no floating-point type supported
29         exceptions.
31         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
32         condition on [__mips_hard_float].
34 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36         [BZ #21014]
37         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
38         in pointer addition.
39         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
41 2017-01-02  Torvald Riegel  <triegel@redhat.com>
43         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
44         new condvar.
46 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
48         * scripts/build-many-glibcs.py (Context.checkout): Default
49         binutils version to 2.28 branch.
51 2017-01-01  Florian Weimer  <fweimer@redhat.com>
53         * support/support_format_netent.c (support_format_netent): Work
54         around alpha struct netent definition difference.
56 2017-01-01  Florian Weimer  <fweimer@redhat.com>
58         * support/xwrite.c (xwrite): Use %td for pointer difference.
60 2017-01-01  Florian Weimer  <fweimer@redhat.com>
62         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
63         have-tunables only.
64         (tests-static): Add tst-malloc-usable-static-tunables for
65         have-tunables only.
67 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
69         * scripts/config.guess: Update to version 2017-01-01.
70         * scripts/config.sub: Update to version 2017-01-01.
72         * NEWS: Update copyright dates.
73         * catgets/gencat.c (print_version): Likewise.
74         * csu/version.c (banner): Likewise.
75         * debug/catchsegv.sh: Likewise.
76         * debug/pcprofiledump.c (print_version): Likewise.
77         * debug/xtrace.sh (do_version): Likewise.
78         * elf/ldconfig.c (print_version): Likewise.
79         * elf/ldd.bash.in: Likewise.
80         * elf/pldd.c (print_version): Likewise.
81         * elf/sotruss.sh: Likewise.
82         * elf/sprof.c (print_version): Likewise.
83         * iconv/iconv_prog.c (print_version): Likewise.
84         * iconv/iconvconfig.c (print_version): Likewise.
85         * locale/programs/locale.c (print_version): Likewise.
86         * locale/programs/localedef.c (print_version): Likewise.
87         * login/programs/pt_chown.c (print_version): Likewise.
88         * malloc/memusage.sh (do_version): Likewise.
89         * malloc/memusagestat.c (print_version): Likewise.
90         * malloc/mtrace.pl: Likewise.
91         * manual/libc.texinfo: Likewise.
92         * nptl/version.c (banner): Likewise.
93         * nscd/nscd.c (print_version): Likewise.
94         * nss/getent.c (print_version): Likewise.
95         * nss/makedb.c (print_version): Likewise.
96         * posix/getconf.c (main): Likewise.
97         * scripts/test-installation.pl: Likewise.
98         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
100         * All files with FSF copyright notices: Update copyright dates
101         using scripts/update-copyrights.
102         * intl/plural.c: Regenerated.
103         * locale/programs/charmap-kw.h: Likewise.
104         * locale/programs/locfile-kw.h: Likewise.
106 2016-12-31  Florian Weimer  <fweimer@redhat.com>
108         [BZ #20593]
109         Update DNS RR type definitions.
110         * scripts/gen-rrtypes.py: New file.
111         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
112         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
113         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
114         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
115         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
116         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
117         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
118         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
119         ns_t_ta, ns_t_dlv.
120         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
121         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
122         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
123         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
124         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
125         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
126         Define.
127         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
128         entry for ns_t_zxfr.
130 2016-12-31  Florian Weimer  <fweimer@redhat.com>
132         [BZ #18784]
133         CVE-2015-5180
134         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
135         T_UNSPEC.  Adjust value.
136         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
137         * resolv/res_query.c (__libc_res_nquery): Likewise.
138         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
139         QTYPEs.
140         * resolv/tst-resolv-qtypes.c: New file.
141         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
142         (tst-resolv-qtypes): Link against libresolv and libpthread.
144 2016-12-31  Florian Weimer  <fweimer@redhat.com>
146         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
148 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
150         * manual/tunables.texi: New chapter.
151         * manual/Makefile (chapters): Add it.
152         * manual/probes.texi (@node): Point to the Tunables chapter.
154         * Makeconfig (have-tunables): Check for non-negative instead
155         of positive.
156         * configure.ac: Add 'valstring' as a valid value for
157         --enable-tunables.
158         * configure: Regenerate.
159         * elf/Makefile (have-tunables): Check for non-negative instead
160         of positive.
161         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
162         dl-tunables.c.
163         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
164         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
165         (tunables_strdup): Likewise.
166         (disable_tunables): Likewise.
167         (parse_tunables): Likewise.
168         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
169         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
170         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
171         (TUNABLES_FRONTEND_yes): New macro, define as
172         TUNABLES_FRONTEND_valstring by default.
173         * manual/install.texi: Document new acceptable values for
174         --enable-tunables.
175         * INSTALL: Regenerate.
177         * config.make.in (have-loop-to-function): Define.
178         * elf/Makefile (CFLAGS-dl-tunables.c): Add
179         -fno-tree-loop-distribute-patterns.
180         * elf/dl-tunables.c: Include libc-internals.h.
181         (GLIBC_TUNABLES): New macro.
182         (tunables_strdup): New function.
183         (parse_tunables): New function.
184         (min_strlen): New function.
185         (__tunables_init): Use the new functions and macro.
186         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
187         * malloc/tst-malloc-usable-tunables.c: New test case.
188         * malloc/tst-malloc-usable-static-tunables.c: New test case.
189         * malloc/Makefile (tests, tests-static): Add tests.
191         * manual/install.texi: Add --enable-tunables option.
192         * INSTALL: Regenerate.
193         * README.tunables: New file.
194         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
195         (before-compile): Generate dl-tunable-list.h early.
196         * config.h.in: Add HAVE_TUNABLES.
197         * config.make.in: Add have-tunables.
198         * configure.ac: Add --enable-tunables option.
199         * configure: Regenerate.
200         * csu/init-first.c (__libc_init_first): Move
201         __libc_init_secure earlier...
202         * csu/init-first.c (LIBC_START_MAIN):... to here.
203         Include dl-tunables.h, libc-internal.h.
204         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
205         binaries.
206         * elf/Makefile (dl-routines): Add dl-tunables.
207         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
208         namespace.
209         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
210         only when !HAVE_TUNABLES.
211         * elf/rtld.c (process_envvars): Likewise.
212         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
213         (_dl_sysdep_start): Call __tunables_init.
214         * elf/dl-tunable-types.h: New file.
215         * elf/dl-tunables.c: New file.
216         * elf/dl-tunables.h: New file.
217         * elf/dl-tunables.list: New file.
218         * malloc/tst-malloc-usable-static.c: New test case.
219         * malloc/Makefile (tests-static): Add it.
220         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
221         Define TUNABLE_NAMESPACE.
222         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
223         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
224         callback functions.
225         (ptmalloc_init): Set tunable values.
226         * scripts/gen-tunables.awk: New file.
227         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
228         (_dl_sysdep_start): Call __tunables_init.
230 2016-12-31  Florian Weimer  <fweimer@redhat.com>
232         * resolv/resolv.h (RES_BLAST): Deprecate.
233         * resolv/res_debug.c (p_option): Remove RES_BLAST.
234         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
235         to RES_BLAST.
237 2016-12-27  Florian Weimer  <fweimer@redhat.com>
239         [BZ #19582]
240         Deprecate RES_USE_INET6.
241         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
242         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
243         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
244         RES_USE_INET6.
245         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
246         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
247         (_nss_nisplus_gethostbyaddr_r): Likewise.
248         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
249         of res_use_inet6.
250         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
251         instead of RES_USE_INET6.
252         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
253         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
254         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
255         Likewise.
256         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
257         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
258         Likewise.
259         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
260         (_nss_dns_gethostbyname_r): Likewise.
261         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
262         alternate RES_USE_INET6 handling.
263         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
264         instead of RES_USE_INET6.
265         * resolv/res_init.c (res_setoptions): Likewise.
266         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
267         * resolv/resolv-internal.h: New file.
268         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
269         make the deprecation warning non-fatal.
270         * resolv/README (Using the resolver in multi-threaded code): Drop
271         reference to RES_USE_INET6.
272         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
273         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
275 2016-12-31  Florian Weimer  <fweimer@redhat.com>
277         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
278         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
279         tst-resolv-search.
280         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
281         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
282         with libresolv and libpthread.
283         * resolv/tst-bug18665.c: New file.
284         * resolv/tst-bug18665-tcp: Likewise.
285         * resolv/tst-res_use_inet6: Likewise.
286         * resolv/tst-resolv-basic: Likewise.
287         * resolv/tst-resolv-network: Likewise.
288         * resolv/tst-resolv-search: Likewise.
289         * support/Makefile (libsupport-routines): Add check_addrinfo,
290         check_dns_packet, check_hostent, check_netent, resolv_test,
291         support_format_address_family, support_format_addrinfo,
292         support_format_dns_packet, support_format_herrno,
293         support_format_hostent, support_format_netent, support_run_diff,
294         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
295         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
296         xstrdup, xwrite.
297         * support/check_addrinfo.c: New file.
298         * support/check_dns_packet.c: Likewise.
299         * support/check_hostent.c: Likewise.
300         * support/check_netent.c: Likewise.
301         * support/check_nss.h: Likewise.
302         * support/format_nss.h: Likewise.
303         * support/resolv_test.c: Likewise.
304         * support/resolv_test.h: Likewise.
305         * support/run_diff.h: Likewise.
306         * support/support_format_address_family.c: Likewise.
307         * support/support_format_addrinfo.c: Likewise.
308         * support/support_format_dns_packet.c: Likewise.
309         * support/support_format_herrno.c: Likewise.
310         * support/support_format_hostent.c: Likewise.
311         * support/support_format_netent.c: Likewise.
312         * support/support_run_diff.c: Likewise.
313         * support/xaccept.c: Likewise.
314         * support/xbind.c: Likewise.
315         * support/xconnect.c: Likewise.
316         * support/xfclose.c: Likewise.
317         * support/xfopen.c: Likewise.
318         * support/xgetsockname.c: Likewise.
319         * support/xlisten.c: Likewise.
320         * support/xmemstream.c: Likewise.
321         * support/xmemstream.h: Likewise.
322         * support/xpoll.c: Likewise.
323         * support/xpthread_once.c: Likewise.
324         * support/xrecvfrom.c: Likewise.
325         * support/xsendto.c: Likewise.
326         * support/xsetsockopt.c: Likewise.
327         * support/xstdio.h: Likewise.
328         * support/xstrdup.c: Likewise.
329         * support/support.h (xstrdup): Declare.
330         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
331         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
332         * support/xthread.h (xpthread_once): Likwise.
333         * support/xunistd.h (xwrite): Declare.
335 2016-12-31  Florian Weimer  <fweimer@redhat.com>
337         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
338         (test_verbose): Declare.
339         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
340         * support/support_test_main.c (default_options): Likewise.
341         (usage, support_test_main): Handle 'v'.
342         (test_verbose): Define.
343         * support/tst-support_record_failure.c (do_test): Use
344         test_verbose.
345         * support/tst-support_record_failure-2.sh (different_status): Add
346         --verbose test.
348 2016-12-31  Florian Weimer  <fweimer@redhat.com>
350         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
351         test failures are recorded.
352         * support/check.c (support_print_failure_impl): Call
353         support_record_failure.
354         (support_exit_failure_impl): Call support_record_failure if status
355         indicates failure.
356         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
357         * support/xasprintf.c (xasprintf): Likewise.
358         * support/xfork.c (xfork): Likewise.
359         * support/xpthread_check_return.c (xpthread_check_return):
360         Likewise.
361         * support/xsocket.c (xsocket): Likeweise.
362         * support/xwaitpid.c (xwaitpid): Likewise.
363         * support/support_record_failure.c (struct test_failures): Adjust
364         to coding style.
365         * support/support_test_verify_impl.c (support_test_verify_impl):
366         Adjust error messages.
367         * support/tst-support_record_failure-2.sh (different_status):
368         Adjust error messages.
370 2016-12-31  Florian Weimer  <fweimer@redhat.com>
372         * support/namespace.h: New file.
373         * support/support_become_root.c: Likewise.
374         * support/support_enter_network_namespace.c: Likewise.
375         * support/tst-support-namespace.c: Likewise.
376         * support/xsocket.c: Likewise.
377         * support/xsocket.h: Likewise.
378         * support/Makefile (libsupport-routines): Add support_become_root,
379         support_enter_network_namespace, xsocket.
380         (tests): Add tst-support-namespace.
382 2016-12-31  Florian Weimer  <fweimer@redhat.com>
384         [BZ #17252]
385         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
386         __USE_GNU.
388 2016-12-31  Torvald Riegel  <triegel@redhat.com>
390         [BZ #13165]
391         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
392         use new algorithm.
393         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
394         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
395         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
396         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
397         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
398         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
399         __condvar_cleanup_waiting, __condvar_dec_grefs,
400         __pthread_cond_wait_common): New.
401         (__condvar_cleanup): Remove.
402         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
403         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
404         Likewise.
405         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
406         Likewise.
407         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
408         * nptl/tst-cond1.c: Add comment.
409         * nptl/tst-cond20.c (do_test): Adapt.
410         * nptl/tst-cond22.c (do_test): Likewise.
411         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
412         structure.
413         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
414         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
415         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
416         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
417         Likewise.
418         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
419         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
420         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
421         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
422         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
423         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
424         Likewise.
425         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
426         Likewise.
427         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
428         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
429         (COND_CLOCK_BITS): Adapt.
430         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
431         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
432         __PTHREAD_COND_SHARED_MASK): New.
433         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
434         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
435         * nptl/nptl_lock_constants.pysym: Adapt.
436         * nptl/test-cond-printers.py: Adapt.
437         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
438         cond_compat_check_and_clear): Adapt.
439         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
440         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
441         (__pthread_cond_timedwait): ... and move here.
442         * nptl/DESIGN-condvar.txt: Remove file.
443         * nptl/lowlevelcond.sym: Likewise.
444         * nptl/pthread_cond_timedwait.c: Likewise.
445         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
446         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
447         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
448         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
449         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
450         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
451         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
452         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
453         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
454         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
455         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
456         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
457         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
458         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
459         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
460         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
462 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
464         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
465         (fromfp): New declaration.
466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
467         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
469         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
474         * math/math.h: Include <bits/types.h>.
475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
476         constant and macro.
477         (FP_INT_DOWNWARD): Likewise.
478         (FP_INT_TOWARDZERO): Likewise.
479         (FP_INT_TONEARESTFROMZERO): Likewise.
480         (FP_INT_TONEAREST): Likewise.
481         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
482         (fromfpf): Likewise.
483         (fromfpl): Likewise.
484         (ufromfp): Likewise.
485         (ufromfpf): Likewise.
486         (ufromfpl): Likewise.
487         (fromfpx): Likewise.
488         (fromfpxf): Likewise.
489         (fromfpxl): Likewise.
490         (ufromfpx): Likewise.
491         (ufromfpxf): Likewise.
492         (ufromfpxl): Likewise.
493         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
494         s_fromfpxF and s_ufromfpxF.
495         * math/gen-fromfp-tests.py: New file.
496         * math/gen-fromfp-tests-inputs: Likewise.
497         * math/libm-test.inc: Include <stdint.h>
498         (check_intmax_t): New function.
499         (check_uintmax_t): Likewise.
500         (struct test_fiu_M_data): New type.
501         (struct test_fiu_U_data): Likewise.
502         (RUN_TEST_fiu_M): New macro.
503         (RUN_TEST_LOOP_fiu_M): Likewise.
504         (RUN_TEST_fiu_U): Likewise.
505         (RUN_TEST_LOOP_fiu_U): Likewise.
506         (fromfp_test_data): New array.
507         (fromfp_test): New function.
508         (fromfpx_test_data): New array.
509         (fromfpx_test): New function.
510         (ufromfp_test_data): New array.
511         (ufromfp_test): New function.
512         (ufromfpx_test_data): New array.
513         (ufromfpx_test): New function.
514         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
515         ufromfpx_test.
516         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
517         characters.
518         * math/test-tgmath-ret.c: Include <stdint.h>.
519         (rm): New variable.
520         (width): Likewise.
521         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
522         called function.
523         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
524         CHECK_RET_CONST_TYPE.
525         (CHECK_RET_CONST_DOUBLE): Likewise.
526         (CHECK_RET_CONST_LDOUBLE): Likewise.
527         (CHECK_RET_CONST): Take extra arguments and pass them to calls
528         macros.
529         (fromfp): New CHECK_RET_CONST call.
530         (ufromfp): Likewise.
531         (fromfpx): Likewise.
532         (ufromfpx): Likewise.
533         (do_test): Call check_return_fromfp, check_return_ufromfp,
534         check_return_fromfpx and check_return_ufromfpx.
535         * math/test-tgmath.c: Include <stdint.h>
536         (NCALLS): Increase to 138.
537         (F(compile_test)): Initialize i.  Call fromfp functions.
538         (F(fromfp)): New function.
539         (F(fromfpx)): Likewise.
540         (F(ufromfp)): Likewise.
541         (F(ufromfpx)): Likewise.
542         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
543         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
544         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
545         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
546         ufromfpxl.
547         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
548         ufromfp and ufromfpx.
549         * math/fromfp.h: New file.
550         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
551         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
552         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
553         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
554         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
555         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
556         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
557         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
558         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
559         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
560         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
561         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
562         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
563         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
564         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
565         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
566         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
567         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
568         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
569         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
570         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
571         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
572         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
573         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
574         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
575         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
576         ufromfp, fromfpx and ufromfpx.
577         (CFLAGS-nldbl-fromfp.c): New variable.
578         (CFLAGS-nldbl-fromfpx.c): Likewise.
579         (CFLAGS-nldbl-ufromfp.c): Likewise.
580         (CFLAGS-nldbl-ufromfpx.c): Likewise.
581         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
582         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
583         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
584         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
585         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
586         * sysdeps/nacl/libm.abilist: Update.
587         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
588         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
589         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
590         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
591         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
592         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
593         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
594         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
595         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
596         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
597         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
598         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
600         Likewise.
601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
602         Likewise.
603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
604         Likewise.
605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
606         Likewise.
607         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
608         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
609         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
610         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
611         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
613         Likewise.
614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
615         Likewise.
616         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
617         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
618         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
620 2016-12-30  Florian Weimer  <fweimer@redhat.com>
622         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
623         compat-gethnamaddr.
624         (CPPFLAGS): Remove.
625         * resolv/gethnamaddr.c: Rename ...
626         * resolv/compat-gethnamaddr.c: ... to this file.
627         (_endhtent): Make static.
628         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
629         symbol.
630         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
631         compat symbol.
632         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
633         symbol.
634         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
635         Turn into compat symbol.
636         * include/resolv.h (_endhtent): Remove declaration.
638 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
640         * bits/types.h (__intmax_t): New typedef.
641         (__uintmax_t): Likewise.
642         * sysdeps/generic/stdint.h: Include <bits/types.h>.
643         (intmax_t): Define using __intmax_t.
644         (uintmax_t): Define using __uintmax_t.
646         * support/Makefile (tests-special): Make definition conditional on
647         [$(run-built-tests) = yes].
648         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
649         on [$(run-built-tests) = yes].
651 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
653         * Rules (tests): Add tests-printers-programs to tests to be
654         built.
656 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
658         * sysvipc/Makefile (tests): Add test-sysvshm.
659         * sysvipc/test-sysvshm.c: New file.
661         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
662         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
663         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
664         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
665         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
666         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
667         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
668         Likewise.
669         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
670         Likewise.
671         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
672         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
673         is defined.
675         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
676         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
677         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
678         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
679         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
680         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
681         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
682         Likewise.
683         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
684         Likewise.
685         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
686         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
687         defined.
689         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
690         oldshmctl.
691         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
692         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
693         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
694         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
695         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
696         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
697         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
698         Likewise.
699         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
700         Likewise.
701         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
702         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
703         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
704         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
705         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
706         implementation.
707         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
708         if it is defined.
710         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
711         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
712         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
713         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
714         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
715         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
716         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
717         Likewise.
718         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
719         Likewise.
720         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
721         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
722         Define to __NR_osf_shmat.
723         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
724         defined.
726         * sysvipc/Makefile (tests): Add test-sysvsem.
727         * sysvipc/test-sysvsem.c: New file.
729         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
730         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
731         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
732         Likewise.
733         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
734         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
735         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
736         Likewise.
737         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
738         Likewise.
739         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
740         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
741         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
742         add a comment about s390 syscall difference from default one.
743         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
744         syscall if it is defined.
746         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
747         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
748         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
749         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
750         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
751         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
752         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
753         Likewise.
754         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
755         Likewise.
756         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
757         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
758         defined.
760         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
761         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
762         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
763         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
764         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
765         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
766         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
767         Likewise.
768         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
769         Likewise.
770         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
771         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
772         if it is defined.
774         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
775         oldsemctl.
776         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
777         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
778         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
779         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
780         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
781         implementation.
782         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
783         syscall if it is defined.
784         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
785         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
786         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
787         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
788         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
789         Likewise.
790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
792         * sysvipc/Makefile (tests): Add test-sysvmsg.
793         * sysvipc/test-sysvmsg.c: New file.
794         * support/check.h (FAIL_UNSUPPORTED): New define.
796         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
797         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
798         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
799         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
800         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
801         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
802         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
803         Likewise.
804         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
805         Likewise.
806         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
807         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
808         define.
810         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
811         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
812         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
813         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
814         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
815         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
816         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
817         Likewise.
818         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
819         Likewise.
820         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
821         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
822         if defined.
824         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
825         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
826         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
827         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
828         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
829         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
830         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
831         Likewise.
832         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
833         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
834         Likewise.
835         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
836         if defined.
837         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
839         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
840         oldmsgctl.
841         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
842         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
843         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
844         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
845         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
846         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
847         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
848         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
849         Likewise.
850         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
851         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
852         implementation.
853         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
854         if defined.
856         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
857         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
858         definition and define its own.
859         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
860         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
861         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
862         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
863         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
864         definitions to common header.
865         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
866         operation from ipc_ops.h.
868         * sysdeps/unix/sysv/linux/kernel-features.h
869         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
870         * sysdeps/unix/sysv/linux/i386/kernel-features.h
871         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
872         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
873         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
874         * sysdeps/unix/sysv/linux/mips/kernel-features.h
875         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
876         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
877         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
878         * sysdeps/unix/sysv/linux/s390/kernel-features.h
879         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
880         * sysdeps/unix/sysv/linux/sh/kernel-features.h
881         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
882         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
883         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
885 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
887         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
888         overflow in pointer addition.
890 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
892         * sysdeps/powerpc/powerpc64/multiarch/Makefile
893         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
895         (strchr): Add __strchr_power8 to list of strchr functions.
896         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
897         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
898         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
899         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
900         (strchr): Add __strchr_power8 to ifunc list.
901         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
902         (__strchrnul): Add __strchrnul_power8 to ifunc list.
903         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
904         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
906 2016-12-28  Florian Weimer  <fweimer@redhat.com>
908         * support/Makefile (libsupport-routines): Add
909         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
910         (tests): Add tst-support_record_failure.
911         (tests-special): tst-support_record_failure-2.
912         (tst-support_record_failure-2.out): Depend on
913         tst-support_record_failure-2.sh and tst-support_record_failure.
914         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
915         (support_test_verify_impl, support_record_failure)
916         (support_report_failure, support_report_failure_reset): Declare.
917         * support/support_test_main.c (adjust_exit_status): New function.
918         (support_test_main): Call it to incorporate record test failures.
919         * support/support_test_verify_impl.c: New file.
920         * support/support_record_failure.c: Likewise.
921         * support/tst-support_record_failure.c: Likewise.
922         * support/tst-support_record_failure-2.sh: Likewise.
923         * support/xunistd.h: Likewise.
924         * support/xfork.c: Likewise.
925         * support/xwaitpid.c: Likewise.
927 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
929         * scripts/check-c++-types.sh: Add comments.
931 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
933         [BZ #19514]
934         * resolv/res_send.c: Fix typo in comment.
935         * sysdeps/i386/i386-mcount.S: Likewise.
936         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
937         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
938         * sysdeps/sparc/sparc-mcount.S: Likewise.
940 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
942         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
943         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
944         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
945         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
946         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
947         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
948         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
949         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
951 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
953         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
955 2016-12-27  Florian Weimer  <fweimer@redhat.com>
957         [BZ #17252]
958         * posix/unistd.h (getentropy): Declare.
960 2016-12-27  Florian Weimer  <fweimer@redhat.com>
962         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
963         Remove.
964         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
965         (cmd): Remove spoof, nospoof, spoofalert.
966         (parse_line): Ignore spoof-related lines.
967         (do_init): Do not process RESOLV_SPOOF_CHECK.
969 2016-12-27  Florian Weimer  <fweimer@redhat.com>
971         [BZ #20964]
972         sunrpc: Always obtain AF_INET addresses from NSS.
973         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
974         * sunrpc/rpc_gethostbyname.c: New file.
975         * sunrpc/Makefile (routines): Add it.
976         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
977         * sunrpc/clnt_simp.c (callrpc): Likewise.
978         * sunrpc/getrpcport.c (getrpcport): Likewise.
980 2016-12-27  Florian Weimer  <fweimer@redhat.com>
982         * sunrpc/rpcinfo.c: Remove.
983         * sunrpc/Makefile: Remove comments referring to rpcinfo.
985 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
987         [BZ# 19387]
988         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
989         addition.
990         * string/test-memchr.c (do_test): Remove alignment limitation.
991         (test_main): Add test that trigger BZ# 19387.
993 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
995         [BZ #7065]
996         Enable stack protectore if requested by ./configure.
997         * Makeconfig (+stack-protector): New variable.
998         (+cflags): Use it.
1000 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1002         [BZ #7065]
1003         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1004         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1005         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1006         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1007         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1009 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1011         [BZ #7065]
1012         * login/Makefile (pt_chown-cflags): Remove.
1013         * nscd/Makefile (CFLAGS-nscd): Likewise.
1014         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1016 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1018         [BZ #7065]
1019         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1020         non-libc-linking testcase.
1022 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1023             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1024             Florian Weimer  <fweimer@redhat.com>
1026         [BZ #7065]
1027         PLT avoidance for __stack_chk_fail*.
1028         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1029         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1030         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1031         __stack_chk_fail_local alias.
1032         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1033         (__stack_chk_fail): Turn into hidden reference to
1034         __stack_chk_fail_local.
1036 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1038         [BZ #7065]
1039         * configure.ac: Add check for unsupported stack-protection level.
1040         (libc_cv_predef_stack_protector): Remove.
1041         (no_ssp): New variable.
1042         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1043         (stack_protector): Set to -fno-stack-protector similarly.
1044         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1045         (libc_cv_asm_set_directive): Likewise.
1046         (libc_cv_protected_data): Likewise.
1047         (libc_cv_z_combreloc): Likewise.
1048         (libc_cv_hashstyle): Likewise.
1049         (libc_cv_has_glob_dat): Likewise.
1050         (libc_cv_output_format): Likewise.
1051         (libc_cv_output_format): Likewise.
1052         (libc_cv_ehdr_start): Likewise.
1053         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1054         (LIBC_LINKER_FEATURE): Likewise.
1055         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1057 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1059         [BZ #7065]
1060         * elf/Makefile (dummy-stack-chk-fail): New.
1061         (librtld.map): Use it.
1063 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1065         [BZ #7065]
1066         Compile the dynamic linker without stack protection.
1067         * elf/Makefile (elide-stack-protector): New.
1068         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1069         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1070         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1071         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1073 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1075         [BZ #7065]
1076         * config.make.in (have-ssp, no-stack-protector): New.
1077         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1078         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1079         (CFLAGS-sbrk.op): Likewise.
1080         (CFLAGS-brk.o): Likewise.
1081         (CFLAGS-brk.op): Likewise.
1082         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1083         (CFLAGS-wordcopy.c): Likewise.
1085 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1087         [BZ #7065]
1088         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1089         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1090         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1091         (__ifunc_resolver): Use it.
1092         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1093         inhibit_stack_protector.
1094         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1095         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1096         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1097         (foo_protected_ifunc): Likewise.
1098         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1099         (foo_protected_ifunc): Likewise.
1100         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1101         * sysdeps/nacl/nacl_interface_query.c
1102         (nacl_interface_query_ifunc): Likewise.
1103         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1104         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1105         Likewise.
1106         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1107         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1108         the generated vDSO syscall resolver.
1110 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1111             Florian Weimer  <fweimer@redhat.com>
1113         [BZ #7065]
1114         Initialize the stack guard earlier when linking statically.
1115         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1116         (__pthread_initialize_minimal): Declare.
1117         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1118         declaration.
1119         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1120         stack canary and apply_irel initialization up.  Call
1121         __pthread_initialize_minimal only if linked in.
1122         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1123         constant values.
1124         (__pthread_initialize_minimal): Remove.
1125         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1126         (__pthread_initialize_minimal_internal): Do not call
1127         __libc_setup_tls.
1129 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1131         [BZ #7065]
1132         * configure.ac (libc_cv_ssp): Move up.
1133         (libc_cv_ssp_strong): Likewise.
1134         (libc_cv_ssp_all): New.
1135         (stack_protector): Augment, adding -fstack-protector-all.
1136         (no_stack_protector): New.
1137         (STACK_PROTECTOR_LEVEL): New.
1138         (AC_ARG_ENABLE(stack-protector)): New configure flag.
1139         * manual/install.texi (--enable-stack-protector): Document it.
1140         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
1142 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
1144         * README.pretty-printers: Must specify CPPFLAGS-* also.
1145         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
1146         (CPPFLAGS-test-mutex-printers.c): Define.
1147         (CPPFLAGS-test-condattr-printers.c): Define.
1148         (CPPFLAGS-test-cond-printers.c): Define.
1149         (CPPFLAGS-test-rwlockattr-printers.c): Define.
1150         (CPPFLAGS-test-rwlock-printers.c): Define.
1152         * nss/Makefile [ifeq (yes,$(have-thread-library))]
1153         (tests): Add tst-cancel-getpwuid_r.
1154         * nss/tst-cancel-getpwuid_r.c: New file.
1156         [BZ #11941]
1157         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
1158         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
1159         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
1160         tst-nodelete-dlclose.
1161         (modules-names): Add tst-nodelete-dlclose-dso and
1162         tst-nodelete-dlclose-plugin.
1163         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
1164         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
1165         ($(objpfx)tst-nodelete-dlclose): Define.
1166         ($(objpfx)tst-nodelete-dlclose.out): Define.
1168 2016-12-23  Florian Weimer  <fweimer@redhat.com>
1170         * scripts/test_printers_common.py: Log GDB output in case of
1171         Python detection failure.
1173 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1175         * configure.ac: Check for python3 or python.
1176         * configure: Regenerated.
1177         * config.make.in (PYTHON): New variable.
1178         * benchtests/Makefile: Don't define PYTHON.
1179         (bench): Define target only if PYTHON was defined.
1180         * Rules: Don't define PYTHON.
1181         Define pretty printer targets only if PYTHON was defined.
1182         (tests-printers): Add to tests-unsupported if PYTHON is not
1183         found.
1184         (python-flags, python-invoke): Remove.
1185         (tests-printers-out): Use PYTHON instead of python-invoke.
1187 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1189         [BZ #20978]
1190         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1191         Compare name == NULL, not name != NULL.
1193         * manual/texinfo.tex: Update to version 2016-09-18.18 with
1194         trailing whitespace removed.
1195         * scripts/config.guess: Update to version 2016-10-02.
1196         * scripts/config.sub: Update to version 2016-11-19.
1197         * scripts/install-sh: Update to version 2016-01-11.22.
1198         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
1199         * scripts/move-if-change: Update to version 2016-01-11 22:04.
1201 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
1203         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
1204         (do_one_test) Restore original string so iteration works.
1205         * string/string-inlines.c (do_test): Create better input strings.
1206         (test_main) Reduce number of testruns.
1207         * string/string-inlines.c (__old_strsep_1c): New function.
1208         (__old_strsep_2c): Likewise.
1209         (__old_strsep_3c): Likewise.
1210         * string/strsep.c (__strsep): Remove case of small delim string.
1211         Call strcspn directly rather than strpbrk.
1212         * string/bits/string2.h (__strsep): Remove define.
1213         (__strsep_1c): Remove.
1214         (__strsep_2c): Remove.
1215         (__strsep_3c): Remove.
1216         (strsep): Remove.
1217         * sysdeps/unix/sysv/linux/internal_statvfs.c
1218         (__statvfs_getflags): Rename to __strsep.
1220 2016-12-21  Florian Weimer  <fweimer@redhat.com>
1222         * csu/libc-tls.c (_dl_tls_setup): Remove.
1223         * elf/dl-tls.c (_dl_tls_setup): Likewise.
1224         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
1225         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
1227 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1229         [BZ #7065]
1230         * sysdeps/x86_64/Makefile [$(subdir) = elf]
1231         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
1233 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
1234             Florian Weimer  <fweimer@redhat.com>
1236         [BZ #7065]
1237         * csu/Makefile (tests): Empty assignment and document it.
1238         (tests-static): Remove.
1239         * csu/tst-empty.c: Move to...
1240         * misc/tst-empty.c: ... here.  Switch to new test driver.
1241         * csu/tst-atomic.c: Move to...
1242         * misc/tst-atomic.c: ... here.  Switch to new test driver.
1243         * csu/tst-atomic-long.c: Move to...
1244         * misc/tst-atomic-long.c: ... here.
1245         * misc/Makefile (tests): Add tst-empty, tst-atomic,
1246         tst-atomic-long.
1247         (tests-static): Add tst-empty.
1249 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
1251         * manual/nss.texi: Change incorrect @vtable to @table.
1252         * manual/arith.texi: Convert @tables of variables to @vtables
1253         and remove unnecessary indexing.
1254         * manual/filesys.texi: Likewise.
1255         * manual/llio.texi: Likewise.
1256         * manual/memory.texi: Likewise.
1257         * manual/process.texi: Likewise.
1258         * manual/resource.texi: Likewise.
1259         * manual/search.texi: Likewise.
1260         * manual/signal.texi: Likewise.
1261         * manual/socket.texi: Likewise.
1262         * manual/stdio.texi: Likewise.
1263         * manual/sysinfo.texi: Likewise.
1264         * manual/syslog.texi: Likewise.
1265         * manual/terminal.texi: Likewise.
1266         * manual/time.texi: Likewise.
1267         * manual/users.texi: Likewise.
1269 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
1271         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1272         (roundeven): New declaration.
1273         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
1274         macro.
1275         * math/Versions (roundeven): New libm symbol at version
1276         GLIBC_2.25.
1277         (roundevenf): Likewise.
1278         (roundevenl): Likewise.
1279         * math/Makefile (libm-calls): Add s_roundevenF.
1280         * math/libm-test.inc (roundeven_test_data): New array.
1281         (roundeven_test): New function.
1282         (main): Call roundeven_test.
1283         * math/test-tgmath.c (NCALLS): Increase to 134.
1284         (F(compile_test)): Call roundeven.
1285         (F(roundeven)): New function.
1286         * manual/arith.texi (Rounding Functions): Document roundeven,
1287         roundevenf and roundevenl.
1288         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
1289         * include/math.h (roundeven): Use libm_hidden_proto.
1290         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
1291         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
1292         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
1293         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
1294         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
1295         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
1296         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1297         roundeven.
1298         (CFLAGS-nldbl-roundeven.c): New variable.
1299         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
1300         * sysdeps/nacl/libm.abilist: Update.
1301         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1302         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1303         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1304         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1305         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1306         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1307         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1308         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1309         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1310         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1311         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1312         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1314         Likewise.
1315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1316         Likewise.
1317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1318         Likewise.
1319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1320         Likewise.
1321         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1323         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1324         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1327         Likewise.
1328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1329         Likewise.
1330         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1331         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1332         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1334 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1336         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
1337         preprocessor indentation inside #if.
1339 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1341         * math/libm-test.inc (fmt_ftostr): New function.
1342         (print_float, check_float_internal): Replace some uses of
1343         FTOSTR with uses of fmt_ftostr.
1344         (print_max_error, print_complex_max_error, print_function_ulps)
1345         (print_complex_function_ulps): Remove uses of the macros
1346         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
1347         * math/test-double.h (FTOSTR): Define to strfromd.
1348         (PRINTF_EXPR): Delete.
1349         (PRINTF_XEXPR): Likewise.
1350         (PRINTF_NEXPR): Likewise.
1351         * math/test-float.h (FTOSTR): Define to strfromf.
1352         (PRINTF_EXPR): Delete.
1353         (PRINTF_XEXPR): Likewise.
1354         (PRINTF_NEXPR): Likewise.
1355         * math/test-ldouble.h (FTOSTR): Define to strfroml.
1356         (PRINTF_EXPR): Delete.
1357         (PRINTF_XEXPR): Likewise.
1358         (PRINTF_NEXPR): Likewise.
1360 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1362         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
1363         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
1364         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1365         (__lll_lock_elision): Decrement adapt_count while unlocking
1366         instead of before locking.
1367         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1368         (__lll_trylock_elision): Likewise.
1369         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
1370         (__lll_unlock_elision): Likewise.
1372 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1374         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
1375         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
1376         Use __libc_tbegin_retry macro.
1378 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1380         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
1381         Add -msoft-float.
1382         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
1383         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
1384         Use __libc_t* transaction macros instead of __builtin_t*.
1385         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1386         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1388 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1390         * sysdeps/unix/sysv/linux/s390/elision-lock.c
1391         (__lll_lock_elision): Use atomics to load / store adapt_count.
1392         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
1393         (__lll_trylock_elision): Likewise.
1395 2016-12-20  Florian Weimer  <fweimer@redhat.com>
1397         Do not require memset elimination in explicit_bzero test.
1398         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
1399         (enum test_expectation): Add NO_EXPECTATIONS.
1400         (subtests): NO_EXPECTATIONS for ordinary clear.
1401         (check_test_buffer): Handle NO_EXPECTATIONS.
1402         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
1404 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
1406         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1407         (fmaxmag): New declaration.
1408         (fminmag): Likewise.
1409         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
1410         macro.
1411         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
1412         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
1413         (fmaxmagf): Likewise.
1414         (fmaxmagl): Likewise.
1415         (fminmag): Likewise.
1416         (fminmagf): Likewise.
1417         (fminmagl): Likewise.
1418         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
1419         * math/s_fmaxmag_template.c: New file.
1420         * math/s_fminmag_template.c: Likewise.
1421         * math/libm-test.inc (fmaxmag_test_data): New array.
1422         (fmaxmag_test): New function.
1423         (fminmag_test_data): New array.
1424         (fminmag_test): New function.
1425         (main): Call fmaxmag_test and fminmag_test.
1426         * math/test-tgmath.c (NCALLS): Increase to 132.
1427         (F(compile_test)): Call fmaxmag and fminmag.
1428         (F(fminmag)): New function.
1429         (F(fmaxmag)): Likewise.
1430         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
1431         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
1432         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
1433         fminmag.
1434         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
1435         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
1436         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1437         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1438         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
1439         and fminmag.
1440         (CFLAGS-nldbl-fmaxmag.c): New variable.
1441         (CFLAGS-nldbl-fminmag.c): Likewise.
1442         * sysdeps/nacl/libm.abilist: Update.
1443         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1444         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1445         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1446         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1447         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1448         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1449         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1450         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1451         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1452         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1453         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1454         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1456         Likewise.
1457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1458         Likewise.
1459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1460         Likewise.
1461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1462         Likewise.
1463         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1464         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1465         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1466         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1467         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1469         Likewise.
1470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1471         Likewise.
1472         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1473         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1474         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1476 2016-12-19  Torvald Riegel  <triegel@redhat.com>
1478         [BZ #20973]
1479         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
1480         wake-up in robust mutexes.
1481         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1483 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1485         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
1486         (CFLAGS-bench-fmaxf.c): New rule.
1487         (CFLAGS-bench-fminf.c): Likewise.
1488         * benchtests/fmaxf-inputs: New file.
1489         * benchtests/fminf-inputs: Likewise.
1491         * benchtests/Makefile (bench-math): Add fmin and fmax.
1492         (CFLAGS-bench-fmax.c): New rule.
1493         (CFLAGS-bench-fmin.c): Likewise.
1494         * benchtests/fmax-inputs: New file.
1495         * benchtests/fmin-inputs: Likewise.
1497         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
1498         parenthesis.
1499         (CMDLINE_PROCESS): Define using function instead of macro.
1500         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
1501         of test-skeleton.
1502         * benchtests/bench-memchr.c: Likewise.
1503         * benchtests/bench-memcmp.c: Likewise.
1504         * benchtests/bench-memcpy-large.c: Likewise.
1505         * benchtests/bench-memcpy.c: Likewise.
1506         * benchtests/bench-memmem.c: Likewise.
1507         * benchtests/bench-memmove-large.c: Likewise.
1508         * benchtests/bench-memmove.c: Likewise.
1509         * benchtests/bench-memset-large.c: Likewise.
1510         * benchtests/bench-memset.c: Likewise.
1511         * benchtests/bench-rawmemchr.c: Likewise.
1512         * benchtests/bench-strcasecmp.c: Likewise.
1513         * benchtests/bench-strcasestr.c: Likewise.
1514         * benchtests/bench-strcat.c: Likewise.
1515         * benchtests/bench-strchr.c: Likewise.
1516         * benchtests/bench-strcmp.c: Likewise.
1517         * benchtests/bench-strcpy.c: Likewise.
1518         * benchtests/bench-strcpy_chk.c: Likewise.
1519         * benchtests/bench-strlen.c: Likewise.
1520         * benchtests/bench-strncasecmp.c: Likewise.
1521         * benchtests/bench-strncmp.c: Likewise.
1522         * benchtests/bench-strncpy.c: Likewise.
1523         * benchtests/bench-strnlen.c: Likewise.
1524         * benchtests/bench-strpbrk.c: Likewise.
1525         * benchtests/bench-strrchr.c: Likewise.
1526         * benchtests/bench-strsep.c: Likewise.
1527         * benchtests/bench-strspn.c: Likewise.
1528         * benchtests/bench-strstr.c: Likewise.
1529         * benchtests/bench-strtok.c: Likewise.
1531 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1533         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
1534         stepping identification.
1535         (init_cpu_features): Add handle of Haswell.
1537 2016-11-25  Jim Meyering  <meyering@fb.com>
1539         [BZ #20386]
1540         Let gcc detect assert(a = 1) errors.
1541         * assert/assert.h (assert): Rewrite, retaining the old definintion
1542         when required, but otherwise putting the expression as-is in an "if"
1543         expression (hence, with no added parentheses) within a statement
1544         expression.
1546 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1548         * benchtests/Makefile (binaries-benchset): Depend on libsupport
1549         DSO.
1551 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
1553         * Rules (python-flags, python-invoke): New.
1554         ($(test-printers-out)): Use $(python-flags).
1556 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1558         * manual/arith.texi (Math Error Reporting): Document that sNaN
1559         arguments are not considered domain errors.
1561 2016-12-16  Zack Weinberg <zackw@panix.com>
1562             Florian Weimer <fweimer@redhat.com>
1563             Nick Mathewson <nickm@torproject.org>
1565         * string/explicit_bzero.c: New routine.
1566         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
1567         * string/Makefile (routines, strop-tests, tests): Add them.
1568         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
1569         * string/string.h [__USE_MISC]: Declare explicit_bzero.
1571         * debug/explicit_bzero_chk.c: New routine.
1572         * debug/Makefile (routines): Add it.
1573         * debug/tst-chk1.c: Test fortification of explicit_bzero.
1574         * string/bits/string3.h: Fortify explicit_bzero.
1576         * manual/string.texi: Document explicit_bzero.
1577         * NEWS: Mention addition of explicit_bzero.
1579         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
1580         data before returning, using explicit_bzero.
1581         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
1582         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1583         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1585         * include/string.h: Redirect internal uses of explicit_bzero
1586         to __explicit_bzero_chk[_internal].
1587         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
1588         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
1589         * sysdeps/arm/nacl/libc.abilist
1590         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1591         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1592         * sysdeps/unix/sysv/linux/arm/libc.abilist
1593         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1594         * sysdeps/unix/sysv/linux/i386/libc.abilist
1595         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1596         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1597         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1598         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1599         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1600         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1601         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1602         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1603         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1608         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1609         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1610         * sysdeps/unix/sysv/linux/sh/libc.abilist
1611         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1612         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1615         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1616         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1617         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1618         Add entries for explicit_bzero and __explicit_bzero_chk.
1620 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1622         * math/fenv.h
1623         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
1624         (FE_SNANS_ALWAYS_SIGNAL): New macro.
1625         * math/test-fe-snans-always-signal.c: New file.
1626         * math/Makefile (tests): Add test-fe-snans-always-signal.
1627         (CFLAGS-test-fe-snans-always-signal.c): New variable.
1628         * manual/arith.texi (Infinity and NaN): Document
1629         FE_SNANS_ALWAYS_SIGNAL.
1631 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1633         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
1634         bracket.
1636 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
1638         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
1639         before calling execv.
1641 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1643         [BZ# 20971]
1644         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
1645         overflow in pointer addition.
1646         * string/test-memchr.c (do_test): Add an argument to pass as
1647         the size on memchr.
1648         (test_main): Add check for SIZE_MAX.
1650 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1652         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
1653         (libm-calls): Add w_scalblnF.
1654         * math/w_scalbln.c: Remove.
1655         * math/w_scalblnf.c: Likewise.
1656         * math/w_scalblnl.c: Likewise.
1657         * math/w_scalbln_template.c: New file with type-generic
1658         implementation based on math/w_scalbln.c.
1659         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
1660         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
1662 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1664         [BZ #20947]
1665         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
1666         either is a signaling NaN.
1667         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
1668         follow fmaxl more closely.
1669         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
1670         when either is a signaling NaN.
1671         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
1672         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
1673         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
1674         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
1675         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
1676         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
1677         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
1678         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
1679         (fmin_test_data): Likewise.
1681 2016-12-15  Andreas Schwab  <schwab@suse.de>
1683         * support/support_test_main.c (support_test_main): Don't shadow
1684         file-local variable test_pid.
1686 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
1688         [BZ #20947]
1689         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
1690         either is a signaling NaN.
1691         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
1693 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1695         [BZ #20947]
1696         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
1697         when either is a signaling NaN.
1698         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
1700         * bits/long-double.h: New file.
1701         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
1702         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
1703         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
1704         * sysdeps/mips/bits/long-double.h: Likewise.
1705         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
1706         * math/Makefile (headers): Add bits/long-double.h.
1707         * misc/sys/cdefs.h: Include <bits/long-double.h>.
1708         * stdlib/strtold.c: Include <bits/long-double.h> instead of
1709         <bits/wordsize.h>.
1710         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
1711         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
1712         * math/math.h: Do not include <bits/mathdef.h>.
1713         * sysdeps/aarch64/bits/mathdef.h: Remove file.
1714         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
1715         inclusion.
1716         * sysdeps/ia64/bits/mathdef.h: Remove file.
1717         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
1718         * sysdeps/mips/bits/mathdef.h: Likewise.
1719         * sysdeps/powerpc/bits/mathdef.h: Likewise.
1720         * sysdeps/s390/bits/mathdef.h: Likewise.
1721         * sysdeps/sparc/bits/mathdef.h: Likewise.
1722         * sysdeps/x86/bits/mathdef.h: Likewise.
1723         * sysdeps/s390/s390-32/bits/wordsize.h
1724         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
1725         conditional code.
1726         * sysdeps/s390/s390-64/bits/wordsize.h
1727         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1728         Likewise.
1729         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
1730         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1731         Likewise.
1732         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
1733         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1734         Likewise.
1735         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1736         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
1737         Likewise.
1739         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
1740         <linux/falloc.h>.
1741         (FALLOC_FL_KEEP_SIZE): Remove.
1742         (FALLOC_FL_PUNCH_HOLE): Likewise.
1743         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
1744         (FALLOC_FL_ZERO_RANGE): Likewise.
1746 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1748         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
1750 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1752         * sysdeps/unix/sysv/linux/renameat.c: New file.
1753         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
1755         * sysdeps/unix/sysv/linux/rename.c: New file.
1756         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
1758 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1760         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
1761         * string/strtok.c (strtok): Change to tailcall __strtok_r.
1762         * string/strtok_r.c (__strtok_r): Optimize for performance.
1763         * string/string-inlines.c (__old_strtok_r_1c): New function.
1764         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
1766 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1768         * math/Makefile (gen-libm-calls): Add w_log1pF.
1769         (libm-calls): Remove w_log1pF.
1770         * math/w_log1p.c: Remove.
1771         * math/w_log1pf.c: Likewise.
1772         * math/w_log1pl.c: Likewise.
1773         * math/w_log1p_template.c: New file with type-generic
1774         implementation based on math/w_log1p.c.
1775         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
1776         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
1778 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
1780         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
1782 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
1784         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1785         kernel version to 4.9.
1787 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
1789         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
1790         ($(inst_libdir)/libm.a): Fix rule to create the target only.
1792 2016-12-13  Andreas Schwab  <schwab@suse.de>
1794         * sysdeps/powerpc/dl-procinfo.c: Don't define
1795         _dl_powerpc_platforms.
1796         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
1797         constants instead of referencing _dl_powerpc_platforms.
1798         (_dl_platform_string): Remove.
1800 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1802         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
1804 2016-12-13  Florian Weimer  <fweimer@redhat.com>
1806         * Rules (binaries-shared-tests, binaries-pie-tests)
1807         (binaries-static-tests): Link with $(link-extra-libs-tests).
1808         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
1809         Remove $(link-extra-libs-tests).
1811 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1813         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1814         (sysdep_routines): Add strncmp_power9.
1815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1816         (strncmp): Add __strncmp_power9 to list of strncmp functions.
1817         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
1818         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
1819         (strncmp): Add __strncmp_power9 to ifunc list.
1820         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
1822 2016-12-12  Florian Weimer  <fweimer@redhat.com>
1824         [BZ #17252]
1825         Add getentropy, getrandom.
1826         * stdlib/sys/random.h: New file.
1827         (headers): Add it.
1828         * stdlib/Makefile (routines): Add getentropy, getrandom.
1829         (tests): Add tst-getrandom.
1830         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
1831         * stdlib/getentropy.c: New file.
1832         * stdlib/getrandom.c: Likewise.
1833         * stdlib/tst-getrandom.c: Likewise.
1834         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
1835         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
1836         * manual/crypt.texi (Unpredictable Bytes): New section.
1837         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
1838         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
1839         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1840         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1841         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1842         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1844         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1845         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1846         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1847         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1850         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1851         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1852         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1854         Likewise.
1855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1856         Likewise.
1857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1859         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1860         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1861         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1862         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1863         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1866         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1867         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1868         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1870 2016-12-10  Florian Weimer  <fweimer@redhat.com>
1872         [BZ #20956]
1873         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
1874         as additional compiler barriers.
1875         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
1876         (fn2, do_test): Declare with external linkage.
1877         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
1878         (do_test): Declare with external linkage.
1879         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
1880         (do_test): Declare with external linkage.
1881         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
1882         (do_test): Declare with external linkage.
1884 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
1886         * support/support_test_main.c (support_test_main): Use correct
1887         timeout.
1889 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
1890             Florian Weimer  <fweimer@redhat.com>
1892         [BZ #16421]
1893         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
1894         and __u6_addr32 members.
1895         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
1896         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
1897         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
1898         Use __u6_addr32.
1899         * inet/tst-checks.c: Use <support/test-driver.c>
1900         * inet/tst-checks-posix.c: New file.
1901         * inet/Makefile (tests): Add it.
1902         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
1904 2016-12-09  Florian Weimer  <fweimer@redhat.com>
1906         New subdirectory support for build and test infrastructure.
1907         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
1908         setting install-lib.
1909         * Makeconfig (link-extra-libs-tests): Define.
1910         (+link-pie-tests, +link-static-tests, +link-tests): Use
1911         link-extra-libs-tests.
1912         (rpath-dirs, all-subdirs): Add support.
1913         (built-modules): Add libsupport.
1914         (libsupport): Define.
1915         * support: New directory.
1916         * support/Makefile: New file.
1917         * support/check.c: Likewise.
1918         * support/check.h: Likewise.
1919         * support/delayed_exit.c: Likewise.
1920         * support/ignore_stderr.c: Likewise.
1921         * support/oom_error.c: Likewise.
1922         * support/set_fortify_handler.c: Likewise.
1923         * support/support.h: Likewise.
1924         * support/temp_file-internal.h: Likewise.
1925         * support/temp_file.c: Likewise.
1926         * support/test-driver.c: Likewise.
1927         * support/test-driver.h: Likewise.
1928         * support/test_main.c: Likewise.
1929         * support/write_message.c: Likewise.
1930         * support/xasprintf.c: Likewise.
1931         * support/xcalloc.c: Likewise.
1932         * support/xmalloc.c: Likewise.
1933         * support/xpthread_barrier_destroy.c: Likewise.
1934         * support/xpthread_barrier_init.c: Likewise.
1935         * support/xpthread_barrier_wait.c: Likewise.
1936         * support/xpthread_cancel.c: Likewise.
1937         * support/xpthread_check_return.c: Likewise.
1938         * support/xpthread_cond_wait.c: Likewise.
1939         * support/xpthread_create.c: Likewise.
1940         * support/xpthread_detach.c: Likewise.
1941         * support/xpthread_join.c: Likewise.
1942         * support/xpthread_mutex_lock.c: Likewise.
1943         * support/xpthread_mutex_unlock.c: Likewise.
1944         * support/xpthread_sigmask.c: Likewise.
1945         * support/xpthread_spin_lock.c: Likewise.
1946         * support/xpthread_spin_unlock.c: Likewise.
1947         * support/xrealloc.c: Likewise.
1948         * support/xsignal.h: Likewise.
1949         * support/xthread.h: Likewise.
1950         * support_tempfile.h: Likewise.
1951         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
1952         (TEST_DATA_LIMIT): Remove unused macro.
1953         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
1954         <support/check.h>.
1955         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
1956         (ignore_stderr, set_fortify_handler): Remove.  Now in
1957         <support/support.h>.
1958         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
1959         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
1960         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
1961         (xpthread_join): Remove.  Now in <support/xthread.h>.
1962         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
1963         Introduce legacy wrappers.
1964         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
1965         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
1966         (write_message): Remove.
1967         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
1968         test-skeleton.c.
1969         * io/test-open-tmpfile: Likewise.
1970         * io/tst-posix_fallocate-common.c: Likewise.
1971         * libio/tst-fseek.c: Likewise.
1972         * malloc/tst-malloc-backtrace.c: Likewise.
1973         * malloc/tst-malloc-fork-deadlock.c: Likewise.
1974         * malloc/tst-malloc-thread-exit.c: Likewise.
1975         * nptl/tst-cancel7.c: Likewise.
1976         * nptl/tst-cleanup0.c: Likewise.
1977         * posix/tst-posix_fadvise-common.c: Likewise.
1978         * rt/tst-shm.c: Likewise.
1979         * time/bug-getdate1.c: Likewise.
1980         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1981         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
1982         * elf/Makefile (tst-piemod1.so): Link against libsupport.
1984 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
1986         * Rules [$(run-built-tests) != no] (tests-expected): Add
1987         $(tests-printers).
1988         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
1990 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1992         [BZ #20539]
1993         * math/Makefile (install-lib-ldscripts): Add libm.a.
1994         (install_subdir): Remove.
1995         (install-others): Add.
1996         ($(inst_libdir)/libm.a): Add rule for installation as
1997         linker script.
1998         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2000 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2002         * INSTALL: Regenerated.
2003         * Makeconfig: Add comments and whitespace to make the control flow
2004         clearer.
2005         (+link-printers-tests, +link-pie-printers-tests,
2006         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2007         built-rtld-LDFLAGS, link-libc-rpath,
2008         link-libc-tests-after-rpath-link,
2009         link-libc-printers-tests): New.
2010         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2011         link-libc-tests): Use the new variables as required.
2012         * Makerules ($(py-const)): New rule.
2013         generated: Add $(py-const).
2014         * README.pretty-printers: New file.
2015         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2016         (others): Depend on $(py-const).
2017         (tests): Depend on $(tests-printers-programs) or
2018         $(tests-printers-out),
2019         as required.  Pass $(tests-printers) to merge-test-results.sh.
2020         * manual/install.texi: Add requirements for testing the pretty
2021         printers.
2022         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2023         tests-printers, CFLAGS-test-mutexattr-printers.c
2024         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2025         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2026         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2027         * nptl/nptl-printers.py: New file.
2028         * nptl/nptl_lock_constants.pysym: Likewise.
2029         * nptl/test-cond-printers.c: Likewise.
2030         * nptl/test-cond-printers.py: Likewise.
2031         * nptl/test-condattr-printers.c: Likewise.
2032         * nptl/test-condattr-printers.py: Likewise.
2033         * nptl/test-mutex-printers.c: Likewise.
2034         * nptl/test-mutex-printers.py: Likewise.
2035         * nptl/test-mutexattr-printers.c: Likewise.
2036         * nptl/test-mutexattr-printers.py: Likewise.
2037         * nptl/test-rwlock-printers.c: Likewise.
2038         * nptl/test-rwlock-printers.py: Likewise.
2039         * nptl/test-rwlockattr-printers.c: Likewise.
2040         * nptl/test-rwlockattr-printers.py: Likewise.
2041         * scripts/gen-py-const.awk: Likewise.
2042         * scripts/test_printers_common.py: Likewise.
2043         * scripts/test_printers_exceptions.py: Likewise.
2045 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2047         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2048         argument.
2049         (Glibc.build_glibc): Strip installed shared libraries if
2050         requested.
2051         (get_parser): Add --strip option.
2052         (main): Update Context call.
2054 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2055             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2057         [BZ #20847]
2058         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2059         array bounds for else branch.
2060         (__execvpe): Style fixes.
2061         * posix/tst-vfork3.c (run_script): New function.
2062         (create_script): Likewise.
2063         (do_test): Use run_script internal function.
2064         (do_prepare): Use create_script internal function.
2066 2016-12-07  Andreas Schwab  <schwab@suse.de>
2068         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2069         (__elision_available): Don't declare.
2070         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2071         (__elision_available): Don't define.
2072         (elision_init): Don't set __elision_available.
2074 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2076         [BZ #20940]
2077         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2078         return Inf for arguments Inf and sNaN.
2079         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2080         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2081         Likewise.
2082         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2083         Likewise.
2084         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2085         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2086         for arguments Inf and sNaN.  When returning a NaN, compute it by
2087         arithmetic on the arguments.
2088         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2089         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2090         arguments.
2092 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2094         [BZ #20916]
2095         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2096         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2097         to compute result.
2098         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2099         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2101 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2103         * include/atomic.h (__atomic_check_size_ls): New.
2104         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2105         atomic_store_release): Use it.
2106         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2107         (elision_adapt, ELIDE_LOCK): Use atomics.
2108         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2109         atomics and improve code comments.
2110         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2111         (__lll_trylock_elision): Likewise.
2113 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2115         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2116         programs.
2118 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2120         [BZ #20916]
2121         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2122         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2123         arguments to compute result.
2124         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2125         1 for arguments (sNaN, 0) or (1, sNaN).
2126         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2127         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2129         [BZ #20919]
2130         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2131         NaN first argument when raised to power 0.
2132         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2133         raising to power zero.
2134         * math/w_powf.c (__powf): Likewise.
2135         * math/w_powl.c (__powl): Likewise.
2136         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
2137         pow (0, 0) or pow (NaN, 0).
2139 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
2141         [BZ #20918]
2142         * configure.ac: Test for static NSS cryptographic libraries and set
2143         libc_cv_static_nss_crypt.
2144         * configure: Regenerate.
2145         * config.make.in (static-nss-crypt): Define.
2146         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
2147         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
2148         (CFLAGS-tst-linkall-static.c): Define.
2149         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
2150         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
2151         ($(objpfx)tst-linkall-static): Define.
2152         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
2153         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
2155 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2157         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
2158         (one-hundred, tst-tls-many-dynamic-modules): Define.
2159         (modules-names): Add $(tst-tls-many-dynamic-modules).
2160         (tst-tls-manydynamic%mod.os): Build with special preprocessor
2161         macros.
2162         (tst-tls-manydynamic): Link against libdl, libpthread.
2163         (tst-tls-manydynamic.out): The test needs the test modules at run
2164         time.
2165         * elf/tst-tls-manydynamic.c: New file.
2166         * elf/tst-tls-manydynamic.h: Likewise.
2167         * elf/tst-tls-manydynamicmod.c: Likewise.
2169 2016-12-02  Florian Weimer  <fweimer@redhat.com>
2171         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
2172         (TLS_DTV_UNALLOCATED): Add.
2173         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
2174         offsets.
2176 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2178         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2180 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
2182         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
2183         Add -fno-optimize-sibling-calls.
2185 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2187         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
2188         New declaration.
2189         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
2190         macro.
2191         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
2192         New macro.
2193         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
2194         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
2195         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
2196         (llogbf): Likewise.
2197         (llogbl): Likewise.
2198         * math/Makefile (gen-libm-calls): Add w_llogbF.
2199         (tests): Add test-fp-llogb-constants.
2200         * math/w_llogb_template.c: New file.  Based on
2201         math/w_ilogb_template.c.
2202         * math/libm-test.inc (llogb_test_data): New array.
2203         (llogb_test): New function.
2204         (main): Call llogb_test.
2205         * math/test-fp-llogb-constants.c: New file.  Based on
2206         math/test-fp-ilogb-constants.c.
2207         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
2208         (do_test): Call check_return_llogb.
2209         * math/test-tgmath.c (NCALLS): Increase to 126.
2210         (F(compile_test)): Call llogb.
2211         (F(llogb)): New function.
2212         * manual/math.texi (Exponents and Logarithms): Document llogb,
2213         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
2214         * manual/libm-err-tab.pl (@all_functions): Add llogb.
2215         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
2216         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
2217         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
2218         (CFLAGS-nldbl-llogb.c): New variable.
2219         * sysdeps/nacl/libm.abilist: Update.
2220         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2221         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2222         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2223         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2224         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2225         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2226         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2227         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2228         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2229         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2230         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2231         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2233         Likewise.
2234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2235         Likewise.
2236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2237         Likewise.
2238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2239         Likewise.
2240         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2241         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2242         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2243         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2244         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2245         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2246         Likewise.
2247         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2248         Likewise.
2249         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2250         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2251         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2253 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2255         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
2256         _Float128 instead of long double.
2257         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
2259         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
2260         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
2261         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
2262         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
2263         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
2264         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
2265         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
2266         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
2267         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
2268         Likewise.
2270 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2272         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
2273         Remove redirection to __strrchr_ppc.
2275 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2277         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2278         (sysdep_routines): Add strcmp_power9.
2279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2280         (strcmp): Add __strcmp_power9 to list of strcmp functions.
2281         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
2282         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
2283         (strcmp): Add __strcmp_power9 to ifunc list.
2284         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
2286 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
2288         * bits/fp-logb.h: New file.
2289         * sysdeps/ia64/bits/fp-logb.h: Likewise.
2290         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
2291         * sysdeps/x86/bits/fp-logb.h: Likewise.
2292         * math/Makefile (headers): Add bits/fp-logb.h.
2293         * math/math.h: Include <bits/fp-logb.h>.
2294         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
2295         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
2296         * bits/mathdef.h (FP_ILOGB0): Remove.
2297         (FP_ILOGBNAN): Likewise.
2298         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
2299         (FP_ILOGBNAN): Likewise.
2300         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
2301         (FP_ILOGBNAN): Likewise.
2302         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
2303         (FP_ILOGBNAN): Likewise.
2304         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
2305         (FP_ILOGBNAN): Likewise.
2306         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
2307         (FP_ILOGBNAN): Likewise.
2308         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
2309         (FP_ILOGBNAN): Likewise.
2310         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
2311         (FP_ILOGBNAN): Likewise.
2312         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
2313         (FP_ILOGBNAN): Likewise.
2314         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
2315         (FP_ILOGBNAN): Likewise.
2317         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
2318         time module.
2319         (Context.__init__): Initialize self.logsdir_old.
2320         (Context.run_builds): Handle bot action.
2321         (Context.bot_cycle): Copy logs directory before running builds.
2322         (Context.bot_run_self): Take argument for whether to check
2323         subprocess result.  Flush stdout before running subprocess.
2324         (Context.bot): New function.
2325         (get_parser): Allow bot action.
2327 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
2329         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
2330         Import email.mime.text, email.utils and smtplib modules.
2331         (Context.__init__): Initialize self.bot_config_json.
2332         (Context.run_builds): Handle bot-cycle action.
2333         (Context.load_bot_config_json): New function.
2334         (Context.part_build_old): Likewise.
2335         (Context.bot_cycle): Likewise.
2336         (Context.bot_build_mail): Likewise.
2337         (Context.bot_run_self): Likewise.
2338         (get_parser): Allow bot-cycle action.
2340 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2342         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
2343         Remove redirection to __stpcpy_ppc.
2345 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2347         Remove __libc_memalign from ld.so because it is unused.
2348         * elf/dl-minimal.c: Update comment on the malloc implementation.
2349         (malloc): Renamed from __libc_memalign, replacing the original
2350         malloc implementation.  Replace the align parameter with
2351         MALLOC_ALIGNMENT.
2352         * elf/Versions (ld): Update comment and remove __libc_memalign.
2353         * sysdeps/nacl/ld.abilist: Likewise.
2354         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
2355         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
2356         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
2357         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
2358         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
2359         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
2360         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
2361         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
2362         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
2363         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
2364         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
2365         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
2366         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
2367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
2368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2370         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
2371         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
2372         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
2373         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
2374         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
2375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
2376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
2377         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
2378         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
2379         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
2380         * sysdeps/generic/localplt.data (ld.so): Likewise.
2381         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2382         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2383         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2384         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2385         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2386         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2387         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2388         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
2389         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2391         (ld.so): Likewise.
2392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2393         (ld.so): Likewise.
2394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2395         Likewise.
2396         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2397         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2398         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
2399         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
2400         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2402 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2404         [BZ #16628]
2405         Implement _dl_catch_error, _dl_signal_error in libc.so.
2406         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
2407         (catch_hook): Define as thread-local or regular variable,
2408         depending on DL_ERROR_BOOTSTRAP.
2409         (CATCH_HOOK): Remove.
2410         (dl_signal_error, _dl_catch_error): Use
2411         catch_hook.  Add hidden definition for libc.
2412         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
2413         for DL_ERROR_BOOTSTRAP only.
2414         * elf/dl-error.c: New file.
2415         * elf/dl-error-minimal.c: Likewise.
2416         * elf/tst-latepthread.c: Likewise.
2417         * elf/tst-latepthreadmod.c: Likewise.
2418         * elf/Makefile (routines): Add dl-error.
2419         (dl-routines): Remove dl-error.
2420         (rtld-routines): Add dl-error-minimal.
2421         [build-shared] (tests): Add tst-latepthread.
2422         (module-names): Add tst-latepthreadmod.
2423         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
2424         symbol.
2425         (tst-latepthreadmod.so): Link against libpthread.
2426         (tst-latepthread): Link against libdbl.
2427         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
2428         _dl_catch_error.
2429         [ld] (GLIBC_PRIVATE): Likewise.
2430         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
2431         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
2432         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
2433         directly.
2434         * elf/dl-tsd.c: Remove file.
2435         * elf/rtld.c (_rtld_global_ro): Remove initializers for
2436         _dl_catch_error, _dl_signal_error.
2437         (_dl_initial_error_catch_tsd): Remove definition.
2438         (do_preload): Remove initialization of dl_error_catch_tsd.
2439         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
2440         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
2441         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2442         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2443         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
2444         set dl_error_catch_tsd.
2445         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
2446         _dl_error_catch_tsd member.
2447         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
2448         members.
2449         (_dl_initial_error_catch_tsd): Remove declaration.
2450         (_dl_dprintf): Provide definition for use outside of ld.so.
2451         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
2452         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
2453         prototype for libc.
2454         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
2455         _dl_catch_error.
2456         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
2457         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
2458         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
2459         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
2460         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
2461         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
2462         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
2463         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
2464         Likewise.
2465         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
2466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
2467         (ld.so): Likewise.
2468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
2469         (ld.so): Likewise.
2470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
2471         Likewise.
2472         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
2473         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
2474         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
2475         Likewise.
2476         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
2477         Likewise.
2478         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
2480 2016-11-30  Florian Weimer  <fweimer@redhat.com>
2482         [BZ #4099]
2483         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
2484         _IO_BUFSIZ (8192).
2486 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
2488         * PROJECTS: Remove file.
2490 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2492         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
2494 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
2495             Steve Ellcey  <sellcey@caviumnetworks.com>
2497         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
2498         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
2499         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
2500         fxstatat.
2501         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
2502         lxstat.
2503         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
2504         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
2505         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
2506         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
2507         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
2508         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
2509         __xstat.
2511 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2513         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
2514         Define.
2515         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
2516         definition.
2518 2016-11-29  Florian Weimer  <fweimer@redhat.com>
2520         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
2521         version and turn into strong alias.  Remove compat symbol.
2523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2524         (__longjmp): Remove.
2526 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
2528         * bits/fp-fast.h: New file.
2529         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
2530         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
2531         * math/Makefile (headers): Add bits/fp-fast.h.
2532         * math/math.h: Include <bits/fp-fast.h>.
2533         * bits/mathdef.h (FP_FAST_FMA): Remove.
2534         (FP_FAST_FMAF): Likewise.
2535         (FP_FAST_FMAL): Likewise.
2536         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
2537         (FP_FAST_FMAF): Likewise.
2538         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
2539         (FP_FAST_FMAF): Likewise.
2540         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
2541         (FP_FAST_FMAF): Likewise.
2542         (FP_FAST_FMAL): Likewise.
2543         * sysdeps/arm/bits/mathdef.h: Remove file.
2544         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
2545         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
2546         * sysdeps/tile/bits/mathdef.h: Likewise.
2548 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2550         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
2551         * math/w_ilogb.c: Remove.
2552         * math/w_ilogbf.c: Likewise.
2553         * math/w_ilogbl.c: Likewise.
2554         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
2555         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
2556         * math/Makefile (gen-libm-calls): Add w_ilogbF.
2557         (libm-calls): Remove w_ilogbF.
2558         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
2559         (LDOUBLE_ilogbl_libm_version): New macro.
2561         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
2563         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
2564         [!__STRICT_ANSI__ && !__cplusplus].
2566 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
2568         [BZ #20750]
2569         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
2570         of PIC.
2572 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2573             Yury Norov  <ynorov@caviumnetworks.com>
2574             Steve Ellcey  <sellcey@caviumnetworks.com>
2576         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
2577         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
2578         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
2579         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
2580         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
2581         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
2582         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
2583         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
2584         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
2585         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
2586         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
2587         to get correct reg name for ILP32.
2588         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
2589         (RELA_SIZE): New Macro.
2590         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
2591         to support ILP32.
2592         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
2593         cast for ILP32 mode.
2594         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
2595         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
2596         * sysdeps/aarch64/memset.S (__memset): Ditto.
2597         * sysdeps/aarch64/strchr.S (strchr): Ditto.
2598         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
2599         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
2600         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
2601         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
2602         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
2603         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
2604         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
2605         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
2606         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
2607         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
2608         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
2609         change PTR_MANGLE call to use register numbers instead of names.
2610         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
2611         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
2612         ILP32 mode, change PTR_MANGLE calls to use register numbers.
2613         * sysdeps/aarch64/start.S (_start): Ditto.
2614         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
2615         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
2616         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
2617         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
2618         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
2619         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
2620         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
2621         Make defined values dependent on __ILP32__.
2622         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
2623         (sem_t): Change __align type.
2624         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
2625         PTR_SIZE): New Macros.
2626         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
2627         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
2628         Set when in ILP32 mode.
2629         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
2630         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
2631         Set elf flags for ILP32.
2632         (add_system_dir): Set ILP32 library directories.
2633         * sysdeps/unix/sysv/linux/aarch64/init-first.c
2634         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
2635         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
2636         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
2637         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
2638         New Macros.
2639         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
2641 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
2643         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
2644         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
2645         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
2647 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
2649         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
2650         <asm/cachectl.h>.
2652 2016-11-27  Zack Weinberg  <zackw@panix.com>
2654         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
2655         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
2657 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2659         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
2660         error_t to fix usage in C++ programs.
2662 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
2664         * scripts/build-many-glibcs.py: Import datetime module.
2665         (Context.__init__): Load JSON build state.  Initialize list of
2666         status logs.
2667         (Context.run_builds): Update saved build state.
2668         (Context.add_makefile_cmdlist): Update list of status logs.
2669         (Context.load_build_state_json): New function.
2670         (Context.store_build_state_json): Likewise.
2671         (Context.clear_last_build_state): Likewise.
2672         (Context.update_build_state): Likewise.
2673         (CommandList.status_logs): Likewise.
2675 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
2677         * scripts/build-many-glibcs.py (Context.__init__): Save text of
2678         script being executed.
2679         (Context.get_script_text): New function.
2680         (Context.exec_self): Likewise.
2681         (Context.checkout): Re-exec script if changed by checkout process.
2683 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2685         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2686         (setpayloadsig): New declaration.
2687         * math/Versions (setpayloadsig): New libm symbol at version
2688         GLIBC_2.25.
2689         (setpayloadsigf): Likewise.
2690         (setpayloadsigl): Likewise.
2691         * math/Makefile (libm-calls): Add s_setpayloadsigF.
2692         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
2693         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
2694         (setpayloadsig_test_data): New array.
2695         (setpayloadsig_test): New function.
2696         (main): Call setpayloadsig_test.
2697         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
2698         setpayloadsigf and setpayloadsigl.
2699         * manual/libm-err-tab.pl: Update comment on interfaces without
2700         ulps tabulated.
2701         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
2702         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
2703         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
2704         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
2705         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
2706         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
2707         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2708         setpayloadsig.
2709         (CFLAGS-nldbl-setpayloadsig.c): New variable.
2710         * sysdeps/nacl/libm.abilist: Update.
2711         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2712         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2713         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2714         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2715         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2719         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2720         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2721         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2724         Likewise.
2725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2726         Likewise.
2727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2728         Likewise.
2729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2730         Likewise.
2731         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2732         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2733         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2734         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2735         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2737         Likewise.
2738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2739         Likewise.
2740         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2741         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2742         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2744         * scripts/build-many-glibcs.py: Import json module.
2745         (Context.__init__): Take replace_sources argument.  Load
2746         versions.json.
2747         (Context.load_versions_json): New function.
2748         (Context.store_json): Likewise.
2749         (Context.store_versions_json): Likewise.
2750         (Context.set_component_version): Likewise.
2751         (Context.checkout): Update versions.json.  Check for and handle
2752         changes of version.  Prefer previously explicitly specified
2753         version to default version.
2754         (Context.checkout_vcs): Return a revision identifier.
2755         (Context.git_checkout): Likewise.
2756         (Context.gcc_checkout): Likewise.
2757         (get_parser): Add --replace-sources option.
2758         (main): Pass replace_sources argument to Context call.
2760 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2762         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
2763         * nptl/allocatestack.c (allocate_stack): Likewise.
2764         (__reclaim_stacks): Likewise.
2765         (setxid_signal_thread): Obtain pid through syscall.
2766         * nptl/nptl-init.c (sigcancel_handler): Likewise.
2767         (sighandle_setxid): Likewise.
2768         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
2769         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2770         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
2771         Likewise.
2772         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2773         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
2774         comment.
2775         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
2776         * nptl/descr.h (struct pthread): Change comment about pid value.
2777         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
2778         pid assert.
2779         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
2780         Do not set pid value.
2781         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
2782         pid cache check.
2783         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
2784         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
2785         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
2786         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
2787         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
2788         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
2789         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
2790         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
2791         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
2792         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
2793         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
2794         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
2795         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
2796         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
2797         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
2798         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
2799         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
2800         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
2801         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
2802         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
2803         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
2804         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2805         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
2806         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
2807         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
2808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
2810         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2811         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2812         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2813         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
2814         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
2815         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
2816         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2817         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
2818         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2819         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
2820         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2821         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
2822         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
2823         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2824         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
2825         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
2826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2828         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2829         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2830         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2831         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2832         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2833         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
2834         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
2835         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
2836         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
2837         struct access.
2838         (clone_test): Remove function.
2839         (do_test): Rewrite to take in consideration pid is not cached anymore.
2841 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
2843         * bits/flt-eval-method.h: New file.
2844         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
2845         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
2846         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
2847         * math/Makefile (headers): Add bits/flt-eval-method.h.
2848         * math/math.h: Include <bits/flt-eval-method.h>.
2849         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
2850         [__USE_ISOC99] (double_t): Likewise.
2851         * bits/mathdef.h (float_t): Remove.
2852         (double_t): Likewise.
2853         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
2854         (double_t): Likewise.
2855         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
2856         (double_t): Likewise.
2857         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
2858         (double_t): Likewise.
2859         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
2860         (double_t): Likewise.
2861         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
2862         (double_t): Likewise.
2863         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
2864         (double_t): Likewise.
2865         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
2866         (double_t): Likewise.
2867         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
2868         (double_t): Likewise.
2869         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
2870         (double_t): Likewise.
2871         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
2872         (double_t): Likewise.
2873         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
2874         (double_t): Likewise.
2875         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
2876         (double_t): Likewise.
2877         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
2878         (double_t): Likewise.
2880 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
2882         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
2883         instead of PIC.
2885 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2887         [BZ #20859]
2888         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
2889         (-0x7fffffff) instead of 0x80000001.
2890         * math/test-fp-ilogb-constants.c: New file.
2891         * math/Makefile (tests): Add test-fp-ilogb-constants.
2893 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
2895         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
2896         (_init): Use it in place of hardcoded R_MIPS_JALR.
2897         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
2898         (_init): Use it in place of hardcoded R_MIPS_JALR.
2899         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
2900         (_init): Use it in place of hardcoded R_MIPS_JALR.
2902 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2904         [BZ #20787]
2905         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
2906         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
2907         (double_t): Do not define to double if [__x86_64__] when
2908         __FLT_EVAL_METHOD__ is nonzero.
2909         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
2910         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
2911         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
2912         test-flt-eval-method-387 and test-flt-eval-method-sse.
2913         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
2914         variable.
2915         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
2917 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
2919         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
2920         use of -fno-isolate-erroneous-paths options for tilepro.
2922 2016-11-23  Florian Weimer  <fweimer@redhat.com>
2924         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
2925         structure initialization is no longer needed.
2927 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
2929         [BZ #20855]
2930         * bits/mathdef.h (float_t): Define to float.
2931         * math/test-flt-eval-method.c: New file.
2932         * math/Makefile (tests): Add test-flt-eval-method.
2933         (CFLAGS-test-flt-eval-method.c): New variable.
2935 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
2937         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
2938         and __fstatfs.  Make them aliases of __fstatfs64 if
2939         STATFS_IS_STATFS64 is set to non-zero.
2940         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
2941         and __statfs64.
2942         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
2943         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
2944         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
2945         for __statfs and statfs.
2946         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
2947         to 0.
2948         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
2949         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
2950         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
2951         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2952         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2953         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
2956         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
2957         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2958         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
2959         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
2961 2016-11-22  Andreas Schwab  <schwab@suse.de>
2963         * misc/mkstemp.c: Include <fcntl.h>.
2964         * misc/mkstemps.c: Likewise.
2965         * misc/mkostemp.c: Likewise.
2966         * misc/mkostemps.c: Likewise.
2968 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
2970         [BZ #20847]
2971         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2972         array bounds.
2973         (__execvpe): Likewise.
2975 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
2977         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
2978         -fno-isolate-erroneous-paths options for tilepro.
2980 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
2982         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
2983         to 0 when in 32 bit mode.
2984         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
2985         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
2986         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
2987         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
2988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
2989         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
2990         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
2991         XSTAT_IS_XSTAT64 test.
2992         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
2993         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
2994         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
2995         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
2996         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
2997         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
2998         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
2999         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3000         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3001         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3002         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3004 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3006         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3007         (setpayload): New declaration.
3008         * math/Versions (setpayload): New libm symbol at version
3009         GLIBC_2.25.
3010         (setpayloadf): Likewise.
3011         (setpayloadl): Likewise.
3012         * math/Makefile (libm-calls): Add s_setpayloadF.
3013         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3014         test_Ff_b1_data.
3015         (RUN_TEST_Ff_b1): New macro.
3016         (RUN_TEST_LOOP_Ff_b1): Likewise.
3017         (canonicalize_test_data): Update type.
3018         (setpayload_test_data): New array.
3019         (setpayload_test): New function.
3020         (main): Call setpayload_test.
3021         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3022         setpayloadf and setpayloadl.
3023         * manual/libm-err-tab.pl: Update comment on interfaces without
3024         ulps tabulated.
3025         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3026         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3027         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3028         Likewise.
3029         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3030         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3031         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3032         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3033         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3034         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3035         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3036         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3037         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3038         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3039         setpayload.
3040         (CFLAGS-nldbl-setpayload.c): New variable.
3041         * sysdeps/nacl/libm.abilist: Update.
3042         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3043         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3044         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3045         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3046         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3047         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3048         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3049         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3050         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3051         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3052         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3053         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3055         Likewise.
3056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3057         Likewise.
3058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3059         Likewise.
3060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3061         Likewise.
3062         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3063         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3064         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3065         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3066         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3068         Likewise.
3069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3070         Likewise.
3071         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3072         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3073         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3075 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3077         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3078         * include/unistd.h: Extend comment about __access_noerrno return
3079         semantics.
3080         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3081         (access_common): Correct typo for EACCES.
3083 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3085         * sysdeps/tile/math-tests.h: New file.
3087         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3088         (__old_set_dataplane): Rename from set_dataplane and make a
3089         compatibility symbol.
3090         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3091         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3092         sys/dataplane.h.
3094 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3096         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3097         script quote words in command output to log suitably for input to
3098         the shell.
3100 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3101             Maciej W. Rozycki  <macro@imgtec.com>
3103         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3104         `.Lno_weak_fn' label.
3105         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3106         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3108 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3109             Yury Norov  <ynorov@caviumnetworks.com>
3111         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3112         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3113         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3114         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3115         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3116         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3117         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3118         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3119         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3120         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3121         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3122         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3123         (sysdep_routines): Remove oldgetrlimit64.
3124         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3125         (sysdep_routines): Likewise.
3126         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3127         (sysdep_routines): Likewise.
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3129         [$(subdir) = resource] (sysdep_routines): Likewise.
3130         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3131         [$(subdir) = resource] (sysdep_routines): Likewise.
3132         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3133         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3134         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
3135         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
3136         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
3137         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
3138         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
3139         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
3140         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
3141         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
3142         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
3143         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
3144         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
3145         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
3146         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
3147         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
3148         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
3149         setrlimit and getrlimit.
3150         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
3151         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
3152         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
3153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
3155         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
3156         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
3157         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
3158         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3159         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
3160         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
3161         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
3162         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
3163         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
3164         (__old_getrlimit64): Add compatibility symbol.
3165         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
3167 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
3169         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
3170         newly built gmp, mpfr and mpc.
3172         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
3174 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3176         * conform/Makefile (linknamespace-libs): Rename to
3177         linknamespace-libs-thr.
3178         (linknamespace-libs-posix): New variable.
3179         (linknamespace-libs-xsi): Likewise.
3180         (linknamespace-libs-XPG3): Include libcrypt.a.
3181         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
3182         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
3183         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
3184         (linknamespace-libs-XOPEN2K): Likewise.
3185         (linknamespace-libs-XOPEN2K8): Likewise.
3186         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
3188         [BZ #20829]
3189         * stdio-common/Versions (__snprintf): Add to version
3190         GLIBC_PRIVATE.
3191         * include/stdio.h (__snprintf): Use libc_hidden_proto.
3192         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
3193         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
3194         of snprintf.
3195         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3197 2016-11-16  Zack Weinberg  <zackw@panix.com>
3199         * string/string.h: Remove obsolete comment stating that
3200         strcoll_l and strxfrm_l have not yet been standardized.
3202 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3204         * hurd/hurd.h (__hurd_fail_noerrno): New function.
3205         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
3206         __access_noerrno.
3207         * io/access.c (__access_noerrno): New function.
3208         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
3209         (hurd_fail_seterrno): Likewise.
3210         (access_common): Likewise.
3211         (__access_noerrno): Likewise.
3212         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
3213         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
3214         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
3215         macro.
3217 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
3219         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
3220         Only declare fpregs if [__SH_FPU_ANY__].
3222 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
3224         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
3225         Make code unconditional.
3226         [!(__SH4__ || __SH4A__)]: Remove conditional code.
3228 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
3230         * manual/sysinfo.texi (S_APPEND): Delete.
3231         (S_IMMUTABLE): Likewise.
3233 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
3234             Magnus Granberg  <zorry@gentoo.org>
3235             Mike Frysinger  <vapier@gentoo.org>
3237         [BZ #20662]
3238         * configure.ac (libc_cv_predef_stack_protector): Also check for
3239         __stack_chk_fail_local symbols.
3240         * configure: Regenerated.
3242 2016-11-15  Florian Weimer  <fweimer@redhat.com>
3244         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3245         (libc_hidden_def): Remove redefinition.
3246         (__sigsetjmp): Add hidden definition.
3247         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
3248         (libc_hidden_def): Remove redefinition.
3249         (__sigsetjmp): Add hidden definition.
3251 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
3253         * scripts/build-many-glibcs.py (os.path): Do not import.
3254         (Context): Inherit explicitly from object.  Remove blank line
3255         between class and docstring.
3256         (Config): Likewise.
3257         (Glibc): Likewise.
3258         (Command): Likewise.
3259         (CommandList): Likewise.
3260         (Context.write_files): Store chmod mode in a variable.
3262         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
3263         LIBC_SLIBDIR_RTLDDIR for tilegx32.
3264         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
3266 2016-11-14  Zack Weinberg  <zackw@panix.com>
3268         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
3269         creating or re-creating it.
3271         * string/bits/string2.h: Fix typo in comment.
3273 2016-11-14  Zack Weinberg  <zackw@panix.com>
3275         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
3276         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
3277         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
3278         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
3279         of redirected function names.
3281         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
3282         as well.  Document that MESSAGE must be a single string literal.
3284 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
3286         * scripts/build-many-glibcs.py: New file.
3288         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
3289         (do_test): Disable -Wmaybe-uninitialized around uses of
3290         except_mask.
3292         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
3294 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
3296         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
3297         (atomic_store_release): Provide tilepro-specific implementations.
3299 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
3301         * math/math.h (__MATH_TG): New macro.
3302         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
3303         [__USE_ISOC99] (signbit): Likewise.
3304         [__USE_ISOC99] (isfinite): Likewise.
3305         [__USE_ISOC99] (isnan): Likewise.
3306         [__USE_ISOC99] (isinf): Likewise.
3307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
3308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
3309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
3310         __MATH_TG and __MATH_EVAL_FMT2.
3311         * sysdeps/generic/math_private.h (fabs_tg): Define using
3312         __MATH_TG.
3313         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
3314         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
3315         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
3316         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
3317         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
3318         macro.
3319         (__iscanonical): Likewise.
3320         (iscanonical): Define using __MATH_TG.
3322 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3324         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
3325         guards.
3327         * sysdeps/unix/sysv/linux/access.c: New file.
3328         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
3330 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
3332         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
3333         and __WORDSIZE32_PTRDIFF_LONG.
3335 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3337         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3339 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3341         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
3342         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
3343         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
3344         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
3345         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
3346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
3347         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
3348         * sysdeps/unix/sysv/linux/truncate.c: New file.
3349         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
3350         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3351         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
3352         Remove.
3353         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
3354         Likewise.
3356         * posix/tst-truncate-common.c: New file.
3357         * posix/tst-truncate.c: Use tst-truncate-common.c.
3358         * posix/tst-truncate64.c: Likewise and add LFS tests.
3359         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
3360         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
3361         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
3362         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
3363         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
3364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
3365         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
3366         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
3367         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
3368         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
3369         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
3370         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
3371         Remove.
3372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
3373         Likewise.
3375 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
3377         [BZ #20790]
3378         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
3379         to MAXLINESIZE.
3380         * sunrpc/bug20790.x: New file.
3381         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
3382         variable.
3383         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
3384         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
3386         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
3388         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
3390         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
3391         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
3392         calloc, realloc, free, memalign and __libc_memalign rather than
3393         making them optional.
3395         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
3396         for libc.so.
3398 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3400         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
3401         ptw-lseek64.
3402         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
3403         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
3404         Likewise.
3405         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
3406         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
3407         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
3408         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
3409         * sysdeps/unix/sysv/linux/lseek.c: New file.
3410         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
3411         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
3412         __libc_lseek64 from auto-generation.
3413         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3414         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
3416 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3418         * nptl/tst-basic1.c (tf, do_test): Use write_message.
3419         * nptl/tst-cleanup1.c (do_test): Likewise.
3420         * nptl/tst-cleanup3.c (do_test): Likewise.
3421         * nptl/tst-key1.c (do_test): Likewise.
3422         * nptl/tst-key2.c (tf, do_test): Likewise.
3423         * nptl/tst-key3.c (tf, do_test): Likewise.
3424         * nptl/tst-stdio1.c (do_test): Likewise.
3425         * nptl/tst-stdio2.c (do_test): Likewise.
3427         * nptl/tst-kill3.c (handler): Use write_message in place of write.
3428         * nptl/tst-kill6.c (handler): Likewise.
3429         * nptl/tst-tls2.c (CB): Likewise.
3430         * nptl/tst-tls3.c (CB): Likewise.
3432 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
3434         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
3436 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
3437             Steve Ellcey  <sellcey@caviumnetworks.com>
3439         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
3440           __ASSUME_ST_INO_64_BIT as 0
3441         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
3442         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
3443           over the code where __ASSUME_ST_INO_64_BIT is used.
3444         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
3445         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
3446         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
3448 2016-11-07  Florian Weimer  <fweimer@redhat.com>
3450         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3451         Document ABI exposure of the __kind offset.
3452         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3453         Mention reason for the __kind offset exposure in the ABI.
3454         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3455         Likewise.
3456         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3457         Likewise.
3458         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3459         Likewise.
3460         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
3461         (struct __pthread_mutex_s): Likewise.
3462         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3463         Likewise.
3464         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3465         Likewise.
3466         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3467         Likewise.
3468         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3469         Likewise.
3470         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3471         Likewise.
3472         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
3473         Likewise.
3474         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3475         (struct __pthread_mutex_s): Likewise.
3476         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3477         (struct __pthread_mutex_s): Likewise.
3478         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
3479         Likewise.
3481 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
3483         * test-skeleton.c: Document do_test usage.
3485 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
3487         * iconv/gconv.h (__gconv_info): Define __data element using a
3488         zero-length array.
3490 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
3492         * math/test-tgmath2.c: Split up test function.
3494 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3496         * Rules (tests-expected): New variable, depending on
3497         $(run-built-tests).
3498         (tests): Pass $(tests-expected) to merge-test-results.sh, not
3499         $(tests).
3501         * Rules [$(run-built-tests) = no] (tests): Do not depend on
3502         $(tests-unsupported).
3504 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3506         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
3507         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
3509 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3511         [BZ #20768]
3512         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
3513         __fegetenv instead of fegetenv.
3515         [BZ #14139]
3516         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
3517         (find_files): Obtain platform name from libm-test-ulps-name and
3518         store in %pplatforms.
3519         (canonicalize_platform): Remove.
3520         (print_platforms): Use $pplatforms directly.
3521         (by_platforms): Do not allow for platforms missing from
3522         %pplatforms.
3523         * sysdeps/aarch64/libm-test-ulps-name: New file.
3524         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
3525         * sysdeps/arm/libm-test-ulps-name: Likewise.
3526         * sysdeps/generic/libm-test-ulps-name: Likewise.
3527         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
3528         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
3529         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
3530         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
3531         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
3532         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
3533         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
3534         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
3535         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
3536         * sysdeps/nios2/libm-test-ulps-name: Likewise.
3537         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
3538         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
3539         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
3540         * sysdeps/sh/libm-test-ulps-name: Likewise.
3541         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
3542         * sysdeps/tile/libm-test-ulps-name: Likewise.
3543         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
3545         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
3547         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
3548         (test-xfail-check-execstack): New variable.
3550         * sysdeps/mips/localplt.data: New file.
3552 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
3553             Steve Ellcey  <sellcey@caviumnetworks.com>
3555         * bits/wordsize.h: Add documentation.
3556         * sysdeps/aarch64/bits/wordsize.h : New file
3557         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
3558         definitions.
3559         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
3560         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
3561         with #if instead of #ifdef.
3562         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
3563         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
3564         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
3565         Add or change defines.
3566         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
3567         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
3568         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
3569         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
3570         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
3571         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
3572         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
3573         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
3574         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
3575         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
3576         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
3577         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
3578         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
3579         * sysdeps/x86/bits/wordsize.h: Likewise.
3581 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
3582             Kevin Petit  <kevin.petit@arm.com>
3584         * sysdeps/aarch64/memchr.S (__memchr): New file.
3586 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3588         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
3590 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
3592         [BZ #19398]
3593         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
3594         $(linknamespace-symlists-tests).
3596 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
3598         * time/tst-strptime2.c: Ignore -Wformat-length warning.
3600 2016-11-02  Florian Weimer  <fweimer@redhat.com>
3601             Carlos O'Donell  <carlos@redhat.com>
3603         [Bug #20729]
3604         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
3605         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
3606         for -Os related change.
3608 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
3610         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
3612 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
3614         [BZ #19673]
3615         * manual/math.texi (Exponents and Logarithms): Correct description
3616         of clog10.
3618 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
3620         [Bz #20729]
3621         * locale/weight.h: Include libc-internal.h.
3622         * locale/weightwc.h: Likewise.
3623         * nptl/nptl_dbP.h: Likewise.
3625 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
3627         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
3628         when it is MACH_PORT_NULL.
3630 2016-10-31  Andreas Schwab  <schwab@suse.de>
3632         [BZ #20707]
3633         * posix/glob.c (glob): Initialize pglob before checking for
3634         GLOB_BRACE.  Don't call glob recursively if pattern contains no
3635         valid brace expression despite GLOB_BRACE.
3636         * posix/globtest.sh: Test it.
3638 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3640         [BZ #20729]
3641         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
3642         Define.
3643         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
3644         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
3645         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
3646         for seq2.back_us and seq1.back_us only for -Os compiles.
3647         * locale/weightwc.h (findix): Likewise.
3648         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
3649         DB_GET_FIELD_ADDRESS only for -Os compiles.
3650         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
3651         for slen only for -Os compiles.
3652         * string/strcoll_l.c (get_next_seq): Ignore
3653         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
3654         for -Os compiles.
3656         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
3657         * include/crypt.h: New file.
3659 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3661         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
3662         from test-skeleton.c.
3663         (statclass): Replace calls to write with calls to write_message.
3665 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3667         * math/math.h
3668         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
3669         New macro.
3670         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
3671         Likewise.
3672         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
3673         Likewise.
3674         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
3675         SNANL.
3676         * math/test-double.h (snan_value_MACRO): New macro.
3677         * math/test-float.h (snan_value_MACRO): Likewise.
3678         * math/test-ldouble.h (snan_value_MACRO): Likewise.
3679         * math/libm-test.inc (issignaling_test_data): Add tests of
3680         snan_value_MACRO.
3682 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3684         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
3685         behavior when eliding a lock not held by the current thread.
3686         * sysdeps/powerpc/nptl/elide.h: Likewise.
3688 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3690         [BZ #20728]
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
3692         branch to _exit() by a function call.
3694 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3696         * malloc/malloc.c: Update chunk layout comments.
3697         (chunk_main_arena): Update comment.
3699 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3701         * crypt/sha256.c, crypt/sha256-block.c,
3702         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
3703         sha256_process_block to __sha256_process_block.
3704         * crypt/sha512.c, crypt/sha512-block.c,
3705         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
3706         sha512_process_block to __sha512_process_block.
3708 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
3710         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
3712         * math/test-nan-overflow.c: Include stdlib.h for malloc.
3714 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
3716         [BZ #20019]
3717         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
3718         definition in unrelocated shared library.
3719         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3721 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3723         [BZ #20729]
3724         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
3725         * sysdeps/unix/sysv/linux/i386/Makefile
3726         (uses-6-syscall-arguments): Define.
3727         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
3728         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
3729         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
3730         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
3731         Likewise.
3732         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
3733         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
3734         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
3735         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
3736         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
3737         (CFLAGS-fallocate64.os): Likewise.
3738         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
3739         (CFLAGS-pthread_rwlock_timedrdlock.os)
3740         (CFLAGS-pthread_rwlock_timedwrlock.o)
3741         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
3742         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
3743         (CFLAGS-sem_timedwait.os): Likewise.
3745 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3747         * elf/tst-linkall-static.c: New file.
3748         * elf/Makefile (tests-static): Add tst-linkall-static.
3749         (tst-linkall-static): Link against static libraries.
3751 2016-10-27  Florian Weimer  <fweimer@redhat.com>
3753         * malloc/malloc.c (sysmalloc): Initialize previous size field of
3754         mmaped chunks.
3756 2016-10-28  Florian Weimer  <fweimer@redhat.com>
3758         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
3759         members to mchunk_prev_size, mchunk_size.
3760         (chunk_main_arena): Reverse sense and rename from
3761         chunk_non_main_arena.
3762         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
3763         mchunk_size instead of size.
3764         (set_non_main_arena): Define.
3765         (chunksize): Use chunksize_nomask instead of direct member access.
3766         (chunksize_nomask): Define.
3767         (next_chunk): Use chunksize instead of direct member access.
3768         (prev_size, set_prev_size): Define.
3769         (prev_chunk): Use prev_size instead of direct member access.
3770         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
3771         (inuse_bit_at_offset, set_inuse_bit_at_offset)
3772         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
3773         (mchunk_prev_size, mchunk_size): Poison tokens.
3774         (unlink): Use chunksize_nomask, prev_size accessors.
3775         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
3776         (do_check_free_chunk): Use prev_size accessor.
3777         (sysmalloc): Use set_prev_size, set_head accessors.
3778         (munmap_chunk, mremap_chunk): Use prev_size accessor.
3779         (__libc_free): Use chunksize_nomask accessor.
3780         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
3781         chunk_main_arena accessors.
3782         (_int_free): Use chunksize_nomask, prev_size accessors.
3783         (malloc_consolidate): Use chunksize, prev_size accessors.
3784         (_int_realloc): Use chunksize_nomask accessor.
3785         (_int_memalign): Use set_prev_size accessor.
3786         (__malloc_info): Use chunksize_nomask accessor.
3787         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
3788         accessors.
3789         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
3790         (heap_trim): Use chunksize_nomask, prev_size accessors.
3792 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
3794         [BZ #19380]
3795         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
3796         for inexact results.
3797         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
3798         of inexact result where mpfr_subnormalize is the only inexact
3799         step.
3800         * stdlib/tst-strtod-round-data.h: Regenerated.
3801         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
3802         Define to 0.
3803         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
3805 2016-10-27  David S. Miller  <davem@davemloft.net>
3807         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
3809 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3811         * malloc/malloc.c (do_set_mallopt_check): New function.
3812         (do_set_mmap_threshold): Likewise.
3813         (do_set_mmaps_max): Likewise.
3814         (do_set_top_pad): Likewise.
3815         (do_set_perturb_byte): Likewise.
3816         (do_set_trim_threshold): Likewise.
3817         (do_set_arena_max): Likewise.
3818         (do_set_arena_test): Likewise.
3819         (__libc_mallopt): Use them.
3821 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
3823         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3824         (canonicalize): New declaration.
3825         * math/Versions (canonicalize): New libm symbol at version
3826         GLIBC_2.25.
3827         (canonicalizef): Likewise.
3828         (canonicalizel): Likewise.
3829         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
3830         * math/s_canonicalize_template.c: New file.
3831         * math/libm-test.inc: Update comment on functions tested and
3832         testing of NaN payloads.
3833         (TEST_NAN_PAYLOAD): New macro.
3834         (NO_TEST_INLINE): Update value.
3835         (XFAIL_TEST): Likewise.
3836         (ERRNO_UNCHANGED): Likewise.
3837         (ERRNO_EDOM): Likewise.
3838         (ERRNO_ERANGE): Likewise.
3839         (IGNORE_RESULT): Likewise.
3840         (NON_FINITE): Likewise.
3841         (TEST_SNAN): Likewise.
3842         (NO_TEST_MATHVEC): Likewise.
3843         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
3844         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
3845         (struct test_Ffp_b1_data): New type.
3846         (RUN_TEST_Ffp_b1): New macro.
3847         (RUN_TEST_LOOP_Ffp_b1): Likewise.
3848         (canonicalize_test_data): New array.
3849         (canonicalize_test): New function.
3850         (main): Call canonicalize_test.
3851         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
3852         canonicalizef and canonicalizel.
3853         * manual/libm-err-tab.pl: Update comment on interfaces without
3854         ulps tabulated.
3855         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
3856         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
3857         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3858         canonicalize.
3859         (CFLAGS-nldbl-canonicalize.c): New variable.
3860         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
3861         to ...
3862         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
3863         ... here.
3864         (do_test): Also test canonicalizel.
3865         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
3866         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
3867         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
3868         file.
3869         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
3870         Use libm_hidden_def.
3871         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
3872         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
3873         (do_test): Also test canonicalizel.
3874         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
3875         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
3876         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
3877         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
3878         libm_hidden_def.
3879         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
3880         macro.
3881         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
3882         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
3883         * sysdeps/nacl/libm.abilist: Update.
3884         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3885         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3886         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3887         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3888         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3889         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3890         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3891         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3892         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3893         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3894         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3895         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3897         Likewise.
3898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3899         Likewise.
3900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3901         Likewise.
3902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3903         Likewise.
3904         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3905         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3906         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3907         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3908         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3910         Likewise.
3911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3912         Likewise.
3913         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3917         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
3918         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3919         getpayload.
3920         (CFLAGS-nldbl-getpayload.c): New variable.
3922 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3924         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
3925         integer from the format string.
3927 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3929         [BZ #19473]
3930         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
3931         declarations.
3932         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
3933         weak aliases.
3934         * malloc/hooks.c (__malloc_get_state): Remove definition.
3935         (malloc_get_state): New stub implementation as
3936         compatibility symbol.
3937         (malloc_set_state): Rename from __malloc_set_state.  Turn into
3938         compat symbol.
3939         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
3940         malloc_set_state.
3941         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
3943 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3945         * iconvdata/iso646.c (enum variant): Drop illegal_var.
3946         (names): Turn into concatenation of strings.
3947         (gconv_init): Adapt iteration over names.
3949 2016-10-26  Florian Weimer  <fweimer@redhat.com>
3951         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
3952         make const.
3953         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
3954         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
3955         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
3956         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
3957         character in sbconv.
3958         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
3959         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
3960         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
3962 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3964         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
3966         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
3967         (M_TRIM_THRESHOLD): Likewise.
3969         * manual/memory.texi (M_ARENA_TEST): Add documentation.
3970         (M_ARENA_MAX): Likewise.
3971         * malloc/malloc.c: Remove obsolete comment.
3973         * manual/memory.texi: Add environment variable alternatives to
3974         setting mallopt parameters.
3976 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
3978         * include/atomic.h
3979         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
3980         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
3982 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3984         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
3985         * stdlib/tst-strfrom.h: New file.
3986         * stdlib/tst-strfrom.c: New file.
3987         * stdlib/tst-strfrom-locale.c: New file.
3989         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
3990         * stdlib/bug-strtod2.c: Likewise.
3991         * stdlib/tst-strtod-round-skeleton.c: Likewise.
3992         * stdlib/tst-strtod6.c: Likewise.
3993         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
3995 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3997         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
3998         * manual/arith.texi: Document strfromd, strfromf, strfroml.
3999         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4000         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4001         * stdlib/stdlib.h (strfromd): New declaration.
4002         (strfromf): Likewise.
4003         (strfroml): Likewise.
4004         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4005         strfrom.
4006         * stdlib/strfromd.c: New file.
4007         * stdlib/strfromf.c: Likewise.
4008         * stdlib/strfroml.c: Likewise.
4009         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4010         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4011         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4012         * sysdeps/arm/nacl/libc.abilist: Update.
4013         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4014         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4015         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4016         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4017         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4018         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4019         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4020         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4021         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4022         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4023         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4024         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4025         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4026         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4031         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4032         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4033         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4034         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4035         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4038         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4039         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4040         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4042 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4044         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4045         instead of cmpli.
4046         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4047         instead of cmpli.
4049 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4051         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4052         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4053         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4054         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4055         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4056         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4058 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4060         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4061         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4062         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4063         SYSCALL_LL64_PRW.
4064         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4065         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4066         __ASSUME_PRW_DUMMY_ARG.
4067         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4068         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4069         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4070         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4071         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4072         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4074 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4076         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4078 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4080         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4081         "C++", to override a potential extern "C" directive around the
4082         header file inclusion.
4084 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4086         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4088 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4090         * sysdeps/powerpc/fpu/fenv_private.h:
4091         (_FPU_MASK_ALL): Rename to...
4092         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4093         XE FPSCR bits.
4095         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4097         (_FPU_MASK_ROUNDING): Rename to...
4098         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4099         NI bits.
4101         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4102         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4103         bits and rounding bits.
4105         (__libc_feholdbits_ppc): New inline function to mask, set,
4106         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4107         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4108         (libc_feholdexcept_setround_ppc): Likewise.
4110         (__libc_femergeenv_ppc): New function to dynamically mask both
4111         old and new FP environments and merge.
4112         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4113         (libc_feresetround_ppc): Likewise.
4114         (libc_feupdateenv_test_ppc): Likewise.
4115         (libc_feupdateenv_ppc): Likewise.
4117         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4118         of ISA RN bits, and update macro names.
4119         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4120         effectively the same as the previously mentioned function.
4122         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4123         usage with fe_resetround_ppc.
4125         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4126         to be used.
4127         (libc_feholdexcept_setround_ctxf): Likewise.
4128         (libc_feholdexcept_setround_ctxl): Likewise.
4130 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4132         [BZ #20715]
4133         * math/math.h [__cplusplus] (iszero): Define as function template.
4134         * math/Makefile [CXX] (tests): Add test-math-iszero.
4135         (CFLAGS-test-math-iszero.cc): Set.
4136         * math/test-math-iszero.cc: New file.
4138 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
4140         [BZ #20660]
4141         * sysdeps/arm/e_sqrt.c: New file.
4142         * sysdeps/arm/e_sqrtf.c: Likewise.
4144 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
4146         [BZ #20718]
4147         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
4148         not use floating-point comparisons to test sign.
4149         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
4150         Likewise.
4152         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4153         (getpayload): New declaration.
4154         * math/Versions (getpayload): New libm symbol at version
4155         GLIBC_2.25.
4156         (getpayloadf): Likewise.
4157         (getpayloadl): Likewise.
4158         * math/Makefile (libm-calls): Add s_getpayloadF.
4159         * math/libm-test.inc: Include <nan-high-order-bit.h>.
4160         (struct test_f_f_data): Add comment.
4161         (RUN_TEST_fp_f): New macro.
4162         (RUN_TEST_LOOP_fp_f): Likewise.
4163         (getpayload_test_data): New array.
4164         (getpayload_test): New function.
4165         (main): Call getpayload_test.
4166         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
4167         descriptor.
4168         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
4169         getpayloadf and getpayloadl.
4170         * manual/libm-err-tab.pl: Update comment on interfaces without
4171         ulps tabulated.
4172         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
4173         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
4174         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
4175         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
4176         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
4177         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
4178         * sysdeps/nacl/libm.abilist: Update.
4179         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4180         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4181         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4182         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4183         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4184         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4185         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4186         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4187         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4188         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4189         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4190         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4192         Likewise.
4193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4194         Likewise.
4195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4196         Likewise.
4197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4198         Likewise.
4199         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4200         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4201         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4202         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4203         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4205         Likewise.
4206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4207         Likewise.
4208         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4209         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4210         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4212 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4214         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
4215         tst-fallocate{64}.
4216         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
4217         on syscall return.
4219 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
4221         [BZ #20689]
4222         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
4223         usable.
4225 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
4227         * sysdeps/generic/nan-high-order-bit.h: New file.
4228         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
4229         * sysdeps/mips/nan-high-order-bit.h: Likewise.
4230         * sysdeps/hppa/math_private.h: Remove file.
4231         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
4232         not define here.
4233         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
4234         <nan-high-order-bit.h>.
4235         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4236         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
4237         <nan-high-order-bit.h>.
4238         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4239         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
4240         <nan-high-order-bit.h>.
4241         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4242         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
4243         <nan-high-order-bit.h>.
4244         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4245         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
4246         <nan-high-order-bit.h>.
4247         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4248         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
4249         <nan-high-order-bit.h>.
4250         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4251         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
4252         <nan-high-order-bit.h>.
4253         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4254         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
4255         <nan-high-order-bit.h>.
4256         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4257         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
4258         <nan-high-order-bit.h>.
4259         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4260         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
4261         <nan-high-order-bit.h>.
4262         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4263         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
4264         <nan-high-order-bit.h>.
4265         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4266         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
4267         <nan-high-order-bit.h>.
4268         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4269         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
4270         <nan-high-order-bit.h>.
4271         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4272         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
4273         <nan-high-order-bit.h>.
4274         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4275         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
4276         <nan-high-order-bit.h>.
4277         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4278         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
4279         <nan-high-order-bit.h>.
4280         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4281         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
4282         <nan-high-order-bit.h>.
4283         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4284         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
4285         <nan-high-order-bit.h>.
4286         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
4288 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4290         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
4292 2016-09-22  John David Anglin  <dave.anglin@bell.net>
4294         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
4295         abort-instr.h.
4296         (EFAULT): Remove conditional define.
4297         (ENOSYS): Likewise.
4298         (atomic_compare_and_exchange_val_acq): Use instruction nullification
4299         instead of conditional branch instructions.
4301 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
4303         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4304         (totalordermag): New declaration.
4305         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
4306         New macro.
4307         * math/Versions (totalordermag): New libm symbol at version
4308         GLIBC_2.25.
4309         (totalordermagf): Likewise.
4310         (totalordermagl): Likewise.
4311         * math/Makefile (libm-calls): Add s_totalordermagF.
4312         * math/libm-test.inc (totalordermag_test_data): New array.
4313         (totalordermag_test): New function.
4314         (main): Call totalordermag_test.
4315         * math/test-tgmath.c (NCALLS): Increase to 125.
4316         (F(compile_test)): Call totalordermag.
4317         (F(totalordermag)): New function.
4318         * manual/arith.texi (FP Comparison Functions): Document
4319         totalordermag, totalordermagf and totalordermagl.
4320         * manual/libm-err-tab.pl: Update comment on interfaces without
4321         ulps tabulated.
4322         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
4323         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
4324         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
4325         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
4326         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
4327         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
4328         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
4329         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4330         totalordermag.
4331         (CFLAGS-nldbl-totalordermag.c): New variable.
4332         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
4333         (do_test): Also test totalordermagl.
4334         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
4335         Likewise.
4336         * sysdeps/nacl/libm.abilist: Update.
4337         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4338         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4339         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4340         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4342         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4343         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4344         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4345         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4346         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4347         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4348         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4350         Likewise.
4351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4352         Likewise.
4353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4354         Likewise.
4355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4356         Likewise.
4357         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4360         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4361         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4363         Likewise.
4364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4365         Likewise.
4366         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4367         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4368         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4370 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
4372         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
4373         boolean.
4375 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
4377         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
4378         raising FE_INVALID with feraisexcept in case where part of
4379         argument is infinite, subtract that part of argument from itself.
4380         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
4381         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
4382         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4384 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4386         * math/libm-test.inc (totalorder_test_data): Add more tests.
4388 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
4390         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
4391         Undefine weak_alias and add a comment why mips64 require
4392         versioning.
4394 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
4396         [BZ #20647]
4397         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
4398         maximum CPUID level is less than 2.
4400 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
4402         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4403         (totalorder): New declaration.
4404         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
4405         New macro.
4406         * math/Versions (totalorder): New libm symbol at version
4407         GLIBC_2.25.
4408         (totalorderf): Likewise.
4409         (totalorderl): Likewise.
4410         * math/Makefile (libm-calls): Add s_totalorderF.
4411         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
4412         string.
4413         * math/libm-test.inc (PAYLOAD_DIG): New macro.
4414         (qnan_value_pl): Likewise.
4415         (snan_value_pl): Likewise.
4416         (qnan_value): Define using qnan_value_pl.
4417         (snan_value): Define using snan_value_pl.
4418         (struct test_ff_i_data): Add comment about which tests use this
4419         structure.
4420         (RUN_TEST_ff_b): New macro.
4421         (RUN_TEST_LOOP_ff_b): Likewise.
4422         (totalorder_test_data): New array.
4423         (totalorder_test): New function.
4424         (main): Call totalorder_test.
4425         * math/test-tgmath.c (NCALLS): Increase to 122.
4426         (F(compile_test)): Call totalorder.
4427         (F(totalorder)): New function.
4428         * manual/arith.texi (FP Comparison Functions): Document
4429         totalorder, totalorderf and totalorderl.
4430         * manual/libm-err-tab.pl: Update comment on interfaces without
4431         ulps tabulated.
4432         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
4433         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
4434         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
4435         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
4436         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
4438         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
4439         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4440         totalorder.
4441         (CFLAGS-nldbl-totalorder.c): New variable.
4442         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
4443         file.
4444         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
4445         Add test-totalorderl-ldbl-128ibm.
4446         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
4447         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
4448         test-totalorderl-ldbl-96.
4449         * sysdeps/nacl/libm.abilist: Update.
4450         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4451         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4452         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4453         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4454         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4455         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4456         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4457         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4458         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4459         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4460         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4461         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4463         Likewise.
4464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4465         Likewise.
4466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4467         Likewise.
4468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4469         Likewise.
4470         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4471         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4472         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4473         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4474         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4476         Likewise.
4477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4478         Likewise.
4479         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4480         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4481         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4483 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4485         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
4486         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
4487         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
4488         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
4489         remove ENOSYS implementation.
4490         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
4491         Consolidate all Linux implementations.
4493 2016-10-11  Florian Weimer  <fweimer@redhat.com>
4495         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
4496         * resolv/herror.c (herror): Cast away const-ness.
4497         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
4498         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
4500 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
4502         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
4503         instead of M_NAN + M_NAN.
4504         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
4506 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4508         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
4509         unused variable 'p'.
4511 2016-10-09  Alan Modra  <amodra@gmail.com>
4512             Andreas Schwab  <schwab@linux-m68k.org>
4514         [BZ #20554]
4515         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
4516         [PIC && !SHARED]: Set up PIC register for PLT call.
4518 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
4520         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
4521         conditional on value of [__FLT_EVAL_METHOD__].
4522         * math/test-iseqsig-excess-precision.c: New file.
4523         * math/Makefile (tests): Add test-iseqsig-excess-precision.
4525 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4527         * math/s_iseqsig_template.c: Include math-private.h.
4529         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
4530         * posix/tst-posix_fadvise.c: New file.
4531         * posix/tst-posix_fadvise64.c: Likewise.
4532         * posix/tst-posix_fadvise-common.c: Likewise.
4533         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4534         (__ASSUME_FADVISE64_64_6ARG): Define.
4535         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4536         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
4537         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4538         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
4539         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
4540         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
4541         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
4542         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4543         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
4544         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
4545         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
4546         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
4547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
4548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
4549         Likewise.
4550         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
4551         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
4552         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
4553         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4554         Alias to __posix_fadvise64_l32.
4555         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
4556         Add compat definition to posix_fadvise64.
4557         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
4558         Add versioned definition to posix_fadvise64.
4559         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
4560         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
4561         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
4562         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
4563         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
4565         * io/Makefile (tests): Add tst-posix_fallocate and
4566         tst-posix_fallocate64.
4567         * io/tst-posix_fallocate-common.c: New file.
4568         * io/tst-posix_fallocate.c: Likewise.
4569         * io/tst-posix_fallocate64.c: Likewise.
4570         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
4571         file.
4572         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
4573         Likewise.
4574         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
4575         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
4576         Likewise.
4577         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
4578         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
4579         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
4580         SYSCALL_LL to pass both offset and len arguments.
4581         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
4582         Likewise.
4583         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
4584         __libc_pwrite64 alias used by posix_fallocate64.
4586         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4587         tst-fallocate64.
4588         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4589         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4590         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4591         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4592         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4593         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4594         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4595         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4596         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4597         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4598         macro on offset argument.
4599         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4600         SYSCALL_LL64 on offset argument.
4602         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
4603         tst-fallocate64.
4604         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
4605         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
4606         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
4607         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
4608         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
4609         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
4610         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
4611         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
4612         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
4613         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
4614         macro on offset argument.
4615         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
4616         SYSCALL_LL64 on offset argument.
4617         * test-skeleton.c (FAIL_RET): Add macro.
4618         (FAIL_EXIT): Likewise.
4619         (FAIL_EXIT1): Likewise.
4620         (_FAIL): Likewise.
4622 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4624         [BZ #20629]
4625         resolv: Remove RES_USEBSTRING and its implementation.
4626         * resolv/resolv.h (RES_USEBSTRING): Remove.
4627         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
4628         (digitvalue, encode_bitstring, decode_bitstring): Remove.
4629         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
4630         (labellen): Remove extended label types support.
4631         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
4632         * resolv/res_init.c (res_setoptions): Likewise.
4633         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4635 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4637         resolv: Remove RES_NOIP6DOTINT and its implementation.
4638         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
4639         (RES_NOIP6DOTINT): Remove.
4640         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
4641         handling.
4642         * resolv/res_debug.c (p_option): Likewise.
4643         * resolv/res_init.c (res_setoptions): Likewise.
4644         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
4646 2016-10-07  Florian Weimer  <fweimer@redhat.com>
4648         resolv: Deprecate unimplemented flags.
4649         * misc/sys/cdefs.h (__glibc_macro_warning1)
4650         (__glibc_macro_warning): Define.
4651         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
4652         (RES_KEEPTSIG): Mark as deprecated.
4653         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
4654         RES_NOCHECKNAME, RES_KEEPTSIG.
4655         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
4657 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4659         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
4660         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
4661         Use strong_alias to create symbols for glibc verison 2.19.
4663 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4665         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
4667 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4669         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
4671 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4673         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
4675 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4677         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4678         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
4679         in header for using it as type for ifunc function because __GI_* symbols
4680         for ppc32 do not target the ifunc symbols.
4681         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4683 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4685         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
4686         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
4687         libc_ifunc_hidden_def.
4688         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
4689         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
4690         Redirect ifunced function in header for using it as type of ifunc'ed
4691         function. Redefine libc_hidden_def to use fallback non ifunc'ed
4692         function for __GI_* symbol.
4693         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
4694         * include/libc-symbols.h
4695         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
4697 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4699         [BZ #20478]
4700         * sysdeps/s390/multiarch/ifunc-resolve.h
4701         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
4702         to create ifunc symbols.
4703         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
4704         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
4705         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
4706         for using it as type for ifunc function.
4707         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4708         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
4709         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
4710         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
4711         * sysdeps/s390/multiarch/strcat.c: Likewise.
4712         * sysdeps/s390/multiarch/strchr.c: Likewise.
4713         * sysdeps/s390/multiarch/strcmp.c: Likewise.
4714         * sysdeps/s390/multiarch/strcpy.c: Likewise.
4715         * sysdeps/s390/multiarch/strcspn.c: Likewise.
4716         * sysdeps/s390/multiarch/strlen.c: Likewise.
4717         * sysdeps/s390/multiarch/strncmp.c: Likewise.
4718         * sysdeps/s390/multiarch/strncpy.c: Likewise.
4719         * sysdeps/s390/multiarch/strnlen.c: Likewise.
4720         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
4721         * sysdeps/s390/multiarch/strrchr.c: Likewise.
4722         * sysdeps/s390/multiarch/strspn.c: Likewise.
4723         * sysdeps/s390/multiarch/wcschr.c: Likewise.
4724         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
4725         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
4726         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
4727         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
4728         * sysdeps/s390/multiarch/wmemset.c: Likewise.
4729         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
4730         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
4731         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
4732         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
4733         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
4734         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
4736 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4738         * include/libc-symbols.h (__ifunc_resolver):
4739         New macro is used by __ifunc* macros.
4740         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
4741         depending on HAVE_GCC_IFUNC.
4742         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
4743         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
4744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4745         Redirect ifunced function in header for using as type for ifunc function.
4746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
4747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
4748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
4749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
4750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4752         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4753         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4754         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4755         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4756         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4757         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4758         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4759         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
4762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
4764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4765         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4766         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4767         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4768         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4769         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4770         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4771         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4772         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4773         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4774         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4775         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4776         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4777         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
4778         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
4780         Add libc_hidden_def() and use libc_ifunc_hidden() macro
4781         instead of libc_ifunc() macro.
4782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
4783         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4785 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
4787         * config.h.in (HAVE_GCC_IFUNC): New undef.
4788         * configure.ac: Add check if gcc supports attribute ifunc feature.
4789         * configure: Regenerated.
4790         * manual/install.texi: Add recommendation for gcc with
4791         indirect-function support.
4792         * INSTALL: Regenerated.
4794 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
4796         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
4797         macro.
4798         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4799         (__iseqsig): New declaration.
4800         * math/s_iseqsig_template.c: New file.
4801         * math/Versions (__iseqsigf): New libm symbol at version
4802         GLIBC_2.25.
4803         (__iseqsig): Likewise.
4804         (__iseqsigl): Likewise.
4805         * math/libm-test.inc (iseqsig_test_data): New array.
4806         (iseqsig_test): New function.
4807         (main): Call iseqsig_test.
4808         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
4809         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
4810         * manual/libm-err-tab.pl: Update comment on interfaces without
4811         ulps tabulated.
4812         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
4813         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
4814         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
4815         * sysdeps/nacl/libm.abilist: Update.
4816         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4817         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4818         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4819         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4820         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4821         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4822         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4823         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4824         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4825         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4826         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4827         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4829         Likewise.
4830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4833         Likewise.
4834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4835         Likewise.
4836         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4837         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4838         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4839         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4840         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4842         Likewise.
4843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4844         Likewise.
4845         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4846         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4847         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4849 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4851         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
4852         do_sincos_2, sloww, sloww1): Update comments.
4854         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
4855         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
4857         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
4858         K boolean and rename it.
4859         (__sin): Adjust.
4860         (__cos): Adjust.
4862 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4863             Siddhesh Poyarekar  <siddhesh@sourceware.org>
4865         * manual/nss.texi: Fix typos in the manual.
4867 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
4869         * manual/contrib.texi: Fix typos in the manual.
4871         * manual/maint.texi: Fix typos in the manual.
4873         * manual/install.texi: Fix typos in the manual.
4874         * INSTALL: Regenerated.
4876         * manual/lang.texi: Fix typos in the manual.
4878         * manual/probes.texi: Fix typos in the manual.
4880         * manual/threads.texi: Fix typos in the manual.
4882         * manual/debug.texi: Fix typos in the manual.
4884         * manual/crypt.texi: Fix typos in the manual.
4886         * manual/conf.texi: Fix typos in the manual.
4888         * manual/sysinfo.texi: Fix typos in the manual.
4890         * manual/users.texi: Fix typos in the manual.
4892         * manual/job.texi: Fix typos in the manual.
4894         * manual/process.texi: Fix typos in the manual.
4896         * manual/argp.texi: Fix typos in the manual.
4897         * manual/getopt.texi: Likewise.
4898         * manual/startup.texi: Likewise.
4900         * manual/signal.texi: Fix typos in the manual.
4902         * manual/setjmp.texi: Fix typos in the manual.
4904         * manual/resource.texi: Fix typos in the manual.
4906         * manual/time.texi: Fix typos in the manual.
4908         * manual/arith.texi: Fix typos in the manual.
4910         * manual/math.texi: Fix typos in the manual.
4912         * manual/syslog.texi: Fix typos in the manual.
4914         * manual/terminal.texi: Fix typos in the manual.
4916         * manual/socket.texi: Fix typos in the manual.
4918         * manual/filesys.texi: Fix typos in the manual.
4920         * manual/llio.texi: Fix typos in the manual.
4922         * manual/stdio.text: Fix typos in the manual.
4924 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4926         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
4927         instead of K1.
4929         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
4930         SHIFT_QUADRANT and make it bool.
4931         (do_sincos_2): Likewise.
4932         (sloww): Likewise.
4933         (sloww1): Likewise.
4934         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
4935         (__cos): Likewise.
4937 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4939         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4941 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
4943         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
4944         Define to __WORDSIZE, not conditional on [LONG_MAX ==
4945         0x7fffffffL].
4946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
4948 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4950         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
4951         inline by __inline__.
4952         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
4953         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
4954         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
4955         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
4956         sigset_t from signal.h.
4957         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
4958         which is already required.
4960 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4962         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4964 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
4966         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
4967         (struct tcp_repair_window): New type.
4969 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4971         * libio/tst-memstream3.c: Include string.h.
4973 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4975         [BZ #18241]
4976         [BZ #20181]
4977         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
4978         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
4979         write position is at the end the buffer.
4980         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
4981         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
4982         (_IO_str_seekoff): Set correct offset from negative displacement and
4983         set EINVAL for invalid ones.
4984         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
4985         buffer length.
4986         (_IO_wstr_switch_to_get_mode): New function.
4987         (_IO_wstr_seekoff): Set correct offset from negative displacement and
4988         set EINVAL for invalid ones.
4989         * libio/tst-memstream3.c: New file.
4990         * libio/tst-wmemstream3.c: Likewise.
4991         * manual/examples/memstrm.c: Remove warning when priting size_t.
4993 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
4995         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
4996         macro to use __builtin_fma.
4997         * sysdeps/x86_64/fpu/dla.h: Remove file.
4999         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5000         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5001         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5003 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5005         [BZ #20292]
5006         * elf/Makefile (routines): Add dl-addr-obj.
5007         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5008         tst-_dl_addr_inside_object.
5009         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5010         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5011         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5012         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5013         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5014         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5015         * elf/dl-open.c: Likewise.
5016         * elf/dl-addr-obj.c: New file.
5017         * elf/tst-_dl_addr_inside_object.c: New file.
5019 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5021         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5022         <bits/iscanonical.h>.
5023         * bits/iscanonical.h: New file.
5024         * math/s_iscanonicall.c: Likewise.
5025         * math/Versions (__iscanonicall): New libm symbol at version
5026         GLIBC_2.25.
5027         * math/libm-test.inc (iscanonical_test_data): New array.
5028         (iscanonical_test): New function.
5029         (main): Call iscanonical_test.
5030         * math/Makefile (headers): Add bits/iscanonical.h.
5031         (type-ldouble-routines): Add s_iscanonicall.
5032         * manual/arith.texi (Floating Point Classes): Document
5033         iscanonical.
5034         * manual/libm-err-tab.pl: Update comment on interfaces without
5035         ulps tabulated.
5036         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5037         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5038         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5039         Likewise.
5040         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5041         test-iscanonical-ldbl-128ibm.
5042         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5043         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5044         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5045         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5046         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5047         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5048         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5050         Likewise.
5051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5052         Likewise.
5053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5054         Likewise.
5055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5056         Likewise.
5057         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5058         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5060 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5062         * string/bits/string3.h: Remove C++ style comments.
5064 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5066         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5067         instead of ternary condition.
5068         (do_sincos_2): Likewise.
5069         (__sin): Likewise.
5070         (__cos): Likewise.
5071         (slow): Likewise.
5072         (sloww): Likewise.
5073         (sloww1): Likewise.
5074         (bsloww): Likewise.
5075         (bsloww1): Likewise.
5077         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5078         instead of ternary condition.
5079         (do_sin_slow): Likewise.
5080         (do_sincos_1): Likewise.
5081         (do_sincos_2): Likewise.
5082         (__cos): Likewise.
5083         (sloww): Likewise.
5084         (sloww1): Likewise.
5085         (sloww2): Likewise.
5086         (bsloww): Likewise.
5087         (bsloww1): Likewise.
5088         (bsloww2): Likewise.
5090         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5091         check from here...
5092         (slow2): ... and here...
5093         (__sin): ... to here.
5095 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5097         * math/math.h
5098         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5099         Cast argument to its own type.
5100         * math/test-iszero-excess-precision.c: New file.
5101         * math/Makefile (tests): Add test-iszero-excess-precision.
5102         (CFLAGS-test-iszero-excess-precision.c): New variable.
5104 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5106         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5107         field, add err field.
5108         (__spawni_child): Report error through err member instead of pipe.
5109         (__spawnix): Likewise.
5111 2016-09-28  Zack Weinberg  <zackw@panix.com>
5113         * scripts/check-installed-headers.sh: Generalize treatment of
5114         sys/elf.h to all target architectures.
5116         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5117         deleted typedef ucontext_t.
5119 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5121         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5122         (__INTERNAL_SYSCALL1): Likewise.
5123         (__INTERNAL_SYSCALL2): Likewise.
5124         (__INTERNAL_SYSCALL3): Likewise.
5125         (__INTERNAL_SYSCALL4): Likewise.
5126         (__INTERNAL_SYSCALL5): Likewise.
5127         (__INTERNAL_SYSCALL6): Likewise.
5128         (__INTERNAL_SYSCALL7): Likewise.
5129         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5130         (__INTERNAL_SYSCALL_NARGS): Likewise.
5131         (__INTERNAL_SYSCALL_DISP): Likewise.
5132         (INTERNAL_SYSCALL_CALL): Likewise.
5133         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5134         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
5135         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
5136         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
5137         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
5138         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
5139         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
5140         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
5141         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
5142         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
5143         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
5144         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
5145         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
5147 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
5149         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
5150         macro.
5151         * math/libm-test.inc (iszero_test_data): New array.
5152         (iszero_test): New function.
5153         (main): Call iszero_test.
5154         * manual/arith.texi (Floating Point Classes): Document iszero.
5155         * manual/libm-err-tab.pl: Update comment on interfaces without
5156         ulps tabulated.
5158 2016-09-23  Zack Weinberg  <zackw@panix.com>
5160         * scripts/check-installed-headers.sh: New script.
5161         * Rules: In each directory that defines header files to be installed,
5162         run check-installed-headers.sh on them as a special test.
5163         * Makefile: Likewise for the headers installed at top level.
5165         * include/aliases.h, include/alloca.h, include/argz.h
5166         * include/arpa/nameser.h, include/arpa/nameser_compat.h
5167         * include/elf.h, include/envz.h, include/err.h
5168         * include/execinfo.h, include/fpu_control.h, include/getopt.h
5169         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
5170         * include/link.h, include/malloc.h, include/mcheck.h
5171         * include/mntent.h, include/netinet/ether.h
5172         * include/nss.h, include/obstack.h, include/printf.h
5173         * include/pty.h, include/resolv.h, include/rpc/auth.h
5174         * include/rpc/auth_des.h, include/rpc/auth_unix.h
5175         * include/rpc/clnt.h, include/rpc/des_crypt.h
5176         * include/rpc/key_prot.h, include/rpc/netdb.h
5177         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
5178         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
5179         * include/rpc/rpc_msg.h, include/rpc/svc.h
5180         * include/rpc/svc_auth.h, include/rpc/xdr.h
5181         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
5182         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
5183         * include/rpcsvc/ypupd.h, include/shadow.h
5184         * include/stdio_ext.h, include/sys/epoll.h
5185         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
5186         * include/sys/prctl.h, include/sys/profil.h
5187         * include/sys/statfs.h, include/sys/sysctl.h
5188         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
5189         * sysdeps/arm/nacl/include/bits/setjmp.h
5190         * sysdeps/mips/include/sys/asm.h
5191         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
5192         * sysdeps/unix/sysv/linux/include/sys/timex.h
5193         * sysdeps/x86/fpu/include/bits/fenv.h:
5194         Add #ifndef _ISOMAC guard around internal declarations.
5195         Add multiple-inclusion guard if not already present.
5197 2016-09-23  Zack Weinberg  <zackw@panix.com>
5199         * sysdeps/generic/sys/ucontext.h
5200         * sysdeps/arm/sys/ucontext.h
5201         * sysdeps/i386/sys/ucontext.h
5202         * sysdeps/m68k/sys/ucontext.h
5203         * sysdeps/mips/sys/ucontext.h
5204         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
5205         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
5206         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
5207         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
5208         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
5209         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
5210         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5211         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
5212         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
5213         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
5214         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
5215         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
5216         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
5217         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
5218         Include both bits/sigcontext.h and bits/sigstack.h.
5219         Fix grammar error in comment, if present.
5221         * bits/sigstack.h
5222         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
5223         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
5224         * sysdeps/unix/sysv/linux/bits/sigstack.h
5225         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
5226         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
5227         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
5228         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
5229         * bits/sigcontext.h
5230         * sysdeps/mach/hurd/i386/bits/sigcontext.h
5231         * sysdeps/unix/sysv/linux/bits/sigcontext.h
5232         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
5233         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
5234         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
5235         as well as signal.h, if this was not already allowed.  Request
5236         definition of size_t if necessary.  Minimize semantically-null
5237         differences across files.
5239 2016-09-23  Zack Weinberg  <zackw@panix.com>
5241         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
5242         Remove all logic conditional on __need macros.  Move all the
5243         conditionally defined types to their own headers...
5244         * time/bits/types/clock_t.h: Define clock_t here.
5245         * time/bits/types/clockid_t.h: Define clockid_t here.
5246         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
5247         * time/bits/types/struct_timespec.h: Define struct timespec here.
5248         * time/bits/types/struct_timeval.h: Define struct timeval here.
5249         * time/bits/types/struct_tm.h: Define struct tm here.
5250         * time/bits/types/time_t.h: Define time_t here.
5251         * time/bits/types/timer_t.h: Define timer_t here.
5252         * time/Makefile: Install the new headers.
5254         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
5255         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
5256         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
5257         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
5258         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
5259         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
5260         * sysdeps/unix/sysv/linux/bits/resource.h
5261         * sysdeps/unix/sysv/linux/bits/timex.h
5262         * sysdeps/unix/sysv/linux/mips/bits/resource.h
5263         * sysdeps/unix/sysv/linux/net/ppp_defs.h
5264         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
5265         * sysdeps/unix/sysv/linux/sys/acct.h
5266         * sysdeps/unix/sysv/linux/sys/timerfd.h
5267         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
5268         * time/sys/time.h, time/sys/timeb.h
5269         Use the new bits/types headers.
5271         * include/time.h: Remove __need logic.
5272         * include/bits/time.h
5273         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
5274         * include/bits/types/time_t.h, include/bits/types/timer_t.h
5275         * include/bits/types/struct_itimerspec.h
5276         * include/bits/types/struct_timespec.h
5277         * include/bits/types/struct_timeval.h
5278         * include/bits/types/struct_tm.h:
5279         New wrapper headers.
5281 2016-09-23  Zack Weinberg  <zackw@panix.com>
5283         * sysdeps/mach/hurd/net/if_ppp.h
5284         * sysdeps/unix/sysv/linux/net/if_ppp.h:
5285         Only define struct ifpppstatsreq and struct ifpppcstatsreq
5286         if __USE_MISC is defined, to ensure struct ifreq is declared.
5288         * inet/netinet/ether.h: Condition all function prototypes
5289         on __USE_MISC, to ensure struct ether_addr is declared.
5291         * socket/bits/types/struct_osockaddr.h: New header.
5292         * include/bits/types/struct_osockaddr.h: New wrapper.
5293         * socket/Makefile: Install the new header.
5294         * socket/sys/socket.h, inet/protocols/talkd.h:
5295         Refer to bits/types/struct_osockaddr.h for the definition of
5296         struct osockaddr.
5298 2016-09-23  Zack Weinberg  <zackw@panix.com>
5300         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
5301         * inet/protocols/routed.h, inet/protocols/talkd.h
5302         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
5303         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
5304         * sysdeps/generic/netinet/if_ether.h
5305         * sysdeps/generic/netinet/in_systm.h
5306         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
5307         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5308         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
5309         * sysdeps/mach/hurd/net/if_arp.h
5310         * sysdeps/mach/hurd/net/if_ppp.h
5311         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
5312         * sysdeps/unix/sysv/linux/bits/in.h
5313         * sysdeps/unix/sysv/linux/net/ethernet.h
5314         * sysdeps/unix/sysv/linux/net/if_arp.h
5315         * sysdeps/unix/sysv/linux/net/if_ppp.h
5316         * sysdeps/unix/sysv/linux/net/if_shaper.h
5317         * sysdeps/unix/sysv/linux/net/route.h
5318         * sysdeps/unix/sysv/linux/netinet/if_ether.h
5319         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5320         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5321         * sysdeps/unix/sysv/linux/netipx/ipx.h
5322         * sysdeps/unix/sysv/linux/sys/acct.h
5323         * include/arpa/nameser.h, include/resolv.h:
5324         Change all uses of u_char to unsigned char,
5325         u_short and ushort to unsigned short, u_int and uint to unsigned int,
5326         u_long and ulong to unsigned long, u_int8_t to uint8_t,
5327         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
5328         and u_int64_t and u_quad_t to uint64_t.
5330         * mach/sys/reboot.h: Remove two casts of integer literals
5331         to the types they already have.
5333         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
5334         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
5335         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
5336         from referring to 'unsigned char' to 'uint8_t' for consistency with
5337         the macro definition below.
5339         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
5340         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
5341         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
5342         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
5343         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
5344         * sysdeps/unix/sysv/linux/sys/acct.h
5345         * include/arpa/nameser.h, include/resolv.h:
5346         Fix indentation disrupted by mechanical edits.
5348         * inet/protocols/talkd.h, resolv/arpa/nameser.h
5349         * sysdeps/generic/netinet/in_systm.h
5350         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
5351         * sysdeps/gnu/netinet/udp.h
5352         * sysdeps/unix/sysv/linux/net/ethernet.h
5353         * sysdeps/unix/sysv/linux/net/if_arp.h
5354         * sysdeps/unix/sysv/linux/net/if_ppp.h
5355         * sysdeps/unix/sysv/linux/net/if_shaper.h
5356         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
5357         * sysdeps/unix/sysv/linux/netinet/if_tr.h
5358         * sysdeps/unix/sysv/linux/netipx/ipx.h
5359         * sysdeps/unix/sysv/linux/sys/acct.h
5360         Include stdint.h for uintNN_t definitions.
5361         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
5363 2016-09-23  Zack Weinberg  <zackw@panix.com>
5365         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
5366         * sysdeps/unix/sysv/linux/netrose/rose.h:
5367         Include sys/socket.h and netax25/ax25.h.
5369         * inet/netinet/icmp6.h, inet/netinet/ip6.h
5370         * resolv/arpa/nameser_compat.h:
5371         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
5373         * sysdeps/unix/sysv/linux/sys/quota.h:
5374         Use __caddr_t instead of caddr_t.
5375         * sysdeps/unix/sysv/linux/sys/timerfd.h:
5376         Use __clockid_t instead of clockid_t.
5378         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
5380         * argp/argp.h: Check whether _LIBC is defined before expanding it.
5381         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
5382         expanding it.
5384         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
5385         Define __glibc_c99_flexarr_available to 1 when the compiler
5386         supports C99-compatible flexible array members, 0 otherwise.
5387         * sysdeps/unix/sysv/linux/bits/socket.h
5388         * sysdeps/mach/hurd/bits/socket.h
5389         * bits/socket.h: Use __glibc_c99_flexarr_available in
5390         definitions of struct cmsghdr and CMSG_DATA.
5392 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5394         * manual/nss.texi (NSS Modules Interface): Adjust function return
5395         type to enum nss_status.  Document errnop argument.  Clarify
5396         h_errnop semantics.  Fix cross-reference formatting.
5397         (NSS Module Function Internals): Mention that *errnop needs to be
5398         set on failure, but not to zero.
5400 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5402         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
5403         (get_random_name): New functions.
5404         (check_wrapper_flags_mode): Use linkat to give the new file a name
5405         determined by get_random_name.
5406         (do_test): Add calls to test open64 and openat64.
5408 2016-09-23  Florian Weimer  <fweimer@redhat.com>
5410         * test-skeleton.c: Remove #include <stdarg.h>.
5412 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
5414         [BZ #19826]
5415         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
5416         initialization of static TLS entries.
5417         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
5418         * nptl/allocatestack.c (init_one_static_tls): Likewise.
5420 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5422         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
5423         _hurd_malloc_fork_prepare.
5424         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
5425         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
5426         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
5427         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
5428         (_hurd_fork_child_hook): Drop malloc_fork_child.
5429         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
5430         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
5431         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
5432         after locking locks (notably hurd_dtable_lock). Call
5433         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
5434         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
5435         __malloc_fork_unlock_child.
5436         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
5438 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
5440         * soft-fp/extendhftf2.c: New.
5441         * soft-fp/fixhfti.c: Likewise.
5442         * soft-fp/fixunshfti.c: Likewise.
5443         * soft-fp/floattihf.c: Likewise.
5444         * soft-fp/floatuntihf.c: Likewise.
5445         * soft-fp/half.h: Likewise.
5446         * soft-fp/trunctfhf2.c: Likewise.
5448 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
5450         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
5451         macro.
5452         * math/libm-test.inc (issubnormal_test_data): New array.
5453         (issubnormal_test): New function.
5454         * manual/arith.texi (Floating Point Classes): Document
5455         issubnormal.
5456         * manual/libm-err-tab.pl: Update comment on interfaces without
5457         ulps tabulated.
5459         * sysdeps/generic/stdint.h: Define
5460         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5461         <bits/libc-header-start.h> instead of including <features.h>.
5462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
5463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
5464         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
5465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
5466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
5467         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
5468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
5469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
5470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
5471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
5472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
5473         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
5474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
5475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
5476         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
5477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
5478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
5479         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
5480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
5481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
5482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
5483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
5484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
5485         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
5486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
5487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
5488         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
5489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
5490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
5491         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
5492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
5493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
5494         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
5495         * manual/arith.texi (Integers): Document these macros for types
5496         specified by width properties.
5497         * manual/lang.texi (Width of Type): Document these macros for
5498         other standard typedefs.
5499         * stdlib/tst-width-stdint.c: New file.
5500         * stdlib/Makefile (tests): Add tst-width-stdint.
5502 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5504         [BZ #20016]
5505         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
5506         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
5507         Move ...
5508         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
5509         ... here, as compatibility symbols in a new file.
5510         * resolv/Makefile (libresolv-routines): Add compat-hooks.
5511         * resolv/res_init.c (__res_vinit): Adjust member names.
5512         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
5513         * resolv/resolv.h (res_sendhookact, res_send_qhook)
5514         (res_send_rhook): Remove.
5515         (struct __res_state): Rename qhook, rhook members.
5517 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5519         malloc: Use __libc_lock wrappers.
5520         * malloc/arena.c (list_lock, free_list_lock): Define using
5521         __libc_lock_define_initialized.
5522         (arena_lock): Adjust formatting.
5523         * malloc/malloc.c (struct malloc_state): Define mutex using
5524         __libc_lock_define.
5525         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
5526         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
5527         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
5528         (mutex_unlock, mutex_trylock): Remove.
5529         (__pthread_initialize): Remove unused macro.
5530         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
5531         (mutex_unlock, mutex_trylock): Remove.
5533 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5535         [BZ #20592]
5536         Remove RR type classification macros.
5537         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
5538         (ns_t_udp_p, ns_t_xfr_p): Remove.
5540 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5542         Remove misleading version information.
5543         * resolv/arpa/nameser.h (__NAMESER): Remove.
5544         * resolv/arpa/nameser_compat.h (__BIND): Remove.
5546 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5548         Remove the always-defined BIND_4_COMPAT macro.
5549         * resolv/arpa/nameser.h: Unconditionally include
5550         <arpa/nameser_compat.h>.
5551         (BIND_4_COMPAT): Remove.
5552         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
5554 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5556         [BZ #20591]
5557         Remove obsolete DNSSEC support.
5558         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
5559         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
5560         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
5561         (ns_verify_tcp, ns_verify_tcp_init): Remove.
5562         (ns_cert_types): Add comment.
5563         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
5564         separately.
5565         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
5566         (dst_s_dns_key_id): Remove.
5567         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
5568         variables.
5570 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5572         [BZ #20524]
5573         * manual/string.texi (String/Array Comparison): Clarify the
5574         strverscmp behavior.
5576 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5578         * test-skeleton.c (xasprintf): Add function.
5579         * io/tst-open-tmpfile.c: New test.
5580         * io/Makefile (tests): Add it.
5582 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5584         Avoid running $(CXX) during build to obtain header file paths.
5585         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
5586         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
5587         * Makerules (cstdlib, cmath): Remove variables.  Use
5588         $(c++-cstdlib-header), $(c++-cmath-header) instead.
5589         * configure: Regenerate.
5591 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5593         * Makeconfig (all-object-suffixes): Include .op only if
5594         $(build-profile).
5596 2016-09-21  Florian Weimer  <fweimer@redhat.com>
5598         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
5599         conditionals.  Do not define PATH_MAX.
5601 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5603         * posix/Makefile (tests): Add tst-spawn3.
5604         * posix/tst-spawn3.c: New file.
5605         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
5606         if it is already opened for open action.
5608         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
5609         all signals when executing the clone vfork child.
5610         (SIGALL_SET): Remove macro.
5612         * nptl/Makefile (tests): Add tst-exec5.
5613         * nptl/tst-exec5.c: New file.
5614         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
5615         asynchronous cancellation.
5617 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5619         * hurd/exc2signal.c: #include <hurd/signal.h>
5620         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
5621         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
5622         accordingly.
5623         * mach/mach_error.c (mach_error): Fix old-style function definition.
5624         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
5626 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5628         * math/Makefile (libm-calls): Remove s_nanF.
5629         (gen-libm-calls): Add s_nanF.
5631         * math/s_nan.c: Refactor into ...
5632         * math/s_nan_template.c: New file.
5634         * math/s_nanf.c: Removed.
5635         * math/s_nanl.c: Removed.
5636         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
5637         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
5639         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
5640         (LDOUBLE_nanl_libm_version): New macro.
5642         * sysdeps/generic/math-type-macros-double.h:
5643         (M_STRTO_NAN): New macro.
5644         * sysdeps/generic/math-type-macros-float.h: Likewise.
5645         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5647         * sysdeps/generic/math-type-macros.h: Document
5648         M_STRTO_NAN.
5650 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5652         * math/s_nanf.c: Remove __nanf undef.
5653         * math/s_nan.c: Remove __nan undef.
5654         * math/s_nanl.c: Remove __nanl undef.
5656         * sysdeps/generic/math_private.h (__nan): Remove macro
5657         override.
5658         (__nanf): Likewise.
5659         (__nanl): Likewise.
5661 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5663         * math/Makefile (gen-all-calls): New variable.
5664         (generated): Replace gen-libm-calls with gen-all-calls.
5665         (gen-libm-templates.stmp): Likewise.  Also, ensure
5666         the output directory exists or is created and add
5667         dependency on the Makefile.
5668         (calls): Move s_ldexpF into gen-calls.
5669         (gen-calls): New variable.
5671         * math/s_ldexpf.c: Removed.
5672         * math/s_ldexpl.c: Removed.
5673         * math/s_ldexp.c: Refactored into ...
5674         * math/s_ldexp_template.c: New file.
5676         * sysdeps/generic/math-type-macros-double.h: Remove
5677         redundant fall-through definition of declare_mgen_alias.
5678         (declare_mgen_alias_2): New macro.
5680         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
5681         New macro for function aliased to two exported symbols.
5683         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
5684         new template file.
5685         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5687 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5689         * Makeconfig (all-object-suffixes): Remove .og.
5690         * Makerules (elide-routines.og): Remove.
5691         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
5692         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
5693         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
5695 2016-09-20  Florian Weimer  <fweimer@redhat.com>
5697         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
5698         .os objects.
5700 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5702         [BZ #20615]
5703         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
5704         fpu directory by non-fpu.
5705         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
5706         on non-fpu directory from a fpu directory.
5708 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
5710         * include/limits.h: Define
5711         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5712         <bits/libc-header-start.h> instead of including <features.h>.
5713         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
5714         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
5715         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
5716         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
5717         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
5718         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
5719         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
5720         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
5721         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5722         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
5723         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
5724         * manual/lang.texi (Width of Type): Document these macros.
5725         * stdlib/tst-width.c: New file.
5726         * stdlib/Makefile (tests): Add tst-width.
5728 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5730         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
5731         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
5733 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5735         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
5736         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5737         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5739 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5741         [BZ #18243]
5742         * rt/Makefile (test): Add tst-shm-cancel.
5743         * rt/tst-shm-cancel.c: New file.
5744         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
5746         [BZ #18243]
5747         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
5748         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
5749         definition.
5750         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
5751         uncontended case.
5752         * nptl/sem_wait.c (__new_sem_wait): Likewise.
5753         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
5754         (tf): Fix check for uncontended case.
5755         (do_test): Likewise.
5756         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
5757         (tf): Fix check for uncontended case.
5758         (do_test): Likewise.
5759         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
5760         (tf): Fix check for uncontended case.
5761         (do_test): Likewise.
5762         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
5763         (tf): Fix check for uncontended case.
5764         (do_test): Likewise.
5766         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
5767         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
5769         [BZ #15765]
5770         * nptl/Makefile (tests): Add tst-sem16.
5771         * nptl/tst-sem16.c: New file.
5772         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
5774         * nptl/sem_open.c (sem_open): Init pad value to 0.
5775         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
5776         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
5778 2016-09-15  Florian Weimer  <fweimer@redhat.com>
5780         [BZ #20611]
5781         * inet/Makefile (routines): Add inet6_scopeid_pton.
5782         (tests): Add tst-inet6_scopeid_pton.
5783         * inet/inet6_scopeid_pton.c: New file.
5784         * inet/net-internal.h: Likewise.
5785         * inet/tst-inet6_scopeid_pton.c: New test.
5786         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
5787         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
5788         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
5790 2016-09-14  Florian Weimer  <fweimer@redhat.com>
5792         Remove support for compiling wrappers with PTW.
5793         * sysdeps/nptl/Makeconfig: Drop ptw- support.
5794         * nptl/Makefile (pthread-compat-wrappers): Define.
5795         (libpthread-routines): Use pthread-compat-wrappers.
5796         * sysdeps/unix/sysv/linux/alpha/Makefile
5797         (libpthread-routines, libpthread-shared-only-routines): Remove
5798         ptw- prefix.
5799         * sysdeps/s390/nptl/Makefile
5800         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5801         * sysdeps/ia64/nptl/Makefile
5802         (libpthread-routines, libpthread-shared-only-routines): Likewise.
5803         * sysdeps/nacl/Makefile (libpthread-routines): Use
5804         pthread-compat-wrappers to filter the routines list instead of the
5805         ptw- prefix.
5807 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5809         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
5810         with L() and remove explicit suffix, convert real literals
5811         which can be equivalentally substituted with integers, and
5812         transform -L(x) to L(-x).
5814         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
5815         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5816         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
5817         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
5818         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
5819         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5820         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5821         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
5822         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
5823         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5824         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5825         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5826         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5827         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
5828         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
5829         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
5830         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
5831         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5832         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
5833         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
5834         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
5835         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
5836         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
5837         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5838         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
5839         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5840         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5841         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5842         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5843         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5844         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5845         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
5846         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5847         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5848         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5849         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5850         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5851         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5852         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5853         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5854         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5855         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5856         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5857         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
5858         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5859         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5860         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5861         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
5862         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5863         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
5865 2016-09-13  Florian Weimer  <fweimer@redhat.com>
5867         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
5869 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5871         * malloc/Makefile (tests): Remove individual static test names
5872         and just add all of tests-static.
5874         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
5876 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
5878         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
5879         file.
5881         * sysdeps/sparc/fpu/fegetmode.c: New file.
5882         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
5884         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
5885         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
5887         * sysdeps/s390/fpu/fegetmode.c: New file.
5888         * sysdeps/s390/fpu/fesetmode.c: Likewise.
5890         * sysdeps/powerpc/fpu/fegetmode.c: New file.
5891         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
5892         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
5893         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
5894         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
5895         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
5897         * sysdeps/mips/fpu/fegetmode.c: New file.
5898         * sysdeps/mips/fpu/fesetmode.c: Likewise.
5900         * sysdeps/m68k/fpu/fegetmode.c: New file.
5901         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
5903         * sysdeps/ia64/fpu/fegetmode.c: New file.
5904         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
5906         * sysdeps/hppa/fpu/fegetmode.c: New file.
5907         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
5909         * sysdeps/arm/fegetmode.c: New file.
5910         * sysdeps/arm/fesetmode.c: Likewise.
5912         * sysdeps/alpha/fpu/fegetmode.c: New file.
5913         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
5915         * sysdeps/aarch64/fpu/fegetmode.c: New file.
5916         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
5918         * math/fegetmode.c: New file.
5919         * math/fesetmode.c: Likewise.
5920         * sysdeps/i386/fpu/fegetmode.c: Likewise.
5921         * sysdeps/i386/fpu/fesetmode.c: Likewise.
5922         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
5923         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
5924         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
5925         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
5926         declaration.
5927         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
5928         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
5929         typedef.
5930         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5931         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5932         (femode_t): New typedef.
5933         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5934         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5935         (femode_t): New typedef.
5936         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5937         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5938         (femode_t): New typedef.
5939         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5940         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5941         (femode_t): New typedef.
5942         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5943         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5944         (femode_t): New typedef.
5945         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5946         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5947         (femode_t): New typedef.
5948         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5949         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5950         (femode_t): New typedef.
5951         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5952         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5953         (femode_t): New typedef.
5954         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5955         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5956         (femode_t): New typedef.
5957         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5958         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5959         (femode_t): New typedef.
5960         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
5961         declaration.
5962         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
5963         * sysdeps/s390/fpu/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/sh/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/sparc/fpu/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/tile/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/x86/fpu/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         * manual/arith.texi (FE_DFL_MODE): Document macro.
5979         (fegetmode): Document function.
5980         (fesetmode): Likewise.
5981         * math/Versions (fegetmode): New libm symbol at version
5982         GLIBC_2.25.
5983         (fesetmode): Likewise.
5984         * math/Makefile (libm-support): Add fegetmode and fesetmode.
5985         (tests): Add test-femode and test-femode-traps.
5986         * math/test-femode-traps.c: New file.
5987         * math/test-femode.c: Likewise.
5988         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
5989         alias for __fe_dfl_env.
5990         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
5991         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
5992         (__fe_dfl_mode): Likewise.
5993         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
5994         version GLIBC_2.25.
5995         * sysdeps/nacl/libm.abilist: Update.
5996         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5997         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5998         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5999         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6000         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6001         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6002         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6003         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6004         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6005         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6006         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6007         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6009         Likewise.
6010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6011         Likewise.
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6013         Likewise.
6014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6015         Likewise.
6016         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6017         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6018         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6019         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6020         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6022         Likewise.
6023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6024         Likewise.
6025         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6026         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6027         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6029 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6031         [BZ #20495]
6032         [BZ #20508]
6033         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6034         processors, set Use_dl_runtime_resolve_slow and set
6035         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6036         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6037         New.
6038         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6039         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6040         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6041         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6042         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6043         if Use_dl_runtime_resolve_opt is set.  Use
6044         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6045         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6046         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6047         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6048         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6049         New.
6050         (_dl_runtime_resolve_opt): Likewise.
6051         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6052         defined.
6054 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6056         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6057         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6059 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6061         Convert malloc to __libc_lock.  Automated part, using this Perl
6062         s/// command:
6063           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6064             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6065         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6066         conversion.
6068 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6070         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6071         (linknamespace-symlists-tests): Likewise.
6072         (linknamespace-header-tests): Likewise.
6074 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6076         [BZ #19810]
6077         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6078         * elf/tst-noload.c: New test case.
6079         * elf/Makefile (tests): Add tst-noload.
6081 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6083         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6085         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6086         not any more.
6088         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6090 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6092         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6093         (do_cos_slow): Likewise.
6094         (do_sin): Likewise.
6095         (do_sin_slow): Likewise.
6096         (slow): Likewise.
6097         (slow1): Likewise.
6098         (slow2): Likewise.
6099         (sloww): Likewise.
6100         (sloww1): Likewise.
6101         (sloww2): Likewise.
6102         (bsloww): Likewise.
6103         (bsloww1): Likewise.
6104         (bsloww2): Likewise.
6105         (cslow2): Likewise.
6107         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6109         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6110         arguments.  Consolidate input partitioning from callers here.
6111         (do_cos_slow): Likewise.
6112         (do_sin): Likewise.
6113         (do_sin_slow): Likewise.
6114         (do_sincos_1): Remove the no longer necessary input partitioning.
6115         (do_sincos_2): Likewise.
6116         (__sin): Likewise.
6117         (__cos): Likewise.
6118         (slow1): Likewise.
6119         (slow2): Likewise.
6120         (sloww1): Likewise.
6121         (sloww2): Likewise.
6122         (bsloww1): Likewise.
6123         (bsloww2): Likewise.
6124         (cslow2): Likewise.
6126 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6128         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6129         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6130         outside of allocated array.
6132 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6134         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
6135         instead of MB_CUR_MAX to avoid variable-length array.
6137 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6139         * math/Makefile (libm-calls): Remove k_rem_pio2F.
6140         (type-double-routines): Add k_rem_pio2.
6141         (type-float-routines): Add k_rem_pio2f.
6143         * sysdeps/generic/math_private.h:
6144         (__kernel_rem_pio2l): Removed.
6146         * math/k_rem_pio2l.c: Removed.
6147         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
6148         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
6149         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
6150         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
6152 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6154         * math/Makefile (gen-libm-calls): Add s_fmin
6155         (libm-calls): Remove above.
6157         * math/s_fmin.c: Refactor into ...
6158         * math/s_fmin_template.c: New file.
6160         * math/s_fminf.c: Removed.
6161         * math/s_fminl.c: Removed.
6162         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6163         (LDOUBLE_fmin_libm_version): New macro.
6165         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
6166         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
6168 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6170         * math/Makefile: (gen-libm-calls): Add s_fmax.
6171         (libm-calls): Remove above.
6173         * math/s_fmax.c: Refactor into ...
6174         * math/s_fmax_template.c: New file.
6175         * math/s_fmaxf.c: Removed.
6176         * math/s_fmaxl.c: Removed.
6178         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6179         (LDOUBLE_fmaxl_libm_version): New macro.
6181         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
6182         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
6184         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
6185         s_fmin.c to pick the aarch64 version of the file.
6186         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
6187         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
6189 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6191         * math/Makefile: (gen-libm-calls): Add s_nextdown.
6192         (libm-calls): Remove above.
6194         * math/s_nextdown.c: Refactor into ...
6195         * math/s_nextdown_template.c: New file.
6196         * math/s_nextdownf.c: Removed.
6197         * math/s_nextdownl.c: Removed.
6199         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
6201 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6203         * math/Makefile (gen-libm-calls): Add s_fdim.
6204         (libm-calls): Move to above.
6206         * math/s_fdim.c: Renamed and refactored into to ...
6207         * math/s_fdim_template.c: New file.
6208         * math/s_fdiml.c: Removed.
6209         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
6210         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
6212         * sysdeps/generic/math-type-macros-double.h:
6213         (declare_mgen_alias): Don't declare if already declared.
6214         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
6215         Likewise.
6217         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6218         (declare_mgen_alias): Don't declare if already declared.
6219         (M_LIBM_NEED_COMPAT): Likewise.
6220         (declare_mgen_libm_compat): Likewise.
6221         (LDOUBLE_fdiml_libm_version): New macro.
6223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6224         Include math/s_fdim.c now that ldbl-opt version is not needed.
6225         (declare_mgen_alias): New macro to disable aliasing.
6227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
6228         (declare_mgen_alias): Likewise.
6229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
6230         (declare_mgen_alias): Likewise.
6231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
6232         (declare_mgen_alias): Likewise.
6233         (M_LIBM_NEED_COMPAT): Likewise.
6235 2016-09-01  Florian Weimer  <fweimer@redhat.com>
6237         [BZ #20525]
6238         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
6239         Include <linux/quota.h>.
6240         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
6241         and btodb.
6242         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
6243         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
6244         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
6245         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
6246         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
6247         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
6248         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
6249         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
6250         types.
6251         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
6252         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
6254 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6256         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
6257         (gammal_positive): Fix spacing.
6258         (__ieee754_gammal_r): Likewise.
6260 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6262         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
6263         (_Float128): Define as long double, always.
6264         (L): Apply long double type suffix, always.
6266         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
6267         _Float128, excepting comments.
6269         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6270         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6271         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6272         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6273         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6274         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6275         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6276         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6277         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6278         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
6279         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6280         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6281         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6282         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6283         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6284         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6285         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6286         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6287         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6288         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6289         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6290         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6291         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6292         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6293         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6294         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6295         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6296         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6297         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6298         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6299         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6300         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6301         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6302         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6303         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6304         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6305         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6306         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6307         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6308         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6309         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6310         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6311         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6312         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6313         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6314         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6315         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6316         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6317         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6318         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6319         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6320         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6321         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6322         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6323         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6324         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6325         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6326         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6327         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6328         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6329         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6330         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6331         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6332         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6333         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6334         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6335         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6336         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6338         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
6339         _Float128, and include math_private.h.
6340         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6342         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
6343         long double semantics.
6344         (_Float128): Likewise.
6345         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
6346         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
6347         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
6348         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
6350 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6352         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
6353         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
6354         * sysdeps/s390/configure: Regenerated.
6355         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
6356         instruction for raising over-/underflow if z196 zarch is supported
6357         by default.
6358         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
6360 2016-08-30  Svante Signell  <svante.signell@gmail.com>
6362         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
6363         it point to a dumb buffer for RPC to fill it.
6365 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6367         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
6368         instead of if/else.
6369         (do_sin_slow): Likewise.
6370         (do_sincos_1): Use fabs instead of if/else.
6371         (do_sincos_2): Likewise.
6372         (__sin): Likewise.
6373         (__cos): Likewise.
6374         (slow2): Likewise.
6375         (sloww): Likewise.
6376         (sloww1): Likewise.  Drop argument M.
6377         (sloww2): Use fabs instead of if/else.
6378         (bsloww): Likewise.
6379         (bsloww1): Likewise.
6380         (bsloww2): Likewise.
6382         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
6383         fall through comment.
6384         (do_sincos_1): Likewise.
6386         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
6387         Consolidate switch cases 0 and 2.
6389 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6391         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
6392         (libm-calls): Remove the above.
6394         * math/s_cexp_template.c: Update using type-generic macros.
6395         * math/s_clog10_template.c: Likewise.
6396         * math/s_cpow_template.c: Likewise.
6397         * math/s_clog_template.c: Likewise.
6398         * math/s_cproj_template.c: Likewise.
6399         * math/s_csqrt_template.c: Likewise.
6401         * math/s_cexp.c: Removed.
6402         * math/s_cexpf.c: Removed.
6403         * math/s_cexpl.c: Removed.
6404         * math/s_clog10.c: Removed.
6405         * math/s_clog10f.c: Removed.
6406         * math/s_clog10l.c: Removed.
6407         * math/s_cpow.c: Removed.
6408         * math/s_cpowf.c: Removed.
6409         * math/s_cpowl.c: Removed.
6410         * math/s_clog.c: Removed.
6411         * math/s_clogf.c: Removed.
6412         * math/s_clogl.c: Removed.
6413         * math/s_cproj.c: Removed.
6414         * math/s_cprojf.c: Removed.
6415         * math/s_cprojl.c: Removed.
6416         * math/s_csqrt.c: Removed.
6417         * math/s_csqrtf.c: Removed.
6418         * math/s_csqrtl.c: Removed.
6420         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
6421         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
6422         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
6423         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
6424         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
6425         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
6427         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
6428         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
6429         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
6430         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
6431         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
6432         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
6433         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
6434         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
6435         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
6436         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
6437         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
6439         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
6440         version.
6442         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
6443         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
6444         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
6445         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
6447 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6449         * s_cexp_template.c: Copy of s_cexp.c.
6450         * s_clog_template.c: Copy of s_clog.c.
6451         * s_clog10_template.c: Copy of s_clog10.c.
6452         * s_cpow_template.c: Copy of s_cpow.c.
6453         * s_cproj_template.c: Copy of s_cproj.c.
6454         * s_csqrt_template.c: Copy of s_csqrt.c.
6456 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6458         [BZ #20517]
6459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
6460         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
6461         exported.
6463 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
6465         * math/fetestexceptflag.c: New file.
6466         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
6467         Stefan Liebler.
6468         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6469         (fetestexceptflag): New function declaration.
6470         * manual/arith.texi (fetestexceptflag): Document function.
6471         * math/Versions (fetestexceptflag): New libm symbol at version
6472         GLIBC_2.25.
6473         * math/Makefile (libm-support): Add fetestexceptflag.
6474         (tests): Add test-fetestexceptflag.
6475         * math/test-fetestexceptflag.c: New file.
6476         * sysdeps/nacl/libm.abilist: Update.
6477         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6478         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6479         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6480         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6481         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6482         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6483         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6484         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6485         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6486         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6487         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6488         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6490         Likewise.
6491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6492         Likewise.
6493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6494         Likewise.
6495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6496         Likewise.
6497         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6498         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6499         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6500         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6501         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6503         Likewise.
6504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6505         Likewise.
6506         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6507         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6508         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6510 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6512         [BZ #20432]
6513         Avoid strong references to malloc-internal symbols when linking
6514         statically, to support statically interposed mallocs.
6515         * include/libc-symbols.h (call_function_static_weak): New macro.
6516         * malloc/Makefile (tests): Add tst-interpose-nothread,
6517         tst-interpose-thread, tst-interpose-static-nothread,
6518         tst-interpose-static-thread.
6519         (tests-static): Add tst-interpose-static-nothread,
6520         tst-interpose-static-thread.
6521         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
6522         tst-interpose-aux-thread.o.
6523         (test-extras): Add tst-interpose-aux-nothread,
6524         tst-interpose-aux-thread.
6525         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
6526         tst-interpose-aux-nothread.o.
6527         (tst-interpose-thread, tst-interpose-static-thread): Link with
6528         tst-interpose-aux-thread.o and libthread.
6529         * malloc/tst-interpose-aux-nothread.c: New file.
6530         * malloc/tst-interpose-aux-thread.c: Likewise.
6531         * malloc/tst-interpose-aux.c: Likewise.
6532         * malloc/tst-interpose-aux.h: Likewise.
6533         * malloc/tst-interpose-nothread.c: Likewise.
6534         * malloc/tst-interpose-skeleton.c: Likewise.
6535         * malloc/tst-interpose-static-nothread.c: Likewise.
6536         * malloc/tst-interpose-static-thread.c: Likewise.
6537         * malloc/tst-interpose-thread.c: Likewise.
6538         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
6539         * sysdeps/mach/hurd/fork.c (__fork): Only call
6540         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
6541         __malloc_fork_unlock_child if defined.
6542         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
6544 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6546         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
6547         timespec C99 designated initialization.
6549 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6551         [BZ #19946]
6552         Avoid expected SIGALRM signals.
6553         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
6554         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
6555         (xpthread_create, xpthread_detach, xpthread_join)
6556         (delayed_exit_thread, delayed_exit): New functions.
6557         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
6558         (tf): Use xpthread_cond_wait.
6559         (do_test): Likewise.  Replace alarm with delayed_exit.
6560         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6561         (do_test): Call delayed_exit.  Report failure.
6562         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6563         (do_test): Call delayed_exit.
6564         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6565         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
6566         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6567         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
6568         error.
6569         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
6570         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
6571         error.
6572         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
6573         (do_test): Call delayed_exit.
6574         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
6575         (do_test): Call delayed_exit.
6576         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
6577         (do_test): Call delayed_exit instead of alarm.  Use
6578         xpthread_mutex_lock.
6579         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
6580         (do_test): Call delayed_exit instead of alarm.  Use
6581         xpthread_mutex_lock.
6582         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
6583         (do_test): Call delayed_exit instead of alarm.
6584         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
6585         (do_test): Call delayed_exit instead of alarm.  Use
6586         xpthread_spin_lock.
6587         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
6588         (do_test): Call delayed_exit instead of alarm.  Use
6589         xpthread_join.
6591 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
6593         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
6594         adjust CFA when allocating register save area on re-aligned
6595         stack.
6597 2016-08-26  Florian Weimer  <fweimer@redhat.com>
6599         * string/tst-cmp.c: New test.
6600         * string/Makefile (tests): Add it.
6602 2016-08-25  Mark Wielaard  <mark@klomp.org>
6604         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
6605         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
6606         (check_tree_recurse): Use newly defined accessors.
6607         (check_tree): Likewise.
6608         (maybe_split_for_insert): Likewise.
6609         (__tfind): Likewise.
6610         (__tdelete): Likewise.
6611         (trecurse): Likewise.
6612         (tdestroy_recurse): Likewise.
6613         (__tsearch): Likewise. And add asserts for malloc alignment.
6614         (__twalk): Cast root to node in case CHECK_TREE is defined.
6616 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6618         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
6620 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6622         * math/Makefile (libm-gen-calls): Add
6623         catan, catanh, ctan, ctanh.
6624         (libm-calls): Remove the above.
6626         * math/s_catan_template.c: Update using type-generic macros.
6627         * math/s_catanh_template.c: Likewise.
6628         * math/s_ctan_template.c: Likewise.
6629         * math/s_ctanh_template.c: Likewise.
6631         * math/s_catanf.c: Removed.
6632         * math/s_catan.c: Removed.
6633         * math/s_catanl.c: Removed.
6634         * math/s_catanhf.c: Removed.
6635         * math/s_catanh.c: Removed.
6636         * math/s_catanhl.c: Removed.
6637         * math/s_ctanf.c: Removed.
6638         * math/s_ctan.c: Removed.
6639         * math/s_ctanl.c: Removed.
6640         * math/s_ctanhf.c: Removed.
6641         * math/s_ctanh.c: Removed.
6642         * math/s_ctanhl.c: Removed.
6644         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
6645         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
6646         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
6647         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
6648         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
6649         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
6651         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
6652         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
6653         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
6654         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
6656 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6658         * s_catan_template.c: Copy of s_catan.c.
6659         * s_catanh_template.c: Copy of s_catanh.c.
6660         * s_ctan_template.c: Copy of s_ctan.c.
6661         * s_ctanh_template.c: Copy of s_ctanh.c.
6663 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6665         * math/Makefile (gen-libm-calls): Move
6666         casin, casinh, csin, csinh here.
6667         (libm-calls): Remove the above.
6669         * math/s_casin_template.c: Update using type-generic macros.
6670         * math/s_casinh_template.c: Likewise.
6671         * math/s_csin_template.c: Likewise.
6672         * math/s_csinh_template.c: Likewise.
6673         * math/k_casinh_template.c: Likewise.
6675         * math/s_casinf.c: Removed.
6676         * math/s_casin.c: Removed.
6677         * math/s_casinl.c: Removed.
6678         * math/s_casinh.c: Removed.
6679         * math/s_casinhf.c: Removed.
6680         * math/s_casinhl.c: Removed.
6681         * math/s_csin.c: Removed.
6682         * math/s_csinf.c: Removed.
6683         * math/s_csinl.c: Removed.
6684         * math/s_csinh.c: Removed.
6685         * math/s_csinhf.c: Removed.
6686         * math/s_csinhl.c: Removed.
6687         * math/k_casinh.c: Removed.
6688         * math/k_casinhf.c: Removed.
6689         * math/k_casinhl.c: Removed.
6691         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
6692         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
6693         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
6694         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
6696         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
6697         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
6698         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
6699         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
6700         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
6701         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
6702         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
6703         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
6705         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
6706         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
6707         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
6708         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
6710         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
6711         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
6712         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
6713         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
6715 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6717         * s_casin_template.c: Copy of s_casin.c.
6718         * s_casinh_template.c: Copy of s_casinh.c.
6719         * s_csin_template.c: Copy of s_csin.c.
6720         * s_csinh_template.c: Copy of s_csinh.c.
6721         * k_casinh_template.c: Copy of k_casinh.c.
6723 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
6725         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
6727 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6729         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
6730         (mul_split) Remove, rename as mul_splitl, remove
6731         redundant float.h include, and include via mul_splitl.h
6733         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
6734         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6735         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6736         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
6737         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
6739         * math/mul_splitl.h: New file.
6741         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
6742         Move into mul_split.h, and remove redundant float.h include.
6744         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
6745         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
6746         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
6747         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
6749         * math/mul_split.h: New file.
6751 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6753         * math/Makefile (libm-gen-calls): Move
6754         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
6755         (libm-calls): Remove above.
6757         * math/s_cacos_template.c: Update using type-generic macros.
6758         * math/s_cacosh_template.c: Likewise.
6759         * math/s_ccos_template.c: Likewise.
6760         * math/s_ccosh_template.c: Likewise.
6762         * math/s_cacosf.c: Removed.
6763         * math/s_cacos.c: Removed.
6764         * math/s_cacosl.c: Removed.
6765         * math/s_cacoshf.c: Removed.
6766         * math/s_cacosh.c: Removed.
6767         * math/s_cacoshl.c: Removed.
6768         * math/s_ccosf.c: Removed.
6769         * math/s_ccos.c: Removed.
6770         * math/s_ccosl.c: Removed.
6771         * math/s_ccoshf.c: Removed.
6772         * math/s_ccosh.c: Removed.
6773         * math/s_ccoshl.c: Removed.
6775         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
6776         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
6777         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
6778         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
6779         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
6780         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
6782         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
6783         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
6784         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
6785         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
6787         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
6788         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
6789         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
6790         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
6792 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6794         * s_cacos_template.c: Copy of s_cacos.c.
6795         * s_cacosh_template.c: Copy of s_cacosh.c.
6796         * s_ccos_template.c: Copy of s_ccos.c.
6797         * s_ccosh_template.c: Copy of s_ccosh.c.
6799 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6801         * stdlib/tst-strtod-round-skeleton.c:
6802         Refactored from tst-strtod-round.c.
6804         (L_): New macro to apply literal modifier.
6805         (FNPFX): New macro to select str or wcs prefix.
6806         (CHAR): New macro to choose wchar_t or char.
6807         (STRM): New macro to choose printf for tested character type.
6809         (STRTO): New macro to choose appropriate string -> real function.
6810         (FNPFXS): Stringitized version of FNPFX.
6811         (STR): Support for above macro.
6812         (STRX): Likewise.
6814         (TEST): Update with above macros.
6815         (test): Likewise.
6816         (GEN_ONE_TEST): Likewise.
6817         (test_in_one_mode): Likewise.
6819         * stdlib/tst-strtod-round.c: New file.
6820         * wcsmbs/tst-wcstod-round.c: New file.
6822         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
6823         (tst-wcstod-round): Add libm depencency for fesetround.
6825 2016-08-19  Zack Weinberg  <zackw@panix.com>
6827         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
6829 2016-08-18  Torvald Riegel  <triegel@redhat.com>
6831         [BZ #20477]
6832         * resolv/res_hconf.c (do_init): Use atomic access.
6833         * resolv/res_hconf.h: Add comments.
6834         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
6835         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
6836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6838 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6840         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
6841         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
6842         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
6843         Likewise.
6845 2016-08-18  Florian Weimer  <fweimer@redhat.com>
6847         [BZ #16907]
6848         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
6849         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
6850         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
6851         (__attribute__): Remove definition.
6853 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6855         * sysdeps/ieee754/ldbl-128/e_asinl.c:
6856         Remove unused sqrtl declaration.
6858 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6860         * math/Makefile: (gen-libm-templates.stmp): New rule.
6861         (libm-calls): Move carg conj cimag and cabs into ...
6862         (gen-libm-calls): New variable.
6863         (generated): Inform Make objects from gen-libm-calls
6864         may be generated.
6866         * sysdeps/generic/math-type-macros.h: New file.
6867         * sysdeps/generic/math-type-macros-float.h: Likewise.
6868         * sysdeps/generic/math-type-macros-double.h: Likewise.
6869         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6870         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
6871         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
6873         * math/cabs.c: Refactor into
6874         * math/cabs_template.c: new file.
6875         * math/cabsf.c: Removed.
6876         * math/cabsl.c: Removed.
6877         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
6878         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
6880         * math/carg.c: Refactor into
6881         * math/carg_template.c: new file.
6882         * math/cargf.c: Removed.
6883         * math/cargl.c: Removed.
6884         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
6885         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
6887         * math/conj.c: Refactor into
6888         * math/conj_template.c: new file.
6889         * math/conjf.c: Removed.
6890         * math/conjl.c: Removed.
6891         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
6892         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
6894         * math/cimag.c: Refactor into
6895         * math/cimag_template.c: new file.
6896         * math/cimagf.c: Removed.
6897         * math/cimagl.c: Removed.
6898         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6899         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6901         * math/cimag.c: Refactor into
6902         * math/cimag_template.c: new file.
6903         * math/cimagf.c: Removed.
6904         * math/cimagl.c: Removed.
6905         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
6906         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
6908 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6910         Reduce time to expected nptl/tst-once5 failure.
6911         * nptl/tst-once5.cc (TIMEOUT): Define.
6913 2016-08-17  Florian Weimer  <fweimer@redhat.com>
6915         [BZ #20452]
6916         Avoid additional copies of objects in libc.a in static libraries.
6917         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
6918         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
6919         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
6920         rt-sysdep.
6921         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
6922         Add nptl-sysdep.
6923         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
6924         Add ptw-sysdep.
6925         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
6926         rt-sysdep.
6927         * sysdeps/unix/sysv/linux/alpha/Makefile
6928         (libpthread-shared-only-routines): Add ptw-sysdep,
6929         ptw-sigprocmask, ptw-rt_sigaction.
6930         * sysdeps/unix/sysv/linux/ia64/Makefile
6931         (librt-shared-only-routines): Add rt-sysdep.
6932         * sysdeps/unix/sysv/linux/i386/Makefile
6933         (libpthread-shared-only-routines): Add libc-do-syscall.
6934         * sysdeps/unix/sysv/linux/microblaze/Makefile
6935         (libpthread-shared-only-routines): Add sysdep.
6936         * sysdeps/unix/sysv/linux/powerpc/Makefile
6937         (librt-shared-only-routines): Add rt-sysdep.
6938         (libpthread-shared-only-routines): Add sysdep.
6939         * sysdeps/unix/sysv/linux/s390/Makefile
6940         (librt-shared-only-routines): Add rt-sysdep.
6941         * sysdeps/unix/sysv/linux/sparc/Makefile
6942         (librt-shared-only-routines): Add rt-sysdep.
6943         (libpthread-shared-only-routines): Add sysdep.
6944         * sysdeps/unix/sysv/linux/tile/Makefile
6945         (libpthread-shared-only-routines): Likewise.
6947 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
6949         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
6950         Mask implicit bit out of unpacked value.
6951         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
6952         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
6953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
6955         * sysdeps/sparc/fpu/fesetexcept.c: New file.
6957         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
6959         * sysdeps/s390/fpu/fesetexcept.c: New file.
6961         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
6962         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
6963         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
6965         * sysdeps/mips/fpu/fesetexcept.c: New file.
6967         * sysdeps/m68k/fpu/fesetexcept.c: New file.
6969         * sysdeps/ia64/fpu/fesetexcept.c: New file.
6971         * sysdeps/hppa/fpu/fesetexcept.c: New file.
6973         * sysdeps/arm/fesetexcept.c: New file.
6975         * sysdeps/alpha/fpu/fesetexcept.c: New file.
6977         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
6979         * math/fesetexcept.c: New file.
6980         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
6981         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
6982         * math/fenv.h: Define
6983         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6984         <bits/libc-header-start.h> instead of including <features.h>.
6985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
6986         declaration.
6987         * manual/arith.texi (fesetexcept): Document function.
6988         * math/Versions (fesetexcept): New libm symbol at version
6989         GLIBC_2.25.
6990         * math/Makefile (libm-support): Add fesetexcept.
6991         (tests): Add test-fesetexcept and test-fesetexcept-traps.
6992         * math/test-fesetexcept.c: New file.
6993         * math/test-fesetexcept-traps.c: Likewise.
6994         * sysdeps/nacl/libm.abilist: Update.
6995         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6996         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6997         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6998         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6999         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7000         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7001         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7002         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7003         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7004         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7005         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7006         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7008         Likewise.
7009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7010         Likewise.
7011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7012         Likewise.
7013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7014         Likewise.
7015         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7016         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7017         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7018         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7019         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7021         Likewise.
7022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7023         Likewise.
7024         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7025         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7026         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7028 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7030         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7031         New.
7032         (do_test): Apply default_stack_size_in_mb if not set.
7033         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7035 2016-08-15  Andreas Schwab  <schwab@suse.de>
7037         [BZ #20435]
7038         CVE-2016-6323
7039         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7040         as .cantunwind.
7042 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7044         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7045         comment from fraiseexcpt.c.
7047         * math/test-fexcept.c (feraiseexcept_exact): New function.
7048         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7049         (test_except): Likewise.
7051 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7053         [BZ #20455]
7054         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7055         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7056         to be restored.
7058         * math/test-fexcept-traps.c: New file.
7059         * math/test-fexcept.c: Likewise.
7060         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7061         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7062         macro.
7063         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7064         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7066 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7068         * include/atomic.h (atomic_fetch_and_relaxed,
7069         atomic_fetch_and_release, atomic_fetch_or_release,
7070         atomic_fetch_xor_release): New.
7072 2016-08-06  Christian Seiler  <christian@iwakd.de>
7074         [BZ #20444]
7075         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7076         MACH_PORT_NULL.
7078 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7080         * math/s_fdim.c: Avoid alias renamed.
7081         * math/s_fdimf.c: Likewise.
7082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7083         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7084         Add s_fdimf-vis3, s_fdim-vis3.
7085         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7086         (CFLAGS-s_fdim-vis3.c): Likewise.
7087         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7088         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7090 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7093         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7094         Remove s_fdimf-vis3, s_fdim-vis3.
7095         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7096         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7103         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7104         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7106 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7108         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7109         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7110         -Wa,-Av9a -mvis.
7112 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7114         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7115         LIT() to individual constants in simple expressions
7116         after splitting on spaces.
7117         (_apply_lit): Rename replaced version, and use it to
7118         apply to what appears to be a token.
7120         * math/libm-test.inc: Fix many, many issues with
7121         spacing.
7123 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7125         * math/math.h: Move comment about <bits/mathdef.h> definitions
7126         above inclusion of <bits/mathdef.h>.  Do not mention
7127         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7129 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7131         * include/atomic.h (atomic_exchange_relaxed): New.
7133 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
7135         * math/e_scalb.c: Do not include <fenv.h>.
7136         (invalid_fn): Do calculation resulting in NaN instead of raising
7137         FE_INVALID and returning a NaN explicitly.
7138         * math/e_scalbf.c: Do not include <fenv.h>.
7139         (invalid_fn): Do calculation resulting in NaN instead of raising
7140         FE_INVALID and returning a NaN explicitly.
7141         * math/e_scalbl.c: Do not include <fenv.h>.
7142         (invalid_fn): Do calculation resulting in NaN instead of raising
7143         FE_INVALID and returning a NaN explicitly.
7145 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
7147         * po/de.po: Updated from Translation Project.
7148         * po/fi.po: Likewise.
7149         * po/sv.po: Likewise.
7151 2016-08-04  Florian Weimer  <fweimer@redhat.com>
7153         [BZ #20452]
7154         Use sysdep.o from libc.a in static libraries.
7155         * sysdeps/unix/sysv/linux/i386/Makefile
7156         (libpthread-shared-only-routines): Add sysdep.
7157         (librt-shared-only-routines): Likewise.
7159 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7161         * math/tgmath.h (nextdown): Define if
7162         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
7163         (nextup): Likewise.
7165         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
7166         macro.
7167         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7168         Document.
7169         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
7170         Document macro.
7171         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
7172         (exp10f): Likewise.
7173         (exp10l): Likewise.
7174         * math/bits/mathcalls.h (exp10): Declare if
7175         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
7177         * manual/arith.texi (nextup): Fix typo in last change.
7179 2016-08-03  Zack Weinberg  <zackw@panix.com>
7181         [BZ #19239]
7182         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
7183         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
7184         define major, minor, and makedev to issue deprecation warnings on use.
7185         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
7186         previously-activated deprecation warnings for these macros and prevent
7187         subsequent inclusions of this header from having any effect.
7188         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
7189         including <sys/sysmacros.h>, and undefine it again afterward.
7191 2016-08-03  Zack Weinberg  <zackw@panix.com>
7193         * sysdeps/generic/sys/sysmacros.h: Delete file.
7194         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
7195         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
7196         * bits/sysmacros.h: ... here; this encoding is now the generic
7197         encoding.  Now defines only the following macros:
7198         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
7199         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
7200         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
7202         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
7203         bits/sysmacros.h and the above new macros to generate the
7204         public implementations of major, minor, and makedev.
7205         * misc/tst-makedev.c: New test.
7206         * include/sys/sysmacros.h: New wrapper.
7208         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
7209         (routines): Add makedev.
7210         (tests): Add tst-makedev.
7211         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
7212         gnu_dev_makedev.
7213         * posix/Makefile (headers): Remove sys/sysmacros.h.
7214         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
7216         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
7217         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
7218         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7219         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7220         * sysdeps/unix/sysv/linux/arm/libc.abilist
7221         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7222         * sysdeps/unix/sysv/linux/i386/libc.abilist
7223         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7224         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7225         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7226         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7227         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7228         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7229         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7230         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7231         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7236         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7237         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7238         * sysdeps/unix/sysv/linux/sh/libc.abilist
7239         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7240         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7243         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7244         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7245         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7246         Add GLIBC_2.25.
7248         * include/features.h (__glibc_clang_prereq): New macro.
7249         * misc/sys/cdefs.h (__glibc_clang_has_extension)
7250         (__attribute_deprecated_msg__): New macros.
7252 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7254         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
7255         macro.
7256         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
7257         * manual/arith.texi (issignaling): Document as ISO from TS
7258         18661-1:2014.
7259         (nextup): Likewise.
7260         (nextupf): Likewise.
7261         (nextupl): Likewise.
7262         (nextdown): Likewise.
7263         (nextdownf): Likewise.
7264         (nextdownl): Likewise.
7265         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
7266         macro.
7267         * math/math.h: Define
7268         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7269         <bits/libc-header-start.h> instead of including <features.h>.
7270         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
7271         [__USE_GNU].
7272         * math/bits/mathcalls.h (nextdown): Declare if
7273         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
7274         (nextup): Likewise.
7275         (__issignaling): Likewise.
7277 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7279         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
7280         check, and remove __glibc_likely hint
7281         from FP_INFINITE check.
7282         * s_csinhf.c (__csinhf): Likewise.
7284         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
7285         hint from FP_INFINITE check.
7286         * s_csinhl.c (__csinhl): Likewise.
7288 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7290         * math/Makefile (libm-calls): Insert F placeholder into
7291         object names.  Move w_lgamma_compat* routines into
7292         (libm-compat-calls): New variable.
7293         (libm-compat-calls-ldouble-yes): New variable.
7294         (calls): Insert F placeholder.
7295         (generated): Redefine using new type-foreach macro call.
7296         (routines): Likewise.
7298         (types): New variable to hold a list of symbolic names
7299         for each type supported by the target machine.
7300         (libm-routines): Redefine using new types variable.
7301         (type-foreach): macro to replace fooF with the
7302         appropriately suffixed foo for each types.
7304         (type-ldouble-suffix): New variable.
7305         (type-ldouble-routines): Likewise.
7306         (type-ldouble-yes): Likewise.
7307         (type-double-suffix): Likewise.
7308         (type-double-routines): Likewise.
7309         (type-float-suffix): Likewise.
7310         (type-float-routines): Likewise.
7312         (dbl-only-routines): Remove.
7313         (long-c-yes): Likewise.
7314         (long-m-routines): Likewise.
7315         (long-m-support): Likewise.
7316         (long-m-yes): Likewise.
7317         (test-longdouble-yes): Likewise.
7319         (test-float.o): Simplify by increasing the scope of the
7320         recipe which adds libm-test.stmp to the vector types.
7321         (test-ifloat.o): Likewise.
7322         (test-float-finite.o): Likewise.
7323         (test-double.o): Likewise
7324         (test-idouble.o): Likewise.
7325         (test-double-finite.o): Likewise.
7326         (test-ldouble.o): Likewise
7327         (test-ildoubl.o): Likewise.
7328         (test-ldouble-finite.o): Likewise.
7330         (libm-tests): Redefine type tests using foreach and the
7331         list of types in types.
7333         (CPPFLAGS-test-ildoubl.c): Rename to
7334         (CPPFLAGS-test-ildouble.c): New variable
7336         * math/test-ildoubl.c: Rename to
7337         * math/test-ildouble.c: New file.
7339 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7341         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
7342         Use fabsl instead of fabs.
7343         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
7344         Likewise.
7345         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
7346         Add long double suffix to constant to ensure proper
7347         promotion to long double.
7349 2016-08-03  Tom Tromey  <tom@tromey.com>
7351         [BZ #20311]
7352         * nptl_db/Makefile (headers): Add proc_service.h.
7353         * nptl_db/proc_service.h: Add include guard.  Use
7354         __BEGIN/__END_DECLS.
7355         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
7356         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
7357         arguments.
7360 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7362         [BZ #17730]
7363         Avoid using memalign for TCB allocations.
7364         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
7365         (_dl_allocate_tls_storage): Use malloc and manual alignment.
7366         Avoid alignment gap in the TLS_DTV_AT_TP case.
7367         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
7368         determine the pointer to free.
7369         * nptl/tst-tls3-malloc.c: New test.
7370         * nptl/Makefile (tests): Add it.
7371         (tst-tls3-malloc): Link with libdl, libpthread.
7372         (LDFLAGS-tst-tls3-malloc): Set.
7373         (tst-tls3-malloc.out): Depend on DSO used in test.
7375 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7377         [BZ #17730]
7378         Avoid using memalign for TLS allocations.
7379         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
7380         is_static member with to_free member.
7381         (union dtv): Use struct dtv_pointer.
7382         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
7383         dtv_pointer instead of is_static.
7384         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
7385         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
7386         instead of val.
7387         (allocate_dtv_entry): New function.
7388         (allocate_and_init): Return struct dtv_pointer.  Call
7389         allocate_dtv_entry instead of __libc_memalign.
7390         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
7391         instead of val.
7392         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
7393         instead of is_static.  Adjust call to allocate_and_init.
7394         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
7395         struct dtv_pointer instead of val.
7397 2016-08-03  Florian Weimer  <fweimer@redhat.com>
7399         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
7400         (MALLOC_ALIGN_MASK): Move ...
7401         * malloc/malloc-internal.h: ... to here.
7402         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
7404 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
7406         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
7407         (UDP_ENCAP_GTP1U): Likewise.
7409         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
7410         (PF_MAX): Update value.
7411         (AF_QIPCRTR): New macro.
7413 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7415         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
7416         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7417         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7418         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7419         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7420         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7421         s_truncf-vis3, s_trunc-vis3.
7422         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7423         (CFLAGS-s_ceil-vis3.c): Likewise.
7424         (CFLAGS-s_floorf-vis3.c): Likewise.
7425         (CFLAGS-s_floor-vis3.c): Likewise.
7426         (CFLAGS-s_truncf-vis3.c): Likewise.
7427         (CFLAGS-s_trunc-vis3.c): Likewise.
7428         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
7429         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
7430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
7431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
7432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
7433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
7434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
7435         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
7436         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
7437         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
7438         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
7439         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
7441 2016-08-02  David S. Miller  <davem@davemloft.net>
7443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7444         (__nearbyint_vis3): Don't check for sNaN before float register is
7445         loaded with the incoming argument.
7446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7447         (__nearbyintf_vis3): Likewise.
7448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
7449         Likewise.
7450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
7451         Likewise.
7453         * string/test-strncmp.c (do_test_limit): Make sure the test data
7454         stream is aligned as required for the type "CHAR".
7455         (do_test): Likewise.
7457 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
7459         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
7460         by beq instructions jumping to the end of the function.
7461         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
7462         clobber list. Use "i" constraint instead of "X".
7463         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
7464         of "X".
7466 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
7468         * bits/libc-header-start.h: New file.
7469         * Makefile (headers): Add bits/libc-header-start.h.
7470         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
7471         (__GLIBC_USE): New macro.
7472         * libio/stdio.h: Define
7473         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7474         <bits/libc-header-start.h> instead of including <features.h>.
7475         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
7476         (open_memstream): Likewise.
7477         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
7478         (__asprintf): Likewise.
7479         (asprintf): Likewise.
7480         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
7481         (getdelim): Likewise.
7482         (getline): Likewise.
7483         * string/string.h: Define
7484         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7485         <bits/libc-header-start.h> instead of including <features.h>.
7486         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
7487         (strndup): Likewise.
7488         * wcsmbs/wchar.h: Define
7489         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7490         <bits/libc-header-start.h> instead of including <features.h>.
7491         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
7492         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
7494 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7496         Support linking against compatibility symbols, for use in tests.
7497         * include/libc-symbols.h (symbol_version_reference): New macro.
7498         (symbol_version): Use it.
7499         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
7500         (compat_symbol): Use compat_symbol_reference.
7501         (compat_symbol_1, compat_symbol_2): Remove.
7502         (compat_symbol_reference, compat_symbol_reference_1)
7503         (compat_symbol_reference_2): New macro.  Use
7504         symbol_version_reference.
7506 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7508         [BZ #19469]
7509         * malloc/Makefile (CPPFLAGS): Compile tests with
7510         -DTEST_NO_MALLOPT.
7511         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
7513 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
7515         [BZ #20033]
7516         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
7517         finite version.
7518         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
7519         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
7520         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
7521         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
7522         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
7523         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
7524         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
7525         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
7526         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
7527         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
7528         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
7529         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
7530         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
7531         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
7532         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
7533         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
7534         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
7535         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
7536         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
7537         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
7538         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
7539         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
7540         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
7541         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
7542         in zero power.
7544 2016-08-02  Florian Weimer  <fweimer@redhat.com>
7546         [BZ #20370]
7547         * malloc/arena.c (get_free_list): Update comment.  Assert that
7548         arenas on the free list have no attached threads.
7549         (remove_from_free_list): New function.
7550         (reused_arena): Call it.
7552 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
7554         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
7555         when it is a NaN.
7556         [_IEEE_FP_INEXACT] Remove.
7557         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
7558         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
7559         when it is a NaN.
7560         [_IEEE_FP_INEXACT] Remove.
7561         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
7562         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
7563         when it is a NaN.
7564         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
7565         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
7566         when its absolute value is greater than 0x1.0p52.
7567         [_IEEE_FP_INEXACT] Remove.
7568         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
7569         when its absolute value is greater than 0x1.0p23.
7570         [_IEEE_FP_INEXACT] Remove.
7572 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
7574         * version.h (RELEASE): Set to "development"
7575         (VERSION): Set to 2.24.90.
7576         * NEWS: Add 2.25 section.
7578         * version.h (RELEASE): Set to "stable"
7579         (VERSION): Set to 2.24.
7580         * include/features.h (__GLIBC_MINOR__): Set to 24.
7582         * NEWS: Add 2.24 fixed bugs.
7583         * po/libc.pot: Regenerate.
7585 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
7587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7588         [$(subdir) = math] (libm-sysdep_routines): Remove.
7589         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7590         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
7591         s_truncf-vis3, s_trunc-vis3.
7592         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
7594         file.
7595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
7596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
7597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
7601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
7602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
7604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
7605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
7606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
7607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
7608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
7609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
7610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
7614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
7615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
7616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
7617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7619         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
7620         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7621         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7622         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
7623         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7624         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7625         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
7626         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7627         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7628         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
7629         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
7630         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
7631         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
7632         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7633         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7634         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
7635         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
7636         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
7637         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
7639 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
7641         [BZ #20384]
7642         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
7643         test-double-libmvec-sincos-avx-main.o,
7644         test-double-libmvec-sincos-avx2-main.o,
7645         test-double-libmvec-sincos-main.o,
7646         test-float-libmvec-sincosf-avx-main.o,
7647         test-float-libmvec-sincosf-avx2-main.o and
7648         test-float-libmvec-sincosf-main.o.
7649         test-float-libmvec-sincosf-avx512-main.o.
7650         ($(objpfx)test-double-libmvec-sincos): Also link with
7651         $(objpfx)test-double-libmvec-sincos-main.o.
7652         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
7653         $(objpfx)test-double-libmvec-sincos-avx-main.o.
7654         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
7655         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
7656         ($(objpfx)test-float-libmvec-sincosf): Also link with
7657         $(objpfx)test-float-libmvec-sincosf-main.o.
7658         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
7659         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
7660         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
7661         test-double-libmvec-sincos-avx512-main.o and
7662         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
7663         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
7664         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
7665         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
7666         (CFLAGS-test-double-libmvec-sincos.c): Removed.
7667         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
7668         (CFLAGS-test-double-libmvec-sincos-main.c): New.
7669         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
7670         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
7671         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
7672         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
7673         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
7674         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
7675         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
7676         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
7677         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
7678         -DREQUIRE_AVX2.
7679         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
7680         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
7681         -DREQUIRE_AVX512F.
7682         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
7683         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
7684         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
7685         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
7686         file.
7687         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
7688         Likewise.
7689         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
7690         Likewise.
7691         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
7692         Likewise.
7693         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
7694         Likewise.
7695         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
7696         Likewise.
7697         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
7698         Likewise.
7699         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
7700         Likewise.
7702 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
7704         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
7706 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
7708         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
7709         and typo in a comment about AT_HWCAP entry.
7711 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7713         * sysdeps/aarch64/libm-test-ulps: Updated.
7715 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7717         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
7718         of r13 as it is not restored in mvcle case.
7720 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
7722         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
7723         Rename "ret" to "__ret".
7724         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
7725         inline_syscall5, inline_syscall6): Likewise.
7727 2016-07-19   Will Newton  <will.newton@gmail.com>
7729         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
7730         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
7731         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
7732         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
7733         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
7735 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
7737         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
7738         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
7739         -mfpmath=387 with $(rtld-CFLAGS).
7740         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
7741         $(rtld-CFLAGS).
7743 2016-07-18   Ross Burton  <ross.burton@intel.com>
7744              Khem Raj  <raj.khem@gmail.com>
7746         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
7747         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
7748         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
7749         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
7750         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
7751         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
7752         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
7753         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
7754         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
7755         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
7756         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
7757         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
7758         R_METAG_TLS_DTPOFF): New.
7760 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7761             Matt Clay  <mclay@lycos.com>
7763         [BZ #20357]
7764         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
7765         to call __mpsin/__mpcos and to negate values.
7766         * math/auto-libm-test-in: Add test.
7767         * math/auto-libm-test-out: Regenerate.
7769 2016-07-18  Zack Weinberg  <zackw@panix.com>
7771         * grp/Makefile: Don't install the internal header grp-merge.h.
7773 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7775         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7777 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7779         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
7781 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7783         [BZ #15368]
7784         * sysdeps/unix/sysv/linux/nptl-signals.h
7785         (__nptl_clear_internal_signals): New function.
7786         (__libc_signal_block_all): Likewise.
7787         (__libc_signal_block_app): Likewise.
7788         (__libc_signal_restore_set): Likewise.
7789         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
7790         implementation.
7791         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
7792         the cached pid/tid value in pthread structure.
7794 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
7796         [BZ #20347]
7797         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
7799 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7801         [BZ #20348]
7802         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
7803         preadv64, pwrite64 and pwritev64.
7805 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7807         [BZ #20350]
7808         * posix/tst-preadwrite.c: Renamed to ...
7809         * posix/tst-preadwrite-common.c: This.
7810         (PREAD): Removed.
7811         (PWRITE): Likewise.
7812         (STRINGIFY): Likewise.
7813         (STRINGIFY2): Likewise.
7814         (do_prepare): Make it static and remove function arguments.
7815         (do_test): Likewise.
7816         (PREPARE): Updated.
7817         (TEST_FUNCTION): New.
7818         (name): Make it static.
7819         (fd): Likewise.
7820         (do_prepare): Use create_temp_file.
7821         (do_test): Renamed to ...
7822         (do_test_with_offset): This.  Make it static and accept offset.
7823         Properly check return value of PWRITE and PREAD.  Return bytes
7824         read.  Don't close fd nor unlink name.
7825         * posix/tst-preadwrite.c: Rewrite.
7826         * posix/tst-preadwrite64.c: Likewise.
7828 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
7830         [BZ #20309]
7831         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
7832         -mtls-dialect=gnu2 works.
7833         * configure: Regenerated.
7834         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
7835         (tests): Add tst-gnu2-tls1.
7836         (modules-names): Add tst-gnu2-tls1mod.
7837         ($(objpfx)tst-gnu2-tls1): New.
7838         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
7839         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
7840         * elf/tst-gnu2-tls1.c: New file.
7841         * elf/tst-gnu2-tls1mod.c: Likewise.
7842         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
7843         bytes for push in the PLT entry to align the stack.
7845 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
7847         [BZ #20349]
7848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
7850 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7852         [BZ #18707]
7853         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
7854         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
7856 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7858         * sysdeps/unix/sysv/linux/sysdep.h
7859         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
7860         guards.
7861         * misc/tst-preadvwritev-common.c: New file.
7862         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
7863         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
7864         a check for files larger than 2GB.
7866         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7867         (__ASSUME_OFF_DIFF_OFF64): Remove define.
7868         * sysdeps/unix/sysv/linux/pread.c
7869         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
7870         __OFF_T_MATCHES_OFF64_T.
7871         * sysdeps/unix/sysv/linux/pread64.c
7872         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
7873         * sysdeps/unix/sysv/linux/preadv.c
7874         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
7875         * sysdeps/unix/sysv/linux/preadv64.c
7876         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
7877         * sysdeps/unix/sysv/linux/pwrite.c
7878         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
7879         * sysdeps/unix/sysv/linux/pwrite64.c
7880         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
7881         * sysdeps/unix/sysv/linux/pwritev.c
7882         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
7883         * sysdeps/unix/sysv/linux/pwritev64.c
7884         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
7886 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
7888         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7889         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
7891 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7893         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
7895 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
7897         [BZ #20240]
7898         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
7899         (CFLAGS-s_modf-ppc32.c): New variable.
7900         (CFLAGS-s_modff-ppc32.c): Likewise.
7901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
7902         (CFLAGS-s_modf-ppc64.c): Likewise.
7903         (CFLAGS-s_modff-ppc64.c): Likewise.
7905 2016-07-07  Andreas Schwab  <schwab@suse.de>
7907         [BZ #20263]
7908         * nptl/tst-robust10.c: New test.
7909         * nptl/Makefile (tests): Add tst-robust10.
7911 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
7913         [BZ #20263]
7914         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
7916 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7918         * sysdeps/s390/linkmap.h (struct link_map_machine):
7919         Remove member gotplt and add member jmprel.
7920         * sysdeps/s390/s390-32/dl-machine.h
7921         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
7922         instead of gotplt with &got[3].
7923         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
7924         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7926 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
7928         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
7930 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7932         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
7933         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
7934         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7935         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
7936         * libio/vtables.c (_IO_vtable_check)
7937         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
7938         * libio/libioP.h (IO_set_accept_foreign_vtables)
7939         [!PTR_MANGLE]: Do not call PTR_MANGLE.
7941 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
7943         [BZ #20314]
7944         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
7945         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
7946         $(common-objpfx)cmath.
7947         ($(common-objpfx)cstdlib): New target.
7948         ($(common-objpfx)cmath): Likewise.
7950 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
7952         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
7954 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7956         [BZ #20327]
7957         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
7958         are not part of the string.
7960 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7962         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
7963         * nptl/tst-cancel4-common.h (fifoname): New variable.
7964         (fifofd): Likewise.
7965         (cl_fifo): New function.
7966         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
7967         SIGINT.
7968         (tf_open): Add early cancel test.
7970 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
7972         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
7974 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
7976         * sysdeps/generic/ldsodefs.h
7977         (dl_symbol_visibility_binds_local_p): New inline function.
7978         * elf/dl-addr.c (determine_info): Treat hidden and internal
7979         symbols as local.
7980         * elf/dl-lookup.c (do_lookup_x): Likewise.
7981         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
7983 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
7985         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
7986         invalid exception for a sNaN input.
7987         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7988         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
7989         (__nearbyint_vis3): Likewise
7990         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
7991         (__nearbyintf_vis3): Likewise
7992         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
7993         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
7994         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
7995         Likewise.
7996         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
7997         Likewise.
7999 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8001         [BZ #20139]
8002         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8003         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8004         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8005         2.24 or above.
8006         (HAVE_AVX512_ASM_SUPPORT): Removed.
8007         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8008         * sysdeps/x86_64/configure: Regenerated.
8009         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8010         check unconditional.
8011         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8012         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8013         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8014         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8015         Likewise.
8016         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8017         Likewise.
8018         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8019         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8020         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8021         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8022         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8023         Likewise.
8024         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8025         Likewise.
8026         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8027         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8028         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8029         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8030         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8031         Likewise.
8032         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8033         Likewise.
8034         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8035         Likewise.
8036         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8037         Likewise.
8038         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8039         Likewise.
8040         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8041         Likewise.
8042         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8043         Likewise.
8044         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8045         Likewise.
8046         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8047         Likewise.
8048         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8049         Likewise.
8050         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8051         Likewise.
8053 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8055         [BZ #20024]
8056         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8057         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8058         of this implementation of vector function.
8059         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8060         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8061         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8062         Likewise.
8063         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8064         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8065         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8066         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8067         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8068         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8069         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8070         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8071         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8072         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8073         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8074         for testing vector sincos with fixed ABI.
8075         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8076         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8077         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8078         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8079         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8080         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8081         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8082         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8083         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8084         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8085         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8086         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8087         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8088         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8089         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8090         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8092 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8094         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8096 2016-06-30  Anton Blanchard  <anton@samba.org>
8098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8099         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8100         s_sinf-ppc64.
8101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8104         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8106 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8110         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8111         e_expf-ppc64.
8112         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8113         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8114         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8115         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8117 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8119         [BZ #20277]
8120         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8121         when SHARED is defined.
8123 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8125         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8126         (index_arch_Prefer_ERMS): Likewise.
8127         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8128         __memcpy_erms for Prefer_ERMS.
8129         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8130         (__memmove_erms): Enabled for libc.a.
8131         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8132         __memmove_erms or Prefer_ERMS.
8133         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8134         __mempcpy_erms for Prefer_ERMS.
8135         * sysdeps/x86_64/multiarch/memset.S (memset): Return
8136         __memset_erms for Prefer_ERMS.
8138 2016-06-30  Andreas Schwab  <schwab@suse.de>
8140         [BZ #20262]
8141         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
8142         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
8143         of memory.
8145 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
8147         [BZ #18645]
8148         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
8149         (test-extras): Add tst-cleanupx4aux.
8150         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
8151         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
8152         tst-cleanupx4aux.o.
8153         * nptl/tst-cleanupx4aux.c: New file.
8155 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8157         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8159 2016-06-29  Andreas Schwab  <schwab@suse.de>
8161         [BZ #20260]
8162         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
8163         address before the beginning of the string as an integer to avoid
8164         array-bounds warning.
8166 2016-06-28  Richard Henderson  <rth@redhat.com>
8168         * elf/elf.h (EM_BPF): New.
8169         (EM_NUM): Update.
8170         (R_BPF_NONE, R_BPF_MAP_FD): New.
8172         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
8173         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
8174         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
8175         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
8176         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
8177         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
8178         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
8179         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
8180         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
8181         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
8182         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
8183         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
8184         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
8185         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
8186         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
8187         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
8188         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
8189         (EM_NUM): Update.
8191 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
8193         [BZ #18960]
8194         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
8195         Set _nl_current_LC_CATEGORY_used to two instead of one.
8197 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
8199         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
8200         (do_test): ... this.
8201         (TEST_FUNCTION): New macro.
8202          Include test-skeleton.c.
8203         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
8204         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
8206 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
8208         [BZ #15479]
8209         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
8210         floating-point environment rather than just control word.
8211         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8212         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
8213         floating-point environment, with "invalid" exceptions merged in,
8214         rather than just control word.
8215         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
8216         * math/libm-test.inc (trunc_test_data): Do not allow spurious
8217         "inexact" exceptions.
8219         [BZ #15479]
8220         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
8221         floating-point environment rather than just control word.
8222         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8223         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
8224         floating-point environment, with "invalid" exceptions merged in,
8225         rather than just control word.
8226         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
8227         * math/libm-test.inc (floor_test_data): Do not allow spurious
8228         "inexact" exceptions.
8230         [BZ #15479]
8231         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
8232         floating-point environment rather than just control word.
8233         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8234         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
8235         floating-point environment, with "invalid" exceptions merged in,
8236         rather than just control word.
8237         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
8238         * math/libm-test.inc (ceil_test_data): Do not allow spurious
8239         "inexact" exceptions.
8241 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
8243         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
8244         __libc_vfork.
8245         (__vfork) [IS_IN (libc)]: Remove alias.
8246         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
8247         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8248         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8250 2016-06-24  Torvald Riegel  <triegel@redhat.com>
8252         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
8253         of atomic_compare_and_exchange_bool_rel.
8254         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8255         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
8256         catomic_compare_and_exchange_bool_rel): Remove.
8257         * sysdeps/aarch64/atomic-machine.h
8258         (atomic_compare_and_exchange_bool_rel): Likewise.
8259         * sysdeps/alpha/atomic-machine.h
8260         (atomic_compare_and_exchange_bool_rel): Likewise.
8261         * sysdeps/arm/atomic-machine.h
8262         (atomic_compare_and_exchange_bool_rel): Likewise.
8263         * sysdeps/mips/atomic-machine.h
8264         (atomic_compare_and_exchange_bool_rel): Likewise.
8265         * sysdeps/microblaze/atomic-machine.h
8266         ( __arch_compare_and_exchange_bool_8_rel,
8267         __arch_compare_and_exchange_bool_16_rel): Likewise.
8268         * sysdeps/powerpc/atomic-machine.h
8269         ( __arch_compare_and_exchange_bool_8_rel,
8270         __arch_compare_and_exchange_bool_16_rel): Likewise.
8271         * sysdeps/powerpc/powerpc32/atomic-machine.h
8272         ( __arch_compare_and_exchange_bool_32_rel,
8273         __arch_compare_and_exchange_bool_64_rel): Likewise.
8274         * sysdeps/powerpc/powerpc64/atomic-machine.h
8275         ( __arch_compare_and_exchange_bool_32_rel,
8276         __arch_compare_and_exchange_bool_64_rel): Likewise.
8277         * sysdeps/tile/atomic-machine.h
8278         (atomic_compare_and_exchange_bool_rel): Likewise.
8280 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
8282         [BZ #20296]
8283         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
8284         when either argument is a NaN.
8285         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8286         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
8288         * math/libm-test.inc (snan_value_ld): New macro.
8289         (isgreater_test_data): Add sNaN tests.
8290         (isgreaterequal_test_data): Likewise.
8291         (isless_test_data): Likewise.
8292         (islessequal_test_data): Likewise.
8293         (islessgreater_test_data): Likewise.
8294         (isunordered_test_data): Likewise.
8295         (nextafter_test_data): Likewise.
8296         (nexttoward_test_data): Likewise.
8297         (remainder_test_data): Likewise.
8298         (remquo_test_data): Likewise.
8299         (significand_test_data): Likewise.
8300         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
8302 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8304         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
8305         environment macros are defined.
8306         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
8308 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8310         [BZ #20191]
8311         Implement vtable verification in libio.
8312         * Makerules (shlib.lds): Place __libc_IO_vtables section.
8313         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
8314         * debug/vdprintf_chk.c (__vdprintf_chk): Call
8315         _IO_new_file_init_internal instead of _IO_file_init.
8316         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
8317         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
8318         * libio/Makefile (routines): Add vtables.
8319         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
8320         (_IO_init): Remove, not for internal use.
8321         (_IO_init_internal): Declare, internal replacement for _IO_init.
8322         (_IO_file_init): Remove, not for internal use.
8323         (_IO_new_file_init): Remove, not for internal use.
8324         (_IO_new_file_init_internal): Declare, internal replacement for
8325         _IO_new_file_init.
8326         (_IO_old_file_init): Remove, not for internal use.
8327         (_IO_old_file_init_internal): Declare, internal replacement for
8328         _IO_old_file_init.
8329         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
8330         internal use.
8331         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
8332         Declare.
8333         (libio_vtable): New macro.
8334         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
8335         functions.
8336         * libio/fileops.c (_IO_new_file_init_internal): Rename from
8337         _IO_new_file_init.
8338         (_IO_new_file_init): New externally visible wrapper which disables
8339         vtable verification.
8340         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
8341         Define as vtables.
8342         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
8343         (_IO_init): New externally visible wrapper which disables
8344         vtable verification.
8345         * libio/iofdopen.c (_IO_new_fdopen): Call
8346         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
8347         comment.
8348         * libio/iofopen.c (__fopen_internal): Call
8349         _IO_new_file_init_internal instead of _IO_file_init.
8350         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
8351         Define as vtables.
8352         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
8353         _IO_new_file_init_internal instead of _IO_file_init.
8354         * libio/iopopen.c (_IO_new_popen): Likewise.
8355         (_IO_proc_jumps): Define as vtable.
8356         * libio/iovdprintf.c (_IO_vdprintf): Call
8357         _IO_new_file_init_internal instead of _IO_file_init.
8358         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
8359         (__open_memstream): Call _IO_init_internal instead of _IO_init.
8360         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
8361         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
8362         _IO_old_file_init.
8363         (_IO_old_file_init): New externally visible wrapper which disables
8364         vtable verification.
8365         (_IO_old_file_jumps): Define as vtable.
8366         * libio/oldiofdopen.c (_IO_old_fdopen): Call
8367         _IO_old_file_init_internal instead of _IO_old_file_init.
8368         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
8369         * libio/oldiopopen.c (_IO_old_popen): Likewise.
8370         (_IO_old_proc_jumps): Define as vtable.
8371         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
8372         Define as vtables.
8373         * libio/vtables.c: New file.
8374         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
8375         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
8376         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
8377         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
8378         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
8379         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
8380         instead of _IO_init.
8382 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8384         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
8386 2016-06-23  Florian Weimer  <fweimer@redhat.com>
8388         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
8389         potentially unused.
8391 2016-06-22  Florian Weimer  <fweimer@redhat.com>
8393         * test-skeleton.c (write_message): New function.
8394         * malloc/tst-mallocfork2.c (write_message): Remove.
8395         * debug/tst-longjmp_chk2.c (write_indented): New function.
8396         (write_message): Remove.
8397         (stackoverflow_handler): Call write_indented.
8399 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
8401         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
8402         "inexact" exceptions after fnstenv.
8403         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8404         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8405         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
8407 2015-06-22  Zack Weinberg  <zackw@panix.com>
8409         * sysdeps/generic/bits/hwcap.h: Moved to ...
8410         * bits/hwcap.h: Here.
8412 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
8414         * sysdeps/aarch64/memcpy.S (memcpy):
8415         Further tuning for performance.
8417 2016-06-21  Florian Weimer  <fweimer@redhat.com>
8419         [BZ #20284]
8420         * malloc/arena.c (reused_arena): Do not return NULL if we start
8421         out with a non-corrupted arena.
8423 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8425         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
8426         * misc/tst-preadvwritev.c: New file.
8427         * misc/tst-preadvwritev64.c: Likewise.
8428         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
8429         usage.
8430         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
8431         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
8432         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
8433         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
8435 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
8437         [BZ #19654]
8438         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8439         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
8440         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
8441         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
8442         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
8443         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
8444         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
8445         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
8446         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
8447         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
8448         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
8449         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
8450         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
8451         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
8452         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
8453         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
8454         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
8455         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
8456         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
8457         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
8458         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
8459         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
8460         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
8461         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
8462         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
8463         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
8465 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8467         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
8468         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
8470 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
8472         * sysdeps/aarch64/memcpy.S (memcpy):
8473         Rewrite of optimized memcpy and memmove.
8474         * sysdeps/aarch64/memmove.S (memmove): Remove
8475         memmove code (merged into memcpy.S).
8477 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8479         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
8480         * sysdeps/generic/dl-dtv.h: New file.
8481         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8482         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
8483         (dtv_t): Remove.
8484         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8485         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
8486         (dtv_t): Remove.
8487         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8488         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
8489         (dtv_t): Remove.
8490         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8491         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
8492         (dtv_t): Remove.
8493         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8494         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
8495         (dtv_t): Remove.
8496         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8497         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
8498         (dtv_t): Remove.
8499         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8500         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
8501         (dtv_t): Remove.
8502         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
8503         (dtv_t): Remove.
8504         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8505         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
8506         (dtv_t): Remove.
8507         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8508         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
8509         (dtv_t): Remove.
8510         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8511         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
8512         (dtv_t): Remove.
8513         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8514         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
8515         (dtv_t): Remove.
8516         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8517         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
8518         (dtv_t): Remove.
8519         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8520         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
8521         (dtv_t): Remove.
8522         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8523         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
8524         (dtv_t): Remove.
8525         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
8526         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
8527         (dtv_t): Remove.
8529 2016-06-20  Florian Weimer  <fweimer@redhat.com>
8531         Revert symbol poisoning of  __malloc_initialize_hook.
8532         * include/stdc-predef.h (__malloc_initialize_hook): Remove
8533         poisoning.
8534         * malloc/Makefile: Remove un-poisoning.
8535         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
8536         instead of old__malloc_initialize_hook.
8537         * malloc/malloc-hooks.h: Likewise.
8538         * malloc/malloc.c: Likewise.
8539         * malloc/mcheck-init.c: Likewise.
8541 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
8543         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
8545 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
8547         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
8548         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
8549         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8550         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8552 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8554         * NEWS: Mention addition of nextup and nextdown.
8555         * manual/arith.texi: Document nextup and nextdown.
8556         * manual/libm-err-tab.pl: Add nextup and nextdown.
8557         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
8558         * math/Versions (libm): Add GLIBC_2.24.
8559         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
8560         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
8561         Add new test.
8562         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
8563         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
8564         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
8565         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
8566         (nextup_test_data): Likewise.
8567         (nextdown_test_data): Likewise.
8568         * math/s_nextdown.c: New file.
8569         * math/s_nextdownf.c: Likewise.
8570         * math/s_nextdownl.c: Likewise.
8571         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
8572         F(nextup): New function.
8573         F(nextdown): Likewise.
8574         * math/tgmath.h: Add nextup and nextdown.
8575         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
8576         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
8577         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
8578         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
8579         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
8580         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
8581         Add nextup and nextdown.
8582         (CFLAGS-nldbl-nextup.c): New variable.
8583         (CFLAGS-nldbl-nextdown.c): Likewise.
8584         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
8585         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
8586         * sysdeps/nacl/libm.abilist: Update.
8587         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8588         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8589         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8590         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8591         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8592         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8593         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8594         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8595         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8596         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8597         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8598         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
8600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8601         Likewise.
8602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
8603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
8604         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8605         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8606         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8607         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8608         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
8610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
8611         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8612         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8613         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
8614         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8616 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8618         * manual/pattern.texi: Fix typos & grammar errors.
8620 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8622         * manual/search.texi: Fix typos & grammar errors.
8624 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8626         * manual/message.texi: Fix typos & grammar errors.
8628 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
8630         * manual/contrib.texi: Fix spelling typos.
8631         * manual/crypt.texi: Likewise.
8632         * manual/filesys.texi: Likewise.
8633         * manual/locale.texi: Likewise.
8634         * manual/message.texi: Likewise.
8635         * manual/nss.texi: Likewise.
8636         * manual/string.texi: Likewise.
8638 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8640         * manual/locale.texi: Fix typos & grammar errors.
8642 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8644         * manual/charset.texi: Fix typos & grammar errors.
8646 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8648         * manual/string.texi: Fix typos.
8650 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8652         * manual/ctype.texi: Fix typos.
8654 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
8656         * manual/memory.texi: Fix various typos & grammar errors.
8658 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
8660         [BZ #20255]
8661         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
8662         * math/libm-test.inc (fdim_test_data): Add another test.
8664         [BZ #6796]
8665         [BZ #20255]
8666         [BZ #20256]
8667         * math/s_fdim.c: Include <math_private.h>.
8668         (__fdim): Use math_narrow_eval on result.
8669         * math/s_fdimf.c: Include <math_private.h>.
8670         (__fdimf): Use math_narrow_eval on result.
8671         * sysdeps/i386/fpu/s_fdim.S: Remove file.
8672         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
8673         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
8674         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
8675         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
8676         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
8677         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
8678         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
8679         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
8680         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
8681         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
8682         * math/libm-test.inc (fdim_test_data): Expect errno setting on
8683         overflow.  Add sNaN tests.
8685         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
8686         fpclassify.
8687         * math/s_fdimf.c (__fdimf): Likewise.
8688         * math/s_fdiml.c (__fdiml): Likewise.
8690 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8692         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8693         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
8694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8695         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
8696         ifunc'ed strcasecmp/strncasecmp.
8697         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
8698         [EALIGN]: Removed.
8699         [END]: Likewise.
8700         [__strcasecmp]: Define instead of the above to control symbol name.
8701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
8702         for __strcasecmp_power8.
8703         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
8704         for __strncasecmp_power8.
8705         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
8706         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
8707         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
8708         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
8709         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
8710         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
8712 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
8714         [BZ #20252]
8715         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
8716         arguments when second argument is a NaN.
8717         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
8718         qNaN tests.
8720         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
8721         (conj_test_data): Likewise.
8722         (copysign_test_data): Likewise.
8723         (creal_test_data): Likewise.
8724         (fma_test_data): Likewise.
8725         (fmod_test_data): Likewise.
8727         [BZ #20250]
8728         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
8729         itself.
8730         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
8731         zero input to itself.
8732         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
8733         Likewise.
8734         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
8735         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
8736         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8737         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
8738         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
8740 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8742         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
8743         * nptl/tst-cancel4-common.c: New file.
8744         * nptl/tst-cancel4-common.h: Likewise.
8745         * nptl/tst-cancel4.c: Move common definitions to
8746         tst-cancel4-common.{c,h} file.
8747         * nptl/tst-cancel4_1.c: New test.
8748         * nptl/tst-cancel4_2.c: New test.
8750 2016-06-13  Florian Weimer  <fweimer@redhat.com>
8752         [BZ #20248]
8753         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
8754         (write_message): New function.
8755         (stackoverflow_handler): Call it instead of printf, to avoid
8756         excessive stack usage by printf.
8757         (do_test): Restore SIGSEGV, SIGBUS default handlers.
8759 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8761         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
8762         (prio_inherit_missing): Remove define.
8763         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8764         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8765         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
8766         Likewise.
8767         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8768         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8769         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8770         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8771         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8772         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8774 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
8776         [BZ #19670]
8777         [BZ #19672]
8779         * io/test-lfs.c (do_prepare): Use xmalloc.
8780         * io/tst-fcntl.c (do_prepare): Likewise.
8781         * libio/tst-fopenloc.c (do_bz17916): Likewise.
8782         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
8783         * login/tst-utmp.c (do_prepare): Likewise.
8784         * posix/tst-exec.c (do_prepare): Likewise.
8785         * posix/tst-pathconf.c (prepare): Likewise.
8786         * posix/tst-spawn.c (do_prepare): Likewise.
8787         * posix/tst-truncate.c (do_prepare): Likewise.
8788         * rt/tst-aio.c (do_prepare): Likewise.
8789         * rt/tst-aio64.c (do_prepare): Likewise.
8791 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8793         [BZ #20237]
8794         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
8795         (get*ent): Set entidx to NULL during initialization.  If entidx is
8796         NULL, start iteration from the beginning.
8798 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8800         * malloc/malloc.c (musable): Return correct size for dumped fake
8801         mmapped chunk.
8803 2016-06-11  Florian Weimer  <fweimer@redhat.com>
8805         [BZ #20222]
8806         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
8807         (_IO_cookie_write): Likewise.
8808         (_IO_cookie_seek): Likewise.
8809         (_IO_cookie_close): Likewise.
8810         (_IO_old_cookie_seek): Likewise.
8811         (set_callbacks): New function.
8812         (_IO_cookie_init): Call set_callbacks to copy callbacks.
8814 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
8816         * locale/programs/localedef.c (oldstyle_tables): Remove.
8817         * locale/programs/localedef.h (oldstyle_tables): Likewise.
8819 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
8821         [BZ #20240]
8822         * math/Makefile (CFLAGS-s_modf.c): New variable.
8823         (CFLAGS-s_modff.c): Likewise.
8824         (CFLAGS-s_modfl.c): Likewise.
8825         * math/libm-test.inc (modf_test_data): Add sNaN tests.
8827 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
8829         [BZ #20215]
8830         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
8831         [!__GNUC_PREREQ (3,2)]: Likewise.
8833 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8835         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
8836         (msghdr.msg_controllen): Likewise.
8837         (cmsghdr.cmsg_len): Likewise.
8838         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
8839         ptw-oldsendmsg.
8840         (CFLAGS-oldrecvmsg.c): Remove rule.
8841         (CFLAGS-oldsendmsg.c): Likewise.
8842         (CFLAGS-recvmsg.c): Add rule.
8843         (CFLAGS-sendmsg.c): Likewise.
8844         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
8845         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
8846         (CFLAGS-recvmsg.c): Remove rule.
8847         (CFLAGS-sendmsg.c): Likewise.
8848         (CFLAGS-oldrecvmsg.c): Likewise.
8849         (CFLAGS-oldsendmsg.c): Likewise.
8850         (CFLAGS-recvmmsg.c): Likewise.
8851         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
8852         to kernel defined interfaces.
8853         (msghdr.msg_controllen): Likewise.
8854         (cmsghdr.cmsg_len): Likewise.
8855         (msghdr.__glibc_reserved1): Remove member.
8856         (msghdr.__glibc_reserved2): Likewise.
8857         (cmsghdr.__glibc_reserved1): Likewise.
8858         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
8859         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
8860         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
8861         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
8862         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
8863         version.
8864         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
8865         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
8866         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
8867         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
8868         Remove recvmsg and sendmsg.
8869         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
8870         Likewise.
8871         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
8872         Likewise.
8873         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
8874         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
8875         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
8876         Likewise.
8877         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
8878         Likewise.
8879         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
8880         [libc] (GLIBC_2.24): Likewise.
8881         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
8882         Likewise.
8883         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
8884         Likewise.
8885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8886         [libc] (GLIBC_2.24): Likewise.
8887         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
8888         Likewise.
8889         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
8890         Likewise.
8891         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
8892         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
8893         Likewise.
8894         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
8895         Likewise.
8896         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
8897         Likewise.
8898         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
8899         Likewise.
8900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
8901         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
8902         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
8903         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
8904         version for {recv,send,recm,sendm}msg.
8905         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8906         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8907         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8908         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8909         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8910         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8911         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8912         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8913         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8914         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8915         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8916         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8918         Likewise.
8919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8920         Likewise.
8921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8923         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8924         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8925         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8926         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8927         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8928         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8929         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8930         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8931         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8932         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8933         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8935 2016-06-10  Florian Weimer  <fweimer@redhat.com>
8937         [BZ #19564]
8938         Remove __malloc_initialize_hook from the API.
8939         * malloc/malloc.h (__malloc_initialize_hook): Remove.
8940         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
8941         #pragma GCC poison.
8942         * malloc/malloc-hooks.h: New file.
8943         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
8944         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
8945         (old__malloc_initialize_hook): Rename from
8946         __malloc_initialize_hook to evade poisoning.  Turn into compat
8947         symbol.
8948         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
8949         __malloc_initialize_hook.
8950         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
8951         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
8952         * manual/memory.texi (Hooks for Malloc): Remove
8953         __malloc_initialize_hook.  Adjust hook example.
8955 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
8957         [BZ #20235]
8958         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
8959         itself.
8960         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8961         * math/libm-test.inc (log2_test_data): Add sNaN tests.
8963         [BZ #20234]
8964         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
8965         infinity or NaN input to itself.
8967         [BZ #20233]
8968         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
8969         to itself.
8971         [BZ #20232]
8972         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
8973         itself.
8975 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8977         * sysdeps/x86_64/start.S (_start): Always indirect branch to
8978         __libc_start_main via GOT.
8980 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
8982         * sysdeps/x86_64/memcopy.h: New file.
8983         * sysdeps/x86_64/wordcopy.c: Likewise.
8985 2016-06-09  Florian Weimer  <fweimer@redhat.com>
8987         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
8988         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
8989         <cstdlib>.
8990         (optimization_barrier): New.
8991         (do_test): Use it.  Call quick_exit in the global namespace.
8992         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
8993         instead of <cstdlib>, <thread>.
8994         (optimization_barrier): New.
8995         (non_main_thread): Adjust declaration.  Call optimization_barrier.
8996         Call quick_exit in the global namespace.
8997         (do_test): Call optimization_barrier.  Use pthread_create,
8998         pthread_join instead of std::thread.
9000 2016-06-09  Andreas Schwab  <schwab@suse.de>
9002         [BZ #19755]
9003         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9004         new entries in auto-propagate mode.
9005         * nscd/grpcache.c (cache_addgr): Likewise.
9007 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9009         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9010         New functions.
9011         (add_temp_file): Use them.
9013 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9015         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9017 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9019         [BZ #20229]
9020         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9021         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9022         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9024         [BZ #20228]
9025         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9026         itself.
9027         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9028         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9030         [BZ #20227]
9031         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9032         itself.
9033         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9034         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9035         * math/libm-test.inc (log_test_data): Add sNaN tests.
9037         [BZ #20226]
9038         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9039         itself.
9040         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9041         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9042         (exp10_test_data): Likewise.
9043         (expm1_test_data): Likewise.
9045         [BZ #20225]
9046         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9047         itself.
9048         * math/s_ldexpf.c (__ldexpf): Likewise.
9049         * math/s_ldexpl.c (__ldexpl): Likewise.
9050         * math/w_scalbln.c (__w_scalbln): Likewise.
9051         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9052         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9053         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9054         (scalbln_test_data): Likewise.
9056         [BZ #20224]
9057         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9058         argument to itself.
9059         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9061 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9063         [BZ #19776]
9064         * sysdeps/x86_64/memcpy.S: Make it dummy.
9065         * sysdeps/x86_64/mempcpy.S: Likewise.
9066         * sysdeps/x86_64/memmove.S: New file.
9067         * sysdeps/x86_64/memmove_chk.S: Likewise.
9068         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9069         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9070         * sysdeps/x86_64/memmove.c: Removed.
9071         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9072         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9073         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9074         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9075         Likewise.
9076         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9077         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9078         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9079         memcpy-sse2-unaligned, memmove-avx-unaligned,
9080         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9082         (__libc_ifunc_impl_list): Replace
9083         __memmove_chk_avx512_unaligned_2 with
9084         __memmove_chk_avx512_unaligned.  Remove
9085         __memmove_chk_avx_unaligned_2.  Replace
9086         __memmove_chk_sse2_unaligned_2 with
9087         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9088         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9089         with __memmove_avx512_unaligned.  Replace
9090         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9091         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9092         with __memcpy_chk_avx512_unaligned.  Remove
9093         __memcpy_chk_avx_unaligned_2.  Replace
9094         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9095         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9096         Replace __memcpy_avx512_unaligned_2 with
9097         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9098         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9099         with __mempcpy_chk_avx512_unaligned.  Remove
9100         __mempcpy_chk_avx_unaligned_2.  Replace
9101         __mempcpy_chk_sse2_unaligned_2 with
9102         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9103         Replace __mempcpy_avx512_unaligned_2 with
9104         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9105         Replace __mempcpy_sse2_unaligned_2 with
9106         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9107         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9108         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9109         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9110         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9111         (ENTRY): Removed.
9112         (END): Likewise.
9113         (ENTRY_CHK): Likewise.
9114         (libc_hidden_builtin_def): Likewise.
9115         Don't include ../memcpy.S.
9116         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9117         __memcpy_chk_avx512_unaligned_erms and
9118         __memcpy_chk_avx512_unaligned.  Use
9119         __memcpy_chk_avx_unaligned_erms and
9120         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9121         Default to __memcpy_chk_sse2_unaligned.
9122         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9123         Change function suffix from unaligned_2 to unaligned.
9124         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9125         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9126         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9127         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9128         (ENTRY): Removed.
9129         (END): Likewise.
9130         (ENTRY_CHK): Likewise.
9131         (libc_hidden_builtin_def): Likewise.
9132         Don't include ../mempcpy.S.
9133         (mempcpy): New.  Add a weak alias.
9134         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
9135         __mempcpy_chk_avx512_unaligned_erms and
9136         __mempcpy_chk_avx512_unaligned.  Use
9137         __mempcpy_chk_avx_unaligned_erms and
9138         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9139         Default to __mempcpy_chk_sse2_unaligned.
9141 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9143         [BZ #19881]
9144         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
9145         into ...
9146         * sysdeps/x86_64/memset.S: This.
9147         (__bzero): Removed.
9148         (__memset_tail): Likewise.
9149         (__memset_chk): Likewise.
9150         (memset): Likewise.
9151         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
9152         defined.
9153         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
9154         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
9155         (__memset_zero_constant_len_parameter): Check SHARED instead of
9156         PIC.
9157         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9158         memset-avx2 and memset-sse2-unaligned-erms.
9159         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9160         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
9161         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
9162         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9163         (__bzero): Enabled.
9164         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
9165         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
9166         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
9167         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
9168         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9169         (memset): Removed.
9170         (__memset_chk): Likewise.
9171         (MEMSET_SYMBOL): New.
9172         (libc_hidden_builtin_def): Replace __memset_sse2 with
9173         __memset_sse2_unaligned.
9174         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
9175         __memset_chk_sse2 and __memset_chk_avx2 with
9176         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
9177         Use __memset_chk_sse2_unaligned_erms or
9178         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
9179         __memset_chk_avx512_unaligned_erms and
9180         __memset_chk_avx512_unaligned.
9182 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9184         * math/gen-auto-libm-test.c (fp_format_desc): remove
9185         suffix member.
9186         (output_generic_value): Remove usage of suffix member,
9187         and the resulting unuse of the fp_format argument.
9188         (output_for_one_input_case): Remove unused fp_format
9189         parameter.
9191         * math/auto-libm-test-out: Regenerate.
9193         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
9194         usage with TEST_COND_ibm128.
9195         (TEST_COND_flt_32): Remove.
9196         (TEST_COND_dbl_64): Remove.
9197         (TEST_COND_ldbl_96_intel): Remove.
9198         (TEST_COND_ldbl_96_m68k): Remove.
9199         (TEST_COND_ldbl_128): Remove.
9201 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9203         * auto-libm-test-in:
9204         Replace flt-32 usage with binary32.
9205         Replace dbl-64 usage with binary64.
9206         Replace ldbl-intel-96 usage with intel96.
9207         Replace ldbl-m68k-96 usage with m68k96.
9208         Replace ldbl-128ibm usage with ibm128.
9209         Replace ldbl-128 usage with binary128.
9211         * auto-libm-test-out: Regenerate.
9213 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9215         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
9216         (parse_ulps): Dynamically generate type name matching
9217         string from all_floats.
9218         (get_ulps): Generate the ulps as an array instead.
9219         (output_ulps): Dynamically compose the type based
9220         on the number of supported formats, and print
9221         the indices as type specific helper macros.
9223         * math/libm-test.inc: Remove comment about CHOOSE.
9224         (ulp_data): Generate the type in libm-test-ulps.h.
9225         (ULP_IDX): New macro.
9226         (find_ulps): Update usage of max_ulp.
9228         * math/test-double-vlen2.h (CHOOSE): Remove.
9229         * math/test-double-vlen4.h (CHOOSE): Likewise.
9230         * math/test-double-vlen8.h (CHOOSE): Likewise.
9231         * math/test-float.c (CHOOSE): Likewise.
9232         * math/test-float-finite.c (CHOOSE): Likewise.
9233         * math/test-double.c (CHOOSE): Likewise.
9234         * math/test-double-finite.c (CHOOSE): Likewise.
9235         * math/test-idouble.c (CHOOSE): Likewise.
9236         * math/test-ifloat.c (CHOOSE): Likewise.
9237         * math/test-ildoubl.c (CHOOSE): Likewise.
9238         * math/test-ldouble-finite.c (CHOOSE): Likewise.
9239         * math/test-ldouble.c (CHOOSE): Likewise.
9241         * math/test-float.h (TEST_FLOAT): Remove.
9242         * math/test-double.h (TEST_DOUBLE): Likewise.
9243         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
9245 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9247         * math/gen-libm-test.pl: (apply_lit): New subroutine.
9248         (parse_args): Strip C suffix from floating point literals
9249         typed with 'f' and wrap them with LIT().
9251         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
9252         (test_ff_f_data_nexttoward): Rename to
9253         (test_fj_f_data): New struct.
9254         (nexttoward_test_data): Relabel tests as
9255         TEST_fj_f instead of TEST_ff_f.
9257 2016-06-08  Florian Weimer  <fweimer@redhat.com>
9259         Emacs bug 23726.
9260         * malloc/malloc.c (dumped_main_arena_start): Update comment.
9261         (__libc_realloc): Correct size computation for dumped fake mmapped
9262         chunks.
9264 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
9266         [BZ #20219]
9267         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
9268         to itself.
9269         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
9271         [BZ #20218]
9272         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
9273         to itself.
9274         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
9276 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
9278         [BZ #20195]
9279         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
9280         check to ...
9281         (init_cpu_features): Here.
9283 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
9285         [BZ #20214]
9286         * sysdeps/unix/sysv/linux/bits/in.h
9287         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9288          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
9289         Define to 1.
9290         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
9291          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
9292         Define to 0.
9293         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
9294         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
9296 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
9298         [BZ #20198]
9299         * stdlib/Makefile (tests): Add tst-quick_exit, and
9300         tst-thread-quick_exit.
9301         [ifeq ($(have-cxx-thread_local),yes)]
9302         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
9303         (CFLAGS-tst-thread-quick_exit.o): Likewise.
9304         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
9305         (LDLIBS-tst-thread-quick_exit): Likewise.
9306         [ifneq ($(have-cxx-thread_local),yes)]
9307         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
9308         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
9309         If run_dtors is true call __call_tls_dtors.
9310         (exit): Call __run_exit_handlers with run_dtors set to true.
9311         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
9312         definition.
9313         * stdlib/quick_exit.c (quick_exit): Remove function.
9314         (__new_quick_exit): New function.
9315         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
9316         function.
9317         * stdlib/tst-quick_exit.cc: New file.
9318         * stdlib/tst-thread-quick_exit.cc: New file.
9319         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
9320         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
9321         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
9322         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
9323         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
9324         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
9325         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
9326         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
9327         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
9328         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
9329         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
9330         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
9331         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
9332         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
9333         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
9334         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
9336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
9337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
9338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
9339         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
9340         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
9341         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
9342         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
9343         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
9344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
9345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
9346         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
9347         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
9348         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
9350 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
9352         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
9353         a typo in comments.
9355 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9357         [BZ #20213]
9358         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
9359         argument to itself.
9360         * math/libm-test.inc (asin_test_data): Add sNaN tests.
9362 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9364         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
9365         required flags.
9366         (CFLAGS-pwritev64.c): Likewise.
9367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
9368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9369         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
9370         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9371         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
9372         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
9373         syscall from auto-generation.
9374         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
9375         [WORDSIZE == 64] (pwritev64): Remove macro.
9376         [!PWRITEV] (PWRITEV): Likewise.
9377         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9378         [!PWRITEV] (PWRITE): Likewise.
9379         [!PWRITEV] (OFF_T): Likewise.
9380         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
9381         (LO_HI_LONG): Remove macro.
9382         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
9383         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
9384         (PWRITEV): Remove macro.
9385         (PWRITEV_REPLACEMENTE): Likewise.
9386         (PWRITE): Likewise.
9387         (OFF_T): Likewise.
9388         (pwritev64): New function.
9389         * nptl/tst-cancel4.c (tf_writev): Add test.
9391         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
9392         required flags.
9393         (CFLAGS-preadv64.c): Likewise.
9394         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
9395         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9396         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
9397         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
9398         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
9399         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
9400         syscall from auto-generation.
9401         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
9402         [WORDSIZE == 64] (preadv64): Remove macro.
9403         [!PREADV] (PREADV): Likewise.
9404         [!PREADV] (PREADV_REPLACEMENT): Likewise.
9405         [!PREADV] (PREAD): Likewise.
9406         [!PREADV] (OFF_T): Likewise.
9407         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
9408         (LO_HI_LONG): Remove macro.
9409         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
9410         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
9411         (PREADV): Remove macro.
9412         (PREADV_REPLACEMENTE): Likewise.
9413         (PREAD): Likewise.
9414         (OFF_T): Likewise.
9415         (preadv64): New function.
9416         * nptl/tst-cancel4.c (tf_preadv): Add test.
9418 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
9420         [BZ #20212]
9421         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
9422         argument to itself.
9423         * math/libm-test.inc (acos_test_data): Add sNaN tests.
9425 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9427         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
9428         New symbol defined as libc_hidden_def.
9429         (strcasestr): Became a weak alias to __strcasestr.
9430         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
9431         according to multi-arch support.  Move __stpncpy hidden
9432         definition from here to...
9433         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
9434         symbol stpncpy.
9435         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
9436         libc_hidden_builtin_def.
9437         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
9438         memset symbol to use when multi-arch support is available.
9440 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9442         * dlfcn/tst-rec-dlopen.c: Include string.h.
9444 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9446         * manual/install.texi: Remove mention of --without-tls
9447         * INSTALL: Regenerate.
9449 2016-06-05  Florian Weimer  <fweimer@redhat.com>
9451         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
9452         Remove.
9453         (call_function, interposed_malloc_called): New variables.
9454         (malloc): New function.
9455         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
9456         and clear call_function as needed.
9458 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
9460         * include/wchar.h (__wmemset): Use __typeof.
9462 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
9464         * include/wchar.h (__wmemset): Declare function without typeof.
9466 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
9468         [BZ #20205]
9469         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
9470         exponent when incrementing negative subnormal with low mantissa
9471         word zero.
9472         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9473         Add another test.
9475 2016-06-03  Florian Weimer  <fweimer@redhat.com>
9477         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
9478         __wmemset instead of wmemset.
9480 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
9482         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
9483         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
9484         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
9485         __USE_KERNEL_IPV6_DEFS to 0.
9486         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
9487         Update comment.
9489 2016-06-01  Florian Weimer  <fweimer@redhat.com>
9491         [BZ #19861]
9492         Do not use IFUNC resolver with potentially unrelocated symbol.
9493         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
9494         (DEFINE_FORK): Remove macro and inline definition.
9495         (fork_alias): Renamed from fork_ifunc.
9496         (__fork_alias): Renamed from __fork_ifunc.
9498 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
9500         [BZ 19653]
9501         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
9502         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
9504 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9506         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
9507         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
9508         i386-linux-gnu).
9509         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
9510         Set to no.
9511         * sysdeps/mach/hurd/configure: Refresh.
9513 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9515         [BZ #20178]
9516         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
9517         on failure instead of exit.
9519 2016-05-30  Roland McGrath  <roland@hack.frob.com>
9521         [BZ #3629]
9522         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
9523         of POSIX.1-2008.
9525 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9527         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
9528           Use PLT entry for calling _hurd_self_sigstate.
9530 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
9532         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
9533         available logical processors with SMT level type sharing L2
9534         cache for Intel processors.
9536 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9538         [BZ #20160]
9539         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
9540         argument to itself before returning the result.
9541         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
9542         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
9543         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
9544         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9545         Likewise.
9546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9547         Likewise.
9548         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
9549         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
9550         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9551         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9552         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
9553         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
9555         [BZ #20160]
9556         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
9557         argument to itself before returning the result.
9558         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
9559         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
9560         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
9561         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
9562         Likewise.
9563         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9564         Likewise.
9565         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
9566         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
9567         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
9568         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9569         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
9570         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
9572 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9574         * libm-test.inc: Replace usage of M_El with
9575         (lit_e): New macro.
9577 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9579         * libm-test.inc: Replace usage of M_PI_4l with
9580         (lit_pi_4_d): New macro.
9582 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9584         * libm-test.inc: Replace usage of M_PIl with
9585         (lit_pi): New macro.
9587 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9589         * libm-test.inc: Replace usage of M_PI2l with
9590         (lit_pi_2_d): New macro.
9592         * math/test-double.h (LITM): New macro.
9593         * math/test-float.h (LITM): Likewise.
9594         * math/test-ldouble.h (LITM): Likewise.
9596 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9598         * libm-test.inc (M_PI_34l): Rename to
9599         (lit_pi_3_m_4_d): New Macro.
9600         (M_PI_34_LOG10El): Rename to
9601         (lit_pi_3_m_4_ln10_m_d): New Macro.
9602         (M_PI2_LOG10El): Rename to
9603         (lit_pi_2_ln10_m_d):  New Macro.
9604         (M_PI4_LOG10El): Rename to
9605         (lit_pi_4_ln10_m_d):  New Macro.
9606         (M_PI_LOG10El): Rename to
9607         (lit_pi_ln10_d):  New Macro.
9609 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9611         [BZ #20157]
9612         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
9613         determine whether to negate low half if [_ARCH_PPCGR], and integer
9614         comparison otherwise.
9615         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
9616         determine whether to negate low half.
9618         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
9619         (NO_TEST_INLINE_DOUBLE): Likewise.
9620         (TEST_COND_x86_64): Likewise.
9621         (TEST_COND_x86): Likewise.
9622         (M_PI_6l): Likewise.
9624 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9626         * math/libm-test.inc:
9627         (TEST_FLOAT): Change usage to TEST_COND_binary32.
9628         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
9629         (TEST_LDOUBLE): Update usage to evaluate as true if
9630         the guarded tests match the property being tested.
9631         (LDBL_MAX_EXP): Change to MAX_EXP.
9632         (LDBL_MIN_EXP): Change to MIN_EXP.
9633         (LDBL_MANT_DIG): Change to MANT_DIG, except for
9634         nexttoward tests.
9636 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9638         * math/libm-test.inc:
9639         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
9640         (TYPE_MIN): Likewise.
9641         (TYPE_TRUE_MIN): Likewise.
9642         (TYPE_MAX): Likewise.
9643         (MIN_EXP): Likewise.
9644         (MAX_EXP): Likewise.
9645         (MANT_DIG): Likewise.
9647         (FSTR_MAX): New macro.
9648         (__CONCATX): Likewise.
9649         (QTYPE_STR): Likewise.
9650         (TEST_COND_binary32): Likewise.
9651         (TEST_COND_binary64): Likewise.
9652         (TEST_COND_binary128): Likewise.
9653         (TEST_COND_ibm128): Likewise.
9654         (TEST_COND_intel96): Likewise.
9655         (TEST_COND_m68k96): Likewise.
9657         (TEST_COND_flt_32): Redefine as equivalent format test macro.
9658         (TEST_COND_dbl_64): Likewise.
9659         (TEST_COND_ldbl_96_intel): Likewise.
9660         (TEST_COND_ldbl_96_m68k): Likewise.
9661         (TEST_COND_ldbl_128): Likewise.
9662         (TEST_COND_ldbl_128ibm): Likewise.
9664         (plus_zero): Redefine using LIT macro.
9665         (minus_zero): Likewise.
9666         (plus_infty): Redefine as (INF).
9667         (minux_infty): Redefine as (-INF).
9668         (max_value): Redefine as TYPE_MAX.
9669         (min_value): Redefine as TYPE_MIN.
9670         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
9672         (print_float): Refactor to use snprintf to convert FLOAT values
9673         to string. This brings it closer to dropin replacement of strtof
9674         for the TS 18661 defined types.
9675         (update_stats): Likewise.
9676         (print_complex_function_ulps): Likewise.
9677         (print_max_error): Likewise.
9678         (print_complex_max_error): Likewise.
9679         (check_float_internal): Likewise.
9681         * math/test-float.h (PREFIX): New macro.
9682         (LIT): Likewise.
9683         (TYPE_STR): Likewise.
9684         (FTOSTR): Likewise.
9686         * math/test-double.h (PREFIX): New macro.
9687         (LIT): Likewise.
9688         (TYPE_STR): Likewise.
9689         (FTOSTR): Likewise.
9691         * math/test-ldouble.h (PREFIX): New macro.
9692         (LIT): Likewise.
9693         (TYPE_STR): Likewise.
9694         (FTOSTR): Likewise.
9696 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
9698         [BZ #20156]
9699         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
9700         to itself when zero or not finite.
9701         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
9702         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9703         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
9704         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9706 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
9708         [BZ #20153]
9709         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
9710         x * x + x for infinities and NaNs.
9712         [BZ #20151]
9713         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
9714         argument to itself before returning result.
9715         (__ieee754_y0l): Likewise.
9716         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9717         (__ieee754_y1l).
9719         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
9720         (atan_test_data): Likewise.
9721         (ceil_test_data): Likewise.
9722         (cos_test_data): Likewise.
9723         (cosh_test_data): Likewise.
9724         (erf_test_data): Likewise.
9725         (exp2_test_data): Likewise.
9726         (fabs_test_data): Likewise.
9727         (floor_test_data): Likewise.
9728         (ilogb_test_data): Likewise.
9729         (j0_test_data): Likewise.
9730         (j1_test_data): Likewise.
9731         (jn_test_data): Likewise.
9732         (lgamma_test_data): Likewise.
9733         (lrint_test_data): Likewise.
9734         (llrint_test_data): Likewise.
9735         (logb_test_data): Likewise.
9736         (lround_test_data): Likewise.
9737         (llround_test_data): Likewise.
9738         (nearbyint_test_data): Likewise.
9739         (rint_test_data): Likewise.
9740         (round_test_data): Likewise.
9741         (sin_test_data): Likewise.
9742         (sincos_test_data): Likewise.
9743         (sinh_test_data): Likewise.
9744         (sqrt_test_data): Likewise.
9745         (tan_test_data): Likewise.
9746         (tanh_test_data): Likewise.
9747         (tgamma_test_data): Likewise.
9748         (trunc_test_data): Likewise.
9749         (y0_test_data): Likewise.
9750         (y1_test_data): Likewise.
9751         (yn_test_data): Likewise.
9753         * math/libm-test.inc: Update comment about NaN testing.
9754         (TEST_SNAN): New macro.
9755         (snan_value): Likewise.
9756         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
9757         (fpclassify_test_data): Add sNaN tests.
9758         (isfinite_test_data): Likewise.
9759         (isinf_test_data): Likewise.
9760         (isnan_test_data): Likewise.
9761         (isnormal_test_data): Likewise.
9762         (issignaling_test_data): Likewise.
9763         (signbit_test_data): Likewise.
9764         * math/gen-libm-test.pl (%beautify): Add snan_value.
9765         (show_exceptions): Add argument $test_snan.
9766         (parse_args): Handle snan_value as non-finite.  Update call to
9767         show_exceptions.
9768         * math/Makefile (libm-test-no-inline-cflags): Add
9769         -fsignaling-nans.
9771 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9773         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
9774         (CFLAGS-oldsendmsg.c): Add rule.
9775         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9776         Correct recvmsg symbol name.
9777         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
9778         Likewise.
9780 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9782         * sysdeps/unix/sysv/linux/Makefile
9783         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
9784         oldsendmmsg.
9785         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
9786         sendmmsg.
9787         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9788         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9789         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9790         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9792         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9795         Likewise.
9796         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
9798         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9799         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
9800         iovlen and controllen fields to adjust to POSIX specification.
9801         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9803         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
9804         and change to correct expected type.
9805         (msghdr.msg_controllen): Likewise.
9806         (cmsghdr.cmsg_len): Likewise.
9807         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
9808         expected POSIX assumption about the size.
9809         (msghdr.msg_controllen): Likewise.
9810         (msghdr.__glibc_reserved1): Likewise.
9811         (msghdr.__glibc_reserved2): Likewise.
9812         (cmsghdr.cmsg_len): Likewise.
9813         (cmsghdr.__glibc_reserved1): Likewise.
9814         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
9815         Add ptw-oldrecvmsg and ptw-oldsendmsg.
9816         (CFLAGS-sendmsg.c): Remove rule.
9817         (CFLAGS-recvmsg.c): Likewise.
9818         (CFLAGS-oldsendmsg.c): Add rule.
9819         (CFLAGS-oldrecvmsg.c): Likewise.
9820         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
9821         recvmsg and sendmsg.
9822         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
9823         Likewise.
9824         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
9825         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
9826         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9827         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
9828         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9829         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9830         Likewise.
9831         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9832         Likewise.
9833         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
9834         Likewise.
9835         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
9836         Likewise.
9837         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9838         Likewise.
9839         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9840         Likewise.
9841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
9842         (GLIBC_2.24): Likewise.
9843         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9844         Likewise.
9845         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9846         Likewise.
9847         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9848         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9849         Likewise.
9850         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9851         Likewise.
9852         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9853         Likewise.
9854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
9855         (GLIBC_2.24): Likewise.
9856         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
9857         Likewise.
9858         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
9859         Likewise.
9860         * sysdeps/unix/sysv/linux/Makefile
9861         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
9862         (CFLAGS-sendmsg.c): Add rule.
9863         (CFLAGS-recvmsg.c): Likewise.
9864         (CFLAGS-oldsendmsg.c): Likewise.
9865         (CFLAGS-oldrecvmsg.c): Likewise.
9866         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
9867         initialization.
9868         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9869         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9870         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
9871         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9872         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
9873         iovlen and controllen fields to adjust to POSIX specification.
9874         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
9875         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
9876         added recvmsg and sendmsg.
9877         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9878         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9879         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9880         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9881         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9882         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9883         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9884         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9885         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9886         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9887         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9888         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
9889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9890         Likewise.
9891         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9893         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9894         Likewise.
9895         Likewise.
9896         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9897         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9898         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9899         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9900         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9901         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9903         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9905         Likewise.
9906         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9907         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9909         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
9910         from auto-generation.
9911         (sendmsg): Likewise.
9912         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
9913         (sendmsg): Likewise.
9914         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
9915         (sendmsg): Likewise.
9916         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
9917         (sendmsg): Likewise.
9918         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
9919         (sendmsg): Likewise.
9920         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
9921         (sendmsg): Likewise.
9922         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
9923         Likewise.
9924         (sendmsg): Likewise.
9925         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
9926         (sendmsg): Likewise.
9927         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9929         Remove.
9930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9931         Likewise.
9932         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9933         Undefine.
9934         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9935         Likewise.
9936         * sysdeps/unix/sysv/linux/kernel-features.h
9937         (__ASSUME_SENDMSG_SYSCALL): Define.
9938         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9939         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9940         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9941         Remove.
9942         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9943         Likewise.
9944         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9945         Undefine.
9946         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9947         Likewise.
9948         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9949         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9950         Remove.
9951         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9952         Likewise.
9953         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
9954         Undefine.
9955         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
9956         Likewise.
9957         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9958         (__ASSUME_SENDMSG_SYSCALL): Undefine.
9959         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9960         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9961         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9962         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9963         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9964         (__ASSUME_SENDMSG_SYSCALL): Likewise.
9965         (__ASSUME_RECVMSG_SYSCALL): Likewise.
9967 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9969         * stdlib/gen-tst-strtod-round.c: Add backslash to
9970         compile command in comment.
9971         (printfp): Remove the literal suffix, and define an infinite
9972         value as INF to avoid expansion clash with INFINITY.
9973         (round_str): Remove the literal suffix.
9974         (round_for_all): Likewise, remove the now duplicate ldbl-64
9975         entry, and remove some magic constants.
9977         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
9978         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
9979         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
9980         (_CONCAT): New macro.
9981         (CONCAT): Likewise.
9982         (CHOOSE_ld): Likewise.
9983         (CHOOSE_f): Likewise.
9984         (CHOOSE_d): Likewise.
9985         (FTYPE_MEMBER): Likewise.
9986         (BOOL_MEMBER): Likewise.
9987         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
9988         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
9989         (_XNTRY): Likewise.
9990         (XNTRY): Likewise.
9991         (_ENTRY): Likewise.
9992         (ENTRY): Likewise.
9993         (test_exactness): Generate members via macro.
9994         (test_results): Likewise.
9995         (test): Update members.
9996         (TEST): Redefine using new macros.
9997         (INF): New macro.
9998         (fetestmodes): New structure.
9999         (do_test): Refactor to be type generic.
10000         (test_in_one_mode): Refactor duplicate code into
10001         (GEN_ONE_TEST): New macro.
10003         * stdlib/tst-strtod-round-data.h: Regenerate.
10005         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10006         Extend to pass additional arbitrary parameters to
10007         generators.
10009 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10011         [BZ #15479]
10012         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10013         floating-point state after first floating-point operation on
10014         input.  Restore full floating-point state instead of just rounding
10015         mode.
10016         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10017         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10018         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10019         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10020         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10022         [BZ #15479]
10023         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10024         floating-point state after first floating-point operation on
10025         input.  Restore full floating-point state instead of just rounding
10026         mode.
10027         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10028         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10029         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10030         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10031         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10033 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10035         [BZ #19727]
10036         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10037         valid high surrogate.
10038         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10039         of an utf16 surrogate.
10040         * iconv/gconv_simple.c (BODY): Likewise.
10041         * iconvdata/bug-iconv12.c: New file.
10042         * iconvdata/Makefile (tests): Add bug-iconv12.
10044 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10046         [BZ #19726]
10047         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10048         outptrp in case of an illegal input.
10049         * iconv/tst-iconv6.c: New file.
10050         * iconv/Makefile (tests): Add tst-iconv6.
10052 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10054         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10055         an error in case of a value in range of an utf16 low surrogate.
10057 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10059         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10060         an error in case of a value in range of an utf16 low surrogate.
10062 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10064         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10065         Move to ...
10066         * sysdeps/s390/Makefile: ... here.
10067         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10068         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10069         (BRANCH_ON_COUNT): New define.
10070         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10071         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10072         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10073         run on s390-32, too.
10074         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10075         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10076         run on s390-32, too.
10077         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10078         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10079         run on s390-32, too.
10081 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10083         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10084         etf3eh or new vector loop-variant.
10086 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10088         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10089         etf3eh or new vector loop-variant.
10091 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10093         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10094         or new vector loop-variant.
10096 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10098         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10099         Rename to TR_LOOP and usage of tr instead of troo instruction.
10101 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10103         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10104         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10106 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10108         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10109         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10110         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10111         New override define.
10112         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10114 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10116         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10117         * sysdeps/s390/configure.ac: Add test for S390 vector register
10118         support in gcc.
10119         * sysdeps/s390/configure: Regenerated.
10121 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10123         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10124         Install file from $(objpfx)gconv-modules.
10125         ($(objpfx)gconv-modules): Concatenate architecture specific file
10126         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10127         * sysdeps/s390/gconv-modules: New file.
10128         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10129         Deleted.
10130         ($(objpfx)gconv-modules-s390): Deleted.
10131         (sysdeps-gconv-modules): New variable.
10133 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10135         [BZ #15479]
10136         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
10137         of immediate operand to rounding instruction.
10138         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
10139         Likewise.
10140         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
10141         Likewise.
10142         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
10143         Likewise.
10145 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10147         * math/libm-test.inc (MIN_EXP): Directly define as
10148         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
10150 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10152         * math/libm-test.inc (MANT_DIG): Directly define as
10153         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
10155 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10157         * stdlib/gen-tst-strtod-round.c (main):
10158           Change usage to more closely match the generated
10159           output.  Add usage and compilation instructions.
10160           (string_to_fp): Add and use FILE* parameter as
10161           output target.
10162           (print_fp): Likewise.
10163           (round_str): Likewise.
10164           (round_for_all): Likewise.
10165         * stdlib/tst-strtod-round.c (tests): Move into
10166         * stdlib/tst-strtod-round-data.h: New file.
10168 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
10170         [BZ #15479]
10171         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
10172         (__round): Do not force "inexact" exception.
10173         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
10174         variable.
10175         (__round): Do not force "inexact" exception.
10176         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
10177         (__roundf): Do not force "inexact" exception.
10178         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
10179         (__roundl): Do not force "inexact" exception.
10180         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
10181         (__roundl): Do not force "inexact" exception.
10182         * math/libm-test.inc (round_test_data): Do not allow spurious
10183         "inexact" exceptions.
10185         [BZ #15479]
10186         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
10187         exception in comment.
10188         (huge): Remove variable.
10189         (__floor): Do not force "inexact" exception.
10190         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
10191         "inexact" exception in comment.
10192         (huge): Remove variable.
10193         (__floor): Do not force "inexact" exception.
10194         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
10195         exception in comment.
10196         (huge): Remove variable.
10197         (__floorf): Do not force "inexact" exception.
10198         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
10199         exception in comment.
10200         (huge): Remove variable.
10201         (__floorl): Do not force "inexact" exception.
10203         [BZ #15479]
10204         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
10205         exception in comment.
10206         (huge): Remove variable.
10207         (__ceil): Do not force "inexact" exception.
10208         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
10209         "inexact" exception in comment.
10210         (huge): Remove variable.
10211         (__ceil): Do not force "inexact" exception.
10212         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
10213         (__ceilf): Do not force "inexact" exception.
10214         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
10215         exception in comment.
10216         (huge): Remove variable.
10217         (__ceill): Do not force "inexact" exception.
10219 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
10221         * config.h.in (BIND_NOW): New.
10222         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
10223         * configure: Regenerated.
10224         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
10225         indirect branch via the GOT slot.
10227 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10229         [BZ #19765]
10230         * sysdeps/s390/mempcpy.S: New File.
10231         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10232         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
10233         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10234         Add mempcpy variants.
10235         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
10236         (memcpy): Adjust to be usable from mempcpy entry point.
10237         (__memcpy_mvcle): Likewise.
10238         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10239         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
10240         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
10241         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
10242         (__memcpy_z10): Likewise.
10243         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10245 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10247         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
10248         Remove __GI_ symbol.
10249         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
10250         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
10251         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
10252         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
10253         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
10254         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
10256 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10258         * sysdeps/s390/s390-64/memcpy.S (memcpy):
10259         Use cghi instead of chi to compare 64bit value.
10261 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
10263         * sysdeps/s390/s390-32/memcpy.S (memcpy):
10264         Jump to 1MB check before executing mvc-loop.
10266 2016-05-24  Florian Weimer  <fweimer@redhat.com>
10268         [BZ #6527]
10269         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
10270         unconditionally.
10271         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
10273 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10275         * stdlib/tst-strtod6.c (do_test): Use new type generic
10276         invocation of the test function.
10277         (test): Refactor into ...
10278         (TEST_STRTOD): New macro base function.
10280 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10282         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
10283         (TEST_STRTOD): New macro.
10284         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
10286 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10288         * stdlib/tst-strtod6.c (do_test): Use new type generic
10289         invocation of the test function.
10290         (test): Refactor into ...
10291         (TEST_STRTOD): New macro base function.
10293 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10295         CVE-2016-4429
10296         [BZ #20112]
10297         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
10298         payload.
10300 2016-05-23  Florian Weimer  <fweimer@redhat.com>
10302         [BZ #20111]
10303         * bits/sockaddr.h (_SS_SIZE): Define.
10304         * bits/socket.h (_SS_SIZE): Remove.
10305         (_SS_PADSIZE): Adjust to account for all padding.
10306         (struct sockaddr_storage): Update comment.  Avoid implicit
10307         padding.
10308         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
10309         (_SS_PADSIZE): Adjust to account for all padding.
10310         (struct sockaddr_storage): Update comment.  Avoid implicit
10311         padding.
10312         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
10313         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
10314         (_SS_PADSIZE): Adjust to account for all padding.
10315         (struct sockaddr_storage): Update comment.  Avoid implicit
10316         padding.
10317         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
10318         __SS_SIZE is 126 in this version.
10319         * inet/tst-sockaddr.c: New file.
10320         * inet/Makefile (tests): Add tst-sockaddr.c
10321         (tst-sockaddr.c): Compile with non-strict aliasing.
10323 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
10325         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
10326         [XPG3 || XPG4].
10327         (NL_ARGMAX): Also expect for [XPG3].
10328         (NL_LANGMAX): Likewise.
10329         (NL_MSGMAX): Likewise.
10330         (NL_NMAX): Likewise.
10331         (NL_SETMAX): Likewise.
10332         (NL_TEXTMAX): Likewise.
10333         (NZERO): Likewise.
10334         (TMP_MAX): Likewise.
10335         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
10336         variable.
10338         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
10339         (PF_MAX): Update value.
10340         (AF_KCM): New macro.
10341         (SOL_NETBEUI): Likewise.
10342         (SOL_LLC): Likewise.
10343         (SOL_DCCP): Likewise.
10344         (SOL_NETLINK): Likewise.
10345         (SOL_TIPC): Likewise.
10346         (SOL_RXRPC): Likewise.
10347         (SOL_PPPOL2TP): Likewise.
10348         (SOL_BLUETOOTH): Likewise.
10349         (SOL_PNPIPE): Likewise.
10350         (SOL_RDS): Likewise.
10351         (SOL_IUCV): Likewise.
10352         (SOL_CAIF): Likewise.
10353         (SOL_ALG): Likewise.
10354         (SOL_NFC): Likewise.
10355         (SOL_KCM): Likewise.
10356         (MSG_BATCH): New enum value and macro.
10358 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
10360         [BZ #18185]
10361         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
10362         sharing L2 cache to 2 for Knights Landing.
10364 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
10366         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
10367         (FTW_DP): Do not expect for [XPG3 || XPG4].
10368         (FTW_SL): Do not expect for [XPG3].
10369         (FTW_SLN): Likewise.
10370         (FTW_PHYS): Likewise.
10371         (FTW_MOUNT): Likewise.
10372         (FTW_DEPTH): Likewise.
10373         (FTW_CHDIR): Likewise.
10374         (nftw): Likewise.
10375         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
10376         variable.
10378 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10380         * manual/errno.texi: Fix various typos & grammar errors.
10382 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
10384         * manual/intro.texi: Fix duplicated typo.
10386 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10388         [BZ #13304]
10389         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
10390         <float.h>, <math_private.h> and <stdlib.h>.
10391         (add_split): New function.
10392         (mul_split): Likewise.
10393         (ext_val): New typedef.
10394         (store_ext_val): New function.
10395         (mul_ext_val): New function.
10396         (compare): New function.
10397         (add_split_ext): New function.
10398         (__fmal): After checking for Inf, NaN and zero, compute result as
10399         an exact sum of scaled double values in round-to-nearest before
10400         adding those up and adjusting for other rounding modes.
10401         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
10402         tests of fma.
10403         * math/auto-libm-test-out: Regenerated.
10405 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10407         [BZ #20119]
10408         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
10409         processor level type mask for CPUID with EAX == 11.
10411 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10413         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
10414         logical threads if the HTT bit is 0.
10415         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
10416         (index_cpu_HTT): Likewise.
10417         (reg_HTT): Likewise.
10419 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
10421         [BZ #20115]
10422         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
10423         Remove alignments on jump targets.
10425 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
10427         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
10428         (getpwent): Likewise.
10429         (setpwent): Likewise.
10430         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
10431         variable.
10433         * conform/data/search.h-data (insque): Do not expect for [XPG3].
10434         (remque): Likewise.
10435         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
10436         variable.
10438 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10440         * math/libm-test.inc: Update comment not to refer to signs of NaNs
10441         not being tested.
10443 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10445         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10446         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
10447         call.
10448         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10449         (__condvar_cleanup1): Likewise.
10451 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10453         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
10454         New
10455         (__pthread_unwind): Renamed to ...
10456         (PTHREAD_UNWIND): This.
10457         (__pthread_enable_asynccancel): Replace
10458         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
10460 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
10462         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
10463         (CLONE_NEWCGROUP): New macro.
10465         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
10466         (Q_GETNEXTQUOTA): New macro.
10468 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
10470         [BZ #19907]
10471         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
10472         buffer updated by the previous run.
10473         * string/test-memcpy.c (do_one_test): Likewise.
10474         * benchtests/bench-memmove.c (do_one_test): Add a comment.
10475         * string/test-memmove.c (do_one_test): Likewise.
10477 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
10479         [BZ #20094]
10480         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
10481         not [__USE_XOPEN].
10482         (unlockpt): Likewise.
10483         (ptsname): Likewise.
10484         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
10485         variable.
10487         [BZ #20076]
10488         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
10489         instead of [__USE_UNIX98].
10490         (S_ISSOCK): Likewise.
10491         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
10492         variable.
10494         [BZ #20074]
10495         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
10496         [__USE_POSIX].
10497         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
10498         variable.
10500         [BZ #20051]
10501         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
10502         (ttyslot): Do not declare.
10503         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
10504         (ttyslot): New prototype.
10505         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
10506         variable.
10507         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
10509 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10511         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
10513 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10515         Fix race condition in tst-mallocfork2, use fewer resources.
10516         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
10517         to current process group.
10518         (signal_sender): Yield in the non-sleeping case.
10520 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
10522         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
10523         (ecvt): Likewise.
10524         (fcvt): Likewise.
10525         (gcvt): Likewise.
10526         (getsubopt): Likewise.
10527         (grantpt): Likewise.
10528         (initstate): Likewise.
10529         (l64a): Likewise.
10530         (mktemp): Likewise.
10531         (mkstemp): Likewise.
10532         (ptsname): Likewise.
10533         (random): Likewise.
10534         (realpath): Likewise.
10535         (setstate): Likewise.
10536         (srandom): Likewise.
10537         (ttyslot): Likewise.
10538         (unlockpt): Likewise.
10539         (valloc): Likewise.
10541         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
10542         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
10543         variable.
10545 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10547         [BZ #20072]
10548         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
10549         init_cpu_features only if SHARED is defined.
10550         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
10552 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
10554         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
10555         non-inclusive caches on Intel processors.
10557 2016-05-13  Florian Weimer  <fweimer@redhat.com>
10559         * malloc/malloc.c (dumped_main_arena_start)
10560         (dumped_main_arena_end): New variables.
10561         (DUMPED_MAIN_ARENA_CHUNK): New macro.
10562         (do_check_chunk): Skip dumped fake mmapped chunks.
10563         (munmap_chunk): Likewise.
10564         (__libc_free): Do not adjust statistics for fake mmapped chunks.
10565         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
10566         mmapped chunks.
10567         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
10568         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
10569         and dumped_main_arena_end to cover the dumped heap.
10571 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
10573         * conform/data/time.h-data (getdate_err): Do not expect for
10574         [XPG3].
10575         (getdate): Likewise.
10576         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
10577         variable.
10579         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
10580         (F_ULOCK): Likewise.
10581         (F_TEST): Likewise.
10582         (F_TLOCK): Likewise.
10583         (useconds_t): Likewise.
10584         (intptr_t): Do not expect for [XPG3] or [XPG4].
10585         (brk): Do not expect for [XPG3]
10586         (fchown): Likewise.
10587         (fchdir): Likewise.
10588         (ftruncate): Likewise.
10589         (getdtablesize): Likewise.
10590         (gethostid): Likewise.
10591         (getpagesize): Likewise.
10592         (getpgid): Likewise.
10593         (getsid): Likewise.
10594         (getwd): Likewise.
10595         (lchown): Likewise.
10596         (lockf): Likewise.
10597         (readlink): Likewise.
10598         (sbrk): Likewise.
10599         (setpgrp): Likewise.
10600         (setregid): Likewise.
10601         (setreuid): Likewise.
10602         (symlink): Likewise.
10603         (sync): Likewise.
10604         (truncate): Likewise.
10605         (ualarm): Likewise.
10606         (usleep): Likewise.
10607         (vfork): Likewise.
10608         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
10609         variable.
10611         [BZ #20054]
10612         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
10613         not [__USE_UNIX98].
10614         * conform/data/unistd.h-data (gethostname): Do not expect for
10615         [XPG3].
10617         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
10618         [!POSIX] (S_IFBLK): Likewise.
10619         [!POSIX] (S_IFCHR): Likewise.
10620         [!POSIX] (S_IFIFO): Likewise.
10621         [!POSIX] (S_IFREG): Likewise.
10622         [!POSIX] (S_IFDIR): Likewise.
10623         [!POSIX] (S_IFLNK): Likewise.
10624         [!POSIX] (S_IFSOCK): Likewise.
10625         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
10626         variable.
10627         (test-xfail-XPG4/fcntl.h/conform): Likewise.
10629 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
10631         * sysdeps/aarch64/memset.S (__memset):
10632         Rewrite of optimized memset.
10634 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10636         [BZ #19703]
10637         Partially async-signal-safe fork for single-threaded processes.
10638         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
10639         variable.  Do not acquire and reset/release malloc and libio locks
10640         in single-threaded processes.
10641         * malloc/tst-mallocfork2.c: New file.
10642         * malloc/Makefile (tests): Add it.
10644 2016-05-12  Florian Weimer  <fweimer@redhat.com>
10646         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
10647         argument.  Use scratch buffer instead of extend_alloca.
10648         (gethosts): Use scratch buffer instead of extend_alloca.
10649         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
10650         extend_alloca.
10651         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
10653 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
10655         [BZ #20055]
10656         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
10657         instead of [__USE_UNIX98].
10658         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
10659         [__USE_UNIX98].
10660         * conform/data/termios.h-data (tcgetsid): Do not expect for
10661         [XPG3].
10662         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
10663         variable.
10664         (test-xfail-XPG4/termios.h/conform): Likewise.
10666 2016-05-11  Florian Weimer  <fweimer@redhat.com>
10668         Do not use mcheck in localedef.
10669         * locale/programs/localedef.c (turn_on_mcheck)
10670         (__malloc_initialize_hook): Remove.
10672 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10674         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
10675         * sysdeps/s390/s390-64/Makefile: Likewise.
10677 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
10679         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
10680         Remove ifunc-defines.sym.
10681         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
10682         Likewise.
10683         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
10684         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10685         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
10686         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
10687         rtld-global-offsets.sym.
10688         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
10689         * sysdeps/x86/cpu-features-offsets.sym: This.
10690         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
10691         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
10693 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
10695         [BZ #20073]
10696         * io/sys/stat.h (fchmod): Declare for
10697         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
10698         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
10699         variable.
10701         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
10702         [XPG3] (S_IFSOCK): Likewise.
10703         [XPG3] (S_ISVTX): Likewise.
10704         [XPG3] (S_ISLNK): Likewise.
10705         [XPG3] (S_ISSOCK): Likewise.
10706         [XPG3] (fchmod): Likewise.
10707         [XPG3] (lstat): Likewise.
10708         [XPG3] (mknod): Likewise.
10710         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
10711         [XPG3].  Expect type long and XFAIL for [XPG4].
10712         (st_blocks): Likewise.
10714         [BZ #20044]
10715         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
10716         (pthread_atfork): New prototype.
10717         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
10718         variable.
10720         [BZ #20043]
10721         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
10722         prototype.
10724 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10726         [BZ #20017]
10727         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
10728         gmtime.
10730 2016-05-10  Florian Weimer  <fweimer@redhat.com>
10732         [BZ #19994]
10733         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
10734         flag in _res.options.
10736 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
10738         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
10739         [XPG3 || XPG4].
10740         (blksize_t): Likewise.
10741         (clockid_t): Likewise.
10742         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
10743         variable.
10744         (test-xfail-XPG4/sys/types.h/conform): Likewise.
10746 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
10748         * sysdeps/unix/sysv/linux/s390/init-first.c:
10749         Add VDSO_SYMBOL(getcpu).
10750         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
10751         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
10752         Add VDSO_SYMBOL(getcpu).
10753         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
10754         New define HAVE_GETCPU_VSYSCALL.
10755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10757 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
10759         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
10760         instead of <sysdeps/x86_64/cacheinfo.c>.
10761         * sysdeps/x86_64/cacheinfo.c: Moved to ...
10762         * sysdeps/x86/cacheinfo.c: Here.
10764 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10766         * malloc/malloc-internal.h: Adjust header file guard.
10768 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10770         [BZ #19787]
10771         * inet/getnameinfo.c (check_sprintf_result): New function.
10772         (CHECKED_SNPRINTF): New macro.
10773         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
10774         to the host buffer.
10775         (gni_host_local): Use checked_copy to copy the host name.
10776         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
10777         (gni_serv_local): Use checked_copy to copy the service name.
10778         (getnameinfo): Remove unnecessary truncation of result buffers.
10780 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10782         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
10783         in case of inet_ntop failure.
10785 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10787         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
10788         avoid long lines.
10789         (gni_host_inet_numeric): Likewise.  Reduce scope of local
10790         variables.
10791         (gni_host_inet, gni_host_local): Add comment.
10792         (gni_host): Add comment.  Use temporary to avoid long lines.
10794 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10796         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
10797         registers specifiers where general purpose registers specifiers should
10798         have been used.
10800 2016-05-04  Florian Weimer  <fweimer@redhat.com>
10802         [BZ #19779]
10803         CVE-2016-1234
10804         Avoid copying names of directory entries.
10805         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
10806         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
10807         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
10808         (struct readdir_result): New type.
10809         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
10810         (GL_READDIR): New macros.
10811         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
10812         (convert_dirent, convert_dirent64): New functions.
10813         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
10814         convert_dirent64.  Adjust references to the readdir result.
10815         * sysdeps/unix/sysv/linux/i386/glob64.c:
10816         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
10817         * posix/bug-glob2.c (LONG_NAME): Define.
10818         (filesystem): Add LONG_NAME.
10819         (my_DIR): Increase the size of room_for_dirent.
10821 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
10823         [BZ #20041]
10824         * misc/sys/select.h (__need_timespec): Only define if
10825         [__USE_XOPEN2K].
10826         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
10827         variable.
10828         (test-xfail-XPG4/utmpx.h/conform): Likewise.
10829         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
10830         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
10832 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10833             Segher Boessenkool  <segher@gcc.gnu.org>
10835         [BZ #20004]
10836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
10837         (__novec_swapcontext): Add missing load.
10839 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
10841         [BZ #20023]
10842         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
10843         <time.h>.
10844         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
10845         variable.
10846         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
10848 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
10851         flags CLONE_VM compare.
10853 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10855         [BZ #20031]
10856         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
10857         completely empty.
10859 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10861         [BZ #19573]
10862         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
10863         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
10864         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
10865         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
10866         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
10867         (hesiod_free_list): Mark as hidden.
10868         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
10869         res_set, res_get.
10870         * hesiod/hesiod.c: Remove unnecessary forward declarations.
10871         (init, __hesiod_res_get, __hesiod_res_set): Remove.
10872         (hesiod_init): Remove obsolete res_ninit call.
10873         (hesiod_end): Do not free resolver state.  Do not invoke callback.
10874         (hesiod_bind): Do not call init.
10875         (get_txt_records): Use res_mkquery, res_send instead of
10876         res_nmkquery, res_nsend.
10877         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
10878         instead of _nss_hesiod_init.
10879         (_nss_hesiod_initgroups_dyn): Likewise.
10880         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
10881         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
10882         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
10884 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10886         * hesiod/hesiod_p.h (DEF_RHS): Remove.
10887         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
10889 2016-05-02  Florian Weimer  <fweimer@redhat.com>
10891         * hesiod/hesiod.h: Remove RCS keyword.
10892         * hesiod/hesiod_p.h: Likewise.
10894         * hesiod/hesiod.c: Likewise.
10896 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
10898         [BZ #12450]
10899         * locale/iso-639.def: Add Samogitian/sgs.
10901 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
10903         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
10905         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
10907 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
10908             Carlos O'Donell  <carlos@redhat.com>
10910         [BZ #19072]
10911         * grp/Makefile (headers): Add grp-merge.h
10912         (routines): Add grp-merge.
10913         * grp/getgrgid_r.c: Include grp-merge.h.
10914         (DEEPCOPY_FN): Define.
10915         (MERGE_FN): Define.
10916         * grp/getgrname_r.c: Include grp-merge.h.
10917         (DEEPCOPY_FN): Define.
10918         (MERGE_FN): Define.
10919         * grp/grp-merge.c: New file.
10920         * grp/grp-merge.h: New file.
10921         * include/grp-merge.h: New file.
10922         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
10923         __copy_grp@GLIBC_PRIVATE.
10924         * manual/nss.texi (Actions in the NSS configuration): Describe
10925         return, continue, and merge.
10926         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
10927         (DEEPCOPY_FN): Define.
10928         (MERGE_FN): Define.
10929         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
10930         (DEEPCOPY_FN): Define.
10931         (MERGE_FN): Define.
10932         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
10933         [!MERGE_FN]: Define __merge_einval.
10934         (CHECK_MERGE): Define.
10935         (REENTRANT_NAME): Process merge if do_merge is true.
10936         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
10937         (__nss_getent_r): Likewise.
10938         * nss/nsswitch.c (nss_parse_service_list): Likewise.
10939         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
10941 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10943         [BZ #20012]
10944         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
10945         length to calculate the buffer to read.
10946         (fmemopen_write): Set the buffer position based on bytes written.
10947         (fmemopen_seek): Return EINVAL for invalid whence modes.
10949         [BZ #19957]
10950         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
10951         tst-getpid2.
10952         (test): Add tst-clone2.
10953         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
10954         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
10955         pid/tid fields for CLONE_VM.
10956         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10957         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10958         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10959         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
10960         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10961         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10962         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10963         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10965         Likewise.
10966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10967         Likewise.
10968         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10969         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10970         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10971         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10972         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10973         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10974         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10975         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
10977 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10979         [BZ #19642]
10980         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
10981         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
10982         (gni_serv_local, gni_serv): New functions extracted from
10983         getnameinfo.
10984         (getnameinfo): Call gni_host and gni_serv to perform the
10985         processing.  Always free scratch buffer.
10987 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10989         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
10990         remaining bytes in the dest string, with zeros.
10992 2016-04-29  Florian Weimer  <fweimer@redhat.com>
10994         [BZ #20010]
10995         CVE-2016-3706
10996         * sysdeps/posix/getaddrinfo.c
10997         (convert_hostent_to_gaih_addrtuple): New function.
10998         (gethosts): Call convert_hostent_to_gaih_addrtuple.
10999         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11000         AF_INET data.
11002 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11004         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11005         callback function gl_readdir.
11006         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11007         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11008         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11009         memcpy to copy the name.
11010         * manual/pattern.texi (Calling Glob): Document requirements for
11011         implementations of the gl_readdir callback function.
11012         * manual/examples/mkdirent.c: New example.
11013         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11014         per the manual guidance.
11015         * posix/tst-gnuglob.c (my_readdir): Likewise.
11017 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11019         [BZ #20014]
11020         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11021         not [__USE_POSIX].
11022         (getchar_unlocked): Likewise.
11023         (putc_unlocked): Likewise.
11024         (putchar_unlocked): Likewise.
11025         (flockfile): Likewise.
11026         (ftrylockfile): Likewise.
11027         (funlockfile): Likewise.
11028         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11029         variable.
11030         (test-xfail-XPG4/stdio.h/conform): Likewise.
11032         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11033         Expect constant.
11034         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11035         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11036         variable.
11037         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11038         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11040         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11041         [__USE_LARGEFILE64] (off64_t): Likewise.
11042         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11043         variable.
11045 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11047         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11049 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11051         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11052         * resolv/res_init.c: Likewise.
11053         * resolv/res_mkquery.c: Likewise.
11055 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11057         * resolv/res_init.c (isascii): Do not define.  Use definition in
11058         <ctype.h>.
11059         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11060         (LOG_AUTH): Remove.
11061         (SPRINTF): Remove, adjust caller.
11062         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11064 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11066         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11067         SUNSECURITY conditional.
11068         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11070 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11072         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11073         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11074         Remove BSD-related preprocessor conditionals.
11075         * conf/portability.h: Remove.
11077 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11079         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11080         * resolv/res_data.c: Likewise.
11082 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11084         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11085         * resolv/res_data.c: Remove code conditional on ultrix.
11087 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11089         * resolv/res_init.c (RFC1535): Do not define.  Remove
11090         RFC1535 preprocessor conditionals.
11091         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11092         because there configuration options which make the resolver
11093         behavior different.
11095 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11097         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11098         RESOLVSORT preprocessor conditionals.
11099         * resolv/nss_dns/dns-host.c: Likewise.
11100         * resolv/res_init.c: Likewise.
11102 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11104         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11105         is never defined.
11107 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11109         * inet/inet_lnaof.c: Remove SCSS keyword.
11110         * inet/inet_mkadr.c: Likewise.
11111         * inet/inet_net.c: Likewise.
11112         * inet/inet_netof.c: Likewise.
11113         * inet/rcmd.c: Likewise.
11114         * inet/rexec.c: Likewise.
11115         * inet/ruserpass.c: Likewise.
11117 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11119         * resolv/inet_addr.c: Remove _LIBC conditionals.
11120         * resolv/res_data.c: Likewise.
11121         * resolv/res_init.c: Likewise.
11122         * resolv/res_mkquery.c: Likewise.
11123         * resolv/res_libc.c: Update comment.
11124         * resolv/README: Update.
11126 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11128         * resolv/gethnamaddr.c: Remove SCSS keyword.
11129         * resolv/herror.c: Likewise.
11130         * resolv/inet_addr.c: Likewise.
11131         * resolv/inet_net_ntop.c: Likewise.
11132         * resolv/inet_net_pton.c: Likewise.
11133         * resolv/inet_neta.c: Likewise.
11134         * resolv/inet_ntop.c: Likewise.
11135         * resolv/inet_pton.c: Likewise.
11136         * resolv/ns_date.c: Remove RCS keyword.
11137         * resolv/ns_name.c: Likewise.
11138         * resolv/ns_netint.c: Likewise.
11139         * resolv/ns_parse.c: Likewise.
11140         * resolv/ns_print.c: Likewise.
11141         * resolv/ns_samedomain.c: Likewise.
11142         * resolv/ns_ttl.c: Likewise.
11143         * resolv/nsap_addr.c: Likewise.
11144         * resolv/res_comp.c: Remove SCSS and RCS keyword.
11145         * resolv/res_data.c: Remove RCS keyword.
11146         * resolv/res_debug.c: Remove SCSS and RCS keyword.
11147         * resolv/res_init.c: Likewise.
11148         * resolv/res_mkquery.c: Likewise.
11149         * resolv/res_query.c: Likewise.
11150         * resolv/res_send.c: Likewise.
11152 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11154         * conform/data/stdio.h-data (fdopen): Expect also for
11155         [XPG3 || XPG4].
11157         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
11158         (fseeko): Likewise.
11159         (ftello): Likewise.
11160         (ftrylockfile): Likewise.
11161         (funlockfile): Likewise.
11162         (getc_unlocked): Likewise.
11163         (getchar_unlocked): Likewise.
11164         (putc_unlocked): Likewise.
11165         (putchar_unlocked): Likewise.
11167 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11169         [BZ #19868]
11170         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
11171         DNS packet syntax checks (which were not needed before).  Skip
11172         over non-PTR records.
11174 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11176         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
11177         definition.  Include <stddef.h> instead.
11179 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11181         [BZ #19831]
11182         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
11183         function.
11184         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
11185         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
11187 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11189         [BZ #19862]
11190         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
11191         (getanswer_r): Do not call syslog.
11192         (gaih_getanswer_slice): Likewise.
11193         * resolv/gethnamaddr.c (AskedForGot): Remove.
11194         (getanswer): Do not call syslog.
11195         (gethostbyaddr): Likewise.
11197 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
11199         * conform/data/signal.h-data (union sigval): Expect also if
11200         [XOPEN2K].
11201         (struct sigevent): Likewise.
11202         (SIGEV_NONE): Likewise.
11203         (SIGEV_SIGNAL): Likewise.
11204         (SIGEV_THREAD): Likewise.
11205         (SIGRTMIN): Likewise.
11206         (SIGRTMAX): Likewise.
11207         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
11208         variable.
11209         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11211 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11213         [BZ #19830]
11214         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
11215         (gaih_getanswer_slice): Likewise.
11216         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
11217         Also check for availability of RR metadata.
11219 2016-04-27  Florian Weimer  <fweimer@redhat.com>
11221         [BZ #19825]
11222         * resolv/res_send.c (send_vc): Remove early *resplen2
11223         initialization.  Set *resplen2 on socket error.  Call
11224         close_and_return_error for other errors.
11226 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11228         * sysdeps/unix/sysv/linux/netiucv/iucv.h
11229         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
11230         (SCM_IUCV_TRGCLS): New define.
11232 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11234         [BZ #20005]
11235         * libio/fmemopen.c (fmemopen_write): Update internal position after
11236         write.
11237         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
11238         * stdio-common/tst-fmemopen4.c: New file..
11240 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
11242         [BZ #19996]
11243         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
11244         not [__USE_XOPEN2K].
11245         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
11246         variable.
11248         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
11249         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
11250         variable.
11252         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
11253         [__USE_XOPEN2K8].
11254         [__USE_LARGEFILE64] (off64_t): Likewise.
11255         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
11256         variable.
11258 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
11260         [BZ #19989]
11261         * libio/stdio.h (cuserid): Do not declare if
11262         [__USE_XOPEN2K && !__USE_GNU].
11263         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
11264         variable.
11266 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11268         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11269         (sysdep_routines): Add P8 and PPC64 strcspn targets.
11270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11271         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
11272         ifunc'ed strcspn.
11273         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11274         [EALIGN]: Removed.
11275         [END]: Likewise
11276         [STRSPN]: Define instead of the above to control symbol name.
11277         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
11278         New file.
11279         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
11280         Likewise.
11281         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
11282         Likewise.
11283         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
11284         Likewise.
11285         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11286         [INITIAL_MASK]: New macro.
11287         [STRCSPN]: Likewise.
11288         [UPDATE_MASK]: Likewise.
11289         [USE_AS_STRCSPN]: Likewise.
11291 2016-04-25  Florian Weimer  <fweimer@redhat.com>
11293         [BZ #19931]
11294         * stdio-common/tst-vfprintf-width-prec.c: New file.
11295         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
11296         (tests-special): Add tst-vfprintf-width-prec-mem.out.
11297         (generated): Add mtrace-related files.
11298         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
11299         (tst-%-mem.out): New pattern rule, replaces
11300         tst-printf-bz18872-mem.out.
11301         * stdio-common/vfprintf.c (vfprintf): When handling a precision
11302         specifier, deallocate any previously allocated work buffer.
11304 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
11306         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
11307         Add nop before __startcontext, add explaining comments.
11309 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
11311         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
11312         any more. Notably since IPV6_PKTINFO has been reintroduced with a
11313         completely different API.
11315         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
11316         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
11317         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
11318         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
11319         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
11320         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
11321         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
11322         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
11323         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
11324         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
11326 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
11328         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
11330 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
11332         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
11333         when it is the default of 0.
11335 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11337         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
11338         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11339         (sysdep_routines): Add new strcasestr targets.
11340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11341         (__libc_ifunc_impl_list): Likewise.
11342         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
11343         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
11344         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
11345         * sysdeps/powerpc/powerpc64/power8/Makefile:
11346         New file to add strcasestr-ppc64 to sysdep_routines.
11347         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
11348         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
11350 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
11352         * benchtests/Makefile (wcsmbs-benchset): Include only for
11353         native builds and runs.
11354         (LOCALES): Likewise.
11355         (bench-build): Build timing-type here instead of the bench
11356         target.  Generate locale only for native builds.
11357         * benchtests/README: Add note for cross-building.
11359         * benchtests/Makefile (bench-clean): Clean up extra-objs.
11361         * benchtests/README: Update README to include instructions on
11362         using bench-build.
11364         * Makefile.in (bench-build): New target.
11365         * Rules (PHONY): Add bench-build target.
11366         * benchtests/Makefile (bench): Depend on bench-build.
11367         (bench-build): New target.
11369 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11371         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
11372         profil_reply_port.
11373         (profile_waiter): Do not initialize profil_reply_port.
11374         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
11375         frequency instead of tick length in us.
11377 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
11379         [BZ #18712]
11380         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
11381         (__old_mempcpy_small): Likewise.
11382         (__old_strcpy_small): Likewise.
11383         (__old_stpcpy_small): Likewise.
11384         (__old_strpbrk_c2): Fix compat symbol name.
11385         (__old_strpbrk_c3): Likewise.
11386         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
11387         (__mempcpy_small): Remove.
11388         (__strcpy_small): Remove.
11389         (__stpcpy_small): Remove.
11391 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
11393         [BZ #19400]
11394         * locale/iso-639.def: Add the Talossan/tzl language.
11396 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11398         [BZ #16983]
11399         * locale/programs/ld-address.c (address_finish): Update postal_fmt
11400         comment.  Add "ln" to strchr check on postal_fmt.
11402 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
11404         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
11405         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
11406         tel_dom_fmt.
11408 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11410         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11411         (sysdep_routines): Added __strlen_power8.
11412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
11413         __strlen_power8 entry.
11414         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
11415         Implementation for POWER8.
11416         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
11417         for __strlen_power8.
11418         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
11419         Implementation for POWER8.
11421 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
11423         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
11425 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
11427         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
11428         Goldmont and Airmont processors.
11430 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
11432         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
11433         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
11434         (__STRING2_SMALL_GET32): Remove.
11435         (memset): Remove.
11436         (__memset_1): Remove.
11437         (__memset_gc): Remove.
11438         (__mempcpy): Remove.
11439         (mempcpy): Remove.
11440         (__mempcpy_args): Remove.
11441         (strchr): Remove.
11442         (strcpy): Remove.
11443         (strcpy_args): Remove.
11444         (__stpcpy_args): Remove.
11445         (__strcmp_cc): Remove.
11446         (__strcmp_gc): Remove.
11447         (strstr): Remove.
11449 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
11451         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
11452         * nis/nis_call.c (nis_server_cache_add): Likewise.
11454 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11456         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
11458 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11460         * malloc/arena.c (__malloc_fork_lock_parent)
11461         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
11462         internal_function attribute.
11464 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
11466         * stdio-common/printf_fp.c (__printf_fp_l):
11467         Rename ___printf_fp_l to __printf_fp_l and
11468         remove strong alias. Use libc_hidden_def instead
11469         of ldbl_hidden_def macro.
11471 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11473         Remove malloc hooks from fork handler.  They are no longer needed
11474         because malloc runs right before fork, and no malloc calls from
11475         other fork handlers are not possible anymore.
11476         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
11477         declarations.
11478         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
11479         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
11480         (atfork_recursive_cntr): Remove.
11481         (__malloc_fork_lock_parent): Do not override malloc hooks and
11482         thread_arena.
11483         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
11484         thread_arena.
11485         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
11486         thread_arena instead of save_arena.
11488 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11490         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
11491         (thread_atfork, thread_atfork_static): Remove.
11492         * sysdeps/mach/hurd/malloc-machine.h:
11493         (thread_atfork, thread_atfork_static): Remove.
11495 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11497         [BZ #19431]
11498         Run the malloc fork handler as late as possible to avoid deadlocks.
11499         * malloc/malloc-internal.h: New file.
11500         * malloc/malloc.c: Include it.
11501         * malloc/arena.c (ATFORK_MEM): Remove.
11502         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
11503         Update comment.
11504         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
11505         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
11506         Remove outdated comment.
11507         (ptmalloc_init): Do not call thread_atfork.  Remove
11508         thread_atfork_static.
11509         * malloc/tst-malloc-fork-deadlock.c: New file.
11510         * Makefile (tests): Add tst-malloc-fork-deadlock.
11511         (tst-malloc-fork-deadlock): Link against libpthread.
11512         * manual/memory.texi (Aligned Memory Blocks): Update safety
11513         annotation comments.
11514         * sysdeps/nptl/fork.c (__libc_fork): Call
11515         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
11516         __malloc_fork_unlock_child.
11517         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
11519 2016-04-14  Florian Weimer  <fweimer@redhat.com>
11521         [BZ #19613]
11522         Remove union wait.
11523         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
11524         (w_stopsig, w_stopval): Remove.
11525         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
11526         stat_loc argument.
11527         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
11528         (__WAIT_STATUS_DEFN): Remove.
11529         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11530         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
11531         (wait, wait3, wait4): Use int * for the stat_loc argument.
11532         * posix/wait.c (__wait): Likewise.
11533         * posix/wait3.c (__wait3): Likewise.
11534         * posix/wait4.c (__wait4): Likewise.
11535         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
11536         (__WAIT_STATUS_DEFN): Remove.
11537         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
11538         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
11539         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
11540         argument.
11541         * sysdeps/posix/wait.c (__libc_wait): Likewise.
11542         * sysdeps/posix/wait3.c (__wait3): Likewise.
11543         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
11544         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11545         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
11546         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
11547         stat_loc argument.
11548         * manual/process.texi (BSD Wait Functions): Remove union wait.
11550 2016-04-13  Andreas Schwab  <schwab@suse.de>
11552         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
11553         (test-extras): Add tst-tlsalign-vars.
11554         * math/Makefile: Wrap long lines.
11555         (libm-vec-test-wrappers): Define.
11556         (test-extras): Add $(libm-vec-test-wrappers).
11557         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
11558         * nss/Makefile (extra-test-objs): Add nss_test1.os.
11559         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
11560         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
11561         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
11562         (extra-test-objs): Add corresponding objects.
11564 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
11566         [BZ #19928]
11567         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
11568         New.
11569         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
11570         times of shared cache size.
11571         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
11572         (VMOVNT): New.
11573         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
11574         (VMOVNT): Likewise.
11575         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
11576         (VMOVNT): Likewise.
11577         (VMOVU): Changed to movups for smaller code sizes.
11578         (VMOVA): Changed to movaps for smaller code sizes.
11579         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
11580         comments.
11581         (PREFETCH): New.
11582         (PREFETCH_SIZE): Likewise.
11583         (PREFETCHED_LOAD_SIZE): Likewise.
11584         (PREFETCH_ONE_SET): Likewise.
11585         Rewrite to use forward and backward loops, which move 4 vector
11586         registers at a time, to support overlapping addresses and use
11587         non temporal store if size is above the threshold and there is
11588         no overlap between destination and source.
11590 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
11592         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
11593         Include dl-vdso.
11594         * sysdeps/unix/sysv/linux/mips/Versions: Add
11595         __vdso_clock_gettime.
11596         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
11597         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
11598         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
11599         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
11600         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
11601         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
11602         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
11603         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11604         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11606 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11608         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
11609         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
11610         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
11611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
11612         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
11613         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
11614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
11615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
11616         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
11617         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
11618         syscalls generation.
11619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11620         [__NR_pwrite64] (__NR_write): Remove define.
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11622         [__NR_pwrite64] (__NR_write): Remove define.
11623         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
11624         Remove define.
11625         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
11626         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
11627         Remove define.
11628         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
11629         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
11630         Linux implementation as base.
11631         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
11633         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
11634         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
11635         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
11636         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
11637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
11638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
11639         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
11640         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
11641         syscall generation.
11642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11643         [__NR_pread64] (__NR_pread): Remove define.
11644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11645         [__NR_pread64] (__NR_pread): Likewise.
11646         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
11647         define.
11648         (__libc_pread): Use SYSCALL_LL macro on offset argument.
11649         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
11650         Remove define.
11651         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
11652         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
11653         Linux implementation as base.
11654         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
11655         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
11656         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
11658         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
11659         definition.
11660         (__ALIGNMENT_COUNT): Likewise.
11661         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
11662         (__ALIGNMENT_COUNT): Likewise.
11663         (SYSCALL_LL): New define.
11664         (SYSCALL_LL64): Likewise.
11665         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
11666         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
11667         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
11668         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
11670         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11671         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
11672         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11673         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11674         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11675         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
11677 2016-04-11  Florian Weimer  <fweimer@redhat.com>
11679         [BZ #19865]
11680         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
11681         original buffer before retry.
11683 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11685         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
11686         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
11687         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
11688         GLRO(dl_auxv) list.
11689         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
11690         including <ldsodefs.h>.
11691         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
11693 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
11695         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
11696         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
11697         $(CPPFLAGS).
11699 2016-04-09  Khem Raj  <raj.khem@gmail.com>
11701         [BZ #17950]
11702         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
11703         Add -mfpmath=387.
11705 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
11707         * sysdeps/i386/configure.ac: Change == to = when calling test.
11708         * sysdeps/x86_64/configure.ac: Likewise.
11709         * sysdeps/i386/configure: Regenerated.
11710         * sysdeps/x86_64/configure: Likewise.
11712 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
11714         [BZ #16137]
11715         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
11716         * benchtests/bench-strcoll.c (input_files): Likewise.
11717         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
11718         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
11719         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
11721 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
11723         [BZ #19929]
11724         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
11725         [__USE_XOPEN2K8 && !__USE_GNU].
11726         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
11727         variable.
11729         [BZ #19925]
11730         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
11731         define if [!__USE_MISC && __USE_XOPEN2K].
11732         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
11733         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
11734         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
11735         Likewise.
11736         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
11737         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
11738         variable.
11739         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11741 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11743         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
11744         (sysdep_routines): Add new strspn targets.
11745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11746         (__libc_ifunc_impl_list): Add strspn.
11747         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
11748         New file.
11749         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
11750         Likewise.
11751         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
11752         Likewise.
11753         * sysdeps/powerpc/powerpc64/power8/strspn.S:
11754         Likewise.
11756 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11758         * misc/hsearch_r.c: Include <limits.h>.
11760 2016-04-07  Florian Weimer  <fweimer@redhat.com>
11762         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
11764 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11766         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11767         (MEMCPY_SYMBOL): New.
11768         (MEMPCPY_SYMBOL): Likewise.
11769         (MEMMOVE_CHK_SYMBOL): Likewise.
11770         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
11771         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
11772         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
11773         Provide alias for memcpy in libc.a and ld.so.
11775 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11777         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
11778         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
11779         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
11780         Disabled fro now.
11781         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
11782         symbols.  Properly check USE_MULTIARCH on __memset symbols.
11784 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
11786         * benchtests/Makefile (string-benchset): Add memcpy-large,
11787         memmove-large and memset-large.
11788         * benchtests/bench-memcpy-large.c: New file.
11789         * benchtests/bench-memmove-large.c: Likewise.
11790         * benchtests/bench-memmove-large.c: Likewise.
11791         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
11793 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11795         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
11796         32-bit displacement to avoid long nop between instructions.
11798 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
11800         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
11801         a comment on VMOVU and VMOVA.
11803 2016-04-04  Florian Weimer  <fweimer@redhat.com>
11805         [BZ #19633]
11806         Use specified locale for number formatting in strfmon_l.
11807         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
11808         (__nl_lookup_word): New inline functions.
11809         * include/printf.h (__print_fp_l): Declare.
11810         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
11811         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
11812         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
11813         (___printf_fp): New function.
11814         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
11815         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
11816         * stdlib/tst-strfmon_l.c (do_test): New test.
11817         * stdlib/Makefile (tests): Add kt.
11818         (LOCALES): Build additional locales.
11819         (tst-strfmon_l.out): Require locales.
11821 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11823         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
11824         if not in libc.
11825         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11826         Likewise.
11827         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
11828         Likewise.
11829         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11830         Likewise.
11832 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
11834         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11835         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
11836         with unaligned_erms.
11837         (__memmove_erms): Skip if source == destination.
11838         (__memmove_unaligned_erms): Don't check source == destination
11839         first.
11841 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11843         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
11844         bit_arch_Fast_Copy_Backward for Intel Core proessors.
11846 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11848         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
11849         * string/strspn.c (strspn): Likewise.
11851 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11853         * benchtests/bench-memset.c (do_test): Support 64-byte
11854         alignment.
11855         (test_main): Test 64-byte alignment.
11857 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11859         * benchtests/bench-memmove.c (test_main): Test 64-byte
11860         alignment.
11862 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
11864         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
11866 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11868         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
11869         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
11870         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
11872         * string/strpbrk.c (strpbrk): Rewrite function.
11873         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
11874         (__strpbrk_c2): Likewise.
11875         (__strpbrk_c3): Likewise.
11876         * string/string-inlines.c
11877         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
11878         Likewise.
11879         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
11880         Likewise.
11882         * string/strspn.c (strcspn): Rewrite function.
11883         * string/bits/string2.h (strspn): Use __builtin_strcspn.
11884         (__strspn_c1): Remove inline function.
11885         (__strspn_c2): Likewise.
11886         (__strspn_c3): Likewise.
11887         * string/string-inlines.c
11888         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
11889         compatibility symbol.
11890         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
11891         Likewise.
11892         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
11893         Likewise.
11894         * string/string-inlines.c: Include generic version.
11896 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
11897             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11899         * string/Version (libc): Add GLIBC_2.24.
11900         * string/strcspn.c (strcspn): Rewrite function.
11901         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
11902         (__strcspn_c1): Remove inline function.
11903         (__strcspn_c2): Likewise.
11904         (__strcspn_c3): Likewise.
11905         * string/string-inline.c
11906         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
11907         compatibility symbol.
11908         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
11909         Likewise.
11910         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
11911         Likewise.
11912         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
11914 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11916         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
11917         Use ahi instead of aghi to adjust stack pointer.
11919 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11921         [BZ #19853]
11922         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
11923         TEST to take significant digits as second parameter.
11924         [TEST]: Redefine in terms of TEST_N taking 30
11925         significant digits.
11926         (do_test): Add test case to demonstrate precision
11927         failure in the ldbl-128ibm printf.
11928         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
11929         (__mpn_extract_long_double): Carry 7 extra intermediate
11930         bits of precision to aide computing difference when
11931         signs differ.
11933 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11935         [BZ #19881]
11936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11937         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
11938         memset-avx512-unaligned-erms.
11939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11940         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
11941         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
11942         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
11943         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
11944         __memset_sse2_unaligned_erms, __memset_erms,
11945         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
11946         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
11947         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
11948         file.
11949         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11950         Likewise.
11951         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
11952         Likewise.
11953         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
11954         Likewise.
11956 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
11958         [BZ #19776]
11959         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11960         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
11961         memmove-avx512-unaligned-erms.
11962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11963         (__libc_ifunc_impl_list): Test
11964         __memmove_chk_avx512_unaligned_2,
11965         __memmove_chk_avx512_unaligned_erms,
11966         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
11967         __memmove_chk_sse2_unaligned_2,
11968         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
11969         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
11970         __memmove_avx512_unaligned_erms, __memmove_erms,
11971         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
11972         __memcpy_chk_avx512_unaligned_2,
11973         __memcpy_chk_avx512_unaligned_erms,
11974         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
11975         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
11976         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
11977         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
11978         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
11979         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
11980         __mempcpy_chk_avx512_unaligned_erms,
11981         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
11982         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
11983         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
11984         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
11985         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
11986         __mempcpy_erms.
11987         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
11988         file.
11989         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11990         Likewise.
11991         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
11992         Likewise.
11993         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
11994         Likewise.
11996 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11998         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
11999         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12000         (La_s390_64_regs): Likewise.
12001         (La_s390_32_retval): Append vector register lrv_v24.
12002         (La_s390_64_retval): Likeweise.
12003         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12004         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12005         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12006         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12008 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12010         [BZ #19916]
12011         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12012         to create a non-vector/vector version for _dl_runtime_resolve and
12013         _dl_runtime_profile. Move implementation to ...
12014         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12015         (_dl_runtime_resolve) Save and restore fpr/vrs.
12016         (_dl_runtime_profile) Save and restore vrs and fix some issues
12017         if _dl_call_pltexit is called.
12018         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12019         Choose the correct resolver function if running on a machine with vx.
12020         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12021         to create a non-vector/vector version for _dl_runtime_resolve and
12022         _dl_runtime_profile. Move implementation to ...
12023         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12024         (_dl_runtime_resolve) Save and restore fpr/vrs.
12025         (_dl_runtime_profile) Save and restore vrs and fix some issues
12026         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12027         Choose the correct resolver function if running on a machine with vx.
12029 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12031         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12033 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12035         [BZ #19509]
12036         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12037         skip_map != NULL.
12038         * elf/tst-dlsym-error.c: New file.
12039         * elf/Makefile (tests): Add tst-dlsym-error.
12040         (tst-dlsym-error): Link against libdl.
12042 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12045         (__ASSUME_FUTIMESAT): Remove macro.
12046         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12048 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12050         [BZ #19879]
12051         CVE-2016-3075
12052         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12053         copy name.
12055 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12057         [BZ #19837]
12058         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12059         error if parse_line fails.
12061 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12063         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12064         (index_cpu_ERMS): Likewise.
12065         (reg_ERMS): Likewise.
12067 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12069         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12070         PER_LINUX_FDPIC): Add.
12072 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12075         memcpy-avx512-no-vzeroupper.
12076         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12077         to ...
12078         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12079         (MEMCPY): Don't define.
12080         (MEMCPY_CHK): Likewise.
12081         (MEMPCPY): Likewise.
12082         (MEMPCPY_CHK): Likewise.
12083         (MEMPCPY_CHK): Renamed to ...
12084         (__mempcpy_chk_avx512_no_vzeroupper): This.
12085         (MEMPCPY_CHK): Renamed to ...
12086         (__mempcpy_chk_avx512_no_vzeroupper): This.
12087         (MEMCPY_CHK): Renamed to ...
12088         (__memmove_chk_avx512_no_vzeroupper): This.
12089         (MEMCPY): Renamed to ...
12090         (__memmove_avx512_no_vzeroupper): This.
12091         (__memcpy_avx512_no_vzeroupper): New alias.
12092         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12094 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12096         [BZ #18858]
12097         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12098         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12099         and mempcpy-avx512-no-vzeroupper.
12100         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12101         New.
12102         (MEMPCPY): Likewise.
12103         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12104         (MEMPCPY_CHK): New.
12105         (MEMPCPY): Likewise.
12106         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12107         (MEMPCPY): Likewise.
12108         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12109         (MEMPCPY): Likewise.
12110         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12111         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12112         Likewise.
12113         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12114         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12116 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12117              Amit Pawar  <Amit.Pawar@amd.com>
12119         [BZ #19583]
12120         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12121         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12122         processors.  Set Fast_Copy_Backward for AMD Excavator
12123         processors.
12124         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12125         New.
12126         (index_arch_Fast_Unaligned_Copy): Likewise.
12127         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12128         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12130 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12132         [BZ #19791]
12133         * resolv/res_send.c (close_and_return_error): New function.
12134         (send_dg): Initialize *resplen2 after reopen failure.  Call
12135         close_and_return_error for error returns.  On error paths without
12136         __res_iclose, initialze *resplen2 explicitly.  Update comment for
12137         successful return.
12139 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12141         [BZ# 19860]
12142         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
12143         zero if the compiler does not provide the AVX512F bit.
12145 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
12147         [BZ #19848]
12148         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
12149         from 8 to 4.
12150         (__ieee754_powl): Compare integer exponent against 4 not 8.
12151         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
12152         from 8 to 4.
12153         (__ieee754_powl): Compare integer exponent against 4 not 8.
12154         * math/auto-libm-test-in: Add more tests of pow.
12155         * math/auto-libm-test-out: Regenerated.
12156         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
12157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12159 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12161         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
12162         Make code unconditional.
12163         [!__NR_utimensat]: Remove conditional code.
12164         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
12165         Make code unconditional.
12166         [!__NR_utimensat]: Remove conditional code.
12167         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
12168         Make code unconditional.
12169         [!__NR_utimensat]: Remove conditional code.
12171 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
12173         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
12174         Make code unconditional.
12176 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
12178         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
12179         call-clobbered %eax on retry path.
12180         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12182 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12184         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
12185         Don't set %rcx twice before "rep movsb".
12187 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
12189         [BZ #19583]
12190         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
12191         inline.  Check family before setting family, model and
12192         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
12193         bits here.
12194         (init_cpu_features): Replace HAS_CPU_FEATURE and
12195         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
12196         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
12197         for Intel processors with usable AVX2.  Call get_common_indeces
12198         for other processors with family == NULL.
12199         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
12200         (CPU_FEATURES_ARCH_P): Likewise.
12201         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
12202         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
12204 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12206         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
12207         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
12208         $(shared-thread-library) instead of hardcoding the path to libpthread.
12210 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
12212         * sysdeps/unix/sysv/linux/kernel-features.h
12213         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
12214         * sysdeps/unix/sysv/linux/getdents.c
12215         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
12216         [!have_no_getdents64_defined]: Likewise.
12217         (__GETDENTS): Remove __have_no_getdents64 conditional.
12219 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
12221         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
12222         Remove macro.
12223         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
12224         <kernel-features.h>.
12225         (signalfd) [__NR_signalfd4]: Make code unconditional.
12226         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
12228 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12230         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
12231         style.
12233 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
12235         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
12236         (__pthread_enable_asynccancel): Use JUMPTARGET to call
12237         __pthread_unwind.
12238         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12239         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
12240         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12241         (__condvar_cleanup1): Likewise.
12243 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
12245         [BZ #19822]
12246         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
12247         move it to the final $@ location.
12249 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12251         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
12252         access where posix_spawn success and pid argument is null.
12253         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
12254         success case.
12256 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
12258         * sysdeps/mach/hurd/i386/c++-types.data: New file.
12260         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
12262         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
12263         and __fcntl.
12264         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
12265         __fcntl only.
12266         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
12267         adding attribute_hidden to __open and __fcntl.
12269         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
12270         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
12271         depend on libc-modules.h,
12272         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
12274 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
12276         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
12277         Remove macro.
12278         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
12279         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
12280         entry.
12282         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
12283         Remove macro.
12284         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
12285         include <kernel-features.h>.
12286         [!__ASSUME_FALLOCATE]: Remove conditional code.
12287         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
12289 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
12291         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
12292         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
12293         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
12294         (_ZGVdN4v_cos_avx2): Likewise.
12295         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
12296         (_ZGVdN4v_cos): Likewise.
12297         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
12298         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
12299         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
12300         (_ZGVdN4v_exp_avx2): Likewise.
12301         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
12302         (_ZGVdN4v_exp): Likewise.
12303         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
12304         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
12305         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
12306         (_ZGVdN4v_log_avx2): Likewise.
12307         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
12308         (_ZGVdN4v_log): Likewise.
12309         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
12310         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
12311         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
12312         (_ZGVdN4vv_pow_avx2): Likewise.
12313         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
12314         (_ZGVdN4vv_pow): Likewise.
12315         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
12316         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
12317         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
12318         (_ZGVdN4v_sin_avx2): Likewise.
12319         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
12320         (_ZGVdN4v_sin): Likewise.
12321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
12322         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
12323         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
12324         (_ZGVdN4vvv_sincos_avx2): Likewise.
12325         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
12326         (_ZGVdN4vvv_sincos): Likewise.
12327         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
12328         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
12329         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
12330         (_ZGVbN4v_cosf_sse4): Likewise.
12331         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
12332         (_ZGVdN8v_cosf_avx2): Likewise.
12333         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
12334         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
12335         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
12336         (_ZGVbN4v_expf_sse4): Likewise.
12337         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
12338         (_ZGVdN8v_expf_avx2): Likewise.
12339         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
12340         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
12341         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
12342         (_ZGVbN4v_logf_sse4): Likewise.
12343         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
12344         (_ZGVdN8v_logf_avx2): Likewise.
12345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
12346         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
12347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
12348         (_ZGVbN4vv_powf_sse4): Likewise.
12349         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
12350         (_ZGVdN8vv_powf_avx2): Likewise.
12351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12352         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
12353         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12354         (_ZGVbN4vvv_sincosf_sse4): Likewise.
12355         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12356         (_ZGVdN8vvv_sincosf_avx2): Likewise.
12357         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
12358         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
12359         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
12360         (_ZGVbN4v_sinf_sse4): Likewise.
12361         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
12362         (_ZGVdN8v_sinf_avx2): Likewise.
12363         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12364         Use JUMPTARGET to call callee.
12365         (WRAPPER_IMPL_SSE2_ff): Likewise.
12366         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12367         (WRAPPER_IMPL_AVX): Likewise.
12368         (WRAPPER_IMPL_AVX_ff): Likewise.
12369         (WRAPPER_IMPL_AVX_fFF): Likewise.
12370         (WRAPPER_IMPL_AVX512): Likewise.
12371         (WRAPPER_IMPL_AVX512_ff): Likewise.
12372         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
12373         Likewise.
12374         (WRAPPER_IMPL_SSE2_ff): Likewise.
12375         (WRAPPER_IMPL_SSE2_fFF): Likewise.
12376         (WRAPPER_IMPL_AVX): Likewise.
12377         (WRAPPER_IMPL_AVX_ff): Likewise.
12378         (WRAPPER_IMPL_AVX_fFF): Likewise.
12379         (WRAPPER_IMPL_AVX512): Likewise.
12380         (WRAPPER_IMPL_AVX512_ff): Likewise.
12381         (WRAPPER_IMPL_AVX512_fFF): Likewise.
12383 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12385         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
12386         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
12387         qualifier.
12388         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
12389         internal_function qualifiers.
12391 2016-03-15  Carlos O'Donell <carlos@redhat.com>
12393         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
12394         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
12395         * math/atest-exp.c (exp_mpn): Mark chk unused.
12396         * math/atest-exp2.c (exp_mpn): Likewise.
12397         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
12398         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
12400 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
12402         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
12403         Remove macro.
12404         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
12405         <kernel-features.h>.
12406         [__NR_ppoll]: Make code unconditional.
12407         [!__ASSUME_PPOLL]: Remove conditional code.
12409         * sysdeps/unix/sysv/linux/kernel-features.h
12410         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
12411         (__ASSUME_ACCEPT4): Likewise.
12412         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12413         Define.
12414         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
12415         Likewise.
12416         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12417         Likewise.
12418         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
12419         Likewise.
12420         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
12421         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
12422         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12423         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12424         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12425         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12427         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12428         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12429         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12430         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12431         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12432         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12433         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12434         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12435         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12436         Likewise.
12437         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12438         Likewise.
12439         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12440         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12441         0x040300].
12442         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12443         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12444         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12445         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12446         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12447         0x030300].
12448         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
12449         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12450         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12451         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
12452         0x040300].
12453         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12454         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12455         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12456         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12457         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12458         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
12459         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
12460         0x030300].
12461         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12462         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12463         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12464         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12465         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12466         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12467         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12468         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12469         * sysdeps/unix/sysv/linux/s390/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/sh/kernel-features.h
12476         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12477         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12478         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12479         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12480         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12481         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12482         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12483         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12484         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12485         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12486         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12487         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
12488         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12489         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12490         Likewise.
12491         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12492         Likewise.
12494 2016-03-15  Andreas Schwab  <schwab@suse.de>
12496         [BZ #19257]
12497         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
12498         statp->_u._ext.nscount as loop count.
12500 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
12502         * math/test-signgam-finite-c99.c: Also #undef
12503         __LIBC_INTERNAL_MATH_INLINES.
12504         * math/test-signgam-main.c: Likewise.
12506 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
12508         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
12509         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12510         (MADV_FREE): Likewise.
12511         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
12512         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
12513         EPOLLEXCLUSIVE.
12515 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
12517         * timezone/README: Remove mention of checktab.awk. Mention wiki
12518         SharedSourceFiles.
12520 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
12522         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
12523         WUNTRACED.
12525 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12527         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
12528         order to match the type of p when calling atomic_exchange_acq().
12530 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12532         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
12533         cfi_offset calls.
12534         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
12535         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
12536         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
12537         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
12538         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
12540 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
12542         * timezone/checktab.awk: Removed.
12544 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
12546         * manual/math.texi (Errors in Math Functions): Document relaxed
12547         accuracy goals for IBM long double.
12548         * math/libm-test.inc (test_exceptions): Always allow spurious
12549         "underflow" and "inexact" exceptions for IBM long double.
12551 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
12553         [BZ #19762]
12554         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12555         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
12556         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
12557         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
12558         (bit_arch_*): This for feature array.
12559         (bit_*): Renamed to ...
12560         (bit_cpu_*): This for cpu array.
12561         (index_*): Renamed to ...
12562         (index_arch_*): This for feature array.
12563         (index_*): Renamed to ...
12564         (index_cpu_*): This for cpu array.
12565         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
12566         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
12567         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
12568         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
12569         bit_##name with index_cpu_##name and bit_cpu_##name.
12570         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
12571         bit_##name with index_arch_##name and bit_arch_##name.
12573 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
12575         [BZ #19792]
12576         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
12577         Terminate FDE before return label.
12579 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
12581         [BZ #19790]
12582         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
12583         (rintl): Define as macro.
12584         [USE_AS_NEARBYINTL] (__rintl): Likewise.
12585         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
12586         of fesetround.  Ensure results are evaluated before end of scope.
12587         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
12588         USE_AS_NEARBYINTL and include s_rintl.c.
12589         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
12590         Disable exception traps in new environment.
12591         (libc_feholdsetround_ppc_ctx): Likewise.
12593 2016-03-08  Roland McGrath  <roland@hack.frob.com>
12595         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
12596         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
12597         (tst_audit10_aux) [__AVX512F__]: ... here.
12599 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
12601         * include/sys/auxv.h: New file.
12603 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12605         [BZ #19759]
12606         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
12608 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12610         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
12611         operand modifier.
12612         (feclearexcept): Likewise.
12614 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12616         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
12617         to reflect the entire 32-bit HWCAP.
12618         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
12619         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
12621 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
12623         [BZ #19783]
12624         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
12625         $(test-via-rtld-prefix).
12626         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
12628 2016-03-08  Florian Weimer  <fweimer@redhat.com>
12630         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
12631         union wait.  Report any non-zero exit status as error.
12633 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12635         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
12636         configured with --enable-hardcoded-path-in-tests.
12638 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
12640         [BZ #19677]
12641         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
12642         (__ieee754_remainderl): Put zero low parts in canonical form.
12643         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
12644         file.  Based on
12645         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
12646         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
12647         with wrapper round test-fmodrem-ldbl-128ibm.c.
12648         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
12649         file.
12650         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
12651         Likewise.
12652         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
12653         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
12655 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12657         [BZ #19610]
12658         * elf/ldconfig.c (opt_link): Update comment.
12659         (options): Update help string for option -X.
12660         (search_dir): Unlink stale symbolic link only if updating symbolic
12661         links.
12662         * elf/tst-ldconfig-X.sh: New file.
12663         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
12664         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
12666 2016-03-07  Andreas Schwab  <schwab@suse.de>
12668         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
12669         needed arguments.
12671 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
12673         [BZ #15333]
12674         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
12675         to lstat64.
12677 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12679         * libio/filedoalloc.c (isatty): Remove.
12680         (local_isatty): Add comment.  Call __isatty directly.
12681         (_IO_file_doallocate): Update comment.  Assume _LIBC.
12682         * libio/wfiledoalloc.c (isatty): Remove.
12683         (_IO_wfile_doallocate): Update comment.
12685 2016-03-07  Florian Weimer  <fweimer@redhat.com>
12687         [BZ #19269]
12688         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
12689         tst-audit4-aux.o.
12690         (tst-audit10): Depend on tst-audit10-aux.o.
12691         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
12692         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
12693         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
12694         instead of inline AVX code.
12695         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
12696         instead of inline AVX512 code.
12697         * sysdeps/x86_64/tst-audit4-aux.c: New file
12698         * sysdeps/x86_64/tst-audit10-aux.c: New file
12700         [BZ #19648]
12701         * test-skeleton.c (main): Do not set RLIMIT_DATA.
12703 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12705         [BZ #14750]
12706         [BZ #10354]
12707         [BZ #18433]
12708         * include/sched.h (__clone): Add hidden prototype.
12709         (__clone2): Likewise.
12710         * include/unistd.h (__dup): Likewise.
12711         * posix/Makefile (tests): Add tst-spawn2.
12712         * posix/tst-spawn2.c: New file.
12713         * sysdeps/posix/dup.c (__dup): Add hidden definition.
12714         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
12715         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12716         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12717         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12718         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12719         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
12720         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12721         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
12722         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12723         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12725         Likewise.
12726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12727         Likewise.
12728         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12729         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12730         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12731         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12732         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12733         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12734         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12735         * sysdeps/unix/sysv/linux/nptl-signals.h
12736         (____nptl_is_internal_signal): New function.
12737         * sysdeps/unix/sysv/linux/spawni.c: New file.
12739         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
12740         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
12741         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
12742         * posix/tst-execvp2.c (do_test): Likewise.
12743         * posix/tst-execvp3.c (do_test): Likewise.
12744         * posix/tst-execvp4.c (do_test): Likewise.
12745         * posix/tst-execvpe1.c: New file.
12746         * posix/tst-execvpe2.c: Likewise.
12747         * posix/tst-execvpe3.c: Likewise.
12748         * posix/tst-execvpe4.c: Likewise.
12749         * posix/tst-execvpe5.c: Likewise.
12750         * posix/tst-execvpe6.c: Likewise.
12752         [BZ #19534]
12753         * posix/execl.c (execl): Remove dynamic memory allocation.
12754         * posix/execle.c (execle): Likewise.
12755         * posix/execlp.c (execlp): Likewise.
12757 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12759         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
12760         Replace .text with .text.avx512.
12761         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
12762         Likewise.
12764 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
12766         * sysdeps/generic/libnsl.abilist: New file.
12767         * sysdeps/generic/libutil.abilist: New file.
12769 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
12771         [BZ #19762]
12772         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
12773         HAS_ARCH_FEATURE with Fast_Rep_String.
12774         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
12775         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
12776         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
12777         Likewise.
12778         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
12779         Likewise.
12780         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
12781         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
12782         Likewise.
12783         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
12784         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
12785         Likewise.
12787 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12789         [BZ #19745]
12790         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
12791         with *%rax in call.
12793 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12795         [BZ #19745]
12796         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
12797         with *__libc_start_main@GOTPCREL(%rip) in call.
12799 2016-03-04  Roland McGrath  <roland@hack.frob.com>
12801         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
12802         inside conditional for nonempty $(CXX).
12804         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
12805         nonempty.
12807         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
12808         to test for empty $(CXX) rather than $(CXX) of "no".
12810 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
12812         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
12814 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
12815             H.J. Lu  <hongjiu.lu@intel.com>
12817         [BZ #18880]
12818         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
12819         instead of Slow_BSF, and also check for Fast_Copy_Backward to
12820         enable __memcpy_ssse3_back.
12822 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12824         [BZ #19758]
12825         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
12826         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
12828 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12830         [BZ #19490]
12831         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
12832         (__fentry__): Likewise.
12834 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
12836         * gmon/Makefile (noprof): Add $(sysdep_noprof).
12837         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
12839 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12841         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
12842         __mcount_internal directly.
12843         (C_LABEL(__fentry__)): Likewise.
12844         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
12845         directly.
12847 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
12849         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12850         (__start_context): Call __setcontext directly.
12852 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
12854         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12855         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12856         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
12857         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12858         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12859         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12860         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
12861         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12862         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12863         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
12864         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12865         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12866         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12867         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12868         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12869         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12870         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
12871         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12872         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12873         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
12874         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
12875         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12876         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12877         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
12878         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
12879         Remove conditional code.
12880         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12881         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
12882         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12883         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12884         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
12885         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12886         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
12887         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12888         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
12889         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12890         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12891         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
12893 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
12895         * NEWS (2.23): Fix typo in bug 19048 text.
12897 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
12899         [BZ #14259]
12900         * Makeconfig: Rename msgcatdir to localedir.
12901         Rename inst_msgcatdir to inst_localedir.
12902         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
12903         * config.make.in: Add localedir.
12904         * elf/Makefile ($(objpfx)sotruss): Use localedir.
12905         (ldd-rewrite): Likewise.
12906         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
12907         (install-others): Use inst_localedir.
12908         (CPPFLAGS): Use localedir.
12909         * locale/Makefile (locale-CPPFLAGS): Likewise.
12910         * po/Makefile (mo-installed): Use inst_localedir.
12912         [BZ #19575]
12913         * localedata/charmaps/GB18030: Update comments regarding PAU to
12914         non-PUA mappings.
12916 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
12918         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
12919         test for header.
12920         * sysdeps/unix/sysv/linux/configure: Regenerated.
12921         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
12922         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
12923         Remove conditional code.
12924         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
12926         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12927         Define to 3.2.0.
12928         (arch_minimum_kernel): Likewise.
12929         * sysdeps/unix/sysv/linux/configure: Regenerated.
12930         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
12931         Define to 2.6.32.
12932         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
12933         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
12934         (arch_minimum_kernel): Define to 2.6.32.
12935         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
12936         * README: Document Linux 3.2 requirement.
12937         * manual/install.texi (Linux): Document Linux 3.2 headers
12938         requirement.
12939         * INSTALL: Regenerated.
12941 2016-02-24  Andreas Schwab  <schwab@suse.de>
12943         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
12944         if !NO_LONG_DOUBLE.
12946 2016-02-22  Roland McGrath  <roland@hack.frob.com>
12948         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
12949         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
12951 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
12953         [BZ #19512]
12954         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
12956 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
12958         * posix/tst-dir.c: Include libc-internal.h.
12960 2016-02-20  Florian Weimer  <fweimer@redhat.com>
12962         [BZ #19056]
12963         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
12964         * manual/filesys.texi (Reading/Closing Directory): Mention
12965         deprecaion.
12966         * posix/tst-dir.c (main): Disable deprecation warning in test.
12968 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
12970         [BZ #19679]
12971         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
12972         Renamed to ...
12973         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
12974         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12975         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
12976         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12977         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12978         * sysdeps/x86_64/dl-trampoline.h
12979         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
12980         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
12982 2016-02-19  Mark Wielaard  <mjw@redhat.com>
12984         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
12986 2016-02-19  Mark Wielaard  <mjw@redhat.com>
12988         * elf/elf.h (R_386_GOT32X): New.
12989         (R_386_NUM): Update.
12990         (R_X86_64_GOTPCRELX: New.
12991         (R_X86_64_REX_GOTPCRELX): New.
12992         (R_X86_64_NUM): Update.
12994 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
12996         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
12998 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13000         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13001         assign attr->stackaddr to it, and adjust it down when
13002         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13003         [_STACK_GROWS_UP]: Delete assert.
13004         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13005         Implement stack grows up logic.
13006         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13007         stack grows up logic.
13009 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13011         * NEWS: Update with 2.24 template.
13013 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13015         [BZ #19678]
13016         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13017         Ensure +0.0 is returned when taking the next value below the least
13018         positive value.
13020 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13022         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13023         available.  Do not define NO_THREADS.
13024         * malloc/malloc.c: Do not check NO_THREADS.
13025         * malloc/arena.c: Likewise.
13027 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13029         * malloc/malloc.c (__libc_mallinfo): Update comment.
13030         (struct malloc_par): Remove max_total_mem member, it was always 0.
13031         (int_mallinfo): Store 0 into usmblks (no functional change).
13032         * malloc/hooks.c (struct malloc_state): Document that
13033         max_total_mem is always 0.
13034         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13035         always 0.
13036         * manual/memory.texi (Statistics of Malloc): Likewise.
13038 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13040         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13041         * malloc/arena.c (arena_max): Remove.
13042         (heap_trim, _int_new_arena): Do not update arena_max.
13044 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13046         * resolv/res_init.c (res_ninit): Update comment.
13048 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13050         [BZ #19505]
13051         * posix/spawn_int.h: Add headers and include guard.
13052         (__spawn_valid_fd): New function.
13053         * posix/spawn_faction_addopen.c
13054         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13055         * posix/spawn_faction_addclose.c
13056         (posix_spawn_file_actions_addclose): Likewise.
13057         * posix/spawn_faction_adddup2.c
13058         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13059         second file descriptor.
13060         * posix/spawn_valid_fd.c: New file.
13061         * posix/tst-posix_spawn-fd.c: New file.
13062         * posix/Makefile (routines): Add spawn_valid_fd.
13063         (tests): Add tst-posix_spawn-fd.
13065 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13067         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13068         (do_test): Limit the number of arenas, so that we can use fewer
13069         outer threads.  Limit timeout to 3 seconds, in preparation for a
13070         larger TIMEOUT value.
13072 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13074         [BZ #19674]
13075         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13076         sign in overflowing and underflowing results when overflow or
13077         underflow is detected early.  Include sign in result before rather
13078         than after scaling.
13080         [BZ #19603]
13081         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13082         (__ieee754_remainderl): Adjust sign of integer version of low part
13083         when taking absolute value of high part.
13084         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13085         * math/libm-test.inc (remainder_test_data): Add another test.
13086         (remquo_test_data): Likewise.
13088 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13090         [BZ #19602]
13091         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13092         equal high parts and both low parts zero specially.
13093         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13094         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13095         Add test-fmodl-ldbl-128ibm.
13097         [BZ #19595]
13098         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13099         common logic for all cases of shifting subnormal results.  Do not
13100         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13101         exponent to ldbl_insert_mantissa in subnormal case.
13103         [BZ #19594]
13104         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13105         on high and low parts then adjust result and use
13106         ldbl_canonicalize_int if needed.
13108         [BZ #19593]
13109         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13110         on high part and __floor or __ceil on low part then use
13111         ldbl_canonicalize_int if needed.
13113         [BZ #19592]
13114         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13115         high and low parts then use ldbl_canonicalize_int if needed.
13117         [BZ #17899]
13118         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13119         New function.
13120         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13121         on high and low parts then use ldbl_canonicalize_int if needed.
13123 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13125         * configure: Regenerated.
13127         * po/libc.pot: Regenerated.
13129         * po/be.po: Updated translation.
13130         * po/bg.po: Likewise.
13131         * po/ca.po: Likewise.
13132         * po/cs.po: Likewise.
13133         * po/da.po: Likewise.
13134         * po/el.po: Likewise.
13135         * po/eo.po: Likewise.
13136         * po/es.po: Likewise.
13137         * po/fi.po: Likewise.
13138         * po/fr.po: Likewise.
13139         * po/gl.po: Likewise.
13140         * po/hr.po: Likewise.
13141         * po/hu.po: Likewise.
13142         * po/ia.po: Likewise.
13143         * po/id.po: Likewise.
13144         * po/it.po: Likewise.
13145         * po/ja.po: Likewise.
13146         * po/lt.po: Likewise.
13147         * po/nb.po: Likewise.
13148         * po/nl.po: Likewise.
13149         * po/pt_BR.po: Likewise.
13150         * po/rw.po: Likewise.
13151         * po/sk.po: Likewise.
13152         * po/sl.po: Likewise.
13153         * po/sv.po: Likewise.
13154         * po/tr.po: Likewise.
13155         * po/zh_CN.po: Likewise.
13156         * po/zh_TW.po: Likewise.
13158         * version.h (RELEAES): Set to "development".
13159         (VERSION): Set to 2.23.90.
13161         * version.h (RELEASE): Set to "stable".
13162         (VERSION): Set to 2.23.
13163         * include/feature.h (__GLIBC_MINOR__): Set to 23.
13165         * NEWS: Updated fixed bugs.
13167 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
13168             Wilco Dijkstra  <wdijkstr@arm.com>
13170         [BZ #19462]
13171         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
13172         (_STRING_INLINE_unaligned): This.
13173         * include/string.h: Include <string_private.h>.
13174         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
13175         _STRING_INLINE_unaligned.
13176         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
13177         (_STRING_INLINE_unaligned): New.
13178         * sysdeps/aarch64/string_private.h: New file.
13179         * sysdeps/generic/string_private.h: Likewise.
13180         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
13181         * sysdeps/s390/string_private.h: Likewise.
13182         * sysdeps/x86/string_private.h: Likewise.
13183         * sysdeps/m68k/m680x0/m68020/bits/string.h
13184         (_STRING_ARCH_unaligned): Renamed to ...
13185         (_STRING_INLINE_unaligned): This.
13186         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
13187         to ...
13188         (_STRING_INLINE_unaligned): This.
13189         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
13190         to ...
13191         (_STRING_INLINE_unaligned): This.
13192         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
13193         to ...
13194         (_STRING_INLINE_unaligned): This.
13196 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
13197             H.J. Lu  <hongjiu.lu@intel.com>
13199         [BZ #19590]
13200         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
13201         relocation.
13203 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
13205         [BZ #18665]
13206         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
13207         *herrno_p.
13208         (gaih_getanswer): Document functional behviour. Return tryagain
13209         if any result is tryagain.
13210         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
13211         when freed.
13212         * resolv/res_send.c: Add copyright text.
13213         (__libc_res_nsend): Document that MAXPACKET is expected.
13214         (send_vc): Document. Remove buffer reuse.
13215         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
13216         size of the buffer. Add Dprint for truncated UDP buffer.
13218 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
13220         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
13221         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
13222         * INSTALL: Regenerate.
13224 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
13225             Jonathan Wakely  <jwakely@redhat.com>
13226             Carlos O'Donell  <carlos@redhat.com>
13228         [BZ 19439]
13229         * math/Makefile (tests): Add test-math-isinff.
13230         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
13231         * math/bits/mathcalls.h [__USE_MISC]: Use
13232         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
13233         functions not in C++11 and which don't conflict e.g. isinff,
13234         isinfl etc.
13235         * math/test-math-isinff.cc: New file.
13237 2016-02-12  Florian Weimer  <fweimer@redhat.com>
13239         * misc/bug18240.c (do_test): Set RLIMIT_AS.
13241 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13243         [BZ #19529]
13244         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
13246 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13248         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13250 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
13252         [BZ #19550]
13253         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
13254         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
13255         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
13256         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
13257         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
13258         New syscall entry.
13259         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
13260         New syscall entry.
13261         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
13262         syscall entry.
13264 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
13266         [BZ #18240]
13267         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
13268         unsigned int wraparound.
13270 2016-01-27  Florian Weimer  <fweimer@redhat.com>
13272         [BZ #18240]
13273         * misc/bug18240.c: New test.
13274         * misc/Makefile (tests): Add it.
13276 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
13277             Joseph Myers  <joseph@codesourcery.com>
13279         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
13280         load in branch delay slot when less than a word of input left.
13282 2016-01-27  Andreas Schwab  <schwab@suse.de>
13284         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
13285         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
13286         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
13287         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
13289 2016-01-26  David S. Miller  <davem@davemloft.net>
13291         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
13293 2016-01-25  David S. Miller  <davem@davemloft.net>
13295         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
13296         __sqrtl_finite.
13297         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
13298         instead using versioned_symbol.
13299         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
13300         of entries.
13302         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
13303         __sqrtl_finite to GLIBC_2.23
13305 2016-01-25  Ricchard Henderson  <rth@redhat.com>
13307         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13309 2016-01-25  Andreas Schwab  <schwab@suse.de>
13311         [BZ #17514]
13312         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
13313         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
13314         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
13315         * nptl/tst-mutex-errorcheck.c: New file.
13317 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13319         [BZ #18560]
13320         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
13321         (IPCOP_semop): Likewise.
13322         (IPCOP_semget): Likewise.
13323         (IPCOP_semctl): Likewise.
13324         (IPCOP_msgsnd): Likewise.
13325         (IPCOP_msgrcv): Likewise.
13326         (IPCOP_msgget): Likewise.
13327         (IPCOP_msgctl): Likewise.
13328         (IPCOP_shmat): Likewise.
13329         (IPCOP_shmdt): Likewise.
13330         (IPCOP_shmget): Likewise.
13331         (IPCOP_shmctl): Likewise.
13333 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13335         * string/tst-endian.c: Include <libc-internal.h>.
13336         (do_test): Ignore tautological-compare warnings around
13337         "htobeXX (beXXtoh (i)) != i" and
13338         "htoleXX (leXXtoh (i)) != i" if-statements.
13340 2016-01-24  David S. Miller  <davem@davemloft.net>
13342         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
13343         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
13344         alias.
13345         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
13346         __sqrtl_finite.
13348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13350 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
13352         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
13353         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
13354         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
13356 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13358         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
13359         (thread_func): Use new function to simplify barrier check.
13360         (do_test): Use new function to simplify checking barrier exit
13361         code, and actually join the child thread.
13363 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13365         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
13366         semicolon.
13367         (__libc_tend): Likewise.
13368         (__libc_tabort): Likewise.
13370 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
13372         * sysdeps/nios2/libm-test-ulps: Update.
13373         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
13374         (__gtsf2): Likewise.
13375         (__unorddf2): Likewise.
13376         (__unordsf2): Likewise.
13377         (__ledf2): Likewise.
13379 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
13381         * nis/nis_table.c (__follow_path): Disable diagnostic for
13382         uninitialized variable that is a false positive for gcc 4.7.
13383         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
13385 2016-01-20  Roland McGrath  <roland@hack.frob.com>
13387         * sysdeps/nacl/lowlevellock-futex.h
13388         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
13389         Always evaluate PRIVATE argument.
13391 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
13393         [BZ #19490]
13394         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
13395         (pthread_cond_broadcast): Use ENTRY/END
13396         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
13397         (pthread_cond_signal): Likewise.
13398         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
13399         Likewise.
13400         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
13401         Likewise.
13402         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
13403         Likewise.
13405 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
13407         * sysdeps/ieee754/dbl-64/s_finite.c
13408         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
13409         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
13410         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
13411         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
13412         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
13414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13415         (__gtsf2): Add as optional for libc.so.
13416         (__unordsf2): Likewise.
13417         (__signbit): Remove for libc.so.
13418         (__signbitl): Likewise.
13420 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
13422         * iconvdata/bug-iconv11.c (test_ibm93x):
13423         Use %zu printf format specifier for size_t argument.
13425 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
13427         * math/gen-libm-test.pl (parse_ulps): Do not reduce
13428         already-recorded ulps.
13429         * sysdeps/arm/libm-test-ulps: Regenerated.
13430         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13431         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13432         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13434 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13435             Paul Pluzhnikov  <ppluzhnikov@google.com>
13437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
13438         assembler not supporting AVX-512.
13440 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
13442         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13444 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
13446         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13447         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13449         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13451         * sysdeps/arm/libm-test-ulps: Regenerated.
13453 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
13455         [BZ #19451]
13456         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
13458 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13460         [BZ #19486]
13461         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
13462         * sysdeps/generic/fix-fp-int-convert-overflow.h
13463         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
13464         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
13465         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
13466         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
13467         Likewise.
13468         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
13469         Avoid conversions to long int where inexact exceptions
13470         could be raised.
13471         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
13472         Likewise.
13473         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
13474         Avoid conversions to long long int where inexact exceptions
13475         could be raised.
13476         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
13477         Likewise.
13479 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
13481         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
13482         * configure: Regenerated.
13484 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13486         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
13488 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
13490         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
13491         outside of comment.
13493 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13495         * nptl/tst-barrier1.c: Add description on first line.
13496         * nptl/tst-barrier2.c: Likewise.
13497         * nptl/tst-barrier3.c: Likewise.
13498         * nptl/tst-barrier4.c: Likewise.
13499         * nptl/tst-barrier5.c: Likewise.
13501 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13503         [BZ #18868]
13504         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
13506 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
13508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
13509         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
13510         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
13511         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
13512         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
13513         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
13514         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13515         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13516         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13517         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13518         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13520 2016-01-15  Torvald Riegel  <triegel@redhat.com>
13522         [BZ #13065]
13523         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
13524         new implementation.
13525         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
13526         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
13527         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
13528         (BARRIER_IN_THRESHOLD): New macro.
13529         * nptl/pthread_barrierattr_setpshared.c
13530         (pthread_barrierattr_setpshared): Clean up.
13531         * nptl/tst-barrier4.c: Correct comment.
13532         * nptl/tst-barrier5.c: New file.
13533         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
13534         (gen-as-const-headers): Remove lowlevelbarrier.sym.
13535         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
13536         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
13537         * nptl/lowlevelbarrier.sym: Remove.
13538         * nptl/DESIGN-barrier.txt: Remove.
13539         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
13540         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
13541         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
13542         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
13543         error.
13544         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
13545         implementation.
13547 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13549         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
13550         (do_child): Mask SIGRTMIN while thr is running.
13552 2016-01-15  Martin Sebor  <msebor@redhat.com>
13554         [BZ #19432]
13555         * iconvdata/Makefile: Add bug-iconv11.
13556         * iconvdata/bug-iconv11.c: New test.
13557         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
13558         * iconvdata/ibm933.c: Same.
13559         * iconvdata/ibm935.c: Same.
13560         * iconvdata/ibm937.c: Same.
13561         * iconvdata/ibm939.c: Same.
13563 2016-01-15  Martin Sebor  <msebor@redhat.com>
13565         [BZ #19443]
13566         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
13567         [DEBUG] (_ufc_set_bits): Declare used.
13568         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
13569         [DEBUG] (print_all): Declare used.
13570         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
13571         operands of the ternary ?: expression to target type.
13572         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
13573         calling the undeclared abort.
13574         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
13576 2016-01-15  Martin Sebor  <msebor@redhat.com>
13578         [BZ #18755]
13579         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
13580         warnings.
13581         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
13582         (__gai_create_helper_thread): Same.
13583         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
13584         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
13585         to suppress -Wmaybe-uninitialized warnings.
13587 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
13589         [BZ #19465]
13590         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
13591         inside if.
13592         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13593         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13594         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13596 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
13598         [BZ #19466]
13599         * time/tst-mktime2.c (time_t_max): Removed.
13600         (time_t_min): Likewise.
13601         (TYPE_SIGNED): New.
13602         (TYPE_MINIMUM): Likewise.
13603         (TYPE_MAXIMUM): Likewise.
13604         (TIME_T_MIN): Likewise.
13605         (TIME_T_MAX): Likewise.
13606         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
13607         and TIME_T_MIN.
13608         (do_test): Likewise.
13610 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
13612         [BZ #19467]
13613         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13614         index_Fast_Unaligned_Load flag for Excavator family CPUs.
13616 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
13618         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
13620 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
13622         * benchtests/Makefile (PYTHON): Define.
13623         (bench-func): Use $(PYTHON) to run python scripts.
13624         ($(objpfx)bench-%.c): Likewise.
13626 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
13628         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
13629         leading slash when `file_name' is "/".
13631 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
13633         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
13634         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
13635         Likewise.
13636         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
13637         Likewise.
13638         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
13639         Likewise.
13640         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
13641         enum constant and macro.
13642         (PTRACE_SETSIGMASK): Likewise.
13643         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13644         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
13645         (PTRACE_GETSIGMASK): Likewise.
13646         (PTRACE_SETSIGMASK): Likewise.
13647         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13648         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
13649         Likewise.
13650         (PTRACE_SETSIGMASK): Likewise.
13651         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13652         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
13653         (PTRACE_GETSIGMASK): Likewise.
13654         (PTRACE_SETSIGMASK): Likewise.
13655         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13656         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
13657         Likewise.
13658         (PTRACE_SETSIGMASK): Likewise.
13659         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13660         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
13661         Likewise.
13662         (PTRACE_SETSIGMASK): Likewise.
13663         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13664         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
13665         Likewise.
13666         (PTRACE_SETSIGMASK): Likewise.
13667         (PTRACE_SECCOMP_GET_FILTER): Likewise.
13669 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
13670             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13672         [BZ #19439]
13673         * math/bits/mathcalls.h
13674         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
13675         prototype.
13676         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
13678 2016-01-11  Andreas Schwab  <schwab@suse.de>
13680         [BZ #19253]
13681         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
13682         cache when TZDEFRULES was used.
13683         * time/tst-tzname.c: New file.
13684         * time/Makefile (test): Add tst-tzname.
13685         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
13686         * timezone/Makefile (test-zones): Add $(posixrules-file).
13687         ($(testdata)/$(posixrules-file)): New rule.
13689 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
13691         Fix doc quoting problems with Texinfo 5
13692         Without this change, in the info file output, Texinfo 5 quotes code
13693         in text with undirected single quotes 'like this' and generates
13694         code examples that with many PDF readers cannot be cut out of PDFs
13695         and pasted into code.
13696         * manual/libc.texinfo: Configure the libc manual like the GNU
13697         Emacs manual, by using @documentencoding and setting
13698         txicodequoteundirected and txicodequotebacktick.  This way,
13699         Texinfo 5 quotes code in text with directed single quotes ‘like
13700         this’ and produces examples that can be cut out of PDFs.  This
13701         change causes Texinfo 5 to generate info files that contain UTF-8
13702         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
13703         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
13705 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13707         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
13708         __libc_tabort, __libc_tend): New wrappers that enforce compiler
13709         barriers to their respective compiler built-ins.
13710         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
13711         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
13712         * sysdeps/powerpc/sysdep.h: Likewise.
13713         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
13714         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
13715         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
13717 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
13719         * scripts/config.guess: Revert previous shebang change.
13720         * scripts/config.sub: Likewise.
13721         * scripts/mkinstalldirs: Likewise.
13723 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13725         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
13726         PPC_FEATURE2_HAS_IEEE128.
13727         * sysdeps/powerpc/dl-procinfo.c:
13728         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
13730 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
13732         [BZ #19415]
13733         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
13734         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
13735         (_dl_lookup_address): Rewrite using function resolver trampoline.
13736         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
13737         two bits in address.
13739 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13741         * longlong.h: Change !__SHMEDIA__ to
13742         (!defined (__SHMEDIA__) || !__SHMEDIA__).
13743         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
13745 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
13746             Joseph Myers  <joseph@codesourcery.com>
13747             Mark Shinwell  <shinwell@codesourcery.com>
13748             Andrew Stubbs  <ams@codesourcery.com>
13749             Rich Felker <dalias@libc.org>
13751         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
13753 2016-01-07  Richard Henderson  <rth@redhat.com>
13755         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
13757 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
13759         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
13760         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
13761         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
13762         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
13763         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
13765 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
13766             Joseph Myers  <joseph@codesourcery.com>
13768         * timezone/private.h: Update from tzcode 2015g.
13769         * timezone/tzfile.h: Likewise.
13770         * timezone/tzselect.ksh: Likewise.
13771         * timezone/zdump.c: Likewise.
13772         * timezone/zic.c: Likewise.
13773         * timezone/ialloc.c: Remove file.
13774         * timezone/scheck.c: Likewise.
13775         * timezone/Makefile (extra-objs): Remove variable.
13776         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
13777         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
13778         -Wno-maybe-uninitialized.
13779         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
13780         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
13781         (CFLAGS-ialloc.c): Remove variable.
13782         (CFLAGS-scheck.c): Likewise.
13783         * timezone/README: Update list of files from tzcode.
13785 2016-01-07  Khem Raj  <raj.khem@gmail.com>
13787         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
13788         instead of __fxprintf when _LIBC is undefined.
13790 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
13792         * catgets/test-gencat.sh: Remove space after shebang.
13793         * conform/GlibcConform.pm: Likewise.
13794         * conform/check-header-lists.sh: Likewise.
13795         * conform/conformtest.pl: Likewise.
13796         * conform/linknamespace.pl: Likewise.
13797         * conform/list-header-symbols.pl: Likewise.
13798         * debug/catchsegv.sh: Likewise.
13799         * elf/genrtldtbl.awk: Likewise.
13800         * elf/tst-pathopt.sh: Likewise.
13801         * elf/tst-rtld-load-self.sh: Likewise.
13802         * grp/tst_fgetgrent.sh: Likewise.
13803         * iconvdata/gen-8bit-gap-1.sh: Likewise.
13804         * iconvdata/gen-8bit-gap.sh: Likewise.
13805         * iconvdata/gen-8bit.sh: Likewise.
13806         * iconvdata/run-iconv-test.sh: Likewise.
13807         * intl/tst-gettext.sh: Likewise.
13808         * intl/tst-gettext2.sh: Likewise.
13809         * intl/tst-gettext4.sh: Likewise.
13810         * intl/tst-gettext6.sh: Likewise.
13811         * intl/tst-translit.sh: Likewise.
13812         * io/ftwtest-sh: Likewise.
13813         * libio/test-freopen.sh: Likewise.
13814         * locale/gen-translit.pl: Likewise.
13815         * malloc/tst-mtrace.sh: Likewise.
13816         * manual/check-safety.sh: Likewise.
13817         * manual/libc-texinfo.sh: Likewise.
13818         * manual/tsort.awk: Likewise.
13819         * manual/xtract-typefun.awk: Likewise.
13820         * nptl/tst-cancel-wrappers.sh: Likewise.
13821         * nptl/tst-tls6.sh: Likewise.
13822         * posix/globtest.sh: Likewise.
13823         * posix/tst-getconf.sh: Likewise.
13824         * posix/wordexp-tst.sh: Likewise.
13825         * scripts/check-c++-types.sh: Likewise.
13826         * scripts/check-local-headers.sh: Likewise.
13827         * scripts/config.guess: Likewise.
13828         * scripts/config.sub: Likewise.
13829         * scripts/cpp: Likewise.
13830         * scripts/cross-test-ssh.sh: Likewise.
13831         * scripts/documented.sh: Likewise.
13832         * scripts/evaluate-test.sh: Likewise.
13833         * scripts/gen-libc-abis: Likewise.
13834         * scripts/gen-sorted.awk: Likewise.
13835         * scripts/list-fixed-bugs.py: Likewise.
13836         * scripts/merge-test-results.sh: Likewise.
13837         * scripts/mkinstalldirs: Likewise.
13838         * scripts/rellns-sh: Likewise.
13839         * scripts/test-installation.pl: Likewise.
13840         * scripts/update-copyrights: Likewise.
13841         * stdio-common/tst-printf.sh: Likewise.
13842         * stdio-common/tst-unbputc.sh: Likewise.
13843         * stdlib/tst-fmtmsg.sh: Likewise.
13844         * stdlib/tst-setcontext3.sh: Likewise.
13845         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
13846         * sysdeps/unix/make-syscalls.sh: Likewise.
13848 2016-01-06  John David Anglin  <dave.anglin@bell.net>
13850         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
13851         asm stw with atomic_exchange_rel.  Add explanatory comment.
13852         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
13853         Likewise.
13855 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13857         [BZ #19122]
13858         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
13859         * sysdeps/generic/dl-unistd.h: New file.
13860         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
13862 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
13864          [BZ #19122]
13865          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
13866          * sysdeps/generic/dl-mman.h: New file.
13867          * sysdeps/mach/hurd/dl-mman.h: Likewise.
13869 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
13871         * manual/texinfo.tex: Update to version 2016-01-04.21 with
13872         trailing whitespace removed.
13873         * scripts/config.guess: Update to version 2016-01-01.
13874         * scripts/config.sub: Update to version 2016-01-01.
13875         * scripts/move-if-change: Update from gnulib.
13877 2016-01-04  Anton Blanchard  <anton@samba.org>
13879         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
13880         for array indices.
13881         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
13883 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
13885         * NEWS: Update copyright dates.
13886         * catgets/gencat.c (print_version): Likewise.
13887         * csu/version.c (banner): Likewise.
13888         * debug/catchsegv.sh: Likewise.
13889         * debug/pcprofiledump.c (print_version): Likewise.
13890         * debug/xtrace.sh (do_version): Likewise.
13891         * elf/ldconfig.c (print_version): Likewise.
13892         * elf/ldd.bash.in: Likewise.
13893         * elf/pldd.c (print_version): Likewise.
13894         * elf/sotruss.sh: Likewise.
13895         * elf/sprof.c (print_version): Likewise.
13896         * iconv/iconv_prog.c (print_version): Likewise.
13897         * iconv/iconvconfig.c (print_version): Likewise.
13898         * locale/programs/locale.c (print_version): Likewise.
13899         * locale/programs/localedef.c (print_version): Likewise.
13900         * login/programs/pt_chown.c (print_version): Likewise.
13901         * malloc/memusage.sh (do_version): Likewise.
13902         * malloc/memusagestat.c (print_version): Likewise.
13903         * malloc/mtrace.pl: Likewise.
13904         * manual/libc.texinfo: Likewise.
13905         * nptl/version.c (banner): Likewise.
13906         * nscd/nscd.c (print_version): Likewise.
13907         * nss/getent.c (print_version): Likewise.
13908         * nss/makedb.c (print_version): Likewise.
13909         * posix/getconf.c (main): Likewise.
13910         * scripts/test-installation.pl: Likewise.
13911         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
13913         * All files with FSF copyright notices: Update copyright dates
13914         using scripts/update-copyrights.
13915         * intl/plural.c: Regenerated.
13916         * locale/programs/charmap-kw.h: Likewise.
13917         * locale/programs/locfile-kw.h: Likewise.
13919 2016-01-02  Helge Deller  <deller@gmx.de>
13921         [BZ #19285]
13922         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
13923         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
13924         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
13925         (MADV_xxK_PAGES): Remove.
13927 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
13929         [BZ #15421]
13930         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
13931         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
13932         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
13933         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
13935 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
13937         [BZ #19408]
13938         * sysdeps/unix/sysv/linux/personality.c: New file.
13939         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
13940         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
13941         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
13942         (sysdep_routines): Add personality.
13943         (tests): Add tst-personality.
13944         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
13945         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
13946         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
13947         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
13948         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
13949         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
13950         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
13951         Likewise.
13952         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
13953         Likewise.
13954         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
13955         Likewise.
13956         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
13957         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
13958         Likewise.
13960 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
13962         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
13963         (PATH_ARM_SYSTYPE): Remove.
13964         (PATH_CPUINFO): Likewise.
13965         (IO_BASE_FOOTBRIDGE): Likewise.
13966         (IO_SHIFT_FOOTBRIDGE): Likewise.
13967         (struct platform): Likewise.
13968         (init_iosys): Remove compatibility code for 2.4 kernels.
13969         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
13971 2015-12-29  Florian Weimer  <fweimer@redhat.com>
13973         * malloc/tst-malloc-thread-fail.c: New file.
13974         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
13975         (tst-malloc-thread-fail): Link against libpthread.
13977 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
13979         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
13980         (get_parser): New function.
13981         (main): New function.
13983 2015-12-29  Rob Wu  <rob@robwu.nl>
13985         [BZ #19369]
13986         * resolv/res_init.c (__res_vinit): Reset defdname before use.
13988 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
13990         [BZ #19270]
13991         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
13993 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
13995         [BZ #15421]
13996         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
13998 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14000         [BZ #13690]
14001         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14002         after releasing it.
14003         (__lll_robust_unlock): Likewise.
14004         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14005         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14006         (lll_robust_unlock): Likewise.
14007         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14008         Prevent warnings in callers.
14010 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14012         * malloc/arena.c (list_lock): Update comment.
14014 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14016         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14017         __parse_hwcap_and_convert_at_platform to libc.a.
14019 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14021         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14022         platform and feature support for POWER9.
14023         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14024         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14025         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14026         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14027         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14028         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14029         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14030         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14032 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14034         Harmonize generic stdio-lock support with nptl
14036         This fixes build when _IO_funlockfile is a macro, fixes build where
14037         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14038         stack unwind.
14040         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14041         _IO_release_lock ): Use cleanup attribute on new
14042         _IO_acquire_lock_file variable instead of assuming that
14043         _IO_release_lock will be called.
14044         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14045         _IO_acquire_lock_needs_exceptions_enabled.
14046         (_IO_acquire_lock_clear_flags2): New macro.
14048 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14050         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14052 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14054         [BZ #19182]
14055         * malloc/arena.c (list_lock): Document lock ordering requirements.
14056         (free_list_lock): New lock.
14057         (ptmalloc_lock_all): Comment on free_list_lock.
14058         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14059         (detach_arena): Update comment.  free_list_lock is now needed.
14060         (_int_new_arena): Use free_list_lock around detach_arena call.
14061         Acquire arena lock after list_lock.  Add comment, including FIXME
14062         about incorrect synchronization.
14063         (get_free_list): Switch to free_list_lock.
14064         (reused_arena): Acquire free_list_lock around detach_arena call
14065         and attached threads counter update.  Add two FIXMEs about
14066         incorrect synchronization.
14067         (arena_thread_freeres): Switch to free_list_lock.
14068         * malloc/malloc.c (struct malloc_state): Update comments to
14069         mention free_list_lock.
14071 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14073         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14074         Remove functions.
14075         (sloww, sloww1): Accept argument to offset quadrant.
14076         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14077         quadrant.
14078         (__sin, __cos): Consolidate common code into new functions.
14079         (reduce_sincos_1, do_sincos_1): New functions.
14080         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14082         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14083         code to new functions.
14084         (reduce_sincos_2, do_sincos_2): New functions.
14085         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14087         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14088         common code for sincos.
14089         (__cos) [!IN_SINCOS]: Likewise.
14090         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14091         New function.
14092         (__sincos): Use it.
14094 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14096         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14097         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14098         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14100 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14102         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14103         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14105         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14106         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14107         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14108         index_Prefer_No_VZEROUPPER): New feature.
14109         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14110         Prefer_No_VZEROUPPER for Knights Landing.
14112 015-12-18  Torvald Riegel  <triegel@redhat.com>
14114         * math/atest-exp2.c (mp_exp_m1): Remove.
14116 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14118         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14119         syscalls.
14120         (__SYSCALL0): New macro.
14121         (__SYSCALL1): Likewise.
14122         (__SYSCALL2): Likewise.
14123         (__SYSCALL3): Likewise.
14124         (__SYSCALL4): Likewise.
14125         (__SYSCALL5): Likewise.
14126         (__SYSCALL6): Likewise.
14127         (__SYSCALL_CONCAT_X): Likewise.
14128         (__SYSCALL_CONCAT): Likewise.
14129         (__SYSCALL_DIST): Likewise.
14130         (__SYSCALL_CALL): Likewise.
14132 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14134         [BZ #19363]
14135         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
14137 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14139         [BZ #19375]
14140         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
14141         negative subnormals.
14143 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
14145         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
14146         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
14147         (INTERNAL_SYSCALL_NCS): Use it.
14148         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
14150 2015-12-16  Florian Weimer  <fweimer@redhat.com>
14152         [BZ #19243]
14153         * malloc/arena.c (get_free_list): Remove assert and adjust
14154         reference count handling.  Add comment about reused_arena
14155         interaction.
14156         (reused_arena): Add comments abount get_free_list interaction.
14157         * malloc/tst-malloc-thread-exit.c: New file.
14158         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
14159         (tst-malloc-thread-exit): Link against libpthread.
14161 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14163         [BZ #19367]
14164         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
14165         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
14166         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
14167         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
14168         (index_Prefer_MAP_32BIT_EXEC): Likewise.
14170 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
14172         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
14173         Silvermont optimizations for Knights Landing.
14175 2015-12-15  Andreas Schwab  <schwab@suse.de>
14177         [BZ #17197]
14178         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
14179         immediately after emitting SI.
14180         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
14181         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
14182         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
14183         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
14184         * iconvdata/bug-iconv10.c: New file.
14185         * iconvdata/Makefile (tests): Add bug-iconv10.
14186         ($(objpfx)bug-iconv10.out): New rule.
14188 2015-12-15  Florian Weimer  <fweimer@redhat.com>
14190         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
14191         aliasing violation.
14193 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
14195         [BZ #18472]
14196         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
14197         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
14198         conditionals for them.
14199         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
14200         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
14201         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
14202         sys/kdaemon.h.
14203         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
14204         compat-only syscall, obsoleted in glibc 2.23.
14205         (create_module): Likewise.
14206         (get_kernel_syms): Likewise.
14207         (query_module): Likewise.
14208         (uselib): Likewise.
14209         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
14211 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
14213         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
14214         <linux/version.h>.
14215         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
14216         conditional code.
14217         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
14218         and ioshift_name initialization.
14220 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14222         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14223         Fix indentation.
14225 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14227         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
14229 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
14231         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
14233 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
14234             Jakub Wilk  <jwilk@debian.org>
14236         [BZ #19347]
14237         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
14238         to change the group of the device to the tty group.
14240 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
14242         Split large string section; add truncation advice
14243         * manual/examples/strncat.c: Remove.
14244         This example was misleading, as the code would have undefined
14245         behavior if "hello" was longer than SIZE.  Anyway, the manual
14246         shouldn't encourage strncpy+strncat for this sort of thing.
14247         * manual/string.texi (Copying Strings and Arrays): Split into
14248         three sections Copying Strings and Arrays, Concatenating Strings,
14249         and Truncating Strings, as this section was way too long.  All
14250         cross-referenced changed.  Add advice about string-truncation
14251         functions.  Remove misleading strncat example.
14253 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
14255         * manual/nss.texi (NSS Modules Interface): Document
14256         NSS_STATUS_NOTFOUND and SUCCESS.
14258 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14260         [BZ 18568]
14261         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
14262         201505L, for Unicode 8.
14264 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
14266         * locale/C-translit.h: Regenerate.
14268 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
14270         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
14271         and U+0153.
14273 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
14275         [BZ #19351]
14276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
14277         expanding log(1+z), compare z rather than its square with epsilon
14278         to determine when to avoid evaluating the expansion.
14280         [BZ #19350]
14281         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
14282         Increase overflow threshold.
14284         [BZ #19349]
14285         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
14286         when small.
14288         * sysdeps/unix/sysv/linux/i386/kernel-features.h
14289         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14290         New macro.
14291         [__LINUX_KERNEL_VERSION >= 0x040300]
14292         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14293         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14294         Likewise.
14295         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14296         Likewise.
14297         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14298         Likewise.
14299         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14300         Likewise.
14301         [__LINUX_KERNEL_VERSION >= 0x040300]
14302         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14303         [__LINUX_KERNEL_VERSION >= 0x040300]
14304         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14305         [__LINUX_KERNEL_VERSION >= 0x040300]
14306         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14307         [__LINUX_KERNEL_VERSION >= 0x040300]
14308         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14309         [__LINUX_KERNEL_VERSION >= 0x040300]
14310         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14311         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14312         Likewise.
14313         [__LINUX_KERNEL_VERSION >= 0x040300]
14314         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14316         Likewise.
14317         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14318         Likewise.
14319         [__LINUX_KERNEL_VERSION >= 0x040300]
14320         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14321         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14322         Likewise.
14323         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14324         Likewise.
14325         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
14327         Likewise.
14328         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
14329         Likewise.
14330         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
14331         Likewise.
14332         [__LINUX_KERNEL_VERSION >= 0x040300]
14333         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14334         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
14335         Likewise.
14336         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
14337         Likewise.
14338         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
14339         Likewise.
14340         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
14341         Likewise.
14342         [__LINUX_KERNEL_VERSION >= 0x040300]
14343         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
14344         [__LINUX_KERNEL_VERSION >= 0x040300]
14345         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14346         [__LINUX_KERNEL_VERSION >= 0x040300]
14347         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14348         [__LINUX_KERNEL_VERSION >= 0x040300]
14349         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14350         [__LINUX_KERNEL_VERSION >= 0x040300]
14351         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14352         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
14353         Likewise.
14354         [__LINUX_KERNEL_VERSION >= 0x040300]
14355         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
14356         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
14357         Likewise.
14358         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
14359         Likewise.
14360         [__LINUX_KERNEL_VERSION >= 0x040300]
14361         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
14362         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
14363         Likewise.
14364         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
14365         Likewise.
14366         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14367         (__ASSUME_SOCKET_SYSCALL): Likewise.
14368         (__ASSUME_BIND_SYSCALL): Likewise.
14369         (__ASSUME_CONNECT_SYSCALL): Likewise.
14370         (__ASSUME_LISTEN_SYSCALL): Likewise.
14371         (__ASSUME_ACCEPT_SYSCALL): Likewise.
14372         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14373         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14374         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14375         (__ASSUME_SEND_SYSCALL): Likewise.
14376         (__ASSUME_SENDTO_SYSCALL): Likewise.
14377         (__ASSUME_RECV_SYSCALL): Likewise.
14378         (__ASSUME_RECVFROM_SYSCALL): Likewise.
14379         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
14380         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14381         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14382         (__ASSUME_SENDMSG_SYSCALL): Likewise.
14383         (__ASSUME_RECVMSG_SYSCALL): Likewise.
14384         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14385         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
14386         Likewise.
14387         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
14388         Likewise.
14389         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
14390         Likewise.
14391         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
14392         Likewise.
14393         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
14394         Likewise.
14395         [__LINUX_KERNEL_VERSION >= 0x020625]
14396         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
14397         [__LINUX_KERNEL_VERSION >= 0x020625]
14398         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
14399         [__LINUX_KERNEL_VERSION >= 0x020625]
14400         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
14401         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
14402         Likewise.
14403         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
14404         Likewise.
14405         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
14406         Likewise.
14407         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
14408         Likewise.
14409         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
14410         Likewise.
14411         [__LINUX_KERNEL_VERSION >= 0x020625]
14412         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
14413         [__LINUX_KERNEL_VERSION >= 0x020625]
14414         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
14415         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
14416         Likewise.
14417         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
14418         Likewise.
14420 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14422         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
14423         record the current if the current ABI and CPU support the FP64
14424         extension.
14425         (has-modd-spreg): Define to record the current if the current ABI and
14426         CPU support 32-bit floating point values in odd FPU registers.
14427         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14428         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
14429         $(has-modd-spreg) equals yes.
14430         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
14431         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
14432         $(has-modd-spreg) equal yes.
14434 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
14436         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
14437         basename.
14439 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
14441         * benchtests/Makefile (bench-math): Move ffs and ffsll...
14442         (bench-string): ... here.
14443         (bench): Add bench-string.
14444         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
14445         to *-benchset to reflect what they are.
14446         (benchset): Adjust.
14448         * benchtests/sincos-inputs: Add inputs from sin-inputs and
14449         cos-inputs.
14451 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
14453         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
14454         __attribute__ ((__simd__)) for vector math function declarations.
14456 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14458         Fix typo in strncat, wcsncat manual entries
14459         * manual/string.texi (Copying and Concatenation): Fix typos in
14460         sample implementations of strncat and wcsncat, by having them use
14461         the old value of the destination length, not the new one.
14463 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
14465         [BZ #16961]
14466         [BZ #16962]
14467         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
14468         string on the stack for strtod.
14469         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
14470         a string on the stack for strtof.
14471         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
14472         constructing a string on the stack for strtold.
14473         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
14474         __strtold_nan to GLIBC_PRIVATE.
14475         * math/test-nan-overflow.c: New file.
14476         * math/test-nan-payload.c: Likewise.
14477         * math/Makefile (tests): Add test-nan-overflow and
14478         test-nan-payload.
14480 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
14482         Consistency about byte vs character in string.texi
14483         * manual/string.texi (String and Array Utilities):
14484         Distinguish more carefully among bytes, multibyte characters,
14485         and wide characters.  Use "byte" when talking about C 'char',
14486         to distinguish it more clearly from multibyte characters.
14487         Say "wide character" or "multibyte character" instead of
14488         "character", when a wide or multibyte character is intended.
14489         Similarly for "multibyte string" versus "string".
14490         Define these terms more carefully.
14492 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
14494         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
14495         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
14496         Likewise.
14497         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14498         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
14499         * sysdeps/sh/math_private.h: New file.
14500         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
14501         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
14502         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
14503         long double function name.
14504         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14505         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14506         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14507         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14508         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
14510         Remove __finitel, __isinfl, and __isnanl.
14511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14512         Likewise.
14513         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14514         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14515         Remove __finitel.
14516         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14517         Likewise.
14518         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14520 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
14522         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
14523         installed libmvec_nonshared.a.
14525 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14527         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
14528         (sysdep_routines): Likewise.
14529         (sysdep-rtld-routines): Likewise.
14530         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
14531         [$(subdir) = nptl](tests-static): test-get_hwcap-static
14532         * sysdeps/powerpc/Versions: Added new
14533         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
14534         * sysdeps/powerpc/hwcapinfo.c: New file.
14535         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
14536         and parse hwcap, hwcap2 and platform number information.
14537         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
14538         to store HWCAP+HWCAP2 and platform number.
14539         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
14540         for HWCAP+HWCAP2 and platform number in the TCB.
14541         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
14542         the HWCAP, HWCAP2 and platform number in the TCB.
14543         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
14544         (TLS_INIT_TP): Included calls to add the hwcap and
14545         at_platform values in the TCB in TP initialization.
14546         (TLS_DEFINE_INIT_TP): Likewise.
14547         (THREAD_GET_HWCAP): New macro.
14548         (THREAD_SET_HWCAP): Likewise.
14549         (THREAD_GET_AT_PLATFORM): Likewise.
14550         (THREAD_SET_AT_PLATFORM): Likewise.
14551         * sysdeps/powerpc/powerpc32/dl-machine.h:
14552         (dl_platform_init): New function that calls
14553         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
14554         powerpc32.
14555         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
14556         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
14557         this functionality, static linking case.
14558         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
14559         linking case.
14560         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
14561         __parse_hwcap_and_convert_at_platform for the static linking case.
14562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
14563         Included the new __parse_hwcap_and_convert_at_platform symbol in the
14564         ABI list for GLIBC 2.23.
14565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
14566         Likewise.
14567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
14568         Likewise.
14570 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
14572         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
14573         * configure: Regenerate.
14574         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
14575         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
14577 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
14579         * iconvdata/ibm930.c: Add comment explaining encoding uses.
14580         * iconvdata/ibm933.c: Likewise.
14581         * iconvdata/ibm935.c: Likewise.
14582         * iconvdata/ibm937.c: Likewise.
14583         * iconvdata/ibm939.c: Likewise.
14585 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14587         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
14588         pthread_join.
14589         * nptl/tst-cancel21.c (tf): Likewise.
14591 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
14593         [BZ #19313]
14594         * bits/typesizes.h (__CPU_MASK_TYPE): New.
14595         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14596         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
14597         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
14598         Likewise.
14599         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
14600         Likewise.
14601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
14602         Likewise.
14603         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
14604         Likewise.
14605         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
14606         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
14607         unsigned long int with __CPU_MASK_TYPE.
14609 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14611         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14613 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
14615         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
14616         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
14617         t512.x.
14618         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
14620 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
14622         [BZ #19214]
14623         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
14624         argument to return extended model.  Update family and model
14625         with extended family and model when family == 0x0f.
14626         (init_cpu_features): Updated.
14628 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14630         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
14631         signed off_t, so 32bit bigger than 2GiB values are fine actually.
14633         * sysdeps/mach/hurd/mmap64.c: New file.
14635 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
14637         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
14638         rights for its main user thread in NEWTASK.
14640 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
14642         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
14643         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
14645 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
14647         [BZ #14259]
14648         * Makeconfig: Rename localedir to complocaledir.
14649         Rename inst_localedir to inst_complocaledir.
14650         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
14651         * config.make.in: Use complocaledir and libc_cv_complocaledir.
14652         * configure.ac: Use libc_cv_complocaledir.
14653         * configure: Regenerate.
14654         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
14655         -DCOMPLOCALEDIR.
14656         * locale/findlocale.c: Use COMPLOCALEDIR.
14657         * locale/loadarchive.c: Likewise.
14658         * locale/programs/locale.c: Likewise.
14659         * locale/programs/localedef.c: Likewise.
14660         * locale/programs/locarchive.c: Likewise.
14661         * localedata/Makefile: Use inst_complocaledir.
14662         * sysdeps/gnu/configure: Regenerate.
14663         * sysdeps/hppa/configure: Regenerate.
14664         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
14665         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14667         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
14668         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
14669         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
14670         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
14672 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
14674         [BZ #19058]
14675         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
14676         AS_NEEDED.
14677         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
14678         workaround.
14679         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
14680         libmvec-static-only-routines): Added new file.
14681         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
14683 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14685         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
14686         of interrupted RPC instead of restoring it.
14688         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
14689         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
14690         libc_hidden_def.
14691         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
14692         into initialized data instead of common. Define rtld_hidden_data_def.
14693         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
14694         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
14695         libc_hidden_def.
14696         (if_freenameindex): Add libc_hidden_weak.
14697         (if_nameindex): Add libc_hidden_weak.
14698         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
14699         __open64.
14700         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
14701         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
14702         * sysdeps/mach/nanosleep.c: Include <time.h>
14703         (__nanosleep): Rename to __libc_nanosleep.
14704         (__nanosleep): Add weak_alias.
14705         (nanosleep): Update alias.
14707 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
14709         * stdlib/strtod_nan.c: New file.
14710         * stdlib/strtod_nan_double.h: Likewise.
14711         * stdlib/strtod_nan_float.h: Likewise.
14712         * stdlib/strtod_nan_main.c: Likewise.
14713         * stdlib/strtod_nan_narrow.h: Likewise.
14714         * stdlib/strtod_nan_wide.h: Likewise.
14715         * stdlib/strtof_nan.c: Likewise.
14716         * stdlib/strtold_nan.c: Likewise.
14717         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
14718         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
14719         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
14720         * wcsmbs/wcstod_nan.c: Likewise.
14721         * wcsmbs/wcstof_nan.c: Likewise.
14722         * wcsmbs/wcstold_nan.c: Likewise.
14723         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
14724         strtold_nan.
14725         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
14726         wcstof_nan.
14727         * include/stdlib.h (__strtof_nan): Declare and use
14728         libc_hidden_proto.
14729         (__strtod_nan): Likewise.
14730         (__strtold_nan): Likewise.
14731         (__wcstof_nan): Likewise.
14732         (__wcstod_nan): Likewise.
14733         (__wcstold_nan): Likewise.
14734         * include/wchar.h (____wcstoull_l_internal): Declare.
14735         * stdlib/strtod_l.c: Do not include <ieee754.h>.
14736         (____strtoull_l_internal): Remove declaration.
14737         (STRTOF_NAN): Define macro.
14738         (SET_MANTISSA): Remove macro.
14739         (STRTOULL): Likewise.
14740         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
14741         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
14742         (STRTOF_NAN): Define macro.
14743         (SET_MANTISSA): Remove macro.
14744         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
14745         (SET_MANTISSA): Remove macro.
14746         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
14747         macro.
14748         (SET_MANTISSA): Remove macro.
14749         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
14750         macro.
14751         (SET_MANTISSA): Remove macro.
14752         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
14753         (SET_MANTISSA): Remove macro.
14754         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
14755         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
14756         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
14758         [BZ #19266]
14759         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
14760         upper case and lower case letters inside NAN(), not using TOLOWER.
14761         * stdlib/tst-strtod-nan-locale-main.c: New file.
14762         * stdlib/tst-strtod-nan-locale.c: Likewise.
14763         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
14764         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
14765         Depend on $(gen-locales).
14766         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
14767         * wcsmbs/tst-wcstod-nan-locale.c: New file.
14768         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
14769         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
14770         Depend on $(gen-locales).
14771         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
14773 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
14775         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
14777         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
14779         __finitel, __isinfl, and __isnanl.
14780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
14781         Likewise.
14782         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
14784         __finitel.
14785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14786         Likewise.
14787         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14789 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14791         * malloc/memusage.c (me): Remove redundant getenv call.
14793 2015-10-24  Florian Weimer  <fweimer@redhat.com>
14795         [BZ #19143]
14796         [BZ #19164]
14797         * nptl/check-cpuset.h: Remove.
14798         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
14799         Remove CPU set size check.
14800         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
14801         Likewise.
14802         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
14803         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
14804         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
14805         (__pthread_setaffinity_new): Remove CPU set size check.
14806         * sysdeps/unix/sysv/linux/sched_setaffinity.c
14807         (__kernel_cpumask_size): Remove.
14808         (__sched_setaffinity_new): Remove CPU set size check.
14809         * manual/threads.texi (Default Thread Attributes): Remove stale
14810         reference to check_cpuset_attr, determine_cpumask_size in comment.
14811         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
14812         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
14813         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
14814         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
14815         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
14816         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
14817         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
14818         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
14819         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
14820         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
14821         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
14822         skeleton test file.
14823         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
14824         tst-affinity-pid.
14826 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14828         * scripts/update-abilist.sh: New file.
14829         * Makefile (+subdir_targets): Add subdir_update-all-abi.
14830         * Makerules (update-all-abi-%, update-all-abi)
14831         (subdir_update-all-abi): New targets.
14832         * elf/Makefile (update-all-abi): New target.
14834 2015-11-24  Florian Weimer  <fweimer@redhat.com>
14836         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
14837         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
14838         (__libc_lock_define_initialized): Use it.
14839         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
14840         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
14841         * malloc/malloc.c (main_arena): Likewise.
14842         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14843         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
14845 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
14847         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14848         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
14849         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14850         (PTRACE_O_MASK): Update value.
14851         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
14852         New value in enum __ptrace_setoptions.
14853         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14854         (PTRACE_O_MASK): Update value.
14855         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14856         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14857         (PTRACE_O_MASK): Update value.
14858         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
14859         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14860         (PTRACE_O_MASK): Update value.
14861         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
14862         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
14863         (PTRACE_O_MASK): Update value.
14864         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
14865         New value in enum __ptrace_setoptions.
14866         (PTRACE_O_MASK): Update value.
14867         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
14868         New value in enum __ptrace_setoptions.
14869         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
14870         (PTRACE_O_MASK): Update value.
14872         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
14873         New macro.
14874         (PACKET_AUXDATA): Likewise.
14875         (PACKET_ORIGDEV): Likewise.
14876         (PACKET_VERSION): Likewise.
14877         (PACKET_HDRLEN): Likewise.
14878         (PACKET_RESERVE): Likewise.
14879         (PACKET_TX_RING): Likewise.
14880         (PACKET_LOSS): Likewise.
14881         (PACKET_VNET_HDR): Likewise.
14882         (PACKET_TX_TIMESTAMP): Likewise.
14883         (PACKET_TIMESTAMP): Likewise.
14884         (PACKET_FANOUT): Likewise.
14885         (PACKET_TX_HAS_OFF): Likewise.
14886         (PACKET_QDISC_BYPASS): Likewise.
14887         (PACKET_ROLLOVER_STATS): Likewise.
14888         (PACKET_FANOUT_DATA): Likewise.
14889         (PACKET_MR_UNICAST): Likewise.
14891         [BZ #19242]
14892         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
14893         (TOUPPER): Likewise.
14894         * stdlib/tst-strtol-locale-main.c: New file.
14895         * stdlib/tst-strtol-locale.c: Likewise.
14896         * stdlib/Makefile (tests): Add tst-strtol-locale.
14897         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
14898         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
14899         Depend on $(gen-locales).
14900         * wcsmbs/tst-wcstol-locale.c: New file.
14901         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
14902         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
14903         tr_TR.ISO-8859-9.
14904         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
14905         Depend on $(gen-locales).
14907 2015-11-20  Roland McGrath  <roland@hack.frob.com>
14909         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
14910         __glibc_likely instead of __builtin_expect.  After falling back to
14911         dyncode_create in a non-ET_DYN case, use the allocate_code_data
14912         system interface to register the code pages as occupied.
14914 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
14916         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14917         [!ARM_MATH_PRIVATE_H].
14918         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
14919         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14920         [!HPPA_MATH_PRIVATE_H].
14921         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
14922         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
14923         to [!I386_MATH_PRIVATE_H].
14924         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
14925         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
14926         Change guard to [!M68K_MATH_PRIVATE_H].
14927         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
14928         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
14929         guard to [!MICROBLAZE_MATH_PRIVATE_H].
14930         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
14931         macro.
14932         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14933         [!MIPS_MATH_PRIVATE_H].
14934         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
14935         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14936         [!NIO2_MATH_PRIVATE_H].
14937         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
14938         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
14939         [!TILE_MATH_PRIVATE_H].
14940         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
14942         [BZ #15421]
14943         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
14944         initialize with 0 and define as weak alias of __signgam.
14945         * include/math.h [!_ISOMAC] (__signgam): Declare.
14946         * math/Makefile (libm-calls): Add w_lgamma_compat.
14947         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
14948         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
14949         test-signgam-ullong-init.
14950         (tests-static): Add test-signgam-uchar-static,
14951         test-signgam-uchar-init-static, test-signgam-uint-static,
14952         test-signgam-uint-init-static, test-signgam-ullong-static and
14953         test-signgam-ullong-init-static.
14954         (CFLAGS-test-signgam-uchar.c): New variable.
14955         (CFLAGS-test-signgam-uchar-init.c): Likewise.
14956         (CFLAGS-test-signgam-uchar-static.c): Likewise.
14957         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
14958         (CFLAGS-test-signgam-uint.c): Likewise.
14959         (CFLAGS-test-signgam-uint-init.c): Likewise.
14960         (CFLAGS-test-signgam-uint-static.c): Likewise.
14961         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
14962         (CFLAGS-test-signgam-ullong.c): Likewise.
14963         (CFLAGS-test-signgam-ullong-init.c): Likewise.
14964         (CFLAGS-test-signgam-ullong-static.c): Likewise.
14965         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
14966         * math/Versions (libm): Add GLIBC_2.23.
14967         * math/lgamma-compat.h: New file.
14968         * math/test-signgam-main.c: Likewise.
14969         * math/test-signgam-uchar-init-static.c: Likewise.
14970         * math/test-signgam-uchar-init.c: Likewise.
14971         * math/test-signgam-uchar-static.c: Likewise.
14972         * math/test-signgam-uchar.c: Likewise.
14973         * math/test-signgam-uint-init-static.c: Likewise.
14974         * math/test-signgam-uint-init.c: Likewise.
14975         * math/test-signgam-uint-static.c: Likewise.
14976         * math/test-signgam-uint.c: Likewise.
14977         * math/test-signgam-ullong-init-static.c: Likewise.
14978         * math/test-signgam-ullong-init.c: Likewise.
14979         * math/test-signgam-ullong-static.c: Likewise.
14980         * math/test-signgam-ullong.c: Likewise.
14981         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
14982         wrapper of w_lgamma_main.c.
14983         * math/w_lgamma_compat.c: New file.
14984         * math/w_lgamma_compatf.c: Likewise.
14985         * math/w_lgamma_compatl.c: Likewise.
14986         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
14987         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14988         defining compatibility symbols.
14989         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
14990         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
14991         wrapper of w_lgammaf_main.c.
14992         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
14993         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
14994         defining compatibility symbols.
14995         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
14996         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
14997         wrapper of w_lgammal_main.c.
14998         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
14999         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15000         defining compatibility symbols.
15001         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15002         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15003         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15004         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15005         <lgamma-compat.h>.
15006         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15007         (__ieee754_gamma): Define as alias.
15008         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15009         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15010         <lgamma-compat.h>.
15011         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15012         (__ieee754_gammaf): Define as alias.
15013         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15014         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15015         <lgamma-compat.h>.
15016         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15017         (__ieee754_gammal): Define as alias.
15018         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15019         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15020         <math/w_lgamma_compat.c>.
15021         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15022         Define as alias of __lgamma_compat and use in defining lgammal.
15023         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15024         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15025         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15026         (USE_AS_COMPAT): New macro.
15027         (LGAMMA_OLD_VER): Undefine and redefine.
15028         (lgammal): Do not define here.
15029         (gammal): Only define here if [GAMMA_ALIAS].
15030         * conform/linknamespace.pl (@whitelist): Remove signgam.
15031         * sysdeps/nacl/libm.abilist: Update.
15032         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15033         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15034         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15035         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15036         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15037         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15038         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15039         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15040         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15041         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15042         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15043         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15045         Likewise.
15046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15047         Likewise.
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15049         Likewise.
15050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15051         Likewise.
15052         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15053         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15054         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15055         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15056         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15058         Likewise.
15059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15060         Likewise.
15061         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15062         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15063         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15065 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15067         [BZ #16364]
15068         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15069         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15071 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15073         * sysdeps/s390/fpu/bits/mathinline.h:
15074         Use __asm__ [__volatile__] instead of asm [volatile].
15075         * sysdeps/s390/abort-instr.h: Likewise.
15076         * sysdeps/s390/atomic-machine.h: Likewise.
15077         * sysdeps/s390/bits/string.h: Likewise.
15078         * sysdeps/s390/dl-tls.h: Likewise.
15079         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15080         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15081         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15082         * sysdeps/s390/fpu/fesetround.c: Likewise.
15083         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15084         * sysdeps/s390/fpu/s_fma.c: Likewise.
15085         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15086         * sysdeps/s390/memusage.h: Likewise.
15087         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15088         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15089         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15090         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15091         * sysdeps/s390/nptl/tls.h: Likewise.
15092         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15093         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15094         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15095         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15096         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15097         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15098         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15099         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15100         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15101         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15102         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15103         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15104         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15105         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15106         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15107         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15108         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15109         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15110         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15111         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15112         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15114         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15116 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15117             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15119         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15120         Add lwarx hint, and use macro for acquire instruction.
15121         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15122         Likewise.
15123         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15124         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15125         update to use new atomic macros.
15127 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15129         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15130         (__lll_trylock_elision): Fix setting of adapt_count.
15131         * sysdeps/unix/sysv/linux/powerpc/htm.h
15132         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15133         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15134         (_ABORT_SYSCALL): Renumber, and clarify definition.
15135         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
15137 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15139         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
15140         after system headers to prevent MIN/MAX redefinition.  Define
15141         HAVE_ALLOCA to preserve builtin alloca usage.
15143 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15145         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
15146         static and don't set or restore rounding.
15147         (__cos)[IN_SINCOS]: Likewise.
15148         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
15149         (__sincos): Set and restore rounding mode.  Remove check for infinite
15150         or NaN input.
15152         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
15154         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
15155         as used.
15157 2015-11-16  Florian Weimer  <fweimer@redhat.com>
15159         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
15161 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
15163         * config.make.in (have-glob-dat-reloc): New.
15164         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
15165         target supports GLOB_DAT relocaton. AC_SUBST.
15166         * configure: Regenerated.
15167         * elf/Makefile (tests): Add tst-prelink.
15168         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15169         (tst-prelink-ENV): New.
15170         ($(objpfx)tst-prelink-conflict.out): Likewise.
15171         ($(objpfx)tst-prelink-cmp.out): Likewise.
15172         * sysdeps/x86/tst-prelink.c: Moved to ...
15173         * elf/tst-prelink.c: Here.
15174         * sysdeps/x86/tst-prelink.exp: Moved to ...
15175         * elf/tst-prelink.exp: Here.
15176         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
15177         (tst-prelink-ENV): Removed.
15178         ($(objpfx)tst-prelink-conflict.out): Likewise.
15179         ($(objpfx)tst-prelink-cmp.out): Likewise.
15180         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
15182 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
15184         [BZ #14551]
15185         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
15186         (__mpn_construct_long_double): If high part overflows to infinity,
15187         set errno and recompute overflowed result of the correct sign.
15188         * sysdeps/ieee754/ldbl-128ibm/Makefile
15189         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
15190         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
15191         $(libm).
15192         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
15194 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
15196         [BZ #15479]
15197         [BZ #19238]
15198         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
15199         floating-point state after first operation on input.  Restore full
15200         state rather than just rounding mode.
15201         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15202         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15203         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15205         [BZ #19235]
15206         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
15207         add 0.5 to integer arguments.
15208         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
15209         Likewise.
15210         (.LC2): New object.
15212 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
15214         * scripts/pylintrc (reports): Set to no.
15216 2015-11-10  Roland McGrath  <roland@hack.frob.com>
15218         * elf/dl-load.c (open_verify): Take new argument FD.
15219         Skip __open call if passed FD is not -1.
15220         (_dl_map_object, open_path): Update callers.
15221         * elf/dl-sysdep-open.h: New file.
15222         * elf/dl-load.c: Include it.
15223         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
15224         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
15225         * sysdeps/nacl/dl-sysdep-open.h: New file.
15226         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
15227         from libc to rtld.
15229 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15231         [BZ #19228]
15232         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
15233         and restore full floating-point state.
15234         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15235         Likewise.
15236         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15237         Likewise.
15238         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15239         Likewise.
15240         * math/test-nearbyint-except-2.c: New file.
15241         * math/Makefile (tests): Add test-nearbyint-except-2.
15243 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
15245         [BZ #19178]
15246         * sysdeps/x86/Makefile (tests): Add tst-prelink.
15247         (tst-prelink-ENV): New.
15248         ($(objpfx)tst-prelink-conflict.out): Likewise.
15249         ($(objpfx)tst-prelink-cmp.out): Likewise.
15250         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
15251         * sysdeps/x86/tst-prelink.c: New file.
15252         * sysdeps/x86/tst-prelink.exp: Likewise.
15254 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
15256         * math/auto-libm-test-in: Add another test of pow.
15257         * math/auto-libm-test-out: Regenerated.
15258         * math/libm-test.inc (pow_test_data): Add another test.
15260 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15262         [BZ #19219]
15263         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
15264         weak_alias to nearbyintl.
15266 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15268         * sysdeps/aarch64/bits/string.h: New file.
15269         (_STRING_ARCH_unaligned): Define.
15271 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
15273         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
15274         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15275         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15276         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
15277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
15279 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
15281         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
15282         for original name of the DSO.  Add it to the name list of the DSO
15283         if it is actually given.
15284         (_dl_map_object): Keep track of whether an audit module rewrote
15285         the file name.  If yes, pass the original name to
15286         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
15287         debugging is enabled, log the change of the file name.
15288         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
15289         _dl_map_object_from_fd.
15290         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
15291         * elf/tst-audit11.c: New file
15292         * elf/tst-auditmod11.c: New file.
15293         * elf/tst-audit11mod1.c: New file.
15294         * elf/tst-audit11mod2.c: New file.
15295         * elf/tst-audit11mod2.map: New file.
15296         * elf/tst-audit12.c: New file
15297         * elf/tst-auditmod12.c: New file.
15298         * elf/tst-audit12mod1.c: New file.
15299         * elf/tst-audit12mod2.c: New file.
15300         * elf/tst-audit12mod2.map: New file.
15301         * elf/tst-audit12mod3.c: New file.
15303 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15305         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
15306         Don't create weak aliases,
15307         because versioned symbols are created later.
15308         * sysdeps/s390/s390-32/setjmp.S
15309         (setjmp, _setjmp): Remove weak and rename to an unique name
15310         in SHARED case due to existing versioned symbols.
15311         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15312         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
15313         (getcontext): Create weak alias only in non SHARED case.
15314         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15316 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
15318         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
15319         (__ASSUME_*_SYSCALL) Define new macros.
15320         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
15321         Remove socketcall syscalls.
15322         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
15323         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
15324         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
15325         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
15326         * sysdeps/unix/sysv/linux/send.c (__libc_send):
15327         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
15329 2015-11-09  Florian Weimer  <fweimer@redhat.com>
15331         [BZ #12926]
15332         Terminate process on invalid netlink response.
15333         * sysdeps/unix/sysv/linux/netlinkaccess.h
15334         (__netlink_assert_response): Declare.
15335         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
15336         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
15337         (sysdep_routines): Add netlink_assert_response.
15338         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
15339         __netlink_assert_response.
15340         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15341         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15342         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
15343         __netlink_assert_response.
15345 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
15347         [BZ #19178]
15348         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
15349         (RTYPE_CLASS_PLT): Likewise.
15350         (RTYPE_CLASS_COPY): Likewise.
15351         (RTYPE_CLASS_TLS): Likewise.
15352         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
15353         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
15354         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
15355         DL_DEBUG_PRELINK.
15357 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
15359         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
15360         calls with argument -0.5.
15361         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
15363         * configure.ac (libc_cv_z_nodelete): Remove configure test.
15364         (libc_cv_z_nodlopen): Likewise.
15365         (libc_cv_z_initfirst): Likewise.
15366         * configure: Regenerated.
15368 2015-11-06  Florian Weimer  <fweimer@redhat.com>
15370         Simplify abilist format to be line-based.
15371         * scripts/abilist.awk: Collect descriptors in the descs variable.
15372         (emit): Write descs variable and sort it
15373         externally, with sort.
15374         * sysdeps/**/*.abilist: Convert to new format.
15376 2015-11-06  Mark Wielaard  <mjw@redhat.com>
15378         [BZ #11460]
15379         * io/Makefile (routines): Add fts64.
15380         (tests): Add tst-fts and tst-fts-lfs.
15381         (CFLAGS-fts64.c): New.
15382         * io/Versions (GLIBC_2.23): New.
15383         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
15384         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
15385         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
15386         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
15387         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
15388         (FTSENT64): Likewise.
15389         (fts64_children): Likewise.
15390         (fts64_close): Likewise.
15391         (fts64_open): Likewise.
15392         (fts64_read): Likewise.
15393         (fts64_set): Likewise.
15394         * io/fts64.c: New file.
15395         * io/tst-fts.c: New test.
15396         * io/tst-fts-lfs.c: Likewise.
15397         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
15398         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
15399         fts64_set.
15400         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15401         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15402         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15403         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15404         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15405         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15406         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15407         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15408         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15409         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15410         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15411         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15412         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15414         Likewise.
15415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15416         Likewise.
15417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15419         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15420         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15421         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15422         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15423         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15426         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15427         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15428         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15429         * sysdeps/wordsize-64/fts.c: New file.
15430         * sysdeps/wordsize-64/fts64.c: Likewise.
15431         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
15432         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
15433         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
15434         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
15436 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15438         * math/libm-test.inc (NON_FINITE): New macro.
15439         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
15440         * math/gen-libm-test.pl (show_exceptions): Add argument
15441         $non_finite.
15442         (parse_args): Update call to show_exceptions.
15443         * math/test-math-finite.h: New file.
15444         * math/test-math-no-finite.h: Likewise.
15445         * math/test-double-finite.c: Likewise.
15446         * math/test-float-finite.c: Likewise.
15447         * math/test-ldouble-finite.c: Likewise.
15448         * math/test-double.c: Include "test-math-no-finite.h".
15449         * math/test-float.c: Include "test-math-no-finite.h".
15450         * math/test-ldouble.c: Include "test-math-no-finite.h".
15451         * math/test-math-inline.h (TEST_FINITE): New macro.
15452         * math/test-math-vector.h (TEST_FINITE): Likewise.
15453         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
15454         (libm-tests): Add test-float-finite and test-double-finite.
15455         ($(objpfx)test-float-finite.o): New dependency on
15456         $(objpfx)libm-test.stmp.
15457         ($(objpfx)test-double-finite.o): Likewise.
15458         ($(objpfx)test-ldouble-finite.o): Likewise.
15459         (libm-test-no-inline-cflags): New variable.
15460         (libm-test-finite-cflags): Likewise.
15461         (CFLAGS-test-float-finite.c): Likewise.
15462         (CFLAGS-test-double-finite.c): Likewise.
15463         (CFLAGS-test-ldouble-finite.c): Likewise.
15464         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
15465         (CFLAGS-test-double.c): Likewise.
15466         (CFLAGS-test-ldouble.c): Likewise.
15468 2015-11-05  Roland McGrath  <roland@hack.frob.com>
15470         * io/fcntl.c (__fcntl): Add ... to prototype.
15471         * misc/ioctl.c (__ioctl): Likewise.
15472         * misc/syscall.c (syscall): Likewise.
15474 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
15476         * scripts/list-fixed-bugs.py: New file.
15478         [BZ #19213]
15479         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
15480         returned for argument 1.
15481         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
15482         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
15483         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
15484         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
15485         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
15486         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
15488         [BZ #19211]
15489         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
15490         __USE_XOPEN], not if [!__USE_ISOC99].
15491         (lgammaf): Likewise.
15492         (lgammal): Likewise.
15493         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
15494         (gammaf): Likewise.
15495         (gammal): Likewise.
15496         * math/test-signgam-finite-c11.c: New file.
15497         * math/test-signgam-finite-c99.c: Likewise.
15498         * math/test-signgam-finite.c: Likewise.
15499         * math/Makefile (tests): Add test-signgam-finite,
15500         test-signgam-finite-c99 and test-signgam-finite-c11.
15501         (CFLAGS-test-signgam-finite.c): New variable.
15502         (CFLAGS-test-signgam-finite-c99.c): Likewise.
15503         (CFLAGS-test-signgam-finite-c11.c): Likewise.
15505         [BZ #19212]
15506         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
15507         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
15508         500].
15509         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
15510         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
15511         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
15512         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
15513         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
15514         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
15515         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
15516         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
15517         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
15518         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
15520         [BZ #19209]
15521         * math/bits/math-finite.h (ldexp): Remove declaration.
15522         (ldexpf): Likewise.
15523         (ldexpl): Likewise.
15525         [BZ #19205]
15526         * math/bits/math-finite.h (acosf): Condition declaration on
15527         [__USE_ISOC99].
15528         (acosl): Likewise.
15529         (acoshf): Likewise.
15530         (acoshl): Likewise.
15531         (asinf): Likewise.
15532         (asinl): Likewise.
15533         (atan2f): Likewise.
15534         (atan2l): Likewise.
15535         (atanhf): Likewise.
15536         (atanhl): Likewise.
15537         (coshf): Likewise.
15538         (coshl): Likewise.
15539         (expf): Likewise.
15540         (expl): Likewise.
15541         (fmodf): Likewise.
15542         (fmodl): Likewise.
15543         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
15544         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
15545         (j0l): Likewise.
15546         (y0f): Likewise.
15547         (y0l): Likewise.
15548         (j1f): Likewise.
15549         (j1l): Likewise.
15550         (y1f): Likewise.
15551         (y1l): Likewise.
15552         (jnf): Likewise.
15553         (jnl): Likewise.
15554         (ynf): Likewise.
15555         (ynl): Likewise.
15556         (lgammaf_r): Condition declaration on [__USE_ISOC99].
15557         (lgammal_r): Likewise.
15558         (__lgamma_r_finite): New declaration.
15559         (__lgammaf_r_finite): Likewise.
15560         (__lgammal_r_finite): Likewise.
15561         (lgamma): Use __lgamma_r_finite.
15562         (lgammaf): Condition definition on [__USE_ISOC99].  Use
15563         __lgammaf_r_finite.
15564         (lgammal): Condition definition on [__USE_ISOC99].  Use
15565         __lgammal_r_finite.
15566         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
15567         __lgamma_r_finite.
15568         (gammaf): Condition definition on [__USE_ISOC99].  Use
15569         __lgammaf_r_finite.
15570         (gammal): Condition definition on [__USE_ISOC99].  Use
15571         __lgammal_r_finite.
15572         (logf): Condition declaration on [__USE_ISOC99].
15573         (logl): Likewise.
15574         (log10f): Likewise.
15575         (log10l): Likewise.
15576         (ldexpf): Likewise.
15577         (ldexpl): Likewise.
15578         (powf): Likewise.
15579         (powl): Likewise.
15580         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
15581         __USE_ISOC99].
15582         (remainderf): Condition declaration on [__USE_ISOC99].
15583         (remainderl): Likewise.
15584         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
15585         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
15586         (scalbl): Likewise.
15587         (sinhf): Condition declaration on [__USE_ISOC99].
15588         (sinhl): Likewise.
15589         (sqrtf): Likewise.
15590         (sqrtl): Likewise.
15592 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15594         * sysdeps/arm/atomic-machine.h
15595         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15596         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15597         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
15598         Remove conditional code.
15599         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
15600         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
15601         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
15602         Change conditional to [__ASSEMBLER__].
15603         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15604         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
15605         [!__ASSEMBLER__].
15606         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
15607         code.
15608         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
15609         conditional macro definitions.
15610         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
15611         (__arch_compare_and_exchange_val_16_acq): Likewise.
15612         (__arch_compare_and_exchange_val_32_acq): Likewise.
15613         (atomic_exchange_and_add): Likewise.
15614         (atomic_add): Likewise.
15615         (atomic_add_negative): Likewise.
15616         (atomic_add_zero): Likewise.
15617         (atomic_bit_set): Likewise.
15618         (atomic_bit_test_set): Likewise.
15619         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
15620         code unconditional.
15621         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15623         * math/test-math-errno.h: New file.
15624         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
15625         empty.
15626         (TEST_ERRNO): New macro.
15627         (TEST_EXCEPTIONS): Likewise.
15628         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
15629         (TEST_EXCEPTIONS): Likewise.
15630         * math/test-math-vector.h (TEST_ERRNO): Likewise.
15631         * math/test-double.c: Include "test-math-errno.h".
15632         * math/test-float.c: Likewise.
15633         * math/test-ldouble.c: Likewise.
15634         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
15635         code unconditional.
15636         (test_exceptions): Only run code if TEST_EXCEPTIONS.
15637         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
15638         unconditional.
15639         (test_errno): Only run code if TEST_ERRNO.
15640         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
15642 2015-11-04  Florian Weimer  <fweimer@redhat.com>
15644         * nptl/tst-once5.cc: Remove attribution.
15646 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
15648         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
15649         sqrt, tan, tanh, y0, y1 and yn.
15650         * math/auto-libm-test-out: Regenerated.
15651         * math/libm-test.inc (scalb_test_data): Add more tests.
15652         (scalbn_test_data): Likewise.
15653         (scalbln_test_data): Likewise.
15654         (signbit_test_data): Likewise.
15655         (sin_test_data): Likewise.
15656         (sincos_test_data): Likewise.
15657         (sinh_test_data): Likewise.
15658         (sqrt_test_data): Likewise.
15659         (tan_test_data): Likewise.
15660         (tanh_test_data): Likewise.
15661         (tgamma_test_data): Likewise.
15662         (y0_test_data): Likewise.
15663         (y1_test_data): Likewise.
15664         (yn_test_data): Likewise.
15665         (significand_test_data): Likewise.
15666         * sysdeps/i386/fpu/libm-test-ulps: Update.
15668 2015-11-03  David Kastrup  <dak@gnu.org>
15670         [BZ #18604]
15671         * assert/assert.h (assert): Don't macro-expand failed assertion
15672         expression in error message.
15673         * malloc/malloc.c (assert): Likewise.
15675 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
15677         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
15678         test.
15679         * configure: Regenerated.
15681 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
15683         * math/libm-test.inc (modf_test_data): Add more tests.
15684         (nearbyint_test_data): Likewise.
15685         (nextafter_test_data): Likewise.
15686         (nexttoward_test_data): Likewise.
15687         (pow_test_data): Likewise.
15688         (remainder_test_data): Likewise.
15689         (remquo_test_data): Likewise.
15690         (rint_test_data): Likewise.
15692         [BZ #19201]
15693         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15694         Check for zero remainder in case of large exponents and ensure
15695         correct sign of result in that case.
15696         * math/libm-test.inc (remainder_test_data): Add more tests.
15698         [BZ #6799]
15699         * math/s_nextafter.c: Include <errno.h>.
15700         (__nextafter): Set errno on overflow and underflow.
15701         * math/s_nexttowardf.c: Include <errno.h>.
15702         (__nexttowardf): Set errno on overflow and underflow.
15703         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
15704         (__nextafterl): Set errno on overflow and underflow.
15705         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
15706         (__nexttoward): Set errno on overflow and underflow.
15707         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
15708         (__nexttowardf): Set errno on overflow and underflow.
15709         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
15710         (__nextafterf): Set errno on overflow and underflow.
15711         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
15712         (__nextafterl): Set errno on overflow and underflow.
15713         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
15714         (__nexttoward): Set errno on overflow and underflow.
15715         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
15716         (__nexttowardf): Set errno on overflow and underflow.
15717         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
15718         (__nextafterl): Set errno on overflow and underflow.
15719         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
15720         (__nexttoward): Set errno on overflow and underflow.
15721         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
15722         (__nexttowardf): Set errno on overflow and underflow.
15723         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
15724         (__nexttoward): Set errno on overflow and underflow.
15725         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
15726         (__nexttowardf): Set errno on overflow and underflow.
15727         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
15728         (__nldbl_nexttowardf): Set errno on overflow and underflow.
15729         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
15730         (__nextafterl): Set errno on overflow and underflow.
15731         * math/libm-test.inc (nextafter_test_data): Do not allow errno
15732         setting to be missing on overflow.  Add more tests.
15733         (nexttoward_test_data): Likewise.
15735         * configure.ac (libc_cv_initfini_array): Remove configure test.
15736         * configure: Regenerated.
15738 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
15740         [BZ #19189]
15741         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
15742         non-finite argument handle arguments with negative sign.
15744         * math/libm-test.inc (j0_test_data): Do not test sign of zero
15745         result from infinite argument.
15746         (j1_test_data): Likewise.
15747         (jn_test_data): Likewise.
15748         (y0_test_data): Likewise.
15749         (y1_test_data): Likewise.
15750         (yn_test_data): Likewise.
15752         [BZ #16171]
15753         * math/w_remainder.c (drem): Define as weak alias of __remainder.
15754         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
15755         * math/w_remainderf.c (dremf): Define as weak alias of
15756         __remainderf.
15757         * math/w_remainderl.c (dreml): Define as weak alias of
15758         __remainderl.
15759         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
15760         __remainder.
15761         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
15762         __remainderf.
15763         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
15764         __remainderl.
15765         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
15766         weak alias of remainderl.
15767         * sysdeps/ieee754/ldbl-opt/w_remainder.c
15768         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
15769         alias of __remainder.
15770         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
15771         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
15772         strong alias of __remainderl.
15773         (dreml): Use long_double_symbol.
15774         * math/Makefile (libm-calls): Remove w_drem.
15775         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
15776         (CFLAGS-nldbl-drem.c): Remove variable.
15777         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
15778         * math/w_drem.c: Remove file.
15779         * math/w_dremf.c: Likewise.
15780         * math/w_dreml.c: Likewise.
15781         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
15782         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
15783         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
15785         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
15786         * sysdeps/i386/configure: Regenerated.
15787         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
15788         * sysdeps/x86_64/configure: Regenerated.
15790         * configure.ac (libc_cv_asm_protected_directive): Remove configure
15791         test.
15792         (libc_cv_visibility_attribute): Likewise.
15793         (libc_cv_protected_data): Test unconditionally.
15794         (libc_cv_broken_visibility_attribute): Remove configure test.
15795         (libc_cv_have_sdata_section): Test unconditionally.
15796         * configure: Regenerated.
15798         * include/libc-internal.h (libc_max_align_t): Remove typedef.
15799         * include/scratch_buffer.h: Include <stddef.h> instead of
15800         <libc-internal.h>.
15801         (struct scratch_buffer): Use max_align_t instead of
15802         libc_max_align_t.
15804 2015-10-29  Florian Weimer  <fweimer@redhat.com>
15806         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
15807         instead of extend_alloca.  Change control flow to avoid a goto.
15808         Remove assert which is trivially always true.
15810 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15812         [BZ #16068]
15813         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
15814         (FE_ALL_EXCEPT_X86): New macro.
15815         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15816         FE_ALL_EXCEPT.  Ensure precision control is included in
15817         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15818         handle "denormal operand exception" and clear FZ and DAZ bits.
15819         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
15820         (FE_ALL_EXCEPT_X86): New macro.
15821         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
15822         FE_ALL_EXCEPT.  Ensure precision control is included in
15823         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
15824         handle "denormal operand exception" and clear FZ and DAZ bits.
15825         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
15826         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
15827         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15828         test-fenv-x87 and test-fenv-sse-2.
15829         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
15831         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
15832         * math/test-double.h (BUILD_COMPLEX): New macro.
15833         * math/test-float.h (BUILD_COMPLEX): Likewise.
15834         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
15836         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
15837         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
15838         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
15839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
15840         instead of DBL_DENORM_MIN in comment.
15841         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
15842         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15843         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
15844         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
15845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
15846         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
15848 2015-10-28  Florian Weimer  <fweimer@redhat.com>
15850         [BZ# 19048]
15851         * malloc/malloc.c (struct malloc_state): Update comment.  Add
15852         attached_threads member.
15853         (main_arena): Initialize attached_threads.
15854         * malloc/arena.c (list_lock): Update comment.
15855         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
15856         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
15857         (deattach_arena): New function.
15858         (_int_new_arena): Initialize arena reference count and deattach
15859         replaced arena.
15860         (get_free_list, reused_arena): Update reference count and deattach
15861         replaced arena.
15862         (arena_thread_freeres): Update arena reference count and only put
15863         unreferenced arenas on the free list.
15865 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15867         [BZ #19181]
15868         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
15869         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
15870         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
15871         * math/test-fenv-clear-main.c: New file.
15872         * math/test-fenv-clear.c: Likewise.
15873         * math/Makefile (tests): Add test-fenv-clear.
15874         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
15875         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
15876         test-fenv-clear-sse.
15877         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
15879         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
15880         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
15881         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
15883 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15885         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
15886         static libc.
15888 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
15890         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
15891         test.
15892         * sysdeps/i386/configure: Regenerated.
15893         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
15894         test.
15895         * sysdeps/x86_64/configure: Regenerated.
15896         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
15897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15898         memset-avx2 unconditionally instead of conditionally on
15899         [$(config-cflags-avx2) = yes].
15900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15901         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
15902         unconditional.
15903         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
15904         * sysdeps/x86_64/multiarch/memset_chk.S
15905         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
15906         to [IS_IN (libc) && SHARED].
15908 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
15910         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
15911         configure test.
15912         * sysdeps/arm/configure: Regenerated.
15913         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
15914         Define variable if not already defined.
15916         [BZ #17404]
15917         * sysdeps/mips/atomic-machine.h
15918         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
15919         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
15920         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
15922         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
15923         unconditional.
15924         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
15925         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15926         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
15927         unconditional.
15928         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15929         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
15930         unconditional.
15931         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15932         * stdlib/setenv.c
15933         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
15934         code unconditional.
15935         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
15936         Remove conditional code.
15937         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
15938         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
15939         unconditional.
15940         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15941         code.
15942         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
15943         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
15944         unconditional.
15945         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15946         code.
15947         * sysdeps/ieee754/ldbl-128/k_tanl.c
15948         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15949         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15950         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
15951         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15952         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15953         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
15954         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
15955         unconditional.
15956         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
15957         code.
15958         * sysdeps/ieee754/ldbl-96/k_tanl.c
15959         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
15960         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
15962         * nptl/tst-initializers1-c11.c: New file.
15963         * nptl/tst-initializers1-gnu11.c: Likewise.
15964         * nptl/Makefile (tests): Add these new tests.
15965         (CFLAGS-tst-initializers1-c11.c): New variable.
15966         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
15968         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
15969         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
15970         instead of -std=gnu99.
15971         * configure.ac (systemtap): Test with -std=gnu11 instead of
15972         -std=gnu99.
15973         * configure: Regenerated.
15974         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
15975         in compilation command in comment.
15977         * sysdeps/nptl/configure.ac: Remove file.
15978         * sysdeps/nptl/configure: Remove generated file.
15979         * configure.ac (libc_cv_forced_unwind): Do not substitute.
15980         * configure: Regenerated.
15981         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
15982         * config.make.in (have-forced-unwind): Remove variable.
15983         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15984         unconditional.
15985         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
15986         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
15987         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
15988         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
15989         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
15990         unconditional.
15992 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15994         [BZ #19174]
15995         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
15996         .skip_lock_out_of_tbegin_retries.
15997         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15998         (__lll_lock_elision): Likewise, and respect a value of
15999         try_tbegin <= 0.
16001 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16003         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16004         statement.
16006 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16008         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16009         variable.
16010         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16011         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16013         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16014         of -std=c1x -D_ISOC11_SOURCE.
16016         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16017         * configure: Regenerated.
16018         * manual/install.texi (Tools for Compilation): Document
16019         requirement for GCC 4.7 or later.
16020         * INSTALL: Regenerated.
16022 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16024         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16025         on CNT to a conditional jump to 'puntdata'.
16027 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16029         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16030         (libc_cv_gcc_tls_model_attr): Likewise.
16031         * configure: Regenerated.
16033         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16034         * configure: Regenerated.
16035         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16037 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16039         * configure.ac (old_glibc_headers): Remove configure test.
16040         * configure: Regenerated.
16041         * config.make.in (old-glibc-headers): Remove variable.
16042         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16043         (install): Remove dependency on remove-old-headers.
16044         (headers2_0): Remove variable.
16045         (remove-old-headers): Remove rule.
16047         * configure.ac (libc_cv_dot_text): Remove configure test.
16048         (libc_cv_asm_set_directive): Use .text instead of
16049         ${libc_cv_dot_text} in configure test.
16050         * configure: Regenerated.
16052 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16054         [BZ #19168]
16055         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16057 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16059         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16060         not support static linking.
16061         * configure: Regenerate.
16063 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16065         * math/libm-test.inc (check_float_internal): Do not special-case
16066         errors up to 0.5 ulp.
16068         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16069         log2.
16070         * math/auto-libm-test-out: Regenerated.
16071         * math/libm-test.inc (MAX_EXP): New macro.
16072         (ilogb_test_data): Add more tests.
16073         (isfinite_test_data): Likewise.
16074         (isgreater_test_data): Likewise.
16075         (isgreaterequal_test_data): Likewise.
16076         (isinf_test_data): Likewise.
16077         (isless_test_data): Likewise.
16078         (islessequal_test_data): Likewise.
16079         (islessgreater_test_data): Likewise.
16080         (isnan_test_data): Likewise.
16081         (isnormal_test_data): Likewise.
16082         (issignaling_test_data): Likewise.
16083         (isunordered_test_data): Likewise.
16084         (j0_test_data): Likewise.
16085         (j1_test_data): Likewise.
16086         (jn_test_data): Likewise.
16087         (lgamma_test_data): Likewise.
16088         (log_test_data): Likewise.
16089         (log10_test_data): Likewise.
16090         (log1p_test_data): Likewise.
16091         (log2_test_data): Likewise.
16092         (logb_test_data): Likewise.
16093         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16095         [BZ #18611]
16096         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16097         avoid excess range and precision on underflow.
16098         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16099         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16100         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16101         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16102         underflow.
16103         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16104         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16105         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16106         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16107         * math/auto-libm-test-in: Do not allow missing errno setting for
16108         tests of j1 and jn.
16109         * math/auto-libm-test-out: Regenerated.
16111 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16113         [BZ #15491]
16114         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16115         floating-point environment instead of clearing all exceptions.
16116         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16117         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16118         merging in "invalid" exceptions from frndint.
16119         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16120         * math/test-nearbyint-except.c: New file.
16121         * math/Makefile (tests): Add test-nearbyint-except.
16123 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16125         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16127         * sysdeps/tile/libm-test-ulps: Regenerated.
16129 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16132         (__NR_sync_file_range2): Assume it is always defined.
16133         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16134         (__NR_sync_file_range): Assume it is always defined.
16136 2015-10-22  Andreas Schwab  <schwab@suse.de>
16138         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16139         INTERNAL_SYSCALL_ERRNO.
16140         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16141         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16142         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16143         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16144         Likewise.
16145         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16147 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16149         * io/tst-fcntl.c (fd): New static variable.
16150         (do_prepare): Open temporary file here....
16151         (do_test): ...not here.
16153         * io/ftwtest-sh: Also trap on exit to remove temporary files.
16155 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16157         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
16158         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16159         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16160         Moved before "#ifdef __ASSEMBLER__".
16162 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16164         [BZ #19156]
16165         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
16166         arguments very close to 0.
16168 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
16170         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
16171         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
16173 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
16175         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
16176         New.  Defined for GCC 5 and above when not compiling for
16177         profiling.
16178         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
16180         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16181         Renamed to ...
16182         (CFLAGS-epoll_pwait.o): This.
16183         (CFLAGS-mmap.c): Renamed to ...
16184         (CFLAGS-mmap.o): This.
16185         (CFLAGS-mmap64.c): Renamed to ...
16186         (CFLAGS-mmap64.o): This.
16187         (CFLAGS-epoll_pwait.os): New.
16188         (CFLAGS-mmap.os): Likewise.
16189         (CFLAGS-mmap64.os): Likewise.
16190         (CFLAGS-semtimedop.os): Likewise.
16191         (CFLAGS-semtimedop.c): Renamed to ...
16192         (CFLAGS-semtimedop.o): This.
16194 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16196         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
16197         warning message.
16199 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
16201         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
16202         * Makefile ($(objpfx)c++-types-check.out): Filter out
16203         $(+gccwarn-c) instead of -Wstrict-prototypes.
16205         * io/fts.c (fts_open): Convert to prototype-style function
16206         definition.
16207         * malloc/mcheck.c (mcheck): Likewise.
16208         (mcheck_pedantic): Likewise.
16209         * posix/regexec.c (re_search_2_stub): Likewise.  Use
16210         internal_function.
16211         (re_search_internal): Likewise.
16212         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
16213         prototype-style function definition.
16214         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
16215         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
16216         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
16217         (xdr_utmpptr): Likewise.
16218         (xdr_utmparr): Likewise.
16219         (xdr_utmpidle): Likewise.
16220         (xdr_utmpidleptr): Likewise.
16221         (xdr_utmpidlearr): Likewise.
16223         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
16224         log, log10 and log2.
16225         * math/auto-libm-test-out: Regenerated.
16226         * math/libm-test.inc (fmod_test_data): Add more tests.
16227         (fpclassify_test_data): Likewise.
16228         (frexp_test_data): Likewise.
16229         (hypot_test_data): Likewise.
16230         (ilogb_test_data): Likewise.
16232 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
16234         * debug/fortify_fail.c (__fortify_fail): Convert to
16235         prototype-style function definition.  Use internal_function.
16236         * libio/genops.c (save_for_backup): Convert to prototype-style
16237         function definition.
16238         * libio/wgenops.c (save_for_wbackup): Likewise.
16239         * login/grantpt.c (grantpt): Likewise.
16240         * login/ptsname.c (ptsname): Likewise.
16241         (__ptsname_r): Likewise.
16242         * login/unlockpt.c (unlockpt): Likewise.
16243         * mach/msgserver.c (__mach_msg_server): Likewise.
16244         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
16245         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
16246         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
16247         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
16248         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
16249         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
16250         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
16251         Likewise.
16252         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
16253         internal_function.
16254         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
16255         prototype-style function definition.
16256         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
16257         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
16258         (__pthread_create_2_0): Likewise.
16259         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
16260         * nptl/register-atfork.c (__register_atfork): Likewise.
16261         * posix/glob.c (glob): Likewise.
16262         * posix/regcomp.c (re_comp): Likewise.
16263         * posix/regexec.c (re_exec): Likewise.
16264         * stdlib/add_n.c [__STDC__]: Make code unconditional.
16265         [!__STDC__]: Remove conditional code.
16266         * stdlib/cmp.c [__STDC__]: Make code unconditional.
16267         [!__STDC__]: Remove conditional code.
16268         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
16269         [!__STDC__]: Remove conditional code.
16270         * stdlib/divrem.c [__STDC__]: Make code unconditional.
16271         [!__STDC__]: Remove conditional code.
16272         * stdlib/lshift.c [__STDC__]: Make code unconditional.
16273         [!__STDC__]: Remove conditional code.
16274         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
16275         [!__STDC__]: Remove conditional code.
16276         * stdlib/mul.c [__STDC__]: Make code unconditional.
16277         [!__STDC__]: Remove conditional code.
16278         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
16279         [!__STDC__]: Remove conditional code.
16280         * stdlib/rshift.c [__STDC__]: Make code unconditional.
16281         [!__STDC__]: Remove conditional code.
16282         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
16283         function definition.
16284         (STRTOF): Likewise.
16285         * stdlib/strtod_l.c (__STRTOF): Likewise.
16286         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
16287         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
16288         (__strtol_l): Likewise.
16289         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
16290         [!__STDC__]: Remove conditional code.
16291         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
16292         definition.
16293         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16294         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16295         type.
16296         (__strcasecmp): Convert to prototype-style function definition.
16297         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
16298         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16299         type.
16300         (__strncasecmp): Convert to prototype-style function definition.
16301         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
16302         * sunrpc/xdr.c (xdr_union): Likewise.
16303         * sunrpc/xdr_array.c (xdr_array): Likewise.
16304         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
16305         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
16306         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
16307         Likewise.
16308         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
16309         Likewise.
16310         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
16311         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16312         Likewise.
16313         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
16314         (LOCALE_PARAM_PROTO): Likewise.
16315         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
16316         argument type.
16317         (ut_argument_spec): Remove macro.
16318         (ut_argument_spec_iso): Rename to ut_argument_spec.
16319         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
16320         prototype-style function definition.
16321         (memcpy_uppcase): Likewise.
16322         (__strftime_internal): Likewise.
16323         (my_strftime): Likewise.
16324         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
16325         (LOCALE_PARAM_DECL): Likewise.
16326         [_LIBC] (LOCALE_PARAM): Include argument type.
16327         (__strptime_internal): Convert to prototype-style function
16328         definition.
16329         (strptime): Likewise.
16330         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
16331         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16332         type.
16333         (__wcscasecmp): Convert to prototype-style function definition.
16334         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
16335         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
16336         type.
16337         (__wcsncasecmp): Convert to prototype-style function definition.
16339         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
16340         function definition.
16341         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16342         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16343         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
16344         * elf/dl-minimal.c (_itoa): Likewise.
16345         * hurd/hurdmalloc.c (malloc): Likewise.
16346         (free): Likewise.
16347         (realloc): Likewise.
16348         * inet/inet6_option.c (inet6_option_space): Likewise.
16349         (inet6_option_init): Likewise.
16350         (inet6_option_append): Likewise.
16351         (inet6_option_alloc): Likewise.
16352         (inet6_option_next): Likewise.
16353         (inet6_option_find): Likewise.
16354         * io/ftw.c (FTW_NAME): Likewise.
16355         (NFTW_NAME): Likewise.
16356         (NFTW_NEW_NAME): Likewise.
16357         (NFTW_OLD_NAME): Likewise.
16358         * libio/iofwide.c (_IO_fwide): Likewise.
16359         * libio/strops.c (_IO_str_init_static_internal): Likewise.
16360         (_IO_str_init_static): Likewise.
16361         (_IO_str_init_readonly): Likewise.
16362         (_IO_str_overflow): Likewise.
16363         (_IO_str_underflow): Likewise.
16364         (_IO_str_count): Likewise.
16365         (_IO_str_seekoff): Likewise.
16366         (_IO_str_pbackfail): Likewise.
16367         (_IO_str_finish): Likewise.
16368         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
16369         (_IO_wstr_overflow): Likewise.
16370         (_IO_wstr_underflow): Likewise.
16371         (_IO_wstr_count): Likewise.
16372         (_IO_wstr_seekoff): Likewise.
16373         (_IO_wstr_pbackfail): Likewise.
16374         (_IO_wstr_finish): Likewise.
16375         * locale/programs/localedef.c (normalize_codeset): Likewise.
16376         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16377         (add_locales_to_archive): Likewise.
16378         (delete_locales_from_archive): Likewise.
16379         * malloc/malloc.c (__libc_mallinfo): Likewise.
16380         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
16381         * misc/tsearch.c (__tfind): Likewise.
16382         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
16383         * nptl/pthread_attr_getdetachstate.c
16384         (__pthread_attr_getdetachstate): Likewise.
16385         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
16386         Likewise.
16387         * nptl/pthread_attr_getinheritsched.c
16388         (__pthread_attr_getinheritsched): Likewise.
16389         * nptl/pthread_attr_getschedparam.c
16390         (__pthread_attr_getschedparam): Likewise.
16391         * nptl/pthread_attr_getschedpolicy.c
16392         (__pthread_attr_getschedpolicy): Likewise.
16393         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
16394         Likewise.
16395         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
16396         Likewise.
16397         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
16398         Likewise.
16399         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
16400         Likewise.
16401         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
16402         (__pthread_attr_init_2_0): Likewise.
16403         * nptl/pthread_attr_setdetachstate.c
16404         (__pthread_attr_setdetachstate): Likewise.
16405         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
16406         Likewise.
16407         * nptl/pthread_attr_setinheritsched.c
16408         (__pthread_attr_setinheritsched): Likewise.
16409         * nptl/pthread_attr_setschedparam.c
16410         (__pthread_attr_setschedparam): Likewise.
16411         * nptl/pthread_attr_setschedpolicy.c
16412         (__pthread_attr_setschedpolicy): Likewise.
16413         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
16414         Likewise.
16415         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
16416         Likewise.
16417         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
16418         Likewise.
16419         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
16420         Likewise.
16421         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
16422         Likewise.
16423         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
16424         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
16425         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
16426         use internal_function.
16427         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
16428         prototype-style function definition.
16429         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
16430         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
16431         internal_function.
16432         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
16433         Convert to prototype-style function definition.
16434         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16435         Likewise.
16436         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
16437         Likewise.
16438         (__pthread_mutex_unlock): Likewise.
16439         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
16440         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
16441         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
16442         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
16443         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
16444         * nss/makedb.c (process_input): Likewise.
16445         * posix/fnmatch.c (__strchrnul): Likewise.
16446         (__wcschrnul): Likewise.
16447         (fnmatch): Likewise.
16448         * posix/fnmatch_loop.c (FCT): Likewise.
16449         * posix/glob.c (globfree): Likewise.
16450         (__glob_pattern_type): Likewise.
16451         (__glob_pattern_p): Likewise.
16452         * posix/regcomp.c (re_compile_pattern): Likewise.
16453         (re_set_syntax): Likewise.
16454         (re_compile_fastmap): Likewise.
16455         (regcomp): Likewise.
16456         (regerror): Likewise.
16457         (regfree): Likewise.
16458         * posix/regexec.c (regexec): Likewise.
16459         (re_match): Likewise.
16460         (re_search): Likewise.
16461         (re_match_2): Likewise.
16462         (re_search_2): Likewise.
16463         (re_search_stub): Likewise.  Use internal_function
16464         (re_copy_regs): Likewise.
16465         (re_set_registers): Convert to prototype-style function
16466         definition.
16467         (prune_impossible_nodes): Likewise.  Use internal_function.
16468         * resolv/inet_net_pton.c (inet_net_pton): Convert to
16469         prototype-style function definition.
16470         (inet_net_pton_ipv4): Likewise.
16471         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16472         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
16473         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
16474         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
16475         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16476         Make variadic.
16477         * time/strptime_l.c (localtime_r): Convert to prototype-style
16478         function definition.
16479         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16480         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16481         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16482         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16484         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
16485         definition.
16486         (_ufc_doit_r): Likewise.
16487         * crypt/crypt_util.c (_ufc_copymem): Likewise.
16488         (_ufc_output_conversion_r): Likewise.
16489         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
16490         * inet/rcmd.c (rcmd_af): Likewise.
16491         (rcmd): Likewise.
16492         (ruserok_af): Likewise.
16493         (ruserok): Likewise.
16494         (ruserok2_sa): Likewise.
16495         (ruserok_sa): Likewise.
16496         (iruserok_af): Likewise.
16497         (iruserok): Likewise.
16498         (__ivaliduser): Likewise.
16499         (__validuser2_sa): Likewise.
16500         * inet/rexec.c (rexec_af): Likewise.
16501         (rexec): Likewise.
16502         * inet/ruserpass.c (ruserpass): Likewise.
16503         * locale/programs/xmalloc.c (xcalloc): Likewise.
16504         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
16505         * math/w_drem.c (__drem): Likewise.
16506         * math/w_dremf.c (__dremf): Likewise.
16507         * math/w_dreml.c (__dreml): Likewise.
16508         * misc/daemon.c (daemon): Likewise.
16509         * resolv/res_debug.c (p_fqnname): Likewise.
16510         * stdlib/div.c (div): Likewise.
16511         * string/memcmp.c (memcmp_bytes): Likewise.
16512         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
16513         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
16515         * crypt/cert.c (main): Convert to prototype-style function
16516         definition.
16517         * io/pipe.c (__pipe): Likewise.
16518         * io/pipe2.c (__pipe2): Likewise.
16519         * misc/futimesat.c (futimesat): Likewise.
16520         * misc/utimes.c (__utimes): Likewise.
16521         * posix/execve.c (__execve): Likewise.
16522         * posix/execvp.c (execvp): Likewise.
16523         * posix/execvpe.c (__execvpe): Likewise.
16524         * posix/fexecve.c (fexecve): Likewise.
16525         * socket/socketpair.c (socketpair): Likewise.
16526         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16527         * stdlib/erand48.c (erand48): Likewise.
16528         * stdlib/erand48_r.c (__erand48_r): Likewise.
16529         * stdlib/jrand48.c (jrand48): Likewise.
16530         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
16531         * stdlib/lcong48.c (lcong48): Likewise.
16532         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
16533         * stdlib/nrand48.c (nrand48): Likewise.
16534         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
16535         * stdlib/seed48.c (seed48): Likewise.
16536         * stdlib/seed48_r.c (__seed48_r): Likewise.
16537         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
16538         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
16539         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
16541 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16543         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
16544         * configure: Regenerated.
16545         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
16546         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
16547         unconditional.
16548         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16549         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16550         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16551         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
16552         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
16553         unconditional.
16554         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
16556         * posix/Makefile (CFLAGS-regex.c): Remove variable.
16557         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
16559         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
16560         function definition.
16561         * crypt/crypt_util.c (__encrypt_r): Likewise.
16562         * libio/genops.c (_IO_no_init): Likewise.
16563         * libio/iofopncook.c (_IO_fopencookie): Likewise.
16564         (_IO_old_fopencookie): Likewise.
16565         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
16566         * libio/iogetline.c (_IO_getline): Likewise.
16567         (_IO_getline_info): Likewise.
16568         * libio/iogetwline.c (_IO_getwline): Likewise.
16569         (_IO_getwline_info): Likewise.
16570         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
16571         * libio/vswprintf.c (_IO_vswprintf): Likewise.
16572         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
16573         (find_entry): Likewise.
16574         (iterate_table): Likewise.
16575         (lookup): Likewise.
16576         * login/forkpty.c (forkpty): Likewise.
16577         * misc/hsearch_r.c (__hsearch_r): Likewise.
16578         * misc/select.c (__select): Likewise.
16579         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
16580         Likewise.
16581         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
16582         Likewise.
16583         * nptl/old_pthread_cond_timedwait.c
16584         (__pthread_cond_timedwait_2_0): Likewise.
16585         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
16586         * nptl/pthread_barrierattr_getpshared.c
16587         (pthread_barrierattr_getpshared): Likewise.
16588         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
16589         Likewise.
16590         * nptl/pthread_mutex_setprioceiling.c
16591         (pthread_mutex_setprioceiling): Likewise.
16592         * nptl/pthread_mutexattr_getprioceiling.c
16593         (pthread_mutexattr_getprioceiling): Likewise.
16594         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
16595         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16596         Likewise.
16597         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16598         Likewise.
16599         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
16600         Likewise.
16601         * socket/recvfrom.c (__recvfrom): Likewise.
16602         * socket/sendto.c (__sendto): Likewise.
16603         * socket/setsockopt.c (__setsockopt): Likewise.
16604         * stdio-common/_itoa.c (_itoa): Likewise.
16605         * stdio-common/_itowa.c (_itowa): Likewise.
16606         * stdio-common/reg-printf.c (__register_printf_specifier):
16607         Likewise.
16608         (__register_printf_function): Likewise.
16609         * stdio-common/tempname.c (__path_search): Likewise.
16610         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
16611         * stdlib/mul_1.c (mpn_mul_1): Likewise.
16612         * stdlib/random_r.c (__initstate_r): Likewise.
16613         * stdlib/setenv.c (__add_to_environ): Likewise.
16614         * stdlib/submul_1.c (mpn_submul_1): Likewise.
16615         * streams/getpmsg.c (getpmsg): Likewise.
16616         * streams/putmsg.c (putmsg): Likewise.
16617         * streams/putpmsg.c (putpmsg): Likewise.
16618         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
16619         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
16620         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
16621         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
16622         * sunrpc/pm_getport.c (pmap_getport): Likewise.
16623         * sunrpc/svc_udp.c (cache_get): Likewise.
16624         * sunrpc/xdr_array.c (xdr_vector): Likewise.
16625         * sysdeps/mach/hurd/getcwd.c
16626         (__canonicalize_directory_name_internal): Likewise.
16627         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
16628         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
16629         * sysdeps/mach/hurd/select.c (__select): Likewise.
16630         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
16631         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16632         * sysdeps/sparc/nptl/pthread_barrier_init.c
16633         (__pthread_barrier_init): Likewise.
16634         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
16635         (__pthread_cond_timedwait): Likewise.
16636         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
16637         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
16638         Likewise.
16639         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
16640         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
16641         Likewise.
16642         * sysvipc/semtimedop.c (semtimedop): Likewise.
16643         * time/setitimer.c (__setitimer): Likewise.
16644         * time/strftime_l.c (emacs_strftime): Likewise.
16646 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16648         * config.make.in (have-ssp): Delete.
16649         (stack-protector): New variable.
16650         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
16651         cache test for -fstack-protector-strong.  Export stack_protector to
16652         the best ssp flag.
16653         * configure: Regenerated.
16654         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
16655         * nscd/Makefile (CFLAGS-nscd): Likewise.
16656         * resolv/Makefile (CFLAGS-libresolv): Likewise.
16658 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
16660         [BZ #19122]
16661         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
16662         attribute_hidden.
16664 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16666         [BZ #18743]
16667         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
16668         code to...
16669         (ELIDE_LOCK): ...here.
16670         (__get_new_count): New function with part of the code from
16671         __elide_lock that updates the value of adapt_count after a
16672         transaction abort.
16673         (__elided_trylock): Moved this code to...
16674         (ELIDE_TRYLOCK): ...here.
16676 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
16678         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
16679         * configure: Regenerate.
16680         * INSTALL: Regenerate.
16681         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
16682         and tweak grammar.
16684 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
16686         * login/programs/pt_chown.c: Include signal.h
16687         (main): Clear any signal mask from the parent process.
16689 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
16691         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
16692         * configure: Regenerated.
16693         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
16694         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
16695         $(gnu89-inline-CFLAGS).
16697         * configure.ac (libc_cv_asm_weak_directive): Remove configure
16698         test.
16699         (libc_cv_asm_weakext_directive): Likewise.
16700         * configure: Regenerated.
16701         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
16702         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
16703         * include/libc-symbols.h
16704         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
16705         #error.
16706         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
16707         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
16709         * sysdeps/arm/backtrace.c (__backtrace): Convert to
16710         prototype-style function definition.
16711         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16712         * sysdeps/i386/ffs.c (__ffs): Likewise.
16713         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16714         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
16715         Likewise.
16716         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16717         Likewise.
16718         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
16719         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16720         Likewise.
16721         * sysdeps/m68k/ffs.c (__ffs): Likewise.
16722         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
16723         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
16724         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
16725         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
16726         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
16727         * sysdeps/mach/hurd/access.c (__access): Likewise.
16728         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
16729         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
16730         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
16731         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
16732         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
16733         (cthread_getspecific): Likewise.
16734         (cthread_setspecific): Likewise.
16735         (__libc_getspecific): Likewise.
16736         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
16737         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
16738         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
16739         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
16740         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
16741         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
16742         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
16743         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
16744         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
16745         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
16746         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
16747         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
16748         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
16749         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
16750         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
16751         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
16752         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
16753         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
16754         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
16755         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
16756         * sysdeps/mach/hurd/link.c (__link): Likewise.
16757         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
16758         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
16759         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
16760         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
16761         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16762         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
16763         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
16764         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
16765         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
16766         * sysdeps/mach/hurd/rename.c (rename): Likewise.
16767         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
16768         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
16769         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
16770         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
16771         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
16772         * sysdeps/mach/hurd/send.c (__send): Likewise.
16773         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
16774         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
16775         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
16776         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
16777         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
16778         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
16779         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
16780         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
16781         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
16782         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
16783         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
16784         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
16785         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
16786         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
16787         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
16788         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
16789         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
16790         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
16791         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
16792         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
16793         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
16794         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
16795         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
16796         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
16797         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
16798         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
16799         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
16800         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
16801         * sysdeps/posix/alarm.c (alarm): Likewise.
16802         * sysdeps/posix/cuserid.c (cuserid): Likewise.
16803         * sysdeps/posix/dirfd.c (dirfd): Likewise.
16804         * sysdeps/posix/dup.c (__dup): Likewise.
16805         * sysdeps/posix/dup2.c (__dup2): Likewise.
16806         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
16807         (main): Likewise.
16808         * sysdeps/posix/flock.c (__flock): Likewise.
16809         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
16810         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
16811         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
16812         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
16813         * sysdeps/posix/isatty.c (__isatty): Likewise.
16814         * sysdeps/posix/killpg.c (killpg): Likewise.
16815         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16816         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
16817         * sysdeps/posix/raise.c (raise): Likewise.
16818         * sysdeps/posix/remove.c (remove): Likewise.
16819         * sysdeps/posix/rename.c (rename): Likewise.
16820         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
16821         * sysdeps/posix/seekdir.c (seekdir): Likewise.
16822         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
16823         * sysdeps/posix/sigignore.c (sigignore): Likewise.
16824         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
16825         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
16826         * sysdeps/posix/sigset.c (sigset): Likewise.
16827         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
16828         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
16829         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
16830         * sysdeps/posix/time.c (time): Likewise.
16831         * sysdeps/posix/ttyname.c (getttyname): Likewise.
16832         (ttyname): Likewise.
16833         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
16834         * sysdeps/posix/utime.c (utime): Likewise.
16835         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
16836         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16837         Likewise.
16838         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
16839         (pthread_spin_trylock): Likewise.
16840         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
16841         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
16842         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
16843         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
16844         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
16845         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
16846         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
16847         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
16848         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
16849         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
16850         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
16851         * sysdeps/s390/ffs.c (__ffs): Likewise.
16852         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
16853         Likewise.
16854         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16855         Likewise.
16856         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
16857         Likewise.
16858         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
16859         (pthread_barrier_destroy): Likewise.
16860         * sysdeps/sparc/nptl/pthread_barrier_wait.c
16861         (__pthread_barrier_wait): Likewise.
16862         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
16863         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
16864         (__pthread_barrier_wait): Likewise.
16865         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
16866         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
16867         (memcmp_not_common_alignment): Likewise.
16868         (MEMCMP): Likewise.
16869         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
16870         (_wordcopy_fwd_dest_aligned): Likewise.
16871         (_wordcopy_bwd_aligned): Likewise.
16872         (_wordcopy_bwd_dest_aligned): Likewise.
16873         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
16874         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
16875         * sysdeps/unix/bsd/stty.c (stty): Likewise.
16876         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
16877         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
16878         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
16879         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
16880         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
16881         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
16882         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
16883         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
16884         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
16885         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
16886         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
16887         * sysdeps/unix/stime.c (stime): Likewise.
16888         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
16889         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
16890         Likewise.  Use internal_function.
16891         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
16892         Convert to prototype-style function definition.
16893         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16894         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16895         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
16896         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16897         Likewise.  Use internal_function.
16898         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
16899         prototype-style function definition
16900         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16901         Likewise.
16902         (__getlogin_r): Likewise.
16903         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
16904         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
16905         (__pthread_cond_broadcast): Likewise.
16906         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
16907         (__pthread_cond_destroy): Likewise.
16908         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
16909         (__pthread_cond_init): Likewise.
16910         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
16911         (__pthread_cond_signal): Likewise.
16912         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
16913         (__pthread_cond_wait): Likewise.
16914         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
16915         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16916         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
16917         Likewise.
16918         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
16919         Likewise.
16920         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
16921         Likewise.
16922         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
16923         Likewise.
16924         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
16925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
16926         (__ftruncate64): Likewise.
16927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
16928         (truncate64): Likewise.
16929         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
16930         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
16931         (pthread_getcpuclockid): Likewise.
16932         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
16933         Likewise.
16934         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
16935         Likewise.
16936         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
16937         Likewise.
16938         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
16939         Likewise.
16940         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
16941         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
16942         (__libc_sigaction): Likewise.
16943         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
16944         Likewise.
16945         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
16946         (__sigprocmask): Likewise.
16947         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
16948         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
16949         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
16950         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16951         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16952         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
16953         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16954         Likewise.
16955         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
16956         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
16957         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16958         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
16959         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
16960         Likewise.
16961         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
16962         (__sigprocmask): Likewise.
16963         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
16964         (cfgetispeed): Likewise.
16965         (cfsetospeed): Likewise.
16966         (cfsetispeed): Likewise.
16967         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
16968         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
16969         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16970         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16971         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
16972         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
16973         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
16974         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
16975         Likewise.
16976         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
16977         Likewise.
16978         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
16979         Likewise.
16980         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
16981         Likewise.
16982         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16984 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16986         sunrpc: Rewrite with explicit TLS access using __thread.
16987         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
16988         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
16989         directly.
16990         (__rpc_thread_variables): Access thread_rpc_vars directly.
16991         Eliminate redundant assignment of the tvp variable.
16993 2015-10-17  Florian Weimer  <fweimer@redhat.com>
16995         malloc: Rewrite with explicit TLS access using __thread.
16996         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
16997         (tsd_setspecific, tsd_getspecific): Remove.
16998         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
16999         (tsd_setspecific, tsd_getspecific): Likewise.
17000         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17001         (tsd_setspecific, tsd_getspecific): Likewise.
17002         * malloc/arena.c (thread_arena): New TLS variable.
17003         (arena_key): Remove variable.
17004         (arena_get): Use thread_arena.
17005         (arena_lookup): Remove macro.
17006         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17007         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17008         (_int_new_arena, get_free_list, reused_arena)
17009         (arena_thread_freeres): Use thread_arena.
17010         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17011         tsd_getspecific, tsd_setspecific from safety annotations.
17012         (Allocating Cleared Space): Remove arena_lookup from safety
17013         annotations.
17015 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17017         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17018         struct scratch_buffer instead of extend_alloca.
17020 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17022         * sysdeps/unix/sysv/linux/kernel-features.h
17023         (__ASSUME_SOCK_CLOEXEC): Remove.
17024         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17025         (__have_paccept): Remove unused macro.
17026         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17027         * misc/syslog.c (openlog_internal): Remove fallback code for
17028         !__ASSUME_SOCK_CLOEXEC.
17029         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17030         missing SOCK_CLOEXEC.
17031         * nscd/connections.c (have_sock_cloexec): Remove definition.
17032         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17033         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17034         !__ASSUME_SOCK_CLOEXEC.
17035         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17036         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17037         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17038         definition.
17039         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17040         code for !__ASSUME_SOCK_CLOEXEC.
17042 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17044         [BZ #18982]
17045         * manual/stdio.texi (Variable Arguments Output): Add portability
17046         note, explaining that vfprintf clobbers the va_list pointer.
17048 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17050         * math/libm-test.inc (fabs_test_data): Add more tests.
17051         (fdim_test_data): Likewise.
17052         (fma_test_data): Likewise.
17053         (fmax_test_data): Likewise.
17054         (fmin_test_data): Likewise.
17055         (fmod_test_data): Likewise.
17057 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17059         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17060         data.
17062 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17064         * math/libm-test.inc (ceil_test_data): Add more tests and more
17065         expectations for "inexact".
17066         (floor_test_data): Add more tests.
17067         (round_test_data): Likewise.
17068         (trunc_test_data): Likewise.
17070         * crypt/cert.c (good_bye): Convert to prototype-style function
17071         definition.
17072         (get8): Likewise.
17073         (put8): Likewise.
17074         * crypt/crypt-entry.c (crypt): Likewise.
17075         (__fcrypt): Likewise.
17076         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17077         (_ufc_set_bits): Likewise.
17078         (_ufc_clearmem): Likewise.
17079         (__init_des_r): Likewise.
17080         (shuffle_sb): Likewise.
17081         (shuffle_sb): Likewise.
17082         (_ufc_setup_salt_r): Likewise.
17083         (_ufc_mk_keytab_r): Likewise.
17084         (_ufc_dofinalperm_r): Likewise.
17085         (encrypt): Likewise.
17086         (__setkey_r): Likewise.
17087         (setkey): Likewise.
17088         * crypt/md5.c (md5_init_ctx): Likewise.
17089         (md5_read_ctx): Likewise.
17090         (md5_finish_ctx): Likewise.
17091         (md5_stream): Likewise.
17092         (md5_buffer): Likewise.
17093         (md5_process_bytes): Likewise.
17094         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17095         (__sha256_finish_ctx): Likewise.
17096         (__sha256_process_bytes): Likewise.
17097         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17098         (__sha512_finish_ctx): Likewise.
17099         (__sha512_process_bytes): Likewise.
17100         * ctype/isctype.c (__isctype): Likewise.
17101         * debug/backtrace.c (__backtrace): Likewise.
17102         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17103         * debug/fgets_chk.c (__fgets_chk): Likewise.
17104         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17105         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17106         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17107         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17108         * debug/memset_chk.c (__memset_chk): Likewise.
17109         * debug/strcat_chk.c (__strcat_chk): Likewise.
17110         * debug/strncat_chk.c (__strncat_chk): Likewise.
17111         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17112         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17113         * dirent/dirfd.c (dirfd): Likewise.
17114         * dirent/getdents.c (__getdirentries): Likewise.
17115         * dirent/getdents64.c (getdirentries64): Likewise.
17116         * dirent/rewinddir.c (__rewinddir): Likewise.
17117         * dirent/seekdir.c (seekdir): Likewise.
17118         * dirent/telldir.c (telldir): Likewise.
17119         * elf/sln.c (makesymlinks): Likewise.
17120         (makesymlink): Likewise.
17121         * gmon/gmon.c (__moncontrol): Likewise.
17122         (__monstartup): Likewise.
17123         (write_hist): Likewise.
17124         (write_call_graph): Likewise.
17125         (write_bb_counts): Likewise.
17126         * grp/setgroups.c (setgroups): Likewise.
17127         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17128         * inet/inet_net.c (inet_network): Likewise.
17129         * inet/inet_netof.c (inet_netof): Likewise.
17130         * inet/rcmd.c (rresvport_af): Likewise.
17131         (rresvport): Likewise.
17132         * io/access.c (__access): Likewise.
17133         * io/chdir.c (__chdir): Likewise.
17134         * io/chmod.c (__chmod): Likewise.
17135         * io/chown.c (__chown): Likewise.
17136         * io/close.c (__close): Likewise.
17137         * io/creat.c (creat): Likewise.
17138         * io/creat64.c (creat64): Likewise.
17139         * io/dup.c (__dup): Likewise.
17140         * io/dup2.c (__dup2): Likewise.
17141         * io/dup3.c (__dup3): Likewise.
17142         * io/euidaccess.c (__euidaccess): Likewise.
17143         * io/faccessat.c (faccessat): Likewise.
17144         * io/fchmod.c (__fchmod): Likewise.
17145         * io/fchmodat.c (fchmodat): Likewise.
17146         * io/fchown.c (__fchown): Likewise.
17147         * io/fchownat.c (fchownat): Likewise.
17148         * io/fcntl.c (__fcntl): Likewise.
17149         * io/flock.c (__flock): Likewise.
17150         * io/fts.c (fts_load): Likewise.
17151         (fts_close): Likewise.
17152         (fts_read): Likewise.
17153         (fts_set): Likewise.
17154         (fts_children): Likewise.
17155         (fts_build): Likewise.
17156         (fts_stat): Likewise.
17157         (fts_sort): Likewise.
17158         (fts_alloc): Likewise.
17159         (fts_lfree): Likewise.
17160         (fts_palloc): Likewise.
17161         (fts_padjust): Likewise.
17162         (fts_maxarglen): Likewise.
17163         (fts_safe_changedir): Likewise.
17164         * io/getwd.c (getwd): Likewise.
17165         * io/isatty.c (__isatty): Likewise.
17166         * io/lchown.c (__lchown): Likewise.
17167         * io/link.c (__link): Likewise.
17168         * io/linkat.c (linkat): Likewise.
17169         * io/lseek.c (__libc_lseek): Likewise.
17170         * io/mkdir.c (__mkdir): Likewise.
17171         * io/mkdirat.c (mkdirat): Likewise.
17172         * io/mkfifo.c (mkfifo): Likewise.
17173         * io/mkfifoat.c (mkfifoat): Likewise.
17174         * io/open.c (__libc_open): Likewise.
17175         * io/open64.c (__libc_open64): Likewise.
17176         * io/readlink.c (__readlink): Likewise.
17177         * io/readlinkat.c (readlinkat): Likewise.
17178         * io/rmdir.c (__rmdir): Likewise.
17179         * io/symlink.c (__symlink): Likewise.
17180         * io/symlinkat.c (symlinkat): Likewise.
17181         * io/ttyname.c (ttyname): Likewise.
17182         * io/ttyname_r.c (__ttyname_r): Likewise.
17183         * io/umask.c (__umask): Likewise.
17184         * io/unlink.c (__unlink): Likewise.
17185         * io/unlinkat.c (unlinkat): Likewise.
17186         * io/utime.c (utime): Likewise.
17187         * libio/clearerr.c (clearerr): Likewise.
17188         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
17189         * libio/feof.c (_IO_feof): Likewise.
17190         * libio/feof_u.c (feof_unlocked): Likewise.
17191         * libio/ferror.c (_IO_ferror): Likewise.
17192         * libio/ferror_u.c (ferror_unlocked): Likewise.
17193         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17194         * libio/fileno.c (__fileno): Likewise.
17195         * libio/fputc.c (fputc): Likewise.
17196         * libio/fputc_u.c (fputc_unlocked): Likewise.
17197         * libio/fputwc.c (fputwc): Likewise.
17198         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
17199         * libio/freopen.c (freopen): Likewise.
17200         * libio/freopen64.c (freopen64): Likewise.
17201         * libio/fseek.c (fseek): Likewise.
17202         * libio/fseeko.c (fseeko): Likewise.
17203         * libio/fseeko64.c (fseeko64): Likewise.
17204         * libio/ftello.c (__ftello): Likewise.
17205         * libio/ftello64.c (ftello64): Likewise.
17206         * libio/fwide.c (fwide): Likewise.
17207         * libio/genops.c (_IO_un_link): Likewise.
17208         (_IO_link_in): Likewise.
17209         (_IO_least_marker): Likewise.
17210         (_IO_switch_to_main_get_area): Likewise.
17211         (_IO_switch_to_backup_area): Likewise.
17212         (_IO_switch_to_get_mode): Likewise.
17213         (_IO_free_backup_area): Likewise.
17214         (_IO_switch_to_put_mode): Likewise.
17215         (__overflow): Likewise.
17216         (__underflow): Likewise.
17217         (__uflow): Likewise.
17218         (_IO_setb): Likewise.
17219         (_IO_doallocbuf): Likewise.
17220         (_IO_default_underflow): Likewise.
17221         (_IO_default_uflow): Likewise.
17222         (_IO_default_xsputn): Likewise.
17223         (_IO_sgetn): Likewise.
17224         (_IO_default_xsgetn): Likewise.
17225         (_IO_sync): Likewise.
17226         (_IO_default_setbuf): Likewise.
17227         (_IO_default_seekpos): Likewise.
17228         (_IO_default_doallocate): Likewise.
17229         (_IO_init): Likewise.
17230         (_IO_old_init): Likewise.
17231         (_IO_default_sync): Likewise.
17232         (_IO_default_finish): Likewise.
17233         (_IO_default_seekoff): Likewise.
17234         (_IO_sputbackc): Likewise.
17235         (_IO_sungetc): Likewise.
17236         (_IO_set_column): Likewise.
17237         (_IO_set_column): Likewise.
17238         (_IO_adjust_column): Likewise.
17239         (_IO_get_column): Likewise.
17240         (_IO_init_marker): Likewise.
17241         (_IO_remove_marker): Likewise.
17242         (_IO_marker_difference): Likewise.
17243         (_IO_marker_delta): Likewise.
17244         (_IO_seekmark): Likewise.
17245         (_IO_unsave_markers): Likewise.
17246         (_IO_nobackup_pbackfail): Likewise.
17247         (_IO_default_pbackfail): Likewise.
17248         (_IO_default_seek): Likewise.
17249         (_IO_default_stat): Likewise.
17250         (_IO_default_read): Likewise.
17251         (_IO_default_write): Likewise.
17252         (_IO_default_showmanyc): Likewise.
17253         (_IO_default_imbue): Likewise.
17254         (_IO_iter_next): Likewise.
17255         (_IO_iter_file): Likewise.
17256         * libio/getc.c (_IO_getc): Likewise.
17257         * libio/getwc.c (_IO_getwc): Likewise.
17258         * libio/iofclose.c (_IO_new_fclose): Likewise.
17259         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
17260         * libio/iofflush.c (_IO_fflush): Likewise.
17261         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
17262         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
17263         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
17264         * libio/iofgets.c (_IO_fgets): Likewise.
17265         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
17266         * libio/iofgetws.c (fgetws): Likewise.
17267         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17268         * libio/iofopen64.c (_IO_fopen64): Likewise.
17269         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17270         (_IO_cookie_write): Likewise.
17271         (_IO_cookie_seek): Likewise.
17272         (_IO_cookie_close): Likewise.
17273         (_IO_cookie_seekoff): Likewise.
17274         (_IO_old_cookie_seek): Likewise.
17275         * libio/iofputs.c (_IO_fputs): Likewise.
17276         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
17277         * libio/iofputws.c (fputws): Likewise.
17278         * libio/iofputws_u.c (fputws_unlocked): Likewise.
17279         * libio/iofread.c (_IO_fread): Likewise.
17280         * libio/iofread_u.c (__fread_unlocked): Likewise.
17281         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
17282         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
17283         * libio/ioftell.c (_IO_ftell): Likewise.
17284         * libio/iofwrite.c (_IO_fwrite): Likewise.
17285         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17286         * libio/iogets.c (_IO_gets): Likewise.
17287         * libio/iopadn.c (_IO_padn): Likewise.
17288         * libio/iopopen.c (_IO_new_proc_open): Likewise.
17289         (_IO_new_popen): Likewise.
17290         (_IO_new_proc_close): Likewise.
17291         * libio/ioputs.c (_IO_puts): Likewise.
17292         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
17293         (_IO_seekoff): Likewise.
17294         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
17295         (_IO_seekpos): Likewise.
17296         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
17297         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
17298         * libio/ioungetc.c (_IO_ungetc): Likewise.
17299         * libio/ioungetwc.c (ungetwc): Likewise.
17300         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
17301         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
17302         * libio/iowpadn.c (_IO_wpadn): Likewise.
17303         * libio/libc_fatal.c (__libc_fatal): Likewise.
17304         * libio/memstream.c (__open_memstream): Likewise.
17305         (_IO_mem_sync): Likewise.
17306         (_IO_mem_finish): Likewise.
17307         * libio/oldfileops.c (_IO_old_file_init): Likewise.
17308         (_IO_old_file_close_it): Likewise.
17309         (_IO_old_file_finish): Likewise.
17310         (_IO_old_file_fopen): Likewise.
17311         (_IO_old_file_attach): Likewise.
17312         (_IO_old_file_setbuf): Likewise.
17313         (_IO_old_do_write): Likewise.
17314         (old_do_write): Likewise.
17315         (_IO_old_file_underflow): Likewise.
17316         (_IO_old_file_overflow): Likewise.
17317         (_IO_old_file_sync): Likewise.
17318         (_IO_old_file_seekoff): Likewise.
17319         (_IO_old_file_write): Likewise.
17320         (_IO_old_file_xsputn): Likewise.
17321         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
17322         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
17323         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
17324         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
17325         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
17326         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
17327         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
17328         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
17329         (_IO_old_popen): Likewise.
17330         (_IO_old_proc_close): Likewise.
17331         * libio/oldpclose.c (__old_pclose): Likewise.
17332         * libio/pclose.c (__new_pclose): Likewise.
17333         * libio/peekc.c (_IO_peekc_locked): Likewise.
17334         * libio/putc.c (_IO_putc): Likewise.
17335         * libio/putc_u.c (putc_unlocked): Likewise.
17336         * libio/putchar.c (putchar): Likewise.
17337         * libio/putchar_u.c (putchar_unlocked): Likewise.
17338         * libio/putwc.c (putwc): Likewise.
17339         * libio/putwc_u.c (putwc_unlocked): Likewise.
17340         * libio/putwchar.c (putwchar): Likewise.
17341         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
17342         * libio/rewind.c (rewind): Likewise.
17343         * libio/setbuf.c (setbuf): Likewise.
17344         * libio/setlinebuf.c (setlinebuf): Likewise.
17345         * libio/vasprintf.c (_IO_vasprintf): Likewise.
17346         * libio/vscanf.c (_IO_vscanf): Likewise.
17347         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
17348         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
17349         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
17350         * libio/wgenops.c (_IO_least_wmarker): Likewise.
17351         (_IO_switch_to_main_wget_area): Likewise.
17352         (_IO_switch_to_wbackup_area): Likewise.
17353         (_IO_wsetb): Likewise.
17354         (_IO_wdefault_pbackfail): Likewise.
17355         (_IO_wdefault_finish): Likewise.
17356         (_IO_wdefault_uflow): Likewise.
17357         (__woverflow): Likewise.
17358         (__wuflow): Likewise.
17359         (__wunderflow): Likewise.
17360         (_IO_wdefault_xsputn): Likewise.
17361         (_IO_wdefault_xsgetn): Likewise.
17362         (_IO_wdoallocbuf): Likewise.
17363         (_IO_wdefault_doallocate): Likewise.
17364         (_IO_switch_to_wget_mode): Likewise.
17365         (_IO_free_wbackup_area): Likewise.
17366         (_IO_switch_to_wput_mode): Likewise.
17367         (_IO_sputbackwc): Likewise.
17368         (_IO_sungetwc): Likewise.
17369         (_IO_adjust_wcolumn): Likewise.
17370         (_IO_init_wmarker): Likewise.
17371         (_IO_wmarker_delta): Likewise.
17372         (_IO_seekwmark): Likewise.
17373         (_IO_unsave_wmarkers): Likewise.
17374         * libio/wmemstream.c (open_wmemstream): Likewise.
17375         (_IO_wmem_sync): Likewise.
17376         (_IO_wmem_finish): Likewise.
17377         * locale/nl_langinfo.c (nl_langinfo): Likewise.
17378         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
17379         * locale/programs/simple-hash.c (init_hash): Likewise.
17380         (delete_hash): Likewise.
17381         (insert_entry): Likewise.
17382         (set_entry): Likewise.
17383         (next_prime): Likewise.
17384         (is_prime): Likewise.
17385         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
17386         (xmalloc): Likewise.
17387         (xrealloc): Likewise.
17388         * locale/programs/xstrdup.c (xstrdup): Likewise.
17389         * localedata/collate-test.c (xstrcoll): Likewise.
17390         * localedata/xfrm-test.c (xstrcmp): Likewise.
17391         * login/getlogin_r.c (__getlogin_r): Likewise.
17392         * login/getpt.c (__posix_openpt): Likewise.
17393         * login/login_tty.c (login_tty): Likewise.
17394         * login/setlogin.c (setlogin): Likewise.
17395         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
17396         (mach_msg_destroy_port): Likewise.
17397         (mach_msg_destroy_memory): Likewise.
17398         * malloc/mcheck.c (flood): Likewise.
17399         * misc/acct.c (acct): Likewise.
17400         * misc/brk.c (__brk): Likewise.
17401         * misc/chflags.c (chflags): Likewise.
17402         * misc/chroot.c (chroot): Likewise.
17403         * misc/fchflags.c (fchflags): Likewise.
17404         * misc/fstab.c (getfsspec): Likewise.
17405         (getfsfile): Likewise.
17406         * misc/fsync.c (fsync): Likewise.
17407         * misc/ftruncate.c (__ftruncate): Likewise.
17408         * misc/ftruncate64.c (__ftruncate64): Likewise.
17409         * misc/getdomain.c (getdomainname): Likewise.
17410         (getdomainname): Likewise.
17411         * misc/gethostname.c (__gethostname): Likewise.
17412         * misc/getpass.c (getpass): Likewise.
17413         * misc/getttyent.c (skip): Likewise.
17414         (value): Likewise.
17415         * misc/gtty.c (gtty): Likewise.
17416         * misc/hsearch.c (hsearch): Likewise.
17417         (hcreate): Likewise.
17418         * misc/hsearch_r.c (__hcreate_r): Likewise.
17419         (__hdestroy_r): Likewise.
17420         * misc/ioctl.c (__ioctl): Likewise.
17421         * misc/mkdtemp.c (mkdtemp): Likewise.
17422         * misc/mkostemp.c (mkostemp): Likewise.
17423         * misc/mkostemp64.c (mkostemp64): Likewise.
17424         * misc/mkostemps.c (mkostemps): Likewise.
17425         * misc/mkostemps64.c (mkostemps64): Likewise.
17426         * misc/mkstemp.c (mkstemp): Likewise.
17427         * misc/mkstemp64.c (mkstemp64): Likewise.
17428         * misc/mkstemps.c (mkstemps): Likewise.
17429         * misc/mkstemps64.c (mkstemps64): Likewise.
17430         * misc/mktemp.c (__mktemp): Likewise.
17431         * misc/preadv.c (preadv): Likewise.
17432         * misc/preadv64.c (preadv64): Likewise.
17433         * misc/pwritev.c (pwritev): Likewise.
17434         * misc/pwritev64.c (pwritev64): Likewise.
17435         * misc/readv.c (__readv): Likewise.
17436         * misc/revoke.c (revoke): Likewise.
17437         * misc/setdomain.c (setdomainname): Likewise.
17438         * misc/setegid.c (setegid): Likewise.
17439         * misc/seteuid.c (seteuid): Likewise.
17440         * misc/sethostid.c (sethostid): Likewise.
17441         * misc/sethostname.c (sethostname): Likewise.
17442         * misc/setregid.c (__setregid): Likewise.
17443         * misc/setreuid.c (__setreuid): Likewise.
17444         * misc/sstk.c (sstk): Likewise.
17445         * misc/stty.c (stty): Likewise.
17446         * misc/syscall.c (syscall): Likewise.
17447         * misc/syslog.c (setlogmask): Likewise.
17448         * misc/truncate.c (__truncate): Likewise.
17449         * misc/truncate64.c (truncate64): Likewise.
17450         * misc/ualarm.c (ualarm): Likewise.
17451         * misc/usleep.c (usleep): Likewise.
17452         * misc/ustat.c (ustat): Likewise.
17453         * misc/writev.c (__writev): Likewise.
17454         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
17455         * nptl/old_pthread_cond_broadcast.c
17456         (__pthread_cond_broadcast_2_0): Likewise.
17457         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
17458         Likewise.
17459         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
17460         Likewise.
17461         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
17462         Likewise.
17463         * nptl/pt-raise.c (raise): Likewise.
17464         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
17465         Likewise.
17466         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
17467         * nptl/pthread_barrierattr_destroy.c
17468         (pthread_barrierattr_destroy): Likewise.
17469         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
17470         Likewise.
17471         * nptl/pthread_barrierattr_setpshared.c
17472         (pthread_barrierattr_setpshared): Likewise.
17473         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17474         Likewise.
17475         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
17476         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
17477         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
17478         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
17479         Likewise.
17480         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
17481         Likewise.
17482         * nptl/pthread_condattr_getpshared.c
17483         (pthread_condattr_getpshared): Likewise.
17484         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
17485         Likewise.
17486         * nptl/pthread_condattr_setpshared.c
17487         (pthread_condattr_setpshared): Likewise.
17488         * nptl/pthread_detach.c (pthread_detach): Likewise.
17489         * nptl/pthread_equal.c (__pthread_equal): Likewise.
17490         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
17491         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
17492         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
17493         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
17494         Likewise.
17495         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
17496         Likewise.
17497         * nptl/pthread_mutex_getprioceiling.c
17498         (pthread_mutex_getprioceiling): Likewise.
17499         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
17500         Likewise.
17501         * nptl/pthread_mutexattr_getprotocol.c
17502         (pthread_mutexattr_getprotocol): Likewise.
17503         * nptl/pthread_mutexattr_getpshared.c
17504         (pthread_mutexattr_getpshared): Likewise.
17505         * nptl/pthread_mutexattr_getrobust.c
17506         (pthread_mutexattr_getrobust): Likewise.
17507         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
17508         Likewise.
17509         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
17510         Likewise.
17511         * nptl/pthread_mutexattr_setprioceiling.c
17512         (pthread_mutexattr_setprioceiling): Likewise.
17513         * nptl/pthread_mutexattr_setprotocol.c
17514         (pthread_mutexattr_setprotocol): Likewise.
17515         * nptl/pthread_mutexattr_setpshared.c
17516         (pthread_mutexattr_setpshared): Likewise.
17517         * nptl/pthread_mutexattr_setrobust.c
17518         (pthread_mutexattr_setrobust): Likewise.
17519         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
17520         Likewise.
17521         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
17522         Likewise.
17523         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
17524         Likewise.
17525         * nptl/pthread_rwlockattr_getkind_np.c
17526         (pthread_rwlockattr_getkind_np): Likewise.
17527         * nptl/pthread_rwlockattr_getpshared.c
17528         (pthread_rwlockattr_getpshared): Likewise.
17529         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
17530         Likewise.
17531         * nptl/pthread_rwlockattr_setkind_np.c
17532         (pthread_rwlockattr_setkind_np): Likewise.
17533         * nptl/pthread_rwlockattr_setpshared.c
17534         (pthread_rwlockattr_setpshared): Likewise.
17535         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
17536         Likewise.
17537         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
17538         Likewise.
17539         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
17540         Likewise.
17541         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
17542         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
17543         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
17544         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
17545         * nptl/sem_close.c (sem_close): Likewise.
17546         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
17547         * nptl/sem_init.c (__old_sem_init): Likewise.
17548         * nptl/sigaction.c (__sigaction): Likewise.
17549         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17550         * posix/_exit.c (_exit): Likewise.
17551         * posix/alarm.c (alarm): Likewise.
17552         * posix/confstr.c (confstr): Likewise.
17553         * posix/fpathconf.c (__fpathconf): Likewise.
17554         * posix/getgroups.c (__getgroups): Likewise.
17555         * posix/getpgid.c (__getpgid): Likewise.
17556         * posix/group_member.c (__group_member): Likewise.
17557         * posix/pathconf.c (__pathconf): Likewise.
17558         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
17559         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
17560         * posix/setgid.c (__setgid): Likewise.
17561         * posix/setpgid.c (__setpgid): Likewise.
17562         * posix/setuid.c (__setuid): Likewise.
17563         * posix/sleep.c (__sleep): Likewise.
17564         * posix/sysconf.c (__sysconf): Likewise.
17565         * posix/times.c (__times): Likewise.
17566         * posix/uname.c (__uname): Likewise.
17567         * posix/waitid.c (__waitid): Likewise.
17568         * pwd/getpw.c (__getpw): Likewise.
17569         * resolv/base64.c (b64_pton): Likewise.
17570         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
17571         * resolv/gethnamaddr.c (Dprintf): Likewise.
17572         (gethostbyname): Likewise.
17573         (gethostbyname2): Likewise.
17574         (gethostbyaddr): Likewise.
17575         (_sethtent): Likewise.
17576         (_gethtbyname): Likewise.
17577         (_gethtbyname2): Likewise.
17578         (_gethtbyaddr): Likewise.
17579         (map_v4v6_address): Likewise.
17580         (map_v4v6_hostent): Likewise.
17581         (addrsort): Likewise.
17582         (ht_sethostent): Likewise.
17583         (ht_gethostbyname): Likewise.
17584         (ht_gethostbyaddr): Likewise.
17585         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
17586         (inet_net_ntop_ipv4): Likewise.
17587         * resolv/inet_neta.c (inet_neta): Likewise.
17588         * resolv/inet_ntop.c (inet_ntop): Likewise.
17589         (inet_ntop4): Likewise.
17590         (inet_ntop6): Likewise.
17591         * resolv/inet_pton.c (__inet_pton): Likewise.
17592         (inet_pton4): Likewise.
17593         (inet_pton6): Likewise.
17594         * resolv/res_debug.c (loc_aton): Likewise.
17595         (loc_ntoa): Likewise.
17596         * resource/getpriority.c (__getpriority): Likewise.
17597         * resource/getrusage.c (__getrusage): Likewise.
17598         * resource/nice.c (nice): Likewise.
17599         * resource/setpriority.c (__setpriority): Likewise.
17600         * resource/setrlimit64.c (setrlimit64): Likewise.
17601         * resource/vlimit.c (vlimit): Likewise.
17602         * resource/vtimes.c (vtimes): Likewise.
17603         * rt/aio_error.c (aio_error): Likewise.
17604         * rt/aio_return.c (aio_return): Likewise.
17605         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
17606         * signal/kill.c (__kill): Likewise.
17607         * signal/killpg.c (killpg): Likewise.
17608         * signal/raise.c (raise): Likewise.
17609         * signal/sigaction.c (__sigaction): Likewise.
17610         * signal/sigaddset.c (sigaddset): Likewise.
17611         * signal/sigaltstack.c (sigaltstack): Likewise.
17612         * signal/sigandset.c (sigandset): Likewise.
17613         * signal/sigblock.c (__sigblock): Likewise.
17614         * signal/sigdelset.c (sigdelset): Likewise.
17615         * signal/sigempty.c (sigemptyset): Likewise.
17616         * signal/sigfillset.c (sigfillset): Likewise.
17617         * signal/sighold.c (sighold): Likewise.
17618         * signal/sigignore.c (sigignore): Likewise.
17619         * signal/sigintr.c (siginterrupt): Likewise.
17620         * signal/sigisempty.c (sigisemptyset): Likewise.
17621         * signal/sigismem.c (sigismember): Likewise.
17622         * signal/signal.c (signal): Likewise.
17623         * signal/sigorset.c (sigorset): Likewise.
17624         * signal/sigpause.c (__sigpause): Likewise.
17625         * signal/sigpending.c (sigpending): Likewise.
17626         * signal/sigprocmask.c (__sigprocmask): Likewise.
17627         * signal/sigrelse.c (sigrelse): Likewise.
17628         * signal/sigreturn.c (__sigreturn): Likewise.
17629         * signal/sigset.c (sigset): Likewise.
17630         * signal/sigsetmask.c (__sigsetmask): Likewise.
17631         * signal/sigstack.c (sigstack): Likewise.
17632         * signal/sigsuspend.c (__sigsuspend): Likewise.
17633         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
17634         * signal/sysv_signal.c (__sysv_signal): Likewise.
17635         * socket/accept.c (accept): Likewise.
17636         * socket/accept4.c (__libc_accept4): Likewise.
17637         * socket/bind.c (__bind): Likewise.
17638         * socket/connect.c (__connect): Likewise.
17639         * socket/getpeername.c (getpeername): Likewise.
17640         * socket/getsockname.c (__getsockname): Likewise.
17641         * socket/getsockopt.c (getsockopt): Likewise.
17642         * socket/listen.c (__listen): Likewise.
17643         * socket/recv.c (__recv): Likewise.
17644         * socket/recvmsg.c (__recvmsg): Likewise.
17645         * socket/send.c (__send): Likewise.
17646         * socket/sendmsg.c (__sendmsg): Likewise.
17647         * socket/shutdown.c (shutdown): Likewise.
17648         * socket/sockatmark.c (sockatmark): Likewise.
17649         * socket/socket.c (__socket): Likewise.
17650         * stdio-common/ctermid.c (ctermid): Likewise.
17651         * stdio-common/cuserid.c (cuserid): Likewise.
17652         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
17653         * stdio-common/remove.c (remove): Likewise.
17654         * stdio-common/rename.c (rename): Likewise.
17655         * stdio-common/renameat.c (renameat): Likewise.
17656         * stdio-common/tempname.c (__gen_tempname): Likewise.
17657         * stdio-common/xbug.c (InitBuffer): Likewise.
17658         (AppendToBuffer): Likewise.
17659         (ReadFile): Likewise.
17660         * stdlib/a64l.c (a64l): Likewise.
17661         * stdlib/drand48_r.c (drand48_r): Likewise.
17662         * stdlib/getcontext.c (getcontext): Likewise.
17663         * stdlib/getenv.c (getenv): Likewise.
17664         * stdlib/l64a.c (l64a): Likewise.
17665         * stdlib/llabs.c (llabs): Likewise.
17666         * stdlib/lldiv.c (lldiv): Likewise.
17667         * stdlib/lrand48_r.c (lrand48_r): Likewise.
17668         * stdlib/mrand48_r.c (mrand48_r): Likewise.
17669         * stdlib/putenv.c (putenv): Likewise.
17670         * stdlib/random.c (__srandom): Likewise.
17671         (__initstate): Likewise.
17672         (__setstate): Likewise.
17673         * stdlib/random_r.c (__srandom_r): Likewise.
17674         (__setstate_r): Likewise.
17675         (__random_r): Likewise.
17676         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
17677         * stdlib/setcontext.c (setcontext): Likewise.
17678         * stdlib/setenv.c (setenv): Likewise.
17679         (unsetenv): Likewise.
17680         * stdlib/srand48.c (srand48): Likewise.
17681         * stdlib/srand48_r.c (__srand48_r): Likewise.
17682         * stdlib/swapcontext.c (swapcontext): Likewise.
17683         * stdlib/system.c (__libc_system): Likewise.
17684         * stdlib/tst-strtod.c (expand): Likewise.
17685         * stdlib/tst-strtol.c (expand): Likewise.
17686         * stdlib/tst-strtoll.c (expand): Likewise.
17687         * streams/fattach.c (fattach): Likewise.
17688         * streams/fdetach.c (fdetach): Likewise.
17689         * streams/getmsg.c (getmsg): Likewise.
17690         * streams/isastream.c (isastream): Likewise.
17691         * string/ffs.c (__ffs): Likewise.
17692         * string/ffsll.c (ffsll): Likewise.
17693         * string/memcmp.c (memcmp_common_alignment): Likewise.
17694         (memcmp_not_common_alignment): Likewise.
17695         (MEMCMP): Likewise.
17696         * string/memcpy.c (memcpy): Likewise.
17697         * string/memmove.c (MEMMOVE): Likewise.
17698         * string/memset.c (memset): Likewise.
17699         * string/rawmemchr.c (RAWMEMCHR): Likewise.
17700         * string/strchrnul.c (STRCHRNUL): Likewise.
17701         * string/strerror.c (strerror): Likewise.
17702         * string/strndup.c (__strndup): Likewise.
17703         * string/strverscmp.c (__strverscmp): Likewise.
17704         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
17705         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
17706         (clnttcp_freeres): Likewise.
17707         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
17708         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
17709         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
17710         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
17711         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
17712         (xdr_callhdr): Likewise.
17713         * sunrpc/rpcinfo.c (udpping): Likewise.
17714         (tcpping): Likewise.
17715         (pstatus): Likewise.
17716         (pmapdump): Likewise.
17717         (brdcst): Likewise.
17718         (deletereg): Likewise.
17719         (getprognum): Likewise.
17720         (getvers): Likewise.
17721         (get_inet_address): Likewise.
17722         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
17723         * sunrpc/svc_udp.c (svcudp_create): Likewise.
17724         (svcudp_stat): Likewise.
17725         (svcudp_recv): Likewise.
17726         (svcudp_reply): Likewise.
17727         (svcudp_getargs): Likewise.
17728         (svcudp_freeargs): Likewise.
17729         (svcudp_destroy): Likewise.
17730         * sunrpc/xdr.c (xdr_bytes): Likewise.
17731         (xdr_netobj): Likewise.
17732         (xdr_string): Likewise.
17733         (xdr_wrapstring): Likewise.
17734         * sunrpc/xdr_float.c (xdr_float): Likewise.
17735         (xdr_double): Likewise.
17736         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
17737         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
17738         * sysvipc/ftok.c (ftok): Likewise.
17739         * sysvipc/msgctl.c (msgctl): Likewise.
17740         * sysvipc/msgget.c (msgget): Likewise.
17741         * sysvipc/msgrcv.c (msgrcv): Likewise.
17742         * sysvipc/msgsnd.c (msgsnd): Likewise.
17743         * sysvipc/semget.c (semget): Likewise.
17744         * sysvipc/semop.c (semop): Likewise.
17745         * sysvipc/shmat.c (shmat): Likewise.
17746         * sysvipc/shmctl.c (shmctl): Likewise.
17747         * sysvipc/shmdt.c (shmdt): Likewise.
17748         * sysvipc/shmget.c (shmget): Likewise.
17749         * termios/cfmakeraw.c (cfmakeraw): Likewise.
17750         * termios/speed.c (cfgetospeed): Likewise.
17751         (cfgetispeed): Likewise.
17752         (cfsetospeed): Likewise.
17753         (cfsetispeed): Likewise.
17754         * termios/tcflow.c (tcflow): Likewise.
17755         * termios/tcflush.c (tcflush): Likewise.
17756         * termios/tcgetattr.c (__tcgetattr): Likewise.
17757         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
17758         * termios/tcgetsid.c (tcgetsid): Likewise.
17759         * termios/tcsendbrk.c (tcsendbreak): Likewise.
17760         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
17761         * time/adjtime.c (__adjtime): Likewise.
17762         * time/dysize.c (dysize): Likewise.
17763         * time/ftime.c (ftime): Likewise.
17764         * time/getitimer.c (__getitimer): Likewise.
17765         * time/gettimeofday.c (__gettimeofday): Likewise.
17766         * time/gmtime.c (__gmtime_r): Likewise.
17767         (gmtime): Likewise.
17768         * time/localtime.c (__localtime_r): Likewise.
17769         (localtime): Likewise.
17770         * time/offtime.c (__offtime): Likewise.
17771         * time/settimeofday.c (__settimeofday): Likewise.
17772         * time/stime.c (stime): Likewise.
17773         * time/strftime_l.c (tm_diff): Likewise.
17774         (iso_week_days): Likewise.
17775         * time/strptime.c (strptime): Likewise.
17776         * time/time.c (time): Likewise.
17777         * time/timespec_get.c (timespec_get): Likewise.
17778         * time/tzset.c (tzset_internal): Likewise.
17779         (compute_change): Likewise.
17780         (__tz_compute): Likewise.
17781         * wcsmbs/btowc.c (__btowc): Likewise.
17782         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
17783         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
17784         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
17785         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
17786         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
17787         * wcsmbs/wcscat.c (__wcscat): Likewise.
17788         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17789         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
17790         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
17791         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17792         * wcsmbs/wcsdup.c (wcsdup): Likewise.
17793         * wcsmbs/wcslen.c (__wcslen): Likewise.
17794         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
17795         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
17796         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
17797         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
17798         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17799         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
17800         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17801         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17802         * wcsmbs/wcstok.c (wcstok): Likewise.
17803         * wcsmbs/wctob.c (wctob): Likewise.
17804         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
17805         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17806         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
17807         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
17808         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
17809         * wcsmbs/wmemset.c (__wmemset): Likewise.
17810         * wctype/wcfuncs.c (__towlower): Likewise.
17811         (__towupper): Likewise.
17813         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
17814         (lll_unlock_elision): Add adapt_count parameter.
17816 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
17818         * sysdeps/nptl/configure.ac: Do not give errors based on the
17819         results of top-level configure tests.
17820         * sysdeps/nptl/configure: Regenerated.
17822         * configure.ac (libc_cv_Bgroup): Remove configure test.
17823         * configure: Regenerated.
17824         * config.make.in (have-Bgroup): Remove variable.
17826         * configure.ac (sizeof_long_double): Remove configure test.
17827         * configure: Regenerated.
17828         * config.make.in (sizeof-long-double): Remove variable.
17830         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
17831         * configure: Regenerated.
17832         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
17833         variable.
17834         (exceptions): Likewise.
17835         * sysdeps/arm/configure: Regenerated.
17836         * config.make.in (exceptions): Remove variable.
17837         * Makeconfig (uses-callbacks): Use -fexceptions instead of
17838         $(exceptions).
17839         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
17840         (CFLAGS-vdprintf_chk.c): Likewise.
17841         (CFLAGS-printf_chk.c): Likewise.
17842         (CFLAGS-fprintf_chk.c): Likewise.
17843         (CFLAGS-vprintf_chk.c): Likewise.
17844         (CFLAGS-vfprintf_chk.c): Likewise.
17845         (CFLAGS-gets_chk.c): Likewise.
17846         (CFLAGS-fgets_chk.c): Likewise.
17847         (CFLAGS-fgets_u_chk.c): Likewise.
17848         (CFLAGS-fread_chk.c): Likewise.
17849         (CFLAGS-fread_u_chk.c): Likewise.
17850         (CFLAGS-wprintf_chk.c): Likewise.
17851         (CFLAGS-fwprintf_chk.c): Likewise.
17852         (CFLAGS-vwprintf_chk.c): Likewise.
17853         (CFLAGS-vfwprintf_chk.c): Likewise.
17854         (CFLAGS-fgetws_chk.c): Likewise.
17855         (CFLAGS-fgetws_u_chk.c): Likewise.
17856         * libio/Makefile (CFLAGS-fileops.c): Likewise.
17857         (CFLAGS-fputc.c): Likewise.
17858         (CFLAGS-fputwc.c): Likewise.
17859         (CFLAGS-freopen64.c): Likewise.
17860         (CFLAGS-freopen.c): Likewise.
17861         (CFLAGS-fseek.c): Likewise.
17862         (CFLAGS-fseeko64.c): Likewise.
17863         (CFLAGS-fseeko.c): Likewise.
17864         (CFLAGS-ftello64.c): Likewise.
17865         (CFLAGS-ftello.c): Likewise.
17866         (CFLAGS-fwide.c): Likewise.
17867         (CFLAGS-genops.c): Likewise.
17868         (CFLAGS-getc.c): Likewise.
17869         (CFLAGS-getchar.c): Likewise.
17870         (CFLAGS-getwc.c): Likewise.
17871         (CFLAGS-getwchar.c): Likewise.
17872         (CFLAGS-iofclose.c): Likewise.
17873         (CFLAGS-iofflush.c): Likewise.
17874         (CFLAGS-iofgetpos64.c): Likewise.
17875         (CFLAGS-iofgetpos.c): Likewise.
17876         (CFLAGS-iofgets.c): Likewise.
17877         (CFLAGS-iofgetws.c): Likewise.
17878         (CFLAGS-iofputs.c): Likewise.
17879         (CFLAGS-iofputws.c): Likewise.
17880         (CFLAGS-iofread.c): Likewise.
17881         (CFLAGS-iofsetpos64.c): Likewise.
17882         (CFLAGS-iofsetpos.c): Likewise.
17883         (CFLAGS-ioftell.c): Likewise.
17884         (CFLAGS-iofwrite.c): Likewise.
17885         (CFLAGS-iogetdelim.c): Likewise.
17886         (CFLAGS-iogetline.c): Likewise.
17887         (CFLAGS-iogets.c): Likewise.
17888         (CFLAGS-iogetwline.c): Likewise.
17889         (CFLAGS-ioputs.c): Likewise.
17890         (CFLAGS-ioseekoff.c): Likewise.
17891         (CFLAGS-ioseekpos.c): Likewise.
17892         (CFLAGS-iosetbuffer.c): Likewise.
17893         (CFLAGS-iosetvbuf.c): Likewise.
17894         (CFLAGS-ioungetc.c): Likewise.
17895         (CFLAGS-ioungetwc.c): Likewise.
17896         (CFLAGS-oldfileops.c): Likewise.
17897         (CFLAGS-oldiofclose.c): Likewise.
17898         (CFLAGS-oldiofgetpos64.c): Likewise.
17899         (CFLAGS-oldiofgetpos.c): Likewise.
17900         (CFLAGS-oldiofsetpos64.c): Likewise.
17901         (CFLAGS-oldiofsetpos.c): Likewise.
17902         (CFLAGS-peekc.c): Likewise.
17903         (CFLAGS-putc.c): Likewise.
17904         (CFLAGS-putchar.c): Likewise.
17905         (CFLAGS-putwc.c): Likewise.
17906         (CFLAGS-putwchar.c): Likewise.
17907         (CFLAGS-rewind.c): Likewise.
17908         (CFLAGS-wfileops.c): Likewise.
17909         (CFLAGS-wgenops.c): Likewise.
17910         (CFLAGS-oldiofopen.c): Likewise.
17911         (CFLAGS-iofopen.c): Likewise.
17912         (CFLAGS-iofopen64.c): Likewise.
17913         (CFLAGS-oldtmpfile.c): Likewise.
17914         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
17915         (CFLAGS-fprintf.c): Likewise.
17916         (CFLAGS-printf.c): Likewise.
17917         (CFLAGS-vfwprintf.c): Likewise.
17918         (CFLAGS-vfscanf.c): Likewise.
17919         (CFLAGS-vfwscanf.c): Likewise.
17920         (CFLAGS-fscanf.c): Likewise.
17921         (CFLAGS-scanf.c): Likewise.
17922         (CFLAGS-isoc99_vfscanf.c): Likewise.
17923         (CFLAGS-isoc99_vscanf.c): Likewise.
17924         (CFLAGS-isoc99_fscanf.c): Likewise.
17925         (CFLAGS-isoc99_scanf.c): Likewise.
17926         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
17927         (CFLAGS-isoc99_fwscanf.c): Likewise.
17928         (CFLAGS-isoc99_vwscanf.c): Likewise.
17929         (CFLAGS-isoc99_vfwscanf.c): Likewise.
17931         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
17932         after mkstemp64.
17933         * login/tst-utmp.c (do_prepare): Likewise.
17934         * rt/tst-aio.c (do_prepare): Likewise.
17935         * rt/tst-aio64.c (do_prepare): Likewise.
17937 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17939         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17940         (__lll_lock_elision): Remove adapt_count decrement...
17941         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17942         (__lll_trylock_elision): Likewise.
17943         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17944         (__lll_unlock_elision): ... to here. And utilize
17945         new adapt_count parameter.
17946         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17947         (__lll_unlock_elision): Update to include adapt_count
17948         parameter.
17949         (lll_unlock_elision): Pass pointer to adapt_count
17950         variable.
17952 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17954         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
17955         Add elision adapt_count parameter to list of arguments.
17956         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
17957         (lll_unlock_elision): Update with new parameter list
17958         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
17959         (lll_unlock_elision): Likewise.
17960         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
17961         (lll_unlock_elision): Likewise.
17963 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
17965         [BZ #19122]
17966         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
17967         attribute_hidden.
17969         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
17970         attribute_hidden.
17971         [IS_IN (rtld)] (__strdup): Likewise.
17972         [IS_IN (rtld)] (__strerror_r): Likewise.
17973         [IS_IN (rtld)] (__strsep_g): Likewise.
17974         [IS_IN (rtld)] (memchr): Likewise.
17975         [IS_IN (rtld)] (memcmp): Likewise.
17976         [IS_IN (rtld)] (memcpy): Likewise.
17977         [IS_IN (rtld)] (memmove): Likewise.
17978         [IS_IN (rtld)] (memset): Likewise.
17979         [IS_IN (rtld)] (rawmemchr): Likewise.
17980         [IS_IN (rtld)] (stpcpy): Likewise.
17981         [IS_IN (rtld)] (strchr): Likewise.
17982         [IS_IN (rtld)] (strcmp): Likewise.
17983         [IS_IN (rtld)] (strlen): Likewise.
17984         [IS_IN (rtld)] (strnlen): Likewise.
17985         [IS_IN (rtld)] (strsep): Likewise.
17987         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
17988         attribute_hidden.
17989         [IS_IN (rtld)] (__strtoul_internal): Likewise.
17991         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
17992         attribute_hidden.
17993         [IS_IN (rtld)] (__libc_sigaction): Likewise.
17995         * include/setjmp.h (__longjmp): Add attribute_hidden.
17996         [IS_IN (rtld)] (__sigsetjmp): Likewise.
17998         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
17999         Add attribute_hidden.
18001         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18002         [IS_IN (rtld)] (__open): Likewise.
18003         [IS_IN (rtld)] (__fcntl): Likewise.
18005         * include/dirent.h (__opendirat): Add attribute_hidden.
18006         (__getdents): Likewise.
18007         (__getdents64): Likewise.
18008         (__alloc_dir): Likewise.
18009         [IS_IN (rtld)] (__closedir): Likewise.
18010         [IS_IN (rtld)] (__fdopendir): Likewise.
18011         [IS_IN (rtld)] (__readdir): Likewise.
18012         [IS_IN (rtld)] (__readdir64): Likewise.
18013         [IS_IN (rtld)] (__rewinddir): Likewise.
18015         * include/dlfcn.h (_dl_catch_error): Moved to ...
18016         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18017         attribute_hidden.
18019         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18020         (_itoa_word): Likewise.
18022         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18023         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18024         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18025         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18026         (_dl_higher_prime_number): Likewise.
18027         (_dl_debug_printf_c): Likewise.
18028         (_dl_signal_cerror): Likewise.
18029         (_dl_receive_error): Likewise.
18030         (_dl_reloc_bad_type): Likewise.
18031         (_dl_resolve_conflicts): Likewise.
18032         (_dl_check_all_versions): Likewise.
18033         (_dl_check_map_versions): Likewise.
18034         (_dl_sort_fini): Likewise.
18035         (_dl_debug_initialize): Likewise.
18036         (_dl_init_paths): Likewise.
18037         (_dl_show_auxv): Likewise.
18038         (_dl_next_ld_env_entry): Likewise.
18039         (_dl_important_hwcaps): Likewise.
18040         (_dl_load_cache_lookup): Likewise.
18041         (_dl_update_slotinfo): Likewise.
18042         (_dl_show_scope): Likewise.
18044         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18045         attribute_hidden.
18046         (_wordcopy_fwd_dest_aligned): Likewise.
18047         (_wordcopy_bwd_aligned): Likewise.
18048         (_wordcopy_bwd_dest_aligned): Likewise.
18050         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18051         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18052         Likewise.
18053         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18054         Likewise.
18055         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18057 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18059         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18060         GCC 5 requirement.
18062 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18064         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18065         test.
18066         * sysdeps/i386/configure: Regenerated.
18067         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18068         code unconditional.
18070         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18071         test.
18072         (libc_cv_asm_popsection_directive): Likewise.
18073         * configure: Regenerated.
18074         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18075         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18076         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18077         (__make_section_unallocated): Make definition unconditional.
18078         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18079         Remove conditional definition.
18080         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18081         (__make_section_unallocated): Likewise.
18083         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18084         * configure: Regenerated.
18085         * config.make.in (static-libgcc): Remove variable.
18086         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18087         $(static-libgcc).
18088         (build-module-helper): Likewise.
18090         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18091         * configure: Regenerated.
18093 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18095         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18096         (struct char_buffer): New type.
18097         (char_buffer_start, char_buffer_size, char_buffer_error)
18098         (char_buffer_rewind, char_buffer_add): New functions.
18099         (ADDW): Remove macro, replaced by the char_buffer_add function.
18100         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18101         of extend_alloca.  Make control flow more explicit.
18103 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18105         [BZ #19137]
18106         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18107         Add -fomit-frame-pointer.
18108         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18110 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18112         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18113         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18114         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18115         only if !__GNUC_PREREQ (5,0).
18116         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18117         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18118         (INTERNAL_SYSCALL_NCS): Likewise.
18119         (LOADREGS_0): New macro for GCC 5.
18120         (ASMARGS_0): Likewise.
18121         (LOADREGS_1): Likewise.
18122         (ASMARGS_1): Likewise.
18123         (LOADREGS_2): Likewise.
18124         (ASMARGS_2): Likewise.
18125         (LOADREGS_3): Likewise.
18126         (ASMARGS_3): Likewise.
18127         (LOADREGS_4): Likewise.
18128         (ASMARGS_4): Likewise.
18129         (LOADREGS_5): Likewise.
18130         (ASMARGS_5): Likewise.
18131         (LOADREGS_6): Likewise.
18132         (ASMARGS_6): Likewise.
18134 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18136         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
18137         -fomit-frame-pointer.
18138         (CFLAGS-mmap64.c): Likewise.
18139         (CFLAGS-semtimedop.c): Likewise.
18140         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
18141         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
18142         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18143         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18145 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18147         [BZ #18928]
18148         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
18149         _dl_pointer_guard member.
18150         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
18151         initializer.
18152         (security_init): Always set up pointer guard.
18153         (process_envvars): Do not process LD_POINTER_GUARD.
18155 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
18157         [BZ #19134]
18158         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
18159         (.LC2): Likewise.
18160         (.LC3): Likewise.
18161         (__lround): Do not add 0.5 to integer or out-of-range arguments.
18163 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18165         [BZ #19129]
18166         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
18167         r0 and r1.
18169 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
18171         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
18173 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
18175         * include/stap-probe.h: Fix macro definition formatting.
18177 2015-10-14  Florian Weimer  <fweimer@redhat.com>
18179         [BZ #19074]
18180         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
18181         load and store num_ifs.
18183 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18185         [BZ #18822]
18186         * sysdeps/unix/sysv/linux/sched_getaffinity.c
18187         (__sched_getaffinity_new): Add libc_hidden_proto and
18188         libc_hidden_def.
18190 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18192         [BZ #19007]
18193         * scripts/localplt.awk: Also allow GOT references.
18194         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
18195         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
18196         with "+ REL R_386_GLOB_DAT".
18197         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
18198         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
18200 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
18202         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
18203         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18204         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
18205         Likewise.
18206         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18207         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
18208         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
18209         INTERNAL_SYSCALLINTERNAL_SYSCALL and
18210         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18211         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
18212         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18213         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
18214         Likewise.
18215         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18217 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18219         [BZ #19125]
18220         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
18221         <math_private.h> and <stdint.h>.
18222         (__llround): Avoid conversions to and from long long int, and
18223         subtractions, where those might raise spurious exceptions.
18224         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
18225         <math_private.h> and <stdint.h>.
18226         (__llroundf): Avoid conversions to and from long long int, and
18227         subtractions, where those might raise spurious exceptions.
18229 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18231         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
18232         INLINE_SYSCALL_ERROR_RETURN_VALUE.
18233         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18234         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
18235         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18236         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18237         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
18238         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
18239         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
18240         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18241         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18242         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18243         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
18244         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18245         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18246         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
18247         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
18248         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18249         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
18250         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
18251         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18252         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
18253         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
18254         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18255         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
18256         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
18257         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
18258         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18259         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18260         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
18261         (__xstat64_conv): Likewise.
18262         (__xstat32_conv): Likewise.
18264 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18266         * sysdeps/unix/sysv/linux/sysdep.h: New file.
18267         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
18268         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
18269         <sysdeps/unix/sysv/linux/sysdep.h>.
18270         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
18271         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
18272         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
18273         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
18274         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
18275         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
18276         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
18277         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
18278         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
18279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
18280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18281         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18283         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
18284         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18285         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18286         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
18287         (sysdep-dl-routines): Add sysdep.
18288         [$(subdir) == nptl] (libpthread-routines): Likewise.
18289         [$(subdir) == rt] (librt-routines): Likewise.
18290         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
18291         PIC when branching to SYSCALL_ERROR_LABEL.
18292         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
18293         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
18294         <sysdeps/unix/sysv/linux/sysdep.h>.
18295         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
18296         (SYSCALL_ERROR_ERRNO): Removed.
18297         (SYSCALL_ERROR_HANDLER): Changed to empty.
18298         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
18299         (__syscall_error): New prototype.
18300         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
18301         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
18303 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
18305         [BZ #19124]
18306         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
18307         (_dl_runtime_resolve_avx512): Make it a hidden alias of
18308         _dl_runtime_resolve_avx.
18309         (_dl_runtime_profile_avx512): Make it a hidden alias of
18310         _dl_runtime_profile_avx.
18312 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
18314         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
18315         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
18316         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
18317         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
18319         [BZ #16422]
18320         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
18321         New configure test.
18322         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
18323         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
18324         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
18325         <math_private.h> and <stdint.h>.
18326         (__llrint): Avoid conversions to long long int where those might
18327         raise spurious exceptions.
18328         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
18329         <math_private.h> and <stdint.h>.
18330         (__llrintf): Avoid conversions to long long int where those might
18331         raise spurious exceptions.
18333 2015-10-12  Andreas Schwab  <schwab@suse.de>
18335         [BZ #18969]
18336         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
18337         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
18338         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
18339         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
18340         $(gen-locales).
18341         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
18342         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
18343         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
18344         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
18345         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
18346         $(gen-locales).
18347         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
18348         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
18349         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
18350         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
18351         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
18352         ($(objpfx)tst-ftell-active-handler.out)
18353         ($(objpfx)tst-ftell-append.out)
18354         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
18355         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
18356         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
18357         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
18358         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
18359         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
18360         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
18361         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
18362         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
18363         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
18364         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
18365         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
18366         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
18367         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
18368         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
18369         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
18370         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
18371         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
18372         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
18373         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
18374         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
18375         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
18376         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
18377         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
18378         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
18379         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
18380         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
18381         $(gen-locales).
18382         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
18383         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
18384         $(gen-locales).
18385         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
18386         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
18387         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
18388         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
18389         $(gen-locales).
18390         * libio/tst_wprintf2.c (main): Use explicit locale.
18391         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
18393 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18395         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
18396         __msg_sig_post.
18397         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
18399 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18401         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18402         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18404         * sysdeps/arm/libm-test-ulps: Regenerated.
18406         [BZ #15470]
18407         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
18409         [BZ #16399]
18410         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
18411         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
18412         and <fix-fp-int-convert-overflow.h>.
18413         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18414         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18415         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
18416         and <fix-fp-int-convert-overflow.h>.
18417         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
18418         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18419         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
18420         <fix-fp-int-convert-overflow.h>.
18421         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
18422         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18423         * sysdeps/ieee754/dbl-64/s_lround.c: Include
18424         <fix-fp-int-convert-overflow.h>.
18425         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
18426         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18427         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
18428         and <fix-fp-int-convert-overflow.h>.
18429         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18430         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18431         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
18432         <limits.h> and <fix-fp-int-convert-overflow.h>.
18433         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18434         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18435         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
18436         and <fix-fp-int-convert-overflow.h>.
18437         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
18438         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18439         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
18440         and <fix-fp-int-convert-overflow.h>.
18441         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
18442         FIX_DBL_LLONG_CONVERT_OVERFLOW.
18443         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
18445 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
18447         [BZ #18589]
18448         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
18449         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
18450         $(gen-locales).
18452 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18453             Phil Blundell <pb@pbcl.net>
18455         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
18456         * nptl/tst-cancel26.c: New file.
18457         * nptl/tst-cancel27.c: Likewise.
18459 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
18461         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
18462         __ILP32__ isn't defined.
18463         (lrint): Likewise.
18464         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
18465         (lrintf): Likewise.
18466         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
18467         (lrintl): Likewise.
18468         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
18469         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
18470         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
18472 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18474         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18475         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18477         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
18478         file.
18479         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
18480         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
18482 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
18484         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
18485         configure test.
18486         * sysdeps/i386/configure: Regenerated.
18487         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
18488         configure test.
18489         * sysdeps/x86_64/configure: Regenerated.
18490         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
18491         Make code unconditional.
18493         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
18494         test.
18495         * sysdeps/i386/configure: Regenerated.
18496         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
18497         test.
18498         * sysdeps/x86_64/configure: Regenerated.
18499         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
18500         Make code unconditional.
18501         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18502         Likewise.
18503         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
18504         Likewise.
18505         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18506         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
18507         code unconditional.
18508         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18509         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
18510         code unconditional.
18511         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18512         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
18513         code unconditional.
18514         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
18515         code unconditional.
18516         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18517         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
18518         code unconditional.
18519         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18520         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
18521         code unconditional.
18522         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18523         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
18524         code unconditional.
18525         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18526         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
18527         code unconditional.
18528         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
18529         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
18531         [BZ #19095]
18532         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
18533         mantissa to long int before shifting left.
18535 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18537         [BZ #19094]
18538         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
18539         <limits.h>.
18540         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18541         when result overflows but exception would not result from cast.
18542         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
18543         <limits.h>.
18544         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18545         when result overflows but exception would not result from cast.
18546         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
18547         <limits.h>.
18548         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18549         when result overflows but exception would not result from cast.
18550         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
18551         <limits.h>.
18552         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18553         when result overflows but exception would not result from cast.
18554         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
18555         <limits.h>.
18556         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
18557         when result overflows but exception would not result from cast.
18558         * math/libm-test.inc (lrint_test_data): Add more tests.
18559         (llrint_test_data): Likewise.
18561 2015-10-08  Roland McGrath  <roland@hack.frob.com>
18563         [BZ #18872]
18564         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
18565         Move out from under [$(run-built-tests) = yes] conditional.
18566         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
18567         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
18569 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
18571         [BZ #18589]
18572         * string/Makefile (tests): Add bug-strcoll2.
18573         (LOCALES): Add cs_CZ.UTF-8.
18574         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
18576         [BZ #18589]
18577         * string/bug-strcoll2.c: New file.
18578         * locale/categories.def: Revert commit
18579         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
18580         * locale/langinfo.h: Likewise.
18581         * locale/localeinfo.h: Likewise.
18582         * locale/C-collate.c: Likewise.
18583         * locale/programs/ld-collate.c (collate_output): Likewise.
18584         * string/strcoll_l.c (STRDIFF): Likewise.
18585         (STRCOLL): Likewise.
18586         * wcsmbs/wcscoll_l.c: Likewise.
18588 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
18590         * math/libm-test.inc (lround_test_data): Do not expect the absence
18591         of "inexact" for some tests with non-integer arguments.
18592         (llround_test_data): Likewise.
18594         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
18595         test.
18596         (libc_cv_cc_sse2avx): Likewise.
18597         * sysdeps/i386/configure: Regenerated.
18598         * sysdeps/i386/i686/multiarch/Makefile
18599         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
18600         [$(subdir) = math].
18601         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
18602         code unconditional.
18603         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18604         Likewise.
18605         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
18606         Likewise.
18607         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18608         Likewise.
18609         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
18610         test.
18611         (libc_cv_cc_sse2avx): Likewise.
18612         * sysdeps/x86_64/configure: Regenerated.
18613         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
18614         unconditional.
18615         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
18616         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
18617         unconditional.
18618         (_dl_runtime_profile)
18619         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
18620         conditional code.
18621         * sysdeps/x86_64/fpu/multiarch/Makefile
18622         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
18623         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18624         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18625         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18626         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18627         * sysdeps/x86_64/fpu/multiarch/e_log.c
18628         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18629         * sysdeps/x86_64/fpu/multiarch/s_atan.c
18630         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18631         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
18632         Likewise.
18633         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
18634         Likewise.
18635         * sysdeps/x86_64/fpu/multiarch/s_sin.c
18636         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18637         * sysdeps/x86_64/fpu/multiarch/s_tan.c
18638         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18639         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
18640         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
18641         (HAVE_SSE2AVX_SUPPORT): Likewise.
18643 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
18645         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
18646         instead of #pragma optimize.
18648 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18650         [BZ #17195]
18651         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
18652         as is similarly done in systrim and _int_free already.
18654 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18656         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
18658 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18660         [BZ #19088]
18661         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
18662         <limits.h>.
18663         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18664         overflows but exception would not result from cast.
18665         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
18666         and <limits.h>.
18667         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
18668         overflows but exception would not result from cast.
18669         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
18670         <limits.h>.
18671         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18672         overflows but exception would not result from cast.
18673         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
18674         <limits.h>.
18675         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18676         overflows but exception would not result from cast.
18677         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
18678         <limits.h>.
18679         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
18680         overflows but exception would not result from cast.
18681         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
18682         <limits.h>.
18683         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
18684         overflows but exception would not result from cast.
18685         * math/libm-test.inc (lround_test_data): Add more tests.
18686         (llround_test_data): Likewise.
18688 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
18690         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
18691         (CFLAGS-ialloc.c): Ditto.
18692         (CFLAGS-scheck.c): Ditto.
18694 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
18696         [BZ #19086]
18697         * manual/filesys.texi (Storage Allocation): Fix argument order for
18698         posix_fallocate64.
18700 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18702         [BZ #19085]
18703         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
18704         exponent below 48 inside case for non-overflowing exponent.
18705         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
18707 2015-10-07  Florian Weimer  <fweimer@redhat.com>
18709         * iconvdata/cp737.h (from_idx): Add const.
18710         * iconvdata/cp775.h (from_idx): Likewise.
18712 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
18714         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
18715         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
18716         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
18718         [BZ #19079]
18719         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
18720         file, conditioned on [!_LP64].
18721         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
18722         [!_LP64] (__lround): Do not define as function or alias.
18723         [!_LP64] (lround): Likewise.
18724         [!_LP64] (__lroundl): Likewise.
18725         [!_LP64] (lroundl): Likewise.
18726         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
18727         macro.
18728         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18729         Likewise.
18731 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18733         * math/libm-test.inc (lrint_test_data): Add more tests.
18734         (llrint_test_data): Likewise.
18735         (lround_test_data): Likewise.
18736         (llround_test_data): Likewise.
18738         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
18739         (llrint_test_data): Add tests used for lrint.
18741         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
18742         test.
18743         * sysdeps/i386/configure: Regenerated.
18744         * sysdeps/i386/i686/multiarch/Makefile
18745         [$(config-cflags-sse4) = yes]: Make code unconditional.
18746         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18747         Likewise.
18748         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
18749         Likewise.
18750         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
18751         test.
18752         * sysdeps/x86_64/configure: Regenerated.
18753         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
18754         Make code unconditional.
18755         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
18756         Likewise.
18757         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
18758         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
18760         * scripts/rpm2dynsym.sh: Remove file.
18762 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18764         * configure.ac (libc_cv_cxx_thread_local): Define.
18765         * configure: Regenerate.
18766         * config.make.in (have-cxx-thread_local): Define.
18767         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
18768         (LDLIBS-tst-thread_local1): Define.
18769         (tests): Add tst-thread_local1.
18770         [have-cxx-thread_local != yes] (tests-unsupported): Add
18771         tst-thread_local1.
18772         * nptl/tst-thread_local1.cc: New file.
18774 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
18776         [BZ #19078]
18777         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
18778         (u_thres): Likewise.
18779         (__expl): Determine whether to call __kernel_standard_l based on
18780         value of result, not argument.
18782         * math/libm-test.inc (scalb_test_data): Add more expectations for
18783         the "inexact" exception.
18785         [BZ #19077]
18786         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
18787         0.0L for argument 1.0L.
18789         [BZ #19076]
18790         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
18791         constant 0.0L when computing infinite result.
18793 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18795         [BZ #10432]
18796         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
18797         malloc_usable_size.
18799 2015-10-06  Florian Weimer  <fweimer@redhat.com>
18801         [BZ #19018]
18802         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18803         Mangle function pointer before storing it.
18804         (__call_tls_dtors): Demangle function pointer before calling it.
18806 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18808         [BZ #19012]
18809         * iconv/gconv_db.c (gen_steps): Check for additional errors.
18810         Clean up on failure.
18812 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
18814         [BZ #19071]
18815         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
18816         long int variable to store possibly incremented high part of
18817         mantissa.
18818         * math/libm-test.inc (lround_test_data): Add tests used for
18819         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
18820         for tests requiring 64-bit long.  Do not condition tests on
18821         [TEST_FLOAT] unnecessarily.
18822         (llround_test_data): Add tests used for lround.  Add another
18823         expectation for the "inexact" exception.  Do not condition tests
18824         on [TEST_FLOAT] unnecessarily.
18826         [BZ #887]
18827         [BZ #19049]
18828         [BZ #19050]
18829         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
18830         * sysdeps/ieee754/dbl-64/e_log10.c: Include
18831         <fix-int-fp-convert-zero.h>.
18832         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18833         * sysdeps/ieee754/dbl-64/e_log2.c: Include
18834         <fix-int-fp-convert-zero.h>.
18835         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18836         * sysdeps/ieee754/dbl-64/s_erf.c: Include
18837         <fix-int-fp-convert-zero.h>.
18838         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18839         * sysdeps/ieee754/dbl-64/s_logb.c: Include
18840         <fix-int-fp-convert-zero.h>.
18841         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18842         * sysdeps/ieee754/flt-32/e_log10f.c: Include
18843         <fix-int-fp-convert-zero.h>.
18844         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18845         * sysdeps/ieee754/flt-32/e_log2f.c: Include
18846         <fix-int-fp-convert-zero.h>.
18847         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18848         * sysdeps/ieee754/flt-32/s_erff.c: Include
18849         <fix-int-fp-convert-zero.h>.
18850         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18851         * sysdeps/ieee754/flt-32/s_logbf.c: Include
18852         <fix-int-fp-convert-zero.h>.
18853         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18854         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
18855         <fix-int-fp-convert-zero.h>.
18856         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18857         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
18858         <fix-int-fp-convert-zero.h>.
18859         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
18860         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
18861         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
18862         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
18863         file.
18864         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
18866 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18868         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18870 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
18872         [BZ #19059]
18873         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
18874         overflowing computation.
18875         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
18876         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
18877         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
18878         Likewise.
18879         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
18880         Likewise.
18881         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
18882         Likewise.
18883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
18884         Likewise.
18885         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
18886         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
18887         Likewise.
18888         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
18889         Likewise.
18890         * math/libm-test.inc (nexttoward_test_data): Add more tests.
18892         * nss/rewrite_field.c (__nss_rewrite_field): Use
18893         internal_function.
18894         * nss/valid_field.c (__nss_valid_field): Likewise.
18895         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
18897 2015-10-02  Florian Weimer  <fweimer@redhat.com>
18899         [BZ #18724]
18900         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
18901         (__nss_invalid_field_characters, __nss_valid_field)
18902         (__nss_valid_list_field, __nss_rewrite_field): Declare.
18903         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
18904         tst-field.c: New file.
18905         * nss/Makefile (routines): Add valid_field, rewrite_field.
18906         (tests-static): Define unconditionally.
18907         (tests): Include tests-static.
18908         [build-static-nss] (tests-static): Use append.
18909         [build-static-nss] (tests): Remove modification.
18910         * nss/getent.c (print_group): Call putgrent.  Report error.
18911         (print_gshadow): Call putsgent.  Report error.
18912         (print_passwd): Call putpwent.  Report error.
18913         (print_shadow): Call putspent.  Report error.
18914         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
18915         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
18916         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
18917         name, password, directory, shell fields for valid syntax.  Rewrite
18918         GECOS field to match syntax.
18919         * pwd/Makefile (tests): Add tst-putpwent.
18920         * pwd/tst-putpwent.c: New file.
18921         * grp/putgrent.c (putgrent): Convert to ISO function definition.
18922         Check grName, grpasswd, gr_mem fields for valid syntax.
18923         Change loop variable i to size_t.
18924         * grp/Makefile (tests): Add tst-putgrent.
18925         * grp/tst-putgrent.c: New file.
18926         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
18927         valid syntax.
18928         * shadow/Makefile (tests): Add tst-putspent.
18929         * shadow/tst-putspent.c: New file.
18930         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
18931         sg_mem fields for valid syntax.
18932         * gshadow/Makefile (tests): Add tst-putsgent.
18933         * gshadow/tst-putsgent.c: New file.
18935 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18937         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
18938         assembly instructions.
18940 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18942         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
18943         prefix from operands.
18945 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
18947         [BZ #16347]
18948         [BZ #19046]
18949         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
18950         <libc-internal.h>.
18951         (MAXLGM): Do not use diagnostic control macros.
18952         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
18953         threshold for ldbl-128ibm.
18954         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
18955         instead of multiplying by log then subtracting.
18956         * math/auto-libm-test-in: Add more tests of lgamma.
18957         * math/auto-libm-test-out: Regenerated.
18959         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
18960         (TYPE_HEX_DIG): Likewise.
18961         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
18962         precisions when printing floating-point numbers.
18963         (check_float_internal): Likewise.
18965 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
18967         [BZ #16620]
18968         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
18969         of log (10) rounded downward to 48 bits.
18970         (log10_low): Use corresponding low part of log (10).
18972         [BZ #19032]
18973         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
18974         compute result as (x - x) / (x - x) not as 0 / 0.
18975         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18976         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
18978         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18979         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
18980         and expm1.
18981         * math/auto-libm-test-out: Regenerated.
18982         * math/libm-test.inc (acos_test_data): Add more tests.
18983         (asin_test_data): Likewise.
18984         (asinh_test_data): Likewise.
18985         (atan_test_data): Likewise.
18986         (atanh_test_data): Likewise.
18987         (atan2_test_data): Likewise.
18988         (cbrt_test_data): Likewise.
18989         (ceil_test_data): Likewise.
18990         (copysign_test_data): Likewise.
18991         (cos_test_data): Likewise.
18992         (cosh_test_data): Likewise.
18993         (erf_test_data): Likewise.
18994         (erfc_test_data): Likewise.
18995         (exp_test_data): Likewise.
18996         (exp10_test_data): Likewise.
18997         (exp2_test_data): Likewise.
18998         (expm1_test_data): Likewise.
18999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19001 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19003         [BZ #19006]
19004         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19005         to ...
19006         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19007         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19008         to ...
19009         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19010         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19011         to ...
19012         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19013         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19014         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19015         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19016         to ...
19017         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19018         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19019         Moved to ...
19020         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19021         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19022         Moved to ...
19023         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19024         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19025         to ...
19026         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19027         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19028         Moved to ...
19029         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19030         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19031         to ...
19032         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19033         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19034         Removed.
19035         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19036         Likewise.
19037         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19038         Likewise.
19039         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19040         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19041         Likewise.
19042         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19043         Likewise.
19044         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19045         Likewise.
19046         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19047         Likewise.
19048         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19049         Likewise.
19050         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19051         Likewise.
19052         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19053         Likewise.
19054         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19055         Likewise.
19056         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19057         Likewise.
19058         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19059         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19060         Likewise.
19061         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19062         Likewise.
19063         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19064         Likewise.
19065         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19066         Likewise.
19067         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19068         Likewise.
19069         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19070         Replace ../i486/pthread_cond_timedwait.S with
19071         ../pthread_cond_timedwait.S.
19073 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19075         * math/libm-test.inc (acos_test_data): Refine expectations for
19076         errno and "inexact" exceptions.
19077         (acosh_test_data): Likewise.
19078         (asin_test_data): Likewise.
19079         (asinh_test_data): Likewise.
19080         (atan_test_data): Likewise.
19081         (atanh_test_data): Likewise.
19082         (atan2_test_data): Likewise.
19083         (cbrt_test_data): Likewise.
19084         (ceil_test_data): Likewise.
19085         (copysign_test_data): Likewise.
19086         (cosh_test_data): Likewise.
19087         (erf_test_data): Likewise.
19088         (erfc_test_data): Likewise.
19089         (exp_test_data): Likewise.
19090         (exp10_test_data): Likewise.
19091         (exp2_test_data): Likewise.
19092         (expm1_test_data): Likewise.
19093         (fabs_test_data): Likewise.
19094         (floor_test_data): Likewise.
19095         (fma_test_data): Likewise.
19096         (fmax_test_data): Likewise.
19097         (fmin_test_data): Likewise.
19098         (fmod_test_data): Likewise.
19099         (fpclassify_test_data): Likewise.
19100         (frexp_test_data): Likewise.
19101         (hypot_test_data): Likewise.
19102         (ilogb_test_data): Likewise.
19103         (isgreater_test_data): Likewise.
19104         (isgreaterequal_test_data): Likewise.
19105         (isinf_test_data): Likewise.
19106         (isless_test_data): Likewise.
19107         (islessequal_test_data): Likewise.
19108         (islessgreater_test_data): Likewise.
19109         (isnan_test_data): Likewise.
19110         (isnormal_test_data): Likewise.
19111         (issignaling_test_data): Likewise.
19112         (isunordered_test_data): Likewise.
19113         (j0_test_data): Likewise.
19114         (j1_test_data): Likewise.
19115         (jn_test_data): Likewise.
19116         (lgamma_test_data): Likewise.
19117         (lrint_test_data): Likewise.
19118         (llrint_test_data): Likewise.
19119         (log_test_data): Likewise.
19120         (log10_test_data): Likewise.
19121         (log1p_test_data): Likewise.
19122         (log2_test_data): Likewise.
19123         (logb_test_data): Likewise.
19124         (lround_test_data): Likewise.
19125         (llround_test_data): Likewise.
19126         (modf_test_data): Likewise.
19127         (nearbyint_test_data): Likewise.
19128         (nextafter_test_data): Likewise.
19129         (nexttoward_test_data): Likewise.
19130         (pow_test_data): Likewise.
19131         (remainder_test_data): Likewise.
19132         (remquo_test_data): Likewise.
19133         (rint_test_data): Likewise.
19134         (round_test_data): Likewise.
19135         (signbit_test_data): Likewise.
19136         (sinh_test_data): Likewise.
19137         (sqrt_test_data): Likewise.
19138         (tanh_test_data): Likewise.
19139         (tgamma_test_data): Likewise.
19140         (trunc_test_data): Likewise.
19141         (y0_test_data): Likewise.
19142         (y1_test_data): Likewise.
19143         (yn_test_data): Likewise.
19144         (significand_test_data): Likewise.
19146 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
19148         * manual/filesys.texi (Storage Allocation): Document that
19149         posix_fallocate emulation fails when fd is open with O_WRONLY.
19151 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
19153         [BZ #19016]
19154         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
19155         allow more cases with X^2 + Y^2 >= 0.5.
19156         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
19157         normal element in sum instead of special-casing based on values of
19158         arguments.
19159         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
19160         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
19161         -1 as normal element in sum instead of special-casing based on
19162         values of arguments.
19163         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
19164         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
19165         (__x2y2m1): Update comment.
19166         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
19167         as normal element in sum instead of special-casing based on values
19168         of arguments.
19169         * math/s_clog.c (__clog): Handle more cases using log1p without
19170         hypot.
19171         * math/s_clog10.c (__clog10): Likewise.
19172         * math/s_clog10f.c (__clog10f): Likewise.
19173         * math/s_clog10l.c (__clog10l): Likewise.
19174         * math/s_clogf.c (__clogf): Likewise.
19175         * math/s_clogl.c (__clogl): Likewise.
19176         * math/auto-libm-test-in: Add more tests of clog and clog10.
19177         * math/auto-libm-test-out: Regenerated.
19178         * sysdeps/i386/fpu/libm-test-ulps: Update.
19179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19181 2015-09-28  Martin Sebor  <msebor@redhat.com>
19183         [BZ #18969]
19184         * string/Makefile (LOCALES): Define.
19185         (gen-locales.mk): Include.
19186         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
19187         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
19188         * string/tst-strxfrm2.c (do_test): Print the name of the locale
19189         on setlocale failure.
19191 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19193         [BZ #18985]
19194         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
19195         (__strftime_internal): Likewise.
19196         * time/tst-strftime.c (do_bz18985): New test.
19197         (do_test): Call it.
19199 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
19201         [BZ #18956]
19202         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
19203         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
19204         extracting high part.
19205         * math/auto-libm-test-in: Add another test of pow.
19206         * math/auto-libm-test-out: Regenerated.
19207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19209 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19211         [BZ #18825]
19212         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
19213         New macro.
19214         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
19215         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19216         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
19217         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
19218         DBL_NARROW_EVAL, reloading the PIC register as needed.
19219         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
19220         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
19221         FLT_NARROW_EVAL.  Use separate return path for case when first
19222         argument is NaN.
19223         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
19224         DEFINE_LDBL_MIN.
19225         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
19226         PIC register.
19227         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
19228         math_check_force_underflow_nonneg.
19229         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
19230         underflow for subnormal result.
19231         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
19232         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
19233         math_check_force_underflow_nonneg.
19234         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
19235         math_check_force_underflow.
19236         * sysdeps/x86_64/fpu/x86_64-math-asm.h
19237         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
19238         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
19239         DEFINE_LDBL_MIN.
19240         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
19241         * math/auto-libm-test-in: Add more tests of pow.
19242         * math/auto-libm-test-out: Regenerated.
19244 2015-09-25  Florian Weimer  <fweimer@redhat.com>
19246         * nss/bug17079.c (init_test_items): Add diagnostic for
19247         inconsistent entries.
19248         (test_buffer_size): Skip inconsistent entries.
19250 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
19252         [BZ #13304]
19253         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
19254         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
19255         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
19257         [BZ #13304]
19258         * sysdeps/microblaze/s_fma.c: New file.
19259         * sysdeps/microblaze/s_fmaf.c: Likewise.
19260         * sysdeps/microblaze/sfp-machine.h: Likewise.
19262 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
19264         [BZ #17250]
19265         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
19266         member.
19268 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19270         [BZ #18803]
19271         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
19272         (MO): New macro.
19273         (__ieee754_hypot) [PIC]: Load PIC register.
19274         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
19275         DBL_NARROW_EVAL.
19276         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
19277         math_check_force_underflow_nonneg in case where result might be
19278         tiny.
19279         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19280         Likewise.
19281         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19282         Likewise.
19283         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
19284         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
19285         * math/auto-libm-test-in: Add more tests of hypot.
19286         * math/auto-libm-test-out: Regenerated.
19288 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
19290         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
19292 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
19294         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
19295         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
19296         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19297         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19298         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
19299         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19300         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19302         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
19303         LOAD_PIC_REG.
19305         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
19306         (FLT_CHECK_FORCE_UFLOW): Likewise.
19307         (DBL_CHECK_FORCE_UFLOW): Likewise.
19308         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
19309         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
19310         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
19311         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19312         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
19313         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19314         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19315         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
19316         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
19317         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19318         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
19319         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
19320         (flt_min): Replace with use of DEFINE_FLT_MIN.
19321         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
19322         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
19323         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19324         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
19325         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
19326         (flt_min): Replace with use of DEFINE_FLT_MIN.
19327         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
19328         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
19329         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19330         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
19331         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
19332         (flt_min): Replace with use of DEFINE_FLT_MIN.
19333         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
19334         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
19335         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
19336         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
19337         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
19338         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
19339         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
19340         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
19341         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19342         (__atan): Use DBL_CHECK_FORCE_UFLOW.
19343         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
19344         (flt_min): Replace with use of DEFINE_FLT_MIN.
19345         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
19346         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
19347         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19348         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
19349         main computation.
19350         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
19351         (flt_min): Replace with use of DEFINE_FLT_MIN.
19352         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
19353         main computation.
19354         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
19355         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19356         (MO): New macro.
19357         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
19358         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
19359         (flt_min): Replace with use of DEFINE_FLT_MIN.
19360         (MO): New macro.
19361         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
19362         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
19363         (__log1pl): Use MO.
19365         [BZ #19003]
19366         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
19367         $(config-cflags-nofma).
19369 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19371         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19373 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
19375         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
19376         (TWO127): Likewise.
19378         * sysdeps/generic/math_private.h (fabs_tg): New macro.
19379         (min_of_type): Likewise.
19380         (math_check_force_underflow): Likewise.
19381         (math_check_force_underflow_nonneg): Likewise.
19382         (math_check_force_underflow_complex): Likewise.
19383         * math/e_exp2l.c (__ieee754_exp2l): Use
19384         math_check_force_underflow_nonneg.
19385         * math/k_casinh.c (__kernel_casinh): Likewise.
19386         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19387         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19388         * math/s_catan.c (__catan): Use
19389         math_check_force_underflow_complex.
19390         * math/s_catanf.c (__catanf): Likewise.
19391         * math/s_catanh.c (__catanh): Likewise.
19392         * math/s_catanhf.c (__catanhf): Likewise.
19393         * math/s_catanhl.c (__catanhl): Likewise.
19394         * math/s_catanl.c (__catanl): Likewise.
19395         * math/s_ccosh.c (__ccosh): Likewise.
19396         * math/s_ccoshf.c (__ccoshf): Likewise.
19397         * math/s_ccoshl.c (__ccoshl): Likewise.
19398         * math/s_cexp.c (__cexp): Likewise.
19399         * math/s_cexpf.c (__cexpf): Likewise.
19400         * math/s_cexpl.c (__cexpl): Likewise.
19401         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
19402         * math/s_clog10.c (__clog10): Likewise.
19403         * math/s_clog10f.c (__clog10f): Likewise.
19404         * math/s_clog10l.c (__clog10l): Likewise.
19405         * math/s_clogf.c (__clogf): Likewise.
19406         * math/s_clogl.c (__clogl): Likewise.
19407         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
19408         * math/s_csinf.c (__csinf): Likewise.
19409         * math/s_csinh.c (__csinh): Likewise.
19410         * math/s_csinhf.c (__csinhf): Likewise.
19411         * math/s_csinhl.c (__csinhl): Likewise.
19412         * math/s_csinl.c (__csinl): Likewise.
19413         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
19414         * math/s_csqrtf.c (__csqrtf): Likewise.
19415         * math/s_csqrtl.c (__csqrtl): Likewise.
19416         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
19417         * math/s_ctanf.c (__ctanf): Likewise.
19418         * math/s_ctanh.c (__ctanh): Likewise.
19419         * math/s_ctanhf.c (__ctanhf): Likewise.
19420         * math/s_ctanhl.c (__ctanhl): Likewise.
19421         * math/s_ctanl.c (__ctanl): Likewise.
19422         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
19423         instead of volatile.
19424         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
19425         math_check_force_underflow.
19426         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19427         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
19428         volatile when forcing underflow.
19429         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
19430         math_check_force_underflow_nonneg.
19431         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
19432         Likewise.
19433         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
19434         math_check_force_underflow.
19435         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19436         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19437         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19438         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
19439         math_check_force_underflow_nonneg.
19440         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
19441         math_check_force_underflow.
19442         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
19443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
19444         instead of volatile.
19445         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
19446         math_check_force_underflow.
19447         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19448         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
19449         math_check_force_underflow_nonneg.
19450         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
19451         math_check_force_underflow.
19452         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
19453         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19454         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
19455         math_check_force_underflow_nonneg.
19456         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19457         Likewise.
19458         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
19459         math_check_force_underflow.
19460         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19461         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19462         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
19463         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
19464         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
19465         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
19466         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
19467         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
19468         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
19469         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
19470         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
19471         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
19472         Likewise.
19473         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
19474         math_check_force_underflow_nonneg.
19475         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19476         Likewise.
19477         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
19478         math_check_force_underflow.
19479         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19480         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
19481         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
19482         Likewise.
19483         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
19484         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
19485         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
19486         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
19487         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
19488         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
19489         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
19490         instead of volatile.
19491         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
19492         math_check_force_underflow.
19493         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
19494         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
19495         math_check_force_underflow.
19496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
19497         Likewise.
19498         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19499         Use math_check_force_underflow_nonneg.
19500         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
19501         math_check_force_underflow.
19502         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19503         Likewise.
19504         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
19505         Likewise.
19506         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19507         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19508         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19509         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19510         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
19511         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19512         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
19513         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
19514         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
19515         math_check_force_underflow_nonneg.
19516         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
19517         math_check_force_underflow.
19518         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19519         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
19520         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
19521         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
19522         math_check_force_underflow_nonneg.
19523         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
19524         math_check_force_underflow.
19525         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
19526         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
19527         instead of volatile.
19528         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
19529         math_check_force_underflow.
19531         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
19532         * stdlib/strtod_l.c: Include <math_private.h>.
19533         (overflow_value): Use math_narrow_eval.
19534         (underflow_value): Likewise.
19535         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19536         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19537         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
19538         (__ieee754_gamma_r): Likewise.
19539         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
19540         Likewise.
19541         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
19542         Likewise.
19543         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
19544         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
19545         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
19546         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
19547         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
19548         (__ieee754_gammaf_r): Likewise.
19549         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19550         Likewise.
19551         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
19552         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
19553         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
19554         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
19555         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
19556         volatile.
19557         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
19558         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
19559         math_narrow_eval.
19560         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19561         Likewise.
19562         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19563         Likewise.
19564         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
19565         Likewise.
19566         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
19567         volatile.
19568         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
19569         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
19570         math_narrow_eval.
19571         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19572         Likewise.
19573         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19574         Likewise.
19576 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
19578         * nptl/Versions: Remove ignored symbols.
19580 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19582         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
19583         * nss/Makefile (tests): Update.
19585 2015-09-22  Florian Weimer  <fweimer@redhat.com>
19587         * nss/bug18287.c: New file.
19588         * nss/Makefile (tests): Add bug18287.
19590 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19592         * mach/Versions (__mach_host_self_): Add symbol.
19594 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19596         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
19597         vm_page_size.
19599 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19601         Really fix sysdeps/i386/fpu/s_scalbn.S build
19603         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
19604         (libc: GLIBC_2_22): Remove unused version set.
19606 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19608         * config.make.in (enable-timezone-tools): New variable.
19609         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
19610         (enable_timezone_tools): Export to generated files.
19611         * configure: Regenerate.
19612         * INSTALL: Regenerate.
19613         * manual/install.texi (--disable-timezone-tools): Document new flag.
19614         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
19615         ifeq ($(enable-timezone-tools),yes) check.
19617 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19619         * timezone/Makefile: Revert previous change.
19621         [BZ #18980]
19622         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
19623         (DEFINE_DBL_MIN): Likewise.
19624         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19625         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
19626         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19627         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
19628         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
19629         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19630         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19631         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
19632         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
19633         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19634         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19635         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
19636         (flt_min): Replace with use of DEFINE_FLT_MIN.
19637         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19638         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
19639         (dbl_min): Replace with use of DEFINE_DBL_MIN.
19640         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
19641         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
19642         (flt_min): Replace with use of DEFINE_FLT_MIN.
19643         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19644         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
19645         (flt_min): Replace with use of DEFINE_FLT_MIN.
19646         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
19647         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
19648         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
19649         (__ieee754_hypot): Use DBL_NARROW_EVAL.
19650         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
19651         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
19652         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
19653         (__ieee754_pow): Use DBL_NARROW_EVAL.
19654         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
19655         (__ieee754_powf): Use FLT_NARROW_EVAL.
19656         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
19657         (__ieee754_expf_sse2): Convert double-precision result to single
19658         precision.
19659         * sysdeps/i386/fpu/libm-test-ulps: Update.
19661 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19663         * timezone/Makefile: Ignore unused variable errors due to private.h
19664         (time_t_min) and (time_t_max).
19665         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
19666         Likewise.
19668 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19670         [BZ #18981]
19671         * sysdeps/i386/fpu/i386-math-asm.h: New file.
19672         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
19673         (__ieee754_scalb): Use DBL_NARROW_EVAL.
19674         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
19675         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
19676         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
19677         (__scalbn): Use DBL_NARROW_EVAL.
19678         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
19679         (__scalbnf): Use FLT_NARROW_EVAL.
19681 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19683         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
19684         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
19685         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19686         * stdio-common/printf_fp.c (___printf_fp):
19687         Use signbit to get the sign. Use isinf macro to allow inlining.
19688         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
19689         * stdio-common/printf_size.c (__printf_size): Likewise.
19691 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
19693         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
19695 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
19697         [BZ #18980]
19698         * sysdeps/generic/math_private.h: Include <float.h>.
19699         (math_narrow_eval): New macro.
19700         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
19701         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
19702         math_narrow_eval on overflowing return value.
19703         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
19704         Likewise.
19705         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19706         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
19707         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
19708         Likewise.
19709         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
19711 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19713         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
19714         * math/Makefile: Remove isinf_ns.c.
19715         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
19716         * math/multc3.c (__multc3): Likewise.
19717         * math/s_casin.c (__casin): Likewise.
19718         * math/s_casinf.c (__casinf): Likewise.
19719         * math/s_casinl.c (__casinl): Likewise.
19720         * math/s_cproj.c (__cproj): Likewise.
19721         * math/s_cprojf.c (__cprojf): Likewise.
19722         * math/s_cprojl.c (__cprofl): Likewise.
19723         * math/s_ctan.c (__ctan): Likewise.
19724         * math/s_ctanf.c (__ctanf): Likewise.
19725         * math/s_ctanh.c (__ctanh): Likewise.
19726         * math/s_ctanhf.c (__ctanhf): Likewise.
19727         * math/s_ctanhl.c (__ctanhl): Likewise.
19728         * math/s_ctanl.c (__ctanl): Likewise.
19729         * math/w_fmod.c (__fmod): Likewise.
19730         * math/w_fmodf.c (__fmodf): Likewise.
19731         * math/w_fmodl.c (_fmodl): Likewise.
19732         * math/w_remainder.c (__remainder): Likewise.
19733         * math/w_remainderf.c (__remainderf): Likewise.
19734         * math/w_remainderl.c (__remainderl): Likewise.
19735         * math/w_scalb.c (__scalb): Likewise.
19736         * math/w_scalbf.c (__scalbf): Likewise.
19737         * math/w_scalbl.c (__scalbl): Likewise.
19738         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
19739         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
19740         with isinf.
19741         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
19742         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
19743         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
19744         __isinf_nsf with isinf.
19745         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
19746         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
19747         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
19748         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
19749         with isinf.
19750         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
19751         __isinf_nsl with isinf.
19752         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
19753         with isinf.
19754         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
19755         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
19756         __isinf_nsl with isinf.
19757         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
19758         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
19759         with isinf.
19761 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19763         * resolv/base64.c (rcsid): Remove unused static.
19764         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
19765         static.  (tqpi1): Likewise.
19766         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
19767         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
19768         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
19769         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
19770         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
19771         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
19772         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
19773         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
19774         Likewise.
19776 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
19778         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
19779         <nptl/pthreadP.h>.
19780         (_longjmp_unwind): Use __libc_ptf_call.
19781         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
19783 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
19785         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
19786         * sysdeps/arm/__longjmp.S: Likewise.
19788 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19790         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
19791         Use __builtin_signbit.
19792         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
19793         Use __builtin_signbitf.
19794         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
19795         Use __builtin_signbitl.
19796         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19797         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
19799 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19801         [BZ #15367]
19802         [BZ #17441]
19804         * math/Makefile: Build test-snan.c with -fsignaling-nans.
19805         * math/math.h (fpclassify): Use __builtin_fpclassify when
19806         available.  (signbit): Use __builtin_signbit(f/l).
19807         (isfinite): Use__builtin_isfinite.  (isnormal): Use
19808         __builtin_isnormal.  (isnan): Use __builtin_isnan.
19809         (isinf): Use __builtin_isinf_sign.
19811 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
19813         * benchtests/Makefile: Add bench-math-inlines, link with libm.
19814         * benchtests/bench-math-inlines.c: New benchmark.
19815         * benchtests/bench-util.h: New file.
19816         * benchtests/bench-util.c: New file.
19817         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
19819 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
19821         * elf/tst-dlmopen1.c: Define TEST_SO.
19822         (do_test): Use TEST_SO.
19824         * elf/dl-load.c: Include libc-internal.h.
19825         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
19827 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19829         [BZ #17887]
19830         * time/strptime_l.c (__strptime_internal): Make %z accept
19831         [+-]HH:MM time zones.
19833 2015-09-18  Vincent Bernat  <vincent@bernat.im>
19835         [BZ #17886]
19836         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
19837         valid time zone.
19839 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
19841         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
19842         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
19843         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19844         (__ASSUME_FDATASYNC): Delete.
19846 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19848         * conform/linknamespace.pl: Require weak undefined symbols to be
19849         in the standard namespace.
19850         (%strong_syms): Rename to %seen_syms.
19851         (%strong_seen): Rename to %seen_where.
19853 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
19855         [BZ #18970]
19856         * misc/error.c (error): Replace pthread_setcancelstate with
19857         __pthread_setcancelstate.
19858         (error_at_line): Likewise.
19859         * posix/wordexp.c (parse_comm): Likewise.
19860         * stdlib/fmtmsg.c (fmtmsg): Likewise.
19861         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
19862         (__pthread_setcancelstate): This.
19863         (pthread_setcancelstate): Add an alias.
19864         * nptl/nptl-init.c (pthread_functions): Replace
19865         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
19866         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
19867         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
19868         hidden_proto.
19869         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
19870         it with hidden_def.
19871         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
19872         (pthread_setcancelstate): Renamed to ...
19873         (__pthread_setcancelstate): This.
19874         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
19875         __libc_ptf_call with __pthread_setcancelstate.
19877 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19878             Andreas Schwab  <schwab@suse.de>
19880         [BZ #17118]
19881         * math/s_ctan.c (__ctan): Determine sign of zero real part of
19882         result when imaginary part of argument is infinite using sine and
19883         cosine.
19884         * math/s_ctanf.c (__ctanf): Likewise.
19885         * math/s_ctanl.c (__ctanl): Likewise.
19886         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
19887         of result when real part of argument is infinite using sine and
19888         cosine.
19889         * math/s_ctanhf.c (__ctanhf): Likewise.
19890         * math/s_ctanhl.c (__ctanhl): Likewise.
19891         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
19892         (ctanh_test_data): Add more tests of ctanh.
19894 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
19896         [BZ #15384]
19897         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
19898         bit-mask as in subtraction.
19899         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
19900         Likewise.
19901         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
19902         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
19903         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
19905         [BZ #18951]
19906         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
19907         underflow exception for small results.
19908         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
19909         Likewise.
19910         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
19911         Likewise.
19912         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19913         Likewise.
19914         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19915         Likewise.
19916         * math/auto-libm-test-in: Add more tests of tgamma.
19917         * math/auto-libm-test-out: Regenerated.
19919 2015-09-17  Andreas Schwab  <schwab@suse.de>
19921         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
19923 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
19925         [BZ #18977]
19926         * math/bits/mathcalls.h
19927         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
19928         not declare.
19929         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
19930         Likewise.
19931         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
19932         Likewise.
19933         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
19934         Likewise.
19935         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
19936         Likewise.
19937         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
19938         Likewise.
19939         * conform/data/math.h-data
19940         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
19941         function.
19942         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
19943         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
19944         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
19945         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
19946         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
19947         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
19948         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
19949         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
19950         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
19951         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
19952         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
19954         [BZ #6803]
19955         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
19956         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
19957         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
19958         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
19959         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
19960         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
19961         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
19962         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
19963         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19964         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
19965         Likewise.
19966         [NO_LONG_DOUBLE] (scalbnl): Likewise.
19967         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
19968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
19969         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
19970         long_double_symbol calls.
19971         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
19972         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
19973         strong alias of __ldexpl.
19974         (scalbnl): Define using long_double_symbol.
19975         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
19976         Remove alias.
19977         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
19978         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
19979         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
19980         (scalbln_test_data): Add more errno expectations.
19982 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
19984         Cache the host port like we cache the task port.  This way we do not
19985         need to call the kernel just to get the port.  Furthermore, we no
19986         longer increase the reference count on every invocation of
19987         `mach_host_self'.
19989         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
19990         Protect declarations against the macro expansion.
19991         * mach/mach_init.c (__mach_host_self_): New variable.
19992         (mach_init): Initialize `__mach_host_self_'.
19993         * mach/mach_init.h (__mach_host_self_): New declaration.
19994         (__mach_host_self, mach_host_self): New macros.
19995         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
19996         Release reference.
19998 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20000         [BZ #4404]
20001         * po/de.po: Update from Translation Project.
20003         [BZ #16415]
20004         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20005         (__expm1l): Remove code to handle positive infinity and overflow.
20006         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20007         variable.
20008         (__expm1l): Remove code to handle positive infinity and overflow.
20010 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20011             Paul Pluzhnikov  <ppluzhnikov@google.com>
20013         [BZ #18872]
20014         * stdio-common/Makefile (tst-printf-bz18872): New test.
20015         (tst-printf-bz18872-mem.out): Likewise.
20016         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20017         * stdio-common/vfprintf.c: Fix memory leaks.
20019 2015-09-16  Andreas Schwab  <schwab@suse.de>
20021         [BZ #17244]
20022         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20023         Remove extra va_start/va_end calls.
20025         [BZ #17243]
20026         * posix/execl.c (execl): Add missing va_end.
20027         * posix/execle.c (execle): Likewise.
20028         * posix/execlp.c (execlp): Likewise.
20030 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20032         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20033         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20035 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20037         [BZ #18967]
20038         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20039         undefine around includes of <bits/mathcalls.h>.
20040         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20041         not declare function.
20042         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20043         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20044         (scalb): Likewise.
20045         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20046         not define macro.
20047         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20048         variable.
20049         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20050         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20051         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20053         [BZ #18857]
20054         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20055         return non-finite argument without doing ordered comparisons on
20056         it.
20058         [BZ #16296]
20059         * math/fenv.h (fegetround): Use __attribute_pure__.
20060         * include/fenv.h (__fegetround): Likewise.
20062         [BZ #18595]
20063         * math/s_ctan.c (__ctan): Force underflow exception for results
20064         whose real or imaginary part has small absolute value.
20065         * math/s_ctanf.c (__ctanf): Likewise.
20066         * math/s_ctanh.c (__ctanh): Likewise.
20067         * math/s_ctanhf.c (__ctanhf): Likewise.
20068         * math/s_ctanhl.c (__ctanhl): Likewise.
20069         * math/s_ctanl.c (__ctanl): Likewise.
20070         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20071         and ctanh.  Add more tests of ctan and ctanh.
20073         [BZ #15918]
20074         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20075         handling of cases where one argument is an infinity.
20077         [BZ #18875]
20078         [BZ #18966]
20079         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20080         (MO): New macro.
20081         (__ieee754_exp10): For small results, force underflow exception
20082         and remove excess range and precision from return value.
20083         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20084         (MO): New macro.
20085         (__ieee754_exp10f): For small results, force underflow exception
20086         and remove excess range and precision from return value.
20087         * math/auto-libm-test-in: Add more tests of exp10.
20088         * math/auto-libm-test-out: Regenerated.
20090 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20092         [BZ #18875]
20093         [BZ #18961]
20094         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20095         (MO): New macro.
20096         (__ieee754_exp): For small results, force underflow exception and
20097         remove excess range and precision from return value.
20098         (__exp_finite): Likewise.
20099         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20100         (MO): New macro.
20101         (__ieee754_expf): For small results, force underflow exception and
20102         remove excess range and precision from return value.
20103         (__expf_finite): Likewise.
20104         * math/auto-libm-test-in: Add more tests of exp.
20105         * math/auto-libm-test-out: Regenerated.
20107         [BZ #16521]
20108         [BZ #18875]
20109         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20110         small results.
20111         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20112         (MO): New macro.
20113         (__ieee754_exp2): For small results, force underflow exception and
20114         remove excess range and precision from return value.
20115         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20116         (MO): New macro.
20117         (__ieee754_exp2f): For small results, force underflow exception
20118         and remove excess range and precision from return value.
20119         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20120         (MO): New macro.
20121         (__ieee754_exp2l): Force underflow exception for small results.
20122         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20123         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20124         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20125         (MO): New macro.
20126         (__ieee754_exp2l): Force underflow exception for small results.
20127         * math/auto-libm-test-in: Add more tests or exp2.
20128         * math/auto-libm-test-out: Regenerated.
20130 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20132         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20134         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
20135         /dev/null.
20137 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20139         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20140         io fs process)): Drop spurious backslash.
20142 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20144         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
20145         Use sysinfo system call instead of parsing /proc/meminfo.
20146         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
20147         Likewise.
20149 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
20151         [BZ #16985]
20152         * programs/localedef.c (main): Display argv[remaining] when
20153         output_path is NULL.
20155 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20157         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20158         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
20159         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
20160         tanh.
20161         * math/auto-libm-test-out: Regenerated.
20162         * sysdeps/i386/fpu/libm-test-ulps: Update.
20163         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20164         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20167 2015-09-11  Roland McGrath  <roland@hack.frob.com>
20169         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
20170         Use 'override' keyword to freeze the value here, preventing
20171         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
20173 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
20175         [BZ #14912]
20176         * sysdeps/aarch64/bits/atomic.h: Move to ...
20177         * sysdeps/aarch64/atomic-machine.h: ...here.
20178         (_AARCH64_BITS_ATOMIC_H): Rename macro to
20179         _AARCH64_ATOMIC_MACHINE_H.
20180         * sysdeps/alpha/bits/atomic.h: Move to ...
20181         * sysdeps/alpha/atomic-machine.h: ...here.
20182         * sysdeps/arm/bits/atomic.h: Move to ...
20183         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
20184         * bits/atomic.h: Move to ...
20185         * sysdeps/generic/atomic-machine.h: ...here.
20186         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20187         * sysdeps/i386/bits/atomic.h: Move to ...
20188         * sysdeps/i386/atomic-machine.h: ...here.
20189         * sysdeps/ia64/bits/atomic.h: Move to ...
20190         * sysdeps/ia64/atomic-machine.h: ...here.
20191         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
20192         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
20193         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20194         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
20195         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
20196         * sysdeps/microblaze/bits/atomic.h: Move to ...
20197         * sysdeps/microblaze/atomic-machine.h: ...here.
20198         * sysdeps/mips/bits/atomic.h: Move to ...
20199         * sysdeps/mips/atomic-machine.h: ...here.
20200         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
20201         * sysdeps/powerpc/bits/atomic.h: Move to ...
20202         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
20203         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
20204         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
20205         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
20206         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
20207         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
20208         <atomic-machine.h> instead of <bits/atomic.h>.
20209         * sysdeps/s390/bits/atomic.h: Move to ...
20210         * sysdeps/s390/atomic-machine.h: ...here.
20211         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
20212         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
20213         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20214         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
20215         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
20216         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
20217         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
20218         * sysdeps/tile/bits/atomic.h: Move to ...
20219         * sysdeps/tile/atomic-machine.h: ...here.
20220         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
20221         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
20222         <sysdeps/tile/atomic-machine.h> instead of
20223         <sysdeps/tile/bits/atomic.h>.
20224         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20225         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
20226         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
20227         <sysdeps/tile/atomic-machine.h> instead of
20228         <sysdeps/tile/bits/atomic.h>.
20229         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20230         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
20231         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
20232         <sysdeps/arm/atomic-machine.h> instead of
20233         <sysdeps/arm/bits/atomic.h>.
20234         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
20235         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
20236         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20237         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
20238         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
20239         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
20240         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
20241         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
20242         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
20243         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
20244         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
20245         * sysdeps/x86_64/bits/atomic.h: Move to ...
20246         * sysdeps/x86_64/atomic-machine.h: ...here.
20247         * include/atomic.h: Include <atomic-machine.h> instead of
20248         <bits/atomic.h>.
20250         * sysdeps/mips/mips32/libm-test-ulps: Update.
20251         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20253         [BZ #18952]
20254         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
20255         not convert non-integer negative arguments to int to determine the
20256         value of signgam.
20257         * math/auto-libm-test-in: Add more tests of lgamma.
20258         * math/auto-libm-test-out: Regenerated.
20260         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
20261         cosh, csqrt, erfc, expm1 and lgamma.
20262         * math/auto-libm-test-out: Regenerated.
20263         * sysdeps/i386/fpu/libm-test-ulps: Update.
20264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20266 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
20268         [BZ #2542]
20269         [BZ #2543]
20270         [BZ #2558]
20271         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
20272         __lgamma_neg for arguments from -28.0 to -2.0.
20273         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
20274         __lgamma_negf for arguments from -15.0 to -2.0.
20275         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20276         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
20277         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
20278         Call __lgamma_negl for arguments from -33.0 to -2.0.
20279         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
20280         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
20281         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
20282         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
20283         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
20284         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
20285         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
20286         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
20287         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
20288         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
20289         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
20290         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
20291         (__lgamma_neg): Likewise.
20292         (__lgamma_negl): Likewise.
20293         (__lgamma_product): Likewise.
20294         (__lgamma_productl): Likewise.
20295         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
20296         * math/auto-libm-test-in: Add more tests of lgamma.
20297         * math/auto-libm-test-out: Regenerated.
20298         * sysdeps/i386/fpu/libm-test-ulps: Update.
20299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20301 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
20303         [BZ #18675]
20304         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
20306 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
20308         [BZ #14912]
20309         * bits/libc-lock.h: Move to ...
20310         * sysdeps/generic/libc-lock.h: ...here.
20311         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20312         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
20313         * sysdeps/mach/hurd/libc-lock.h: ...here.
20314         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20315         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
20316         * sysdeps/mach/bits/libc-lock.h: Move to ...
20317         * sysdeps/mach/libc-lock.h: ...here.
20318         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20319         * sysdeps/nptl/bits/libc-lock.h: Move to ...
20320         * sysdeps/nptl/libc-lock.h: ...here.
20321         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
20322         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
20323         * sysdeps/nptl/libc-lockP.h: ...here.
20324         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
20325         * crypt/crypt_util.c: Include <libc-lock.h> instead of
20326         <bits/libc-lock.h>.
20327         * dirent/scandir-tail.c: Likewise.
20328         * dlfcn/dlerror.c: Likewise.
20329         * elf/dl-close.c: Likewise.
20330         * elf/dl-iteratephdr.c: Likewise.
20331         * elf/dl-lookup.c: Likewise.
20332         * elf/dl-open.c: Likewise.
20333         * elf/dl-support.c: Likewise.
20334         * elf/dl-writev.h: Likewise.
20335         * elf/rtld.c: Likewise.
20336         * grp/fgetgrent.c: Likewise.
20337         * gshadow/fgetsgent.c: Likewise.
20338         * gshadow/sgetsgent.c: Likewise.
20339         * iconv/gconv_conf.c: Likewise.
20340         * iconv/gconv_db.c: Likewise.
20341         * iconv/gconv_dl.c: Likewise.
20342         * iconv/gconv_int.h: Likewise.
20343         * iconv/gconv_trans.c: Likewise.
20344         * include/link.h: Likewise.
20345         * inet/getnameinfo.c: Likewise.
20346         * inet/getnetgrent.c: Likewise.
20347         * inet/getnetgrent_r.c: Likewise.
20348         * intl/bindtextdom.c: Likewise.
20349         * intl/dcigettext.c: Likewise.
20350         * intl/finddomain.c: Likewise.
20351         * intl/gettextP.h: Likewise.
20352         * intl/loadmsgcat.c: Likewise.
20353         * intl/localealias.c: Likewise.
20354         * intl/textdomain.c: Likewise.
20355         * libidn/idn-stub.c: Likewise.
20356         * libio/libioP.h: Likewise.
20357         * locale/duplocale.c: Likewise.
20358         * locale/freelocale.c: Likewise.
20359         * locale/newlocale.c: Likewise.
20360         * locale/setlocale.c: Likewise.
20361         * login/getutent_r.c: Likewise.
20362         * login/getutid_r.c: Likewise.
20363         * login/getutline_r.c: Likewise.
20364         * login/utmp-private.h: Likewise.
20365         * login/utmpname.c: Likewise.
20366         * malloc/mtrace.c: Likewise.
20367         * misc/efgcvt.c: Likewise.
20368         * misc/error.c: Likewise.
20369         * misc/fstab.c: Likewise.
20370         * misc/getpass.c: Likewise.
20371         * misc/mntent.c: Likewise.
20372         * misc/syslog.c: Likewise.
20373         * nis/nis_call.c: Likewise.
20374         * nis/nis_callback.c: Likewise.
20375         * nis/nss-default.c: Likewise.
20376         * nis/nss_compat/compat-grp.c: Likewise.
20377         * nis/nss_compat/compat-initgroups.c: Likewise.
20378         * nis/nss_compat/compat-pwd.c: Likewise.
20379         * nis/nss_compat/compat-spwd.c: Likewise.
20380         * nis/nss_nis/nis-alias.c: Likewise.
20381         * nis/nss_nis/nis-ethers.c: Likewise.
20382         * nis/nss_nis/nis-grp.c: Likewise.
20383         * nis/nss_nis/nis-hosts.c: Likewise.
20384         * nis/nss_nis/nis-network.c: Likewise.
20385         * nis/nss_nis/nis-proto.c: Likewise.
20386         * nis/nss_nis/nis-pwd.c: Likewise.
20387         * nis/nss_nis/nis-rpc.c: Likewise.
20388         * nis/nss_nis/nis-service.c: Likewise.
20389         * nis/nss_nis/nis-spwd.c: Likewise.
20390         * nis/nss_nisplus/nisplus-alias.c: Likewise.
20391         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
20392         * nis/nss_nisplus/nisplus-grp.c: Likewise.
20393         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
20394         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
20395         * nis/nss_nisplus/nisplus-network.c: Likewise.
20396         * nis/nss_nisplus/nisplus-proto.c: Likewise.
20397         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
20398         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
20399         * nis/nss_nisplus/nisplus-service.c: Likewise.
20400         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
20401         * nis/ypclnt.c: Likewise.
20402         * nptl/libc_pthread_init.c: Likewise.
20403         * nss/getXXbyYY.c: Likewise.
20404         * nss/getXXent.c: Likewise.
20405         * nss/getXXent_r.c: Likewise.
20406         * nss/nss_db/db-XXX.c: Likewise.
20407         * nss/nss_db/db-netgrp.c: Likewise.
20408         * nss/nss_db/nss_db.h: Likewise.
20409         * nss/nss_files/files-XXX.c: Likewise.
20410         * nss/nss_files/files-alias.c: Likewise.
20411         * nss/nsswitch.c: Likewise.
20412         * posix/regex_internal.h: Likewise.
20413         * posix/wordexp.c: Likewise.
20414         * pwd/fgetpwent.c: Likewise.
20415         * resolv/res_hconf.c: Likewise.
20416         * resolv/res_libc.c: Likewise.
20417         * shadow/fgetspent.c: Likewise.
20418         * shadow/lckpwdf.c: Likewise.
20419         * shadow/sgetspent.c: Likewise.
20420         * socket/opensock.c: Likewise.
20421         * stdio-common/reg-modifier.c: Likewise.
20422         * stdio-common/reg-printf.c: Likewise.
20423         * stdio-common/reg-type.c: Likewise.
20424         * stdio-common/vfprintf.c: Likewise.
20425         * stdio-common/vfscanf.c: Likewise.
20426         * stdlib/abort.c: Likewise.
20427         * stdlib/cxa_atexit.c: Likewise.
20428         * stdlib/fmtmsg.c: Likewise.
20429         * stdlib/random.c: Likewise.
20430         * stdlib/setenv.c: Likewise.
20431         * string/strsignal.c: Likewise.
20432         * sunrpc/auth_none.c: Likewise.
20433         * sunrpc/bindrsvprt.c: Likewise.
20434         * sunrpc/create_xid.c: Likewise.
20435         * sunrpc/key_call.c: Likewise.
20436         * sunrpc/rpc_thread.c: Likewise.
20437         * sysdeps/arm/backtrace.c: Likewise.
20438         * sysdeps/generic/ldsodefs.h: Likewise.
20439         * sysdeps/generic/stdio-lock.h: Likewise.
20440         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
20441         * sysdeps/i386/backtrace.c: Likewise.
20442         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20443         * sysdeps/m68k/backtrace.c: Likewise.
20444         * sysdeps/mach/hurd/cthreads.c: Likewise.
20445         * sysdeps/mach/hurd/dirstream.h: Likewise.
20446         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20447         * sysdeps/nptl/malloc-machine.h: Likewise.
20448         * sysdeps/nptl/stdio-lock.h: Likewise.
20449         * sysdeps/posix/dirstream.h: Likewise.
20450         * sysdeps/posix/getaddrinfo.c: Likewise.
20451         * sysdeps/posix/system.c: Likewise.
20452         * sysdeps/pthread/aio_suspend.c: Likewise.
20453         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20454         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20455         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20456         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
20457         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
20458         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
20459         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
20460         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
20461         * sysdeps/unix/sysv/linux/system.c: Likewise.
20462         * sysdeps/x86_64/backtrace.c: Likewise.
20463         * time/alt_digit.c: Likewise.
20464         * time/era.c: Likewise.
20465         * time/tzset.c: Likewise.
20466         * wcsmbs/wcsmbsload.c: Likewise.
20467         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
20468         instead of <bits/libc-lock.h> in comment.
20470 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
20472         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
20473         Only use .set mips2 if the current ISA is below mips2.
20474         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
20475         Likewise.
20476         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
20477         mips32r2 if the current ISA is below mips32r2.
20478         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
20479         (TLS_IE): Updated to use the TLD_RDHWR macro.
20480         (TLS_LE): Likewise.
20481         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
20482         __ASSEMBLER__ condition.
20484 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20486         Fix parallel build of before-compile targets.
20488         * sysdeps/mach/Makefile ($(patsubst
20489         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
20490         mach-before-compile target.
20491         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20492         io fs process)): Move rule to dedicated hurd-before-compile target.
20494 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20496         Fix rules generating headers in hurd/ and mach/ when initial make call
20497         has subdir= explicitly set.
20499         * sysdeps/mach/Makefile ($(patsubst
20500         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
20501         calling $(MAKE).
20502         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
20503         io fs process)): Force subdir to hurd when calling $(MAKE).
20504         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
20505         subdir to mach when calling $(MAKE).
20507 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
20509         Check sysheaders when looking for Mach and Hurd headers
20511         * sysdeps/mach/configure.ac: Add sysheaders check.
20512         * sysdeps/mach/configure: Regenerate.
20513         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
20514         * sysdeps/mach/hurd/configure: Regenerate.
20516 2015-09-04  Roland McGrath  <roland@hack.frob.com>
20518         [BZ #18921]
20519         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
20520         Fix inverted sense of test of 'o_directory_works' value.
20521         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
20522         Bernhard Voelker <mail@bernhard-voelker.de>.
20524 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20526         [BZ #14912]
20527         * bits/linkmap.h: Move to ...
20528         * sysdeps/generic/linkmap.h: ...here.
20529         * sysdeps/aarch64/bits/linkmap.h: Move to ...
20530         * sysdeps/aarch64/linkmap.h: ...here.
20531         * sysdeps/arm/bits/linkmap.h: Move to ...
20532         * sysdeps/arm/linkmap.h: ...here.
20533         * sysdeps/hppa/bits/linkmap.h: Move to ...
20534         * sysdeps/hppa/linkmap.h: ...here.
20535         * sysdeps/ia64/bits/linkmap.h: Move to ...
20536         * sysdeps/ia64/linkmap.h: ...here.
20537         * sysdeps/mips/bits/linkmap.h: Move to ...
20538         * sysdeps/mips/linkmap.h: ...here.
20539         * sysdeps/s390/bits/linkmap.h: Move to ...
20540         * sysdeps/s390/linkmap.h: ...here.
20541         * sysdeps/sh/bits/linkmap.h: Move to ...
20542         * sysdeps/sh/linkmap.h: ...here.
20543         * sysdeps/x86/bits/linkmap.h: Move to ...
20544         * sysdeps/x86/linkmap.h: ...here.
20545         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
20547 2015-09-04  Andreas Schwab  <schwab@suse.de>
20549         [BZ #18635]
20550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
20551         (__makecontext): Terminate FDE before return label.
20552         (__novec_makecontext): Likewise.
20554 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20556         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
20557         first member of struct sv in syscall macro.
20559 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
20561         [BZ #14912]
20562         * bits/stdio-lock.h: Move to ...
20563         * sysdeps/generic/stdio-lock.h: ...here.
20564         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20565         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
20566         * sysdeps/nptl/stdio-lock.h: ...here.
20567         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
20568         * include/libio.h: Include <stdio-lock.h> instead of
20569         <bits/stdio-lock.h>.
20570         * sysdeps/nptl/fork.c: Likewise.
20571         * sysdeps/pthread/flockfile.c: Likewise.
20572         * sysdeps/pthread/ftrylockfile.c: Likewise.
20573         * sysdeps/pthread/funlockfile.c: Likewise.
20575         [BZ #14912]
20576         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
20577         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
20578         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
20579         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
20580         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
20581         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20582         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
20584 2015-09-03  Roland McGrath  <roland@hack.frob.com>
20586         * elf/Makefile (test-xfail-tst-protected1a): New variable.
20587         (test-xfail-tst-protected1b): New variable.
20589 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
20591         [BZ #14912]
20592         * bits/libc-tsd.h: Move to ...
20593         * sysdeps/generic/libc-tsd.h: ...here.
20594         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
20595         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
20596         * sysdeps/mach/hurd/libc-tsd.h: ...here.
20597         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
20598         * include/ctype.h: Include <libc-tsd.h> instead of
20599         <bits/libc-tsd.h>.
20600         * include/rpc/rpc.h: Likewise.
20601         * locale/localeinfo.h: Likewise.
20602         * sunrpc/rpc_thread.c: Likewise.
20603         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
20604         * sysdeps/nptl/malloc-machine.h: Likewise.
20606         * Makefile (headers): Remove bits/libc-lock.h.
20607         * libio/Makefile (headers): Remove bits/stdio-lock.h.
20609         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
20610         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
20611         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
20612         <bits/stdio-lock.h>.
20613         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
20614         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
20616 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20618         [BZ #18757]
20619         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
20620         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
20621         BZ #18757.
20623 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
20625         * malloc/mtrace.pl: Filter out NULL entries.
20627 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
20629         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
20630         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
20631         macro.
20633         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
20634         (TCP_CC_INFO): Likewise.
20635         (TCP_SAVE_SYN): Likewise.
20636         (TCP_SAVED_SYN): Likewise.
20638 2015-08-31  Brett Neumeier <brett@neumeier.us>
20640         [BZ #18870]
20641         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
20643 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
20645         [BZ #18873]
20646         Fix broken overflow check in posix_fallocate
20647         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
20648         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
20649         Fix parenthesization typo.
20651 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
20653         [BZ #18887]
20654         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
20655         tst-mntent-blank-passno.
20656         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
20657         * misc/tst-mntent-blank-corrupt.c: New test.
20658         * misc/tst-mntent-blank-passno.c: New test ripped from ...
20659         * misc/tst-mntent.c (do_test): ... here.
20661 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
20663         [BZ #4404]
20664         * po/de.po: Fix SIGALRM typo.
20666 2015-08-28  James Perkins  <james@loowit.net>
20668         * time/tst-strptime2.c (tests): Replace short list of test
20669         strings for strptime %z specifier with code which exhaustively
20670         tests every combination of sign and 0 to 5 digits. Tests for
20671         rejection of invalid strings.
20673 2015-08-28  James Perkins  <james@loowit.net>
20675         [BZ #16141]
20676         * time/strptime_l.c (__strptime_internal): Fix %z minutes
20677         calculation, removing incorrect decimal time rounding, so that
20678         all minute values result in a valid seconds value.
20679         * time/strptime_l.c (__strptime_internal): Extend %z time zone
20680         offset range limits to UTC-99:59 through UTC+99:59 to parse
20681         current and historical use cases.
20682         * time/tst-strptime2.c (tests): Modify and add tests for the
20683         strptime %z input field descriptor, specifically conversion of
20684         minutes to seconds and validating an offset range of -9959 to
20685         +9959.
20687 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20688             Dmitry V. Levin  <ldv@altlinux.org>
20690         [BZ #18877]
20691         * posix/Makefile (tests): Add tst-mmap-offset.
20692         * posix/tst-mmap.c: New file.
20693         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
20694         offset calculation for negative values.
20696 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20698         * sysdeps/i386/init-arch.h: New file.
20699         * sysdeps/i386/i586/init-arch.h: Likewise.
20700         * sysdeps/i386/i686/init-arch.h: Likewise.
20701         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
20702         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
20703         * sysdeps/x86/cpu-features.h (bit_I586): New.
20704         (bit_I686): Likewise.
20705         (bit_CX8): Likewise.
20706         (bit_CMOV): Likewise.
20707         (index_CX8): Likewise.
20708         (index_CMOV): Likewise.
20709         (index_I586): Likewise.
20710         (index_I686): Likewise.
20711         (reg_CX8): Likewise.
20712         (reg_CMOV): Likewise.
20713         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
20714         available at compile-time.
20715         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
20716         available at compile-time.
20717         * sysdeps/x86/init-arch.h (USE_I586): New macro.
20718         (USE_I686): Likewise.
20720 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20722         * sysdeps/i386/bcopy.S: New file.
20723         * sysdeps/i386/bzero.S: Likewise.
20724         * sysdeps/i386/memcpy.S: Likewise.
20725         * sysdeps/i386/memmove.S: Likewise.
20726         * sysdeps/i386/mempcpy.S: Likewise.
20727         * sysdeps/i386/memset.S: Likewise.
20728         * sysdeps/i386/bzero.c: Removed.
20729         * sysdeps/i386/memset.c: Likewise.
20730         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
20731         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
20732         * sysdeps/i386/i586/memset_chk.S: Likewise.
20733         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
20734         * sysdeps/i386/memcpy_chk.S: Here.
20735         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
20736         * sysdeps/i386/memmove_chk.S: Here.
20737         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
20738         * sysdeps/i386/mempcpy_chk.S: Likewise.
20739         * sysdeps/i386/i686/memset_chk.S: Moved to ...
20740         * sysdeps/i386/memset_chk.S: Likewise.
20742 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
20744         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
20745         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
20746         file, move DIAG_POP_NEEDS_COMMENT to end of file.
20747         * soft-fp/fmadf4.c: Ditto.
20748         * soft-fp/fmatf4.c: Ditto.
20750 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20752         * sysdeps/i386/i586/Implies: Removed.
20753         * sysdeps/i386/i686/Implies: Likewise.
20755 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20757         * sysdeps/i386/i486/strlen.S: Moved to ...
20758         * sysdeps/i386/strlen.S: Here.
20760 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20762         * sysdeps/i386/i486/strcat.S: Moved to ...
20763         * sysdeps/i386/strcat.S: Here.
20765 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20767         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
20768         * sysdeps/i386/pthread_spin_trylock.S: Here.
20769         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
20770         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
20772 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20774         * sysdeps/i386/i486/string-inlines.c: Moved to ...
20775         * sysdeps/i386/string-inlines.c: Here.
20777 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20779         * sysdeps/i386/i486/htonl.S: Moved ...
20780         * sysdeps/i386/htonl.S: here.
20782 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20784         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
20785         * sysdeps/i386/bits/atomic.h: Here.
20787 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
20789         * sysdeps/i386/i486/Versions: Removed.
20791 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20793         [BZ #2898]
20794         * misc/mktemp.c: Add mkdtemp to the link_warning message.
20795         Based on patch by Aurelien Jarno.
20797 2015-08-26  Stan Shebs  <stanshebs@google.com>
20799         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
20800         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20802 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20804         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
20805         * sysdeps/powerpc/dl-procinfo.c:
20806         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
20807         feature so it shows when LD_SHOW_AUXV=1.
20809 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20811         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
20812         (__arch_compare_and_exchange_val_32_acq): Remove and use common
20813         definition.  ISA 2.07B no longer requires full sync.
20815 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
20817         [BZ #18863]
20818         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
20819         (si_call_addr): Define.
20820         (si_syscall): Define.
20821         (si_arch): Define.
20823 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
20825         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
20826         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
20827         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
20828         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20829         (__memset_zero_constant_len_parameter): New.
20830         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
20831         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
20832         (__memset_zero_constant_len_parameter): Don't define if
20833         __memset_chk or USE_AS_BZERO are defined.
20835         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
20836         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
20837         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
20839         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
20840         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
20841         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
20842         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
20843         comments.
20844         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
20845         -mno-mmx for $(all-rtld-routines).
20846         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
20847         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
20848         i386.
20850 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20852         * sysdeps/generic/unwind.h
20853         (_Unwind_Word): Use __mode__(__unwind_word__)
20854         instead of __mode__(__word__).
20855         (_Unwind_Sword): Likewise.
20857         * sysdeps/s390/s390-64/utf8-utf16-z9.c
20858         (MAX_NEEDED_INPUT): New define.
20859         (MAX_NEEDED_OUTPUT): New define.
20861         * NEWS: New item for IBM z13 string optimizations.
20863         * sysdeps/s390/multiarch/memrchr-c.c: New File.
20864         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
20865         * sysdeps/s390/multiarch/memrchr.c: Likewise.
20866         * sysdeps/s390/multiarch/Makefile
20867         (sysdep_routines): Add memrchr functions.
20868         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20869         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
20871         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
20872         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
20873         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
20874         * sysdeps/s390/multiarch/Makefile
20875         (sysdep_routines): Add wmemcmp functions.
20876         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20877         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
20878         * benchtests/bench-wmemcmp.c: New File.
20879         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
20881         * sysdeps/s390/multiarch/wmemset-c.c: New File.
20882         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
20883         * sysdeps/s390/multiarch/wmemset.c: Likewise.
20884         * sysdeps/s390/multiarch/Makefile
20885         (sysdep_routines): Add wmemset functions.
20886         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20887         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
20888         * wcsmbs/wmemset.c: Use WMEMSET if defined.
20889         * string/test-memset.c: Add wmemset support.
20890         * wcsmbs/test-wmemset.c: New File.
20891         * wcsmbs/Makefile (strop-tests): Add wmemset.
20892         * benchtests/bench-memset.c: Add wmemset support.
20893         * benchtests/bench-wmemset.c: New File.
20894         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
20896         * sysdeps/s390/multiarch/memccpy-c.c: New File.
20897         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
20898         * sysdeps/s390/multiarch/memccpy.c: Likewise.
20899         * sysdeps/s390/multiarch/Makefile
20900         (sysdep_routines): Add memccpy functions.
20901         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20902         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
20903         * string/memccpy.c: Use MEMCCPY if defined.
20905         * sysdeps/s390/multiarch/memchr-vx.S: New File.
20906         * sysdeps/s390/multiarch/memchr.c: Likewise.
20907         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
20908         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
20909         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
20910         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
20911         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
20912         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
20913         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
20914         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
20915         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
20916         and rawmemchr functions.
20917         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
20918         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
20919         and wmemchr.
20920         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
20921         * string/test-memchr.c: Add wmemchr support.
20922         * wcsmbs/test-wmemchr.c: New File.
20923         * wcsmbs/Makefile (strop-tests): Add wmemchr.
20924         * benchtests/bench-memchr.c: Add wmemchr support.
20925         * benchtests/bench-wmemchr.c: New File.
20926         * benchtests/Makefile (wcsmbs-bench): wmemchr.
20928         * sysdeps/s390/multiarch/strcspn-c.c: New File.
20929         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
20930         * sysdeps/s390/multiarch/strcspn.c: Likewise.
20931         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
20932         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
20933         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
20934         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
20935         wcscspn functions.
20936         * sysdeps/s390/multiarch/ifunc-impl-list.c
20937         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
20938         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
20939         * string/test-strcspn.c: Add wcscspn support.
20940         * wcsmbs/test-wcscspn.c: New File.
20941         * wcsmbs/Makefile (strop-tests): Add wcscspn.
20942         * benchtests/bench-strcspn.c: Add wcscspn support.
20943         * benchtests/bench-wcscspn.c: New File.
20944         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
20946         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
20947         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
20948         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
20949         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
20950         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
20951         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
20952         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
20953         wcspbrk functions.
20954         * sysdeps/s390/multiarch/ifunc-impl-list.c
20955         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
20956         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
20957         * string/test-strpbrk.c: Add wcspbrk support.
20958         * wcsmbs/test-wcspbrk.c: New File.
20959         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
20960         * benchtests/bench-strpbrk.c: Add wcspbrk support.
20961         * benchtests/bench-wcspbrk.c: New File.
20962         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
20964         * sysdeps/s390/multiarch/strspn-c.c: New File.
20965         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
20966         * sysdeps/s390/multiarch/strspn.c: Likewise.
20967         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
20968         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
20969         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
20970         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
20971         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
20972         wcsspn functions.
20973         * sysdeps/s390/multiarch/ifunc-impl-list.c
20974         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
20975         * string/test-strspn.c: Add wcsspn support.
20976         * wcsmbs/test-wcsspn.c: New File.
20977         * wcsmbs/Makefile (strop-tests): Add wcsspn.
20978         * benchtests/bench-strspn.c: Add wcsspn support.
20979         * benchtests/bench-wcsspn.c: New File.
20980         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
20982         * sysdeps/s390/multiarch/strrchr-c.c: New File.
20983         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
20984         * sysdeps/s390/multiarch/strrchr.c: Likewise.
20985         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
20986         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
20987         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
20988         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
20989         wcsrchr functions.
20990         * sysdeps/s390/multiarch/ifunc-impl-list.c
20991         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
20992         * benchtests/bench-wcsrchr.c: New File.
20993         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
20995         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
20996         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
20997         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
20998         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
20999         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21000         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21001         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21002         wcschrnul functions.
21003         * sysdeps/s390/multiarch/ifunc-impl-list.c
21004         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21005         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21006         * string/test-strchr.c: Add wcschrnul support.
21007         * wcsmbs/test-wcschrnul.c: New File.
21008         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21009         * benchtests/bench-strchr.c: Add wcschrnul support.
21010         * benchtests/bench-wcschrnul.c: New File.
21011         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21013         * sysdeps/s390/multiarch/strchr-c.c: New File.
21014         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21015         * sysdeps/s390/multiarch/strchr.c: Likewise.
21016         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21017         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21018         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21019         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21020         wcschr functions.
21021         * sysdeps/s390/multiarch/ifunc-impl-list.c
21022         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21023         * string/strchr.c (STRCHR): Define and use macro.
21024         * benchtests/bench-wcschr.c: New File.
21025         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21027         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21028         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21029         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21030         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21031         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21032         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21033         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21034         wcsncmp functions.
21035         * sysdeps/s390/multiarch/ifunc-impl-list.c
21036         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21037         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21038         * benchtests/bench-strncmp.c: Add wcsncmp support.
21039         * benchtests/bench-wcsncmp.c: New File.
21040         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21042         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21043         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21044         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21045         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21046         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21047         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21048         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21049         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21050         wcscmp functions.
21051         * sysdeps/s390/multiarch/ifunc-impl-list.c
21052         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21053         * string/strcmp.c (STRCMP): Define and use macro.
21054         * benchtests/bench-wcscmp.c: New File.
21055         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21056         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21057         instead of _HAVE_STRING_ARCH_memchr.
21059         * sysdeps/s390/multiarch/strncat-c.c: New File.
21060         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21061         * sysdeps/s390/multiarch/strncat.c: Likewise.
21062         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21063         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21064         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21065         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21066         wcsncat functions.
21067         * sysdeps/s390/multiarch/ifunc-impl-list.c
21068         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21069         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21070         * string/test-strncat.c: Add wcsncat support.
21071         * wcsmbs/test-wcsncat.c: New File.
21072         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21073         * benchtests/bench-strncat.c: Add wcsncat support.
21074         * benchtests/bench-wcsncat.c: New File.
21075         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21077         * sysdeps/s390/multiarch/strcat-c.c: New File.
21078         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21079         * sysdeps/s390/multiarch/strcat.c: Likewise.
21080         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21081         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21082         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21084         wcscat functions.
21085         * sysdeps/s390/multiarch/ifunc-impl-list.c
21086         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21087         * string/strcat.c (STRCAT): Define and use macro.
21088         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21089         * string/test-strcat.c: Add wcscat support.
21090         * wcsmbs/test-wcscat.c: New File.
21091         * wcsmbs/Makefile (strop-tests): Add wcscat.
21092         * benchtests/bench-strcat.c: Add wcscat support.
21093         * benchtests/bench-wcscat.c: New File.
21094         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21096         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21097         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21098         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21099         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21100         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21101         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21102         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21103         wcpncpy functions.
21104         * sysdeps/s390/multiarch/ifunc-impl-list.c
21105         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21106         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21107         * string/test-stpncpy.c: Add wcpncpy support.
21108         * wcsmbs/test-wcpncpy.c: New File.
21109         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21110         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21111         * benchtests/bench-wcpncpy.c: New File.
21112         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21114         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21115         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21116         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21117         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21118         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21119         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21120         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21121         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21122         wcsncpy functions.
21123         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21124         * sysdeps/s390/multiarch/ifunc-impl-list.c
21125         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21126         * string/test-strncpy.c: Add wcsncpy support.
21127         * wcsmbs/test-wcsncpy.c: New File.
21128         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21129         * benchtests/bench-strncpy.c: Add wcsncpy support.
21130         * benchtests/bench-wcsncpy.c: New File.
21131         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21133         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21134         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
21135         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
21136         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
21137         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
21138         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
21139         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
21140         wcpcpy functions.
21141         * string/stpcpy.c: Use STPCPY if defined.
21142         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
21143         * sysdeps/s390/multiarch/ifunc-impl-list.c
21144         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
21145         * string/test-stpcpy.c: Add wcpcpy support.
21146         * wcsmbs/test-wcpcpy.c: New File.
21147         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
21148         * benchtests/bench-stpcpy.c: Add wcpcpy support.
21149         * benchtests/bench-wcpcpy.c: New File.
21150         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
21152         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
21153         * sysdeps/s390/multiarch/strcpy.c: Likewise.
21154         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
21155         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
21156         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
21157         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
21158         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
21159         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
21160         wcscpy functions.
21161         * sysdeps/s390/multiarch/ifunc-impl-list.c
21162         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
21163         * benchtests/bench-wcscpy.c: New File.
21164         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
21166         * sysdeps/s390/multiarch/strnlen-c.c: New File.
21167         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
21168         * sysdeps/s390/multiarch/strnlen.c: Likewise.
21169         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
21170         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
21171         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
21172         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
21173         wcsnlen functions.
21174         * sysdeps/s390/multiarch/ifunc-impl-list.c
21175         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
21176         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
21177         * string/test-strnlen.c: Add wcsnlen support.
21178         * wcsmbs/test-wcsnlen.c: New File.
21179         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
21180         * benchtests/bench-strnlen.c: Add wcsnlen support.
21181         * benchtests/bench-wcsnlen.c: New File.
21182         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
21184         * sysdeps/s390/multiarch/Makefile: New File.
21185         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
21186         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
21187         * sysdeps/s390/multiarch/strlen.c: Likewise.
21188         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
21189         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
21190         * sysdeps/s390/multiarch/wcslen.c: Likewise.
21191         * string/strlen.c (STRLEN): Define and use macro.
21192         * sysdeps/s390/multiarch/ifunc-impl-list.c
21193         (IFUNC_VX_IMPL): New macro function.
21194         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
21195         * benchtests/Makefile (wcsmbs-bench): New variable.
21196         (string-bench-all): Added wcsmbs-bench.
21197         * benchtests/bench-wcslen.c: New File.
21199         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
21200         s390_vx_libc_ifunc2): New macro function.
21202         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
21203         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
21204         assembler support.
21205         * sysdeps/s390/configure: Regenerated.
21207         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
21208         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
21210         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
21211         * sysdeps/s390/dl-procinfo.h: Add vector capability.
21212         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
21214         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
21215         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
21216         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
21217         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
21218         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
21219         (memcmp, bcmp): Use __memcmp_default as alias source.
21220         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
21221         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
21222         Rename to __memcmp_default.
21223         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
21224         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
21225         (memcpy): Use __memcpy_default as alias source.
21226         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
21227         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
21228         Rename to __memcpy_default.
21229         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
21230         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
21231         (memset): Use __memset_default as alias source.
21232         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
21233         * sysdeps/s390/s390-32/memset.S (__memset_g5):
21234         Rename to __memset_default.
21235         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
21236         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
21237         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
21238         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
21239         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
21240         (memcmp, bcmp): Use __memcmp_default as alias source.
21241         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
21242         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
21243         Rename to __memcmp_default.
21244         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
21245         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
21246         (memcpy): Use __memcpy_default as alias source.
21247         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
21248         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
21249         Rename to __memcpy_default.
21250         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
21251         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
21252         (memset): Use __memset_default as alias source.
21253         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
21254         * sysdeps/s390/s390-64/memset.S (__memset_z900):
21255         Rename to __memset_default.
21256         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
21257         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
21259         [BZ #18610]
21260         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
21261         __ieee_instruction_pointer to __unused.
21262         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
21263         __ieee_instruction_pointer.
21264         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
21265         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
21266         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21267         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
21268         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
21269         Mark dxc-field as reserved.
21271 2015-08-25  Roland McGrath  <roland@hack.frob.com>
21273         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
21274         if the weak reference is not null.
21276 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21278         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
21280         [BZ #11214]
21281         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
21283 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21285         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
21286         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
21287         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
21288         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
21289         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
21290         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
21291         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
21292         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
21293         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
21294         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
21295         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
21296         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
21297         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
21298         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
21299         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
21300         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
21301         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
21302         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
21304 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21306         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
21307         register other than r0 for tabort, it has special meaning.
21308         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
21309         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
21310         transaction before starting syscall.
21312 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21314         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
21316 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21318         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
21320         * sysdeps/x86_64/rtld-memcmp.c: Removed.
21321         * sysdeps/x86_64/rtld-memset.S: Likewise.
21322         * sysdeps/x86_64/rtld-strchr.S: Likewise.
21323         * sysdeps/x86_64/rtld-strlen.S: Likewise.
21324         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
21325         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
21327         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
21329 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
21331         * debug/strcpy_chk.c: Improve performance.
21332         * debug/stpcpy_chk.c: Likewise.
21333         * sysdeps/x86_64/strcpy_chk.S: Remove.
21334         * sysdeps/x86_64/stpcpy_chk.S: Remove.
21336         [BZ #18240]
21337         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
21339 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
21341         [BZ #15128]
21342         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
21343         ifuncmain8.
21344         (modules-names): Add ifuncmod8.
21345         ($(objpfx)ifuncmain8): New rule.
21346         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
21347         <cpuid.h>.
21348         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
21349         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
21350         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
21351         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
21352         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
21353         * sysdeps/x86_64/dl-trampoline.h: Likewise.
21354         * sysdeps/x86_64/ifuncmain8.c: New file.
21355         * sysdeps/x86_64/ifuncmod8.c: Likewise.
21356         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
21357         Removed.
21358         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
21359         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
21360         Change rtld_savespace_sse to __glibc_unused2.
21361         (RTLD_CHECK_FOREIGN_CALL): Removed.
21362         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
21363         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
21364         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
21366 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21368         * sysdeps/aarch64/bzero.S (__bzero): Remove.
21370 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
21372         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
21373         Unconditionally set __fpcr to avoid uninialized warning.
21374         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
21376 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21378         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
21379         is corrupt.
21381         * malloc/arena.c (arena_get2): Drop unused argument.
21382         (arena_lock): Adjust.
21383         (arena_get_retry): Likewise.
21385 2015-08-24  Andreas Schwab  <schwab@suse.de>
21387         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
21388         Don't define.
21389         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21390         (__ASSUME_IPC64): Don't undef.
21391         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
21392         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21393         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21394         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
21395         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
21396         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
21397         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
21398         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
21399         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
21400         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
21401         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
21402         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
21403         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
21404         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
21405         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
21406         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
21407         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
21408         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
21409         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
21410         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
21411         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
21413 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
21415         * manual/Makefile (install): Only build manual when perl is available.
21417 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21419         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
21420         '#undef memcpy' by '#undef memchr'.
21422 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21424         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
21425         memchr not point to the internal __GI_memchr implementation.
21427 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21429         * timezone/Makefile (CFLAGS-zdump.c): Remove
21430         -Wno-strict-prototypes.
21431         (CFLAGS-zic.c): Likewise.
21432         (CFLAGS-ialloc.c): Likewise.
21433         (CFLAGS-scheck.c): Likewise.
21435         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
21436         -Wno-error=undef.
21438 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21440         * i386/i686/multiarch/strcasestr-c.c: Removed.
21441         * x86_64/multiarch/strcasestr.c: Likewise.
21442         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21443         Remove strcasestr.
21445 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
21447         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
21449         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
21450         variables for high and low parts before possibly modifying them.
21452 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21454         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
21455         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
21456         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
21457         of "multiarch/init-arch.h".
21458         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
21459         * sysdeps/x86/init-arch.h: This.
21461 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
21463         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
21464         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
21466 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
21468         [BZ #17787]
21469         * manual/macros.texi: Add twoexp macro.
21470         * manual/filesys.texi: Fix exponents.
21471         * manual/llio.texi: Likewise.
21472         * manual/stdio.texi: Likewise.
21474 2015-08-20  Florian Weimer  <fweimer@redhat.com>
21476         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
21477         incorrect use.
21479 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21481         [BZ #18370]
21482         * math/s_csqrt.c (__csqrt): Force underflow exception for results
21483         whose real or imaginary part has small absolute value.
21484         * math/s_csqrtf.c (__csqrtf): Likewise.
21485         * math/s_csqrtl.c (__csqrtl): Likewise.
21486         * math/auto-libm-test-in: Add more tests of csqrt.
21487         * math/auto-libm-test-out: Regenerated.
21488         * sysdeps/i386/fpu/libm-test-ulps: Update.
21490 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21492         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
21493         __ppc_set_ppr_very_low): New functions.
21494         * manual/platform.texi: Add documentation about
21495         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
21497 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
21499         * string/stpncpy.c (stpncpy): Improve performance using
21500         __strnlen/memcpy/memset.
21502 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21504         [BZ #18796]
21505         * scripts/test-installation.pl: Don't add -lmvec to build options if
21506         libmvec wasn't built.
21508 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
21510         [BZ #14341]
21511         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
21512         case when there is a gap between DT_REL and DT_JMPREL sections.
21513         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
21514         (LDFLAGS-tst-split-dynreloc): New.
21515         (tst-split-dynreloc-ENV): Likewise.
21516         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
21517         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
21519 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21521         [BZ #18822]
21522         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
21523         attribute_hidden.
21524         (__xstat64_conv): Likewise.
21525         (__xstat32_conv): Likewise.
21527 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21529         [BZ #18822]
21530         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
21531         Don't load %ebx when calling __setcontext.  Call __setcontext
21532         with HIDDEN_JUMPTARGET.
21533         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
21534         libc_hidden_def.
21536 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21538         * sysdeps/i386/i686/Makefile
21539         [$(subdir) == string] (sysdep_routines): Moved to ...
21540         * sysdeps/i386/Makefile: Here.
21541         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
21542         * sysdeps/i386/cacheinfo.c: Here.
21543         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
21544         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
21545         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
21546         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
21548 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
21550         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
21551         __i586__ is defined.
21552         (HAS_I686): Defined to 1 if __i686__ is defined.
21554 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
21556         * elf/Makefile [$(have-z-execstack) = yes]
21557         (CPPFLAGS-tst-execstack.c): New variable.
21559         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
21560         conditional to [defined UTMPX || _HAVE_UT_TYPE].
21561         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
21562         UTMPX || _HAVE_UT_TV].
21563         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
21564         UTMPX || _HAVE_UT_TV - 0].
21566 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
21568         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
21569         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
21570         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
21572 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21574         * sysdeps/powerpc/dl-procinfo.c:
21575         (_dl_powerpc_cap_flags): Added missing strings for some
21576         hwcap features.
21577         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
21579 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
21581         Port the 0x7efe...feff pattern to GCC 6.
21582         See Steve Ellcey's bug report in:
21583         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
21584         * string/memrchr.c (MEMRCHR):
21585         * string/rawmemchr.c (RAWMEMCHR):
21586         * string/strchr.c (strchr):
21587         * string/strchrnul.c (STRCHRNUL):
21588         Rewrite code to avoid issues with signed shift overflow.
21590 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
21592         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
21593         whether cpuid is available only if HAS_CPUID is 0.
21594         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
21595         (HAS_I586): Likewise.
21596         (HAS_I686): Likewise.
21598 2015-08-18  Zack Weinberg  <zackw@panix.com>
21600         * misc/Versions (libc): Add GLIBC_2.23.
21602 2015-08-18  Alan Modra  <amodra@gmail.com>
21604         [BZ #18421]
21605         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
21606         .Lp__global.
21607         (_start): Load %dp via .Lp__global.
21608         [!SHARED]: Use .section .rodata.
21610 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21612         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
21613         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
21615 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21617         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
21618         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
21620 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21622         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
21623         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
21625 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21627         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
21628         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
21630 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21632         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
21633         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
21635 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21637         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
21638         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
21640 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21642         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
21644 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21646         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
21647         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
21648         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21649         (__ASSUME_LWS_CAS): Delete.
21651 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
21653         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
21654         * sysdeps/hppa/configure: Regenerated.
21655         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
21656         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
21657         * sysdeps/hppa/nptl/tls.h: Likewise.
21659 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
21661         [BZ #18823]
21662         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
21663         for scaling up small arguments.
21664         * math/s_csqrtf.c (__csqrtf): Likewise.
21665         * math/s_csqrtl.c (__csqrtl): Likewise.
21666         * math/auto-libm-test-in: Add more tests of csqrt.
21667         * math/auto-libm-test-out: Regenerated.
21669 2015-08-17  Andreas Schwab  <schwab@suse.de>
21671         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
21672         version set GLIBC_2.19.
21674 2015-08-16  Zack Weinberg  <zackw@panix.com>
21676         [BZ #18681]
21677         * misc/regexp.h: This interface is no longer supported.
21678         Remove all contents, leaving only an #error directive.
21679         * misc/regexp.c (loc1, loc2, locs, step, advance):
21680         Demote to compatibility symbols.
21682 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
21684         [BZ #18084]
21685         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
21686         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
21687         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
21688         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
21689         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
21690         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
21691         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
21692         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
21693         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
21695 2015-08-15  Zack Weinberg  <zackw@panix.com>
21697         [BZ #18795]
21698         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
21699         buffer length is known to be too large, not if it's known to be
21700         small enough.
21701         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
21702         overflow at runtime, involving a length parameter, twice: once
21703         with a compile-time constant length parameter, once without.
21705 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
21707         [BZ #18824]
21708         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
21709         scaling x * y up instead of down.
21710         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21712         * math/auto-libm-test-in: Add more tests of fma.
21713         * math/auto-libm-test-out: Regenerated.
21715 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
21717         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21719 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21721         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
21722         unnecessary movq.
21723         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
21724         Likewise.
21726 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
21728         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21729         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
21730         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
21731         and tgamma.
21732         * math/auto-libm-test-out: Regenerated.
21733         * sysdeps/i386/fpu/libm-test-ulps: Update.
21734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21736         [BZ #16520]
21737         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
21738         (__tanh): Force underflow exception for arguments with small
21739         absolute value.
21740         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
21741         (__tanhf): Force underflow exception for arguments with small
21742         absolute value.
21743         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
21744         (__tanhl): Force underflow exception for arguments with small
21745         absolute value.
21746         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
21747         (__tanhl): Force underflow exception for arguments with small
21748         absolute value.
21749         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
21750         (__tanhl): Force underflow exception for arguments with small
21751         absolute value.
21752         * math/auto-libm-test-in: Add more tests of tanh.
21753         * math/auto-libm-test-out: Regenerated.
21754         * sysdeps/i386/fpu/libm-test-ulps: Update.
21756 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21758         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
21759         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
21761 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21763         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
21764         <cpuid.h>.
21766 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21768         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
21769         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
21771 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21773         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
21774         Remove $(objpfx)init-arch.o.
21775         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
21776         init-arch.
21777         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
21778         (INIT_ARCH_EXT): Defined as empty.
21779         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
21780         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
21781         __init_cpu_features call.  Replace HAS_XXX with
21782         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21783         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
21784         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
21785         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
21786         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
21787         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
21788         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
21789         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
21790         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
21791         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
21792         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
21793         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
21794         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
21795         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
21796         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
21797         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
21798         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
21799         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
21800         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
21801         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
21802         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
21803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
21804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
21805         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
21806         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
21807         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
21808         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
21809         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
21810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
21811         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
21812         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
21813         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
21814         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
21815         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
21816         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
21817         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
21819 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21821         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
21822         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21823         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21824         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
21825         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
21826         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
21827         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
21828         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
21829         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
21830         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
21831         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
21832         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
21833         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21834         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21835         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21836         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21837         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21838         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21839         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21840         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21841         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21842         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21843         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21844         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21845         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21846         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21847         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21848         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21849         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21850         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21851         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21852         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21853         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21854         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21855         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21856         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21857         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21858         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21859         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21860         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21861         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21862         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21863         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21865 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21867         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
21868         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21869         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21870         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21871         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21872         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
21873         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21874         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
21875         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21876         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21877         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21878         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
21879         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
21880         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
21881         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
21882         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
21883         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
21884         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
21885         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
21886         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
21887         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
21888         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
21889         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
21890         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21891         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21892         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
21893         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
21894         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
21895         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
21896         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21897         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21898         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21899         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21900         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21901         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21902         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21903         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21904         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21905         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21906         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21907         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21908         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21909         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21911 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
21913         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
21914         (dl_platform_init): Call init_cpu_features.
21915         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
21916         * sysdeps/i386/i686/cacheinfo.c
21917         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
21918         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
21919         * sysdeps/i386/i686/multiarch/Versions: Removed.
21920         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
21921         Removed.
21922         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
21923         * sysdeps/unix/sysv/linux/x86/Makefile
21924         (libpthread-sysdep_routines): Remove init-arch.
21925         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
21926         <sysdeps/x86_64/dl-procinfo.c> instead of
21927         sysdeps/generic/dl-procinfo.c>.
21928         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
21929         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
21930         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
21931         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
21932         [$(subdir) == elf] (tests-static): Add
21933         tst-get-cpu-features-static.
21934         * sysdeps/x86/Versions: New file.
21935         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
21936         * sysdeps/x86/cpu-features.c: Likewise.
21937         * sysdeps/x86/cpu-features.h: Likewise.
21938         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
21939         * sysdeps/x86/libc-start.c: Likewise.
21940         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21941         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
21942         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
21943         * sysdeps/x86_64/dl-procinfo.c: Likewise.
21944         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
21945         Assume USE_MULTIARCH is defined and don't check it.
21946         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
21947         (is_amd): Likewise.
21948         (max_cpuid): Likewise.
21949         (intel_check_word): Likewise.
21950         (__cache_sysconf): Don't call __init_cpu_features.
21951         (__x86_preferred_memory_instruction): Removed.
21952         (init_cacheinfo): Don't call __init_cpu_features. Replace
21953         __cpu_features with GLRO(dl_x86_cpu_features).
21954         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
21955         (dl_platform_init): Call init_cpu_features.
21956         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
21957         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
21958         * sysdeps/x86_64/multiarch/Versions: Removed.
21959         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
21960         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
21961         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
21962         Removed.
21963         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
21965 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21967         [BZ #18820]
21968         * libio/Makefile (test-fmemopen-mem): New test.
21969         * libio/test-fmemopen.c (do_bz18820): New test.
21970         * libio/fmemopen.c (__fmemopen): Fix memory leak.
21971         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
21973 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
21975         [BZ #16734]
21976         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
21977         (FREE_BUF): Delete.
21978         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
21979         * libio/genops.c (_IO_setb): Use malloc and free directly.
21980         (_IO_default_doallocate, _IO_default_finish): Likewise.
21981         ( _IO_unbuffer_all): Likewise.
21982         ( libc_freeres_fn): Likewise.
21983         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21984         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21985         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
21986         (_IO_wdefault_doallocate): Likewise.
21988 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21990         [BZ #18086]
21991         * sysdeps/posix/nice.c (nice): Restore old errno.
21992         * posix/tst-nice.c (do_test): Add test for BZ #18086.
21994 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
21996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
21998 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22000         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22001         __bcopy and add a weak_alias to bcopy.
22002         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22003         for static build.
22005         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22006         cleanup macro usage.
22007         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22008         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22009         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22010         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22011         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22012         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22013         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22014         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22015         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22016         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22017         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22018         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22019         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22020         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22021         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22022         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22023         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22024         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22025         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22027         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22028         libc_hidden_def.
22029         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22031         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22032         (sysdep_routines): Add strstr-ppc64.
22033         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22035 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22037         [BZ #18778]
22038         * elf/Makefile (tests): Add Add tst-nodelete2.
22039         (modules-names): Add tst-nodelete2mod.
22040         (tst-nodelete2mod.so-no-z-defs): New.
22041         ($(objpfx)tst-nodelete2): Likewise.
22042         ($(objpfx)tst-nodelete2.out): Likewise.
22043         (LDFLAGS-tst-nodelete2): Likewise.
22044         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22045         out of loop through all loaded libraries.
22046         * elf/tst-nodelete2.c: New file.
22047         * elf/tst-nodelete2mod.c: Likewise.
22048         * elf/tst-znodelete-zlib.cc: Delete.
22050 2015-08-11  Andreas Schwab  <schwab@suse.de>
22052         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22053         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22054         (__openat64_nocancel): Likewise.
22056 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22058         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22059         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22060         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22061         * math/auto-libm-test-out: Regenerated.
22062         * sysdeps/i386/fpu/libm-test-ulps: Update.
22063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22065 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22067         [BZ #18790]
22068         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22069         threshold for returning +/- 1.
22070         * math/auto-libm-test-in: Add more tests of tanh.
22071         * math/auto-libm-test-out: Regenerated.
22072         * sysdeps/i386/fpu/libm-test-ulps: Update.
22074 2015-08-10  Andreas Schwab  <schwab@suse.de>
22076         [BZ #18781]
22077         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22078         MORE_OFLAGS to oflag.
22079         * io/test-lfs.c (do_test): Test openat64.
22081 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22083         [BZ #18789]
22084         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22085         smaller threshold for returning the argument.
22086         * math/auto-libm-test-in: Add more tests of sinh.
22087         * math/auto-libm-test-out: Regenerated.
22088         * sysdeps/i386/fpu/libm-test-ulps: Update.
22090 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22092         [BZ #18674]
22093         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22094         break.
22096 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22098         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22099         (generated): Don't add $(addprefix z.,$(tzfiles)).
22101 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22103         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22104         * scripts/sysd-rules.awk: Likewise.
22106 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22108         * iconvdata/tst-tables.sh: Change echo -n to printf.
22109         * nss/db-Makefile: Likewise.
22110         * posix/tst-getconf.sh: Likewise.
22111         * stdio-common/tst-unbputc.sh: Likewise.
22113 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22115         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22116         MADV_*_PAGES defines behind this feature check.
22118 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22120         [BZ #18480]
22121         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22122         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22123         Define.
22124         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22125         LOAD_REGS_5, LOAD_REGS_6): Update.
22126         (INTERNAL_SYSCALL): Update using new LOAD defines.
22127         (INTERNAL_SYSCALL_NCS): Likewise.
22128         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22130 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22132         [BZ #16734]
22133         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
22135 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22137         [BZ #17905]
22138         * catgets/Makefile (tst-catgets-mem): New test.
22139         * catgets/catgets.c (catopen): Don't use unbounded alloca.
22140         * catgets/open_catalog.c (__open_catalog): Likewise.
22141         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
22143 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
22145         [BZ #18787]
22146         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
22147         clobber registers.
22148         (atomic_compare_and_exchange_val_acq): Use register asms to assign
22149         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
22150         Cast return to __typeof (oldval).
22152 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
22154         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
22155         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
22156         and delete sys/syscall.h include.
22158 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
22160         [BZ #16517]
22161         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
22162         (tan): Force underflow exception for arguments with small absolute
22163         value.
22164         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
22165         (__kernel_tanf): Force underflow exception for arguments with
22166         small absolute value.
22167         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
22168         (__kernel_tanl): Force underflow exception for arguments with
22169         small absolute value.
22170         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
22171         (__kernel_tanl): Force underflow exception for arguments with
22172         small absolute value.
22173         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
22174         (__kernel_tanl): Force underflow exception for arguments with
22175         small absolute value.
22176         * math/auto-libm-test-in: Add more tests of tan.
22177         * math/auto-libm-test-out: Regenerated.
22179 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22181         Fix sysdeps/i386/fpu/s_scalbn.S build
22183         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
22185 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
22187         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22189 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22191         Fix gcrt0.o compilation
22193         When static-start-installed-name is different from
22194         start-installed-name, we must not use the shared objects.
22196         * csu/Makefile
22197         (extra-objs): Add gmon-start.o when building shared library and
22198         $(static-start-installed-name) is different from
22199         $(start-installed-name).
22200         $(objpfx)g$(static-start-installed-name): When building shared
22201         library and $(static-start-installed-name) is different from
22202         $(static-start-installed-name), revert to non-shared rule,
22203         i.e. using $(objpfx)% and gmon-start.o.
22205 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
22207         [BZ #16519]
22208         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
22209         (__ieee754_sinh): Force underflow exception for arguments with
22210         small absolute value.
22211         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
22212         (__ieee754_sinhf): Force underflow exception for arguments with
22213         small absolute value.
22214         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
22215         (__ieee754_sinhl): Force underflow exception for arguments with
22216         small absolute value.
22217         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
22218         (__ieee754_sinhl): Force underflow exception for arguments with
22219         small absolute value.
22220         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
22221         (__ieee754_sinhl): Force underflow exception for arguments with
22222         small absolute value.
22223         * math/auto-libm-test-in: Add more tests of sinh.
22224         * math/auto-libm-test-out: Regenerated.
22225         * sysdeps/i386/fpu/libm-test-ulps: Update.
22227 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22229         * libio/oldfileops.c: Include unistd.h.
22231 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
22233         * stdlib/isomac.c: Include ctype.h.
22235 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
22237         * dirent/tst-seekdir.c (main): Converted to ...
22238         (do_test): ... this.
22239         (TEST_FUNCTION): New macro.
22240         Include test-skeleton.c.
22241         * elf/tst-dlmodcount.c (main): Converted to ...
22242         (do_test): ... this.
22243         (TEST_FUNCTION): New macro.
22244         Include test-skeleton.c.
22245         * elf/tst-order-main.c (main): Converted to ...
22246         (do_test): ... this.
22247         (TEST_FUNCTION): New macro.
22248         Include test-skeleton.c.
22249         * elf/tst-pie2.c (main): Converted to ...
22250         (do_test): ... this.
22251         (TEST_FUNCTION): New macro.
22252         Include test-skeleton.c.
22253         * inet/tst-ether_aton.c (main): Converted to ...
22254         (do_test): ... this.
22255         (TEST_FUNCTION): New macro.
22256         Include test-skeleton.c.
22257         * misc/tst-mntent.c (main): Converted to ...
22258         (do_test): ... this.
22259         (TEST_FUNCTION): New macro.
22260         Include test-skeleton.c.
22261         * misc/tst-tsearch.c (main): Converted to ...
22262         (do_test): ... this.
22263         (TEST_FUNCTION): New macro.
22264         Include test-skeleton.c.
22265         * posix/tst-regexloc.c (main): Converted to ...
22266         (do_test): ... this.
22267         (TEST_FUNCTION): New macro.
22268         Include test-skeleton.c.
22269         * resolv/tst-aton.c (main): Converted to ...
22270         (do_test): ... this.
22271         (TEST_FUNCTION): New macro.
22272         Include test-skeleton.c.
22273         * stdio-common/test-fwrite.c (main): Converted to ...
22274         (do_test): ... this.
22275         (TEST_FUNCTION): New macro.
22276         Include test-skeleton.c.
22277         * stdio-common/tst-ferror.c (main): Converted to ...
22278         (do_test): ... this.
22279         (TEST_FUNCTION): New macro.
22280         Include test-skeleton.c.
22281         * stdio-common/tst-printf.c (main): Converted to ...
22282         (do_test): ... this.
22283         (TEST_FUNCTION): New macro.
22284         Include test-skeleton.c.
22285         * stdio-common/tst-printfsz.c (main): Converted to ...
22286         (do_test): ... this.
22287         (TEST_FUNCTION): New macro.
22288         Include test-skeleton.c.
22289         * stdlib/tst-strtod.c (main): Converted to ...
22290         (do_test): ... this.
22291         (TEST_FUNCTION): New macro.
22292         Include test-skeleton.c.
22293         * string/tst-strlen.c (main): Converted to ...
22294         (do_test): ... this.
22295         (TEST_FUNCTION): New macro.
22296         Include test-skeleton.c.
22297         * string/tst-svc.c (main): Converted to ...
22298         (do_test): ... this.
22299         (TEST_FUNCTION): New macro.
22300         Include test-skeleton.c.
22301         * time/tst-strptime.c (main): Converted to ...
22302         (do_test): ... this.
22303         (TEST_FUNCTION): New macro.
22304         Include test-skeleton.c.
22305         * timezone/tst-timezone.c (main): Converted to ...
22306         (do_test): ... this.
22307         (TEST_FUNCTION): New macro.
22308         Include test-skeleton.c.
22310 2015-08-05  Zack Weinberg  <zackw@panix.com>
22312         * misc/regexp.h: Update comments.
22314 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
22316         [BZ #18635]
22317         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
22318         before return label.
22320 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22322         [BZ #18661]
22323         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
22324         when calling __errno_location.
22325         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
22326         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
22328 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22330         [BZ #18661]
22331         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
22332         (__lll_timedwait_tid): Align stack to 16 bytes when calling
22333         __gettimeofday.
22335 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22337         [BZ #18661]
22338         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
22339         (__start_context): Don't use pop to restore %rdi so that stack
22340         is aligned to 16 bytes when calling __setcontext.
22342 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22344         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
22345         only for libc.
22346         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22348 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22350         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
22351         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
22352         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
22354 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22356         * string/memccpy.c (memccpy):
22357         Improve performance by using memchr/memcpy/__mempcpy.
22359 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22361         * string/strncpy.c (strncpy):
22362         Improve performance by using __strnlen/memcpy.
22364 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22366         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22367         Optimize to avoid an unnecessary FPCR read.
22369 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
22371         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
22372         Optimize to reduce FPCR/FPSR accesses.
22374 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
22376         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
22377         dead->data[category] != NULL.
22379 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
22381         [BZ #18647]
22382         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
22383         and |x| close to 1, use absolute value of x when computing log.
22384         * math/auto-libm-test-in: Add more tests of pow.
22385         * math/auto-libm-test-out: Regenerated.
22387 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22389         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
22390         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
22391         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
22393 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
22395         [BZ #18525]
22396         * locales/km_KH: Remove timezone definition.
22397         * locales/lo_LA: Likewise.
22398         * locales/my_MM: Likewise.
22399         * locales/nan_TW@latin: Likewise.
22400         * locales/th_TH: Likewise.
22401         * locales/uk_UA: Likewise.
22403 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
22405         [BZ #18265]
22406         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
22407         (wcsncat): Likewise.
22408         (wcscmp): Likewise.
22409         (wcsncmp): Likewise.
22411 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22413         * test-skeleton.c (usage): New function.
22414         (main): Call usage when opt is '?'.
22416 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22418         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
22419         before first use.
22421 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
22423         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
22424         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
22425         in there too.
22427 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
22429         * version.h (RELEASE): Set to "development".
22430         (VERSION): Set to "2.22.90"
22432         * version.h (RELEASE): Set to "stable".
22433         (VERSION): Set to "2.22"
22434         * include/features.h (__GLIBC_MINOR__): Set to 22.
22436 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
22438         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
22439         Restructure macro to avoid "value computed is not used" warning.
22440         (atomic_compare_and_exchange_val_acq): Likewise.
22442 2015-08-04  Andreas Schwab  <schwab@suse.de>
22444         [BZ #18635]
22445         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
22446         ret.
22447         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
22449 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
22451         * po/pl.po: Updated translation.
22452         * po/uk.po: Likewise.
22453         * po/fi.po: Likewise.
22454         * po/ko.po: Likewise.
22455         * po/ru.po: Likewise.
22456         * po/vi.po: Likewise.
22458 2015-07-31  Zack Weinberg  <zackw@panix.com>
22460         [BZ #18681]
22461         * regexp.h: Add unconditional #warning stating that this header
22462         will be removed soon.  Revise banner comment to match.
22463         (compile): Consistently use ERROR instead of RETURN to report
22464         errors (partial fix for bz#18681).
22465         * regexp.c: Don't include regexp.h. Remove some unnecessary
22466         declarations.
22468 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
22470         * po/libc.pot: Regenerated.
22472 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
22474         [BZ #18740]
22475         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
22476         float-vlen4-arch-ext-cflags): Removed.
22477         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
22478         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
22480 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22482         [BZ #14113]
22483         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
22484         aligned to __aligned__.
22485         (pthread_cond_t, pthread_rwlock_t): Likewise.
22487 2015-07-30  Torvald Riegel  <triegel@redhat.com>
22489         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
22491 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22493         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
22494         (struct sigaction): Change sa_flags from a long to an int, and add
22495         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
22497 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22499         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
22500         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
22501         sysdeps/generic/sysdep.h include.
22502         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
22503         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
22504         sysdeps/hppa/sysdep.h.
22505         (ENTRY, PSEUDO): Undefine before defining.
22507 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
22509         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
22510         from scratch to use INTERNAL_SYSCALL.
22512 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
22514         [BZ #18078]
22515         * scripts/check-localplt.awk: Support alternate relocations.
22516         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
22517         sections.
22518         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
22519         malloc entries with + REL R_386_GLOB_DAT.
22520         * sysdeps/x86_64/localplt.data: New file.
22522 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
22524         [BZ #18731]
22525         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
22526         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22527         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22529 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22531         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
22533 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22535         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
22536         directly in terms of __sync_fetch_and_add and delete (int) cast.
22538 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22540         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
22541         the -D_ASM_IA64_CURRENT_H flag.
22543 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
22545         [BZ #18641]
22546         * pwd/pwd.h (putpwent): Delete __nonnull markings.
22548 2015-07-27  Andreas Schwab  <schwab@suse.de>
22550         * conform/conformtest.pl (checknamespace): Filter out string
22551         literals while tokenizing.
22553 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22555         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22556         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
22557         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22559 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
22561         * nptl/tst-join7mod.c: Add #include <string.h>.
22563 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22565         * sysdeps/nios2/libm-test-ulps: Update.
22567 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
22569         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
22570         Fix order of arguments to the rt_sigprocmask syscall.
22571         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
22572         Likewise.
22574 2015-07-24  Roland McGrath  <roland@hack.frob.com>
22576         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
22578 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22580         [BZ #18457]
22581         * nptl/Makefile (tests): New test case tst-join7.
22582         (modules-names): New test case module tst-join7mod.
22583         * nptl/tst-join7.c: New file.
22584         * nptl/tst-join7mod.c: New file.
22585         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
22586         all translation units in libc.so, libpthread.so and rtld.
22588 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22592 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
22594         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
22595         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22596         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22597         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22598         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22600         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22601         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22602         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22603         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22604         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22605         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22606         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
22607         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
22608         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
22609         implementation.
22611 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22613         [BZ #17711]
22614         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22615         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
22616         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22617         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
22618         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
22619         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
22621 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22623         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
22624         instead of just saying load lock in the comments.
22626 2015-07-23  Roland McGrath  <roland@hack.frob.com>
22628         * sysdeps/unix/Subdirs: Moved ...
22629         * sysdeps/posix/Subdirs: ... here.
22630         * login/pty.h (struct termios, struct winsize): Add forward decls.
22631         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
22632         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
22633         * sysdeps/arm/nacl/libc.abilist: Updated.
22634         * sysdeps/nacl/libutil.abilist: New file.
22636         * bits/signum.h: Update comments to mention 1003.1-2013 too.
22637         (SIGWINCH): New macro.
22639         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
22640         * sysdeps/arm/nacl/libc.abilist: Add it.
22642 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22644         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
22646 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
22648         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22649         Swap __glibc_reserved0 and sa_flags order.
22651 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22653         [BZ #18657]
22654         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
22655         are pending TLS destructor calls.
22656         * include/link.h (struct link_map): Add concurrency note for
22657         L_TLS_DTOR_COUNT.
22658         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22659         Don't touch the link map flag.  Atomically increment
22660         l_tls_dtor_count.
22661         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
22662         Avoid taking the load lock and don't touch the link map flag.
22663         * stdlib/tst-tls-atexit-nodelete.c: New test case.
22664         * stdlib/Makefile (tests): Use it.
22665         * stdlib/tst-tls-atexit.c (do_test): dlopen
22666         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
22667         to allow tst-tls-atexit-nodelete test case to use it.
22669 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22671         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
22672         to bits/types.h.
22673         (msgqnum_t): New typedef.
22674         (msglen_t): Likewise.
22675         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
22676         and msg_qbytes type to msglen_t.
22678 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22680         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
22681         pad0 to __glibc_reserved0.
22682         (struct stat64): Likewise.
22684 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22686         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
22687         Change sa_flags from a long to an int and add __glibc_reserved0 before
22688         it for padding.
22690 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
22692         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
22693         anonymous by deleting "siginfo" name.
22695 2015-07-21  Roland McGrath  <roland@hack.frob.com>
22697         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
22698         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
22699         rather than __nacl_irt_filename.
22700         * sysdeps/nacl/xstat.c (__xstat): Likewise.
22702         * NEWS: New item for arm-nacl port.
22703         * sysdeps/arm/nacl/libc.abilist: New file.
22704         * sysdeps/nacl/ld.abilist: New file.
22705         * sysdeps/nacl/libBrokenLocale.abilist: New file.
22706         * sysdeps/nacl/libanl.abilist: New file.
22707         * sysdeps/nacl/libcrypt.abilist: New file.
22708         * sysdeps/nacl/libdl.abilist: New file.
22709         * sysdeps/nacl/libm.abilist: New file.
22710         * sysdeps/nacl/libpthread.abilist: New file.
22711         * sysdeps/nacl/libresolv.abilist: New file.
22712         * sysdeps/nacl/librt.abilist: New file.
22714 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
22716         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
22717         __startcontext to initialize the new context.
22718         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
22719         up CFI directive to forbid further backtracing.
22721 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
22723         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
22724         reference.
22725         * charmaps/ANSI_X3.4-1968: Likewise.
22726         * charmaps/BS_4730: Likewise.
22727         * charmaps/BS_VIEWDATA: Likewise.
22728         * charmaps/CP1250: Likewise.
22729         * charmaps/CP1251: Likewise.
22730         * charmaps/CP1252: Likewise.
22731         * charmaps/CP1253: Likewise.
22732         * charmaps/CP1254: Likewise.
22733         * charmaps/CP1255: Likewise.
22734         * charmaps/CP1256: Likewise.
22735         * charmaps/CSN_369103: Likewise.
22736         * charmaps/EBCDIC-DK-NO: Likewise.
22737         * charmaps/GB_1988-80: Likewise.
22738         * charmaps/GREEK-CCITT: Likewise.
22739         * charmaps/GREEK7: Likewise.
22740         * charmaps/INIS-8: Likewise.
22741         * charmaps/ISIRI-3342: Likewise.
22742         * charmaps/ISO_2033-1983: Likewise.
22743         * charmaps/ISO_5427-EXT: Likewise.
22744         * locales/POSIX: Likewise.
22745         * locales/ar_SA: Likewise.
22746         * locales/be_BY: Likewise.
22747         * locales/be_BY@latin: Likewise.
22748         * locales/ca_ES: Likewise.
22749         * locales/cs_CZ: Likewise.
22750         * locales/da_DK: Likewise.
22751         * locales/de_BE: Likewise.
22752         * locales/de_CH: Likewise.
22753         * locales/de_LU: Likewise.
22754         * locales/en_AU: Likewise.
22755         * locales/en_BW: Likewise.
22756         * locales/en_CA: Likewise.
22757         * locales/en_DK: Likewise.
22758         * locales/en_GB: Likewise.
22759         * locales/en_IE: Likewise.
22760         * locales/en_NZ: Likewise.
22761         * locales/en_ZA: Likewise.
22762         * locales/en_ZW: Likewise.
22763         * locales/es_AR: Likewise.
22764         * locales/es_BO: Likewise.
22765         * locales/es_CL: Likewise.
22766         * locales/es_CO: Likewise.
22767         * locales/es_DO: Likewise.
22768         * locales/es_EC: Likewise.
22769         * locales/es_ES: Likewise.
22770         * locales/es_HN: Likewise.
22771         * locales/es_MX: Likewise.
22772         * locales/es_PA: Likewise.
22773         * locales/es_PE: Likewise.
22774         * locales/es_PY: Likewise.
22775         * locales/es_SV: Likewise.
22776         * locales/es_US: Likewise.
22777         * locales/es_UY: Likewise.
22778         * locales/es_VE: Likewise.
22779         * locales/et_EE: Likewise.
22780         * locales/fa_IR: Likewise.
22781         * locales/fo_FO: Likewise.
22782         * locales/fr_CA: Likewise.
22783         * locales/fr_CH: Likewise.
22784         * locales/gv_GB: Likewise.
22785         * locales/he_IL: Likewise.
22786         * locales/hr_HR: Likewise.
22787         * locales/id_ID: Likewise.
22788         * locales/is_IS: Likewise.
22789         * locales/it_CH: Likewise.
22790         * locales/iw_IL: Likewise.
22791         * locales/kl_GL: Likewise.
22792         * locales/ko_KR: Likewise.
22793         * locales/kw_GB: Likewise.
22794         * locales/lg_UG: Likewise.
22795         * locales/lt_LT: Likewise.
22796         * locales/lv_LV: Likewise.
22797         * locales/mi_NZ: Likewise.
22798         * locales/nhn_MX: Likewise.
22799         * locales/nl_BE: Likewise.
22800         * locales/pl_PL: Likewise.
22801         * locales/sk_SK: Likewise.
22802         * locales/sl_SI: Likewise.
22803         * locales/sv_FI: Likewise.
22804         * locales/tl_PH: Likewise.
22805         * locales/tr_TR: Likewise.
22806         * locales/vi_VN: Likewise.
22808 2015-07-21  Khem Raj  <raj.khem@gmail.com>
22810         [BZ #17475]
22811         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
22812         of tu_IN and bh_IN.
22814 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
22816         [BZ #18694]
22817         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
22818         bits/wordsize.h.
22819         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
22821 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22823         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
22824         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
22825         (spawn_thread): New function.
22826         (load): Rename to reg_dtor_and_close.  Move dlopen to...
22827         (do_test): ... here.  Use IS_LOADED to test for its
22828         availability.
22830 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
22832         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
22834 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
22836         [BZ #18696]
22837         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
22838         si_addr_bnd.
22839         (si_lower): New.
22840         (si_upper): Likewise.
22842 2015-07-16  David S. Miller  <davem@davemloft.net>
22844         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
22846 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22848         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
22849         buffer.
22850         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
22851         fail output information.
22853 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
22856         and strstr-ppc64..
22857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
22858         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
22859         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
22860         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
22861         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
22863 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22865         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22866         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22867         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
22868         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
22870 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
22872         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
22873         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
22874         rtld_hidden_proto.
22875         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
22877 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22879         * tst-nodelete-opened.c (do_test): Add comment to clarify how
22880         the test can fail.
22882         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
22884         [BZ #18676]
22885         * elf/tst-nodelete-opened.c: New test case.
22886         * elf/tst-nodelete-opened-lib.c: New test case module.
22887         * elf/Makefile (tests, modules-names): Use them.
22888         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
22889         early.
22891 2015-07-15  David S. Miller  <davem@davemloft.net>
22893         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
22894         futex-intenal.h
22895         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
22896         * sysdeps/sparc/sparc64/Makefile: Likewise.
22897         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
22898         Remove space from macro define.
22899         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
22901 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
22903         [BZ #17475]
22904         * locale/iso-639.def: Update Bhili and Tulu language codes as
22905         per iso639-3.
22907 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
22909         * elf/tst-leaks1.c (main): Converted to ...
22910         (do_test): ... this.
22911         (TEST_FUNCTION): New macro.
22912         Include test-skeleton.c.
22913         * localedata/tst-langinfo.c (main): Converted to ...
22914         (do_test): ... this.
22915         (TEST_FUNCTION): New macro.
22916         Include test-skeleton.c.
22917         * math/test-fpucw.c (main): Converted to ...
22918         (do_test): ... this.
22919         (TEST_FUNCTION): New macro.
22920         Include test-skeleton.c.
22921         * math/test-tgmath.c (main): Converted to ...
22922         (do_test): ... this.
22923         (TEST_FUNCTION): New macro.
22924         Include test-skeleton.c.
22925         * math/test-tgmath2.c (main): Converted to ...
22926         (do_test): ... this.
22927         (TEST_FUNCTION): New macro.
22928         Include test-skeleton.c.
22929         * setjmp/tst-setjmp.c (main): Converted to ...
22930         (do_test): ... this.
22931         (TEST_FUNCTION): New macro.
22932         Include test-skeleton.c.
22933         * stdio-common/tst-sscanf.c (main): Converted to ...
22934         (do_test): ... this.
22935         (TEST_FUNCTION): New macro.
22936         Include test-skeleton.c.
22937         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
22938         (do_test): ... this.
22939         (TEST_FUNCTION): New macro.
22940         Include test-skeleton.c.
22942         * elf/tst-audit9.c (main): Converted to ...
22943         (do_test): ... this.
22944         (TEST_FUNCTION): New macro.
22945         Include test-skeleton.c.
22947 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
22949         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
22951 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22953         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
22954         New variable.
22956 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
22958         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22960 2015-07-14  Roland McGrath  <roland@hack.frob.com>
22962         * sysdeps/generic/dl-fileid.h: New file.
22963         * sysdeps/posix/dl-fileid.h: New file.
22964         * sysdeps/nacl/dl-fileid.h: New file.
22965         * include/link.h: Include <dl-fileid.h>.
22966         (struct link_map): Replace l_dev and l_ino with l_file_id.
22967         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
22968         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
22969         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
22971 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22973         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
22975 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22977         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
22978         Add iff $CXX is set.
22979         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
22980         Likewise.
22981         (tst-nodelete-zmodiff): Likewise.
22982         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
22984 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22986         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
22988 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
22990         * sysdeps/aarch64/fpu/math_private.h
22991         (define math_opt_barrier): Add AArch64 version.
22992         (math_force_eval): Likewise.
22994 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
22996         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
22998 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23000         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23001         %ld with %jd and cast to intmax_t.
23002         (do_test_length_zero): Likewise.
23004 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23006         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23008 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23010         * sysdeps/tile/libm-test-ulps: Regenerated.
23012         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23013         Comment out the whole function, not just its body.
23015 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23017         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23018         locks.
23020         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23022 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23024         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23025         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23027 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23029         * sysdeps/nptl/futex-internal.h: New file.
23030         * sysdeps/nacl/futex-internal.h: New file.
23031         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23032         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23033         error checking.
23034         (setxid_unmark_thread): Likewise.
23035         (__nptl_setxid): Likewise.
23036         (__wait_lookup_done): Likewise.
23037         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23038         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23039         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23040         * nptl/pthread_once.c (clear_once_control): Likewise.
23041         (__pthread_once_slow): Likewise.
23042         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23043         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23044         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23045         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23046         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23047         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23048         Likewise.
23049         (__pthread_rwlock_rdlock): Likewise.
23050         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23051         Likewise.
23052         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23053         Likewise.
23054         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23055         Likewise.
23056         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23057         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23058         Likewise.
23059         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23060         __ASSUME_PRIVATE_FUTEX check.
23061         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23062         Check that shared futexes are supported.
23063         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23064         wrappers with error checking.
23065         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23066         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23067         * nptl/pthread_barrierattr_setpshared.c
23068         (pthread_barrierattr_setpshared): Check that shared futexes are
23069         supported.
23070         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23071         Likewise.
23072         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23073         Likewise.
23074         * nptl/sem_init.c (futex_private_if_supported): Remove.
23075         (__new_sem_init): Adapt and check that shared futexes are supported.
23076         * nptl/sem_open.c (sem_open): Likewise.
23077         * nptl/sem_post.c (futex_wake): Remove.
23078         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23079         (do_futex_wait): Use futex wrappers with error checking.
23080         * nptl/sem_wait.c: Include lowlevellock.h.
23081         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23082         Use futex_supports_pshared.
23083         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23084         Use futex wrappers with error checking.
23085         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23086         Likewise.
23087         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23088         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23089         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23090         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23091         (futex_wake): Likewise.
23092         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23093         (do_futex_wait): Use futex wrappers with error checking.
23094         (__new_sem_wait_slow): Update EINTR handling.
23095         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23097 2015-07-09  Martin Sebor  <msebor@redhat.com>
23099         [BZ #18435]
23100         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23101         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23102         * nptl/Makefile (test-xfail-tst-once5): Define.
23104 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23106         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23107         * elf/dl-minimal.c: For readability, reorder some definitions and
23108         introduce more page breaks.  Include <stdio.h>.
23109         (__libc_fatal): New function.
23111         * include/unistd.h: Add rtld_hidden_proto for _exit.
23112         * posix/_exit.c: Add rtld_hidden_def.
23113         * sysdeps/mach/hurd/_exit.c: Likewise.
23114         * sysdeps/nacl/_exit.c: Likewise.
23115         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23116         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23118 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23120         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23121         bndmov encoding with zero displacement.
23123 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23124             H.J. Lu  <hongjiu.lu@intel.com>
23126         [BZ #18134]
23127         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23128         * sysdeps/i386/configure: Regenerated.
23129         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23130         (_dl_runtime_profile): Save and restore Intel MPX return bound
23131         registers when calling _dl_call_pltexit.  Add
23132         PRESERVE_BND_REGS_PREFIX before return.
23133         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23134         (LRV_BND1_OFFSET): Likewise.
23135         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
23136         lrv_bnd1.
23137         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
23138         typo in bndmov encoding.
23139         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
23140         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
23141         branch instructions to preserve bounds.
23143 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
23146         [GLIBC_2.22]: Add fmemopen.
23148 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23150         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
23151         returns an error, also try to use host port from __mach_host_self for
23152         the __vm_wire call.
23153         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
23155 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23157         [BZ #18400]
23158         [BZ #18648]
23159         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
23160         Fix pr_uid and pr_gid members.
23161         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
23162         definition to elf_greg_t.
23164 2015-07-08  Roland McGrath  <roland@hack.frob.com>
23166         [BZ #18383]
23167         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
23168         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
23169         * sysdeps/arm/configure: Regenerated.
23170         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
23171         (test-xfail-tst-tlsalign-static): Variable removed.
23173         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
23174         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
23175         rather than explicit 'ln -s'.
23177         * resolv/rpc/netdb.h: New file.
23178         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
23180 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23182         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
23183         length buffers.
23184         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23185         test-skeleton.c.
23187         [BZ #6544]
23188         [BZ #11216]
23189         [BZ #12836]
23190         [BZ #13151]
23191         [BZ #13152]
23192         [BZ #14292]
23193         * include/stdio.h (fmemopen): Remove hidden prototype.
23194         (__fmemopen): Add new hidden prototype.
23195         * libio/Makefile: Add oldfmemopen object.
23196         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
23197         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
23198         compliance.
23199         * libio/oldfmemopen.c: New file: old fmemopen implementation for
23200         symbol compatibility.
23201         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
23202         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
23203         fmemopen.
23204         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
23205         on append and read mode.
23206         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
23207         fmemopen.
23208         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
23209         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
23210         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
23211         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
23212         Likewise.
23213         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
23214         [GLIBC_2.22]: Likewise.
23215         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
23216         Likewise.
23217         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
23218         Likewise.
23219         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
23220         [GLIBC_2.22]: Likewise.
23221         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
23222         [GLIBC_2.22]: Likewise.
23223         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
23224         [GLIBC_2.22]: Likewise.
23225         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
23226         [GLIBC_2.22]: Likewise.
23227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
23228         [GLIBC_2.22]: Likewise.
23229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
23230         [GLIBC_2.22]: Likewise.
23231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
23232         [GLIBC_2.22]: Likewise.
23233         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
23234         Likewise.
23235         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
23236         Likewise.
23237         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
23238         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
23239         [GLIBC_2.22]: Likewise.
23240         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
23241         [GLIBC_2.22]: Likewise.
23242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
23243         [GLIBC_2.22]: Likewise.
23244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
23245         [GLIBC_2.22]: Likewise.
23246         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
23247         Likewise.
23248         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
23249         Likewise.
23250         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
23251         Likewise.
23252         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
23253         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
23255 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23257         [BZ #18643]
23258         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
23259         IPV6_PATHMTU, and IPV6_DONTFRAG.
23261 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
23263         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
23264         and _IO_UNBUFFERED.
23265         * libio/oldfileops.c: Likewise.
23266         * libio/wfileops.c: Likewise.
23268 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23270         * nscd/selinux.c: Delete selinux/flask.h include.
23272 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
23274         [BZ #18641]
23275         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
23276         (putpwent): Likewise.
23277         (getpwnam): Likewise.
23278         (getpwent_r): Likewise.
23279         (getpwuid_r): Likewise.
23280         (getpwnam_r): Likewise.
23281         (fgetpwent_r): Likewise.
23283 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
23285         [BZ #18557]
23286         * inet/rcmd.c (__validuser2_sa): Check user first to
23287         short-circuit host check.
23289 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
23290             Mikhail Ilin  <m.ilin@samsung.com>
23292         [BZ #17833]
23293         * elf/Makefile (tests): Add tst-nodelete.
23294         (modules-names): Add tst-nodelete-uniquemod.
23295         (tst-nodelete-uniquemod.so-no-z-defs): New.
23296         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
23297         (tst-nodelete-zmod.so-no-z-defs): Likewise.
23298         ($(objpfx)tst-nodelete): Likewise.
23299         ($(objpfx)tst-nodelete.out): Likewise.
23300         (LDFLAGS-tst-nodelete): Likewise.
23301         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
23302         * elf/dl-close.c (_dl_close_worker): Add a parameter to
23303         implement forced object deletion.
23304         (_dl_close): Pass false to _dl_close_worker.
23305         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
23306         * elf/tst-nodelete.cc: New file.
23307         * elf/tst-nodeletelib.cc: Likewise.
23308         * elf/tst-znodeletelib.cc: Likewise.
23309         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
23311 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23313         [BZ #18508]
23314         * stdlib/Makefile ($(objpfx)tst-makecontext3):
23315         Depend on $(libdl).
23316         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
23317         is not called infinitely times.
23318         (backtrace_helper): New function.
23319         (trace_arg): New struct.
23320         (st1): Enlarge stack size.
23321         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23322         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
23323         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23324         Likewise.
23326 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23328         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23330 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
23332         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
23333         Include sys/types.h instead of bits/types.h.
23334         Remove inclusion of bits/wordsize.h.
23336 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23338         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
23339         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
23340         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
23341         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
23342         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
23343         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
23345 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23347         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
23348         link-defines.sym.
23349         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
23350         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
23351         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
23352         and LR_SIZE.
23353         * sysdeps/i386/link-defines.sym: New file.
23355 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
23357         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
23358         (modules-names): Add tst-auditmod3a tst-auditmod3b.
23359         ($(objpfx)tst-audit3): New rule.
23360         ($(objpfx)tst-audit3.out): Likewise.
23361         * sysdeps/i386/tst-audit3.c: New file.
23362         * sysdeps/i386/tst-audit3.h: Likewise.
23363         * sysdeps/i386/tst-auditmod3a.c: Likewise.
23364         * sysdeps/i386/tst-auditmod3b.c: Likewise.
23366 2015-07-07  Torvald Riegel  <triegel@redhat.com>
23368         [BZ #18633]
23369         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
23370         pointer in C code.
23371         (__strcat_c): Likewise.
23372         (__strcat_g): Likewise.
23374 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
23376         [BZ #18592]
23377         * misc/sbrk.c: Set errno to ENOMEM on overflow.
23379 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23381         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
23382         New function.  (__ieee754_sqrtf): New function.
23383         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
23384         New function.
23385         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
23386         New function.
23388 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
23390         * sysdeps/ieee754/support.c: Remove unused file.
23392 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23394         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
23395         registers instead of d ones so the layout is kernel abi compatible.
23396         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
23397         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
23398         Likewise.
23400 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23402         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23404 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23406         [BZ #18619]
23407         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
23408         and return argument in case of subnormal argument.
23410 2015-07-01  Martin Sebor  <msebor@redhat.com>
23412         [BZ #18435]
23413         * nptl/Makefile: Add tst-once5.cc.
23414         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23415         Remove macro redefinitions.
23416         * nptl/tst-once5.cc: New test.
23418 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
23420         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23422         * sysdeps/arm/libm-test-ulps: Regenerated.
23424         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
23425         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
23427 2015-06-30  Torvald Riegel  <triegel@redhat.com>
23429         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
23430         lll_lock_wait_private and lll_futex_wake probes.
23432         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23433         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
23434         Likewise.
23435         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
23436         atomic_spin_nop.
23437         * sysdeps/x86_64/bits/atomic.h: Likewise.
23438         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
23439         to atomic_spin_nop and move ...
23440         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23441         ... here and ...
23442         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
23443         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
23444         atomic_spin_nop instead of BUSY_WAIT_NOP.
23445         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
23446         Likewise.
23447         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
23448         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
23449         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
23450         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
23451         instead of atomic_delay.
23453 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
23455         [BZ #18613]
23456         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
23457         X_ADJ not X when adjusting exponent.
23458         (__ieee754_gamma_r): Do intermediate computations in
23459         round-to-nearest then adjust overflowing and underflowing results
23460         as needed.
23461         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
23462         of X_ADJ not X when adjusting exponent.
23463         (__ieee754_gammaf_r): Do intermediate computations in
23464         round-to-nearest then adjust overflowing and underflowing results
23465         as needed.
23466         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
23467         log of X_ADJ not X when adjusting exponent.
23468         (__ieee754_gammal_r): Do intermediate computations in
23469         round-to-nearest then adjust overflowing and underflowing results
23470         as needed.  Use 1.0L not 1.0f as numerator of division.
23471         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
23472         log of X_ADJ not X when adjusting exponent.
23473         (__ieee754_gammal_r): Do intermediate computations in
23474         round-to-nearest then adjust overflowing and underflowing results
23475         as needed.  Use 1.0L not 1.0f as numerator of division.
23476         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
23477         of X_ADJ not X when adjusting exponent.
23478         (__ieee754_gammal_r): Do intermediate computations in
23479         round-to-nearest then adjust overflowing and underflowing results
23480         as needed.  Use 1.0L not 1.0f as numerator of division.
23481         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
23482         to auto-libm-test-in.
23483         (tgamma_test): Use ALL_RM_TEST.
23484         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
23485         tests of tgamma with spurious-overflow.
23486         * math/auto-libm-test-out: Regenerated.
23487         * math/gen-libm-have-vector-test.sh: Do not check for START.
23488         * sysdeps/i386/fpu/libm-test-ulps: Update.
23489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23491         [BZ #18612]
23492         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
23493         arguments, just return 0.5 times the argument, with underflow
23494         forced as needed.
23495         * math/auto-libm-test-in: Add more tests of j1.
23496         * math/auto-libm-test-out: Regenerated.
23498         [BZ #16559]
23499         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
23500         (__ieee754_j1): Force underflow exception for small results.
23501         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23502         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
23503         (__ieee754_j1f): Force underflow exception for small results.
23504         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23505         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23506         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23507         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
23508         (__ieee754_j1l): Force underflow exception for small results.
23509         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23510         * math/auto-libm-test-in: Add more tests of j1 and jn.
23511         * math/auto-libm-test-out: Regenerated.
23513         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
23514         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
23515         (PF_MPLS): Likewise.
23516         (AF_IB): Likewise.
23517         (AF_MPLS): Likewise.
23518         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
23519         value and macro.
23520         (MS_RMT_MASK): Include MS_LAZYTIME.
23522 2015-06-26  Mel Gorman  <mgorman@suse.de>
23524         [BZ #18502]
23525         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
23526         already minimal.
23528 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
23530         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
23531         (DT_MIPS_NUM): Update.
23532         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
23533         DT_MIPS_RLD_MAP_REL.
23535 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
23537         [BZ #16559]
23538         [BZ #18602]
23539         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
23540         round-to-nearest internally then recompute results that
23541         underflowed to zero in the original rounding mode.
23542         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23543         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23544         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23545         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23546         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
23547         * sysdeps/i386/fpu/libm-test-ulps: Update.
23548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23550 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23552         * NEWS: Fixed description of link with vector math library.
23554 2015-06-25  Andreas Schwab  <schwab@suse.de>
23556         [BZ #18549]
23557         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
23558         * libio/test-fmemopen.c (do_test): Add test for it.
23560 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
23562         [BZ #17841]
23563         * Makeconfig (no-pie-ldflag): New.
23564         (+link): Set to $(+link-pie) if default to PIE.
23565         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
23566         * config.make.in (build-pie-default): New.
23567         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
23568         is default.  AC_SUBST.
23569         * configure: Regenerated.
23570         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
23572 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23574         * nptl/descr.h (struct pthread): Change type of field setxid_futex
23575         to 'unsigned int'.
23577         * resolv/gai_misc.h (struct waitlist): Change type of field
23578         counterp to 'volatile unsigned int *'.
23579         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
23580         FUTEXADDR and OLDVAL.
23581         * resolv/getaddrinfo_a.c (getaddrinfo_a):
23582         Give local variable TOTAL type 'volatile unsigned int'.
23583         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23584         * resolv/gai_suspend.c (gai_suspend):
23585         Give local variable CNTR type 'unsigned int'.
23587         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
23588         counterp to 'volatile unsigned int *'.
23589         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
23590         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
23591         (aio_suspend): Give local variable CNTR type 'unsigned int'.
23592         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
23593         Give local variable TOTAL type 'volatile unsigned int'.
23594         (struct async_waitlist): Change type of field counter to 'unsigned int'.
23596 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23598         [BZ #18383]
23599         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
23600         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
23601         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
23602         comment for i386/x86-64.
23603         (test-xfail-tst-tlsalign-extern-static): Removed.
23605 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23607         * math/test-double.h: New file.
23608         * math/test-float.h: Likewise.
23609         * math/test-ldouble.h: Likewise.
23610         * math/test-math-inline.h: Likewise.
23611         * math/test-math-no-inline.h: Likewise.
23612         * math/test-math-scalar.h: Likewise.
23613         * math/test-math-vector.h: Likewise.
23614         * math/test-vec-loop.h: Remove file.  Contents moved into
23615         test-math-vector.h.
23616         * math/libm-test.inc (MATHCONST): Do not document macro.
23617         * math/test-double.c: Include test-double.h, test-math-no-inline.h
23618         and test-math-scalar.h.
23619         (FUNC): Remove macro.
23620         (FUNC_TEST): Likewise.
23621         (FLOAT): Likewise.
23622         (MATHCONST): Likewise.
23623         (PRINTF_EXPR): Likewise.
23624         (PRINTF_XEXPR): Likewise.
23625         (PRINTF_NEXPR): Likewise.
23626         (TEST_DOUBLE): Likewise.
23627         (TEST_MATHVEC): Likewise.
23628         (__NO_MATH_INLINES): Likewise.
23629         * math/test-float.c: Include test-float.h, test-math-no-inline.h
23630         and test-math-scalar.h.
23631         (FUNC): Remove macro.
23632         (FUNC_TEST): Likewise.
23633         (FLOAT): Likewise.
23634         (MATHCONST): Likewise.
23635         (PRINTF_EXPR): Likewise.
23636         (PRINTF_XEXPR): Likewise.
23637         (PRINTF_NEXPR): Likewise.
23638         (TEST_FLOAT): Likewise.
23639         (TEST_MATHVEC): Likewise.
23640         (__NO_MATH_INLINES): Likewise.
23641         * math/test-idouble.c: Include test-double.h, test-math-inline.h
23642         and test-math-scalar.h.
23643         (FUNC): Remove macro.
23644         (FUNC_TEST): Likewise.
23645         (FLOAT): Likewise.
23646         (MATHCONST): Likewise.
23647         (PRINTF_EXPR): Likewise.
23648         (PRINTF_XEXPR): Likewise.
23649         (PRINTF_NEXPR): Likewise.
23650         (TEST_DOUBLE): Likewise.
23651         (TEST_MATHVEC): Likewise.
23652         (TEST_INLINE): Likewise.
23653         (__NO_MATH_INLINES): Likewise.
23654         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
23655         test-math-scalar.h.
23656         (FUNC): Remove macro.
23657         (FUNC_TEST): Likewise.
23658         (FLOAT): Likewise.
23659         (MATHCONST): Likewise.
23660         (PRINTF_EXPR): Likewise.
23661         (PRINTF_XEXPR): Likewise.
23662         (PRINTF_NEXPR): Likewise.
23663         (TEST_FLOAT): Likewise.
23664         (TEST_MATHVEC): Likewise.
23665         (TEST_INLINE): Likewise.
23666         (__NO_MATH_INLINES): Likewise.
23667         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
23668         and test-math-scalar.h.
23669         (FUNC): Remove macro.
23670         (FUNC_TEST): Likewise.
23671         (FLOAT): Likewise.
23672         (MATHCONST): Likewise.
23673         (PRINTF_EXPR): Likewise.
23674         (PRINTF_XEXPR): Likewise.
23675         (PRINTF_NEXPR): Likewise.
23676         (TEST_LDOUBLE): Likewise.
23677         (TEST_MATHVEC): Likewise.
23678         (TEST_INLINE): Likewise.
23679         (__NO_MATH_INLINES): Likewise.
23680         * math/test-ldouble.c: Include test-ldouble.h,
23681         test-math-no-inline.h and test-math-scalar.h.
23682         (FUNC): Remove macro.
23683         (FUNC_TEST): Likewise.
23684         (FLOAT): Likewise.
23685         (MATHCONST): Likewise.
23686         (PRINTF_EXPR): Likewise.
23687         (PRINTF_XEXPR): Likewise.
23688         (PRINTF_NEXPR): Likewise.
23689         (TEST_LDOUBLE): Likewise.
23690         (TEST_MATHVEC): Likewise.
23691         (__NO_MATH_INLINES): Likewise.
23692         * math/test-double-vlen2.h: Include test-double.h,
23693         test-math-no-inline.h and test-math-vector.h.
23694         (FLOAT): Remove macro.
23695         (FUNC): Likewise.
23696         (MATHCONST): Likewise.
23697         (PRINTF_EXPR): Likewise.
23698         (PRINTF_XEXPR): Likewise.
23699         (PRINTF_NEXPR): Likewise.
23700         (TEST_DOUBLE): Likewise.
23701         (TEST_MATHVEC): Likewise.
23702         (__NO_MATH_INLINES): Likewise.
23703         (CNCT): Likewise.
23704         (CONCAT): Likewise.
23705         (WRAPPER_NAME): Likewise.
23706         (WRAPPER_DECL): Likewise.
23707         (WRAPPER_DECL_ff): Likewise.
23708         (WRAPPER_DECL_fFF): Likewise.
23709         (VECTOR_WRAPPER): Likewise.
23710         (VECTOR_WRAPPER_ff): Likewise.
23711         (VECTOR_WRAPPER_fFF): Likewise.
23712         (VEC_LEN): New macro.
23713         * math/test-double-vlen4.h: Include test-double.h,
23714         test-math-no-inline.h and test-math-vector.h.
23715         (FLOAT): Remove macro.
23716         (FUNC): Likewise.
23717         (MATHCONST): Likewise.
23718         (PRINTF_EXPR): Likewise.
23719         (PRINTF_XEXPR): Likewise.
23720         (PRINTF_NEXPR): Likewise.
23721         (TEST_DOUBLE): Likewise.
23722         (TEST_MATHVEC): Likewise.
23723         (__NO_MATH_INLINES): Likewise.
23724         (CNCT): Likewise.
23725         (CONCAT): Likewise.
23726         (WRAPPER_NAME): Likewise.
23727         (WRAPPER_DECL): Likewise.
23728         (WRAPPER_DECL_ff): Likewise.
23729         (WRAPPER_DECL_fFF): Likewise.
23730         (VECTOR_WRAPPER): Likewise.
23731         (VECTOR_WRAPPER_ff): Likewise.
23732         (VECTOR_WRAPPER_fFF): Likewise.
23733         (VEC_LEN): New macro.
23734         * math/test-double-vlen8.h: Include test-double.h,
23735         test-math-no-inline.h and test-math-vector.h.
23736         (FLOAT): Remove macro.
23737         (FUNC): Likewise.
23738         (MATHCONST): Likewise.
23739         (PRINTF_EXPR): Likewise.
23740         (PRINTF_XEXPR): Likewise.
23741         (PRINTF_NEXPR): Likewise.
23742         (TEST_DOUBLE): Likewise.
23743         (TEST_MATHVEC): Likewise.
23744         (__NO_MATH_INLINES): Likewise.
23745         (CNCT): Likewise.
23746         (CONCAT): Likewise.
23747         (WRAPPER_NAME): Likewise.
23748         (WRAPPER_DECL): Likewise.
23749         (WRAPPER_DECL_ff): Likewise.
23750         (WRAPPER_DECL_fFF): Likewise.
23751         (VECTOR_WRAPPER): Likewise.
23752         (VECTOR_WRAPPER_ff): Likewise.
23753         (VECTOR_WRAPPER_fFF): Likewise.
23754         (VEC_LEN): New macro.
23755         * math/test-float-vlen4.h: Include test-float.h,
23756         test-math-no-inline.h and test-math-vector.h.
23757         (FLOAT): Remove macro.
23758         (FUNC): Likewise.
23759         (MATHCONST): Likewise.
23760         (PRINTF_EXPR): Likewise.
23761         (PRINTF_XEXPR): Likewise.
23762         (PRINTF_NEXPR): Likewise.
23763         (TEST_FLOAT): Likewise.
23764         (TEST_MATHVEC): Likewise.
23765         (__NO_MATH_INLINES): Likewise.
23766         (CNCT): Likewise.
23767         (CONCAT): Likewise.
23768         (WRAPPER_NAME): Likewise.
23769         (WRAPPER_DECL): Likewise.
23770         (WRAPPER_DECL_ff): Likewise.
23771         (WRAPPER_DECL_fFF): Likewise.
23772         (VECTOR_WRAPPER): Likewise.
23773         (VECTOR_WRAPPER_ff): Likewise.
23774         (VECTOR_WRAPPER_fFF): Likewise.
23775         (VEC_LEN): New macro.
23776         * math/test-float-vlen8.h: Include test-float.h,
23777         test-math-no-inline.h and test-math-vector.h.
23778         (FLOAT): Remove macro.
23779         (FUNC): Likewise.
23780         (MATHCONST): Likewise.
23781         (PRINTF_EXPR): Likewise.
23782         (PRINTF_XEXPR): Likewise.
23783         (PRINTF_NEXPR): Likewise.
23784         (TEST_FLOAT): Likewise.
23785         (TEST_MATHVEC): Likewise.
23786         (__NO_MATH_INLINES): Likewise.
23787         (CNCT): Likewise.
23788         (CONCAT): Likewise.
23789         (WRAPPER_NAME): Likewise.
23790         (WRAPPER_DECL): Likewise.
23791         (WRAPPER_DECL_ff): Likewise.
23792         (WRAPPER_DECL_fFF): Likewise.
23793         (VECTOR_WRAPPER): Likewise.
23794         (VECTOR_WRAPPER_ff): Likewise.
23795         (VECTOR_WRAPPER_fFF): Likewise.
23796         (VEC_LEN): New macro.
23797         * math/test-float-vlen16.h: Include test-float.h,
23798         test-math-no-inline.h and test-math-vector.h.
23799         (FLOAT): Remove macro.
23800         (FUNC): Likewise.
23801         (MATHCONST): Likewise.
23802         (PRINTF_EXPR): Likewise.
23803         (PRINTF_XEXPR): Likewise.
23804         (PRINTF_NEXPR): Likewise.
23805         (TEST_FLOAT): Likewise.
23806         (TEST_MATHVEC): Likewise.
23807         (__NO_MATH_INLINES): Likewise.
23808         (CNCT): Likewise.
23809         (CONCAT): Likewise.
23810         (WRAPPER_NAME): Likewise.
23811         (WRAPPER_DECL): Likewise.
23812         (WRAPPER_DECL_ff): Likewise.
23813         (WRAPPER_DECL_fFF): Likewise.
23814         (VECTOR_WRAPPER): Likewise.
23815         (VECTOR_WRAPPER_ff): Likewise.
23816         (VECTOR_WRAPPER_fFF): Likewise.
23817         (VEC_LEN): New macro.
23818         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
23819         test-vec-loop.h.
23820         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
23821         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
23822         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
23823         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
23824         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
23825         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
23826         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
23828 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23830         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
23831         (__getlogin_r): ... this.
23833 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23835         [BZ #18594]
23836         * math/s_ccosh.c (__ccosh): Compare with least normal value
23837         instead of comparing class with FP_SUBNORMAL.
23838         * math/s_ccoshf.c (__ccoshf): Likewise.
23839         * math/s_ccoshl.c (__ccoshl): Likewise.
23840         * math/s_cexp.c (__cexp): Likewise.
23841         * math/s_cexpf.c (__cexpf): Likewise.
23842         * math/s_cexpl.c (__cexpl): Likewise.
23843         * math/s_csin.c (__csin): Likewise.
23844         * math/s_csinf.c (__csinf): Likewise.
23845         * math/s_csinh.c (__csinh): Likewise.
23846         * math/s_csinhf.c (__csinhf): Likewise.
23847         * math/s_csinhl.c (__csinhl): Likewise.
23848         * math/s_csinl.c (__csinl): Likewise.
23849         * math/s_ctan.c (__ctan): Likewise.
23850         * math/s_ctanf.c (__ctanf): Likewise.
23851         * math/s_ctanh.c (__ctanh): Likewise.
23852         * math/s_ctanhf.c (__ctanhf): Likewise.
23853         * math/s_ctanhl.c (__ctanhl): Likewise.
23854         * math/s_ctanl.c (__ctanl): Likewise.
23855         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
23856         csin, csinh, ctan and ctanh.
23857         * math/auto-libm-test-out: Regenerated.
23858         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
23859         * sysdeps/i386/fpu/libm-test-ulps: Update.
23860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23862 2015-06-24  Roland McGrath  <roland@hack.frob.com>
23864         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
23865         return value is wrong, print the expected value too.
23867 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
23869         [BZ #18585]
23870         * elf/readlib.c (is_gdb_python_file): New.
23871         (process_file): Don't issue errors on filenames with -gdb.py
23872         suffix.
23874 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
23876         * math/auto-libm-test-in: Add more tests of csin and csinh.
23877         * math/auto-libm-test-out: Regenerated.
23878         * math/libm-test.inc (csin_test_data): Remove tests moved to
23879         auto-libm-test-in.
23880         (csinh_test_data): Likewise.
23882         [BZ #18593]
23883         * math/s_csin.c (__csin): Negate before rather than after possibly
23884         overflowing multiplication.
23885         * math/s_csinf.c (__csinf): Likewise.
23886         * math/s_csinh.c (__csinh): Likewise.
23887         * math/s_csinhf.c (__csinhf): Likewise.
23888         * math/s_csinhl.c (__csinhl): Likewise.
23889         * math/s_csinl.c (__csinl): Likewise.
23890         * math/auto-libm-test-in: Add some tests of csin and csinh.
23891         * math/auto-libm-test-out: Regenerated.
23892         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
23893         (csinh_test_data): Likewise.
23894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23896         [BZ #18586]
23897         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
23898         underflow exception for small results.
23900 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23902         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23903         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
23904         variable and included header.
23905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
23906         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
23907         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
23908         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
23909         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
23910         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
23911         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
23912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
23913         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
23914         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
23915         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
23916         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
23917         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
23918         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
23919         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
23920         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
23922 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23924         [BZ #16526]
23925         [BZ #16538]
23926         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
23927         (__sin): Force underflow exception for arguments with small
23928         absolute value.
23929         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
23930         (__kernel_sinf): Force underflow exception for arguments with
23931         small absolute value.
23932         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
23933         (__kernel_sincosl): Force underflow exception for arguments with
23934         small absolute value.
23935         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
23936         (__kernel_sinl): Force underflow exception for arguments with
23937         small absolute value.
23938         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
23939         (__kernel_sincosl): Force underflow exception for arguments with
23940         small absolute value.
23941         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
23942         (__kernel_sinl): Force underflow exception for arguments with
23943         small absolute value.
23944         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
23945         (__kernel_sinl): Force underflow exception for arguments with
23946         small absolute value.
23947         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
23948         (__kernel_sinf): Force underflow exception for arguments with
23949         small absolute value.
23950         * math/auto-libm-test-in: Add more tests of sin and sincos.
23951         * math/auto-libm-test-out: Regenerated.
23953         [BZ #18245]
23954         [BZ #18583]
23955         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
23956         (__kernel_standard_l): Use feholdexcept and fesetenv around
23957         conversion to double instead of special-casing overflow and
23958         underflow.
23959         * math/libm-test.inc (fmod_test_data): Add more tests.
23960         (remainder_test_data): Likewise.
23961         (sqrt_test_data): Likewise.
23963 2015-06-23  Torvald Riegel  <triegel@redhat.com>
23965         [BZ #17403]
23966         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
23967         atomic_read_barrier, atomic_write_barrier): Define.
23968         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
23969         atomic_read_barrier, atomic_write_barrier): Define.
23971 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
23973         * math/Makefile [$(PERL) != no]
23974         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
23975         dependency on libm-test.stmp below the inclusion of Rules.
23977 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
23979         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
23980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
23981         and included header.
23982         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
23983         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
23984         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
23985         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
23986         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
23987         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
23988         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
23989         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
23990         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
23991         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
23992         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
23993         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
23994         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
23995         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
23996         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
23997         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
23998         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
23999         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24000         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24002 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24004         [BZ #18371]
24005         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24006         intermediate but not final result might underflow.
24007         * math/s_csqrtf.c (__csqrtf): Likewise.
24008         * math/s_csqrtl.c (__csqrtl): Likewise.
24009         * math/auto-libm-test-in: Add more tests of csqrt.
24010         * math/auto-libm-test-out: Regenerated.
24011         * sysdeps/i386/fpu/libm-test-ulps: Update.
24013         [BZ #18219]
24014         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24015         threshold on absolute value of exponent for which scaling is used.
24016         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24017         * math/auto-libm-test-in: Add more tests of exp2.
24018         * math/auto-libm-test-out: Regenerated.
24020 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24022         [BZ #17977]
24023         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24024         when initializing interface list, based on the bug analysis
24025         and the patch proposed by Eric Newton.
24026         * resolv/tst-res_hconf_reorder.c: New test.
24027         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24028         tst-res_hconf_reorder.
24029         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24030         and $(shared-thread-library).
24031         (tst-res_hconf_reorder-ENV): New variable.
24033         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24034         in comment.
24036 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24038         [BZ #16353]
24039         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24040         (__expm1): Force underflow exception for arguments with small
24041         absolute value.
24042         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24043         (__expm1f): Force underflow exception for arguments with small
24044         absolute value.
24045         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24046         (__expm1): Force underflow exception for arguments with small
24047         absolute value.
24048         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24049         (__expm1f): Force underflow exception for arguments with small
24050         absolute value.
24051         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24052         Check for small arguments before calling __expm1.
24053         * math/auto-libm-test-in: Do not mark underflow exceptions as
24054         possibly missing for bug 16353.
24055         * math/auto-libm-test-out: Regenerated.
24057 2015-06-22  Andreas Schwab  <schwab@suse.de>
24059         [BZ #18513]
24060         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24061         PTR queries.
24063 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24065         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24067         * string/strcoll_l.c: Remove unused struct element idxnow.
24069 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24071         [BZ #18569]
24072         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24073         underflow and return argument in case of subnormal argument.
24074         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24075         Likewise.
24076         * math/auto-libm-test-in: Add more tests of expm1.
24077         * math/auto-libm-test-out: Regenerated.
24079         [BZ #16361]
24080         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24081         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24082         tiny results.
24083         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24084         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24085         tiny results.
24086         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24087         mark underflow exceptions as possibly missing for bug 16361.
24088         * math/auto-libm-test-out: Regenerated.
24090 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24092         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24093         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24094         Remove variable.
24095         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24096         (test-xfail-XOPEN2K8/utmpx.h/conform).
24098         * conform/conformtest.pl ($xerrors): New variable.
24099         (note_error): New function.
24100         (compiletest): New argument $xfail.  Use not_error.
24101         (runtest): Likewise.
24102         (top level): Handle xfail- lines.  Update calls to compiletest and
24103         runtest.  Handle xfail- and optional- in headers listed with
24104         allow-header.
24105         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24106         (O_EXEC): Likewise.
24107         (O_SEARCH): Likewise.
24108         * conform/data/stropts.h-data (ioctl): Likewise.
24109         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24110         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24111         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24112         (msghdr.msg_controllen): Likewise.
24113         (cmsghdr.cmsg_len): Likewise.
24114         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24115         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24116         variable.
24117         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24118         (test-xfail-XPG4/stropts.h/conform): Likewise.
24119         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24120         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24121         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24122         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24123         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24124         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24125         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24126         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24127         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24128         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24129         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24130         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24131         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24132         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24133         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24134         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24135         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24136         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24137         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24139 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24141         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
24142         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
24143         definitions for proper unfolding of __MATHDECL_VEC.
24145 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24147         * benchtests/bench-strcoll.c:
24148         Include string.h.
24149         (main): Remove unused variable res.
24151 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24153         * timezone/Makefile (%/UTC %/Universal):
24154         Generate test-result files for UTC and Universal.
24156 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24158         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24160 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
24162         [BZ #16350]
24163         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
24164         for arguments with small absolute value.
24165         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
24166         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
24167         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
24168         (__asinh): Force underflow exception for arguments with small
24169         absolute value.
24170         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
24171         (__asinhf): Force underflow exception for arguments with small
24172         absolute value.
24173         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
24174         (__asinhl): Force underflow exception for arguments with small
24175         absolute value.
24176         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
24177         (__asinhl): Force underflow exception for arguments with small
24178         absolute value.
24179         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
24180         (__asinhl): Force underflow exception for arguments with small
24181         absolute value.
24182         * math/auto-libm-test-in: Do not mark underflow exceptions as
24183         possibly missing for bug 16350.
24184         * math/auto-libm-test-out: Regenerated.
24186         * include/bits/ipc.h: Remove file.
24187         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
24188         variable.
24189         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24190         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24191         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24192         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24193         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24194         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24195         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24196         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24197         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24199         * math/auto-libm-test-in: Remove spurious underflow allowance for
24200         tests of cexp.
24201         * math/auto-libm-test-out: Regenerated.
24203         [BZ #18558]
24204         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
24205         unconditional definition.
24206         (MCAST_BLOCK_SOURCE): Likewise.
24207         (MCAST_UNBLOCK_SOURCE): Likewise.
24208         (MCAST_LEAVE_GROUP): Likewise.
24209         (MCAST_JOIN_SOURCE_GROUP): Likewise.
24210         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
24211         (MCAST_MSFILTER): Likewise.
24212         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
24213         Remove variable.
24214         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24215         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24216         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24217         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24218         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24220 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
24222         * NEWS: Mention addition of x86_64 vector sincosf.
24223         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
24224         * math/test-float-vlen4.h: Likewise.
24225         * math/test-float-vlen8.h: Likewise.
24226         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24227         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
24228         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24229         * sysdeps/x86_64/fpu/Versions: New versions added.
24230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24231         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24232         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24233         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
24234         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
24235         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
24236         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
24237         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
24238         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
24239         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
24240         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
24241         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
24242         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
24243         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
24244         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
24245         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
24246         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
24247         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24248         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24249         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24250         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24251         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24252         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24253         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24255         * NEWS: Mention addition of x86_64 vector sincos.
24256         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
24257         * math/math.h (__MATHDECL_VEC): New macro.
24258         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
24259         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
24260         declaration under condition.
24261         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
24262         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
24263         TEST_VEC_LOOP change.
24264         * math/test-double-vlen4.h: Likewise.
24265         * math/test-double-vlen8.h: Likewise.
24266         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
24267         * math/test-float-vlen4.h: Likewise.
24268         * math/test-float-vlen8.h: Likewise.
24269         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24270         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
24271         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24272         * sysdeps/x86_64/fpu/Versions: New versions added.
24273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24274         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24275         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24276         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
24277         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
24278         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
24279         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
24280         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
24281         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
24282         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
24283         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
24284         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
24285         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
24286         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
24287         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
24288         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
24289         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
24290         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24291         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24292         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24293         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24294         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24295         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24296         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24298         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24299         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24300         redirections for powf.
24301         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24302         * sysdeps/x86_64/fpu/Versions: New versions added.
24303         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24304         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24305         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24306         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
24307         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
24308         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
24309         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
24310         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
24311         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
24312         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
24313         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
24314         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
24315         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
24316         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
24317         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
24318         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
24319         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
24320         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24321         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24322         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24324         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24325         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24326         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24327         * math/test-float-vlen16.h: Fixed 2 argument macro.
24328         * math/test-float-vlen4.h: Likewise.
24329         * math/test-float-vlen8.h: Likewise.
24330         * NEWS: Mention addition of x86_64 vector powf.
24332 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
24334         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24335         and redefine.
24336         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24337         and redefine.
24338         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
24339         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24340         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24342         [BZ #18553]
24343         * resource/getpriority.c (getpriority): Rename to __getpriority
24344         and define as weak alias of __getpriority.
24345         * resource/setpriority.c (setpriority): Rename to __setpriority
24346         and define as weak alias of __setpriority.
24347         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
24348         __getpriority and define as weak alias of __getpriority.
24349         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
24350         __setpriority and define as weak alias of __setpriority.
24351         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
24352         strong name.
24353         (setpriority): Use __setpriority as strong name.
24354         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24355         __getpriority and define as weak alias of __getpriority.
24356         * include/sys/resource.h (__getpriority): Declare.  Use
24357         libc_hidden_proto.
24358         (__setpriority): Likewise.
24359         (getpriority): Don't use libc_hidden_proto.
24360         (setpriority): Likewise.
24361         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
24362         getpriority.  Call __setpriority instead of setpriority.
24363         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
24364         Remove variable.
24366         [BZ #18547]
24367         * misc/getttyent.c (getttynam): Rename to __getttynam and define
24368         as weak alias of __getttynam.  Use prototype function definition.
24369         Call __setttyent, __getttyent and __endttyent instead of
24370         setttyent, getttyent and endttyent.
24371         (getttyent): Rename to __getttyent and define as weak alias of
24372         __getttyent.  Call __setttyent instead of setttyent.  Call
24373         __fgets_unlocked instead of fgets_unlocked.
24374         (setttyent): Rename to __setttyent and define as weak alias of
24375         __setttyent.
24376         (endttyent): Rename to __endttyent and define as weak alias of
24377         __endttyent.
24378         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
24379         (__setttyent): Likewise.
24380         (__endttyent): Likewise.
24381         (getttyent): Don't use libc_hidden_proto.
24382         (setttyent): Likewise.
24383         (endttyent): Likewise.
24384         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
24385         __endttyent instead of setttyent, getttyent and endttyent.
24386         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
24387         Remove variable.
24389         [BZ #18546]
24390         * socket/recv.c (__recv): Use libc_hidden_def.
24391         * socket/socket.c (__socket): Likewise.
24392         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
24393         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
24394         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
24395         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
24396         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
24397         libc_hidden_def.
24398         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
24399         libc_hidden_weak.
24400         * include/sys/socket.h (__socket): Do not use attribute_hidden.
24401         Use libc_hidden_proto.
24402         (__recv): Likewise.
24403         * socket/Versions (libc): Export __recv and __socket at version
24404         GLIBC_PRIVATE.
24405         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
24406         instead of recv.
24407         (init_mq_netlink): Call __socket instead of socket.
24408         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
24409         Remove variable.
24411         [BZ #18545]
24412         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
24413         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
24414         hidden_weak.
24415         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
24416         define as alias of __mq_timedsend.  Use hidden_weak.
24417         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
24418         __mq_timedsend as strong name.
24419         (mq_timedreceive): Use __mq_timedreceive as strong name.
24420         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
24421         (__mq_timedreceive): Likewise.
24422         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
24423         __mq_timedreceive instead of mq_timedreceive.
24424         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
24425         instead of mq_timedsend.
24426         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
24427         Remove variable.
24429         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
24430         hidden_def and hidden_weak instead of libc_hidden_def and
24431         libc_hidden_weak.
24432         (top level): Refer to hidden_def in comment.
24433         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
24434         macro.  Use it instead of libc_hidden_def.
24435         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
24436         specify __GI_* name explicitly.
24437         (mq_timedreceive): Likewise.
24438         (mq_setattr): Likewise.
24440         [BZ #18544]
24441         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
24442         __pthread_barrier_init and define as weak alias of
24443         __pthread_barrier_init.
24444         * sysdeps/sparc/nptl/pthread_barrier_init.c
24445         (pthread_barrier_init): Likewise.
24446         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
24447         __pthread_barrier_wait and define as weak alias of
24448         __pthread_barrier_wait.
24449         * sysdeps/sparc/nptl/pthread_barrier_wait.c
24450         (pthread_barrier_wait): Likewise.
24451         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
24452         (pthread_barrier_wait): Likewise.
24453         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
24454         (pthread_barrier_wait): Likewise.
24455         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
24456         (pthread_barrier_wait): Likewise.
24457         * nptl/Versions (libpthread): Export __pthread_barrier_init and
24458         __pthread_barrier_wait at version GLIBC_PRIVATE.
24459         * include/pthread.h (__pthread_barrier_init): Declare.
24460         (__pthread_barrier_wait): Likewise.
24461         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
24462         Call __pthread_barrier_wait instead of pthread_barrier_wait.
24463         (helper_thread): Likewise.
24464         (init_mq_netlink): Call __pthread_barrier_init instead of
24465         pthread_barrier_init.
24467         [BZ #18542]
24468         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
24469         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
24470         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
24471         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
24472         vswscanf.
24473         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
24474         Remove variable.
24476         [BZ #18540]
24477         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
24478         strong alias of _IO_fflush.  Use libc_hidden_def.
24479         * libio/iofflush_u.c (fflush_unlocked): Rename to
24480         __fflush_unlocked and define as weak alias of __fflush_unlocked.
24481         Use libc_hidden_weak.
24482         * include/stdio.h (__fflush_unlocked): Declare.  Use
24483         libc_hidden_proto.
24484         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
24485         fflush_unlocked.
24486         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
24487         Remove variable.
24489         [BZ #18539]
24490         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
24491         define as weak alias of __addseverity.
24492         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
24493         Remove variable.
24494         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
24495         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
24496         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
24498         [BZ #18536]
24499         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
24500         (__tfind): Likewise.
24501         (__tdelete): Likewise.
24502         (__twalk): Likewise.
24503         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
24504         __twalk to GLIBC_PRIVATE.
24505         * include/search.h (__tsearch): Use libc_hidden_proto.
24506         (__tfind): Likewise.
24507         (__tdelete): Likewise.
24508         (__twalk): Likewise.
24509         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
24510         Call __tdelete instead of tdelete.
24511         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
24512         tfind.  Call __tsearch instead of tsearch.
24513         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
24514         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
24515         Remove variable.
24516         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
24518         [BZ #18534]
24519         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
24520         (dprintf): Define as a weak alias of __dprintf, not a strong
24521         alias.
24522         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
24523         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
24524         dprintf.
24525         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
24526         Remove variable.
24527         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
24528         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
24530         [BZ #18533]
24531         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
24532         not a strong alias.
24533         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
24534         Remove variable.
24536         [BZ #18532]
24537         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
24538         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
24539         (in6addr_loopback): Rename to __in6addr_loopback and define as
24540         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
24541         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
24542         libc_hidden_proto.
24543         (__in6addr_any): Likewise.
24544         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
24545         in6addr_any.
24546         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
24547         variable.
24548         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
24550 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24552         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
24553         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
24554         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24555         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24556         redirections for pow.
24557         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24558         * sysdeps/x86_64/fpu/Versions: New versions added.
24559         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24560         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24561         build of SSE, AVX2 and AVX512 IFUNC versions.
24562         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
24563         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
24564         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
24565         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
24566         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
24567         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
24568         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
24569         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
24570         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
24571         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
24572         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
24573         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
24574         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
24575         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
24576         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24577         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24578         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24579         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24580         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24581         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24582         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24583         * NEWS: Mention addition of x86_64 vector pow.
24585         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24586         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24587         redirections for expf.
24588         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24589         * sysdeps/x86_64/fpu/Versions: New versions added.
24590         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24591         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24592         build of SSE, AVX2 and AVX512 IFUNC versions.
24593         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
24594         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
24595         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
24596         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
24597         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
24598         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
24599         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
24600         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
24601         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
24602         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
24603         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
24604         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
24605         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
24606         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24607         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24608         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24609         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24610         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24611         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24612         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24613         * NEWS: Mention addition of x86_64 vector expf.
24615         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
24616         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
24617         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24618         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24619         redirections for exp.
24620         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24621         * sysdeps/x86_64/fpu/Versions: New versions added.
24622         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24623         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24624         build of SSE, AVX2 and AVX512 IFUNC versions.
24625         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
24626         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
24627         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
24628         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
24629         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
24630         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
24631         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
24632         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
24633         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
24634         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
24635         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
24636         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
24637         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
24638         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24639         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24640         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24641         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24642         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24643         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24644         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24645         * NEWS: Mention addition of x86_64 vector exp.
24647         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24648         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24649         redirections for logf.
24650         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24651         * sysdeps/x86_64/fpu/Versions: New versions added.
24652         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24653         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24654         build of SSE, AVX2 and AVX512 IFUNC versions.
24655         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
24656         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
24657         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
24658         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
24659         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
24660         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
24661         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
24662         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
24663         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
24664         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
24665         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
24666         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
24667         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
24668         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24669         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24670         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24671         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24672         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24673         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24674         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24675         * NEWS: Mention addition of x86_64 vector logf.
24677         * bits/libm-simd-decl-stubs.h: Added stubs for log.
24678         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
24679         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24680         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
24681         redirections for log.
24682         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24683         * sysdeps/x86_64/fpu/Versions: New versions added.
24684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24685         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24686         build of SSE, AVX2 and AVX512 IFUNC versions.
24687         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
24688         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
24689         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
24690         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
24691         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
24692         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
24693         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
24694         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
24695         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
24696         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
24697         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
24698         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
24699         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
24700         test.
24701         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24702         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24703         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24704         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24705         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24706         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24707         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24708         * NEWS: Mention addition of x86_64 vector log.
24710 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24712         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
24713         cfi_adjust_cfa_offset argument.
24714         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
24715         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
24717         [BZ #18034]
24718         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
24719         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
24720         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
24721         ordering using ldar.
24722         (_dl_tlsdesc_dynamic): Likewise.
24723         (_dl_tlsdesc_return_lazy): Likewise.
24724         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
24725         relaxed atomics instead of volatile and synchronize with release store.
24726         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
24727         volatile.
24728         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
24730 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
24732         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
24733         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
24734         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24735         * sysdeps/x86_64/fpu/Versions: New versions added.
24736         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24737         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
24738         build of SSE, AVX2 and AVX512 IFUNC versions.
24739         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
24740         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
24741         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
24742         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
24743         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
24744         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
24745         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
24746         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
24747         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
24748         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
24749         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
24750         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
24751         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
24752         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
24753         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24754         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
24755         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24756         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
24757         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24758         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
24759         * NEWS: Mention addition of x86_64 vector sinf.
24761 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
24763         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
24764         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
24765         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
24766         Remove variable.
24767         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
24768         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
24770 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24772         [BZ #18530]
24773         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
24774         strong alias of _IO_fputs.  Use libc_hidden_def.
24775         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
24776         and define as weak alias of __fputs_unlocked.  Use
24777         libc_hidden_weak.
24778         * include/stdio.h (__fputs_unlocked): Declare.  Use
24779         libc_hidden_proto.
24780         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
24781         fputs_unlocked.
24783         [BZ #18529]
24784         * resolv/netdb.h [__USE_POSIX]: Change condition to
24785         [__USE_XOPEN2K].
24786         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
24787         not expect.
24788         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
24789         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
24790         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
24791         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
24792         [XPG4 || UNIX98] (AI_ALL): Likewise.
24793         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
24794         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
24795         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
24796         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
24797         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
24798         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
24799         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
24800         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
24801         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
24802         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
24803         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
24804         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
24805         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
24806         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
24807         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
24808         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24809         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
24810         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
24811         [XPG4 || UNIX98] (gai_strerror): Likewise.
24812         [XPG4 || UNIX98] (getaddrinfo): Likewise.
24813         [XPG4 || UNIX98] (getnameinfo): Likewise.
24815         [BZ #18528]
24816         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
24817         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
24818         __USE_XOPEN2K8].
24819         (getgrent): Likewise.
24820         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
24821         expect.
24822         [XPG3 || POSIX2008] (endgrent): Likewise.
24823         [XPG3] (setgrent): Likewise.
24824         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
24825         variable.
24826         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
24828         [BZ #18527]
24829         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
24830         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
24831         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
24832         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
24833         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
24834         * include/unistd.h (__getlogin_r): Declare.  Use
24835         libc_hidden_proto.
24836         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
24837         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
24838         variable.
24839         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
24840         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
24841         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
24843 2015-06-12  Martin Sebor  <msebor@redhat.com>
24845         [BZ #18512]
24846         * Makerules (check-install-supported): New target.
24847         (install): Add check-install-supported as a dependency.
24848         * manual/install.texi (Installing the C Library): Document
24849         that overriding prefix and exec_prefix is not supported.
24850         Mention DESTDIR.
24851         * INSTALL: Regenerate from the above.
24853 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
24855         [BZ #18519]
24856         * posix/Versions (libc): Export __libc_pread at version
24857         GLIBC_PRIVATE.
24858         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
24859         instead of pread.
24860         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
24861         variable.
24863         [BZ #18522]
24864         * misc/efgcvt_r.c
24865         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
24866         (cvt_symbol): Use weak_alias instead of strong_alias.
24867         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
24868         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
24869         Remove variable.
24870         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
24871         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
24873         [BZ #18520]
24874         * inet/herrno.c (h_errno): Rename to __h_errno.
24875         (__libc_h_errno): Define as alias of __h_errno not h_errno.
24876         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
24877         to __h_errno instead of h_errno.
24878         * nptl/herrno.c (h_errno): Rename to __h_errno.
24879         (__h_errno_location): Refer to __h_errno not h_errno.
24880         * resolv/Versions (h_errno): Rename to __h_errno.
24881         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
24882         Remove variable.
24883         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
24885 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
24887         * configure.ac: More strict check for AVX512 assembler support.
24888         * configure: Regenerated.
24890         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
24891         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
24892         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
24893         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
24894         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
24895         * sysdeps/x86_64/fpu/Versions: New versions added.
24896         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24897         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
24898         Added build of SSE, AVX2 and AVX512 IFUNC versions.
24899         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
24900         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
24901         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
24902         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
24903         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
24904         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
24905         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
24906         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
24907         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
24908         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
24909         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
24910         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
24911         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
24912         test.
24913         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
24914         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24915         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
24916         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24917         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
24918         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24919         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
24920         * NEWS: Mention addition of x86_64 vector sin.
24922 2015-06-11  Florian Weimer  <fweimer@redhat.com>
24924         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
24925         comment.
24927 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24929         [BZ #18479]
24930         * nptl/pt-interp.c: New file.
24931         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
24932         Add pt-interp.
24933         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
24934         $(common-objpfx)runtime-linker.h.
24936 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
24938         * Makeconfig (+interp): Remove unused variable.
24939         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
24940         only.  Depend on $(common-objpfx)runtime-linker.h instead of
24941         $(elf-objpfx)runtime-linker.h.
24942         ($(elf-objpfx)runtime-linker.h): Rename to
24943         $(common-objpfx)runtime-linker.h and move ...
24944         * Makerules [$(build-shared) = yes]: ... here.
24945         * elf/interp.c: Include <runtime-linker.h> instead of
24946         <elf/runtime-linker.h>.
24948 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24950         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
24951         (__gettimeofday_syscall): Remove vsyscall fallback.
24952         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
24953         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
24954         Add syscall fallback function.
24955         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
24956         if vDSO is not present.
24957         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
24958         fallback function.
24959         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
24960         present.
24961         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
24962         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
24964 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
24966         [BZ #18497]
24967         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
24968         of wcscmp.
24969         (wcscmp): Define as weak alias of WCSCMP.
24970         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
24971         wcscoll.
24972         (USE_HIDDEN_DEF): Define.
24973         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
24974         __wcscoll.  Don't use libc_hidden_weak.
24975         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
24976         wcscmp.
24977         * sysdeps/i386/i686/multiarch/wcscmp-c.c
24978         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
24979         __GI_wcscmp.
24980         (weak_alias): Undefine and redefine.
24981         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
24982         __wcscmp and define as weak alias of __wcscmp.
24983         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
24984         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
24985         (__wcscoll): Likewise.
24986         (wcscmp): Don't use libc_hidden_proto.
24987         (wcscoll): Likewise.
24988         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
24989         wcscoll.
24990         * posix/regexec.c (check_node_accept_bytes): Likewise.
24991         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
24992         variable.
24993         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
24994         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
24996         [BZ #18507]
24997         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
24998         __fstatvfs and define as weak alias of __fstatvfs.  Use
24999         libc_hidden_weak.
25000         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25001         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25002         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25003         Define as alias of __fstatvfs, not fstatvfs.
25004         (fstatvfs64): Likewise.
25005         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25006         Define as alias of __statvfs, not statvfs.
25007         (statvfs64): Likewise.
25008         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25009         Remove variable.
25011 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25014         (HAVE_GETCPU_VSYSCALL): Define.
25015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25016         (HAVE_GETCPU_VSYSCALL): Likewise.
25017         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25018         * sysdeps/unix/sysv/linux/sched_getcpu.c
25019         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25020         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25021         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25022         prototype.
25023         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25024         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25025         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25026         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25027         Define.
25028         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25029         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25030         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25031         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25033 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25035         * sysdeps/x86_64/fpu/Makefile: New file.
25036         * sysdeps/x86_64/fpu/Versions: New file.
25037         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25038         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25039         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25040         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25041         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25042         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25043         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25044         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25045         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25046         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25047         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25048         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25049         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25050         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25051         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25052         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25053         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25054         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25055         * sysdeps/x86_64/configure: Regenerated.
25056         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25057         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25058         * manual/install.texi (Configuring and compiling): Document
25059         --disable-mathvec.
25060         * INSTALL: Regenerated.
25061         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25063         * math/Makefile: Added rules for vector tests.
25064         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25065         declaration under condition.
25066         * math/test-double-vlen2.h: New file.
25067         * math/test-double-vlen4.h: New file.
25068         * math/test-double-vlen8.h: New file.
25069         * math/test-vec-loop.h: Added initialization macro.
25070         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25071         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25072         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25073         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25074         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25075         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25076         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25077         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25078         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25079         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25080         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25082         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25083         * sysdeps/x86_64/fpu/Versions: New versions added.
25084         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25085         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25086         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25087         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25088         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25089         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25090         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25091         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25092         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25093         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25094         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25095         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25096         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25097         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25098         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25100         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25101         * NEWS: Mention addition of x86_64 vector cosf.
25103         * math/Makefile: Added CFLAGS for new tests.
25104         * math/test-float-vlen16.h: New file.
25105         * math/test-float-vlen4.h: New file.
25106         * math/test-float-vlen8.h: New file.
25107         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25108         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25109         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25110         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25111         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25112         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25113         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25114         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25115         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25116         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25117         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25119 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25121         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25122         * locale/programs/ld-ctype.c: Likewise.
25124 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25126         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25127         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25128         bit_ZMM16_31_state): New macro.
25129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25130         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25132 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25134         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
25136 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
25138         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
25140 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
25142         [BZ #18498]
25143         * libio/memstream.c (open_memstream): Rename to __open_memstream
25144         and define as weak alias of __open_memstream.
25145         * include/stdio.h (__open_memstream): Declare.  Use
25146         libc_hidden_proto.
25147         (open_memstream): Don't use libc_hidden_proto.
25148         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
25149         open_memstream.
25150         * posix/getopt.c (_getopt_internal_r): Likewise.
25151         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
25152         variable.
25153         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
25154         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
25155         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
25157         [BZ #18496]
25158         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
25159         instead of wcrtomb.
25161         [BZ #18483]
25162         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
25163         [__USE_XOPEN2K8].  Remove redundant #endif.
25164         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
25165         Remove redundant #if.
25166         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
25167         Remove variable.
25168         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
25169         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
25171         [BZ #18495]
25172         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
25173         (__iswlower): Likewise.
25174         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
25175         (__iswlower): Likewise.
25176         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
25177         instead of towlower.
25178         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
25179         instead of iswlower.  Call __towupper instead of towupper.
25180         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
25181         instead of iswalnum.
25183 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25185         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
25186         errors to stderr.
25188 2015-06-05  Florian Weimer  <fweimer@redhat.com>
25190         [BZ #15661]
25191         [BZ #17322]
25192         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
25193         Check for overflow properly.  Check for O_APPEND.  Ignore large
25194         file system block sizes.  Add comments about problems.
25195         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
25196         * manual/filesys.texi (Storage Allocation): New node.
25198 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25200         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
25201         cancellable syscalls.
25202         (SYS_ify): Add guard to no redefine it.
25203         (INLINE_SYSCALL): Likewise.
25204         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
25205         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
25206         SYSCALL_CANCEL instead.
25207         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
25208         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
25209         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
25210         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
25211         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
25212         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
25213         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
25214         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
25215         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
25216         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
25217         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
25218         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
25219         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
25220         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
25221         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
25222         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
25223         Likewise.
25224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
25225         (__libc_pread64): Likewise.
25226         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
25227         (__libc_preadv): Likewise.
25228         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
25229         (__libc_readv64): Likewise.
25230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
25231         (__libc_pwrite): Likewise.
25232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
25233         (__libc_pwrite64): Likewise.
25234         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
25235         (__libc_pwritev): Likewise.
25236         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
25237         (__libc_pwritev64): Likewise.
25238         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
25239         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
25240         (sync_file_range): Likewise.
25241         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
25242         Likewise.
25243         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
25244         Likewise.
25245         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
25246         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
25247         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
25248         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
25249         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
25250         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
25251         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
25252         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
25253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
25254         Likewise.
25255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
25256         (__libc_read64): Likewise.
25257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
25258         Likewise.
25259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
25260         Likewise.
25261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
25262         Likewise.
25263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
25264         Likewise.
25265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
25266         (__libc_pread64): Likewise.
25267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
25268         Likewise.
25269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
25270         (__libc_pwrite64): Likewise.
25271         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
25272         (sync_file_range): Likewise.
25273         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
25274         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
25275         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
25276         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
25277         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
25278         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
25279         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
25280         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
25281         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
25282         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
25283         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25284         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
25285         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
25286         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
25287         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
25288         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
25289         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
25290         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25291         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
25292         Likewise.
25293         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
25294         Likewise.
25295         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
25296         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
25297         Likewise.
25298         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
25299         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
25300         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
25301         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
25302         Likewise.
25303         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
25304         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
25305         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
25306         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
25307         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
25309 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
25311         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
25312         Include dl-vdso.
25313         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
25314         Use VDSO routines for gettimeofday, clock_gettime if
25315         available.
25316         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
25317         Declare VDSO symbols.
25318         * sysdeps/unix/sysv/linux/arm/sysdep.h:
25319         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
25320         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25321         * sysdeps/unix/sysv/linux/arm/Versions: Add
25322         __vdso_clock_gettime.
25324 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25326         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
25327         be an inline implementation regardless of library is built within.
25328         (open_not_cancel_2): Likewise.
25329         (__read_nocancel): Likewise.
25330         (__write_nocancel): Likewise.
25331         (openat_not_cancel): Likewise.
25332         (openat_not_cancel_3): Likewise.
25333         (openat64_not_cancel): Likewise.
25334         (openat64_not_cancel_3): Likewise.
25335         (__close_nocancel): Likewise.
25336         (pause_not_cancel): Likewise.
25337         (nanosleep_not_cancel): Likewise.
25338         (sigsuspend_not_cancel): Likewise.
25340 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25342         [BZ #14958]
25343         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
25344         wake-up.
25345         (__pthread_rwlock_rdlock_slow): Likewise.
25346         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25347         Likewise.
25348         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
25349         Likewise.
25350         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
25351         * nptl/tst-rwlock16.c: New file.
25352         * nptl/Makefile (tests): Add new test.
25354 2015-06-04  Torvald Riegel  <triegel@redhat.com>
25356         [BZ #18324]
25357         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
25358         missing wake-up of readers.
25359         * nptl/tst-rwlock15.c: New file.
25360         * nptl/Makefile (tests): Add new test.
25362 2015-06-03  Roland McGrath  <roland@hack.frob.com>
25364         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
25365         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
25366         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
25367         and __nacl_supply_interface_rtld.
25368         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
25369         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
25370         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
25371         Add __nacl_supply_interface_rtld.
25372         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
25374 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25376         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
25377         isfinite.
25378         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25379         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
25381 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
25383         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
25384         __signbit* with standard C99 macros.
25385         * math/e_exp10l.c: Likewise.
25386         * math/e_exp2l.c: Likewise.
25387         * math/e_scalb.c: Likewise.
25388         * math/e_scalbf.c: Likewise.
25389         * math/e_scalbl.c: Likewise.
25390         * math/s_ldexp.c: Likewise.
25391         * math/s_ldexpf.c: Likewise.
25392         * math/s_ldexpl.c: Likewise.
25393         * math/w_atan2.c: Likewise.
25394         * math/w_atan2f.c: Likewise.
25395         * math/w_atan2l.c: Likewise.
25396         * math/w_cosh.c: Likewise.
25397         * math/w_coshf.c: Likewise.
25398         * math/w_coshl.c: Likewise.
25399         * math/w_exp10.c: Likewise.
25400         * math/w_exp10f.c: Likewise.
25401         * math/w_exp10l.c: Likewise.
25402         * math/w_exp2.c: Likewise.
25403         * math/w_exp2f.c: Likewise.
25404         * math/w_exp2l.c: Likewise.
25405         * math/w_fmod.c: Likewise.
25406         * math/w_fmodf.c: Likewise.
25407         * math/w_fmodl.c: Likewise.
25408         * math/w_hypot.c: Likewise.
25409         * math/w_hypotf.c: Likewise.
25410         * math/w_hypotl.c: Likewise.
25411         * math/w_jnl.c: Likewise.
25412         * math/w_lgamma.c: Likewise.
25413         * math/w_lgamma_r.c: Likewise.
25414         * math/w_lgammaf.c: Likewise.
25415         * math/w_lgammaf_r.c: Likewise.
25416         * math/w_lgammal.c: Likewise.
25417         * math/w_lgammal_r.c: Likewise.
25418         * math/w_pow.c: Likewise.
25419         * math/w_powf.c: Likewise.
25420         * math/w_powl.c: Likewise.
25421         * math/w_remainder.c: Likewise.
25422         * math/w_remainderf.c: Likewise.
25423         * math/w_remainderl.c: Likewise.
25424         * math/w_scalb.c: Likewise.
25425         * math/w_scalbf.c: Likewise.
25426         * math/w_scalbl.c: Likewise.
25427         * math/w_scalbln.c: Likewise.
25428         * math/w_scalblnf.c: Likewise.
25429         * math/w_scalblnl.c: Likewise.
25430         * math/w_sinh.c: Likewise.
25431         * math/w_sinhf.c: Likewise.
25432         * math/w_sinhl.c: Likewise.
25433         * math/w_tgamma.c: Likewise.
25434         * math/w_tgammaf.c: Likewise.
25435         * math/w_tgammal.c: Likewise.
25436         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25437         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
25438         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25439         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25440         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25441         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25442         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25443         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
25444         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25445         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25446         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25447         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
25448         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25449         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25450         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25451         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25452         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25453         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25454         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25455         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25456         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25457         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25458         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25459         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25460         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25461         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25462         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
25463         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25464         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25465         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25466         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
25467         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
25468         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
25469         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
25470         * stdio-common/printf_fp.c: Likewise.
25471         * stdio-common/printf_fphex.c: Likewise.
25472         * stdio-common/printf_size.c: Likewise.
25474 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
25476         [BZ #18470]
25477         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
25478         strnlen.
25479         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
25480         Remove variable.
25481         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
25482         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
25483         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
25484         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
25485         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
25486         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
25487         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
25488         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
25489         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
25490         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
25492         [BZ #18468]
25493         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
25494         weak alias of __wmemchr.  Use libc_hidden_weak.
25495         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
25496         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
25497         instead of wmemchr.
25499 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25501         [BZ #18383]
25502         * elf/tst-tlsalign-extern.c: New file.
25503         * elf/tst-tlsalign-extern-static.c: New file.
25504         * elf/tst-tlsalign-vars.c: New file.
25505         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
25506         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
25507         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
25508         ($(objpfx)tst-tlsalign-extern-static): Likewise.
25509         (test-xfail-tst-tlsalign-extern-static): New variable.
25511 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
25513         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
25514         Use variable name _sc_err instead of err.
25515         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
25516         instead of ret.
25517         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
25518         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
25519         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
25520         (INLINE_SYSCALL): Likewise.
25522         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
25523         * include/string.h (__strnlen): Use libc_hidden_proto.
25524         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
25525         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
25526         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
25527         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
25528         (libc_hidden_def): Undefine and redefine.
25529         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
25530         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
25531         __GI_strnlen.
25532         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
25533         libc_hidden_def.
25534         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
25536         [BZ #18469]
25537         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
25538         weak alias of __towlower.  Use libc_hidden_weak.
25539         (towupper): Rename to __towupper and define as weak alias of
25540         __towupper.  Use libc_hidden_weak.
25541         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
25542         (__towupper): Likewise.
25543         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
25544         __towlower instead of towlower.
25546 2015-06-02  Roland McGrath  <roland@hack.frob.com>
25548         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
25549         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
25551 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25553         * sysdeps/aarch64/libm-test-ulps: Update.
25555 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25557         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
25558         Define.
25559         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25561         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25562         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25563         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
25564         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
25565         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
25567 2015-06-01  Martin Sebor  <msebor@redhat.com>
25569         [BZ #18116]
25570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25571         (__setcontext): Use extended four-operand version of mtsf whenever
25572         possible.
25573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25574         (__novec_swapcontext): Likewise.
25576 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
25578         * benchtests/scripts/compare_bench.py: New file.
25579         * benchtests/scripts/import_bench.py (mean): New function.
25580         (split_list): Likewise.
25581         (do_for_all_timings): Likewise.
25582         (compress_timings): Likewise.
25584         * benchtests/scripts/import_bench.py: New file.
25585         * benchtests/scripts/validate_benchout.py: Import import_bench
25586         instead of jsonschema.
25587         (validate_bench): Remove function.
25588         (main): Use import_bench.
25590 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
25592         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
25593         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
25595 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25597         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25599 2015-05-28  Roland McGrath  <roland@hack.frob.com>
25601         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
25602         set THREAD_SELF->tid to a magic value and futex-wake it.
25603         Pass its address to the thread_exit system call.
25604         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
25605         bit is clear.
25606         * sysdeps/nacl/lowlevellock.h: New file.
25607         * sysdeps/nacl/lll_timedwait_tid.c: New file.
25609         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
25610         Add TIMEOUT to current time, don't subtract it.
25612 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
25614         [BZ #2981]
25615         [BZ #18422]
25616         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
25617         ($(objpfx)tst-audit2.out): Also depend on
25618         $(objpfx)tst-auditmod9b.so.
25619         * elf/tst-audit2.c: Include <dlfcn.h>.
25620         (calloc_called): New.
25621         (calloc): Allow to be called more than once.
25622         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
25624 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
25626         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
25627         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
25629 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
25631         * stdlib/monetary.h: Fix comment.
25633 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
25635         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
25636         Avoid using variables in #defines that might cause shadowing.
25637         (INTERNAL_VSYSCALL_CALL): Likewise.
25639 2015-05-26  Roland McGrath  <roland@hack.frob.com>
25641         * sysdeps/nacl/lll_timedlock_wait.c: New file.
25643         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
25644         * nptl/lll_timedlock_wait.c: ... to this new file.
25645         * nptl/Makefile (libpthread-routines): Add it.
25646         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
25647         * nptl/lll_timedwait_tid.c: ... to this new file.
25648         * nptl/Makefile (libpthread-routines): Add it.
25649         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
25650         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
25651         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
25652         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
25653         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
25654         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
25655         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
25656         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
25657         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
25658         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
25660 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25662         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
25663         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25664         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
25665         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
25666         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
25667         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
25668         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25669         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
25670         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25671         * sysdeps/unix/sysv/linux/tile/sysdep.h
25672         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
25673         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
25674         using vDSO syscall macro.
25676 2015-05-26  Andriy Rysin  <arysin@gmail.com>
25678         [BZ #17293]
25679         * uk_UA: Fix sorting order for Ukrainian locale
25681 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
25683         * stdlib/monetary.h: Fix comment.
25685 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25687         [BZ #18234]
25688         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
25689         st_mtim and st_ctim members.
25690         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
25691         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
25692         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
25693         (struct stat64): Likewise.
25694         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
25695         (struct stat64): Likewise.
25696         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
25697         (struct stat64): Likewise.
25699 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25701         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
25702         Define and include sysdep-vdso.h.
25703         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
25704         Likewise.
25705         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
25706         Likewise.
25707         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
25708         Define with VDSO_SYMBOL and use PTR_MANGLE.
25709         (__vdso_clock_gettime): Likewise.
25710         (__vdso_clock_getres): Likewise.
25711         (_libc_vdso_platform_setup): Likewise.
25712         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25713         Likewise.
25714         (_libc_vdso_platform_setup): Likewise.
25715         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
25716         Likewise.
25717         (__vdso_clock_gettime): Likewise.
25718         (__vdso_clock_getres): Likewise.
25719         (__vdso_get_tbfreq): Likewise.
25720         (__vdso_getcpu): Likewise.
25721         (__vdso_time): Likewise.
25722         (__vdso_sigtramp_rt64): Likewise.
25723         (__vdso_signtramp32): Likewise.
25724         (__vdso_sigtramp_rt32): Likewise.
25725         (_libc_vdso_platform_setup): Likewise.
25726         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
25727         Likewise.
25728         (__vdso_clock_gettime): Likewise.
25729         (__vdso_clock_getres): Likewise.
25730         (_libc_vdso_platform_setup): Likewise.
25731         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
25732         Likewise.
25733         (__vdso_clock_gettime): Likewise.
25734         (_libc_vdso_platform_setup): Likewise.
25735         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
25736         Likewise.
25737         (__vdso_getcpu): Likewise.
25738         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
25739         Use VDSO_SYMBOL macro to define.
25740         (__vdso_clock_gettime): Likewise.
25741         (__vdso_clock_getres): Likewise.
25742         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
25743         Likewise.
25744         (__vdso_clock_gettime): Likewise.
25745         (__vdso_clock_getres): Likewise.
25746         (__vdso_get_tbfreq): Likewise.
25747         (__vdso_getcpu): Likewise.
25748         (__vdso_time): Likewise.
25749         (__vdso_sigtramp_rt64): Likewise.
25750         (__vdso_signtramp32): Likewise.
25751         (__vdso_sigtramp_rt32): Likewise.
25752         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
25753         Likewise.
25754         (__vdso_clock_gettime): Likewise.
25755         (__vdso_clock_getres): Likewise.
25756         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
25757         Likewise.
25758         (__vdso_clock_gettime): Likewise.
25759         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25760         Likewise.
25761         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
25762         macro.
25763         (INTERNAL_VSYSCALL): Likewise.
25764         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
25765         Remove macro.
25766         (INTERNAL_VSYSCALL): Likewise.
25767         (INTERNAL_VSYSCALL_NCS): Likewise.
25768         (INTERNAL_VSYSCALL_CALL): New macro.
25769         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25770         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
25771         Likewise.
25772         (INTERNAL_VSYSCALL): Likewise.
25773         (INTERNAL_VSYSCALL_NCS): Likewise.
25774         (INTERNAL_VSYSCALL_CALL): New macro.
25775         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
25776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25777         (INLINE_VSYSCALL): Remove macro.
25778         (INTERNAL_VSYSCALL): Remove macro.
25779         (INTERNAL_VSYSCALL_NCS): Remove macro.
25780         (INTERNAL_VSYSCALL_CALL): New macro.
25781         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
25782         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
25783         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25784         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
25785         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
25786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25787         (INLINE_VSYSCALL): Remove macro.
25788         (INTERNAL_VSYSCALL): Likewise.
25789         (INTERNAL_VSYSCALL_NCS): Likewise.
25790         (INTERNAL_VSYSCALL_CALL): New macro.
25791         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
25792         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
25793         PTR_DEMANGLE on vDSO pointer.
25794         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
25795         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
25796         macro.
25797         (INTERNAL_SYSCALL): Likewise.
25798         (INTERNAL_VSYSCALL_NCS): Remove macro.
25799         (INTERNAL_VSYSCALL_CALL): New macro.
25800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
25801         Remove macro.
25802         (INTERNAL_VSYSCALL): Likewise.
25803         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
25804         sysdep-vdso.h instead of libc-vdso.h.
25805         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
25806         definition.
25807         (INLINE_VSYSCALL): Likewise.
25808         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
25809         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
25810         definition.
25811         (INLINE_VSYSCALL): Likewise.
25812         (INTERNAL_VSYSCALL): Likewise.
25813         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25814         * sysdeps/unix/sysv/linux/timespec_get.c
25815         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
25816         (timespec_get): Use ANSI prototype.
25817         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
25818         and definition for Linux.
25820 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
25822         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
25823         * include/libc-symbols.h: libmvec_hidden_* macro series added.
25825 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
25827         [BZ #2981]
25828         [BZ #18410]
25829         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
25830         for missing DT_PLTRELSZ.
25832 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
25834         Remove obsolete aliases that broke 'locale -a'
25835         [BZ #18412]
25836         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
25837         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
25838         breaking some applications that use 'locale -a' output.
25839         Change the encoding of this file from Latin-1 to ASCII to avoid
25840         other potential problems with people grepping this file.
25842 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25844         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
25845         -fasynchronous-unwind-tables.
25846         (CFLAGS-sendto.c): Likewise.
25847         (CFLAGS-sendmsg.c): Likewise.
25848         (CFLAGS-connect.c): Likewise.
25849         (CFLAGS-recvmsg.c): Likewise.
25850         (CFLAGS-recvfrom.c): Likewise.
25851         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
25852         (SOCKETCALL): New macro: non-cancellable socketcall.
25853         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
25854         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
25855         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
25856         * sysdeps/unix/sysv/linux/accept.c: New file.
25857         * sysdeps/unix/sysv/linux/bind.c: Likewise.
25858         * sysdeps/unix/sysv/linux/connect.c: Likewise.
25859         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
25860         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
25861         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
25862         * sysdeps/unix/sysv/linux/listen.c: Likewise.
25863         * sysdeps/unix/sysv/linux/recv.c: Likewise.
25864         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
25865         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
25866         * sysdeps/unix/sysv/linux/send.c: Likewise.
25867         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
25868         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
25869         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
25870         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
25871         * sysdeps/unix/sysv/linux/socket.c: Likewise.
25872         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
25873         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
25874         prototype.
25875         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
25876         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25877         instead of __internal_xxx function.
25878         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
25879         prototype.
25880         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
25881         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25882         instead of __internal_xxx function.
25883         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
25884         prototype.
25885         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
25886         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
25887         instead of __internal_xxx function.
25888         * sysdeps/unix/sysv/linux/accept.S: Remove file.
25889         * sysdeps/unix/sysv/linux/bind.S: Likewise.
25890         * sysdeps/unix/sysv/linux/connect.S: Likewise.
25891         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
25892         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
25893         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
25894         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
25895         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
25896         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
25897         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
25898         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
25899         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25900         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
25901         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
25902         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
25903         * sysdeps/unix/sysv/linux/listen.S: Likewise.
25904         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
25905         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
25906         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
25907         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
25908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
25909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
25910         * sysdeps/unix/sysv/linux/recv.S: Likewise.
25911         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
25912         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
25913         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
25914         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25915         * sysdeps/unix/sysv/linux/send.S: Likewise.
25916         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
25917         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
25918         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
25919         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
25920         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
25921         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
25922         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
25923         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
25924         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
25925         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
25926         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
25927         socketcall is implemented in GLIBC.
25929 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25931         * soft-fp/fmadf4.c: Include <libc-internal.h>.
25932         (__fma): Ignore uninitialized warnings around packing.
25933         * soft-fp/fmasf4.c: Include <libc-internal.h>.
25934         (__fmaf): Ignore uninitialized warnings around packing.
25935         * soft-fp/fmatf4.c: Include <libc-internal.h>.
25936         (__fmal): Ignore uninitialized warnings around packing.
25938         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
25939         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25940         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
25941         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
25943         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
25944         switch statement into default case.
25945         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
25947         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
25948         a conditional in forcing "inexact".
25949         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
25950         Likewise.
25952 2015-05-22  Roland McGrath  <roland@hack.frob.com>
25954         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25955         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
25956         for each INTERNAL_SYSCALL use.
25958 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
25960         [BZ #438]
25961         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
25962         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
25963         variable.
25965         [BZ #18444]
25966         * string/basename.c (basename): Rename to __basename and define as
25967         weak alias of __basename.  Use libc_hidden_weak.
25968         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
25969         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
25970         __basename instead of basename.
25971         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
25972         Remove variable.
25973         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
25975 2015-05-18  Florian Weimer  <fweimer@redhat.com>
25977         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
25978         (_IO_JUMPS_FILE_plus): New.
25979         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
25980         _IO_CAST_FIELD_ACCESS.
25981         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
25982         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
25983         * libio/freopen.c (freopen): Likewise.
25984         * libio/freopen64.c (freopen64): Likewise.
25985         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
25986         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
25987         * libio/iofwide.c (_IO_fwide): Likewise.
25988         * libio/memstream.c (open_memstream): Likewise.
25989         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25990         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25991         * libio/oldiopopen.c (_IO_old_popen): Likewise.
25993 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
25995         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
25996         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
25997         NADJ.
25998         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
25999         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26000         NADJ.
26001         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26002         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26003         NADJ.
26005         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26006         (p == 4) case.
26008         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26009         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26010         Remove variable.
26011         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26012         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26013         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26015 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26017         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26018         Adjust jump table label generation macros.
26020 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26022         * stdio-common/vfprintf.c (vfprintf): Move local variables
26023         args_malloced, specs, specs_malloced, and the code after
26024         do_positional to the printf_positional function.
26025         (printf_positional): New function.
26027 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26029         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26030         function.
26031         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26032         STEP4_TABLE, process_arg): Move macro definitions
26033         out of the vfprintf function.  (Cosmetic change only.)
26035 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26037         * benchtests/Makefile (stdio-common-bench): Define.
26038         (benchset): Add stdio-common-bench.
26039         * sprintf-inputs: New file.
26040         * sprintf-source.c: New file.
26042 2015-05-21  Andreas Schwab  <schwab@suse.de>
26044         [BZ #13028]
26045         [BZ #17053]
26046         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26047         of struct __res_state.
26048         * resolv/res_send.c (__libc_res_nsend): Likewise.
26049         (get_nsaddr): New function.
26050         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26051         statp directly.
26053 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26055         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26056         -D_POSIX_C_SOURCE=199506L.
26058         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26060         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26061         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26062         Do not mention otherwise.
26063         [POSIX] (_XOPEN_VERSION): Do not expect.
26064         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26065         [POSIX] (_POSIX2_C_BIND): Likewise.
26066         [POSIX] (_POSIX2_VERSION): Likewise.
26067         [POSIX] (_XOPEN_XPG2): Likewise.
26068         [POSIX] (_XOPEN_XPG3): Likewise.
26069         [POSIX] (_XOPEN_XPG4): Likewise.
26070         [POSIX] (_XOPEN_UNIX): Likewise.
26071         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26072         [POSIX] (_POSIX_BARRIERS): Likewise.
26073         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26074         [POSIX] (_POSIX_CPUTIME): Likewise.
26075         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26076         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26077         [POSIX] (_POSIX_SHELL): Likewise.
26078         [POSIX] (_POSIX_SPAWN): Likewise.
26079         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26080         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26081         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26082         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26083         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26084         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26085         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26086         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26087         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26088         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26089         [POSIX] (_POSIX2_PBS): Likewise.
26090         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26091         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26092         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26093         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26094         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26095         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26096         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26097         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26098         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26099         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26100         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26101         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26102         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26103         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26104         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26105         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26106         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26107         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26108         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26109         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26110         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26111         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26112         [POSIX] (_SC_2_C_BIND): Likewise.
26113         [POSIX] (_SC_2_C_VERSION): Likewise.
26114         [POSIX] (_SC_2_PBS): Likewise.
26115         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26116         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26117         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26118         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26119         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26120         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26121         [POSIX] (_SC_BARRIERS): Likewise.
26122         [POSIX] (_SC_BASE): Likewise.
26123         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26124         [POSIX] (_SC_DEVICE_IO): Likewise.
26125         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26126         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26127         [POSIX] (_SC_FD_MGMT): Likewise.
26128         [POSIX] (_SC_FIFO): Likewise.
26129         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26130         [POSIX] (_SC_FILE_LOCKING): Likewise.
26131         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26132         [POSIX] (_SC_IOV_MAX): Likewise.
26133         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26134         [POSIX] (_SC_NETWORKING): Likewise.
26135         [POSIX] (_SC_PAGE_SIZE): Likewise.
26136         [POSIX] (_SC_PASS_MAX): Likewise.
26137         [POSIX] (_SC_PIPE): Likewise.
26138         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
26139         [POSIX] (_SC_REGEXP): Likewise.
26140         [POSIX] (_SC_SHELL): Likewise.
26141         [POSIX] (_SC_SIGNALS): Likewise.
26142         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
26143         [POSIX] (_SC_SPIN_LOCKS): Likewise.
26144         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
26145         [POSIX] (_SC_USER_GROUPS): Likewise.
26146         [POSIX] (_SC_USER_GROUPS_R): Likewise.
26147         [POSIX] (_SC_STREAMS): Likewise.
26148         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
26149         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
26150         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
26151         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
26152         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
26153         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
26154         [POSIX] (_PC_FILESIZEBITS): Likewise.
26155         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
26156         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
26157         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
26158         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
26159         [POSIX] (uid_t): Likewise.
26160         [POSIX] (gid_t): Likewise.
26161         [POSIX] (off_t): Likewise.
26162         [POSIX] (pid_t): Likewise.
26163         [POSIX] (cuserid): Allow.
26164         (_SC_2_CHAR_TERM): Require constant.
26165         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
26166         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
26167         variable.
26169 2015-05-20  Roland McGrath  <roland@hack.frob.com>
26171         * sysdeps/nacl/pthread-pids.h: New file.
26172         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
26173         (create_thread): Use __nacl_get_tid to initialize PD->tid.
26175         * nptl/pthread-pids.h: New file.
26176         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
26177         * nptl/nptl-init.c: Include <pthread-pids.h>.
26178         (__pthread_initialize_minimal_internal):
26179         Call __pthread_initialize_pids instead of set_tid_address syscall.
26181         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
26182         * sysdeps/posix/usleep.c: ... here.
26184 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26186         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
26187         call_pselect6 object.
26188         [$(subdir) = io]: Remove call_sync_file_range object.
26189         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
26190         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
26191         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
26192         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
26194 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
26196         * math/s_cproj.c: Add include "math_private.h".
26197         * math/s_cprojf.c: Likewise.
26198         * math/s_cprojl.c: Likewise.
26200 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
26202         [BZ #18244]
26203         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
26204         high mantissa bit when testing whether P is a NaN.
26205         * math/libm-test.inc (remainder_test_data): Add more tests.
26206         (remquo_test_data): Likewise.
26208         [BZ #18049]
26209         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
26210         below -32, return the argument, with underflow if subnormal.
26211         * math/auto-libm-test-in: Add more tests of atanh.
26212         * math/auto-libm-test-out: Regenerated.
26214 2015-05-19  Roland McGrath  <roland@hack.frob.com>
26216         [BZ #18434]
26217         * nptl/tst-sem15.c: New file.
26218         * nptl/Makefile (tests): Add it.
26219         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
26220         s/<</>>/ to fix typo in EOVERFLOW check.
26221         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
26223 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26225         * manual/strings.texi (envz_remove): Fix typo in safety
26226         annotations.
26228 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
26229             Steve Ellcey  <sellcey@imgtec.com>
26231         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
26232         in order to avoid strict alias warnings.
26233         (iruserok_af): Ditto for ra.
26235 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
26237         [BZ #17581]
26238         * malloc/hooks.c
26239         (magicbyte): Convert to a function and avoid returning 0x01.
26240         (mem2mem_check): Avoid using a length byte equal to the magic byte.
26241         (mem2chunk_check): Fix unsigned comparisons to zero.
26242         Hoist defs of sz and magic.
26244 2015-05-19  Richard Henderson  <rth@redhat.com>
26246         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
26248         * sysdeps/alpha/fpu/libm-test-ulps: Update.
26250 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26252         [BZ #16159]
26253         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
26254         * malloc/arena.c (arena_lock): Check if arena is corrupt.
26255         (reused_arena): Find a non-corrupt arena.
26256         (heap_trim): Pass arena to unlink.
26257         * malloc/hooks.c (malloc_check_get_size): Pass arena to
26258         malloc_printerr.
26259         (top_check): Likewise.
26260         (free_check): Likewise.
26261         (realloc_check): Likewise.
26262         * malloc/malloc.c (malloc_printerr): Add arena argument.
26263         (unlink): Likewise.
26264         (munmap_chunk): Adjust.
26265         (ARENA_CORRUPTION_BIT): New macro.
26266         (arena_is_corrupt): Likewise.
26267         (set_arena_corrupt): Likewise.
26268         (sysmalloc): Use mmap if there are no usable arenas.
26269         (_int_malloc): Likewise.
26270         (__libc_malloc): Don't fail if arena_get returns NULL.
26271         (_mid_memalign): Likewise.
26272         (__libc_calloc): Likewise.
26273         (__libc_realloc): Adjust for additional argument to
26274         malloc_printerr.
26275         (_int_free): Likewise.
26276         (malloc_consolidate): Likewise.
26277         (_int_realloc): Likewise.
26278         (_int_memalign): Don't touch corrupt arenas.
26279         * malloc/tst-malloc-backtrace.c: New test case.
26281         * Makefile (summarize-tests): Fix return value on success.
26283         * manual/string.texi (Envz Functions): Add envz_remove.
26285 2015-05-18  Roland McGrath  <roland@hack.frob.com>
26287         * sysdeps/posix/opendir.c: Include <stdbool.h>.
26288         (invalid_name): New function, broken out of ...
26289         (__opendirat): ... here.  Call it.
26290         (need_isdir_precheck): New function, broken out of ...
26291         (__opendirat): ... here.  Call it.
26292         Use __fxstatat64, not __xstatat64.
26293         (opendir_oflags): New function, broken out of ...
26294         (__opendirat): ... here.  Call it.
26295         (opendir_tail): New function, broken out of ...
26296         (__opendirat): ... here.  Call it.
26297         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
26298         opendir_tail, rather than punting to __opendirat.
26299         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
26301 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26303         * .gitignore: Ignore generated *.pyc.
26305 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
26307         * include/stdio.h: Define __need_wint_t.
26308         * test-skeleton.c: Avoid `for' loop initial declaration.
26309         * nptl/tst-initializers1.c: Use test-skeleton.c.
26311 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26313         [BZ #18418]
26314         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
26316 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26318         [BZ #16352]
26319         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
26320         (__ieee754_atanh): Force underflow exception for results with
26321         small absolute value.
26322         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
26323         (__ieee754_atanhf): Force underflow exception for results with
26324         small absolute value.
26325         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
26326         (__ieee754_atanh): Force underflow exception for results with
26327         small absolute value.
26328         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
26329         (__ieee754_atanhf): Force underflow exception for results with
26330         small absolute value.
26331         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
26332         (__ieee754_atanhl): Force underflow exception for results with
26333         small absolute value.
26334         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
26335         (__ieee754_atanhl): Force underflow exception for results with
26336         small absolute value.
26337         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
26338         (__ieee754_atanhl): Force underflow exception for results with
26339         small absolute value.
26340         * math/auto-libm-test-in: Do not allow missing underflow
26341         exceptions from atanh.
26342         * math/auto-libm-test-out: Regenerated.
26344         [BZ #18221]
26345         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
26346         2**-28 as threshold for returning x or +/- 1/x.
26347         * math/auto-libm-test-in: Add more tests of tan.
26348         * math/auto-libm-test-out: Regenerated.
26350         [BZ #18220]
26351         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26352         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
26353         * math/auto-libm-test-in: Add another test of lgamma.
26354         * math/auto-libm-test-out: Regenerated.
26356 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
26358         * stdio-common/printf_fp.c (___printf_fp): Use abs.
26359         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
26360         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
26361         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
26362         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
26363         (ADD2A): Use fabs.  (SUB2A): Use fabs.
26364         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
26365         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
26366         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
26367         (log1): Use fabs.  (my_log2): Use fabs.
26368         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
26369         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
26370         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
26371         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
26372         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
26373         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
26374         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
26375         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
26376         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
26377         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
26378         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
26380 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
26382         [BZ #18217]
26383         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
26384         as threshold for returning 1 - x.
26385         * math/auto-libm-test-in: Add more tests of erfc.
26386         * math/auto-libm-test-out: Regenerated.
26388 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
26390         [BZ #18196]
26391         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
26392         threshold for large arguments.
26393         * math/auto-libm-test-in: Add another test of atan.
26394         * math/auto-libm-test-out: Regenerated.
26396         [BZ #16339]
26397         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
26398         (__log1p): Force underflow exception for results with small
26399         absolute value.
26400         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
26401         (__log1pf): Force underflow exception for results with small
26402         absolute value.
26403         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
26404         (__log1p): Force underflow exception for results with small
26405         absolute value.
26406         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
26407         (__log1pf): Force underflow exception for results with small
26408         absolute value.
26409         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
26410         (__log1pl): Force underflow exception for results with small
26411         absolute value.
26412         * math/auto-libm-test-in: Do not allow missing underflow
26413         exceptions from log1p.
26414         * math/auto-libm-test-out: Regenerated.
26416 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
26417             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26419         [BZ #16704]
26420         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
26422 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
26424         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
26425         (libmvec): New variable.
26426         * configure.ac: Added option for mathvec build.
26427         * configure: Regenerated.
26428         * mathvec/Depend: New file.
26429         * mathvec/Makefile: New file.
26430         * shlib-versions: Added libmvec.
26431         * math/Makefile: Added rule for libm.so installation.
26433         * bits/math-vector.h: New file.
26434         * bits/libm-simd-decl-stubs.h: New header.
26435         * math/Makefile (headers): Added new header
26436         libm-simd-decl-stubs.h.
26437         * math/math.h (__MATHCALL_VEC): New macro.
26439         * math/gen-libm-have-vector-test.sh: Script generates series of macros
26440         for conditions in testing functions.
26441         * math/Makefile: Added call of libm-have-vector-test.sh.
26442         * math/libm-test.inc (HAVE_VECTOR): New macros.
26444         * math/libm-test.inc: START refactored.
26445         * math/test-double.c (TEST_MATHVEC): Add define.
26446         * math/test-float.c: Likewise.
26447         * math/test-idouble.c: Likewise.
26448         * math/test-ifloat.c: Likewise.
26449         * math/test-ildoubl.c: Likewise.
26450         * math/test-ldouble.c: Likewise.
26451         * sysdeps/generic/math-tests-arch.h
26452         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
26453         architecture check.
26455         * math/test-double.c (FUNC_TEST): New macro.
26456         * math/test-float.c: Likewise.
26457         * math/test-idouble.c: Likewise.
26458         * math/test-ifloat.c: Likewise.
26459         * math/test-ildoubl.c: Likewise.
26460         * math/test-ldouble.c: Likewise.
26461         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
26463 2015-05-13  Roland McGrath  <roland@hack.frob.com>
26465         * sysdeps/nacl/fdopendir.c: New file.
26467         * dirent/scandir-tail.c: New file.
26468         * dirent/scandir64-tail.c: New file.
26469         * dirent/Makefile (routines): Add them.
26470         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
26471         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
26472         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
26473         [!SCANDIR] (SCANDIR_TAIL): New macro.
26474         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
26475         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
26476         (SCANDIRAT): Macro removed.
26477         (SCANDIR_TAIL): New macro.
26478         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
26479         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
26480         (SCANDIRAT): Just call __opendirat and __scandir_tail.
26481         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
26482         (READDIR): Macro removed.
26483         (SCANDIR_TAIL): New macro.
26484         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
26485         (SCANDIR_TAIL): New macro.
26487         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
26488         * dirent/scandir-cancel.c: ... to this new file.
26489         * dirent/Makefile (routines): Add it.
26490         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
26491         * sysdeps/unix/sysv/linux/i386/scandir64.c
26492         (SKIP_SCANDIR_CANCEL): Macro removed.
26493         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
26495         * dirent/tst-scandir.c: New file.
26496         * dirent/tst-scandir64.c: New file.
26497         * dirent/Makefile (tests): Add them.
26499 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
26501         [BZ #18409]
26502         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
26504 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26506         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
26507         list.
26509 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
26511         * benchtests/bench-strcoll.c: New benchmark.
26512         * benchtests/Makefile: Generate locales and run benchmark.
26513         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
26514         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
26515         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
26516         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
26517         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
26518         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
26519         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
26520         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
26521         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
26522         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
26523         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
26524         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
26525         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
26526         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
26527         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
26528         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
26529         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
26530         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
26531         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
26532         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
26533         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
26534         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
26535         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
26536         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
26538 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
26540         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
26541         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26543 2015-05-12  Roland McGrath  <roland@hack.frob.com>
26545         * posix/uname-values.h: New file.
26546         * posix/uname.c: Include that instead of <config-name.h>.
26547         * sysdeps/nacl/uname-values.h: New file.
26548         * sysdeps/arm/nacl/uname-values.h: New file.
26550 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
26552         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
26553         splitting into fields.
26555 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
26557         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
26558         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
26559         * locale/localeinfo.h: Add enum collation_encoding_type.
26560         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
26561         * programs/ld-collate.c (collate_output): Add encoding type info.
26562         * string/strcoll_l.c (STRDIFF): New function.
26563         * (STRCOLL): Use STRDIFF to skip over equal prefix.
26564         * wcsmbs/wcscoll_l.c: Define STRDIFF.
26566 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
26568         [BZ #18397]
26569         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
26570         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
26571         <fpu_control.h> instead of <math/fpu_control.c>.
26572         * sysdeps/mips/mips32/fpu/Makefile: New file.
26574 2015-05-11  Andreas Schwab  <schwab@suse.de>
26576         [BZ #18007]
26577         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
26578         nss_endgrent.
26579         (_nss_compat_endgrent): Call nss_endgrent.
26580         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
26581         nss_endpwent.
26582         (_nss_compat_endpwent): Call nss_endpwent.
26583         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
26584         needent, call nss_setspent only if non-zero.
26585         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
26586         (internal_endspent): Don't call nss_endspent.
26587         (_nss_compat_endspent): Call nss_endspent.
26588         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
26589         Remove.  All uses removed.
26590         (internal_setent): Remove parameter stayopen, add parameter
26591         stream.  Use it instead of global variable.
26592         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
26593         (internal_endent, internal_getent): Add parameter stream.  Use it
26594         instead of global variable.
26595         (CONCAT(_nss_files_end,ENTNAME))
26596         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
26597         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
26598         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
26599         uses removed.
26600         (internal_setent, internal_endent): Add parameter stream.  Use it
26601         instead of global variable.
26602         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
26603         stream.
26604         (get_next_alias): Add parameter stream.
26605         (_nss_files_getaliasent_r): Pass global stream.
26606         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
26607         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
26608         (_nss_files_gethostbyname4_r): Pass local stream to
26609         internal_setent, internal_getent and internal_endent.  Remove
26610         locking.
26612 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26614         * tst-strfmon1.c (tests): Update expected currency symbol.
26616 2015-05-08  Roland McGrath  <roland@hack.frob.com>
26618         * sysdeps/nacl/gethostname.c: New file.
26620 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
26622         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
26623         and sinh.
26624         * math/auto-libm-test-out: Regenerated.
26625         * sysdeps/i386/fpu/libm-test-ulps: Update.
26626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26628 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
26630         [BZ #18125]
26631         * stdlib/tst-setcontext3.c: New file.
26632         * stdlib/tst-setcontext3.sh: New file.
26633         * stdlib/Makefile (tests): Add tst-setcontext3.
26634         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
26635         to verify test program created output file.
26636         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
26637         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
26638         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
26639         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
26641 2015-05-06  Roland McGrath  <roland@hack.frob.com>
26643         [BZ #18383]
26644         * elf/tst-tlsalign.c: New file.
26645         * elf/tst-tlsalign-static.c: New file.
26646         * elf/tst-tlsalign-lib.c: New file.
26647         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
26648         (tests-static): Add tst-tlsalign-static.
26649         (modules-names): Add tst-tlsalign-lib.
26650         (test-xfail-tst-tlsalign): New variable.
26651         (test-xfail-tst-tlsalign-static): New variable.
26653         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
26654         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
26656 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
26658         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
26659         csqrt, erfc, sin and sincos.
26660         * math/auto-libm-test-out: Regenerated.
26661         * sysdeps/i386/fpu/libm-test-ulps: Update.
26662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26664 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26666         * sysdeps/aarch64/libm-test-ulps: Update.
26668 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
26670         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
26671         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
26672         * math/auto-libm-test-out: Regenerated.
26673         * sysdeps/i386/fpu/libm-test-ulps: Update.
26674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26676 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26678         [BZ #18265]
26679         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
26680         (wcsncpy): Likewise.
26682 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26684         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26685         Assume __ASSUME_FALLOCATE is always true.
26686         * sysdeps/unix/sysv/linux/posix_fallocate64.c
26687         (__posix_fallocate64_l64): Likewise.
26688         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
26689         (posix_fallocate): Likewise.
26690         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
26691         (__posix_fallocate64_l64): Likewise.
26692         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26693         [!__ASSUME_FALLOCATE]: Add comment.
26695 2015-05-05  Florian Weimer  <fweimer@redhat.com>
26697         * sysdeps/unix/sysv/linux/i386/Makefile
26698         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
26699         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
26700         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26701         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
26702         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
26703         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
26704         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
26706 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
26708         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
26709         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
26710         tgamma.
26711         * math/auto-libm-test-out: Regenerated.
26712         * sysdeps/i386/fpu/libm-test-ulps: Update.
26713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26715 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26717         * math/auto-libm-test-in: Add more tests of tgamma.
26718         * math/auto-libm-test-out: Regenerated.
26719         * sysdeps/i386/fpu/libm-test-ulps: Update.
26720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26722         * math/auto-libm-test-in: Add more tests of tanh.
26723         * math/auto-libm-test-out: Regenerated.
26724         * sysdeps/i386/fpu/libm-test-ulps: Update.
26725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26727         * math/auto-libm-test-in: Add more tests of tan.
26728         * math/auto-libm-test-out: Regenerated.
26729         * sysdeps/i386/fpu/libm-test-ulps: Update.
26730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26732         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
26733         * math/auto-libm-test-out: Regenerated.
26734         * sysdeps/i386/fpu/libm-test-ulps: Update.
26735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26737         * math/auto-libm-test-in: Add another test of pow.
26738         * math/auto-libm-test-out: Regenerated.
26739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26741         * math/auto-libm-test-in: Add more tests of lgamma.
26742         * math/auto-libm-test-out: Regenerated.
26743         * sysdeps/i386/fpu/libm-test-ulps: Update.
26744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26746         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
26747         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
26754         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
26755         Elf64_Chdr structs and ELFCOMPRESS constants.
26757 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
26759         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
26760         expm1.
26761         * math/auto-libm-test-out: Regenerated.
26762         * sysdeps/i386/fpu/libm-test-ulps: Update.
26763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26765         * math/auto-libm-test-in: Add more tests of erf and erfc.
26766         * math/auto-libm-test-out: Regenerated.
26767         * sysdeps/i386/fpu/libm-test-ulps: Update.
26768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26770 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26772         * config.h.in (HAVE_AARCH64_BE): Add.
26774 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
26776         * math/auto-libm-test-in: Add more tests of csqrt.
26777         * math/auto-libm-test-out: Regenerated.
26778         * sysdeps/i386/fpu/libm-test-ulps: Update.
26779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26781         * math/auto-libm-test-in: Add more tests of cosh and sinh.
26782         * math/auto-libm-test-out: Regenerated.
26783         * sysdeps/i386/fpu/libm-test-ulps: Update.
26784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26786         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
26788 2015-04-29  Roland McGrath  <roland@hack.frob.com>
26790         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
26791         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
26793         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
26794         (euidaccess, eaccess): Define as weak aliases.
26796         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
26797         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
26798         but __suseconds_t is often 'long int' so some sources assume that
26799         type is being used (e.g. they use %ld to print tv_usec).
26801 2015-04-29  Florian Weimer  <fweimer@redhat.com>
26803         [BZ #18007]
26804         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
26805         (CVE-2014-8121)
26806         * nss/tst-nss-getpwent.c: New file.
26807         * nss/Makefile (tests): Add new test.
26809 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
26811         [BZ #18346]
26812         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
26813         exponents less than 48 as cases where high part of mantissa needs
26814         examining to determine whether argument is integral.
26815         * math/libm-test.inc (round_test_data): Add more tests.
26817 2015-04-28  Mark Wielaard  <mjw@redhat.com>
26819         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
26821 2015-04-27  David S. Miller  <davem@davemloft.net>
26823         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
26824         __tls_get_addr.
26825         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26827 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
26829         [BZ#18333]
26830         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
26832 2015-04-27  Florian Weimer  <fweimer@redhat.com>
26834         [BZ#18333]
26835         * time/tzset.c (parse_tzname): Return error on memory allocation
26836         failure.
26837         * test-skeleton.c (struct temp_name_list): Change type of name
26838         member to non-const.
26839         (add_temp_file): Create a copy of the file name.
26840         (delete_temp_files): Deallocate memory.
26841         (create_temp_file): Add comment.
26843 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26845         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
26846         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
26848 2015-04-24  Roland McGrath  <roland@hack.frob.com>
26850         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
26851         * sysdeps/arm/configure: Regenerated.
26853 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26855         [BZ #17715]
26856         * time/tzfile.c (__tzfile_read): Check for large values of
26857         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
26858         * time/tzset.c (__tzstring_len): New function, based on the old
26859         __tzstring function.
26860         (__tzstring): Call __tzstring_len.
26861         (parse_tzname): New helper function extracted from
26862         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
26863         the input string.
26864         (parse_offset): New helper function extracted from
26865         __tzset_parse_tz.  Replace switch with fallthrough with
26866         initialization before sscanf.
26867         (parse_rule): Likewise.
26868         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
26869         new-style function definition.
26870         * timezone/Makefile (tests): Add tst-tzset.
26871         (tst-tzset.out): Dependencies on time zone files.
26872         (tst-tzset-ENV): Set TZDIR.
26873         (testdata/XT%): Copy crafted time zone files.
26874         * timezone/README: Mention crafted time zone files.
26875         * timezone/testdata/XT1, timezone/testdata/XT2,
26876         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
26877         files.
26878         * timezone/tst-tzset.c: New test.
26880 2015-04-24  Florian Weimer  <fweimer@redhat.com>
26882         * Makeconfig (+gccwarn): Remove -Winline.
26884 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26886         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
26888 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
26890         * NEWS: Mention sysconf() cache information support for s390.
26891         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
26893 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
26895         * math/k_casinh.c (__kernel_casinh): Use __copysign.
26896         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
26897         (__nearbyint): Likewise.
26898         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
26899         (copysignl): Likewise.
26901 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
26903         [BZ #18287]
26904         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
26905         based on padding.  (CVE-2015-1781)
26907 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26909         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
26910         libc-vdso.h.
26911         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
26912         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
26913         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
26914         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
26915         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
26916         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
26917         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
26918         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26919         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26920         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
26921         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26922         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26923         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26924         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
26925         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
26926         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
26927         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
26928         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
26929         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
26930         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
26931         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
26932         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
26933         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
26935 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
26937         * stdlib/setenv.c (__add_to_environ):
26938         Dump core quickly if setenv (..., NULL, ...) is called.
26939         This time, do it the right way, and pacify GCC with a pragma.
26941 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26943         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
26944         IMAP->l_prev cannot be null, and #if out the code for the contrary
26945         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
26946         believe that NS (&_dl_ns[NSID]) could point outside the array.
26948         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
26949         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
26950         before using NSID as an index.
26952 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
26954         [BZ #17825]
26955         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
26956         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
26957         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26959 2015-04-17  Roland McGrath  <roland@hack.frob.com>
26961         Add preliminary port to Google Native Client on ARM.
26962         * abi-tags (.*-.*-nacl.*): New entry.
26963         * sysdeps/arm/nacl: New directory.
26964         * sysdeps/nacl: New directory.
26966 2015-04-16  David S. Miller  <davem@davemloft.net>
26968         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
26969         lowlevellock-futex.h
26971 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
26973         * sysdeps/tile/configure.ac: New file.
26974         * sysdeps/tile/configure: Regenerated.
26976 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26978         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
26979         conditionals for weak_alias and libc_hidden_weak.
26980         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
26981         libc_hidden_weak and weak_alias.
26982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
26983         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
26984         and weak_alias for static one.
26986 2015-04-15  David S. Miller  <davem@davemloft.net>
26988         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26990 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26992         [BZ #18206]
26993         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
26994           Use signed comparision instead of substraction to avoid
26995           overflow bug.
26996         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
26997           Take the sign of ret.
26998         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
26999           Do not expect precise return values. Only the sign matters.
27000         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27001         * wcsmbs/test-wcsncmp.c: New File.
27002         * string/test-strncmp.c: Add wcsncmp support.
27004 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27006         [BZ #6792]
27007         * math/w_log1p.c: New file.
27008         * math/w_log1pf.c: Likewise.
27009         * math/w_log1pl.c: Likewise.
27010         * math/Makefile (libm-calls): Add w_log1p.
27011         * math/s_log1pl.c (log1pl): Remove weak_alias.
27012         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27013         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27014         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27015         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27016         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27017         [NO_LONG_DOUBLE] (log1pl): Likewise.
27018         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27019         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27020         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27021         (log1p): Remove long_double_symbol.
27022         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27023         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27024         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27025         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27026         remove weak_alias for corresponding log1p function.
27027         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27028         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27029         * sysdeps/ia64/fpu/w_log1p.c: New file.
27030         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27031         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27032         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27034 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27036         [BZ #18247]
27037         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27038         decimal exponent by 1.
27039         * stdlib/tst-strtod-round-data: Add more tests.
27040         * stdlib/tst-strtod-round.c (tests): Regenerated.
27042 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27044         * math/auto-libm-test-in: Add more tests of clog and clog10.
27045         * math/auto-libm-test-out: Regenerated.
27046         * sysdeps/i386/fpu/libm-test-ulps: Update.
27047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27049 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27051         * Makeconfig (module-cppflags): Exclude all .v.i files.
27052         (skip-module-cppflags): Variable removed.
27054         * configure.ac (libc_config_ok): Initialize before reading
27055         preconfigure scripts, not after.
27056         * configure: Regenerated.
27058         * test-skeleton.c (TIMEOUT): Move #define to top level.
27059         (main): Grok environment variable TEST_DIRECT.  If set, print
27060         test expectation details into that file and then behave as if
27061         given --direct.
27063 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27065         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27066         warning on 32-bit.
27068 2015-04-08  David S. Miller  <davem@davemloft.net>
27070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27072 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27074         * math/auto-libm-test-in: Add more tests of atanh.
27075         * math/auto-libm-test-out: Regenerated.
27076         * sysdeps/i386/fpu/libm-test-ulps: Update.
27077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27079         * math/auto-libm-test-in: Add more tests of atan.
27080         * math/auto-libm-test-out: Regenerated.
27081         * sysdeps/i386/fpu/libm-test-ulps: Update.
27082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27084 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27086         * elf/pldd.c (main): Rewrite to use struct
27087         scratch_buffer instead of extend_alloca.
27088         * elf/pldd-xx.c (find_maps): Likewise.
27089         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27090         <alloca.h>.
27091         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27092         scratch_buffer instead of extend_alloca.
27093         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27094         grp/compat-initgroups.c.
27095         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27096         Rewrite to use struct scratch_buffer instead of extend_alloca.
27097         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27098         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27100 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27102         * math/auto-libm-test-in: Add more tests of cbrt.
27103         * math/auto-libm-test-out: Regenerated.
27104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27106         * math/auto-libm-test-in: Add more tests of cabs.
27107         * math/auto-libm-test-out: Regenerated.
27108         * sysdeps/i386/fpu/libm-test-ulps: Update.
27109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27111         [BZ #18210]
27112         [BZ #18211]
27113         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27114         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27115         computations.
27116         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27117         clog10.
27118         * math/auto-libm-test-out: Regenerated.
27119         * sysdeps/i386/fpu/libm-test-ulps: Update.
27120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27122         [BZ #18197]
27123         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27124         (atan): Set FE_TONEAREST mode for internal computations.
27125         * math/auto-libm-test-in: Add more tests of atan.
27126         * math/auto-libm-test-out: Regenerated.
27128 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27130         [BZ #17930]
27131         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27133 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27135         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
27137 2015-04-07  Florian Weimer  <fweimer@redhat.com>
27139         * include/scratch_buffer.h: New file.
27140         * malloc/scratch_buffer_grow.c: Likewise.
27141         * malloc/scratch_buffer_grow_preserve.c: Likewise.
27142         * malloc/scratch_buffer_set_array_size.c: Likewise.
27143         * malloc/tst-scratch_buffer.c: Likewise.
27144         * malloc/Makefile (routines): Add scratch_buffer_grow.
27145         (tests): Add test case.
27146         * malloc/Versions (GLIBC_PRIVATE): Export
27147         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
27148         __libc_scratch_buffer_set_array_size.
27150 2015-04-06  Richard Henderson  <rth@redhat.com>
27152         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
27153         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27155         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
27156         unsigned int before printing.
27158 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27160         [BZ #17596]
27161         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
27162         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
27164 2015-04-02  Florian Weimer  <fweimer@redhat.com>
27166         * include/libc-internal.h (libc_max_align_t): Define.
27168 2015-04-02  Andreas Schwab  <schwab@suse.de>
27170         [BZ #16850]
27171         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
27173 2015-04-02  Mel Gorman  <mgorman@suse.de>
27175         [BZ #17195]
27176         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
27177         as well as the main arena.
27179 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27181         [BZ #18185]
27182         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
27183         sharing L2 cache to 2 for Silvermont/Knights Landing.
27185 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27187         [BZ #17711]
27188         * config.make.in (have-protected-data): New.
27189         * configure.ac: Check linker support for protected data symbol.
27190         * configure: Regenerated.
27191         * elf/Makefile (modules-names): Add tst-protected1moda and
27192         tst-protected1modb if $(have-protected-data) is yes.
27193         (tests): Add tst-protected1a and tst-protected1b if
27194         $(have-protected-data) is yes.
27195         ($(objpfx)tst-protected1a): New.
27196         ($(objpfx)tst-protected1b): Likewise.
27197         (tst-protected1modb.so-no-z-defs): Likewise.
27198         * elf/tst-protected1a.c: New file.
27199         * elf/tst-protected1b.c: Likewise.
27200         * elf/tst-protected1mod.h: Likewise.
27201         * elf/tst-protected1moda.c: Likewise.
27202         * elf/tst-protected1modb.c: Likewise.
27204 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
27206         [BZ #17711]
27207         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
27208         indicates it is called from do_lookup_x on relocation against
27209         protected data, skip the data definion in the executable from
27210         copy reloc.
27211         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
27212         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
27213         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
27214         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
27215         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
27216         otherwise to 0.
27217         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27218         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
27219         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
27220         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
27221         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
27222         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
27224 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
27226         * sysdeps/nptl/pthread.h: Remove duplicate definition of
27227         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
27229 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
27231         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
27232         THREAD_SETMEM_NC.
27233         * sysdeps/x86_64/nptl/tls.h: Ditto.
27235 2015-03-27  Roland McGrath  <roland@hack.frob.com>
27237         * dlfcn/tststatic.c (main): Converted to ...
27238         (do_test): ... this.
27239         (TEST_FUNCTION): New macro.
27240         Include test-skeleton.c.
27242 2015-03-26  Alan Modra  <amodra@gmail.com>
27244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
27245         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
27246         zero for undefined weak.
27247         (elf_machine_plt_conflict): Similarly.
27249 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27251         * math/auto-libm-test-in: Add more tests of acosh, asinh and
27252         atanh.
27253         * math/auto-libm-test-out: Regenerated.
27254         * sysdeps/i386/fpu/libm-test-ulps: Update.
27255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27257         * math/auto-libm-test-in: Add another test of asin.
27258         * math/auto-libm-test-out: Regenerated.
27259         * sysdeps/i386/fpu/libm-test-ulps: Update.
27260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27262         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
27263         Remove macro.
27264         (LLL_EBX_REG): Likewise.
27265         (LLL_ENTER_KERNEL): Likewise.
27267         * math/auto-libm-test-in: Add more tests of asin.
27268         * math/auto-libm-test-out: Regenerated.
27269         * sysdeps/i386/fpu/libm-test-ulps: Update.
27270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27272         [BZ #18138]
27273         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
27274         libc_do_syscall_args): New structure.
27275         (INTERNAL_SYSCALL_MAIN_0): New macro.
27276         (INTERNAL_SYSCALL_MAIN_1): Likewise.
27277         (INTERNAL_SYSCALL_MAIN_2): Likewise.
27278         (INTERNAL_SYSCALL_MAIN_3): Likewise.
27279         (INTERNAL_SYSCALL_MAIN_4): Likewise.
27280         (INTERNAL_SYSCALL_MAIN_5): Likewise.
27281         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
27282         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
27283         Replace conditional definitions by conditional definitions of ....
27284         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
27285         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27286         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
27287         (libpthread-sysdep_routines): Add libc-do-syscall.
27288         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
27289         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
27290         to __NR_futex not 240.
27292 2015-03-25  Alan Modra  <amodra@gmail.com>
27294         * NEWS: Advertise TLS optimization.
27295         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
27296         (DT_PPC_NUM): Increment.
27297         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
27298         (CHECK_STATIC_TLS): Use here.
27299         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
27300         TLS descriptors.
27301         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27302         * sysdeps/powerpc/dl-tls.c: New file.
27303         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
27304         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
27305         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
27306         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
27307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
27308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
27309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
27311 2015-03-25  Alan Modra  <amodra@gmail.com>
27313         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
27314         for overlapping .opd entries" to "support...".
27315         * sysdeps/powerpc/powerpc64/configure: Regenerate
27317 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
27319         * math/auto-libm-test-in: Add more tests of acos.
27320         * math/auto-libm-test-out: Regenerated.
27321         * sysdeps/i386/fpu/libm-test-ulps: Update.
27322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27324         * math/auto-libm-test-in: Add more tests of expm1.
27325         * math/auto-libm-test-out: Regenerated.
27326         * sysdeps/i386/fpu/libm-test-ulps: Update.
27327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27329 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
27331         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27332         * math/auto-libm-test-out: Regenerated.
27333         * sysdeps/i386/fpu/libm-test-ulps: Update.
27334         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27336         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27339         * math/auto-libm-test-in: Add more tests of log2.
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 2015-03-23  Roland McGrath  <roland@hack.frob.com>
27346         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
27347         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
27348         _IO_IS_APPENDING bit in READ_WRITE instead.
27350 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27352         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
27353         (__determine_cpumask_size): Replace extend_alloca with a
27354         variable-length array.  Do not treat res == 0 as an error.
27356 2015-03-23  Florian Weimer  <fweimer@redhat.com>
27358         [BZ #18100]
27359         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
27360         and integer overflow.
27361         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
27362         (main): Add integer overflow tests.
27363         * manual/pattern.texi (Calling Wordexp): Document additional use
27364         for WRDE_SYNTAX.
27366 2015-03-23  Alan Modra  <amodra@gmail.com>
27368         * config.h.in: Remove HAVE_ASM_PPC_REL16.
27369         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
27370         and false branch of conditional.
27371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27372         Likewise.
27374 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
27376         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
27377         libc-modules.h
27378         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
27379         unused declaration of _hurd_intr_rpc_msg_in_trap.
27380         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
27381         defined instead of whether it is non-zero.
27382         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
27383         input constraint instead of both input and output constraint.  Use ecx
27384         clobber instead of %ecx.
27385         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
27386         mutex_unlock): Use a statement expression instead of an expression list.
27387         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
27388         type to vm_size_t instead of vm_address_t.
27389         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
27390         defined instead of whether it is non-zero.
27391         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
27392         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
27393         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
27394         comparisons with mapaddr.
27395         * nscd/nscd-client.h: Include <time.h>.
27396         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
27397         9th parameter to __vm_region instead of int.
27398         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
27399         * scripts/check-local-headers.sh (exclude): Add device/,
27400         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
27401         cthreads.h.
27403 2015-03-19  Roland McGrath  <roland@hack.frob.com>
27405         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
27406         to account for alignment padding.
27407         * sysdeps/arm/memmove.S: Likewise.
27409 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
27411         * sysdeps/unix/sysv/linux/generic/README: New file.
27413 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
27415         [BZ #18138]
27416         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
27417         (futex_abstimed_wait)
27418         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
27419         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
27420         of lll_futex_timed_wait.
27422 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
27424         [BZ #17542]
27425         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
27427 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
27429         [BZ #17090]
27430         [BZ #17620]
27431         [BZ #17621]
27432         [BZ #17628]
27433         * NEWS: Update.
27434         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
27435         entries with Static TLS too.  Skip entries past the end of the
27436         allocated DTV, from Alan Modra.
27437         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
27438         Static TLS DTV entry set up from...
27439         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
27440         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
27441         * nptl/allocatestack.c (init_one_static_tls): ... and here...
27442         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
27443         for Static TLS.
27444         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
27445         that the slot we find is associated with the given map before
27446         using its generation count.
27447         * nptl_db/db_info.c: Include ldsodefs.h.
27448         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
27449         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
27450         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
27451         (link_map::l_tls_offset): New struct field.
27452         (dtv_t::counter): Likewise.
27453         (rtld_global): New struct.
27454         (_rtld_global): New rtld variable.
27455         (dl_tls_dtv_slotinfo_list): New rtld global field.
27456         (dtv_slotinfo_list): New struct.
27457         (dtv_slotinfo): Likewise.
27458         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
27459         (td_lookup): Rename to...
27460         (td_mod_lookup): ... this.  Use new mod parameter instead of
27461         LIBPTHREAD_SO.
27462         * nptl_db/td_thr_tlsbase.c: Include link.h.
27463         (dtv_slotinfo_list, dtv_slotinfo): New functions.
27464         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
27465         addresses even if the DTV is out of date or missing them.
27466         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
27467         index zero-length arrays.
27468         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
27469         (td_lookup): Make it a macro implemented in terms of...
27470         (td_mod_lookup): ... this declaration.
27471         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
27472         (DB_MAIN_VARIABLE): Likewise.
27474 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
27476         [BZ #18134]
27477         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27479 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
27481         * stdlib/setenv.c (__add_to_environ): Revert previous change.
27483 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
27485         [BZ #18128]
27486         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
27487         (atomic_add, atomic_increment_and_test)
27488         (atomic_decrement_and_test): Fix 64-bit arithmetic.
27490 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
27492         * stdlib/setenv.c (__add_to_environ):
27493         Dump core quickly if setenv (..., NULL, ...) is called.
27495 2015-03-13  Roland McGrath  <roland@hack.frob.com>
27497         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
27498         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
27499         all the necessary asm magic in one place.
27500         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
27501         using those.
27503 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
27505         [BZ #14906]
27506         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
27507         traced file mtime. Use consistent log message.
27508         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27509         (register_traced_file): Call install_watches. Always set mtime.
27510         (invalidate_cache): Iterate over all trace files. Call install_watches.
27511         (inotify_check_files): Don't inline. Handle watching parent
27512         directories and configuration file movement in and out.
27513         (handle_inotify_events): New function.
27514         (main_loop_poll): Call handle_inotify_events.
27515         (main_loop_epoll): Likewise.
27516         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
27517         (struct traced_file): Use array of inotify fds. Add parent directory,
27518         and basename.
27519         (struct database_dyn): Remove unused file_mtime.
27520         (init_traced_file): New inline function.
27521         (define_traced_file): New macro.
27522         * nss/nss_db/db-init.c: Use define_traced_file.
27523         (_nss_db_init): Use init_traced_file.
27524         * nss/nss_files/files-init.c: Use define_traced_file.
27525         (_nss_files_init): Use init_traced_file.
27527 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
27529         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
27530         [_LIBC]: Do not include <stdlib.h>.
27531         [!_LIBC] (abort): Remove declaration.
27532         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
27533         _FP_STATIC_ASSERT instead of conditionally calling abort.
27534         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
27535         (_FP_EXTEND_CNAN): Likewise.
27536         (FP_TRUNC): Likewise.
27537         (__FP_CLZ): Likewise.
27538         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
27540 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
27542         * manual/string.texi (XPG basename): Fix prototype.
27544 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27546         [BZ #18080]
27547         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
27548         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27549         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
27550         (__setcontext): Likewise.
27551         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
27552         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
27553         Call rt_sigprocmask syscall one time to set new signal mask
27554         and retrieve the current signal mask instead of two calls.
27555         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
27556         (__swapcontext): Likewise.
27557         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
27558         * stdlib/tst-setcontext2.c: New file.
27560 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27562         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27564 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
27566         [BZ #18093]
27567         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
27568         the wrong size.
27570 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27572         [BZ #18043]
27573         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
27575 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27577         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
27578         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
27579         Remove define.
27580         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
27581         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
27582         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
27583         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
27584         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
27585         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
27586         define.
27587         * nptl_db/td_symbol_list.c (td_lookup): Remove
27588         HAVE_ASM_GLOBAL_DOT_NAME code.
27589         * sysdeps/powerpc/powerpc64/configure.ac: Remove
27590         HAVE_ASM_GLOBAL_DOT_NAME check.
27591         * sysdeps/powerpc/powerpc64/configure: Regenerate.
27592         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
27593         (DOT_LABEL): Remove define.
27594         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
27595         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
27596         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
27597         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
27598         (__TLS_GET_ADDR): Likewise.
27599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
27600         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
27602 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
27604         [BZ #18111]
27605         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
27606         (_FPU_SETCW): Initialize cw from fpsr before storing.
27607         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
27608         (fesetexceptflag): Rewrite using fpu_control.h.
27609         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
27611 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
27613         [BZ #18110]
27614         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
27615         asms.
27616         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27618 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
27620         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
27621         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
27622         abort.
27623         (_FP_FMA): Likewise.
27624         (_FP_DIV): Likewise.
27626 2015-03-10  Roland McGrath  <roland@hack.frob.com>
27628         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
27629         with 0 in that case.
27630         * Makefile (summarize-tests): New canned sequence, factored out of
27631         commands for targets tests and xtests.  Display summary lines that
27632         don't start with PASS: or XFAIL: rather than ones that do start with
27633         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
27634         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
27635         do start with ERROR: or FAIL:.
27636         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
27637         (except for [$(build-shared) = yes]).
27638         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
27639         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
27640         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
27641         * nptl/Makefile: Revert 2015-03-04 changes.
27642         [$(CXX) empty] (tests-unsupported): New variable.
27643         * debug/Makefile: Likewise.
27645         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
27646         gnulib file.  Replace __attribute with __attribute__ throughout.
27648 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
27650         * sysdeps/hppa/fpu/libm-test-ulps: Update.
27652 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27654         [BZ #18104]
27655         * math/auto-libm-test-in: Add another test of pow.
27656         * math/auto-libm-test-out: Regenerated.
27658 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27660         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
27661         $(config-cflags-nofma).
27663 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
27665         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
27666         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
27667         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
27668         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
27669         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
27670         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
27671         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
27672         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
27673         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
27674         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
27675         Add comment on closing #endif.
27677 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27679         * posix/wordexp.c (CHAR_IN_SET): New macro.
27680         (parse_param): Use it.
27682 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27684         * sysdeps/powerpc/fpu/libm-test-ulps: update.
27686 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27688         [BZ #18043]
27689         * posix/wordexp.c (parse_param): Fix buffer overflow.
27690         * posix/wordexp-test.c (test_case): Add test case.
27692 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27694         [BZ #18042]
27695         * posix/wordexp.c (parse_backtick): Fix off-by-one.
27696         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
27698 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
27700         [BZ #18043]
27701         * posix/wordexp-test.c (test_case): Add test for BZ #18043
27702         (do_bz18043): Delete.
27703         (at_page_end): New.
27704         (testit): Refactor to have words at the edge of unreadable page.
27706 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27708         [BZ #16734]
27709         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
27710         Cleanup read-only streams as well.
27711         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
27713 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27715         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
27716         <bits/libc-lockP.h>
27718 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
27720         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
27721         on [__KERNEL__].
27722         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
27723         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
27724         * soft-fp/op-common.h (_FP_DECL): Likewise.
27726 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
27728         * elf/ifuncdep2.c (global): Replace
27729         __attribute__((visibility("protected"))) with
27730         asm (".protected global").
27731         * elf/ifuncmod1.c (global): Likewise.
27732         * elf/ifuncmod5.c (global): Likewise.
27734 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
27736         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
27737         <asm/sfp-machine.h> instead of <sfp-machine.h>.
27739 2015-03-06  Roland McGrath  <roland@hack.frob.com>
27741         * manual/install.texi (Configuring and compiling):
27742         Document test-wrapper-env-only.
27743         * INSTALL: Regenerated.
27745 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27747         [BZ #18043]
27748         * posix/wordexp.c (parse_param): Fix buffer overflow.
27749         * posix/wordexp-test.c (do_bz18043): Add test case.
27751 2015-03-06  Vincent Bernat  <vincent@bernat.im>
27753         * time/tst-strptime2.c (do_test): Ensure failing tests are
27754         reported correctly.
27755         * time/tst-strptime3.c (do_test): Likewise.
27757 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
27759         Fix aio_error thread-safety.
27760         * sysdeps/pthread/aio_error.c: New file
27761         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
27762         synchronization.
27764 2015-03-06  Florian Weimer  <fweimer@redhat.com>
27766         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
27767         (group_number, vfprintf): Use it.
27768         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
27769         (JUMP, REF): Use it.
27770         (WORK_BUFFER_SIZE): New enum constant.
27771         (process_arg, vfprintf): Use it.
27773 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
27775         * manual/errno.texi (Error Messages): Complete example function
27776         by adding missing #define.
27777         (program_invocation_name): Add statement indicating GNU
27778         extension and reference which header file declares the variable.
27779         (program_invocation_short_name): Likewise.
27781 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
27783         * manual/errno.texi (Error Messages): Delete strerror ISO C89
27784         compatibility note.
27786 2015-03-05  Roland McGrath  <roland@hack.frob.com>
27788         * Makeconfig (test-wrapper-env-only): New variable.
27789         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
27790         then use that with $(test-wrapper-env-only) rather than using
27791         $(test-wrapper-env) $(run-program-env) $($*-ENV).
27793 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27795         [BZ #18082]
27796         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
27797         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
27798         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
27799         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
27800         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
27801         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
27802         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
27803         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
27804         Likewise.
27805         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
27806         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
27807         Likewise.
27808         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
27809         Likewise.
27810         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
27811         Likewise.
27812         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
27813         Likewise.
27814         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
27815         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
27816         Likewise.
27817         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
27818         Likewise.
27819         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
27820         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
27822 2015-03-04  Roland McGrath  <roland@hack.frob.com>
27824         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
27825         (ETH_ALEN): New macro.
27826         (struct ether_addr): Use it for length of ether_addr_octet.
27828         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
27829         (setdb): Don't call __nss_configure_lookup for "rpc".
27830         (do_test): Don't call test_rpc.
27831         (output_rpcent, test_rpc): Functions moved ...
27832         * sunrpc/test-rpcent.c: ... to this new file.
27833         * sunrpc/Makefile (tests): Add it.
27835         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
27836         __xpg_sigpause.
27837         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
27838         * nptl/tst-signal6.c: Likewise.
27839         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
27840         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
27842         * configure.ac (libc_cv_cxx_link_ok): New check.
27843         Reset CXX to empty if it fails to link.
27844         * configure: Regenerated.
27845         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
27846         bug-atexit3-lib only if $(CXX) is nonempty.
27847         * nptl/Makefile (tests): Likewise for tst-cancel24.
27848         (tests, tests-static): Likewise for tst-cancel24-static.
27849         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
27850         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
27851         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
27852         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
27854 2015-03-04  Andreas Schwab  <schwab@suse.de>
27856         [BZ #17631]
27857         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
27858         for non-GCC compilers.
27859         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27860         Likewise.
27862 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27864         [BZ #17776]
27865         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
27866         integer before bitwise and assembly operations.
27867         (feclearexcept): Likewise.
27868         * math/test-fenvinline.c: New file.
27869         * math/Makefile: Add test-fenvinline test.
27871 2015-03-03  Alan Modra  <amodra@gmail.com>
27873         [BZ #16512]
27874         * scripts/localplt.awk: Strip off symbol version.
27875         * NEWS: Mention bug fix.
27877 2015-03-02  Roland McGrath  <roland@hack.frob.com>
27879         * sysdeps/pthread/timer_routines.c
27880         (timer_free_list, thread_free_list, thread_active_list): Make static.
27882 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
27884         [BZ #17779]
27885         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27886         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27887         Undefine.
27888         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27889         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27890         Likewise.
27891         * sysdeps/unix/sysv/linux/sh/kernel-features.h
27892         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
27893         Likewise.
27895 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
27897         [BZ #18036]
27898         * posix/fnmatch_loop.c (END): Detect invalid pattern.
27899         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
27901 2015-03-02  Andreas Schwab  <schwab@suse.de>
27903         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
27904         variable name.
27906 2015-03-02  Florian Weimer  <fweimer@redhat.com>
27908         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
27909         Return error status.
27911 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
27913         [BZ #15969]
27914         * locale/findlocale.c (_nl_find_locale): Introduce const
27915         version of loc_name and drop unsafe type casts.
27917 2015-02-27  Roland McGrath  <roland@hack.frob.com>
27919         * dlfcn/tststatic2.c (main): Converted to ...
27920         (do_test): ... this.
27921         (TEST_FUNCTION): New macro.
27922         Include test-skeleton.c.
27924 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
27926         [BZ #17711]
27927         * elf/Makefile (tests): Add vismain only if PIE is enabled.
27928         (tests-pie): Add vismain.
27929         (CFLAGS-vismain.c): New.
27930         * elf/vismain.c: Add comments for PIE requirement.
27932 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27934         [BZ #18046]
27935         [BZ #18047]
27936         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
27937         0x1p-56L as threshold for just returning the argument.
27938         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
27939         0x1p-32L as threshold for just returning the argument.
27940         * math/auto-libm-test-in: Add more tests of atanh.
27941         * math/auto-libm-test-out: Regenerated.
27942         * sysdeps/i386/fpu/libm-test-ulps: Update.
27943         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
27945 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27947         * string/bcopy.c (bcopy): Call memmove for performance.
27949 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
27951         * string/bzero.c (__bzero): Call memset for performance.
27953 2015-02-27  John David Anglin  <dave.anglin@bell.net>
27955         [BZ #18068]
27956         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
27957         to 00100000.
27959 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
27961         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
27963 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
27965         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
27966         (__kernel_standard): Use CSTR macro when setting exc.name.
27967         * sysdeps/ieee754/Makefile [$(subdir) = math]
27968         (CFLAGS-k_standard.c): Remove variable.
27970         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
27971         setting p and q from "else if" to "else".
27972         (qzero): Likewise.
27973         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
27974         (qone): Likewise.
27975         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
27976         (qzerof): Likewise.
27977         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
27978         (qonef): Likewise.
27979         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
27980         (qzero): Likewise.
27981         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
27982         (qone): Likewise.
27984         [BZ #18038]
27985         [BZ #18039]
27986         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
27987         return pi/2 for arguments below 0x1p-113L.
27988         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
27989         return pi/2 for arguments below 0x1p-106L.
27990         * math/auto-libm-test-in: Add more tests of acos.
27991         * math/auto-libm-test-out: Regenerated.
27993         [BZ #16351]
27994         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
27995         (MO): New macro.
27996         (__ieee754_asin): Force underflow exception for results with small
27997         absolute value.
27998         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
27999         (MO): New macro.
28000         (__ieee754_asinf): Force underflow exception for results with
28001         small absolute value.
28002         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28003         (__ieee754_asin): Force underflow exception for results with small
28004         absolute value.
28005         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28006         (__ieee754_asinf): Force underflow exception for results with
28007         small absolute value.
28008         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28009         (__ieee754_asinl): Force underflow exception for results with
28010         small absolute value.
28011         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28012         (__ieee754_asinl): Force underflow exception for results with
28013         small absolute value.
28014         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28015         (__ieee754_asinl): Force underflow exception for results with
28016         small absolute value.
28017         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28018         Include <math.h>.
28019         * math/auto-libm-test-in: Do not mark underflow exceptions as
28020         possibly missing for bug 16351.
28021         * math/auto-libm-test-out: Regenerated.
28023         [BZ #18030]
28024         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28025         of power of 2 down when low part has opposite sign.
28026         * math/libm-test.inc (logb_test_data): Add more tests.
28028 2015-02-26  Andreas Schwab  <schwab@suse.de>
28030         [BZ #18032]
28031         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28032         over collating symbol inside a bracket expression.  Minor cleanup.
28033         * posix/tst-fnmatch3.c (do_test): Add test case.
28035 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28037         [BZ #18029]
28038         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28039         Adjust exponent of power of 2 down when low part has opposite
28040         sign.
28041         * math/libm-test.inc (ilogb_test_data): Add more tests.
28043 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28045         [BZ #15969]
28046         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28047         the previous change.
28049         [BZ #15969]
28050         * locale/findlocale.c (_nl_find_locale): Retry archive search
28051         after alias expansion.
28053 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28055         * iconv/tst-iconv3.c (main): Converted to ...
28056         (do_test): ... this.
28057         (TEST_FUNCTION): New macro.
28058         Include test-skeleton.c.
28060         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28061         (convert): Make function static.
28062         (test_unalign): Likewise.  Add const to argument pointee types.
28063         (main): Replace with static function do_test.
28064         Print "Succeeded." only if RET is zero.
28065         (TEST_FUNCTION): New macro.
28066         Include test-skeleton.c.
28068         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28069         returns a null pointer.
28071 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28073         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28074         to __memcpy_ppc only for static builds.
28076 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28078         [BZ #18020]
28079         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28080         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28081         * math/auto-libm-test-in: Add more tests of asinh.
28082         * math/auto-libm-test-out: Regenerated.
28083         * sysdeps/i386/fpu/libm-test-ulps: Update.
28084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28086 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28088         [BZ #15850]
28089         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28090         and ip6_mtuinfo definitions here.
28091         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28092         in this define too.  Update comment.
28094 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28096         * elf/sprof.c (load_shobj): Tweak error message to match others.
28098 2015-02-24  Kevin Easton  <kevin@guarana.org>
28100         [BZ #16145] (partial fix)
28101         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28102         to reduce lock contention.
28104 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28106         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28107         (struct timex): Update time comment.
28108         (ADJ_SETOFFSET): Define.
28110 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28112         [BZ #18019]
28113         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28114         2**56 not 2**28 as threshold for log (2x) formula.
28115         * math/auto-libm-test-in: Add more tests of acosh.
28116         * math/auto-libm-test-out: Regenerated.
28117         * sysdeps/i386/fpu/libm-test-ulps: Update.
28118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28120 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28122         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28123         parenthesis around the buf assignment.
28124         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28126 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28128         [BZ #16783]
28129         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28130         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28131         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28132         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28133         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28134         * math/libm-test.inc (scalb_test_data): Add more tests.
28136 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
28138         [BZ #17916]
28139         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
28140         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
28142 2015-02-24  Eric Rannaud  <e@nanocritical.com>
28144         [BZ #17523]
28145         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
28146         * io/bits/fcntl2.h (open): Use it.
28147         (openat): Likewise.
28148         * io/open.c (__libc_open): Likewise.
28149         * io/open64.c (__libc_open64): Likewise.
28150         * io/open64_2.c (__open64_2): Likewise.
28151         * io/open_2.c (__open_2): Likewise.
28152         * io/openat.c (__openat): Likewise.
28153         * io/openat64.c (__openat64): Likewise.
28154         * io/openat64_2.c (__openat64_2): Likewise.
28155         * io/openat_2.c (__openat_2): Likewise.
28156         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
28157         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28158         * sysdeps/posix/open64.c (__libc_open64): Likewise.
28159         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28160         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
28161         (__open_nocancel): Likewise.
28162         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
28163         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
28164         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
28166 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28168         [BZ #14841]
28169         * resolv/gethnamaddr.c (getanswer): Skip logging if
28170         RES_USE_DNSSEC is set.
28171         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
28173 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28175         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
28177 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
28179         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
28180         201304L, for Unicode 7.
28182 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
28184         [BZ #17836]
28185         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
28186         shared library.  Add gmon-start.os otherwise.
28187         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
28188         $(objpfx)gmon-start.os if builing shared library.
28189         ($(objpfx)g$(static-start-installed-name)): Likewise.
28191 2015-02-23  Andreas Schwab  <schwab@suse.de>
28193         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
28195 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
28197         [BZ #17269]
28198         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
28199         (enlarge_userbuf): Likewise.
28201 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
28203         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
28204         * math/atest-exp.c (TIMEOUT): Adjust to 200.
28205         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
28206         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
28208 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
28210         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
28211         expression inside statement expression.
28213 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
28215         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
28216         <sysdeps/nptl/lowlevellock.h> and remove macros and
28217         functions that are now defined there.
28218         (SYS_futex): Remove.
28219         (lll_compare_and_swap): Remove.
28220         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
28222 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
28224         [BZ #17999]
28225         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
28226         instead of scandirat.
28227         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
28228         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
28229         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
28230         __scandirat.
28231         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
28232         (__scandirat): Declare.  Use libc_hidden_proto.
28233         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
28234         Remove variable.
28235         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
28237 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28239         [BZ #15319]
28240         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
28241         (MO): New macro.
28242         (__ieee754_atan2): For results with small absolute value, force
28243         underflow exception and remove excess range and precision from
28244         return value.
28245         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
28246         (MO): New macro.
28247         (__ieee754_atan2f): For results with small absolute value, force
28248         underflow exception and remove excess range and precision from
28249         return value.
28250         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
28251         (MO): New macro.
28252         (__atan): For results with small absolute value, force underflow
28253         exception and remove excess range and precision from return value.
28254         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
28255         (MO): New macro.
28256         (__atanf): For results with small absolute value, force underflow
28257         exception and remove excess range and precision from return value.
28258         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
28259         <math.h>.
28260         (__ieee754_atan2): Force underflow exception for results with
28261         small absolute value.
28262         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
28263         <math_private.h>.
28264         (atan): Force underflow exception for results with small absolute
28265         value.
28266         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
28267         (__atanf): Force underflow exception for results with small
28268         absolute value.
28269         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
28270         <math.h>.
28271         (__atanl): Force underflow exception for results with small
28272         absolute value.
28273         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
28274         (__atanl): Force underflow exception for results with small
28275         absolute value.
28276         * sysdeps/x86/fpu/bits/mathinline.h
28277         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
28278         (__ieee754_atan2): Only define inline for long double.
28279         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
28280         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
28281         * math/auto-libm-test-in: Do not mark underflow exceptions as
28282         possibly missing for bug 15319.  Add more tests of atan2.
28283         * math/auto-libm-test-out: Regenerated.
28284         * math/libm-test.inc (casin_test_data): Do not mark underflow
28285         exceptions as possibly missing for bug 15319.
28286         (casinh_test_data): Likewise.
28287         * sysdeps/i386/fpu/libm-test-ulps: Update.
28289 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
28291         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
28292         * sysdeps/mips/bits/endian.h: Fix comments.
28294 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
28296         [BZ #17996]
28297         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
28298         (hdestroy_r): Likewise.
28299         (hsearch_r): Likewise.
28300         (__hcreate_r): Declare and use libc_hidden_proto.
28301         (__hdestroy_r): Likewise.
28302         (__hsearch_r): Likewise.
28303         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
28304         (hcreate): Call __hcreate_r instead of hcreate_r.
28305         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
28306         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
28307         as weak alias of __hcreate_r.
28308         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
28309         __hdestroy_r.
28310         (hsearch_r): Rename to __hsearch_r and define as weak alias of
28311         __hsearch_r.
28312         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
28313         Remove variable.
28314         (test-xfail-XPG4/search.h/linknamespace): Likewise.
28315         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
28316         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
28317         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
28319 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28321         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
28322         arena_lock into a single arena_get.
28324 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
28326         * dl-reloc.c: Inlucde libc-internal.h.
28327         (_dl_try_allocate_static_tls): Call ALIGN_UP.
28328         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
28329         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
28330         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
28331         (grow_heap): Likewise.
28332         * malloc/malloc.c: Include libc-internal.h.
28333         (do_check_malloc): Call powerof2.
28334         (sysmalloc): Use pagesize. Call ALIGN_UP.
28335         (systrim): Use pagesize.
28336         (mremap_chunk): Use pagesize. Call ALIGN_UP.
28337         (__libc_valloc): Use pagesize.
28338         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
28340 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28342         [BZ #17991]
28343         * include/sys/resource.h (__getrlimit64): Declare.  Use
28344         libc_hidden_proto.
28345         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
28346         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
28347         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
28348         getrlimit64.
28349         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
28350         __getrlimit64.
28351         [!getrlimit64] (getrlimit64): Define as weak alias of
28352         __getrlimit64.  Use libc_hidden_weak.
28353         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
28354         using __getrlimit64 not __new_getrlimit64.
28355         (__GI_getrlimit64): Likewise.
28356         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
28357         Likewise.
28358         (__GI_getrlimit64): Likewise.
28359         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
28360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
28361         (getrlimit): Add __getrlimit64 alias.
28362         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
28363         Likewise.
28364         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
28365         Remove variable.
28366         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
28367         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
28369 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
28371         * libio/fileops.c: Add missing sys/mman.h
28372         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
28374 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
28376         * manual/math.texi (Errors in Math Functions): Clarify goals
28377         regarding inexact and underflow exceptions.
28379 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28381         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
28382         * sysdeps/mips/memset.S: Ditto.
28384 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
28386         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
28388 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28390         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
28391         (__v1longjmp): Remove versioned symbol.
28392         (__v1siglongjmp): Remove alias and versioned symbol.
28393         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
28394         (__v2siglongjmp): Likewise.
28396 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28398         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
28400 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
28402         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
28404 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28406         [BZ #17987]
28407         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
28408         zero result does not depend on the sign resulting from
28409         subtraction.
28410         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28411         Likewise.
28412         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28413         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28414         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28415         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28416         * math/libm-test.inc (remquo_test_data): Add more tests.
28418 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
28420         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
28421         Problem reported by J William Piggott.
28423 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
28425         [BZ #17978]
28426         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
28427         products 4 * y and 2 * y where those would overflow.
28428         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28429         Likewise.
28430         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
28431         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
28432         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28433         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
28434         * math/libm-test.inc (remquo_test_data): Add more tests.
28436         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
28438         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
28439         [defined _COMPILING_NEWLIB].
28440         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
28441         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
28443         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
28444         [!defined __mips_isa_rev || __mips_isa_rev < 6].
28446 2015-02-16  Torvald Riegel  <triegel@redhat.com>
28448         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
28449         acquired.
28451 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
28453         [BZ #17792]
28454         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
28455         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
28456         HOST_STACK_END_ADDR): Likewise.
28458 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
28460         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
28461         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
28462         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
28464 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28466         * sysdeps/generic/c++-types.data: New file.
28467         * sysdeps/generic/ld.abilist: New file.
28468         * sysdeps/generic/libBrokenLocale.abilist: New file.
28469         * sysdeps/generic/libanl.abilist: New file.
28470         * sysdeps/generic/libc.abilist: New file.
28471         * sysdeps/generic/libcrypt.abilist: New file.
28472         * sysdeps/generic/libdl.abilist: New file.
28473         * sysdeps/generic/libm.abilist: New file.
28474         * sysdeps/generic/libpthread.abilist: New file.
28475         * sysdeps/generic/libresolv.abilist: New file.
28476         * sysdeps/generic/librt.abilist: New file.
28478 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28480         [BZ #17569]
28481         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28482         Compute absolute value of x as modified by fmod, not original
28483         value of x.
28484         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
28485         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
28486         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
28487         RUN_TEST_ffI_f1_mod8.
28488         (remquo_test_data): Add more tests.
28490 2015-02-13  Roland McGrath  <roland@hack.frob.com>
28492         * sysdeps/init_array/pt-crti.S: New file.
28494 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
28496         [BZ #17967]
28497         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
28498         __builtin_fmaf instead of relying on contraction of a * b + c.
28500 2015-02-12  J William Piggott  <elseifthen@gmx.com>
28502         [BZ #17969]
28503         * manual/time.texi: correct the zoneinfo path in the TZ Variable
28504         node.
28506 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28508         [BZ #17964]
28509         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
28510         __builtin_fma instead of relying on contraction of a * b + c.
28512 2015-02-12  Roland McGrath  <roland@hack.frob.com>
28514         * Makeconfig (ASFLAGS): Add -Werror=undef.
28515         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
28516         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
28517         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
28519         * Makeconfig (after-link): New variable.
28520         (+link-pie, +link-pie-tests): Use it.
28521         (+link-static, +link-static-tests): Likewise.
28522         (+link, +link-tests): Likewise.
28523         * Makerules (build-module, build-module-asneeded): Likewise.
28524         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
28525         Likewise.
28526         * elf/Makefile ($(objpfx)ld.so): Likewise.
28528 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
28530         [BZ #17965]
28531         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
28532         both struct timeval and struct timespec.
28534 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
28536         [BZ #16560]
28537         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28538         and redefine.
28539         (__ieee754_exp2l): Do not multiply small fractional parts by
28540         M_LN2l.
28541         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
28542         small argument.
28543         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28544         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28545         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
28546         * math/auto-libm-test-in: Add more tests of exp2.
28547         * math/auto-libm-test-out: Regenerated.
28549 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28551         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
28552         unaligned path.
28554 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28556         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
28557         little endian.
28559 2015-02-12  Andreas Schwab  <schwab@suse.de>
28561         [BZ #15790]
28562         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28563         Filter out elision flags from value returned in kind.
28564         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
28565         * nptl/tst-pthread-mutexattr.c: New file.
28567 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28569         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
28570         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
28571         into gnu-gnu, and update comment to refer to abi-tags.
28573 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
28575         [BZ #15467]
28576         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
28577         (__sincos): Set errno to EDOM for infinite argument.
28578         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
28579         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
28580         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
28581         (__sincosl): Set errno to EDOM for infinite argument.
28582         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
28583         (__sincosl): Set errno to EDOM for infinite argument.
28584         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
28585         (__sincosl): Set errno to EDOM for infinite argument.
28586         * math/libm-test.inc (sincos_test_data): Test errno setting.
28588 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
28590         * string/strxfrm_l.c: Remove #define STRCMP.
28591         * string/strcoll_l.c: Remove #define STRLEN.
28592         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
28593         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
28595 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
28597         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
28598         * sysdeps/mips/mips32/sfp-machine.h: ... here.
28599         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28600         * sysdeps/mips/mips64/Makefile: ... here.
28601         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
28602         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
28603         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
28604         * sysdeps/mips/mips64/sfp-machine.h: ... here.
28605         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
28606         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
28607         * sysdeps/mips/mips64/n64/Implies: Likewise.
28609 2015-02-10  Roland McGrath  <roland@hack.frob.com>
28611         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
28612         <sys/time.h>, <string.h>, and <errno.h>.
28613         (dest_offset, dest_address, value, zero): Remove unused variables.
28614         (ldouble): Remove typedef.
28615         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
28616         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
28617         1).  Fix code style.
28618         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
28619         (check): Function removed.
28620         (CHECK): New macro.
28621         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
28622         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
28623         Don't call set_sigaction_FP and remove_sigaction_FP here.
28624         (ldouble_test): Just use 'long double' as macro argument, no need for
28625         the 'ldouble' typedef.
28626         (do_test): Set up SIGFPE handler at start, using plain signal rather
28627         than sigaction.  Fix code style.
28629 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
28631         [BZ #17949]
28632         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
28633         jump label.
28635 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28637         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
28638         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28640         * sysdeps/powerpc/configure.ac: Remove file.
28641         * sysdeps/powerpc/configure: Likewise.
28643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28644         [sysdep_routines]: Remove wordcopy-power6 object.
28645         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
28646         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
28647         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
28648         (__memmove_ppc32): Likewise.
28649         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
28650         file.
28651         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
28652         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
28653         Remove preprocessor.
28655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
28656         [sysdep_routines]: Remove wide chars objects.
28657         [wcsmbs]: New rule for wide char objects.
28659         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28660         Remove wordcopy-power6 obejct.
28661         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
28662         Use local call for wordcopy and memcpy symbols.
28663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
28664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
28665         implementation for loader.
28666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
28668         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28669         Remove wordcopy-power7 object.
28670         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
28671         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
28672         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
28673         (_wordcopy_fwd_dest_aligned): Likewise.
28674         (_wordcopy_bwd_aligned): Likewise.
28675         (_wordcopy_bwd_dest_aligned): Likewise.
28677         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
28678         Rewrite to call __memmove_ppc instead of include default
28679         implementation.
28681         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28682         Remove wide chars objects.
28683         [wcsmbs]: New rule for wide char objects.
28685 2015-02-09  Andreas Schwab  <schwab@suse.de>
28687         [BZ #17912]
28688         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28689         in terms of __O_DIRECTORY.
28691 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28693         * time/getdate.c: Include <stdbool.h>.
28694         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
28695         call PTR_MANGLE.
28696         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
28697         PTR_DEMANGLE.
28699 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
28701         Add ersatz _Static_assert on older C hosts
28702         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
28703         pre-C11 C platform that is not known to support _Static_assert.
28705 2015-02-07  Richard Braun  <rbraun@sceen.net>
28707         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
28708         sigstate.
28709         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
28711 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28713         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
28714         priority against unexistent AIO_PRIO_DELTA_MAX.
28715         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
28716         instead of int.
28717         * misc/fchflags.c (fchflags): Likewise.
28718         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
28719         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
28720         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
28721         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
28722         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
28723         Declare macros.
28724         [__USE_MISC] (chflags, fchflags): Declare functions.
28725         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
28726         EINVAL when nfds is greater than FD_SETSIZE.
28727         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
28728         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
28729         45.
28730         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
28731         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
28732         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
28733         MACH_RCV_TIMED_OUT.
28734         * hurd/hurd/signal.h (_hurd_self_sigstate,
28735         _hurd_critical_section_lock, _hurd_critical_section_unlock):
28736         Explicit casts from void *.
28737         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
28738         * abi-tags: Rename gnu-gnu os into gnu.
28740         [BZ #4719]
28741         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
28742         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
28743         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
28744         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
28745         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
28746         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
28748         [BZ #17944]
28749         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
28750         duplicates ADDR->sun_path with sockaddr LEN limitation.
28751         * sysdeps/mach/hurd/connect.c: Include <string.h>
28752         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
28753         * sysdeps/mach/hurd/sendmsg.c: Likewise.
28754         * sysdeps/mach/hurd/sendto.c: Likewise.
28755         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
28756         implementing it by hand.
28758 2015-02-06  Roland McGrath  <roland@hack.frob.com>
28760         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
28761         Use sfi_breg on ldr.
28762         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
28763         Likewise.
28765         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
28766         it's defined.
28767         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
28768         Test SIGSETXID only if it's defined.
28770         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
28772         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
28773         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
28775         * nptl/tst-align2.c: Moved ...
28776         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
28777         * nptl/Makefile (tests): Remove tst-align2.
28778         * sysdeps/unix/sysv/linux/Makefile
28779         [$(subdir) = nptl] (tests): Add tst-align-clone.
28780         * nptl/tst-getpid1.c: Moved ...
28781         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
28782         * nptl/tst-getpid2.c: Moved ...
28783         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
28784         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28785         * sysdeps/unix/sysv/linux/Makefile
28786         [$(subdir) = nptl] (tests): ... here.
28787         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
28788         * sysdeps/unix/sysv/linux/Makefile
28789         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
28791         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
28792         Drop trailing \n from perror argument.  Use return rather than exit.
28794         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
28795         on [SA_SIGINFO].
28796         * nptl/tst-cancel21.c (do_test): Likewise.
28797         * debug/tst-backtrace6.c: Include <signal.h> first thing.
28798         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
28799         [!SA_SIGINFO]: Make it a stub test.
28801         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
28802         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
28804         * posix/tst-getlogin.c: Move to ...
28805         * login/tst-getlogin.c: ... here.
28806         * posix/Makefile (tests): Move tst-getlogin to ...
28807         * login/Makefile (tests): ... here.
28809         * libio/tst-atime.c (do_test): Move local variables SV and E
28810         inside [ST_NOATIME] conditional.
28812         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
28814         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
28816         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
28817         (wait_code): New function replaces macro.
28818         Call nanosleep rather than syscall.
28820         * nptl/pt-system.c: Rewritten.  Put everything under
28821         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28822         Use IFUNC to redirect when possible.
28824         * nptl/pt-longjmp.c: Rewritten.  Put everything under
28825         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28826         Use IFUNC to redirect when possible.
28828         * nptl/pt-fork.c: Rewritten.  Put everything under
28829         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
28830         Use IFUNC to redirect when possible.
28831         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
28833         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
28834         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
28835         unconditionally nowadays.  This included the only reference to
28836         __vdso_clock_gettime that appears outside libc proper.
28837         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
28838         Remove version set (containing only __vdso_clock_gettime).
28839         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
28840         Add attribute_hidden.
28841         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
28842         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
28843         libc_hidden_data_def.
28844         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28845         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28847         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
28848         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
28849         setrpcent, and getrpcport to ...
28850         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
28851         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
28852         getrpcbynumber_r, and getrpcent_r to ...
28853         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
28854         * inet/getrpcbyname.c: Moved ...
28855         * sunrpc/getrpcbyname.c: ... here.
28856         * inet/getrpcbyname_r.c: Moved ...
28857         * sunrpc/getrpcbyname_r.c: ... here.
28858         * inet/getrpcbynumber.c: Moved ...
28859         * sunrpc/getrpcbynumber.c: ... here.
28860         * inet/getrpcbynumber_r.c: Moved ...
28861         * sunrpc/getrpcbynumber_r.c: ... here.
28862         * inet/getrpcent.c: Moved ...
28863         * sunrpc/getrpcent.c: ... here.
28864         * inet/getrpcent_r.c: Moved ...
28865         * sunrpc/getrpcent_r.c: ... here.
28866         * inet/Makefile (routines): Move those to ...
28867         * sunrpc/Makefile (routines): ... here.
28868         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
28869         the $(subdirs) list.
28870         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
28871         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
28872         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
28873         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
28875         * elf/Makefile (routines): Include $(all-dl-routines), not just
28876         $(dl-routines).
28877         (rtld-routines): Likewise.  Use = rather than :=.
28878         * sysdeps/aarch64/Makefile [$(subdir) = elf]
28879         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
28880         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
28881         * sysdeps/arm/Makefile: Likewise.
28882         * sysdeps/i386/Makefile: Likewise.
28883         * sysdeps/x86_64/Makefile: Likewise.
28884         * sysdeps/hppa/Makefile [$(subdir) = elf]
28885         (sysdep_routines, sysdep-rtld-routines): Don't add
28886         $(sysdep-dl-routines) to these.
28887         * sysdeps/ia64/Makefile: Likewise.
28888         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
28889         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
28890         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
28891         Don't add dl-static to these; sysdep-dl-routines alone is enough.
28892         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
28893         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
28894         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
28895         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
28896         * sysdeps/powerpc/Makefile [$(subdir) = elf]
28897         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
28898         these; sysdep-dl-routines alone is enough.
28900 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
28902         [BZ #17932]
28903         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
28904         where multiplication results in zero and third argument is finite
28905         and nonzero.
28906         * math/auto-libm-test-in: Add more tests of fma.
28907         * math/auto-libm-test-out: Regenerated.
28909         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
28910         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
28911         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
28912         (_FP_CMP_EQ): Likewise.
28913         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
28915         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
28916         extra argument CHECK_NAN.  Redefine as wrapper around
28917         _FP_EXTEND_CNAN.
28919 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
28921         * version.h (RELEASE): Set to "stable".
28922         (VERSION): Set to "2.21"
28923         * include/features.h (__GLIBC_MINOR__): Set to 21.
28925         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
28927 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28928             Paul Eggert  <eggert@cs.ucla.edu>
28930         [BZ #16618]
28931         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
28932         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
28933         size in bytes. Store needed elements in wpmax. Use needed size
28934         in bytes for extend_alloca.
28936 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
28938         * manual/install.texi: Latest tested versions are GCC 4.9.2,
28939         binutls 2.25, and texinfo 5.2.
28940         * INSTALL: Regenerate.
28941         * sysdeps/nios2/configure: Regenerate.
28942         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
28943         * manual/contrib.texi: Update.
28944         * po/be.po: Update.
28945         * po/bg.po: Update.
28946         * po/ca.po: Update.
28947         * po/cs.po: Update.
28948         * po/da.po: Update.
28949         * po/de.po: Update.
28950         * po/el.po: Update.
28951         * po/eo.po: Update.
28952         * po/es.po: Update.
28953         * po/fi.po: Update.
28954         * po/fr.po: Update.
28955         * po/gl.po: Update.
28956         * po/hr.po: Update.
28957         * po/hu.po: Update.
28958         * po/ia.po: Update.
28959         * po/id.po: Update.
28960         * po/it.po: Update.
28961         * po/ja.po: Update.
28962         * po/ko.po: Update.
28963         * po/lt.po: Update.
28964         * po/nb.po: Update.
28965         * po/nl.po: Update.
28966         * po/pl.po: Update.
28967         * po/pt_BR.po: Update.
28968         * po/ru.po: Update.
28969         * po/rw.po: Update.
28970         * po/sk.po: Update.
28971         * po/sl.po: Update.
28972         * po/sv.po: Update.
28973         * po/tr.po: Update.
28974         * po/uk.po: Update.
28975         * po/vi.po: Update.
28976         * po/zh_CN.po: Update.
28977         * po/zh_TW.po: Update.
28979         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
28980         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
28981         * sysdeps/hppa/dl-irel.h: Remove #warning.
28982         * sysdeps/hppa/entry.h: Provide prototype for
28983         __canonicalize_funcptr_for_compare and cast argument.
28984         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
28985         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
28986         * sysdeps/hppa/sotruss-lib.c: New file.
28987         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
28988         (atomic_compare_and_exchange_val_acq): Use __typeof__.
28989         (atomic_compare_and_exchange_bool_acq): Likewise.
28990         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
28991         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
28993         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
28994         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
28995         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
28997 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
28999         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29000         called function in non-PIC case.
29002 2015-01-31  David S. Miller  <davem@davemloft.net>
29004         * sysdeps/sparc/sparc32/bits/atomic.h
29005         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29006         unlock not after it.
29007         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29008         volatile register usage warnings from the compiler.
29010         * sysdeps/sparc/nptl/sem_init.c: Delete.
29011         * sysdeps/sparc/nptl/sem_post.c: Delete.
29012         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29013         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29014         * sysdeps/sparc/sparc32/sem_init.c: New file.
29015         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29016         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29017         padding explicitly initialized.
29018         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29019         padding for in-semaphore spinlock.
29020         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29021         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29022         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29023         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29024         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29025         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29026         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29027         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29028         version.
29029         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29030         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29032 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29034         [BZ #17801]
29035         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29036         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29037         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29038         New.
29039         (index_AVX_Fast_Unaligned_Load): Likewise.
29040         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29041         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29042         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29043         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29044         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29045         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29046         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29047         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29048         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29050 2015-01-29  Andreas Schwab  <schwab@suse.de>
29052         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29054 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29056         [BZ #17892]
29057         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29059 2015-01-28  Martin Sebor  <msebor@redhat.com>
29061         * math/README.libm-test: Clarify. Add "How to read the test output."
29063 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29065         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29066         Define to 0.
29068 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29070         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29071         (__HAVE_64B_ATOMICS): Define to 0.
29073 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29075         [BZ #17885]
29076         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29077         value to set as new flag.
29079         [BZ #16576]
29080         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29081         and use _ARCH_PPCSQ instead.
29082         (__ieee754_sqrt): Likewise.
29083         (__ieee754_sqrtf): Likewise.
29084         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29085         _ARCH_PPCSQ is defined.
29086         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29087         fsqrt instruction.
29088         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29089         _ARCH_PPCSQ is defined.
29090         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29091         fsqrts instruction.
29092         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29094 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29096         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29097         bug (GCC BZ #64739).
29099 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29101         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29102         Mark _retval as used.
29103         (lll_futex_wake_unlock): Likewise.
29104         (lll_futex_timed_wait_requeue_pi): Likewise.
29106         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29107         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29108         register variables.
29110         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29111         libm_hidden_def.
29113         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29114         (__bswap_64): Mark as __always_inline.
29116 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29118         [BZ #15378]
29119         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29120         when none of the search directories exist.
29122 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29124         [BZ #17869]
29125         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29126         power8 in .machine directive.
29128         [BZ #17868]
29129         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29130         set dependency from opd value.
29132 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29135         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
29136         architecture.
29138 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29140         [BZ #17870]
29141         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
29142         with uint64_t.
29143         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
29144         (uint64_t) 1.
29145         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
29146         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
29147         Replace 1UL with (uint64_t) 1.
29148         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
29149         int with uint64_t.
29151 2015-01-23  Roland McGrath  <roland@hack.frob.com>
29153         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
29154         (if_freenameindex): Likewise.
29156         * resource/getrlimit64.c: Add missing libc_hidden_def.
29158 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
29160         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
29161         __label__.
29162         (_FP_FMA): Likewise.
29163         (_FP_TO_INT_ROUND): Likewise.
29164         (_FP_FROM_INT): Likewise.
29166 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29168         [BZ #16418]
29169         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
29170         Make code racy and cancel safe.
29172 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
29174         * sysdeps/arm/unwind-resume.h: Fix copyright year.
29175         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
29176         attribution.
29178         * pwd/tst-getpw.c: Rewrite.
29180         [BZ #17702]
29181         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
29182         (modules-names): Add moddummy1 and moddummy2.
29183         ($(objpfx)tst-rec-dlopen): Define.
29184         * dlfcn/moddummy1.c: New file.
29185         * dlfcn/moddummy2.c: New file.
29186         * dlfcn/tst-rec-dlopen.c: New file.
29187         * elf/dl-cache.c (_dl_load_cache_lookup):
29188         Return char*. Copy result with alloca/strcpy/strdup.
29189         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
29190         returns char*. Free cached. If not saving realname
29191         free cached.
29192         * elf/dl-open.c (dl_open_worker): Do not assert that
29193         _r_debug->r_state is RT_CONSISTENT.
29194         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
29195         returns char*.
29197 2015-01-21  Torvald Riegel  <triegel@redhat.com>
29198             Carlos O'Donell  <carlos@redhat.com>
29200         [BZ #12674]
29201         * nptl/sem_waitcommon.c: New file.
29202         * nptl/sem_wait.c: Include sem_waitcommon.c.
29203         (__sem_wait_cleanup, do_futex_wait): Remove.
29204         (__new_sem_wait): Adapt.
29205         (__new_sem_trywait): New function.
29206         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
29207         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
29208         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
29209         (sem_timedwait): Adapt.
29210         * nptl/sem_post.c (__new_sem_post): Adapt.
29211         (futex_wake): New function.
29212         (__old_sem_post): Add release MO fence.
29213         * nptl/sem_open.c (sem_open): Adapt.
29214         * nptl/sem_init.c (__new_sem_init): Adapt.
29215         (futex_private_if_supported): New function.
29216         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
29217         (__old_sem_getvalue): Add using previous code.
29218         * sysdeps/nptl/internaltypes.h: Adapt.
29219         * nptl/tst-sem13.c (do_test): Adapt.
29220         * nptl/tst-sem11.c (main): Adapt.
29221         * nptl/sem_trywait.c: Remove.
29222         * nptl/DESIGN-sem.txt: Remove.
29223         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
29224         (gen-as-const-headers): Remove structsem.sym.
29225         * nptl/structsem.sym: Remove.
29226         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
29227         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
29228         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
29229         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
29230         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
29231         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
29232         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
29233         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
29234         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
29235         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
29236         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
29237         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
29238         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
29239         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
29240         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
29241         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
29242         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
29243         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
29244         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
29245         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
29246         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
29247         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
29249 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
29251         * INSTALL: Regenerated.
29253         * po/libc.pot: Regenerated.
29255 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
29256             Sandra Loosemore  <sandra@codesourcery.com>
29257             Andrew Jenner  <andrew@codesourcery.com>
29258             Joseph Myers  <joseph@codesourcery.com>
29259             Nathan Sidwell  <nathan@codesourcery.com>
29261         * NEWS: Mention new Nios II port.
29262         * sysdeps/nios2/Implies: New file.
29263         * sysdeps/nios2/Makefile: New file.
29264         * sysdeps/nios2/Subdirs: New file.
29265         * sysdeps/nios2/Versions: New file.
29266         * sysdeps/nios2/__longjmp.S: New file.
29267         * sysdeps/nios2/abort-instr.h: New file.
29268         * sysdeps/nios2/backtrace.c: New file.
29269         * sysdeps/nios2/bits/endian.h: New file.
29270         * sysdeps/nios2/bits/fenv.h: New file.
29271         * sysdeps/nios2/bits/link.h: New file.
29272         * sysdeps/nios2/bits/setjmp.h: New file.
29273         * sysdeps/nios2/bsd-_setjmp.S: New file.
29274         * sysdeps/nios2/bsd-setjmp.S: New file.
29275         * sysdeps/nios2/configure: New generated file.
29276         * sysdeps/nios2/configure.ac: New file.
29277         * sysdeps/nios2/crti.S: New file.
29278         * sysdeps/nios2/crtn.S: New file.
29279         * sysdeps/nios2/dl-init.c: New file.
29280         * sysdeps/nios2/dl-machine.h: New file.
29281         * sysdeps/nios2/dl-sysdep.h: New file.
29282         * sysdeps/nios2/dl-tls.h: New file.
29283         * sysdeps/nios2/dl-trampoline.S: New file.
29284         * sysdeps/nios2/gccframe.h: New file.
29285         * sysdeps/nios2/gmp-mparam.h: New file.
29286         * sysdeps/nios2/jmpbuf-offsets.h: New file.
29287         * sysdeps/nios2/jmpbuf-unwind.h: New file.
29288         * sysdeps/nios2/ldsodefs.h: New file.
29289         * sysdeps/nios2/libc-tls.c: New file.
29290         * sysdeps/nios2/libm-test-ulps: New file.
29291         * sysdeps/nios2/machine-gmon.h: New file.
29292         * sysdeps/nios2/math-tests.h: New file.
29293         * sysdeps/nios2/math_private.h: New file.
29294         * sysdeps/nios2/memusage.h: New file.
29295         * sysdeps/nios2/nptl/Makefile: New file.
29296         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
29297         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
29298         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
29299         * sysdeps/nios2/nptl/pthreaddef.h: New file.
29300         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
29301         * sysdeps/nios2/nptl/tls.h: New file.
29302         * sysdeps/nios2/preconfigure: New file.
29303         * sysdeps/nios2/s_fma.c: New file.
29304         * sysdeps/nios2/s_fmaf.c: New file.
29305         * sysdeps/nios2/setjmp.S: New file.
29306         * sysdeps/nios2/sfp-machine.h: New file.
29307         * sysdeps/nios2/sotruss-lib.c: New file.
29308         * sysdeps/nios2/stackguard-macros.h: New file.
29309         * sysdeps/nios2/stackinfo.h: New file.
29310         * sysdeps/nios2/start.S: New file.
29311         * sysdeps/nios2/sysdep.h: New file.
29312         * sysdeps/nios2/tls-macros.h: New file.
29313         * sysdeps/nios2/tst-audit.h: New file.
29314         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
29315         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
29316         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
29317         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
29318         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
29319         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
29320         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
29321         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
29322         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
29323         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
29324         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
29325         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
29326         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
29327         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
29328         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
29329         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
29330         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
29331         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
29332         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
29333         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
29334         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
29335         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
29336         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
29337         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
29338         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
29339         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
29340         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
29341         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
29342         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
29343         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
29344         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
29345         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
29346         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
29347         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
29348         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
29349         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
29350         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
29351         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
29352         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
29353         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
29354         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
29355         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
29356         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
29357         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
29359 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29361         [BZ #17844]
29362         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
29363         (getutent): Use weak_alias in non SHARED case
29364         and default_symbol_version in SHARED case.
29365         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
29366         (getutent_r, pututline): Likewise.
29367         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
29368         (getutid): Likewise.
29369         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
29370         (getutid_r): Likewise.
29371         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
29372         (getutline): Likewise.
29373         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
29374         (getutline_r): Likewise.
29375         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
29376         (updwtmp): Likewise.
29378 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
29380         [BZ #17848]
29381         * sysdeps/s390/s390-32/memcmp.S
29382         (memcmp_g5): Rename to __memcmp_g5.
29383         * sysdeps/s390/s390-32/memcpy.S
29384         (memcpy_g5): Rename to __memcpy_g5.
29385         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29386         (memcpy_mvcle) Rename to __memcpy_mvcle.
29387         * sysdeps/s390/s390-32/memset.S
29388         (memset_g5): Rename to __memset_g5.
29389         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29390         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29391         and use prefixed functions.
29392         * sysdeps/s390/s390-32/multiarch/memcmp.S
29393         (memcmp_z196): Rename to __memcmp_z196.
29394         (memcmp_z10): Rename to __memcmp_z10.
29395         (memcmp): Set alias to __memcmp_g5.
29396         (bcmp): Set alias to __memcmp_g5.
29397         * sysdeps/s390/s390-32/multiarch/memcpy.S
29398         (memcpy_z196): Rename to __memcpy_z196.
29399         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29400         (memcpy_z10): Rename to __memcpy_z10.
29401         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29402         (memcpy): Set alias to __memcpy_g5.
29403         * sysdeps/s390/s390-32/multiarch/memset.S
29404         (memset_z196): Rename to __memset_z196.
29405         Jump to __memset_mvcle instead of memset_mvcle.
29406         (memset_z10): Rename to __memset_z10.
29407         Jump to __memset_mvcle instead of memset_mvcle.
29408         (memset_mvcle) Rename to __memset_mvcle.
29409         (memset): Set alias to __memset_g5.
29410         * sysdeps/s390/s390-64/memcmp.S
29411         (memcmp_z900): Rename to __memcmp_z900.
29412         * sysdeps/s390/s390-64/memcpy.S
29413         (memcpy_z900): Rename to __memcpy_z900.
29414         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29415         (memcpy_mvcle) Rename to __memcpy_mvcle.
29416         * sysdeps/s390/s390-64/memset.S
29417         (memset_z900): Rename to __memset_z900.
29418         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
29419         (IFUNC_RESOLVE): Prefix ifunc-resolve function
29420         and use prefixed functions.
29421         * sysdeps/s390/s390-64/multiarch/memcmp.S
29422         (memcmp_z196): Rename to __memcmp_z196.
29423         (memcmp_z10): Rename to __memcmp_z10.
29424         (memcmp): Set alias to __memcmp_z900.
29425         (bcmp): Set alias to __memcmp_z900.
29426         * sysdeps/s390/s390-64/multiarch/memcpy.S
29427         (memcpy_z196): Rename to __memcpy_z196.
29428         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29429         (memcpy_z10): Rename to __memcpy_z10.
29430         Jump to __memcpy_mvcle instead of memcpy_mvcle.
29431         (memcpy): Set alias to __memcpy_z900.
29432         * sysdeps/s390/s390-64/multiarch/memset.S
29433         (memset_z196): Rename to __memset_z196.
29434         Jump to __memset_mvcle instead of memset_mvcle.
29435         (memset_z10): Rename to __memset_z10.
29436         Jump to __memset_mvcle instead of memset_mvcle.
29437         (memset_mvcle) Rename to __memset_mvcle.
29438         (memset): Set alias to __memset_z900.
29440 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
29442         [BZ #17748]
29443         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
29444         __fesetenv instead of fesetenv.
29446 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29448         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
29449         macro.
29451 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29453         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
29454         regression on LE.
29456         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
29457         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
29458         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29459         strncmp-power8 object.
29460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29461         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
29462         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
29463         * NEWS: Update.
29465 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29466             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29468         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
29469         trailing byte check.
29471 2015-01-13  David S. Miller  <davem@davemloft.net>
29473         * include/signal.h (__sigreturn): Guard with __USE_MISC.
29475 2015-01-13  Roland McGrath  <roland@hack.frob.com>
29477         * login/logout.c (logout): Use memset rather than bzero.
29478         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
29479         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
29480         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
29481         (_gethtbyaddr): Likewise.
29482         * locale/programs/simple-hash.c (bcopy): Macro removed.
29484 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29486         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29487         Add strcmp-power8 object.
29488         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29489         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
29490         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
29491         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
29492         __strcmp_power8 implementation.
29493         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
29494         * NEWS: Update.
29496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29497         Add strncpy-power8 and stpncpy-power8 objects.
29498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29499         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
29500         implementations.
29501         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
29502         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
29503         __stpncpy_power8 implementation.
29504         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
29505         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
29506         __strncpy_power8 implementation.
29507         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
29508         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
29509         * NEWS: Update.
29511         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
29512         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
29513         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
29515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29516         strncat-power8 object.
29517         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
29518         __strcat_power8 implementation.
29519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29520         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
29521         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
29522         optimized strcat for power8.
29524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
29525         strcpy-power8 and stpcpy-power8 objects.
29526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29527         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
29528         implementations.
29529         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
29530         multiarch stpcpy implementation for POWER8.
29531         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
29532         multiarch strcpy implementation for POWER8.
29533         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
29534         __strcpy_power8 function.
29535         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
29536         stpcpy for POWER8.
29537         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
29538         strcpy for POWER8.
29539         * NEWS: Update.
29541 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
29543         [BZ #16009]
29544         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
29545         weights and rules. Use do_xfrm_cached if data fits in cache,
29546         do_xfrm otherwise.  Moved former main loop to...
29547         * (do_xfrm_cached): New function.
29548         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
29549         find_idx, find_position and stack_push.
29550         * (find_idx): New function.
29551         * (find_position): Likewise.
29552         * localedata/sort-test.sh: Added test run for do_xfrm.
29553         * localedata/xfrm-test.c (main): Added command line option
29554         -nocache to run the test with strings that are too large for
29555         the STRXFRM cache.
29557 2015-01-13  Torvald Riegel  <triegel@redhat.com>
29559         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
29560         variable to lll_futex_wake call, not the value itself.
29562 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
29564         [BZ #17803]
29565         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
29566         twom64.  Adjust value to 0x1p-64L.
29567         (__scalblnl): Only return standard underflowing result for K <=
29568         -64 not K <= -63; adjust exponent for underflowing result by 64
29569         not 63.
29570         * math/libm-test.inc (scalbn_test_data): Add more tests.
29571         (scalbln_test_data): Likewise.
29573         [BZ #17834]
29574         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
29575         0x1p63L.
29576         (__scalblnl): Get new exponent of adjusted subnormal value from ES
29577         not HX.
29578         * math/libm-test.inc (scalbn_test_data): Add more tests.
29579         (scalbln_test_data): Likewise.
29581 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29582             Stefani Seibold  <stefani@seibold.net>
29584         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
29585         (sysdep_routines): Add dl-vdso here, ...
29586         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
29587         (sysdep_routines): ... not here.
29588         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
29589         fallback when vDSO is not presented.
29590         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29591         Define with libc_hidden_proto/libc_hidden_data_def definitions.
29592         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
29593         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
29594         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
29595         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
29596         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
29597         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
29598         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
29599         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
29600         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
29601         fallback configurable symbol when vDSO is not available.
29602         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
29603         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
29604         be able to redefine fallback symbol when vDSO is not available.
29605         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
29606         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
29608 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29610         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
29611         (TLS_INIT_TP): Add tm_capable initialization.
29612         (TLS_DEFINE_INIT_TP): Likewise.
29613         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
29614         TCB.
29615         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
29616         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
29617         calculation.
29618         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
29619         transactoion is lock elision is built and TCB tm_capable is set.
29620         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
29621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29622         (INTERNAL_SYSCALL_NCS): Likewise.
29623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29624         (INTERNAL_SYSCALL_NCS): Likewise.
29625         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
29627         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
29628         for powerpc.
29629         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29630         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
29631         and remove it for 32 bits case.
29632         [pthread_rwlock_t] (__rwelision): New field for lock elision.
29633         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
29634         initialization.
29635         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
29636         Disable lock elision with rdlocks if elision is not available.
29638         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
29639         (sysdep_routines): Add lock elision objects.
29640         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
29641         [pthread_mutex_t] (__spins): Rework to add lock elision field.
29642         [pthread_mutex_t] (__elision): Add field.
29643         [__PTHREAD_SPINS]: Adjust to init lock elision field.
29644         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
29645         elision definitions for powerpc.
29646         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
29647         implementation of lock elision for powerpc.
29648         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
29649         implementation of timed lock elision for powerpc.
29650         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
29651         implementation of trylock with lock elision for powerpc.
29652         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
29653         implementaion of unlock for lock elision for powerpc.
29654         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
29655         automatic enable lock elision for mutexes.
29656         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
29657         transaction execution definitions for powerpc.
29658         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
29659         definitions.
29660         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
29661         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
29662         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
29663         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
29664         * NEWS: Update.
29666 2015-01-09  Roland McGrath  <roland@hack.frob.com>
29668         * sysdeps/posix/shm-directory.c: Use <> rather than ""
29669         for #include of <shm-directory.h>.
29671 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
29673         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
29674         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
29676 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
29678         [BZ #17791]
29679         * NEWS: Mention bug fix.
29680         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
29681         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
29682         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
29684 2015-01-09  Torvald Riegel <triegel@redhat.com>
29686         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
29688 2015-01-09  Torvald Riegel <triegel@redhat.com>
29690         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
29692 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29694         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
29695         pointer and cast to uintptr_t.
29697 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29699         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
29700         removed.
29701         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
29703 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
29705         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
29706         of 0.
29708 2015-01-08  Roland McGrath  <roland@hack.frob.com>
29710         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
29711         <nptl/pthreadP.h> instead.
29712         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
29714         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
29715         already defined.
29716         [__SIGRTMIN] (init): Function removed.
29717         [__SIGRTMIN] (initialized): Variable removed.
29718         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
29719         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
29720         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
29721         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
29722         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
29723         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
29724         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29725         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
29726         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
29727         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
29728         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
29729         * sysdeps/nptl/allocrtsig.c: New file.
29730         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
29731         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
29732         * sysdeps/generic/testrtsig.h: File removed.
29734         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
29735         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
29737         * nptl/nptl-init.c (pthread_functions): Conditionalize
29738         .ptr__nptl_setxid initialization on [SIGSETXID].
29740         * sysdeps/nptl/sys/procfs.h: New file.
29741         * nptl_db/Makefile (headers): Add it.
29742         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
29744         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
29745         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
29746         * nptl/pthread_attr_setaffinity.c: Include it.
29747         * nptl/pthread_setattr_default_np.c: Likewise.
29748         * nptl/check-cpuset.h: New file.
29750 2015-01-08  Richard Henderson  <rth@redhat.com>
29752         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
29753         (CFLAGS-tst-execstack-prog.c): Likewise.
29754         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
29756 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
29757             Sandra Loosemore  <sandra@codesourcery.com>
29758             Andrew Jenner  <andrew@codesourcery.com>
29759             Joseph Myers  <joseph@codesourcery.com>
29760             Nathan Sidwell  <nathan@codesourcery.com>
29762         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
29763         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
29764         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
29765         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
29766         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
29767         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
29768         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
29769         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
29770         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
29771         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
29772         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
29773         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
29774         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
29775         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
29776         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
29777         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
29778         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
29780 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29782         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
29783         timespec struct member in syscall macro.
29784         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29785         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
29786         first timeval struct member in syscall macro.
29787         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
29789 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
29791         [BZ #17748]
29792         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
29793         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
29794         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
29795         __feupdateenv and define as weak alias of __feupdateenv.  Use
29796         libm_hidden_weak.
29797         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
29798         libm_hidden_def.
29799         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
29800         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
29801         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29802         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
29803         libm_hidden_def.
29804         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
29805         __feupdateenv and define as weak alias of __feupdateenv.  Use
29806         libm_hidden_weak.
29807         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
29808         libm_hidden_def.
29809         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
29810         __feupdateenv and define as weak alias of __feupdateenv.  Use
29811         libm_hidden_weak.
29812         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
29813         libm_hidden_def.
29814         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29815         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29816         (__feupdateenv): Likewise.
29817         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
29818         __feupdateenv and define as weak alias of __feupdateenv.  Use
29819         libm_hidden_weak.
29820         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29821         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
29822         libm_hidden_def.
29823         * sysdeps/tile/math_private.h (__feupdateenv): New inline
29824         function.
29825         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
29826         libm_hidden_def.
29827         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
29828         __feupdateenv instead of feupdateenv.
29829         (default_libc_feupdateenv_test): Likewise.
29830         (libc_feresetround_ctx): Likewise.
29832 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29834         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
29835         prototype.
29837 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
29839         * posix/regcomp.c (parse_bracket_exp): Initialize type to
29840         COLL_SYM in a couple of places to avoid uninitialized variable
29841         wanings on tilegx gcc 4.8.2.
29843 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29845         * sysdeps/aarch64/strcpy.S: New file.
29846         * sysdeps/aarch64/stpcpy.S: New file.
29847         * NEWS: Updated.
29849 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
29851         * sysdeps/aarch64/strrchr.S: New file.
29852         * NEWS: Updated.
29854 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
29856         [BZ #17658]
29857         * stdlib/setenv.c: Fix memory leak when setting large,
29858         duplicate string.
29860 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
29862         [BZ #17273]
29863         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
29864         and tabs from buffer before parsing fstab entry.
29865         * misc/tst-mntent.c (main): Add test for mount entry with
29866         trailing spaces and tabs.
29868 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
29870         [BZ #17748]
29871         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
29872         * math/fesetround.c (fesetround): Rename to __fesetround and
29873         define as weak alias of __fesetround.  Use libm_hidden_weak.
29874         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
29875         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
29876         * sysdeps/arm/fesetround.c (fesetround): Likewise.
29877         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
29878         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
29879         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
29880         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
29881         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
29882         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
29883         __fesetround_inline.
29884         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
29885         __fesetround_inline instead of __fesetround.
29886         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
29887         __fesetround and define as weak alias of __fesetround.  Use
29888         libm_hidden_weak.  Call __fesetround_inline instead of
29889         __fesetround.
29890         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
29891         __fesetround and define as weak alias of __fesetround.  Use
29892         libm_hidden_weak.
29893         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
29894         Likewise.
29895         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
29896         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29897         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
29898         * sysdeps/tile/math_private.h (__fesetround): New inline function.
29899         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
29900         __fesetround and define as weak alias of __fesetround.  Use
29901         libm_hidden_weak.
29902         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
29903         __fesetround instead of fesetround.
29904         (default_libc_feholdexcept_setround): Likewise.
29905         (libc_feholdsetround_ctx): Likewise.
29906         (libc_feholdsetround_noex_ctx): Likewise.
29908         [BZ #17748]
29909         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
29910         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
29911         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29912         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29913         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29914         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
29915         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29916         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
29917         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29918         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29919         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29920         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29921         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29922         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29923         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
29924         libm_hidden_def.
29925         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
29926         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
29927         Likewise.
29928         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
29929         define as weak alias of __fesetenv.  Use libm_hidden_weak.
29930         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29931         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
29932         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
29933         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
29934         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
29935         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
29936         __fesetenv instead of fesetenv.
29937         (libc_feresetround_noex_ctx): Likewise.
29938         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
29939         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
29940         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
29941         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
29942         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
29943         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
29944         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
29945         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
29946         (__feupdateenv): Likewise.
29947         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
29948         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29949         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29950         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
29952 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29954         [BZ #17806]
29955         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
29956         addresses have been freed.
29958 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
29960         * resolv/res_init.c (__res_vinit): Improve comments about nserv
29961         and nservall.
29963 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
29965         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
29966         Clean up check_pf allocation pattern. addresses
29968 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29970         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
29971         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
29972         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
29973         * nptl/pthread_exit.c (__pthread_exit): Likewise.
29974         * nptl/pthread_join.c (pthread_join): Likewise.
29975         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
29976         * sysdeps/posix/waitid.c (__waitid): Likewise.
29977         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29978         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29979         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29980         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29982         Likewise.
29983         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29984         (__libc_pread64): Likewise.
29985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29986         (__libc_pwrite): Likewise.
29987         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29988         (__libc_pwrite64): Likewsie.
29989         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29990         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29991         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29992         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29993         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29994         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29995         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
29996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29997         Likewise.
29998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29999         (__libc_pread64): Likewise.
30000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30001         Likewise.
30002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30003         (__libc_pwrite64): Likewise.
30004         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30005         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30006         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30007         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30008         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30009         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30010         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30011         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30012         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30013         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30014         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30015         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30016         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30017         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30018         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30019         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30020         Likewise.
30022 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30024         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30025         (CFLAGS-test-double.c): Likewise.
30026         (CFLAGS-test-ldouble.c): Likewise.
30027         (CPPFLAGS-test-ifloat.c): Likewise.
30028         (CPPFLAGS-test-idouble.c): Likewise.
30029         (CPPFLAGS-test-ildoubl.c): Likewise.
30030         (CFLAGS-test-test-fenv.c): Remove variable.
30031         (CFLAGS-test-misc.c): Likewise.
30033 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30035         [BZ #17797]
30036         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30037         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30038         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30039         CLOCKS_PER_SEC == 1000000.
30040         * time/clocktest.c (main): Replace %ld with %jd and cast to
30041         intmax_t.
30043 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30045         * sysdeps/generic/unwind-resume.h: New file.
30046         * sysdeps/gnu/unwind-resume.c: Include it.
30047         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30048         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30049         argument list.
30050         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30051         global rather than static.
30052         (_Unwind_Resume): Update user.
30053         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30054         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30055         rather than static.  Add __attribute__ ((cold)).
30056         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30057         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30058         * sysdeps/arm/arm-unwind-resume.S: New file.
30059         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30060         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30061         * sysdeps/arm/Makefile [$(subdir) = csu]
30062         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30063         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30064         Add rt-arm-unwind-resume.
30065         [$(subdir) = nptl]
30066         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30067         Add pt-arm-unwind-resume.
30068         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30069         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30071 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30073         [BZ #17748]
30074         * include/fenv.h (__feholdexcept): Declare.  Use
30075         libm_hidden_proto.
30076         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30077         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30078         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30079         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30080         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30081         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30082         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30083         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30084         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30085         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30086         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30087         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30088         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30089         (feholdexcept): Likewise.
30090         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30091         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30092         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30093         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30094         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30095         __feholdexcept instead of feholdexcept.
30096         (default_libc_feholdexcept_setround): Likewise.
30098 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30100         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30101         to avoid using stl/str to align destination.
30103 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30105         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30107 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30109         [BZ #17796]
30110         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30111         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30112         Define as weak alias not strong alias.
30114 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30116         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30117         bltzal with addiupc.
30118         (RTLD_START): Ditto.
30120 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30122         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30123         for __vdso_* functions in declarations.
30124         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30125         definitions.
30126         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30127         INTERNAL_VSYSCALL): Use struct return types to check for error.
30129         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30130         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30131         function with cast from llround().
30132         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30133         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30134         Define.
30136 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30138         [BZ #17793]
30139         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
30140         Define as weak alias not strong alias.
30142         [BZ #17635]
30143         * ctype/ctype-c99.c: New file.  isblank implementation moved from
30144         ...
30145         * ctype/ctype-extn.c: ... here.
30146         (__isblank_l): Move to ...
30147         * ctype/ctype-c99_l.c: ... here.  New file.
30148         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
30149         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
30150         Remove variable.
30151         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30152         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30153         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30154         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
30155         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
30157         [BZ #17777]
30158         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
30159         (posix_fadvise64): Define as weak alias not strong alias.
30160         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30161         (posix_fallocate64): Likewise.
30162         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
30163         Remove variable.
30164         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
30165         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
30166         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
30167         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
30168         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
30170 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
30172         [BZ #16191]
30173         * NEWS: Mention bug fix.
30174         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
30175         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
30176         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
30177         (HOST_STACK_END_ADDR): Likewise.
30179 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30181         [BZ #17748]
30182         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
30183         * math/fegetround.c (fegetround): Rename to __fegetround and
30184         define as weak alias of __fegetround.  Use libm_hidden_weak.
30185         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
30186         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
30187         * sysdeps/arm/fegetround.c (fegetround): Likewise.
30188         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
30189         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
30190         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
30191         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
30192         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
30193         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
30194         Undefine after rather than before function definition; use
30195         parentheses around function name in definition.
30196         (__fegetround): Also undefine macro after function definition.
30197         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
30198         __fegetround and define as weak alias of __fegetround.  Use
30199         libm_hidden_weak.  Do not undefine as macro.
30200         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
30201         Likewise.
30202         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
30203         __fegetround and define as weak alias of __fegetround.  Use
30204         libm_hidden_weak.
30205         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30206         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
30207         * sysdeps/tile/math_private.h (__fegetround): New inline function.
30208         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
30209         __fegetround and define as weak alias of __fegetround.  Use
30210         libm_hidden_weak.
30211         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
30212         __fegetround instead of fegetround.
30214         [BZ #17782]
30215         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
30216         Condition macro definition on [__USE_MISC].
30218         [BZ #17781]
30219         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
30220         (struct sigaction): Change type of sa_flags field to int.
30222         [BZ #17780]
30223         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
30224         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
30225         __glibc_reserved0.
30227         * nptl/version.c (banner): Use single year in copyright notice.
30229         * NEWS: Update copyright dates.
30230         * catgets/gencat.c (print_version): Likewise.
30231         * csu/version.c (banner): Likewise.
30232         * debug/catchsegv.sh: Likewise.
30233         * debug/pcprofiledump.c (print_version): Likewise.
30234         * debug/xtrace.sh (do_version): Likewise.
30235         * elf/ldconfig.c (print_version): Likewise.
30236         * elf/ldd.bash.in: Likewise.
30237         * elf/pldd.c (print_version): Likewise.
30238         * elf/sotruss.sh: Likewise.
30239         * elf/sprof.c (print_version): Likewise.
30240         * iconv/iconv_prog.c (print_version): Likewise.
30241         * iconv/iconvconfig.c (print_version): Likewise.
30242         * locale/programs/locale.c (print_version): Likewise.
30243         * locale/programs/localedef.c (print_version): Likewise.
30244         * login/programs/pt_chown.c (print_version): Likewise.
30245         * malloc/memusage.sh (do_version): Likewise.
30246         * malloc/memusagestat.c (print_version): Likewise.
30247         * malloc/mtrace.pl: Likewise.
30248         * manual/libc.texinfo: Likewise.
30249         * nptl/version.c (banner): Likewise.
30250         * nscd/nscd.c (print_version): Likewise.
30251         * nss/getent.c (print_version): Likewise.
30252         * nss/makedb.c (print_version): Likewise.
30253         * posix/getconf.c (main): Likewise.
30254         * scripts/test-installation.pl: Likewise.
30255         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
30257 2015-01-02  Will Newton  <will.newton@linaro.org>
30259         * sysdeps/arm/armv7/configure: Removed.
30260         * sysdeps/arm/armv7/configure.ac: Likewise.
30262 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
30264         * All files with FSF copyright notices: Update copyright dates
30265         using scripts/update-copyrights.
30266         * intl/plural.c: Regenerated.
30267         * locale/programs/charmap-kw.h: Likewise.
30268         * locale/programs/locfile-kw.h: Likewise.
30270 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30272         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
30274 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30276         [BZ #17748]
30277         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
30278         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
30279         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30280         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30281         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30282         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
30283         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30284         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
30285         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30286         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30287         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30288         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30289         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30290         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30291         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
30292         libm_hidden_def.
30293         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
30294         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
30295         Likewise.
30296         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
30297         define as weak alias of __fegetenv.  Use libm_hidden_weak.
30298         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30299         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
30300         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
30301         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
30302         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
30303         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
30304         __fegetenv instead of fegetenv.
30305         (libc_feholdsetround_noex_ctx): Likewise.
30307 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30309         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
30310         (Elf_MIPS_ABIFlags_v0): New structure.
30311         (EF_MIPS_FP64): Define.
30312         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
30313         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
30314         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
30315         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
30316         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
30317         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
30318         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
30319         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
30320         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
30321         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
30322         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
30323         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
30324         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
30325         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
30326         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
30327         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
30328         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
30329         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
30330         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
30331         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
30332         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
30333         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
30334         field.
30335         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
30336         EF_MIPS_FP64.
30337         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
30338         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
30339         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
30340         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
30341         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
30342         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
30343         * sysdeps/mips/tst-abi-interlink.c: Likewise.
30344         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
30345         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
30346         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
30347         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
30348         record the current FP ABI extension.
30349         (mips-mode-switch): Define to show if kernel headers support mode
30350         switching.
30351         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
30352         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
30353         supported SYSV ABI version to 3.
30354         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
30355         feature.
30357 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30358             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30360         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
30361         path.
30362         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
30364 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
30366         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
30367         __fegetround and redefine to call __fegetround.  Remove condition
30368         on [!__NO_MATH_INLINES].
30369         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
30370         function.
30371         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
30372         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30373         Remove macro.
30374         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
30375         instead of <fenv_libc.h>.
30376         (__llrintl): Call fegetround instead of __fegetround.
30377         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
30378         instead of <fenv_libc.h>.
30379         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
30380         (__lrintl): Call fegetround instead of __fegetround.
30381         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
30382         instead of <fenv_libc.h>.
30383         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
30384         (__rintl): Call fegetround instead of __fegetround.
30386 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30388         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
30389         arrays.
30391 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30393         [BZ #17775]
30394         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
30395         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
30396         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
30398 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30400         * sysdeps/i386/tls-macros.h: Include <features.h>.
30401         (TLS_LE): Use non-PIC version for GCC >= 5.0.
30402         (TLS_IE): Likewise.
30403         (TLS_LD): Likewise.
30404         (TLS_GD): Likewise.
30405         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
30406         define for GCC >= 5.0.
30408 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
30410         * math/test-fenv.c (test_single_exception, set_single_exc,
30411         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
30412         feexcp_mask_test, feenable_test, fe_single_test): Add
30413         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
30414         case where they are not used.
30415         * math/libm-test.inc: Likewise.
30416         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
30417         unused in the absence of FP rounding/exception support.
30418         * stdio-common/tst-printf-round.c: Likewise.
30419         * stdlib/tst-strtod-round.c: Likewise.
30420         * stdlib/tst-strtod-underflow.c: Likewise.
30422 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
30424         [BZ #17723]
30425         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
30426         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
30427         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30428         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30429         libm_hidden_weak.
30430         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
30431         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30432         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
30433         libm_hidden_def.
30434         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30435         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30436         libm_hidden_weak.
30437         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
30438         Likewise.
30439         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
30440         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30441         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30442         libm_hidden_weak.
30443         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30444         libm_hidden_def.
30445         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30446         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
30447         (__feraiseexcept): Likewise.
30448         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
30449         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
30450         libm_hidden_weak.
30451         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
30452         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
30453         libm_hidden_def.
30454         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
30455         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
30456         Use libm_hidden_def.
30457         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
30458         libm_hidden_def.
30459         (feraiseexcept): Define as weak not strong alias.  Use
30460         libm_hidden_weak.
30461         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
30462         New inline function.  Factored out of ...
30463         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
30464         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
30465         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
30466         feraiseexcept.
30467         * math/w_acos.c (__acos): Likewise.
30468         * math/w_asin.c (__asin): Likewise.
30469         * math/w_ilogb.c (__ilogb): Likewise.
30470         * math/w_j0.c (y0): Likewise.
30471         * math/w_j1.c (y1): Likewise.
30472         * math/w_jn.c (yn): Likewise.
30473         * math/w_log.c (__log): Likewise.
30474         * math/w_log10.c (__log10): Likewise.
30475         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
30476         * sysdeps/aarch64/fpu/math_private.h
30477         (libc_feupdateenv_test_aarch64): Likewise.
30478         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30479         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
30480         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
30481         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30482         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30483         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30484         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
30485         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30486         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30487         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30489 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
30491         [BZ #17732]
30492         * io/test-utime.c (main): Replace %ld with %jd and cast to
30493         intmax_t.
30494         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
30495         * nptl/tst-mutex5.c: Include <stdint.h>.
30496         (do_test): Replace %ld with %jd and cast to intmax_t.
30497         * posix/tst-regex.c (run_test): Likewise.
30498         (run_test_backwards): Likewise.
30499         * rt/tst-clock.c: Include <stdint.h>.
30500         (clock_test): Replace %ld with %jd and cast to intmax_t.
30501         * rt/tst-cpuclock1.c: Include <stdint.h>.
30502         (do_test): Replace %lu with %ju and cast to uintmax_t.
30503         * rt/tst-cpuclock2.c: Include <stdint.h>.
30504         (do_test): Replace %lu with %ju and cast to uintmax_t.
30505         * rt/tst-mqueue1.c: Include <stdint.h>.
30506         (check_attrs): Replace %ld with %jd and cast to intmax_t.
30507         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
30508         intmax_t.
30509         * rt/tst-mqueue4.c (do_test): Likewise.
30510         * rt/tst-timer4.c: Include <stdint.h>.
30511         (check_ts): Replace %ld with %jd and cast to intmax_t.
30512         (do_test): Likewise.
30513         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
30514         and cast to intmax_t.
30515         * sysdeps/pthread/tst-timer.c (main): Likewise.
30516         * time/clocktest.c (main): Likewise.
30517         * time/tst-posixtz.c (do_test): Likewise.
30518         * timezone/tst-timezone.c (main): Likewise.
30520 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30521             H.J. Lu  <hongjiu.lu@intel.com>
30523         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
30524         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
30525         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
30526         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
30527         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
30528         version if bit_Fast_Unaligned_Load is set.
30529         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30530         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30531         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30532         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30533         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30534         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30535         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30536         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
30537         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
30538         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
30539         to 4.
30540         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
30541         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
30542         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
30543         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
30545 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
30547         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
30548         instead of #if to avoid a Wundef warning.
30549         * stdlib/tst-limits.c (do_test): Likewise.
30551         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
30552         parallel other exception macros.
30553         (fegetenv): Convert from macro to extern inline so that it applies
30554         retroactively to inline functions already seen by the compiler.
30555         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
30557         * posix/Makefile (before-compile): Use $(objpfx) for
30558         posix-conf-vars-def.h.
30560 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30562         * posix/getconf.c (main): Use size_t for type of I.
30563         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
30564         NSPEC.
30566         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
30567         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
30568         * posix/posix-envs.def: Likewise.
30569         * sysdeps/posix/sysconf.c: Likewise.
30570         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
30571         (specs): Remove array.
30572         * scripts/gen-posix-conf-vars.awk: Support generation of specs
30573         array.
30575         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
30576         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
30577         (__sysconf): Use CONF_IS_* macros.
30579         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
30580         ($(objpfx)posix-conf-vars-def.h): New target.
30581         * posix/posix-conf-vars.list: New file.
30582         * posix/posix-conf-vars.h: New file.
30583         * posix/confstr.c: Include posix-conf-vars.h.
30584         (confstr): Use CONF_IS_* macros.
30585         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
30586         CONF_IS_* macros.
30587         * scripts/gen-posix-conf-vars.awk: New file.
30589 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
30591         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
30592         fegetround): Add no-op macros to avoid linknamespace issues.
30594         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
30595         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
30597         * sysdeps/unix/sysv/linux/tile/sysdep.h
30598         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
30599         assembly-specific section to avoid a redefinition warning.
30601         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
30602         long before casting to pointer to avoid a cast warning.
30604 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
30606         * sysdeps/tile/tilegx/Implies: New file.
30608 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
30610         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
30612 2014-12-23  Florian Weimer  <fweimer@redhat.com>
30614         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
30616 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30618         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
30619         not define.
30620         * sysdeps/unix/sysv/linux/utimes.c: Do not include
30621         <kernel-features.h>.
30622         (__utimes) [__NR_utimes]: Make code unconditional.
30623         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
30624         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
30625         (__ASSUME_UTIMES): Do not undefine.
30626         * sysdeps/unix/sysv/linux/tile/kernel-features.h
30627         (__ASSUME_UTIMES): Likewise.
30628         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30629         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
30630         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
30631         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
30633 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30635         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
30637 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
30639         [BZ #17747]
30640         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
30641         alias to weak alias for j0l, y0l.
30642         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
30643         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
30645         [BZ #17746]
30646         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
30647         conversion.
30649 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
30651         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
30652         to zero if not already defined.
30654 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30656         [BZ #17724]
30657         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
30658         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
30659         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
30660         (char *) casts added.
30661         * sysdeps/ieee754/k_standardf.c: New file.
30662         * sysdeps/ieee754/k_standardl.c: Likewise.
30663         * math/Makefile (libm-support): Remove k_standard.
30664         (libm-calls): Add k_standard.
30666 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30668         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30669         Optimize to avoid an unnecessary FPCR read.
30671 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30673         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30674         Optimize to reduce FPCR/FPSR accesses.
30676 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30678         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
30679         Call libc_fetestexcept_aarch64.
30681 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
30683         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
30684         Call libc_fesetround_aarch64.
30686 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
30688         [BZ #17733]
30689         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
30690         (__bind): Do not define as weak alias.
30691         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
30692         define.
30693         (__getsockname): Do not define as weak alias.
30695 2014-12-22  Will Newton  <will.newton@linaro.org>
30697         * manual/install.texi: Document that we require bison 2.7
30698         or above.
30699         * INSTALL: Regenerate.
30700         * configure.ac: Use AC_CHECK_PROG_VER instead of
30701         AC_PATH_PROG when checking for bison and check for
30702         version 2.7 or above.
30703         * configure: Regenerate.
30705 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
30707         [BZ #17745]
30708         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
30709         * sysdeps/tile/ffsll.c (ffsll): To here.
30711         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
30713 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30715         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
30716         if not defined.
30717         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
30718         definition.
30719         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30720         hidden ___tls_get_addr.
30721         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
30722         hidden __tls_get_addr.
30723         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
30724         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
30725         Likewise.
30727 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30729         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
30730         _dl_init call.
30732 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
30734         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
30735         from "call _dl_init@PLT".
30736         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
30738 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
30740         * manual/search.texi: (Array Sort Function): Clarify stable sorting
30741         guarantees.
30743 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
30745         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
30747 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30749         [BZ #17744]
30750         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
30751         strnlen.
30753 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30755         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
30756         of multu on MIPSr6.
30757         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
30758         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
30759         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
30760         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
30761         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
30763 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
30765         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
30766         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
30767         (PTR_SUBU): Use subu for mips32r6/mips64r6.
30768         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
30769         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
30770         mips32r6/mips64r6.
30771         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
30773 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
30775         * string/strncat.c (STRNCAT): Simplify implementation.
30777 2014-12-19  David S. Miller  <davem@davemloft.net>
30779         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
30780         access the quad as both a long double and as a series of 4 words.
30782         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
30783         link_map->l_info array access.
30785 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
30787         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
30789         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
30790         * math/atest-exp2.c (TIMEOUT): Likewise.
30791         * math/atest-sincos.c (TIMEOUT): Likewise.
30793 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30795         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
30796         -Wno-error with -fno-builtin-lround.
30798 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30800         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
30801         Contains futex constants and functions moved over from ...
30802         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
30803         <lowlevellock-futex.h>.
30804         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30805         (lll_timedwait_tid): Add comments and parentheses around macro
30806         arguments.
30808 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30810         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
30811         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
30812         (__lll_private_flag): Remove.
30813         (lll_futex_wait): Likewise.
30814         (lll_futex_timed_wait): Likewise.
30815         (lll_futex_wake): Likewise.
30816         (lll_futex_requeue): Likewise.
30817         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
30818         (__lll_timedwait_tid): Spell out argument names.
30819         (lll_timedwait_tid): Add comments and parentheses around macro
30820         arguments.
30821         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
30822         LLL_SHARED and LLL_PRIVATE usable from assembly code.
30824 2014-12-19  Torvald Riegel  <triegel@redhat.com>
30826         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
30827         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30828         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30829         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
30830         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
30831         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
30832         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
30833         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
30834         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
30835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
30836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
30837         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
30838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
30839         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
30840         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
30841         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
30842         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
30843         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
30844         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
30846 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30848         * sysdeps/x86_64/x32/Makefile: New file.
30850 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
30852         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
30853         1L with (mp_limb_t) 1.
30855 2014-12-17  Roland McGrath  <roland@hack.frob.com>
30857         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
30858         * nptl/libc_pthread_init.c: ... here.
30859         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
30860         * nptl/register-atfork.c: ... here.
30862         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
30863         Use pthread_sigmask rather than INTERNAL_SYSCALL.
30864         Use assert_perror to check its return value.
30865         (__gai_create_helper_thread): Likewise.
30867         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
30869         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
30871 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
30873         [BZ #17725]
30874         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
30875         __profil_counter.
30876         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
30877         Likewise.
30878         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
30879         Likewise.
30880         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
30881         Likewise.
30882         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
30883         (profil_counter): Likewise.
30884         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
30885         (profil_counter): Likewise.
30886         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
30887         Likewise.
30888         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
30889         Likewise.
30890         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
30891         (profil_counter): Likewise.
30892         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
30893         Likewise.
30894         [!__profil_counter] (profil_counter): Define as weak alias of
30895         __profil_counter.
30896         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
30897         (profil_counter): Rename to __profil_counter.
30898         [!__profil_counter] (profil_counter): Define as weak alias of
30899         __profil_counter.
30900         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
30901         (profil_counter): Rename to __profil_counter.
30902         [!__profil_counter] (profil_counter): Define as weak alias of
30903         __profil_counter.
30904         * sysdeps/posix/profil.c: Update comment referring to
30905         profil_counter.
30906         (__profil): Use __profil_counter instead of profil_counter.
30907         * sysdeps/posix/sprofil.c (profil_counter): Rename to
30908         __profil_counter.  Use __profil_counter_ushort and
30909         __profil_counter_uint in definitions.
30910         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
30911         instead of profil_counter_uint and profil_counter_ushort.
30913         [BZ #17722]
30914         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
30915         define as weak alias of __inet_makeaddr.
30916         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
30917         as weak alias of __inet_addr.
30918         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
30919         as weak alias of __inet_pton.  Use libc_hidden_weak.
30920         * include/arpa/inet.h (__inet_pton): Declare.  Use
30921         libc_hidden_proto.
30922         (inet_makeaddr): Don't use libc_hidden_proto.
30923         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
30924         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
30925         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
30926         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
30927         Remove variable.
30928         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
30929         (test-xfail-POSIX/time.h/linknamespace): Likewise.
30931 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
30933         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
30935 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30937         * stdio-common/bug-vfprintf-nargs.c (do_test):
30938         Cast value to intptr_t to avoid format warning
30939         for usage with PRIdPTR printing macro.
30941 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
30943         * libio/tst-widetext.c (do_test):
30944         Use format type %td instead of %Zd for ptrdiff_t
30945         in order to avoid format warning.
30947 2014-12-17  Andreas Schwab  <schwab@suse.de>
30949         * nscd/mem.c (gc): Add size_t cast to match printf format.
30951 2014-12-16  Roland McGrath  <roland@hack.frob.com>
30953         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
30954         (init): Apply PTR_MANGLE to pointers before storing them.
30955         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
30956         before using them.
30958 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
30960         [BZ #17719]
30961         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
30962         define as weak alias of __memrchr.
30963         (__memrchr): Do not define as strong alias of memrchr.
30964         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
30965         Remove variable.
30966         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
30967         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
30968         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
30970         [BZ #17717]
30971         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
30972         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
30973         (if_indextoname): Rename to __if_indextoname and define as weak
30974         alias of __if_indextoname.  Use libc_hidden_weak.
30975         (if_freenameindex): Rename to __if_freenameindex and define as
30976         weak alias of __if_freenameindex.
30977         (if_nameindex): Rename to __if_nameindex and define as weak alias
30978         of __if_nameindex.
30979         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
30980         __if_nametoindex and define as weak alias of __if_nametoindex.
30981         Use libc_hidden_weak.
30982         (if_freenameindex): Rename to __if_freenameindex and define as
30983         weak alias of __if_freenameindex.
30984         (if_nameindex): Rename to __if_nameindex and define as weak alias
30985         of __if_nameindex.
30986         (if_indextoname): Rename to __if_indextoname and define as weak
30987         alias of __if_indextoname.  Use libc_hidden_weak.
30988         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
30989         __if_nametoindex and define as weak alias of __if_nametoindex.
30990         Use libc_hidden_weak.
30991         (if_freenameindex): Rename to __if_freenameindex and define as
30992         weak alias of __if_freenameindex.  Use libc_hidden_weak.
30993         (if_nameindex_netlink): Use __if_freenameindex instead of
30994         if_freenameindex.
30995         (if_nameindex): Rename to __if_nameindex and define as weak alias
30996         of __if_nameindex.  Use libc_hidden_weak.
30997         (if_indextoname): Rename to __if_indextoname and define as weak
30998         alias of __if_indextoname.  Use libc_hidden_weak.
30999         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31000         libc_hidden_proto.
31001         [!_ISOMAC] (__if_freenameindex): Likewise.
31002         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31003         if_nametoindex.
31004         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31005         variable.
31006         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31007         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31008         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31009         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31010         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31011         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31012         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31014         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31015         Remove variable.
31016         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31017         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31019 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31021         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31022         subscript above bounds'
31024         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31025         bounds.
31027 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31029         * libio/tst-fopenloc.c: Use test-skeleton.c.
31031         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31032         (entry): Rename to ITEM.
31033         (do_test, comp): Adjust.
31035         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31037 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31039         * string/tester.c: Include <libc-internal.h>.
31040         (test_memset): Ignore -Wmemset-transposed-args.
31042 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31044         * misc/tst-mntent2.c (do_test): Fix warning.
31046 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31048         * elf/tst-unique4lib.cc(a): Mark as used.
31050 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31052         [BZ #17630]
31053         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31054         names.
31056 2014-12-16  Allan McRae  <allan@archlinux.org>
31058         * stdio-common/Makefile (tests): Re-add bug26.
31060 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31062         [BZ #17657]
31063         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31064         static array.
31066 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31068         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31069         (__lll_lock_wait): Likewise.
31070         (__lll_timedlock_wait): Likewise.
31071         (__lll_timedwait_tid): Likewise.
31072         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31073         (__lll_robust_timedlock_wait): Likewise.
31074         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31075         (lll_cond_trylock): Likewise.
31076         (__lll_lock): Likewise.
31077         (__lll_robust_lock): Likewise.
31078         (__lll_cond_lock): Likewise.
31079         (lll_robust_cond_lock): Likewise.
31080         (__lll_timedlock): Likewise.
31081         (__lll_robust_timedlock): Likewise.
31082         (__lll_unlock): Likewise.
31083         (__lll_robust_unlock): Likewise.
31084         (lll_wait_tid): Likewise.
31085         (lll_timedwait_tid): Likewise.
31087 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31089         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31091 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31093         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31095 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31097         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31098         * stdio-common/tst-sprintf.c: Likewise.
31100 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31102         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31104 2014-12-15  Jeff Law  <law@redhat.com>
31106         [BZ #16617]
31107         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31108         on the heap.  (CVE-2012-3406)
31109         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31110         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31111         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31113 2014-12-15  Will Newton  <will.newton@linaro.org>
31115         * manual/install.texi: Bump required version of texinfo
31116         to 4.7 from 4.5.
31117         * INSTALL: Regenerated.
31118         * configure.ac: Check for makeinfo version 4.7 and above.
31119         * configure: Regenerated.
31121 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31123         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31124         PREFIX, string constant to insert between directory and name.
31125         * sysdeps/posix/shm_open.c: Update caller.
31126         * sysdeps/posix/shm_unlink.c: Likewise.
31127         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31128         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31129         (SEM_SHM_PREFIX): New macro.
31130         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31131         [$(have-thread-library) = no].
31132         * nptl/Makefile (libpthread-routines): Add shm-directory.
31133         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31134         * sysdeps/nptl/shm-directory.h: New file.
31135         * sysdeps/posix/shm-directory.c
31136         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
31137         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31138         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
31139         INTERNAL_SYSCALL.
31140         (__where_is_shmfs): Function removed.
31141         (mountpoint, defaultmount, defaultdir, __namedsem_once):
31142         Variables removed.
31143         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
31144         Use SHM_GET_NAME.
31145         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
31147         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
31148         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
31149         unconditional for use inside libpthread.
31150         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
31152 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31154         * nptl/pthread_getaffinity.c: New file.
31155         * nptl/pthread_setaffinity.c: New file.
31156         * nptl/pthread_getname.c: New file.
31157         * nptl/pthread_setname.c: New file.
31159         * nptl/pthread_create.c (START_THREAD_DEFN)
31160         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
31162 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31163             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31165         * resolv/res_send.c (send_vc): Disable warning resplen may
31166         be used uninitialized.
31168 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31170         * nptl/tst-mutex6.c
31171         (ATTR_NULL): New define checks ATTR against NULL.
31172         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
31173         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
31175 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
31177         [BZ #17581]
31178         * malloc/hooks.c
31179         (mem2mem_check): Revert my previous change.
31180         (malloc_check_get_size): Revert my previous change.
31181         (mem2chunk_check): Revert my previous change.
31183 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31185         * sysdeps/posix/shm-directory.c: New file.
31186         * sysdeps/posix/shm-directory.h: New file.
31187         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
31188         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
31189         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
31190         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
31191         Transmute EPERM to EACCES.
31192         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
31193         from ...
31194         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
31195         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
31197 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31199         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
31200         pointer and cast to uintptr_t.
31201         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
31202         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
31203         Add cast to avoid warning.
31204         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
31206 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31208         * nptl/semaphore.h: Move to ...
31209         * sysdeps/pthread/semaphore.h: ... here.
31210         * Makefile (installed-headers): Change nptl/semaphore.h to
31211         sysdeps/pthread/semaphore.h.
31213 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31215         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
31216         generated error format strings.
31218         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
31219         -Wformat-extra-args warnings for scanf formats.
31220         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
31221         test of zero-length format (duh).
31222         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
31223         corner-case scanf format test.
31224         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
31225         generated fprintf format string.
31226         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
31227         corner-case sprintf format tests.
31228         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
31229         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
31230         -Wformat-extra-args warnings throughout.
31231         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
31232         (CFLAGS-scanf4.c): Likewise.
31233         (CFLAGS-scanf7.c): Likewise.
31234         (CFLAGS-tst-sprintf.c): Likewise.
31235         (CFLAGS-tst-printf.c): Likewise.
31236         (CFLAGS-tst-printfsz.c): Likewise.
31238 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
31240         * include/cpio.h: New file.
31241         * include/fmtmsg.h: Likewise.
31243         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
31244         corresponding format argument to size_t.
31245         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
31246         arguments.
31247         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
31248         corresponding format argument to size_t.
31249         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
31250         arguments.
31251         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
31252         corresponding format argument to size_t.
31253         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
31254         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
31255         (CFLAGS-tst-mbswcs2.c): Likewise.
31256         (CFLAGS-tst-mbswcs3.c): Likewise.
31257         (CFLAGS-tst-mbswcs4.c): Likewise.
31258         (CFLAGS-tst-mbswcs5.c): Likewise.
31259         (CFLAGS-tst-trans.c): Likewise.
31261 2014-12-11  Roland McGrath  <roland@hack.frob.com>
31263         * posix/regexbug1.c (main): Use "%s" format with regerror results,
31264         rather than assuming they won't contain any '%'s.
31266 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
31268         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
31269         inhibit_loop_to_libcall to avoid recursive calls.
31270         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
31271         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
31273 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31275         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
31276         prototype.
31278 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31280         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
31281         integer value instead of boolean.
31283 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
31285         * malloc/malloc.c: Fix powerof2 check.
31287 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31289         * locale/programs/locfile.h (maybe_swap_uint32):
31290         Remove inline and add unused attribute.
31292 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
31294         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31295         Truncating assembler expression to a .long expression.
31297 2014-12-11  Andreas Schwab  <schwab@suse.de>
31299         * elf/rtld.c (struct map_args): Constify str member.
31300         (do_preload): Constify fname argument.
31302 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31304         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
31305         constants definition.
31307 2014-12-11  Andreas Schwab  <schwab@suse.de>
31309         [BZ #16657]
31310         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
31311         FORCE_ELISION instead of DO_ELISION.
31312         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
31313         Remove.
31314         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
31315         Likewise.
31317         * iconvdata/gconv-modules: Remove duplicate entry.
31319 2014-12-11  Will Newton  <will.newton@linaro.org>
31321         Merge gettext 0.19.3 into intl/.
31323         This involves a number of cosmetic changes to comments
31324         and ANSI function definitions and prototypes throughout
31325         all the files. The gettext copyright header is used but
31326         with the date ranges taken from the glibc copy.
31328         * NEWS: Add gettext merge to 2.21.
31329         * intl/bindtextdom.c: Switch to gettext copyright.
31330         Use ANSI definitions and prototypes.
31331         Use gl_* locking primitives rather than __libc_* ones.
31332         Use __builtin_expect rather than __glibc_likely/unlikely.
31333         * intl/dcgettext.c: Switch to gettext copyright.
31334         Use ANSI definitions and prototypes.
31335         * intl/dcigettext.c: Switch to gettext copyright.
31336         Use ANSI definitions and prototypes.
31337         (INTDIV0_RAISES_SIGFPE): New define.
31338         Use gl_* locking primitives rather than __libc_* ones.
31339         Include eval-plural.h instead of plural-eval.c.
31340         Use __builtin_expect rather than __glibc_likely/unlikely.
31341         * intl/dcngettext.c: Switch to gettext copyright.
31342         Use ANSI definitions and prototypes.
31343         * intl/dgettext.c: Likewise.
31344         * intl/dngettext.c: Likewise.
31345         * intl/plural-eval.c: Renamed to...
31346         * intl/eval-plural.h: ...this.
31347         * intl/explodename.c: Switch to gettext copyright.
31348         Use ANSI definitions and prototypes.
31349         (_nl_explode_name): Use strchr instead of __rawmemchr.
31350         * intl/finddomain.c: Switch to gettext copyright.
31351         Use ANSI definitions and prototypes.
31352         Use gl_* locking primitives rather than __libc_* ones.
31353         (_nl_find_domain): Use malloc rather than alloca for
31354         allocation of temporary locale name.
31355         * intl/gettext.c: Switch to gettext copyright.
31356         Use ANSI definitions and prototypes.
31357         * intl/gettextP.h: Switch to gettext copyright.
31358         Use ANSI definitions and prototypes.
31359         Use gl_* locking primitives rather than __libc_* ones.
31360         * intl/gmo.h: Switch to gettext copyright.
31361         (struct sysdep_string): Move struct segment_pair outside of
31362         struct definition.
31363         * intl/hash-string.c: Use ANSI definitions and prototypes.
31364         * intl/hash-string.h: Switch to gettext copyright.
31365         Use ANSI definitions and prototypes.
31366         * intl/l10nflist.c: Switch to gettext copyright.
31367         Use ANSI definitions and prototypes.
31368         (_nl_normalize_codeset): Avoid integer overflow.
31369         * intl/loadinfo.h: Switch to gettext copyright.
31370         Use ANSI definitions and prototypes.
31371         (LIBINTL_DLL_EXPORTED): New define.
31372         (PATH_SEPARATOR): New define.
31373         * intl/loadmsgcat.c: Switch to gettext copyright.
31374         * intl/localealias.c: Switch to gettext copyright.
31375         Use ANSI definitions and prototypes.
31376         (_nl_expand_alias): Use PATH_SEPARATOR.
31377         * intl/ngettext.c: Switch to gettext copyright.
31378         Use ANSI definitions and prototypes.
31379         * intl/plural-exp.c: Likewise.
31380         * intl/plural-exp.h: Switch to gettext copyright.
31381         Use ANSI definitions and prototypes.
31382         (struct expression): Move definition of enum operator outside
31383         of struct definition.
31384         * intl/plural.c: Regenerate.
31385         * intl/plural.y: Switch to gettext copyright.
31386         Use ANSI definitions and prototypes.
31387         Port to bison 3.0.
31388         * intl/textdomain.c: Switch to gettext copyright.
31389         Use ANSI definitions and prototypes.
31390         Use gl_* locking primitives rather than __libc_* ones.
31392 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
31394         * debug/warning-nop.c: Add used atrribute.
31396 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31398         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
31400         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
31401         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
31402         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
31404 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31405             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31407         [BZ #17634]
31408         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
31409         Undefine after defining function.  Define as weak alias of
31410         __wcschr.  Use libc_hidden_weak.
31411         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
31412         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
31413         (libc_hidden_def): Also define __GI___wcschr alias.
31414         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
31415         __wcschr and define as weak alias of __wcschr.
31416         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
31417         __wcschr.
31418         [!WCSCHR] (DEFAULT_WCSCHR): Define.
31419         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
31420         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
31421         libc_hidden_weak.  Do not use libc_hidden_def.
31422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
31423         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
31424         __GI___wcschr alias.
31425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
31426         [IS_IN (libc)] (wcschr): Define as macro expanding to
31427         __redirect_wcschr.
31428         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
31429         [IS_IN (libc)] (__wcschr_power6): Likewise.
31430         [IS_IN (libc)] (__wcschr_power7): Likewise.
31431         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
31432         instead of wcschr.
31433         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
31434         __libc_wcschr.
31435         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
31436         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
31437         __wcschr and define as weak alias of __wcschr.  Use
31438         libc_hidden_builtin_def.
31439         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
31440         as weak alias of __wcschr.  Use libc_hidden_weak.
31441         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
31442         wcschr.
31443         * time/era.c (_nl_init_era_entries): Likewise.
31444         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
31445         variable.
31446         (test-xfail-XPG3/time.h/linknamespace): Likewise.
31447         (test-xfail-XPG4/time.h/linknamespace): Likewise.
31449 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31451         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
31452         format for long int variable.
31454 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
31456         [BZ #10672]
31457         * manual/search.texi: (Array Sort Function): Remove claim how to make
31458         qsort stable.
31460 2014-12-10  Andreas Schwab  <schwab@suse.de>
31462         [BZ #12847]
31463         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
31464         user-controlled locks.
31466 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
31468         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
31469         register.
31471 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
31473         * configure.ac (--disable-werror): New configure option.
31474         (enable_werror): New AC_SUBST.
31475         * configure: Regenerated.
31476         * config.make.in (enable-werror): New variable.
31477         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
31478         -Wno-error=undef.
31479         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
31480         * manual/install.texi (Configuring and compiling): Document
31481         --disable-werror.
31482         * INSTALL: Regenerated.
31483         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
31484         (CFLAGS-tst-chk2.c): Likewise.
31485         (CFLAGS-tst-chk3.c): Likewise.
31486         (CFLAGS-tst-chk4.cc): Likewise.
31487         (CFLAGS-tst-chk5.cc): Likewise.
31488         (CFLAGS-tst-chk6.cc): Likewise.
31489         (CFLAGS-tst-lfschk1.c): Likewise.
31490         (CFLAGS-tst-lfschk2.c): Likewise.
31491         (CFLAGS-tst-lfschk3.c): Likewise.
31492         (CFLAGS-tst-lfschk4.cc): Likewise.
31493         (CFLAGS-tst-lfschk5.cc): Likewise.
31494         (CFLAGS-tst-lfschk6.cc): Likewise.
31496         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
31497         (main): Disable -Wdeprecated-declarations around calls to
31498         register_printf_function.
31500         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
31501         (do_test): Disable -Wdiv-by-zero around some calls to
31502         fwrite_unlocked and fread_unlocked.
31504         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
31505         (DIAG_POP_NEEDS_COMMENT): Likewise.
31506         (_DIAG_STR1): Likewise.
31507         (_DIAG_STR): Likewise.
31508         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
31509         * stdio-common/bug21.c: Include <libc-internal.h>.
31510         (do_test): Disable -Wformat around call to sscanf.
31511         * stdio-common/scanf14.c: Include <libc-internal.h>.
31512         (main): Disable -Wformat around some calls to scanf functions.
31514 2014-12-09  Torvald Riegel  <triegel@redhat.com>
31516         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
31518 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31520         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
31521         stack variable alignment.
31523 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
31525         [BZ #17682]
31526         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
31527         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
31528         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
31529         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
31530         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
31531         __getrlimit instead of getrlimit.
31532         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
31533         __gettimeofday instead of gettimeofday.
31534         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31535         Likewise.
31536         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31537         Likewise.
31538         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31539         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
31540         Remove variable.
31541         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31542         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31544 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31546         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
31547         for wide-character tests.
31549 2014-12-04  Roland McGrath  <roland@hack.frob.com>
31551         * io/openat64.c: #include <libc-internal.h>
31552         (__openat64): Prototypify.  Use ignore_value on MODE.
31553         * io/openat.c: Likewise.
31554         * misc/reboot.c: #include <libc-internal.h>
31555         (reboot): Prototypify.  Use ignore_value on HOWTO.
31556         * misc/ptrace.c: #include <libc-internal.h>
31557         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
31559 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
31561         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
31562         XPG4, UNIX98 and XOPEN2K.
31563         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
31564         Remove variable.
31565         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31567 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31569         * libio/fileops.c: Use ISO C style for function definitions.
31570         * libio/iofopen.c: Likewise.
31571         * libio/wfileops.c: Likewise.
31573         [BZ #17653]
31574         * libio/fileops.c (_IO_new_file_underflow): Unset cached
31575         offset on EOF.
31576         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
31577         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
31578         (fgets_func): Function pointer to fgets and fgetws.
31579         (do_ftell_test): Add test to verify ftell value after read
31580         EOF.
31581         (do_test): Set fgets_func.
31583         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
31584         O_TRUNC flag for w and w+ modes.
31585         (do_rewind_test): Likewise.
31586         (do_ftell_test): Likewise.
31587         (do_write_test): Likewise.
31589         [BZ #17647]
31590         * libio/fileops.c (do_ftell): Seek only when there are
31591         unflushed writes.
31592         * libio/wfileops.c (do_ftell_wide): Likewise.
31593         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
31594         test case.
31595         (do_one_test): Call it.
31597 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
31599         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
31600         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
31601         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
31602         Remove variable.
31603         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31604         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31605         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31607 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31609         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
31610         Remove variable.
31611         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31613         [BZ #17668]
31614         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
31615         as weak alias of __getifaddrs.  Use libc_hidden_weak.
31616         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31617         __freeifaddrs.  Use libc_hidden_weak.
31618         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
31619         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
31620         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31621         __freeifaddrs.  Use libc_hidden_weak.
31622         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
31623         __getifaddrs and define as weak alias of __getifaddrs.  Use
31624         libc_hidden_weak.
31625         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
31626         __freeifaddrs.  Use libc_hidden_weak.
31627         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
31628         Remove variable.
31629         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31630         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31632 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
31634         [BZ #17601]
31635         * sysdeps/mips/start.S (__start): Use indirect jump to call
31636         __libc_start_main.
31638 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
31640         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
31642         * nptl/tst-mutex1.c: Include <stdbool.h>.
31643         [!ATTR] (ATTR_NULL): New macro.
31644         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
31645         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
31646         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
31648         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
31649         to char *.
31651         [BZ #17665]
31652         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
31653         Change conditional to [__USE_MISC].
31655         [BZ #17664]
31656         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
31657         fgets_unlocked.
31658         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
31659         __fgets_unlocked.
31660         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
31661         fgets_unlocked.
31662         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
31663         Remove variable.
31664         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31665         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31666         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31667         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31668         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31669         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31670         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31671         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31672         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31674         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
31676 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31678         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31679         Remove strpbrk objects.
31680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31681         (__libc_ifunc_impl_list): Remove strpbrk implementation.
31682         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
31683         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
31684         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
31685         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
31687         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31688         Remove strcspn objects.
31689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31690         (__libc_ifunc_impl_list): Remove strcspn implementation.
31691         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
31692         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
31693         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
31694         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
31696         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31697         Remove strspn objetcs.
31698         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31699         (__libc_ifunc_impl_list): Remove strspn implementation.
31700         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
31701         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
31702         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
31703         * sysdeps/powerpc/powerpc64/strspn.S: New file.
31705 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
31707         [BZ #17581]
31708         * malloc/hooks.c
31709         (mem2mem_check): Add a terminator to the chain of checking blocks.
31710         (malloc_check_get_size): Use it here.
31711         (mem2chunk_check): Ditto.
31713 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31715         * sysdeps/powerpc/powerpc64/strtok.S: New file.
31716         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
31718 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
31720         * bits/ioctl-types.h: Indent preprocessor directives correctly.
31722         * nptl/nptl-init.c: Include libc-internal.h.
31723         (__pthread_initialize_minimal_internal): Use ROUND_UP.
31725         * elf/ldconfig.c (search_dir): Expand comment.
31727 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
31729         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
31730         variable.
31731         (linknamespace-symlist-stdlibs-tests): Likewise.
31732         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
31733         instead of $(objpfx)symlist-stdlibs.
31734         (linknamespace-libs-isoc): New variable.
31735         (linknamespace-libs): Use $(linknamespace-libs-isoc).
31736         (linknamespace-libs-ISO): New variable.
31737         (linknamespace-libs-ISO99): Likewise.
31738         (linknamespace-libs-ISO11): Likewise.
31739         (linknamespace-libs-XPG3): Likewise.
31740         (linknamespace-libs-XPG4): Likewise.
31741         (linknamespace-libs-POSIX): Likewise.
31742         (linknamespace-libs-UNIX98): Likewise.
31743         (linknamespace-libs-XOPEN2K): Likewise.
31744         (linknamespace-libs-POSIX2008): Likewise.
31745         (linknamespace-libs-XOPEN2K8): Likewise.
31746         ($(objpfx)symlist-stdlibs): Replace by
31747         $(linknamespace-symlist-stdlibs-tests).  Use
31748         $(linknamespace-libs-$*) as set of libraries.
31749         ($(linknamespace-header-tests)): Update dependencies.  Use
31750         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
31751         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
31752         * conform/linknamespace.pl: Remove comment about considering
31753         definitions of symbols from irrelevant libraries.
31755 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
31757         [BZ #13862]
31758         * elf/dl-tls.c: Include <atomic.h>.
31759         (oom): Remove #ifdef SHARED/#endif.
31760         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
31761         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
31762         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
31763         big enough.
31764         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
31765         * nptl/Makefile (tests): Add tst-stack4.
31766         (modules-names): Add tst-stack4mod.
31767         ($(objpfx)tst-stack4): New.
31768         (tst-stack4mod.sos): Likewise.
31769         ($(objpfx)tst-stack4.out): Likewise.
31770         ($(tst-stack4mod.sos)): Likewise.
31771         (clean): Likewise.
31772         * nptl/tst-stack4.c: New file.
31773         * nptl/tst-stack4mod.c: Likewise.
31775 2014-11-27  J. Brown  <jb999@gmx.de>
31777         * sysdeps/x86/bits/string.h: Add recent CPUs.
31779 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31781         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
31782         sigblock.
31784         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
31785         feof.
31787         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
31788         variable.
31790 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
31792         * nscd/connections.c: Include libc-internal.h because of macro
31793         usage ignore_value.
31795 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31797         * string/bits/string3.h (__warn_memset_zero_len): Don't
31798         declare for gcc newer than 5.0.
31799         (memset): Don't test for zero-length __LEN for gcc newer than
31800         5.0.
31802 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
31804         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
31805         size_t for %zu format.
31807         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
31808         difference, not %ju.
31810 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31812         * include/libc-internal.h (ignore_value): New macro.
31813         * nscd/connections.c (restart): Wrap calls to setuid and setgid
31814         with ignore_value.
31816         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
31817         definition.
31819         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
31820         pthread_cleanup_push to void *.
31822         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
31823         Undefine.
31825         [BZ #16619]
31826         [BZ #16740]
31827         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
31828         instead of 1L << 52.
31830         * libio/bug-rewind.c (do_test): Check fwscanf return values.
31831         * libio/bug-rewind2.c (do_test): Likewise.
31833         * debug/test-stpcpy_chk-ifunc.c: Remove file.
31834         * debug/test-strcpy_chk-ifunc.c: Likewise.
31835         * wcsmbs/test-wcschr-ifunc.c: Likewise.
31836         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
31837         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
31838         * wcsmbs/test-wcslen-ifunc.c: Likewise.
31839         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
31840         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
31841         * Rules [$(multi-arch) = no] (tests): Do not filter out
31842         $(tests-ifunc).
31843         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
31844         * debug/Makefile (tests-ifunc): Remove variable.
31845         (tests): Do not add $(tests-ifunc).
31846         * wcsmbs/Makefile (tests-ifunc): Remove variable.
31847         (tests): Do not add $(tests-ifunc).
31848         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
31849         [TEST_IFUNC]: Remove conditionals.
31850         * string/test-string.h (TEST_IFUNC): Remove macro.
31851         [TEST_IFUNC]: Remove conditionals.
31853         * string/test-strchr.c [!WIDE] (L): New macro.
31854         [WIDE] (L): Likewise.
31855         (check1): Use CHAR instead of char.  Use L on string and character
31856         constants.
31858 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
31860         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
31861         tests.
31862         * sysdeps/powerpc/bits/atomic.h
31863         (__arch_atomic_exchange_and_add_32_acq): Add definition.
31864         (__arch_atomic_exchange_and_add_32_rel): Likewise.
31865         (atomic_exchange_and_add_acq): Likewise.
31866         (atomic_exchange_and_add_rel): Likewise.
31867         * sysdeps/powerpc/powerpc32/bits/atomic.h
31868         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31869         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31870         * sysdeps/powerpc/powerpc64/bits/atomic.h
31871         (__arch_atomic_exchange_and_add_64_acq): Add definition.
31872         (__arch_atomic_exchange_and_add_64_rel): Likewise.
31874 2014-11-26  Torvald Riegel  <triegel@redhat.com>
31876         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
31877         Change synchronization of __sched_fifo_min_prio and
31878         __sched_fifo_max_prio.
31879         * nptl/pthread_mutexattr_getprioceiling.c
31880         (pthread_mutexattr_getprioceiling): Likewise.
31881         * nptl/pthread_mutexattr_setprioceiling.c
31882         (pthread_mutexattr_setprioceiling): Likewise.
31883         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
31884         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
31885         Likewise.
31887 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
31889         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
31890         void.
31892 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31894         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
31895         third argument const.
31897 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
31899         fnmatch: work around GCC compiler warning bug with uninit var
31900         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
31901         This works around a bug with x86-64 GCC 4.9.2 and earlier
31902         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
31903         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31904         used uninitialized in this function [-Wmaybe-uninitialized]".
31906 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
31908         * posix/bug-regex31.c (main): Return RES not 0.
31910 2014-11-25  Anton Blanchard <anton@samba.org>
31912         * sysdeps/powerpc/bits/atomic.h
31913         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
31915 2014-11-24  Sterling Augustine  <saugustine@google.com>
31917         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
31919 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
31921         [BZ #17608]
31922         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
31924 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
31926         [BZ #17633]
31927         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
31928         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
31929         variable.
31930         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
31931         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
31933 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31935         * string/strncpy.c (strncpy): Improve performance by using memset.
31937 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
31939         * string/strcpy.c (strcpy):
31940         Improve performance by using strlen and memcpy.
31942 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
31944         * string/strcoll_l.c (get_next_seq): __always_inline.
31945         * string/strcoll_l.c (do_compare): __always_inline.
31947 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31949         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
31950         defined.
31951         * include/mqueue.h: Likewise.
31952         * include/stdlib.h: Likewise.
31954         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
31955         (get_null_defines): Adjust.
31956         * sunrpc/Makefile: Adjust comment.
31957         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
31958         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
31959         (CFLAGS-interp.c): Likewise.
31960         (CFLAGS-ldconfig.c): Likewise.
31961         (CPPFLAGS-.os): Likewise.
31962         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31963         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
31964         * extra-modules.mk (extra-modules.mk): Likewise.
31965         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
31966         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
31967         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
31968         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
31969         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
31970         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
31971         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
31972         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
31973         * iconvdata/Makefile (CPPFLAGS): Likewise.
31974         (cpp-srcs-left): Add libof for all iconvdata routines.
31975         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
31976         * include/assert.h: Likewise.
31977         * include/ctype.h: Likewise.
31978         * include/errno.h: Likewise.
31979         * include/libc-symbols.h: Likewise.
31980         * include/math.h: Likewise.
31981         * include/netdb.h: Likewise.
31982         * include/resolv.h: Likewise.
31983         * include/stdio.h: Likewise.
31984         * include/stdlib.h: Likewise.
31985         * include/string.h: Likewise.
31986         * include/sys/stat.h: Likewise.
31987         * include/wctype.h: Likewise.
31988         * intl/l10nflist.c: Likewise.
31989         * libidn/idn-stub.c: Likewise.
31990         * libio/libioP.h: Likewise.
31991         * nptl/libc_multiple_threads.c: Likewise.
31992         * nptl/pthreadP.h: Likewise.
31993         * posix/regex_internal.h: Likewise.
31994         * resolv/res_hconf.c: Likewise.
31995         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
31996         * sysdeps/arm/memmove.S: Likewise.
31997         * sysdeps/arm/sysdep.h: Likewise.
31998         * sysdeps/generic/_itoa.h: Likewise.
31999         * sysdeps/generic/symbol-hacks.h: Likewise.
32000         * sysdeps/gnu/errlist.awk: Likewise.
32001         * sysdeps/gnu/errlist.c: Likewise.
32002         * sysdeps/i386/i586/memcpy.S: Likewise.
32003         * sysdeps/i386/i586/memset.S: Likewise.
32004         * sysdeps/i386/i686/memcpy.S: Likewise.
32005         * sysdeps/i386/i686/memmove.S: Likewise.
32006         * sysdeps/i386/i686/mempcpy.S: Likewise.
32007         * sysdeps/i386/i686/memset.S: Likewise.
32008         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32009         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32010         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32011         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32012         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32013         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32014         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32015         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32016         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32017         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32018         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32019         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32020         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32021         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32022         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32023         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32024         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32025         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32026         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32027         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32028         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32029         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32030         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32031         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32032         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32033         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32034         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32035         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32036         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32037         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32038         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32039         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32040         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32041         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32042         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32043         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32044         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32045         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32046         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32047         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32048         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32049         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32050         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32051         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32052         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32053         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32054         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32055         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32056         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32057         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32058         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32059         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32060         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32061         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32062         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32063         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32064         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32065         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32066         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32067         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32068         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32069         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32070         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32071         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32072         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32073         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32074         * sysdeps/posix/closedir.c: Likewise.
32075         * sysdeps/posix/opendir.c: Likewise.
32076         * sysdeps/posix/readdir.c: Likewise.
32077         * sysdeps/posix/rewinddir.c: Likewise.
32078         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32079         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32080         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32081         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32082         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32083         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32084         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32085         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32086         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32087         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32088         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32089         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32090         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32091         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32092         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32093         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32094         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32095         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32096         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32097         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32098         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32099         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32100         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32101         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32102         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32103         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32104         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32105         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32106         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32107         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32109         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32110         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32111         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32112         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32113         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32114         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32115         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32116         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32117         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32118         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32119         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32120         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32121         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32122         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32123         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32124         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32125         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32126         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32127         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32128         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32129         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32131         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32133         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32134         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
32135         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
32136         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
32137         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
32138         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
32139         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
32140         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32141         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
32142         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
32143         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
32144         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
32145         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
32146         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
32147         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
32148         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
32149         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
32150         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
32151         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
32152         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
32153         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
32154         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
32155         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
32156         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32157         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
32158         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
32159         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
32160         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
32161         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
32162         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
32163         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
32164         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
32165         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
32166         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
32167         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32168         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
32169         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
32170         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
32171         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32172         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32173         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
32174         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32175         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32176         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
32177         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
32178         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32179         * sysdeps/unix/alpha/sysdep.S: Likewise.
32180         * sysdeps/unix/alpha/sysdep.h: Likewise.
32181         * sysdeps/unix/make-syscalls.sh: Likewise.
32182         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32183         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32184         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32185         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
32186         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32187         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
32188         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
32189         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32190         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32191         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
32192         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32193         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32194         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32195         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32196         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32197         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32198         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32199         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32200         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32201         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32202         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
32203         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32204         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32205         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32206         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32207         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32208         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32211         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
32212         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32213         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32214         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32216         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
32217         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32219         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32220         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
32221         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32222         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32223         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32224         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32225         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
32226         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32228         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32229         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32231         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32232         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32233         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32234         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32235         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
32237         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32238         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32240         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
32241         * sysdeps/x86_64/memcpy.S: Likewise.
32242         * sysdeps/x86_64/memmove.c: Likewise.
32243         * sysdeps/x86_64/memset.S: Likewise.
32244         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
32245         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32246         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
32247         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
32248         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
32249         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32250         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32251         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32252         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32253         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32254         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32255         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32256         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
32257         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32258         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32259         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
32260         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32261         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32262         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32263         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32264         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
32265         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32266         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32267         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32268         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32269         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32270         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32271         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
32272         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
32273         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32274         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
32275         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32276         * sysdeps/x86_64/strcmp.S: Likewise.
32278         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
32280         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
32281         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
32282         * elf/rtld-Rules: Likewise.
32283         * elf/setup-vdso.h: Likewise.
32284         * include/assert.h: Likewise.
32285         * include/bits/stdlib-float.h: Likewise.
32286         * include/errno.h: Likewise.
32287         * include/sys/stat.h: Likewise.
32288         * include/unistd.h: Likewise.
32289         * sysdeps/aarch64/setjmp.S: Likewise.
32290         * sysdeps/alpha/setjmp.S: Likewise.
32291         * sysdeps/arm/__longjmp.S: Likewise.
32292         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
32293         * sysdeps/arm/setjmp.S: Likewise.
32294         * sysdeps/arm/sysdep.h: Likewise.
32295         * sysdeps/generic/_itoa.h: Likewise.
32296         * sysdeps/generic/dl-sysdep.h: Likewise.
32297         * sysdeps/generic/ldsodefs.h: Likewise.
32298         * sysdeps/i386/dl-tls.h: Likewise.
32299         * sysdeps/i386/setjmp.S: Likewise.
32300         * sysdeps/m68k/setjmp.c: Likewise.
32301         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
32302         * sysdeps/mach/hurd/opendir.c: Likewise.
32303         * sysdeps/posix/getcwd.c: Likewise.
32304         * sysdeps/posix/opendir.c: Likewise.
32305         * sysdeps/posix/profil.c: Likewise.
32306         * sysdeps/powerpc/dl-procinfo.h: Likewise.
32307         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
32308         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
32309         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
32310         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
32311         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
32312         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
32313         * sysdeps/s390/dl-tls.h: Likewise.
32314         * sysdeps/s390/s390-32/setjmp.S: Likewise.
32315         * sysdeps/s390/s390-64/setjmp.S: Likewise.
32316         * sysdeps/sh/sh3/setjmp.S: Likewise.
32317         * sysdeps/sh/sh4/setjmp.S: Likewise.
32318         * sysdeps/unix/alpha/sysdep.h: Likewise.
32319         * sysdeps/unix/arm/sysdep.S: Likewise.
32320         * sysdeps/unix/i386/sysdep.S: Likewise.
32321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32322         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
32323         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32324         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32325         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32326         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
32327         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
32328         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32329         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
32330         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
32331         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32332         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32333         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32336         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32337         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32338         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32339         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32340         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32341         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32342         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32343         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32344         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32345         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32347         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32348         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32349         * sysdeps/x86_64/setjmp.S: Likewise.
32351         * include/math.h: Use IS_IN instead of IS_IN_libm.
32352         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
32353         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32354         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32355         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
32356         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32357         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32358         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32359         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32360         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32361         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32362         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
32363         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
32364         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
32365         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
32366         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
32367         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
32368         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
32369         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
32370         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
32371         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
32372         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
32373         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
32374         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
32375         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
32376         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
32377         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
32378         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
32379         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
32380         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
32381         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
32382         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
32383         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
32384         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
32385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
32386         Likewise.
32387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
32388         Likewise.
32389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
32390         Likewise.
32391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
32392         Likewise.
32393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
32394         Likewise.
32395         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
32396         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
32397         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
32398         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
32399         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
32400         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
32401         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
32402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
32403         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
32404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
32405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
32406         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
32407         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
32408         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
32409         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
32410         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
32411         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
32412         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
32413         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
32414         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
32415         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
32416         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32417         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
32418         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
32419         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
32420         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32421         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
32423         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
32424         * nptl/pthreadP.h: Likewise.
32425         * nptl_db/structs.def: Likewise.
32426         * sysdeps/arm/sysdep.h: Likewise.
32427         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32428         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32429         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
32430         * sysdeps/unix/alpha/sysdep.h: Likewise.
32431         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32432         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
32433         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32434         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32435         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32436         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32437         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32438         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32439         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32440         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32441         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32442         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32443         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32444         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
32446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32447         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32449         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32451         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32452         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32453         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
32454         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32455         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
32456         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32458         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
32459         * nptl/pthreadP.h: Likewise.
32460         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
32461         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
32462         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
32463         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
32464         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
32465         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
32466         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
32467         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
32468         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
32469         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
32470         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
32471         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
32472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
32473         Likewise.
32474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
32475         Likewise.
32476         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
32477         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
32478         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
32479         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
32480         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32481         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
32482         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
32483         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
32485         * dlfcn/dladdr.c: Use IS_IN.
32486         * dlfcn/dladdr1.c: Likewise.
32487         * dlfcn/dlclose.c: Likewise.
32488         * dlfcn/dlerror.c: Likewise.
32489         * dlfcn/dlinfo.c: Likewise.
32490         * dlfcn/dlmopen.c: Likewise.
32491         * dlfcn/dlopen.c: Likewise.
32492         * dlfcn/dlsym.c: Likewise.
32493         * dlfcn/dlvsym.c: Likewise.
32495         * include/ifaddrs.h: Use IS_IN.
32496         * inet/check_pf.c: Likewise.
32497         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32498         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
32500         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
32501         IS_IN_ldconfig.
32502         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
32503         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
32505         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
32506         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
32507         IS_IN (libc).
32509         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
32511         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
32512         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32513         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32514         * include/libc-symbols.h (IS_IN_LIB): New macro.
32515         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
32516         * include/netdb.h: Likewise.
32517         * include/stap-probe.h: Remove all uses of IN_LIB.
32519         * Makeconfig (module-cppflags-real): Define MODULE_NAME
32520         instead of IN_MODULE.
32521         * include/libc-symbols.h (IN_MODULE): Define using
32522         MODULE_NAME.
32523         (PASTE_NAME, PASTE_NAME1): New macros.
32524         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
32525         of IN_LIB.
32526         (STAP_PROBE_ASM): Likewise.
32528 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32530         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
32531         __mach_init in dlopened libc.
32533 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
32535         * sysdeps/arm/preconfigure.ac: Delete EABI check.
32536         * sysdeps/arm/preconfigure: Regenerate.
32538 2014-11-21  Roland McGrath  <roland@hack.frob.com>
32540         * nptl/pthread_create.c (__pthread_create_2_1): Set
32541         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
32542         when copying values from IATTR into PD.
32544 2014-11-21  Will Newton  <will.newton@linaro.org>
32545             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
32547         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
32548         Refactor inline-asm.  Also add comment.
32550         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
32551         ElfW macro instead of hardcoded Elf64 types.
32552         (la_aarch64_gnu_pltenter): Likewise.
32553         * sysdeps/aarch64/dl-machine.h
32554         (elf_machine_runtime_setup): Use ElfW(Addr).
32556         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
32557         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
32558         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
32559         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
32560         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
32561         (R_AARCH64_TLS_DTPMOD64): Rename to ..
32562         (R_AARCH64_TLS_DTPMOD): This.
32563         (R_AARCH64_TLS_DTPREL64): Rename to ...
32564         (R_AARCH64_TLS_DTPREL): This.
32565         (R_AARCH64_TLS_TPREL64): Rename to ...
32566         (R_AARCH64_TLS_TPREL): This.
32567         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
32568         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
32569         R_AARCH64_TLS_TPREL64.
32570         (elf_machine_rela): Likewise.
32572 2014-11-21  Torvald Riegel  <triegel@redhat.com>
32574         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
32575         by setting it to 0.  64b atomics are not supported currently.
32577 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32579         [BZ #16469]
32580         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
32581         search domain names.
32583 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32585         [BZ #16469]
32586         * NEWS: Update.
32587         * resolv/res_query.c (__libc_res_nquerydomain): Retain
32588         trailing dot.
32589         * posix/tst-getaddrinfo5.c: New.
32590         * posix/Makefile (tests): Add it.
32592 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32594         [BZ #14498]
32595         * NEWS: Fixed.
32596         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
32597         after parsing line but before break_if_match.
32598         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
32599         if there is a protocol mismatch.
32601 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
32603         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
32604         because the potential race is on the user-supplied stream.
32606 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32608         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
32609         string literal if not passed a buffer.
32610         * manual/job.texi (ctermid): Update reasoning, note deviation
32611         from posix, suggest mtasurace when not passed a buffer, for
32612         future non-preliminary safety notes.
32614 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32616         * manual/users.texi (cuserid): Fix MT-Safety note for the case
32617         of not passing it a buffer.
32618         Reported by Peng Haitao.
32620 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
32622         * manual/Makefile ($(objpfx)stamp-summary): Require
32623         check-safety.sh to pass.
32624         * manual/check-safety.sh: Wish for verification that every
32625         @deftypefn and @deftypefun is followed by a @safety remark.
32627 2014-11-20  Roland McGrath  <roland@hack.frob.com>
32629         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
32631         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
32632         PTHREAD_CANCEL_ASYNCHRONOUS.
32633         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
32634         send SIGCANCEL.
32636         * nptl/default-sched.h: New file.
32637         * sysdeps/unix/sysv/linux/default-sched.h: New file.
32638         * nptl/pthread_create.c: Include it.
32639         (__pthread_create_2_1): Use collect_default_sched instead of making
32640         Linux syscalls here directly.
32642 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32644         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
32645         __pthread_once): Use C11 atomics.
32647 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32649         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
32651 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32653         * include/atomic.h (__atomic_link_error, __atomic_check_size,
32654         atomic_thread_fence_acquire, atomic_thread_fence_release,
32655         atomic_thread_fence_seq_cst, atomic_load_relaxed,
32656         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
32657         atomic_compare_exchange_weak_relaxed,
32658         atomic_compare_exchange_weak_acquire,
32659         atomic_compare_exchange_weak_release,
32660         atomic_exchange_acquire, atomic_exchange_release,
32661         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
32662         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
32663         atomic_fetch_and_acquire,
32664         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
32666 2014-11-20  Torvald Riegel  <triegel@redhat.com>
32668         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
32669         USE_ATOMIC_COMPILER_BUILTINS): Define.
32670         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
32671         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32672         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
32673         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32674         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
32675         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32676         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
32677         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32678         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
32679         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32680         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
32681         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32682         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
32683         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32684         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
32685         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32686         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32687         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32688         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32689         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32690         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
32691         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32692         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
32693         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32694         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
32695         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32696         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
32697         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32698         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
32699         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32700         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
32701         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32702         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
32703         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32704         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32705         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32706         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
32707         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32708         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
32709         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
32711 2014-11-19  Roland McGrath  <roland@hack.frob.com>
32713         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
32714         the sched_priority value here.  It was already checked when the user
32715         called pthread_attr_setschedparam.
32717         * nptl/tst-bad-schedattr.c: New file.
32718         * nptl/Makefile (tests): Add it.
32720 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
32721             Florian Weimer  <fweimer@redhat.com>
32722             Joseph Myers  <joseph@codesourcery.com>
32723             Adam Conrad  <adconrad@0c3.net>
32724             Andreas Schwab  <schwab@suse.de>
32725             Brooks  <bmoses@google.com>
32727         [BZ #17625]
32728         * wordexp-test.c (__dso_handle): Add prototype.
32729         (__register_atfork): Likewise.
32730         (__app_register_atfork): New function.
32731         (registered_forks): New global.
32732         (register_fork): New function.
32733         (test_case): Add 3 new tests for WRDE_CMDSUB.
32734         (main): Call __app_register_atfork.
32735         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
32736         fork count is non-zero fail the test.
32737         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
32738         is set.
32739         (parse_dollars): Remove check for WRDE_NOCMD.
32740         (parse_dquote): Likewise.
32742 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32744         * Makeconfig (built-modules): List non-library modules to be
32745         built.
32746         (module-cppflags): Include libc-modules.h for
32747         everything except shlib-versions.v.i.
32748         (CPPFLAGS): Use it.
32749         (before-compile): Add libc-modules.h.
32750         ($(common-objpfx)libc-modules.h,
32751         $(common-objpfx)libc-modules.stmp): New targets.
32752         (common-generated): Add libc-modules.h and libc-modules.stmp.
32753         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
32754         * include/libc-symbols.h: Don't include libc-modules.h.
32755         * include/libc-modules.h: Remove file.
32756         * scripts/gen-libc-modules.awk: New script to generate
32757         libc-modules.h.
32758         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
32759         Depend on libc-modules.stmp.
32761         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
32763         * Makeconfig (in-module): Get value of libof set for the
32764         translation unit.
32765         (CPPFLAGS): Use $(in-module).
32766         * Makerules: Don't suffix routine names for nonlib.
32767         * include/libc-modules.h: New file.
32768         * include/libc-symbols.h: Include libc-modules.h
32769         (IS_IN): New macro to replace IS_IN_* macros.
32770         * elf/Makefile: Set libof-* for each routine.
32771         * elf/rtld-Rules: Likewise.
32772         * extra-modules.mk: Likewise.
32773         * iconv/Makefile: Likewise.
32774         * iconvdata/Makefile: Likewise.
32775         * locale/Makefile: Likewise.
32776         * malloc/Makefile: Likewise.
32777         * nss/Makefile: Likewise.
32778         * sysdeps/gnu/Makefile: Likewise.
32779         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
32780         * sysdeps/unix/sysv/linux/Makefile: Likewise.
32781         * sysdeps/s390/s390-64/Makefile: Likewise.
32782         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
32783         CPPFLAGS for nscd instead of nonlib.
32785 2014-11-18  Roland McGrath  <roland@hack.frob.com>
32787         * nptl/createthread.c: New file.
32789         * nptl/createthread.c: Moved ...
32790         * sysdeps/unix/sysv/linux/createthread.c: ... here.
32792         * nptl/createthread.c: Add proper top-line comment.
32793         (do_clone): Folded into ...
32794         (create_thread): ... here.  Take new arguments STOPPED_START and
32795         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
32796         increment __nptl_threads, do event-reporting logic, do
32797         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
32798         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
32799         resource cleanup if sched_setaffinity or sched_setscheduler fails,
32800         just send SIGCANCEL.
32801         * nptl/pthread_create.c: Forward-declare create_thread before
32802         including createthread.c.
32803         (start_thread): Use new macro START_THREAD_DEFN to replace defining
32804         declaration, and new macro START_THREAD_SELF to replace argument.
32805         Remove return statement.
32806         (report_thread_creation): New function.
32807         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
32808         synchronization logic, and __nptl_nthreads increment here, around
32809         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
32810         PD->parent_cancelhandling here, before create_thread.  When
32811         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
32812         __deallocate_stack, and ENOMEM translation here.
32814 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
32816         [BZ #17616]
32817         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
32818         (mptwo): Rename to __mptwo.
32819         (__inv): Use __mptwo instead of mptwo.
32820         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
32821         (mptwo): Rename to __mptwo.
32822         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
32823         of mpone and __mptwo instead of mptwo.
32824         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
32825         instead of mpone.
32826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32827         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
32828         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
32829         of mpone and __mptwo instead of mptwo.
32830         (__mpranred): Use __mpone instead of mpone.
32831         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
32832         variable.
32833         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
32834         (test-xfail-ISO99/math.h/linknamespace): Likewise.
32835         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
32836         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
32837         (test-xfail-ISO11/math.h/linknamespace): Likewise.
32838         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
32839         (test-xfail-XPG3/math.h/linknamespace): Likewise.
32840         (test-xfail-XPG4/math.h/linknamespace): Likewise.
32841         (test-xfail-POSIX/math.h/linknamespace): Likewise.
32842         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
32843         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
32844         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
32845         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
32846         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
32847         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
32848         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
32849         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
32850         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
32851         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
32853 2014-11-18  Tom de Vries  <tom@codesoucery.com>
32855         * manual/signal.texi (Primitives Interrupted by Signals): In section,
32856         replace BSD Handler xref with BSD Signal Handling.
32858 2014-11-17  Richard Henderson  <rth@redhat.com>
32860         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
32861         (_FP_PACK_RAW_2): Remove.
32862         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
32863         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
32864         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
32865         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
32866         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
32867         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
32868         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
32869         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
32870         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
32871         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
32872         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
32873         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
32874         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
32875         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
32876         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
32877         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
32879 2014-11-14  Roland McGrath  <roland@hack.frob.com>
32881         * signal/signal.h [__USE_MISC]
32882         (struct sigvec): Remove type.
32883         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
32884         (sigvec): Remove declaration.
32885         * sysdeps/posix/sigvec.c: Moved ...
32886         * signal/sigvec.c: ... here, replacing old file.
32887         (struct sigvec): New type, copied from old signal.h definition.
32888         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
32889         (__sigvec): Convert definition to prototype.
32890         (sigvec): Replace weak_alias with compat_symbol.
32891         * signal/Versions (libc: GLIBC_2.21): New version set.
32892         * include/signal.h: Remove __sigvec declaration.
32893         * sysdeps/unix/bsd/sigvec.c: Remove file.
32894         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
32895         * manual/signal.texi (BSD Handler): Remove subsection.
32896         Move siginterrupt up to ...
32897         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
32898         (Blocking in BSD): Fold subsection into its parent.
32899         * NEWS: Mention sigvec removal.
32901 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32903         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
32904         (DLA_FMS): Make definition conditional only on [__FMA4__].
32905         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
32906         definition.
32908         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
32909         Make definition conditional only on [PROF].
32910         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
32911         definition.
32912         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
32913         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
32915         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
32916         !__GNUC__].
32917         * include/signal.h (__sigpause): Move declaration above call to
32918         libc_hidden_proto.
32919         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
32920         variable.
32921         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
32922         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
32924 2014-11-14  David S. Miller  <davem@davemloft.net>
32926         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
32927         Define before including <string/memcpy.c> and <string/mempcpy.c>.
32929 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
32931         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
32932         * configure: Regenerated.
32933         * manual/install.texi (Tools for Compilation): Document a
32934         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
32935         compiler verified to work.
32936         * INSTALL: Regenerated.
32938         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
32939         redeclare with asm name.
32940         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
32941         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
32942         including <string.h>.
32943         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32944         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
32945         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32946         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
32947         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32948         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32949         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
32951 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
32953         * stdlib/strtol.c (__strtol): Use prototype definition.
32955         [BZ #17594]
32956         * stdlib/strtol.c (SYM__): New macro.
32957         (SYM__1): Likewise.
32958         (__strtol): Likewise.
32959         (strtol): Rename to __strtol and define as weak alias of
32960         __strtol.  Use libc_hidden_weak.
32962 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32964         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
32965         Use numbered labels in inline assembly.
32967 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32969         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
32970         Add setjmp LIBC_PROBE.
32971         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
32972         Likewise.
32973         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
32974         Add longjmp, longjmp_target LIBC_PROBE.
32975         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
32976         Likewise.
32978 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32980         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
32981         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
32982         to get rid of unused variable warning.
32984 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32986         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
32987         Check for unwind_backtrace ==  NULL only in SHARED case.
32988         (__backchain_backtrace): Compile only in SHARED case.
32989         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
32990         Likewise.
32991         (__backchain_backtrace): Declare as static.
32993 2014-11-12  Roland McGrath  <roland@hack.frob.com>
32995         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
32996         (__libc_multiple_threads_ptr): Variable moved ...
32997         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
32999 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33001         * conform/GlibcConform.pm: New file.
33002         * conform/conformtest.pl: Use GlibcConform module.
33003         * conform/linknamespace.pl: New file.
33004         * conform/list-header-symbols.pl: Likewise.
33005         * conform/Makefile (linknamespace-symlists-base): New variable.
33006         (linknamespace-symlists-tests): Likewise.
33007         (linknamespace-header-base): Likewise.
33008         (linknamespace-header-tests): Likewise.
33009         (tests-special): Add new tests.
33010         ($(linknamespace-symlists-tests)): New rule.
33011         (linknamespace-libs): New variable.
33012         ($(objpfx)symlist-stdlibs): New rule.
33013         ($(linknamespace-header-tests)): Likewise.
33014         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33015         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33016         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33017         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33018         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33019         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33020         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33021         (test-xfail-ISO/math.h/linknamespace): Likewise.
33022         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33023         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33024         (test-xfail-ISO/time.h/linknamespace): Likewise.
33025         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33026         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33027         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33028         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33029         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33030         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33031         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33032         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33033         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33034         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33035         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33036         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33037         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33038         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33039         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33040         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33041         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33042         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33043         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33044         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33045         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33046         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33047         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33048         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33049         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33050         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33051         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33052         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33053         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33054         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33055         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33056         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33057         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33058         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33059         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33060         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33061         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33062         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33063         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33064         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33065         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33066         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33067         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33068         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33069         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33070         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33071         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33072         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33073         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33074         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33075         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33076         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33077         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33078         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33079         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33080         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33081         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33082         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33083         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33084         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33085         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33086         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33087         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33088         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33089         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33090         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33091         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33092         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33093         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33094         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33095         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33096         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33097         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33098         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33099         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33100         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33101         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33102         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33103         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33104         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33105         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33106         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33107         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33108         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33109         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33110         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33111         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33112         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33113         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33114         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33115         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33116         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33117         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33118         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33119         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33120         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33121         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33122         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33123         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33124         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33125         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33126         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33127         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33128         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33129         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33130         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33131         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33132         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33133         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33134         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33135         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33136         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
33137         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
33138         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33139         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33140         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
33141         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
33142         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33143         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
33144         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
33145         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
33146         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33147         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
33148         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
33149         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33150         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
33151         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
33152         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
33153         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33154         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33155         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
33156         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
33157         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
33158         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
33159         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33160         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
33161         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
33162         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33163         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
33164         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33165         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
33166         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33167         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
33168         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33169         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
33170         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
33171         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
33172         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33173         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
33174         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
33176         [BZ #17589]
33177         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
33178         of fgets_unlocked.
33180         [BZ #17585]
33181         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
33182         (memmem): Rename to __memmem and define as weak alias of
33183         __memmem.  Use libc_hidden_weak.
33184         (__memmem): Use libc_hidden_def.
33185         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
33186         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
33187         memmem.
33189         [BZ #17582]
33190         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
33191         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
33192         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
33193         and define as weak alias of __fgets_unlocked.  Use
33194         libc_hidden_weak.
33195         (__fgets_unlocked): Use libc_hidden_def.
33196         * include/stdio.h (__fgets_unlocked): Declare.  Use
33197         libc_hidden_proto.
33198         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
33199         __fgets_unlocked instead of fgets_unlocked.
33200         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
33201         (GET_NPROCS_CONF_PARSER): Likewise.
33202         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
33203         (GET_NPROCS_CONF_PARSER): Likewise.
33205         [BZ #17574]
33206         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
33207         weak alias of __wmemset.  Use libc_hidden_weak.
33208         (__wmemset): Use libc_hidden_def.
33209         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
33210         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
33211         of wmemset.
33213         [BZ #17573]
33214         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
33215         with asm name __mempcpy.
33216         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
33218         [BZ #17572]
33219         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
33220         and define as weak alias of __rawmemchr.
33221         (__rawmemchr): Do not define as strong alias of rawmemchr.
33223         [BZ #17571]
33224         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
33225         alias of __qsort_r.
33226         (qsort): Call __qsort_r instead of qsort_r.
33227         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
33228         (__qsort_r): Declare.  Call libc_hidden_proto.
33229         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
33230         instead of qsort_r.
33231         * nscd/gai.c (__qsort_r): Define to qsort_r.
33232         * posix/tst-rfc3484.c (__qsort_r): Likewise.
33233         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
33234         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
33236         [BZ #17570]
33237         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
33238         define as weak alias of __malloc_info.
33240         [BZ #17584]
33241         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
33242         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33243         (__rewinddir): Use libc_hidden_def.
33244         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
33245         as weak alias of __rewinddir.  Don't use libc_hidden_def.
33246         (__rewinddir): Use libc_hidden_def.
33247         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
33248         weak alias of __rewinddir.  Don't use libc_hidden_def.
33249         (__rewinddir): Use libc_hidden_def.
33250         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
33251         (__rewinddir): Use libc_hidden_proto.
33252         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
33253         rewinddir.
33254         (__getcwd): Use __rewinddir instead of rewinddir.
33256         [BZ #17583]
33257         * libio/fileno.c (fileno): Rename to __fileno and define as weak
33258         alias of __fileno.  Use libc_hidden_weak.
33259         (__fileno): Use libc_hidden_def.
33260         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
33261         * libio/ftello.c (ftello): Rename to __ftello and define as weak
33262         alias of __ftello.
33263         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
33264         __ftello.
33265         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
33266         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
33267         libc_hidden_def.
33268         (fread_unlocked): Don't use libc_hidden_ver.
33269         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
33270         and define as weak alias of __fread_unlocked.  Don't use
33271         libc_hidden_def.
33272         (__fread_unlocked): Use libc_hidden_def.
33273         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
33274         (ftello): Don't use libc_hidden_proto.
33275         (__ftello): Declare.  Use libc_hidden_proto.
33276         (fread_unlocked): Don't use libc_hidden_proto.
33277         (__fread_unlocked): Declare.  Use libc_hidden_proto.
33278         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
33279         and __ftello instead of fileno, fread_unlocked and ftello.
33281 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33283         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
33284         GOT12.
33285         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
33286         Likewise.
33287         (_dl_start_user): Likewise.
33288         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
33290 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
33291             Siddhesh Poyarekar  <siddhesh@redhat.com>
33293         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
33294         Move argv and envp down instead of moving argc up.
33295         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
33297 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
33299         [BZ #17506]
33300         * test-skeleton.c (main): Return successful if one of
33301         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
33302         * string/tst-strcoll-overflow.c: Define expected status.
33304 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
33306         [BZ #17475]
33307         * locale/iso-639.def: Define Bhili and Tulu language codes.
33309 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
33311         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
33313 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
33315         [BZ #17555]
33316         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
33318 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33320         * configure.ac: Updated check of minimal required version to
33321         2.22.
33322         * manual/install.texi (Tools for Compilation): Updated version
33323         number.
33324         * configure: Regenerated.
33325         * INSTALL: Likewise.
33327 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
33329         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
33330         __tls_get_addr.
33332 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
33334         * include/sys/wait.h (__libc_waitpid): Remove declaration.
33335         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
33336         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33337         libc_hidden_weak.
33338         (waitpid): Define as alias of __waitpid.
33339         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
33340         __waitpid.
33341         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33342         libc_hidden_weak.
33343         (waitpid): Define as alias of __waitpid.
33344         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
33345         __libc_waitpid alias.
33346         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
33347         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
33348         Likewise.
33349         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
33350         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
33351         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
33352         alias.
33353         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
33354         __waitpid.
33355         (__waitpid): Don't define as alias.  Use libc_hidden_def not
33356         libc_hidden_weak.
33357         (waitpid): Define as alias of __waitpid.
33359 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
33361         * manual/llio.texi: Add comment that write safety has been
33362         fixed in Linux.
33364         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
33365         (localplt-build-dso): Add elf/ld.so.
33366         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
33367         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
33368         and free for ld.so.
33369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
33370         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
33371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
33372         Likewise.
33373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
33374         Likewise.
33375         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
33376         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
33377         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
33378         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
33379         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
33380         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
33381         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
33382         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
33383         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
33384         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
33385         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
33387 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
33389         [BZ #14132]
33390         * include/libc-symbols.h (INTUSE): Remove macro.
33391         (INTDEF): Likewise.
33392         (INTVARDEF): Likewise.
33393         (_INTVARDEF): Likewise.
33394         (INTDEF2): Likewise.
33395         (INTVARDEF2): Likewise.
33396         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
33397         rtld_hidden_def instead of INTVARDEF.
33398         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
33399         (_dl_starting_up_internal): Remove declaration.
33400         (_dl_starting_up): Use rtld_hidden_proto.
33401         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
33402         declaration.
33403         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
33404         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
33405         _dl_starting_up.
33406         * elf/dl-writev.h (_dl_writev): Likewise.
33407         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
33408         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
33409         _dl_starting_up_internal.
33411 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33413         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33414         test-skeleton.c.
33416 2014-11-05  Will Newton  <will.newton@linaro.org>
33418         * benchtests/Makefile: (bench-malloc): Add malloc thread
33419         scalability benchmark.
33420         * benchtests/bench-malloc-threads.c: New file.
33422 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
33424         * sysdeps/aarch64/strchrnul.S: New file.
33426 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33428         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
33429         definition.
33430         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33431         Likewise.
33432         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33433         Likewise.
33434         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33435         Likewise.
33436         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33437         Likewise.
33438         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33439         Likewise.
33441 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
33443         * catgets/test-gencat.c: Use test-skeleton.c.
33444         * catgets/tst-catgets.c: Likewise.
33445         * csu/tst-empty.c: Likewise.
33446         * elf/tst-audit2.c: Likewise.
33447         * elf/tst-global1.c: Likewise.
33448         * elf/tst-pathopt.c: Likewise.
33449         * elf/tst-piemod1.c: Likewise.
33450         * elf/tst-tls10.c: Likewise.
33451         * elf/tst-tls11.c: Likewise.
33452         * elf/tst-tls12.c: Likewise.
33453         * gnulib/tst-gcc.c: Likewise.
33454         * iconvdata/tst-e2big.c: Likewise.
33455         * iconvdata/tst-loading.c: Likewise.
33456         * iconv/tst-iconv1.c: Likewise.
33457         * iconv/tst-iconv2.c: Likewise.
33458         * inet/test-inet6_opt.c: Likewise.
33459         * inet/tst-gethnm.c: Likewise.
33460         * inet/tst-network.c: Likewise.
33461         * inet/tst-ntoa.c: Likewise.
33462         * intl/tst-codeset.c: Likewise.
33463         * intl/tst-gettext2.c: Likewise.
33464         * intl/tst-gettext3.c: Likewise.
33465         * intl/tst-ngettext.c: Likewise.
33466         * intl/tst-translit.c: Likewise.
33467         * io/test-stat.c: Likewise.
33468         * libio/test-fmemopen.c: Likewise.
33469         * libio/tst-freopen.c: Likewise.
33470         * libio/tst-sscanf.c: Likewise.
33471         * libio/tst-ungetwc1.c: Likewise.
33472         * libio/tst-ungetwc2.c: Likewise.
33473         * libio/tst-widetext.c: Likewise.
33474         * localedata/tst-ctype.c: Likewise.
33475         * localedata/tst-digits.c: Likewise.
33476         * localedata/tst-leaks.c: Likewise.
33477         * localedata/tst-mbswcs1.c: Likewise.
33478         * localedata/tst-mbswcs2.c: Likewise.
33479         * localedata/tst-mbswcs3.c: Likewise.
33480         * localedata/tst-mbswcs4.c: Likewise.
33481         * localedata/tst-mbswcs5.c: Likewise.
33482         * localedata/tst-setlocale.c: Likewise.
33483         * localedata/tst-trans.c: Likewise.
33484         * localedata/tst-wctype.c: Likewise.
33485         * localedata/tst-xlocale1.c: Likewise.
33486         * login/tst-grantpt.c: Likewise.
33487         * malloc/tst-calloc.c: Likewise.
33488         * malloc/tst-malloc.c: Likewise.
33489         * malloc/tst-mallocstate.c: Likewise.
33490         * malloc/tst-mcheck.c: Likewise.
33491         * malloc/tst-mtrace.c: Likewise.
33492         * malloc/tst-obstack.c: Likewise.
33493         * math/atest-exp2.c: Likewise.
33494         * math/atest-exp.c: Likewise.
33495         * math/atest-sincos.c: Likewise.
33496         * math/test-matherr.c: Likewise.
33497         * math/test-misc.c: Likewise.
33498         * math/test-powl.c: Likewise.
33499         * math/tst-definitions.c: Likewise.
33500         * misc/tst-dirname.c: Likewise.
33501         * misc/tst-efgcvt.c: Likewise.
33502         * misc/tst-fdset.c: Likewise.
33503         * misc/tst-hsearch.c: Likewise.
33504         * misc/tst-mntent2.c: Likewise.
33505         * nptl/tst-sem7.c: Likewise.
33506         * nptl/tst-sem8.c: Likewise.
33507         * nptl/tst-sem9.c: Likewise.
33508         * nss/test-netdb.c: Likewise.
33509         * posix/tst-fnmatch.c: Likewise.
33510         * posix/tst-getlogin.c: Likewise.
33511         * posix/tst-gnuglob.c: Likewise.
33512         * posix/tst-mmap.c: Likewise.
33513         * pwd/tst-getpw.c: Likewise.
33514         * resolv/tst-inet_ntop.c: Likewise.
33515         * rt/tst-timer.c: Likewise.
33516         * stdio-common/test-fseek.c: Likewise.
33517         * stdio-common/test-popen.c: Likewise.
33518         * stdio-common/test-vfprintf.c: Likewise.
33519         * stdio-common/tst-cookie.c: Likewise.
33520         * stdio-common/tst-fileno.c: Likewise.
33521         * stdio-common/tst-gets.c: Likewise.
33522         * stdio-common/tst-obprintf.c: Likewise.
33523         * stdio-common/tst-perror.c: Likewise.
33524         * stdio-common/tst-sprintf2.c: Likewise.
33525         * stdio-common/tst-sprintf3.c: Likewise.
33526         * stdio-common/tst-sprintf.c: Likewise.
33527         * stdio-common/tst-swprintf.c: Likewise.
33528         * stdio-common/tst-tmpnam.c: Likewise.
33529         * stdio-common/tst-unbputc.c: Likewise.
33530         * stdio-common/tst-wc-printf.c: Likewise.
33531         * stdlib/tst-environ.c: Likewise.
33532         * stdlib/tst-fmtmsg.c: Likewise.
33533         * stdlib/tst-limits.c: Likewise.
33534         * stdlib/tst-rand48-2.c: Likewise.
33535         * stdlib/tst-rand48.c: Likewise.
33536         * stdlib/tst-random2.c: Likewise.
33537         * stdlib/tst-random.c: Likewise.
33538         * stdlib/tst-strtol.c: Likewise.
33539         * stdlib/tst-strtoll.c: Likewise.
33540         * stdlib/tst-tls-atexit.c: Likewise.
33541         * stdlib/tst-xpg-basename.c: Likewise.
33542         * string/test-ffs.c: Likewise.
33543         * string/tst-bswap.c: Likewise.
33544         * string/tst-inlcall.c: Likewise.
33545         * string/tst-strtok.c: Likewise.
33546         * string/tst-strxfrm.c: Likewise.
33547         * sysdeps/x86_64/tst-audit10.c: Likewise.
33548         * sysdeps/x86_64/tst-audit3.c: Likewise.
33549         * sysdeps/x86_64/tst-audit4.c: Likewise.
33550         * sysdeps/x86_64/tst-audit5.c: Likewise.
33551         * time/tst-ftime_l.c: Likewise.
33552         * time/tst-getdate.c: Likewise.
33553         * time/tst-mktime3.c: Likewise.
33554         * time/tst-mktime.c: Likewise.
33555         * time/tst-posixtz.c: Likewise.
33556         * time/tst-strptime2.c: Likewise.
33557         * time/tst-strptime3.c: Likewise.
33558         * wcsmbs/tst-btowc.c: Likewise.
33559         * wcsmbs/tst-mbrtowc.c: Likewise.
33560         * wcsmbs/tst-mbsrtowcs.c: Likewise.
33561         * wcsmbs/tst-wchar-h.c: Likewise.
33562         * wcsmbs/tst-wcpncpy.c: Likewise.
33563         * wcsmbs/tst-wcrtomb.c: Likewise.
33564         * wcsmbs/tst-wcsnlen.c: Likewise.
33565         * wcsmbs/tst-wcstof.c: Likewise.
33567 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
33569         [BZ #14132]
33570         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
33571         INTDEF.
33572         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
33573         declaration.
33574         (_dl_mcount): Use rtld_hidden_proto.
33575         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
33576         _dl_mcount.
33577         * elf/rtld.c (_rtld_global_ro): Likewise.
33579         [BZ #14132]
33580         * elf/dl-init.c (_dl_init): Don't use INTDEF.
33581         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
33582         of _dl_init_internal.
33583         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
33584         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
33585         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
33586         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
33587         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
33588         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
33589         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
33590         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
33591         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
33592         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
33593         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
33594         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
33595         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33596         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33597         * sysdeps/tile/dl-start.S (_start): Likewise.
33598         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
33599         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
33601         [BZ #14132]
33602         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
33603         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
33604         (rtld_progname): Make macro definition unconditional.
33605         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
33606         INTDEF.
33607         (dlmopen_doit): Do not use INTUSE with _dl_argv.
33608         (dl_main): Likewise.
33609         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33610         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
33611         instead of _dl_argv_internal.
33612         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33613         __GI__dl_argv instead of INTUSE(_dl_argv).
33614         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
33615         __GI__dl_argv instead of _dl_argv_internal.
33617         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
33618         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
33619         macro.
33620         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
33621         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
33622         New macro.
33623         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
33624         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
33625         macro.
33626         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
33627         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
33629 2014-11-04  Andreas Schwab  <schwab@suse.de>
33631         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
33633 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33635         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
33636         mtvsrd instruction in binary form.
33638 2014-11-03  Andreas Schwab  <schwab@suse.de>
33640         [BZ #17522]
33641         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
33642         for less than MB_LEN_MAX use a local buffer of that size.
33643         * libio/tst-fputws.c: New file.
33644         * libio/Makefile (tests): Add tst-fputws.
33646 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
33648         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
33649         the size of the fpu_fr.fpu_dregs[] array.
33651 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
33653         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
33654         (__nanosleep): Do not define as alias.
33655         (nanosleep): Define as alias of __nanosleep.
33656         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
33657         __libc_nanosleep name.
33659 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33661         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
33662         install.texi in comment.
33664 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33666         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
33667         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
33668         ... add here and use lwsync or sync ...
33669         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
33670         ... and add here using lwsync.
33672 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
33674         * elf/dl-machine-reject-phdr.h: New file.
33675         * elf/dl-load.c: #include that.
33676         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
33677         if that returned true.
33679 2014-10-31  Roland McGrath  <roland@hack.frob.com>
33681         [BZ #17496]
33682         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
33683         gen-as-const-headers chunk.  Add a big scare comment after the last
33684         safe place to touch before-compile.
33686 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
33688         * manual/install.texi (Tools for Compilation): Update autoconf
33689         version requirements.
33690         * INSTALL: Regenerated.
33692         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
33693         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
33694         (__libc_pselect): Likewise.
33696         [BZ #14138]
33697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
33698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
33699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
33700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
33702 2014-10-31  Torvald Riegel  <triegel@redhat.com>
33704         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
33705         correct barrier instruction.
33706         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
33707         Likewise.
33708         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
33709         Likewise.
33711 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33713         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
33714         after defining inlines.  Instead, just use parens to defeat macro
33715         expansion of __isctype in its declaration.
33717 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33719         * include/sys/uio.h (__libc_readv): Remove declaration.
33720         (__libc_writev): Likewise.
33721         * misc/readv.c (__libc_readv): Rename to __readv.
33722         (__readv): Do not define as alias.
33723         (readv): Define as alias of __readv.
33724         * misc/writev.c (__libc_writev): Rename to __writev.
33725         (__writev): Do not define as alias.
33726         (writev): Define as alias of __writev.
33727         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
33728         (__readv): Do not define as alias.
33729         (readv): Define unconditionally as alias of __readv.
33730         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
33731         (__writev): Do not define as alias.
33732         (writev): Define unconditionally as alias of __writev.
33733         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
33734         name.
33735         (writev): Do not define __libc_writev name.
33737 2014-10-30  Roland McGrath  <roland@hack.frob.com>
33739         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
33740         (convert_charseq): New function, broken out of ...
33741         (use_from_charmap): ... here.  Call it.
33742         (use_to_charmap): Use convert_charseq and free instead of duplicating
33743         its code with a variable-length stack struct.
33745 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
33747         * include/fcntl.h (__libc_creat): Remove declaration.
33748         * io/creat.c (__libc_creat): Rename to creat.
33749         (creat): Do not define as alias.
33750         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
33751         of creat instead of __libc_creat.
33752         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
33753         to creat.
33754         (creat): Do not define as alias.
33755         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
33756         __libc_creat.
33757         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
33758         __libc_creat name.
33759         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
33760         Likewise.
33762 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
33764         * manual/llio.texi: Add comments discussing why write() may be
33765         considered MT-unsafe on Linux.
33767 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
33769         * dl-load.c (local_strdup): Remove.
33770         (expand_dynamic_string_token): Use __strdup.
33771         (decompose_rpath): Likewise.
33772         (_dl_map_object): Likewise.
33774 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
33776         [BZ #14132]
33777         * sysdeps/generic/unwind-dw2-fde.c
33778         (__register_frame_info_bases_internal): Do not declare.
33779         (__register_frame_info_table_bases_internal): Likewise.
33780         (__deregister_frame_info_bases_internal): Likewise.
33781         (__register_frame_info_bases): Declare and use hidden_proto before
33782         definition.  Use hidden_def instead of INTDEF.
33783         (__register_frame_info_table_bases): Likewise.
33784         (__deregister_frame_info_bases): Likewise.
33785         (__register_frame_info): Do not use INTUSE.
33786         (__register_frame): Likewise.
33787         (__register_frame_info_table): Likewise.
33788         (__register_frame_table): Likewise.
33789         (__deregister_frame_info): Likewise.
33790         (__deregister_frame): Likewise.
33792 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
33794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33795         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
33796         not undefine.
33797         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
33798         Likewise.
33799         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
33800         Likewise.
33802 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
33804         [BZ #14138]
33805         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
33806         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
33807         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
33808         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
33809         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
33810         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
33811         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
33812         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
33813         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
33814         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
33815         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
33816         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
33817         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
33818         syscall.
33819         (setfsuid): Likewise.
33820         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
33821         (setfsuid): Likewise.
33822         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
33823         (setfsuid): Likewise.
33824         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
33825         Likewise.
33826         (setfsuid): Likewise.
33827         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
33828         (setfsuid): Likewise.
33829         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
33830         Likewise.
33831         (setfsuid): Likewise.
33833 2014-10-27  Andreas Schwab  <schwab@suse.de>
33835         [BZ #17501]
33836         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
33837         check for Slow_SSE4_2 feature bit.
33838         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
33839         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33840         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
33841         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
33843 2014-10-24  Roland McGrath  <roland@hack.frob.com>
33845         * configure.ac: Validate compiler version with a empirical test of
33846         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
33847         $CC -v output.
33848         * configure: Regenerated.
33850         * inet/htons.c (htons): Prototypify.
33851         * inet/htonl.c (htonl): Likewise.
33853 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33855         * string/strncat.c (strncat): Improve performance by using strlen.
33857 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33859         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
33861 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33863         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
33864         Call libc_fetestexcept_aarch64.
33866 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33868         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
33869         Call libc_feholdexcept_aarch64.
33871 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33873         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
33874         Call get_rounding_mode.
33876 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33878         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33879         Simplify logic.
33881 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
33883         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
33884         Simplify logic.
33886 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
33888         [BZ #14138]
33889         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
33890         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
33891         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
33892         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
33893         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
33894         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
33895         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
33896         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
33897         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
33898         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
33899         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33900         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
33901         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
33902         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
33903         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
33904         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
33905         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
33906         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
33907         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
33908         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
33909         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
33910         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
33911         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
33912         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
33913         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
33914         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
33915         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
33916         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
33917         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
33918         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
33919         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
33920         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
33921         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
33922         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
33923         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
33924         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
33925         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
33926         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
33927         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
33928         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
33929         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
33930         syscall.
33931         (geteuid): Likewise.
33932         (getgid): Likewise.
33933         (getuid): Likewise.
33934         (getresgid): Likewise.
33935         (getresuid): Likewise.
33936         (getgroups): Likewise.
33937         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
33938         (geteuid): Likewise.
33939         (getgid): Likewise.
33940         (getuid): Likewise.
33941         (getresgid): Likewise.
33942         (getresuid): Likewise.
33943         (getgroups): Likewise.
33944         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
33945         (geteuid): Likewise.
33946         (getgid): Likewise.
33947         (getuid): Likewise.
33948         (getresgid): Likewise.
33949         (getresuid): Likewise.
33950         (getgroups): Likewise.
33951         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
33952         Likewise.
33953         (geteuid): Likewise.
33954         (getgid): Likewise.
33955         (getuid): Likewise.
33956         (getresgid): Likewise.
33957         (getresuid): Likewise.
33958         (getgroups): Likewise.
33959         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
33960         (geteuid): Likewise.
33961         (getgid): Likewise.
33962         (getuid): Likewise.
33963         (getresgid): Likewise.
33964         (getresuid): Likewise.
33965         (getgroups): Likewise.
33966         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
33967         Likewise.
33968         (geteuid): Likewise.
33969         (getgid): Likewise.
33970         (getuid): Likewise.
33971         (getgroups): Likewise.
33973         [BZ #14138]
33974         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
33975         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
33976         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
33977         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33978         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
33979         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
33980         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
33981         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
33982         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
33983         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
33984         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
33985         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
33986         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
33987         __chown.
33988         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
33989         (lchown): Likewise.
33990         (fchown): Likewise.
33991         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
33992         Likewise.
33993         (lchown): Likewise.
33994         (fchown): Likewise.
33995         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
33996         (lchown): Likewise.
33997         (fchown): Likewise.
33998         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
33999         Likewise.
34000         (lchown): Likewise.
34001         (fchown): Likewise.
34003 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34005         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34006         Simplify logic.
34008 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34010         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34011         Cleanup logic.
34013 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34015         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34016         Remove unused include.
34018 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34020         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34021         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34022         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34023         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34025 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34026             Helge Deller <deller@gmx.de>
34028         [BZ #17508]
34029         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34030         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34031         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34033 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34035         [BZ #14132]
34036         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34037         Remove macro definition.
34038         (__ashrdi3_v_glibc20): Likewise.
34039         (__lshrdi3_v_glibc20): Likewise.
34040         (__cmpdi2_v_glibc20): Likewise.
34041         (__ucmpdi2_v_glibc20): Likewise.
34042         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34043         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34044         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34045         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34046         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34047         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34049 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34051         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34052         old GNU extension [0] syntax.
34053         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34054         alloca rather than an array member with variable length.
34055         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34056         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34057         (parse_opt): ... here.  Likewise use alloca there.
34058         Validate the -i argument before checking for rootness.
34059         (send_shutdown): New function, broken out of ...
34060         (parse_opt): ... here.
34062 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34064         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34065         macro to get at the _rt_local_ro field.
34066         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34067         ([PIC] case) or _dl_hwcap ([!PIC] case).
34068         * sysdeps/arm/setjmp.S: Likewise.
34070         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34071         * sysdeps/arm/configure.ac: New check to define it.
34072         * sysdeps/arm/configure: Regenerated.
34073         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34074         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34075         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34076         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34077         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34078         Use move/movt pair instead of a load.
34079         (LDST_GLOBAL): Macro removed.
34080         (LDR_GLOBAL): New macro replaces it.
34081         (LDR_HIDDEN): New macro.
34082         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34083         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34085         * setjmp/tst-setjmp-static.c: New file.
34086         * setjmp/Makefile (tests): Add it.
34087         (tests-static): New variable.
34089 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34091         [BZ #17485]
34092         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34094 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34096         [BZ #14132]
34097         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34099 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34101         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34103 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34105         * io/fts.c (dirent_not_directory): New function.
34106         (fts_build): Call it.
34108 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34110         * nptl/version.c (__nptl_main): Use normal __write rather than
34111         INTERNAL_SYSCALL.
34112         (banner): Update copyright years.
34114         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34115         gettimeofday.
34116         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34117         * nptl/pthread_cond_timedwait.c: Likewise.
34118         * nptl/pthread_mutex_timedlock.c: Likewise.
34119         * nptl/sem_timedwait.c: Likewise.
34121         * sysdeps/nptl/bits/libc-lock.h
34122         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34123         (__libc_lock_init_recursive): Return void, not 0.
34124         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34125         (__libc_rwlock_init): Likewise.
34126         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34128 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34130         [BZ #15215]
34131         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34132         (__pthread_once_slow): ... here.
34133         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34134         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
34136 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34138         [BZ #15215]
34139         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
34140         __PTHREAD_ONCE_FORK_GEN_INCR): New.
34141         * sysdeps/nptl/fork.c (__libc_fork): Use them.
34142         * nptl/pthread_once.c (__pthread_once): Likewise.
34143         Update comments.
34145 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
34147         [BZ #14138]
34148         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
34149         name.
34150         (writev): Use __libc_writev as strong name.
34151         * sysdeps/unix/sysv/linux/readv.c: Remove file.
34152         * sysdeps/unix/sysv/linux/writev.c: Likewise.
34154 2014-10-17  Roland McGrath  <roland@hack.frob.com>
34156         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
34158         * sysdeps/i386/nptl/tls.h
34159         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
34160         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
34161         New macros.
34162         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
34163         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
34164         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
34165         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
34166         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
34167         Call CHECK_THREAD_SYSINFO instead of doing an assert.
34169         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34170         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
34171         on [__NR_futex].
34172         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
34173         broken out of ...
34174         (__pthread_mutex_init): ... here.  Call it.
34175         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
34176         Conditionalize PI cases on [__NR_futex].
34177         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
34178         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
34179         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
34181         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
34182         conditional on [SIGSETXID].
34183         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
34184         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
34185         is defined.  Likewise for SIGSETXID.
34186         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
34187         Conditionalize definitions on [SIGSETXID].
34188         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
34189         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
34190         unblocking on [SIGCANCEL].
34192         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
34193         [__NR_set_robust_list].
34195 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34197         * string/strcoll_l.c (get_next_seq): Fix up formatting.
34198         (do_compare): Likewise.
34200 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
34202         [BZ #15884]
34203         * string/strcoll_l.c: Don't include stdio.h.
34204         (coll_seq): Remove members idxarr and rulearr.
34205         (get_next_seq_cached): Remove function.
34206         (get_next_seq): Likewise.
34207         (get_next_seq_nocache): Rename to get_next_seq.
34208         (do_compare): Remove function.
34209         (do_compare_nocache): Rename to do_compare.
34210         (STRCOLL): Remove weight and rules cache.
34212 2014-10-16  Roland McGrath  <roland@hack.frob.com>
34214         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
34215         * sysdeps/arm/sfp-machine.h: ... to here.
34216         * sysdeps/arm/Implies: Remove arm/soft-fp.
34218 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
34220         * conform/data/sys/utsname.h-data (*_t): Allow.
34221         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
34222         [POSIX] (WEXITED): Do not expect constant.
34223         [POSIX] (WSTOPPED): Likewise.
34224         [POSIX] (WNOHANG): Likewise.
34225         [POSIX] (WNOWAIT): Likewise.
34226         [POSIX] (siginfo_t): Do not expect type or elements.
34227         [POSIX] (pid_t): Do not expect type.
34228         [POSIX] (signal.h): Do not allow header.
34229         [POSIX] (sys/resource.h): Likewise.
34230         [POSIX] (si_*): Do not allow pattern.
34231         [POSIX] (W*): Likewise.
34232         [POSIX] (P_*): Likewise.
34233         [POSIX] (BUS_*): Likewise.
34234         [POSIX] (CLD_*): Likewise.
34235         [POSIX] (FPE_*): Likewise.
34236         [POSIX] (ILL_*): Likewise.
34237         [POSIX] (POLL_*): Likewise.
34238         [POSIX] (SEGV_*): Likewise.
34239         [POSIX] (SI_*): Likewise.
34240         [POSIX] (TRAP_*): Likewise.
34241         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
34242         variable.
34244 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
34246         [BZ #12926]
34247         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
34248         infinite loop when __recvmsg returns 0.
34250 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
34252         * CANCEL-FCT-WAIVE: Remove file.
34253         * CANCEL-FILE-WAIVE: Likewise.
34255         [BZ #14132]
34256         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
34257         instead of INTVARDEF.
34258         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34259         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
34260         rtld_hidden_data_def instead of INTVARDEF.
34261         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
34262         * elf/dl-deps.c (expand_dst): Likewise.
34263         * elf/dl-load.c (_dl_dst_count): Likewise.
34264         (_dl_dst_substitute): Likewise.
34265         (decompose_rpath): Likewise.
34266         (_dl_init_paths): Likewise.
34267         (open_path): Likewise.
34268         (_dl_map_object): Likewise.
34269         * elf/rtld.c (dl_main): Likewise.
34270         (process_dl_audit): Likewise.
34271         (process_envvars): Likewise.
34272         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
34273         Remove declaration.
34274         (__libc_enable_secure): Use rtld_hidden_proto.
34276 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34278         * elf/dl-load.c
34279         (add_path): New function broken out of _dl_rtld_di_serinfo.
34280         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
34282 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34284         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
34285         parentheses around macro arguments.
34286         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
34287         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
34288         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
34289         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
34290         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
34291         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34292         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34293         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
34294         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
34295         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
34296         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
34297         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
34298         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
34299         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
34300         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
34301         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
34302         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
34303         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
34304         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
34305         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
34306         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
34307         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
34308         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
34309         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
34310         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
34311         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
34312         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
34313         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
34314         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
34315         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
34316         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
34317         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
34318         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
34319         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
34320         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
34321         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
34322         Likewise.
34323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
34324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34325         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
34327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
34328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
34329         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
34330         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
34331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
34332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
34333         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
34334         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
34335         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
34336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
34337         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
34338         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
34339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
34340         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
34341         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
34342         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
34343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
34344         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
34345         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
34346         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
34347         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
34348         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
34349         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
34350         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
34351         (_FP_FRAC_SRS_1): Likewise.
34352         (_FP_FRAC_CLZ_1): Likewise.
34353         (_FP_MUL_MEAT_1_imm): Likewise.
34354         (_FP_MUL_MEAT_1_wide): Likewise.
34355         (_FP_MUL_MEAT_1_hard): Likewise.
34356         (_FP_SQRT_MEAT_1): Likewise.
34357         (_FP_FRAC_ASSEMBLE_1): Likewise.
34358         (_FP_FRAC_DISASSEMBLE_1): Likewise.
34359         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
34360         (__FP_CLZ_2): Likewise.
34361         (_FP_MUL_MEAT_2_wide): Likewise.
34362         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34363         (_FP_MUL_MEAT_2_gmp): Likewise.
34364         (_FP_MUL_MEAT_2_120_240_double): Likewise.
34365         (_FP_SQRT_MEAT_2): Likewise.
34366         (_FP_FRAC_ASSEMBLE_2): Likewise.
34367         (_FP_FRAC_DISASSEMBLE_2): Likewise.
34368         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
34369         (_FP_FRAC_CLZ_4): Likewise.
34370         (_FP_MUL_MEAT_4_wide): Likewise.
34371         (_FP_MUL_MEAT_4_gmp): Likewise.
34372         (_FP_SQRT_MEAT_4): Likewise.
34373         (_FP_FRAC_ASSEMBLE_4): Likewise.
34374         (_FP_FRAC_DISASSEMBLE_4): Likewise.
34375         * soft-fp/op-common.h (_FP_CMP): Likewise.
34376         (_FP_CMP_EQ): Likewise.
34377         (_FP_CMP_UNORD): Likewise.
34378         (_FP_TO_INT): Likewise.
34379         (_FP_FROM_INT): Likewise.
34380         [!__FP_CLZ] (__FP_CLZ): Likewise.
34381         (_FP_DIV_HELP_imm): Likewise.
34382         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
34383         Likewise.
34384         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
34385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
34386         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
34387         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
34388         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
34389         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34390         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34391         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
34392         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
34393         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
34394         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
34395         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
34396         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
34397         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
34398         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
34399         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
34400         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
34401         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
34402         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
34403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
34404         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
34405         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
34406         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
34407         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
34408         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
34409         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
34410         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
34411         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
34412         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
34413         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
34414         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
34415         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
34416         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
34417         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
34418         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
34419         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
34420         (FP_UNPACK_RAW_SP): Likewise.
34421         (FP_PACK_RAW_S): Likewise.
34422         (FP_PACK_RAW_SP): Likewise.
34423         (FP_UNPACK_S): Likewise.
34424         (FP_UNPACK_SP): Likewise.
34425         (FP_UNPACK_SEMIRAW_S): Likewise.
34426         (FP_UNPACK_SEMIRAW_SP): Likewise.
34427         (FP_PACK_S): Likewise.
34428         (FP_PACK_SP): Likewise.
34429         (FP_PACK_SEMIRAW_S): Likewise.
34430         (FP_PACK_SEMIRAW_SP): Likewise.
34431         (_FP_SQRT_MEAT_S): Likewise.
34432         (FP_CMP_S): Likewise.
34433         (FP_CMP_EQ_S): Likewise.
34434         (FP_CMP_UNORD_S): Likewise.
34435         (FP_TO_INT_S): Likewise.
34436         (FP_FROM_INT_S): Likewise.
34438         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
34440         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
34441         (FP_EX_INVALID_IMZ): Likewise.
34442         (FP_EX_INVALID_IMZ_FMA): Likewise.
34443         (FP_EX_INVALID_ISI): Likewise.
34444         (FP_EX_INVALID_ZDZ): Likewise.
34445         (FP_EX_INVALID_IDI): Likewise.
34446         (FP_EX_INVALID_SQRT): Likewise.
34447         (FP_EX_INVALID_CVI): Likewise.
34448         (FP_EX_INVALID_VC): Likewise.
34449         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
34450         "invalid" exceptions.
34451         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
34452         (_FP_ADD_INTERNAL): Likewise.
34453         (_FP_MUL): Likewise.
34454         (_FP_FMA): Likewise.
34455         (_FP_DIV): Likewise.
34456         (_FP_CMP_CHECK_NAN): Likewise.
34457         (_FP_SQRT): Likewise.
34458         (_FP_TO_INT): Likewise.
34459         (FP_EXTEND): Likewise.
34461 2014-10-09  Allan McRae  <allan@archlinux.org>
34463         * po/fr.po: Update French translation from translation project.
34465 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
34467         [BZ #14132]
34468         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
34469         of INTDEF.
34470         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
34471         (__cxa_atexit): Use libc_hidden_proto.
34472         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
34474         [BZ #14132]
34475         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
34476         declaration.
34477         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
34478         [!_ISOMAC] (__iswspace_l_internal): Likewise.
34479         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
34480         [!_ISOMAC] (__iswctype_internal): Likewise.
34481         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
34482         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
34483         alias.
34484         (fcntl): Remove __fcntl_internal alias.
34485         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
34486         __connect_internal alias.
34487         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
34488         Likewise.
34490         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
34491         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
34492         FP_DENORM_ZERO.
34493         (_FP_CHECK_FLUSH_ZERO): New macro.
34494         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
34495         (_FP_CMP): Likewise.
34496         (_FP_CMP_EQ): Likewise.
34497         (_FP_TO_INT): Do not set inexact for subnormal arguments if
34498         FP_DENORM_ZERO.
34499         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
34500         (FP_TRUNC): Likewise.
34502         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
34503         treated as invalid conversion, not as normal exponent.
34505         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
34506         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
34507         (_FP_CMP_EQ): Likewise.
34508         (_FP_CMP_UNORD): Likewise.
34509         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
34510         (FP_CMP_EQ_D): Likewise.
34511         (FP_CMP_UNORD_D): Likewise.
34512         * soft-fp/extended.h (FP_CMP_E): Likewise.
34513         (FP_CMP_EQ_E): Likewise.
34514         (FP_CMP_UNORD_E): Likewise.
34515         * soft-fp/quad.h (FP_CMP_Q): Likewise.
34516         (FP_CMP_EQ_Q): Likewise.
34517         (FP_CMP_UNORD_Q): Likewise.
34518         * soft-fp/single.h (FP_CMP_S): Likewise.
34519         (FP_CMP_EQ_S): Likewise.
34520         (FP_CMP_UNORD_S): Likewise.
34521         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
34522         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
34523         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
34524         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
34525         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
34526         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
34527         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
34528         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
34529         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
34530         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
34531         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
34532         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
34533         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
34534         to FP_CMP_Q.
34535         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
34536         FP_CMP_Q.
34537         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
34538         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
34539         FP_CMP_EQ_Q.
34540         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
34541         FP_CMP_Q.
34542         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
34543         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
34544         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
34545         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
34546         FP_CMP_EQ_Q.
34547         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
34548         FP_CMP_Q.
34549         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
34550         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
34551         FP_CMP_EQ_Q.
34552         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
34553         FP_CMP_Q.
34554         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
34555         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
34556         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
34557         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
34558         FP_CMP_EQ_Q.
34560         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
34561         a subnormal result, set the underflow exception if trapping on
34562         underflow is enabled.
34563         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
34564         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
34565         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
34566         redefine to 0.
34567         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
34568         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34569         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
34570         * soft-fp/extendxftf2.c (__extendxftf2): Use
34571         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
34573         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
34574         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
34575         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34576         FP_HANDLE_EXCEPTIONS.
34577         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
34578         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34579         FP_HANDLE_EXCEPTIONS.
34580         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
34581         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34582         FP_HANDLE_EXCEPTIONS.
34583         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
34584         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
34585         FP_HANDLE_EXCEPTIONS.
34587 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
34589         [BZ #14132]
34590         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
34591         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
34592         use INTUSE.
34593         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
34594         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
34595         Remove alias.
34596         (__adjtimex): Define using libc_hidden_ver.
34597         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
34598         Remove declaration.
34599         (ntp_gettime): Call __adjtimex directly.
34600         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
34601         Remove declaration.
34602         (ntp_gettimex): Call __adjtimex directly.
34603         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
34604         __adjtimex_internal alias.
34606 2014-10-08  Roland McGrath  <roland@hack.frob.com>
34608         [BZ #17460]
34609         * nscd/nscd.c (more_help): Rewrite list of tables collection
34610         using xstrdup and asprintf.
34612         * nscd/nscd_conf.c: Remove local xstrdup declaration.
34614 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34615             Roland McGrath  <roland@hack.frob.com>
34617         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
34618         (do_lookup_unique): ... local function 'enter' here; update callers.
34620 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
34622         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
34623         compat_symbol calls on [SHARED].
34624         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
34625         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
34626         Remove.
34627         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34628         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
34629         (oldsetrlimit): Remove.
34630         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34632         (lchown): New syscall entry.
34633         (oldsetrlimit): Remove.
34634         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34635         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
34636         (oldsetrlimit): Remove.
34637         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
34639         [BZ #14138]
34640         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
34641         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
34642         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
34643         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
34644         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34645         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
34646         (fchown): Likewise.
34647         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
34648         (fchown): Likewise.
34649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
34650         Likewise.
34652 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34654         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
34655         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
34656         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
34657         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
34658         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
34659         Likewise.
34660         (__old_sem_post): Likewise.
34662 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
34664         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
34665         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
34666         HAVE_CLOCK_GETTIME_VSYSCALL macros.
34667         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
34668         Use INLINE_VSYSCALL macro.
34669         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
34670         __vdso_clock_gettime.
34671         * sysdeps/unix/sysv/linux/tile/init-first.c
34672         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
34673         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
34674         __vdso_clock_gettime.
34676         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
34677         to set up frame more cleanly.
34679         * sysdeps/tile/memcmp.c: New file.
34681         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
34683         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
34684         * sysdeps/tile/tilegx/strcasestr.c: New file.
34685         * sysdeps/tile/tilegx/strnlen.c: New file.
34686         * sysdeps/tile/tilegx/strstr.c: New file.
34688         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
34690 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
34692         * nptl/tst-setuid3.c: Write errors to stdout.
34694 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34696         * elf/dl-deps.c
34697         (preload): New functions broken out of _dl_map_object_deps.
34698         (_dl_map_object_deps):  Remove a nested function. Update call sites.
34700 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
34702         [BZ #14138]
34703         * sysdeps/unix/sysv/linux/execve.c: Remove file.
34704         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
34706 2014-10-01  Steve Ellcey  <sellcey@mips.com>
34708         * sysdeps/mips/strcmp.S: New.
34710 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
34712         [BZ #14138]
34713         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
34714         (linkat): Likewise.
34715         (mkdirat): Likewise.
34716         (readlinkat): Likewise.
34717         (renameat): Likewise.
34718         (symlinkat): Likewise.
34719         (unlinkat): Likewise.
34720         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
34721         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
34722         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
34723         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
34724         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
34725         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
34726         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
34728 2014-09-30  Will Newton  <will.newton@linaro.org>
34730         * math/math.h: Define long double math functions if
34731         _LIBC_TEST is defined.
34732         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
34734         * localedata/Makefile: Move assignment to tests-special
34735         into an ifdef testing run-built-tests.
34736         * timezone/Makefile: Likewise.
34738 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
34740         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
34741         with $(BASH) not $(SHELL).
34743 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
34744             Matthew LeGendre  <legendre1@llnl.gov>
34746         [BZ #17411]
34747         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
34748         l_reloc_result.
34750 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34752         * stdio-common/printf_fp.c
34753         (hack_digit): New function, broken out of ...
34754         (__printf_fp): ... local function here.  Update call sites.
34755         hack_digit now takes an additional parameter that is a pointer
34756         to a struct of the referenced locals.  Those locals moved inside
34757         the struct and references updated.
34759 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
34761         * aclocal.m4: Require autoconf 2.69.
34762         * configure: Regenerated.
34763         * sysdeps/aarch64/configure: Likewise.
34764         * sysdeps/alpha/configure: Likewise.
34765         * sysdeps/arm/armv7/configure: Likewise.
34766         * sysdeps/arm/configure: Likewise.
34767         * sysdeps/ia64/configure: Likewise.
34768         * sysdeps/mach/configure: Likewise.
34769         * sysdeps/mips/configure: Likewise.
34770         * sysdeps/s390/configure: Likewise.
34771         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
34772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
34774         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
34775         file.
34776         * sysdeps/ia64/configure.ac: Likewise.
34778 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
34780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
34781         specify symbol version for ld.so.  Do not include entry for
34782         libpthread.
34783         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
34784         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
34785         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34787         [BZ #14171]
34788         * Makeconfig [$(build-shared) = yes]
34789         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
34790         makefiles.
34791         [$(build-shared) = yes && $(soversions.mk-done) = t]
34792         ($(common-objpfx)gnu/lib-names.h): Remove rule.
34793         [$(build-shared) = yes && $(soversions.mk-done) = t]
34794         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
34795         to Makerules.
34796         [$(build-shared) = yes && $(soversions.mk-done) = t]
34797         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
34798         here.
34799         [$(build-shared) = yes && $(soversions.mk-done) = t]
34800         (common-generated): Don't append gnu/lib-names.h and
34801         gnu/lib-names.stmp here.
34802         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
34803         (lib-names-h-abi): New variable.
34804         [$(build-shared) = yes && $(soversions.mk-done) = t]
34805         (lib-names-stmp-abi): Likewise.
34806         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34807         abi-variants] (before-compile): Append
34808         $(common-objpfx)$(lib-names-h-abi).
34809         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34810         abi-variants] (common-generated): Append gnu/lib-names.h.
34811         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34812         abi-variants] (install-others-nosubdir): Depend on
34813         $(inst_includedir)/$(lib-names-h-abi).
34814         [$(build-shared) = yes && $(soversions.mk-done) = t &&
34815         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
34816         [$(build-shared) = yes && $(soversions.mk-done) = t]
34817         ($(common-objpfx)$(lib-names-h-abi)): New rule.
34818         [$(build-shared) = yes && $(soversions.mk-done) = t]
34819         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
34820         [$(build-shared) = yes && $(soversions.mk-done) = t]
34821         (common-generated): Append $(lib-names-h-abi) and
34822         $(lib-names-stmp-abi).
34823         * scripts/lib-names.awk: Do not handle multi being set.
34824         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
34825         Remove variable.
34826         (abi-lp64_be-ld-soname): Likewise.
34827         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
34828         Likewise.
34829         (abi-hard-ld-soname): Likewise.
34830         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
34831         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
34832         Remove variable.
34833         (abi-o32_hard-ld-soname): Likewise.
34834         (abi-o32_soft_2008-ld-soname): Likewise.
34835         (abi-o32_hard_2008-ld-soname): Likewise.
34836         (abi-n32_soft-ld-soname): Likewise.
34837         (abi-n32_hard-ld-soname): Likewise.
34838         (abi-n32_soft_2008-ld-soname): Likewise.
34839         (abi-n32_hard_2008-ld-soname): Likewise.
34840         (abi-n64_soft-ld-soname): Likewise.
34841         (abi-n64_hard-ld-soname): Likewise.
34842         (abi-n64_soft_2008-ld-soname): Likewise.
34843         (abi-n64_hard_2008-ld-soname): Likewise.
34844         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
34845         Likewise.
34846         (abi-64-v2-ld-soname): Likewise.
34847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
34848         ld.so entries.
34849         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
34850         variable.
34851         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
34852         entry.
34853         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
34854         variable.
34855         (abi-64-ld-soname): Likewise.
34856         (abi-x32-ld-soname): Likewise.
34857         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
34858         entry.
34859         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
34861 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
34863         [BZ #14138]
34864         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
34865         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
34866         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
34867         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
34868         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
34869         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
34870         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
34871         syscall entry for GLIBC_2.2 symbol version.
34872         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
34873         Likewise.
34874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
34875         (setrlimit): Likewise.
34876         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
34877         Likewise.
34879 2014-09-23  Will Newton  <will.newton@linaro.org>
34881         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
34882         _LINUX_ARM_SYSDEP_H include guard too.
34883         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
34884         define.
34886 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34888         * sysdeps/unix/sysv/linux/eventfd.c:
34889         Make first argument unsigned.
34890         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
34891         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
34893 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
34895         [BZ #16852]
34896         * socket/recvmmsg.c (recvmmsg): Drop const argument.
34897         * socket/sys/socket.h: Likewise.
34898         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
34900 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34902         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
34904 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
34906         * time/tst-ftime.c: New test.
34907         * time/Makefile (tests): Add tst-ftime.
34909 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
34911         * soft-fp/extended.h: Fix comment formatting.
34912         * soft-fp/op-1.h: Likewise.
34913         * soft-fp/op-2.h: Likewise.
34914         * soft-fp/op-4.h: Likewise.
34915         * soft-fp/op-8.h: Likewise.
34916         * soft-fp/op-common.h: Likewise.
34917         * soft-fp/soft-fp.h: Likewise.
34919         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
34921 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
34923         [BZ #6652]
34924         * Makeconfig (soversions-default-setname): Remove variable.
34925         ($(common-objpfx)soversions.i): Don't pass default_setname to
34926         soversions.awk.
34927         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
34928         oldest_abi to abi-versions.awk.
34929         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
34930         * config.make.in (oldest-abi): Remove variable.
34931         * configure.ac (--enable-oldest-abi): Remove configure option.
34932         * configure: Regenerated.
34933         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
34934         text.
34935         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
34936         * scripts/soversions.awk: Do not handle default_setname variable.
34937         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
34938         variable.
34939         * sysdeps/mach/hurd/configure: Regenerated.
34940         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
34941         variable.
34942         * sysdeps/unix/sysv/linux/configure: Regenerated.
34944 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34946         * elf/Makefile (CFLAGS-interp.c): Remove.
34947         ($(elf-objpfx)runtime-linker.h): Generate header with linker
34948         path string.
34949         * elf/interp.c: Include generated runtime-linker.h
34951         * Makerules (lib%.so): Don't include $(+interp) in
34952         prerequisites.
34953         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
34954         * dlfcn/eval.c: Remove file.
34956         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
34957         macros.
34959         [BZ #17266]
34960         * misc/sys/cdefs.h: Define __extern_always_inline for clang
34961         4.2 and newer.
34963         [BZ #17370]
34964         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
34966 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34967             Jakub Jelinek  <jakub@redhat.com>
34969         [BZ #17266]
34970         * libio/stdio.h: Check definition of __fortify_function
34971         instead of __extern_always_inline to include bits/stdio2.h.
34972         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
34973         check if __extern_always_inline is defined.
34974         [__USE_MISC || __USE_XOPEN]: Likewise.
34975         [__USE_ISOC99] Likewise.
34976         * misc/sys/cdefs.h (__fortify_function): Define only if
34977         __extern_always_inline is defined.
34978         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
34979         __extern_always_inline and __extern_inline only for g++-4.3
34980         and newer or a compatible gcc.
34982 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
34984         [BZ #17371]
34985         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34986         last change to handle zero prefix length.
34988 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34990         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
34991         _SC_REGEX_VERSION.
34993         * posix/getconf.c (vars): Add _POSIX_IPV6 and
34994         _POSIX_RAW_SOCKETS.
34996 2014-09-13  Allan McRae  <allan@archlinux.org>
34998         * po/ru.po: Update Russian translation from translation project.
35000 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35002         * locale/programs/locale.c (show_locale_vars): Inline local function
35003         into its sole call site.  Clean up some style nits.
35004         (print_item): New function, broken out of ...
35005         (show_info): ... local function here.  Clean up style nits.
35007         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35008         out of ...
35009         (set_class_defaults): ... local function set_default here.
35010         Define set_default as a macro locally to pass constant parameters.
35011         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35012         rather than a shared local.
35014         * stdlib/rpmatch.c (try): New function, broken out of ...
35015         (rpmatch): ... local function here.  Also, prototypify definition.
35017 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35019         * scripts/soversions.awk: Do not handle configuration names.
35020         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35021         vendor and os variables to soversions.awk.
35022         * configure.ac: Do not modify gnu-* host_os.
35023         * configure: Regenerated
35024         * shlib-versions: Remove first column with configuration names.
35025         * nptl/shlib-versions: Likewise.
35026         * nptl_db/shlib-versions: Likewise.
35027         * sysdeps/hppa/shlib-versions: Likewise.
35028         * sysdeps/m68k/shlib-versions: Likewise.
35029         * sysdeps/mach/hurd/shlib-versions: Likewise.
35030         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35031         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35032         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35033         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35034         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35035         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35036         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35037         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35039         Likewise.
35040         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35041         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35042         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35043         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35044         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35045         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35046         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35047         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35050         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35052         Regenerated.
35053         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35055         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35057         * shlib-versions: Remove OS-specific entries.  Moved to files in
35058         sysdeps.
35059         * sysdeps/mach/hurd/shlib-versions: New file.
35060         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35062         * nptl/shlib-versions: Remove architecture-specific entries.
35063         Moved to files in sysdeps.
35064         * shlib-versions: Likewise.
35065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35066         file.
35067         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35068         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35069         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35070         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35072         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35073         (UDP_NO_CHECK6_RX): Likewise.
35075 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35077         * sysdeps/posix/sysconf.c (__sysconf): Spell
35078         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35080 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35082         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35083         loading.
35084         * iconv/Versions (__gconv_transliterate): Export for use from
35085         gconv modules.
35086         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35087         (struct __gconv_trans_data, __gconv_trans_fct,
35088         __gconv_trans_context_fct, __gconv_trans_query_fct,
35089         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35090         definitions.
35091         (struct __gconv_step_data): Remove __trans member.
35092         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35093         longer hidden.  Remove unused trans_data argument.
35094         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35095         (__gconv_translit_find): Remove declaration.
35096         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35097         prototype.
35098         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35099         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35100         trans_data argument.  Add hidden definition.
35101         (__gconv_translit_find): Remove.
35102         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35103         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35104         * iconv/skeleton.c: Remove transliteration initialization.
35105         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35106         __gconv_step_data initialization.
35107         * libio/iofwide.c (__libio_translit_): Remove.
35108         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35109         * wcsmbs/btowc.c (__btowc): Likewise.
35110         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35111         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35112         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35113         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35114         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35115         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35116         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35117         * wcsmbs/wctob.c (wctob): Likewise.
35119 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35121         [BZ #16194]
35122         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35123         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35124         register usage.
35125         * sysdeps/x86/Makefile: Adjust.
35127 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35128             Roland McGrath  <roland@hack.frob.com>
35130         * locale/weight.h: Add include guard.
35131         (findidx): Make static rather than auto; take new parameters
35132         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35133         * locale/weightwc.h: Likewise.
35134         * posix/fnmatch_loop.c
35135         (FCT): Change type of EXTRA from int32_t to wint_t.
35136         Don't include either header inside the function.
35137         Call FINDIDX rather than findidx, and pass new arguments.
35138         #undef FINDIDX at the end of the file.
35139         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
35140         FINDIDX before including fnmatch_loop.c for the non-wide version.
35141         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
35142         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
35143         for the wide version.
35144         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
35145         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
35146         Pass new arguments to findidx.
35147         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
35148         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
35149         Don't #include it inside the function.  Pass new arguments to findidx.
35150         * posix/regex_internal.h
35151         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
35152         (re_string_elem_size_at): Don't #include it inside the function.
35153         Pass new arguments to findidx.
35154         * string/strcoll_l.c: #include WEIGHT_H at top level.
35155         (get_next_seq): Don't #include it inside the function.
35156         Pass new arguments to findidx.
35157         (get_next_seq_nocache): Likewise.
35158         * string/strxfrm_l.c: #include WEIGHT_H at top level.
35159         (STRXFRM): Don't #include it inside the function.
35160         Pass new arguments to findidx.
35162 2014-09-11  Florian Weimer  <fweimer@redhat.com>
35164         [BZ #17344]
35165         * malloc/malloc.c (unlink): Turn asserts into a call to
35166         malloc_printerr.
35168 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
35170         [BZ #17370]
35171         * libio/wfileops (do_ftell_wide): Free OUT.
35173 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
35175         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
35177 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35179         [BZ #17363]
35180         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
35181         group if the current group is empty.
35183 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35185         * benchtests/bench-memset.c (test_main): Add more test from size
35186         from 32 to 512 bytes.
35187         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35188         Add POWER8 memset object.
35189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35190         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
35191         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
35192         implementation.
35193         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
35194         Likewise.
35195         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
35196         multiarch POWER8 memset optimization.
35197         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
35198         POWER8 memset optimization.
35200         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35201         Remove bzero multiarch objects.
35202         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
35203         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
35204         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
35205         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
35206         Remove define.
35207         [__bzero]: Redefine to specific name.
35208         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
35209         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
35210         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
35211         define.
35212         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
35213         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
35215 2014-09-10  Florian Weimer  <fweimer@redhat.com>
35217         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
35218         warnings into errors.
35220         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
35221         __cxa_thread_atexit_impl prototype.
35223 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35225         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
35226         Fix capitalization of error message.
35228 2014-09-09  Steve Ellcey  <sellcey@mips.com>
35230         * sysdeps/mips/preconfigure: Modify ABI tests.
35232 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
35234         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
35236 2014-09-07  Roland McGrath  <roland@hack.frob.com>
35237             Carlos O'Donell  <carlos@systemhalted.org>
35239         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
35240         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
35241         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
35242         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
35243         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
35244         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
35245         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
35246         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
35247         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
35248         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
35249         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
35250         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
35251         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
35252         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
35253         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
35254         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
35255         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
35256         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
35257         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
35258         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
35259         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
35260         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
35261         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
35262         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
35263         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
35264         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
35265         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
35266         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
35267         Deconditionalize the code that was previously under [RESET_PID].
35268         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
35269         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
35270         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
35271         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
35272         include sysdep.h.
35274 2014-09-08  Allan McRae  <allan@archlinux.org>
35276         * version.h (RELEASE): Set to "development".
35277         (VERSION): Set to "2.20.90"
35279 2014-09-07  Allan McRae  <allan@archlinux.org
35281         * version.h (RELEASE): Set to "stable".
35282         (VERSION): Set to "2.20"
35283         * include/features.h (__GLIBC_MINOR__): Set to 20.
35285         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
35286         Liebler.
35288         * po/ko.po: Update Korean translation from translation project.
35290 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
35292         [BZ #17354]
35293         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
35294         macro for handling signed relocations.
35296 2014-09-03  Florian Weimer  <fweimer@redhat.com>
35298         [BZ #17325]
35299         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
35300         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
35301         assert.
35302         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
35303         * iconvdata/ibm935.c (BODY): Likewise.
35304         * iconvdata/ibm937.c (BODY): Likewise.
35305         * iconvdata/ibm939.c (BODY): Likewise.
35306         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
35307         assert.
35308         * iconvdata/Makefile (iconv-test.out): Pass module list to test
35309         script.
35310         * iconvdata/run-iconv-test.sh: New test loop for checking for
35311         decoder crashers.
35313 2014-09-02  Khem Raj  <raj.khem@gmail.com>
35315         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
35316         libm_hidden_ver.
35318 2014-09-01  Allan McRae  <allan@archlinux.org>
35320         * po/eo.po: Update Esperanto translation from translation project.
35322         * po/ca.po: Update Catalan translation from translation project.
35324 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35326         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
35327         __proc_dostop call.
35329 2014-08-27  Mark Wielaard  <mjw@redhat.com>
35331         [BZ #17319]
35332         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
35333         to call set_thread_area instead of hand written asm.
35334         (__NR_set_thread_area): Removed define.
35335         (TLS_FLAG_WRITABLE): Likewise.
35336         (__ASSUME_SET_THREAD_AREA): Remove check.
35337         (TLS_EBX_ARG): Remove define.
35338         (TLS_LOAD_EBX): Likewise.
35340 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35342         Simplify atomicity of socket creation in bind.
35344         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
35345         looking up the name after linking the file.
35347 2014-08-27  Allan McRae  <allan@archlinux.org>
35349         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
35351 2014-08-26  Florian Weimer  <fweimer@redhat.com>
35353         [BZ #17187]
35354         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
35355         trans_compare, open_translit, __gconv_translit_find):
35356         Remove module loading code.
35358 2014-08-26  Allan McRae  <allan@archlinux.org>
35360         * po/vi.po: Update Vietnamese translation from translation project.
35362         * po/uk.po: Update Ukrainian translation from translation project.
35364         * po/fr.po: Update French translation from translation project.
35366         * po/ru.po: Update Russian translation from translation project.
35368         * po/pl.po: Update Polish translation from translation project.
35370         * po/cs.po: Update Czech translation from translation project.
35372         * po/de.po: Update German translation from translation project.
35374         * po/bg.po: Update Bulgarian translation from translation project.
35376         * po/sv.po: Update Sweedish translation from translation project.
35378         * po/nl.po: Update Dutch translation from translation project.
35380         * po/es.po: Update Spanish translation from translation project.
35382 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35384         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
35386         * catgets/Makefile (CPPFLAGS-gencat): Remove.
35387         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
35388         (CPPFLAGS-iconvconfig): Likewise.
35389         * timezone/Makefile (CPPFLAGS-zic): Likewise.
35391         * include/libc-symbols.h: Remove unnecessary check for
35392         NOT_IN_libc.
35393         * nptl/pthreadP.h: Likewise.
35394         * sysdeps/aarch64/setjmp.S: Likewise.
35395         * sysdeps/alpha/setjmp.S: Likewise.
35396         * sysdeps/arm/sysdep.h: Likewise.
35397         * sysdeps/i386/setjmp.S: Likewise.
35398         * sysdeps/m68k/setjmp.c: Likewise.
35399         * sysdeps/posix/getcwd.c: Likewise.
35400         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
35401         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
35402         * sysdeps/s390/s390-32/setjmp.S: Likewise.
35403         * sysdeps/s390/s390-64/setjmp.S: Likewise.
35404         * sysdeps/sh/sh3/setjmp.S: Likewise.
35405         * sysdeps/sh/sh4/setjmp.S: Likewise.
35406         * sysdeps/unix/alpha/sysdep.h: Likewise.
35407         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
35408         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
35409         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
35410         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
35411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35413         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
35414         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
35415         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
35416         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35417         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35418         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
35419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
35420         * sysdeps/x86_64/setjmp.S: Likewise.
35422 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
35424         [BZ #17263]
35425         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
35426         <stdint.h>.
35427         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
35428         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
35430 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35432         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
35434         [BZ #17262]
35435         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
35436         and __x86_64__ when disabling x87 inline functions.
35438 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
35440         [BZ #17259]
35441         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
35442         asm statement with __cpuid_count.
35444 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
35446         * configure.ac: Change __ehdr_start code to dereference the struct.
35447         Run readelf on the output to look for relocations.
35448         * configure: Regenerated.
35450 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
35452         [BZ #17261]
35453         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
35454         value to 0.
35455         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
35457 2014-08-12  Roland McGrath  <roland@hack.frob.com>
35459         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
35461 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
35463         [BZ #16892]
35464         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
35465         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
35467 2014-08-12  Sean Anderson  <seanga2@gmail.com>
35469         * malloc/malloc.c: Fix typo in comment.
35471 2014-08-09  Allan McRae  <allan@archlinux.org>
35473         * Regenerate libc.po.
35475 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
35477         * intl/tst-gettext2.sh: Check every lang file for creation.
35479 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35481         * sysdeps/aarch64/fpu/math_private.h
35482         (libc_feholdsetround_noex_aarch64_ctx): New function.
35484 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
35486         * sysdeps/arm/armv6/strcpy.S (strcpy):
35487         Fix performance issue in misaligned cases.
35489 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35491         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
35492         Move definition from termios.h.
35493         (struct termio): Likewise.
35494         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35495         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35496         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35497         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35498         Likewise.
35499         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
35500         Move definition to ioctl-types.h
35501         (struct termio): Likewise.
35502         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
35503         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
35504         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
35505         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
35506         Likewise.
35508 2014-08-05  Richard Henderson  <rth@redhat.com>
35510         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
35511         exceptions.
35512         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
35513         Add fraiseexcpt.
35514         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
35515         Use __feraiseexcept.
35516         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
35517         Protect libm symbols with IS_IN_libm.
35519         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
35521 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
35523         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
35525 2014-08-04  Will Newton  <will.newton@linaro.org>
35527         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
35528         file.
35530 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
35532         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
35533         variants for each function.
35535 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35537         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
35538         appended ...
35539         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
35540         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
35541         appended ...
35542         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
35543         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
35544         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
35545         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
35546         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
35547         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
35548         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
35549         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
35550         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
35551         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
35552         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
35553         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
35554         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
35555         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
35556         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
35557         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
35558         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
35559         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
35560         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
35561         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
35562         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
35563         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
35564         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
35565         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
35566         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
35567         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
35568         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
35569         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
35570         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
35571         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
35572         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
35573         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
35574         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
35575         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
35576         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
35577         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
35578         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
35579         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
35580         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
35581         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
35582         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
35583         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
35584         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
35585         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
35586         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
35587         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
35588         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
35589         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
35590         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
35591         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
35592         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
35593         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
35594         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
35595         Update #include.
35596         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
35597         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
35599 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35601         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
35602         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
35603         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
35604         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
35605         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
35606         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
35608 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35610         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
35611         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
35612         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35613         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
35615 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35617         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
35618         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
35619         (__libc_vfork): Define function under this name.
35620         (__vfork): Define as an alias.
35621         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
35622         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
35624 2014-08-04  Roland McGrath  <roland@hack.frob.com>
35626         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
35627         that was previously under [RESET_PID].
35628         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
35630 2014-08-04  Andreas Schwab  <schwab@suse.de>
35632         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
35634 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
35636         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
35637         (main): Likewise.
35639 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35641         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
35643 2014-08-01  Richard Henderon  <rth@redhat.com>
35645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
35646         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
35647         typo in exact zero test.
35648         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35649         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35652 2014-08-01  Roland McGrath  <roland@hack.frob.com>
35654         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
35655         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
35656         * sysdeps/arm/sysdep.h: ... here.
35657         [!__ASSEMBLER__]: Include <stdint.h>.
35659 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35661         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
35662         (HAVE_WCTYPE_H): Likewise.
35663         (HAVE_ISWCTYPE): Likewise.
35664         (ENABLE_NLS): Likewise.
35665         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
35666         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
35668         * posix/regex_internal.c: Check if DEBUG is defined and is
35669         set.
35671         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
35672         (HAVE_MBSRTOWCS): Likewise.
35673         * posix/fnmatch.c: Include string.h unconditionally.
35675 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
35677         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
35678         reversal.
35680 2014-07-31  Roland McGrath  <roland@hack.frob.com>
35682         * sysdeps/generic/safe-fatal.h: New file.
35683         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
35684         * nptl/forward.c: Include it.
35685         (__pthread_unwind): Use __safe_fatal as default action, rather
35686         than a bogus use of INTERNAL_SYSCALL that could never work.
35688         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
35689         * configure.ac (libc_cv_builtin_trap): New test.
35690         * configure: Regenerated.
35691         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
35692         (ABORT_INSTRUCTION): Define using __builtin_trap.
35694         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
35695         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
35696         * sysdeps/nptl/nptl-signals.h: New file.
35697         * nptl/pthreadP.h: Include <nptl-signals.h>.
35699 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35701         * sysdeps/s390/s390-64/utf16-utf32-z9.c
35702         (ONE_DIRECTION): Define.
35703         * sysdeps/s390/s390-64/utf8-utf16-z9.c
35704         (ONE_DIRECTION): Define.
35705         * sysdeps/s390/s390-64/utf8-utf32-z9.c
35706         (ONE_DIRECTION): Define.
35708 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
35710         * sysdeps/s390/Makefile: Delete file.
35711         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
35712         * sysdeps/s390/__longjmp.c: Delete file.
35713         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
35714         Remove fields __flags and __reserved.
35715         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
35716         and add versioning.
35717         * sysdeps/s390/rtld-__longjmp.c: Delete file.
35718         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
35719         * sysdeps/s390/rtld-setjmp.S: Likewise.
35720         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
35721         * sysdeps/s390/s390-32/__longjmp.c: ... here.
35722         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
35723         * sysdeps/s390/s390-32/setjmp.S: ... here.
35724         Add versioning.
35725         (__sigsetjmp): Remove setting __flags field.
35726         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
35727         * sysdeps/s390/s390-64/__longjmp.c: ... here.
35728         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
35729         * sysdeps/s390/s390-64/setjmp.S: ... here.
35730         Add versioning.
35731         (__sigsetjmp): Remove setting __flags field.
35732         * sysdeps/s390/setjmp.S: Delete file.
35733         * sysdeps/s390/sigjmp.c: Likewise.
35734         * sysdeps/s390/v1-longjmp.c: Likewise.
35735         * sysdeps/s390/v1-setjmp.h: Likewise.
35736         * sysdeps/s390/v1-sigjmp.c: Likewise.
35737         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
35738         Remove v1-longjmp_chk.
35739         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
35740         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
35741         Include debug/longjmp_chk.c and add versioning.
35742         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
35743         Include nptl/pt-longjmp.c and add versioning.
35744         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
35745         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
35746         Include __longjmp.c.
35747         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35748         Move to ...
35749         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
35750         (__getcontext): Remove setting __flags field.
35751         Add versioning.
35752         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35753         Don't restore upper high grps.
35754         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
35755         Likewise.
35756         (__swapcontext): Remove setting uc_flags field.
35757         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
35758         Delete file.
35759         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35760         Include __longjmp.c.
35761         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35762         Move to ...
35763         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
35764         (__getcontext): Remove setting __flags field.
35765         Add versioning.
35766         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
35767         (__swapcontext): Remove setting uc_flags field.
35768         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
35769         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
35770         Remove fields uc_high_gprs and __reserved.
35771         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
35772         New file with reverted content.
35773         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
35774         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
35775         Regenerated.
35776         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
35777         Regenerated.
35779 2014-07-31  Andreas Schwab  <schwab@suse.de>
35781         * config.h.in (HAVE_IFUNC): Define to 0.
35782         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
35783         definedness.
35785 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
35787         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35788         memmove-avx-unaligned, memcpy-avx-unaligned and
35789         mempcpy-avx-unaligned.
35790         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35791         Add tests for AVX memcpy functions.
35792         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
35793         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
35794         memcpy_chk.
35795         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
35796         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
35797         memmove_chk.
35798         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
35799         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
35800         mempcpy_chk.
35801         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
35802         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
35803         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
35805 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35807         [BZ #17213]
35808         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
35809         powerpc64le.
35811 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
35813         [BZ #16839]
35814         * manual/llio.texi: Add section about open file description locks.
35815         * manual/examples/ofdlocks.c: Example of open file description
35816         lock usage.
35817         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
35818         F_OFD_SETLK, and F_OFD_SETLKW.
35820 2014-07-23  Allan McRae  <allan@archlinux.org>
35822         * po/es.po: Update Spanish translation from translation project.
35824 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
35826         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
35828 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
35830         [BZ #17078]
35831         * sysdeps/arm/dl-machine.h (elf_machine_rela)
35832         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
35833         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
35835 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
35837         [BZ #17088]
35838         * math/fesetenv.c (__fesetenv)
35839         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
35840         * math/feupdateenv.c (__feupdateenv)
35841         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
35843         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
35844         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35845         (__ASSUME_SOCKETCALL): Do not define.
35847         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
35848         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
35849         (__ASSUME_SOCKETCALL): Do not define.
35850         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
35851         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35852         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35853         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
35854         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35855         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
35856         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35857         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35859         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
35860         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
35861         (__ASSUME_SOCKETCALL): Do not define.
35862         (__ASSUME_IPC64): Define unconditionally.
35863         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35864         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35865         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
35866         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35867         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
35868         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35869         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
35870         Likewise.
35872         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
35873         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
35874         (__ASSUME_SOCKETCALL): Do not define.
35875         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
35876         (__ASSUME_FUTEX_LOCK_PI): Likewise.
35877         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35878         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35879         (__ASSUME_REQUEUE_PI): Define unconditionally.
35880         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
35881         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
35882         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35883         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
35884         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35885         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35887         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
35888         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
35889         (__ASSUME_SOCKETCALL): Do not define.
35890         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
35891         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35892         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35893         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
35894         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35895         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35897         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
35898         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
35899         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
35900         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
35901         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35902         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
35903         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
35904         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
35905         (__ASSUME_GETCPU_SYSCALL): Likewise.
35907         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
35908         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
35909         cases for individual architectures.
35910         * sysdeps/gnu/configure: Regenerated.
35911         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
35912         LIBC_SLIBDIR_RTLDDIR.
35913         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
35914         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
35915         LIBC_SLIBDIR_RTLDDIR.
35916         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
35917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
35918         LIBC_SLIBDIR_RTLDDIR.
35919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35920         Regenerated.
35921         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
35922         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
35923         file.
35924         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
35925         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
35926         file.
35927         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
35928         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
35929         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
35930         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
35932         * sysdeps/aarch64/shlib-versions: Move to ...
35933         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
35934         * sysdeps/alpha/shlib-versions: Move to ...
35935         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
35936         * sysdeps/arm/shlib-versions: Move to ...
35937         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
35938         * sysdeps/hppa/shlib-versions: Move all contents except for
35939         libgcc_s entry to ...
35940         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
35941         entry from ...
35942         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
35943         * sysdeps/ia64/shlib-versions: Move to ...
35944         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
35945         entry from ...
35946         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
35947         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
35948         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
35949         * sysdeps/microblaze/shlib-versions: Move to ...
35950         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
35951         * sysdeps/mips/shlib-versions: Move to ...
35952         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
35953         entry from ...
35954         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
35955         * sysdeps/tile/shlib-versions: Move to ...
35956         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
35957         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
35958         from ...
35959         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
35960         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
35961         entry from ...
35962         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
35964 2014-07-17  Will Newton  <will.newton@linaro.org>
35966         * sysdeps/arm/bits/atomic.h
35967         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
35968         (__arch_compare_and_exchange_bool_16_int): Likewise.
35969         (__arch_compare_and_exchange_bool_64_int): Likewise.
35971         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
35972         into an #else block.
35974 2014-07-16  Roland McGrath  <roland@hack.frob.com>
35976         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
35977         just Linux configurations.  Test empirically that the compiler sets
35978         __ARM_EABI__, rather than using the tuple to decide.
35979         * sysdeps/arm/preconfigure: Regenerated.
35980         * sysdeps/unix/sysv/linux/arm/configure: File removed.
35981         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
35982         contents appended ...
35983         * sysdeps/arm/configure.ac: ... here.
35984         * sysdeps/arm/configure: Regenerated.
35986 2014-07-15  Roland McGrath  <roland@hack.frob.com>
35988         * nptl/pthread_kill.c: New file.
35989         * nptl/pthread_sigmask.c: New file.
35990         * nptl/pthread_sigqueue.c: New file.
35992         * sysdeps/nptl/lowlevellock.h: New file.
35993         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
35994         * sysdeps/nptl/lowlevellock-futex.h: New file.
35996         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
35997         Remove dead declarations.
35999 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36001         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36002         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36003         config-cflags-avx2.
36004         * sysdeps/x86_64/configure.ac: Likewise.
36005         * sysdeps/i386/configure: Regenerated.
36006         * sysdeps/x86_64/configure: Likewise.
36007         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36008         memset-avx2 only if config-cflags-avx2 is yes.
36009         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36010         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36011         defined.
36012         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36013         only if HAVE_AVX2_SUPPORT is defined.
36014         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36016 2014-07-14  Alan Modra  <amodra@gmail.com>
36018         [BZ #17153]
36019         * elf/elf.h (DT_PPC64_NUM): Correct value.
36020         * NEWS: Add to fixed bug list.
36022 2014-07-13  Jim Meyering  <meyering@fb.com>
36024         [BZ 17150]
36025         regex: don't deref NULL upon heap allocation failure
36026         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36027         failure in one more place.
36028         To trigger the segfault, configure grep -with-included-regex,
36029         build it, and run these commands:
36030         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36032 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36034         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36036 2014-07-11  Richard Henderson  <rth@redhat.com>
36038         * sysdeps/aarch64/libm-test-ulps: Update.
36040 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36042         [BZ #17135]
36043         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36044         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36045         (__nptl_setxid): Initialize error member.  Call
36046         __nptl_setxid_error.
36047         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36048         * nptl/descr.h (struct xid_command): Add error member.
36049         * nptl/tst-setuid3.c: New file.
36050         * nptl/Makefile (tests): Add it.
36052 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36054         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36055         New define.
36056         (__lll_trylock): Use __lll_base_trylock.
36057         (__lll_cond_trylock): Likewise.
36059 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36061         * nptl/pthread_create.c (start_thread): Use atomic_or and
36062         lll_futex_wake directly rather than lll_robust_dead.
36063         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36064         (lll_robust_dead): Macro removed.
36065         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36066         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36067         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36068         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36069         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36070         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36071         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36072         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36073         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36074         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36075         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36076         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36077         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36078         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36079         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36081         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36082         Use atomic_compare_and_exchange_val_acq directly rather than
36083         lll_robust_trylock.
36084         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36085         (__lll_robust_trylock, lll_robust_trylock): Removed.
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 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36103         * manual/locale.texi (Locale Names): New section documenting
36104         locale name syntax.  Adjust menu and node chaining accordingly.
36105         (Choosing Locale): Reference Locale Names, Locale Categories.
36106         Mention setting LC_ALL=C.  Reflect that name syntax is now
36107         documented.
36108         (Locale Categories): New section title.  Reference Locale Names.
36109         LC_ALL is an environment variable, but not a category.
36110         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36111         description, now in Locale Name.  Reference that section.  Locale
36112         name syntax is now documented.
36114 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36116         [BZ #17137]
36117         * locale/findlocale.c (name_present, valid_locale_name): New
36118         functions.
36119         (_nl_find_locale): Use the loc_name variable to store name
36120         candidates.  Call name_present and valid_locale_name to check and
36121         validate locale names.  Return an error if the locale is invalid.
36123 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36125         * locale/setlocale.c (setlocale): Use strdup for allocating
36126         composite name copy.
36128 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36130         Sync up with gnulib.
36131         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36132         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36133         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36134         and _GL_ARG_NONNULL.
36135         [USE_UNLOCKED_IO]: Include unlocked-io.h.
36136         [!_LIBC]: Include code for Windows and Cygwin.
36137         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
36138         Include prototype for int strerror_r.
36139         [!_LIBC] (is_open): New function.
36140         (flush_stdout): New function.
36141         (print_errno_message): Use it.
36142         (error): Likewise.
36143         (error_at_line): Likewise.
36144         (error_tail) Add function attribute macros.  Use
36145         __builtin_expect.
36147         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
36149         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
36151         * io/ftw.c: Include sys/param.h unconditionally.
36153         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
36155         [BZ #17125]
36156         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
36157         libc_freeres_ptr.
36158         (freecache): New function to free CACHE on exit.
36160         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
36161         initialization.
36163 2014-07-09  David S. Miller  <davem@davemloft.net>
36165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36167         * sysdeps/sparc/nptl/internaltypes.h: Delete.
36168         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
36169         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
36170         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
36171         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
36172         * sysdeps/sparc/nptl/sem_init.c: Likewise.
36173         * sysdeps/sparc/nptl/sem_post.c: Likewise.
36174         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
36175         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
36176         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
36177         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
36178         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
36179         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
36181 2014-07-09  Andreas Schwab  <schwab@suse.de>
36183         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
36184         output.
36185         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
36186         (do_test): Likewise.
36188         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36190 2014-07-09  Will Newton  <will.newton@linaro.org>
36192         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
36193         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
36194         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
36195         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
36196         * sysdeps/hppa/start.S (_start): Likewise.
36198 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
36200         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
36202         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
36203         defined.
36205 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36207         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
36208         after checking that it is non-NULL.
36210         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
36212 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36214         * sysdeps/powerpc/memmove.c: Remove file.
36215         * sysdeps/powerpc/powerpc32/power4/memcopy.h
36216         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
36217         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36218         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
36219         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
36220         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
36221         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
36222         string memmove instead of removed powerpc one.
36224         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36225         [weak_alias]: Fix compiler warning due trailing data.
36226         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
36227         [weak_alias]: Likewise.
36228         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
36229         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
36231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
36232         (__libc_ifunc_impl_list): Add memmove functions.
36234 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
36236         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
36237         Remove code.
36238         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
36239         Likewise.
36240         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
36241         Likewise.
36242         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
36243         Likewise.
36244         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
36245         Likewise.
36246         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
36247         Likewise.
36248         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
36249         Likewise.
36250         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
36251         Likewise.
36252         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
36253         Likewise.
36254         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
36255         Likewise.
36256         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
36257         Likewise.
36258         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
36259         Likewise.
36260         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
36261         Likewise.
36262         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
36263         Likewise.
36264         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
36265         Likewise.
36266         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
36267         Likewise.
36268         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
36269         Likewise.
36271 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36273         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
36274         to avoid alignment traps in non-cacheable memory.
36275         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
36277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
36278         multiarch objects.
36279         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
36280         file: multiarch power7 memmove.
36281         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
36282         multiarch default memmove.
36283         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
36284         multiarch memove for powerpc32/power4.
36286         * string/bcopy.c: Use full path to include memmove.c.
36287         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
36288         multiarch objects.
36289         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
36290         bcopy for powerpc64.
36291         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
36292         bcopy for powerpc64.
36293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
36294         and memmove implementations.
36295         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
36296         optimized multiarch memmove for POWER7/powerpc64.
36297         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
36298         default multiarch memmove for powerpc64.
36299         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
36300         multiarch for powerpc64.
36301         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
36302         for POWER7/powerpc64.
36303         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
36304         memmove for POWER7/powerpc64.
36306         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
36307         glibc default one.
36309         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
36310         __ELF_NATIVE_CLASS equal to 64.
36312 2014-07-07  Roland McGrath  <roland@hack.frob.com>
36314         * sysdeps/nptl/lowlevellock.h: File removed.
36316         * NEWS: NPTL is no longer an add-on!
36317         * nptl/internaltypes.h: Moved ...
36318         * sysdeps/nptl/internaltypes.h: ... here.
36319         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
36320         * sysdeps/nptl/fork.c: Likewise.
36321         * sysdeps/nptl/gai_misc.h: Likewise.
36322         * sysdeps/nptl/librt-cancellation.c: Likewise.
36323         * sysdeps/nptl/jmp-unwind.c: Likewise.
36324         * sysdeps/nptl/setxid.h: Likewise.
36325         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
36326         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
36327         * sysdeps/unix/sysv/linux/arm/Implies: New file.
36328         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
36329         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
36330         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
36331         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
36332         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
36333         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
36334         * sysdeps/unix/sysv/linux/mips/Implies: New file.
36335         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
36336         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
36337         * sysdeps/unix/sysv/linux/sh/Implies: New file.
36338         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
36339         * sysdeps/unix/sysv/linux/tile/Implies: New file.
36340         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
36341         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
36342         * nptl/Makeconfig: Moved ...
36343         * sysdeps/nptl/Makeconfig: ... here.
36344         * nptl/configure: File removed.
36345         * nptl/ANNOUNCE: File removed.
36346         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
36347         * sysdeps/unix/sysv/linux/configure: Regenerated.
36349         * nptl/Makefile (routines): Add libc_pthread_init,
36350         libc_multiple_threads, register-atfork and unregister-atfork.
36351         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
36352         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
36353         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
36354         pthread-pi-defines.sym, structsem.sym.
36355         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
36356         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
36357         [$(subdir) = nptl] (tests): Add tst-setgetname.
36358         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
36359         * sysdeps/unix/sysv/linux/sigaction.c: Just include
36360         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
36361         [!LIBC_SIGACTION]: Remove aliases.
36362         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
36363         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
36364         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
36365         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
36366         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
36367         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
36368         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36369         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36370         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
36371         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
36372         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
36373         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
36374         __libc_allocate_rtsig_private.
36375         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
36376         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
36377         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
36378         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
36379         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
36380         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
36381         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
36382         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
36383         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
36384         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
36385         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
36386         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
36387         * nptl/internaltypes.h: ... here.
36388         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
36389         * sysdeps/nptl/jmp-unwind.c: ... here.
36390         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
36391         * nptl/libc-lowlevellock.c: ... here.
36392         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
36393         * nptl/libc_multiple_threads.c: ... here.
36394         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
36395         * nptl/libc_pthread_init.c: ... here.
36396         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
36397         * nptl/lowlevelbarrier.sym: ... here.
36398         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
36399         * nptl/lowlevelcond.sym: ... here.
36400         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
36401         * nptl/lowlevellock.c: ... here.
36402         * nptl/lowlevellock.h: Moved ...
36403         * sysdeps/nptl/lowlevellock.h: ... here.
36404         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
36405         * nptl/lowlevelrobustlock.c: ... here.
36406         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
36407         * nptl/lowlevelrobustlock.sym: ... here.
36408         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
36409         * nptl/lowlevelrwlock.sym: ... here.
36410         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
36411         * nptl/pt-fork.c: ... here.
36412         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
36413         * nptl/pthread-pi-defines.sym: ... here.
36414         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
36415         * nptl/pthread_attr_getaffinity.c: ... here.
36416         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
36417         * nptl/pthread_attr_setaffinity.c: ... here.
36418         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
36419         * nptl/pthread_mutex_cond_lock.c: ... here.
36420         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
36421         Update #include.
36422         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
36423         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
36424         * nptl/pthread_once.c: ... here, replacing old file.
36425         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
36426         * nptl/pthread_yield.c: ... here.
36427         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
36428         * nptl/register-atfork.c: ... here.
36429         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
36430         * nptl/sem_post.c: ... here.
36431         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
36432         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
36433         * nptl/sem_timedwait.c: ... here.
36434         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
36435         * nptl/sem_trywait.c: ... here.
36436         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
36437         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
36438         * nptl/sem_wait.c: ... here.
36439         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
36440         * nptl/structsem.sym: ... here.
36441         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
36442         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
36443         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
36444         * nptl/unregister-atfork.c: ... here.
36445         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
36446         * nptl/unwindbuf.sym: ... here.
36447         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
36448         * sysdeps/nptl/fork.c: ... here.
36449         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
36450         * sysdeps/nptl/fork.h: ... here.
36451         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
36452         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
36453         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
36454         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
36455         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
36456         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
36457         * sysdeps/unix/sysv/linux/getpid.c: ... here.
36458         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
36459         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
36460         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
36461         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
36462         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
36463         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
36464         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
36465         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
36466         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
36467         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
36468         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
36469         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
36470         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
36471         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
36472         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
36473         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
36474         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
36475         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
36476         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
36477         * sysdeps/unix/sysv/linux/raise.c: ... here.
36478         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
36479         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
36480         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
36481         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
36482         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
36483         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
36484         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
36485         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
36486         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
36487         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
36488         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
36489         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
36490         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
36491         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
36492         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
36494 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36496         * sysdeps/generic/memcopy.h: Add comment for
36497         MEMCPY_OK_FOR_FWD_MEMMOVE.
36499 2014-07-04  Will Newton  <will.newton@linaro.org>
36501         * string/memchr.c: Merge from gnulib.
36502         [_LIBC]: Remove conditionals.
36503         (__ptr_t): Remove define.
36504         (LONG_MAX_32_BITS): Likewise.
36505         (LONG_MAX): Likewise.
36506         (MEMCHR): Use ANSI prototype and optimize algorithm.
36508         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
36510 2014-07-03  Roland McGrath  <roland@hack.frob.com>
36512         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
36513         (lll_futex_timed_wait_bitset): Fix syscall argument count.
36515         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
36516         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
36517         in a bare environment with no <stdlib.h> installed.
36518         * sysdeps/nptl/configure: Regenerated.
36520         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
36522         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
36523         AC_EGREP_CPP for kernel header checks, so they only succeed if
36524         including <linux/version.h> actually works right.
36525         * sysdeps/unix/sysv/linux/configure: Regenerated.
36527         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
36528         value so it's not diagnosed as unused.
36530         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
36531         thing) with "ifeq ($(subdir),rt)".
36533 2014-07-03  Richard Henderson  <rth@redhat.com>
36535         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
36536         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
36537         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
36539         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
36540         (math_force_eval): New.
36542         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
36543         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
36545         * sysdeps/alpha/fpu/s_round.c: Remove file.
36546         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
36548         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
36549         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
36550         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
36551         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
36552         (_dl_start, print_statistics): Likewise.
36553         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
36554         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
36556         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36557         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36558         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36559         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36560         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36561         (HP_SMALL_TIMING_AVAIL): Define.
36562         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36563         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36564         (HP_SMALL_TIMING_AVAIL): Define.
36565         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36566         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
36568         * sysdeps/aarch64/hp-timing.h: New file.
36570         * sysdeps/generic/hp-timing.h: Remove dead comment.
36571         * sysdeps/generic/hp-timing-common.h: New file.
36572         * sysdeps/alpha/hp-timing.h: Include it.
36573         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
36574         * sysdeps/i386/i686/hp-timing.h: Likewise.
36575         * sysdeps/ia64/hp-timing.h: Likewise.
36576         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36577         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36578         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36579         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36580         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
36581         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
36582         (hp_timing_t): New.
36584         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
36585         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
36586         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
36587         * elf/rtld.c (_dl_start_final): Likewise.
36588         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
36589         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36590         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36591         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36592         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36593         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36594         (HP_TIMING_DIFF_INIT): Remove.
36595         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36596         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
36597         (HP_TIMING_DIFF_INIT): Remove.
36598         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
36599         * sysdeps/i386/i686/hp-timing.c: Remove file.
36600         * sysdeps/x86_64/hp-timing.c: Remove file.
36601         * sysdeps/ia64/hp-timing.c: Remove file.
36602         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
36603         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
36604         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
36605         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
36607         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
36608         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
36609         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
36610         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36611         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
36612         (HP_TIMING_ACCUM): Remove.
36613         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36614         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
36615         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
36617         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
36618         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
36619         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
36620         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
36621         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
36622         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36623         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
36624         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
36626         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
36628 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
36630         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
36632 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36634         Sync up with gettext.
36635         * intl/loadmsgcat.c: Define O_BINARY if not defined.
36636         [_MSC_VER]: Include malloc.h
36637         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
36638         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
36639         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
36640         TEMP_FAILURE_RETRY.  Cast return of alloca.
36641         [!_LIBC] Call gl_rwlock_init.
36642         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
36644 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36646         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
36647         before checking its value.
36649 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36651         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
36653         * debug/memcpy_chk.c: Don't include pagecopy.h.
36654         * debug/mempcpy_chk.c: Likewise.
36655         * string/memcpy.c: Likewise.
36656         * string/memmove.c: Likewise.
36657         * sysdeps/powerpc/memmove.c: Likewise.
36658         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
36659         definition of PAGE_COPY_FWD_MAYBE here...
36660         * sysdeps/generic/pagecopy.h: ... from here.
36661         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
36663 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36664             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36666         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
36667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
36668         optimizations.
36669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36670         (__libc_ifunc_impl_list): Likewise.
36671         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
36672         multiarch strcat for PPC64.
36673         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
36674         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
36676 2014-07-02  Roland McGrath  <roland@hack.frob.com>
36678         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
36680 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36682         * intl/loadmsgcat.c: Remove declaration of
36683         get_sysdep_segment_value.
36684         (get_sysdep_segment_value): Use ISO C style.
36685         (_nl_load_domain): Use ISO C style.  Get rid of redundant
36686         semicolon.  Fix typo and formatting in comment.
36687         (_nl_unload_domain): Use ISO C style.
36689         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
36691 2014-07-02  Will Newton  <will.newton@linaro.org>
36693         * malloc/obstack.c: Merge from gnulib master.
36694         [HAVE_CONFIG_H]: Remove conditional code.
36695         [!_LIBC]: Include config.h.
36696         [!ELIDE_CODE]: Don't include inttypes.h, include
36697         stdint.h unconditionally.
36698         (print_and_abort): Mark as _Noreturn.
36699         (_obstack_allocated_p): Mark as __attribute_pure__.
36700         (obstack_free): Rename to __obstack_free.
36701         [!__attribute__]: Remove conditional code.
36702         * malloc/obstack.h: Merge from gnulib master.
36703         [__cplusplus]: Move conditional down.
36704         [!__attribute_pure__]: Define __attribute_pure__ here
36705         if it is not already defined.
36706         (_obstack_memory_used): Mark as __attribute_pure__.
36707         [!__obstack_free]: Define as obstack_free.
36708         [__GNUC__]: Remove check for ancient NeXT gcc.
36710 2014-07-02  Will Newton  <will.newton@linaro.org>
36711             Paul Eggert  <eggert@cs.ucla.edu>
36713         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
36715 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36717         * resolv/gethnamaddr.c: Add comment warning that the file is
36718         not maintained.
36720 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
36722         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
36723         entries.
36725         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
36726         entry for aio_cancel and aio_cancel64.
36727         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
36728         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
36729         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
36730         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
36731         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
36732         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
36733         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
36734         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
36735         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
36736         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
36737         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
36738         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
36739         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
36741 2014-07-01  Roland McGrath  <roland@hack.frob.com>
36743         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
36744         * nptl/pthread_mutex_lock.c: Likewise.
36745         * nptl/pthread_mutex_timedlock.c: Likewise.
36746         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
36748 2014-07-01  Richard henderson  <rth@redhat.com>
36750         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
36751         (__isnan, __isnanl): Remove.
36752         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
36754         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36756 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36758         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36760 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36762         * resolv/nss_dns/dns-host.c (getanswer_r)
36763         [MULTI_PTRS_ARE_ALIASES]: Remove code.
36765 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
36767         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36768         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
36769         undefine.
36770         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
36771         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
36773 2014-07-01  Roland McGrath <roland@hack.frob.com>
36775         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
36776         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
36778         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
36779         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
36781         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
36782         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
36783         ... here.
36784         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
36785         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
36787         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
36788         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
36789         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
36790         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
36792         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
36793         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
36794         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
36795         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
36796         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
36797         Moved ...
36798         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
36799         ... here.
36800         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
36801         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
36802         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
36803         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
36804         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
36805         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
36806         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
36807         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
36808         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
36809         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
36810         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
36811         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
36812         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
36813         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
36814         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
36815         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
36816         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
36817         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
36818         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
36819         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
36820         ... here.
36821         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
36822         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
36823         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
36824         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
36825         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
36826         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
36827         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
36828         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
36830 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
36832         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
36833         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
36834         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
36835         Add sysdep.
36837 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36841 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36843         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
36844         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
36846         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
36848         * sysdeps/arm/libm-test-ulps: Regenerated.
36850 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36851             Roland McGrath <roland@hack.frob.com>
36853         * test-skeleton.c (signal_handler): Kill the whole process group
36854         before killing the child individually.
36855         (main): Report any failure on `setpgid'.
36857 2014-06-30  Roland McGrath  <roland@hack.frob.com>
36859         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
36860         from _TLS_H to _ARM_NPTL_TLS_H.
36861         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
36862         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
36864 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
36866         [BZ #16539]
36867         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
36868         (__expm1l): Return argument unchanged when small but not
36869         subnormal.
36871         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
36872         include macro name.
36873         (_FP_UNPACK_RAW_1_P): Likewise.
36874         (_FP_PACK_RAW_1): Likewise.
36875         (_FP_PACK_RAW_1_P): Likewise.
36876         (_FP_MUL_MEAT_1_wide): Likewise.
36877         (_FP_MUL_MEAT_DW_1_hard): Likewise.
36878         (_FP_MUL_MEAT_1_hard): Likewise.
36879         (_FP_DIV_MEAT_1_imm): Likewise.
36880         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
36881         (_FP_DIV_MEAT_1_udiv): Likewise.
36882         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
36883         (_FP_UNPACK_RAW_2): Likewise.
36884         (_FP_UNPACK_RAW_2_P): Likewise.
36885         (_FP_PACK_RAW_2): Likewise.
36886         (_FP_PACK_RAW_2_P): Likewise.
36887         (_FP_MUL_MEAT_DW_2_wide): Likewise.
36888         (_FP_MUL_MEAT_2_wide): Likewise.
36889         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
36890         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
36891         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
36892         (_FP_MUL_MEAT_2_gmp): Likewise.
36893         (_FP_DIV_MEAT_2_udiv): Likewise.
36894         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
36895         (_FP_FRAC_SRL_4): Likewise.
36896         (_FP_FRAC_SRST_4): Likewise.
36897         (_FP_FRAC_SRS_4): Likewise.
36898         (_FP_UNPACK_RAW_4): Likewise.
36899         (_FP_UNPACK_RAW_4_P): Likewise.
36900         (_FP_PACK_RAW_4): Likewise.
36901         (_FP_PACK_RAW_4_P): Likewise.
36902         (_FP_MUL_MEAT_DW_4_wide): Likewise.
36903         (_FP_MUL_MEAT_4_wide): Likewise.
36904         (_FP_MUL_MEAT_4_gmp): Likewise.
36905         (umul_ppppmnnn): Likewise.
36906         (_FP_DIV_MEAT_4_udiv): Likewise.
36907         (__FP_FRAC_ADD_4): Likewise.
36908         (__FP_FRAC_SUB_3): Likewise.
36909         (__FP_FRAC_SUB_4): Likewise.
36910         (__FP_FRAC_DEC_3): Likewise.
36911         (__FP_FRAC_DEC_4): Likewise.
36912         (__FP_FRAC_ADDI_4): Likewise.
36913         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
36914         (_FP_FRAC_SRL_8): Likewise.
36915         (_FP_FRAC_SRS_8): Likewise.
36917         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
36918         include macro name.
36919         (FP_UNPACK_RAW_EP): Likewise.
36920         (FP_PACK_RAW_E): Likewise.
36921         (FP_PACK_RAW_EP): Likewise.
36922         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
36923         (_FP_ISSIGNAN): Likewise.
36924         (_FP_ADD_INTERNAL): Likewise.
36925         (_FP_FMA): Likewise.
36926         (_FP_CMP): Likewise.
36927         (_FP_SQRT): Likewise.
36928         (_FP_TO_INT): Likewise.
36929         (_FP_FROM_INT): Likewise.
36930         (FP_EXTEND): Likewise.
36931         (_FP_DIV_MEAT_N_loop): Likewise.
36933 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
36935         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
36936         throughout.
36938 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
36940         [BZ #17097]
36941         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
36942         result with correct sign in case of exponents that produce
36943         overflow except for X very close to 1.
36945 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
36947         mktime: merge #if/#ifdef usage from glibc
36948         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
36949         as that works with both Glibc's and Gnulib's style.
36950         See thread starting at Siddhesh Poyarekar's bug report at:
36951         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
36953 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36955         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
36956         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
36957         * sysdeps/tile/tilegx/memmove.c: Remove file.
36959 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
36961         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
36962         abi-name definition.
36963         * scripts/soversions.awk: Do not handle or generate ABI lines.
36964         * shlib-versions: Remove ABI entries.
36965         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
36966         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
36968 2014-06-27  Roland McGrath  <roland@hack.frob.com>
36970         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
36971         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
36972         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
36973         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
36974         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
36975         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
36976         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
36977         Moved ...
36978         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
36979         ... here.
36980         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
36981         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
36982         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
36983         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
36984         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
36985         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
36986         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
36987         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
36988         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
36989         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
36990         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
36991         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
36992         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
36993         Moved ...
36994         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
36995         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
36996         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
36997         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
36998         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
36999         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37000         Moved ...
37001         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37002         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37003         Moved ...
37004         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37005         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37006         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37007         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37008         Moved ...
37009         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37010         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37011         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37013         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37014         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37015         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37017         Moved ...
37018         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37019         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37020         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37021         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37022         Moved ...
37023         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37024         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37025         Moved ...
37026         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37027         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37028         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37029         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37030         Moved ...
37031         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37032         ... here.
37033         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37034         Identical file removed.
37035         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37036         Moved ...
37037         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37038         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37039         Identical file removed.
37040         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37041         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37042         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37043         Moved ...
37044         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37045         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37046         Identical file removed.
37047         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37048         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37049         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37050         Identical file removed.
37051         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37052         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37053         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37054         Identical file removed.
37055         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37056         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37057         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37058         Identical file removed.
37059         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37060         Moved ...
37061         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37062         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37063         Identical file removed.
37064         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37065         Moved ...
37066         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37067         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37068         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37070         Identical file removed.
37071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37072         Moved ...
37073         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37074         ... here.
37075         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37076         Identical file removed.
37077         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37078         Moved ...
37079         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37081         Identical file removed.
37082         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37083         Moved ...
37084         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37085         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37086         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37087         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37088         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37090         Moved ...
37091         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37092         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37093         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37095         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37096         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37097         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37098         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37099         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37101 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37103         [BZ #17092]
37104         * nscd/nscd.c (monitor_child): Return exit status of child
37105         instead of return value from wait syscall.
37107 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37109         * configure.ac (libc_commonpagesize): Remove variable.
37110         (libc_relro_required): Likewise.
37111         (libc_cv_z_relro): Remove configure test.
37112         * configure: Regenerated.
37113         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37114         variable.
37115         (libc_relro_required): Likewise.
37116         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37117         (libc_relro_required): Likewise.
37118         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37119         (libc_relro_required): Likewise.
37120         * sysdeps/arm/preconfigure: Regenerated.
37121         * sysdeps/ia64/preconfigure: Remove file.
37122         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37123         variable.
37124         (libc_relro_required): Likewise.
37126         [BZ #16561]
37127         [BZ #16562]
37128         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37129         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37130         recompute overflowing results in original rounding mode.
37131         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37132         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37133         recompute overflowing results in original rounding mode.
37134         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
37135         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37136         recompute overflowing results in original rounding mode.
37137         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
37138         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37139         recompute overflowing results in original rounding mode.
37140         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
37141         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
37142         recompute overflowing results in original rounding mode.
37143         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
37144         (libc_feholdsetround_ctx): New macro.
37145         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
37146         * sysdeps/i386/fpu/libm-test-ulps: Update.
37147         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
37149 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37151         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
37152         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
37153         corresponding .cpsetup call.
37155 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37157         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
37158         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
37159         * sysdeps/arm/Makefile [$(subdir) = csu]
37160         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
37161         (static-only-routines): Add aeabi_read_tp here.
37162         (shared-only-routines): Add libc-aeabi_read_tp here.
37163         (CFLAGS-libc-start.c): Add -fexceptions here.
37164         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
37165         (sysdep_routines, static-only-routines, shared-only-routines):
37166         Don't add to these here.
37167         (CFLAGS-libc-start.c): Likewise.
37169         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
37170         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37171         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
37172         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37173         * sysdeps/arm/Makefile [$(subdir) = rt]
37174         (librt-sysdep_routines, librt-shared-only-routines):
37175         Append rt-aeabi_unwind_cpp_pr1 here.
37176         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
37177         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
37178         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
37179         (libpthread-sysdep_routines, libpthread-shared-only-routines):
37180         Append nptl-aeabi_unwind_cpp_pr1 here.
37181         (tests): Filter out tst-cleanupx4 here.
37182         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
37183         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
37184         Don't do those here.
37186 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37188         * scripts/list-sources.sh: Do not handle ports specially.
37190 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37192         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
37193         * sysdeps/arm/feupdateenv.c: Likewise.
37195         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
37197 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37199         * manual/texinfo.tex: Update to version 2014-05-05.10 with
37200         trailing whitespace removed.
37201         * scripts/config.guess: Update to version 2014-03-23.
37202         * scripts/config.sub: Update to version 2014-05-01
37203         * scripts/install-sh: Update to version 2013-12-25.23.
37204         * scripts/move-if-change: Update from gnulib.
37206 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37208         * debug/memmove_chk.c: Remove pagecopy.h include.
37210 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
37212         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
37213         identical to gnulib mktime.
37215 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
37217         * configure.ac: Do not test for machine being rs6000.  Do not test
37218         for powerpc*-*soft.
37219         * configure: Regenerated.
37221         [BZ #11505]
37222         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
37223         test.
37224         * configure: Regenerated.
37225         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
37226         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
37227         Remove configure test.
37228         * sysdeps/arm/configure: Regenerated.
37229         * sysdeps/nptl/configure.ac: Do not check
37230         libc_cv_asm_cfi_directives.
37231         * sysdeps/nptl/configure: Regenerated.
37232         * sysdeps/x86_64/nptl/configure.ac: Remove file.
37233         * sysdeps/x86_64/nptl/configure: Remove generated file.
37234         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
37235         unconditional.
37236         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
37238 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37240         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
37241         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
37242         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
37243         it is defined.
37245         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
37246         instead of whether it is defined.
37247         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
37248         * sysdeps/hppa/dl-machine.h: Likewise.
37249         * sysdeps/ia64/dl-machine.h: Likewise.
37250         * sysdeps/m68k/dl-machine.h: Likewise.
37251         * sysdeps/microblaze/dl-machine.h: Likewise.
37252         * sysdeps/mips/dl-machine.: Likewise.
37253         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37254         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37255         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37256         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37257         * sysdeps/sh/dl-machine.h: Likewise.
37258         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37259         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37260         * sysdeps/tile/dl-machine.h: Likewise.
37261         * sysdeps/x86_64/dl-machine.h: Likewise.
37263         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
37264         code.
37265         (verify_persistent_db): Likewise.
37267 2014-06-26  Roland McGrath  <roland@hack.frob.com>
37269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
37270         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
37271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
37272         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
37273         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37274         Moved ...
37275         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
37276         ... here.
37277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
37278         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
37279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
37280         Identical file removed.
37281         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
37282         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
37283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
37284         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
37285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
37286         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
37287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
37288         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
37289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
37290         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
37291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37292         Moved ...
37293         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
37294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
37295         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
37296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
37297         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
37298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37299         Moved ...
37300         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
37301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
37302         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
37303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
37304         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
37305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37306         Identical file removed.
37307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
37308         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
37309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
37310         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
37311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37312         Moved ...
37313         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
37314         ... here.
37315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
37316         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
37317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
37318         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
37319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
37320         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
37321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
37322         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
37323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
37324         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
37325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37326         Moved ...
37327         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
37328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
37329         Moved ...
37330         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
37331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
37332         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
37333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37334         Moved ...
37335         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
37336         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
37337         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
37339         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
37340         folded into ...
37341         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
37342         * sysdeps/unix/sysv/linux/s390/Versions
37343         (libpthread: GLIBC_2.19): New version set.
37344         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
37345         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
37346         (librt: GLIBC_2.3.3): New version set.
37347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
37348         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
37349         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
37350         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
37351         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
37352         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
37353         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
37354         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
37355         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
37356         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
37357         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
37358         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
37359         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
37360         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
37361         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
37362         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
37363         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
37364         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
37365         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
37366         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
37367         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
37368         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
37369         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
37370         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
37371         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
37372         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
37373         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
37374         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
37375         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
37376         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
37377         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
37378         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
37379         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
37380         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
37381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
37382         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
37383         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
37384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
37385         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
37386         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
37387         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
37388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
37389         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
37390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
37391         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
37393         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
37394         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
37395         (__libc_vfork): Define the function under this name.
37396         [!NOT_IN_libc] (__vfork): Make this an alias.
37397         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37398         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
37399         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
37400         (__libc_vfork): Define the function under this name.
37401         [!NOT_IN_libc] (__vfork): Make this an alias.
37402         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
37403         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
37404         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
37405         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
37406         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
37407         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37409         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
37410         code that was previously under [RESET_PID].
37411         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
37412         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
37413         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
37415         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
37416         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
37417         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
37418         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
37419         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
37420         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
37421         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
37422         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
37423         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
37424         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
37425         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
37426         Moved ...
37427         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
37428         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
37429         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
37430         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
37431         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
37432         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
37433         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
37434         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
37435         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
37436         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
37437         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
37438         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
37439         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
37440         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
37441         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
37442         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
37443         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
37444         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
37445         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
37446         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
37447         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
37448         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
37449         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
37450         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
37451         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
37452         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
37453         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
37454         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
37455         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
37457 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37459         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
37460         that was previously under [RESET_PID].
37461         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
37463 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37465         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
37466         not undefine and redefine.
37467         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
37468         [O_CLOEXEC]: Make code unconditional.
37469         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
37470         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
37471         <kernel-features.h>.
37472         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
37473         conditional variable definition.
37474         (shm_open) [O_CLOEXEC]: Make code unconditional.
37475         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
37476         code.
37478         * configure.ac (USE_REGPARMS): Don't define here.
37479         * configure: Regenerated.
37480         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
37481         * sysdeps/i386/configure: Regenerated.
37483         * nptl/createthread.c: Don't include kernel-features.h.
37484         * nptl/pthread_cancel.c: Likewise.
37485         * nptl/pthread_condattr_setclock.c: Likewise.
37486         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
37487         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
37488         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
37489         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
37490         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
37491         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
37492         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
37494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37495         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
37496         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
37497         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
37498         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
37499         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
37500         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
37501         * nscd/gai.c: Likewise.
37502         * nss/nss_db/db-open.c: Likewise.
37503         * sysdeps/generic/ldsodefs.h: Likewise.
37504         * sysdeps/sh/nptl/tls.h: Likewise.
37505         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37506         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
37507         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
37508         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
37509         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
37510         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37511         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
37512         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37513         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37514         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37515         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37516         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37517         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
37518         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
37519         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
37520         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
37521         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
37522         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
37523         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
37524         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
37525         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
37526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
37527         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
37528         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
37529         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
37530         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
37531         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
37532         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
37533         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37534         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
37535         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
37536         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
37537         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
37538         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37539         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37540         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37541         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37542         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
37543         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
37544         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
37545         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
37546         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
37547         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
37548         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37549         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
37550         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
37551         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
37552         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
37553         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
37554         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
37555         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
37556         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
37557         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
37558         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37559         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
37560         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37561         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
37562         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
37563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
37564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
37565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
37566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
37567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
37568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
37569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
37570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
37571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
37572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
37573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
37574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
37575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
37576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
37577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
37578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
37583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
37584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
37585         * sysdeps/unix/sysv/linux/pread.c: Likewise.
37586         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
37587         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
37588         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
37589         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
37590         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
37591         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
37592         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
37593         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
37594         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
37595         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
37596         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
37597         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
37598         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
37599         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
37600         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
37601         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37602         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
37603         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
37604         * sysdeps/unix/sysv/linux/system.c: Likewise.
37605         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
37606         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37607         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37608         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37609         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37610         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37611         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37613         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
37614         * configure: Regenerated.
37615         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
37617         * configure.ac (base_machine): Do not set specially for particular
37618         machines here.
37619         * configure: Regenerated.
37620         * sysdeps/powerpc/preconfigure: Move machine and base_machine
37621         settings from configure.ac.
37622         * sysdeps/i386/preconfigure: New file.
37623         * sysdeps/s390/preconfigure: Likewise.
37624         * sysdeps/sh/preconfigure: Likewise.
37625         * sysdeps/sparc/preconfigure: Likewise.
37627 2014-06-25  Roland McGrath  <roland@hack.frob.com>
37629         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
37630         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
37631         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
37632         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
37633         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
37634         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
37635         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
37636         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
37637         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
37638         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
37639         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
37640         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
37641         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
37642         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
37643         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
37644         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
37645         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
37646         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
37647         * sysdeps/sparc/sparc64/Makefile: ... appended here.
37649         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
37650         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
37651         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
37652         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
37653         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
37654         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
37655         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
37656         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
37657         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
37658         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
37659         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
37660         * sysdeps/sparc/sparc32/sem_post.c: ... here.
37661         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
37662         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
37663         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
37664         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
37665         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
37666         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
37667         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
37668         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
37669         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
37670         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
37671         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
37672         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
37673         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
37674         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
37675         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
37676         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
37677         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
37678         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
37679         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
37680         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
37681         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
37682         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
37683         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
37684         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
37685         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
37686         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
37688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
37689         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
37690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
37691         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
37692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37693         Moved ...
37694         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
37695         ... here.
37696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
37697         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
37698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
37699         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
37700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
37701         Moved ...
37702         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
37703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
37704         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
37705         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
37706         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
37707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
37708         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
37709         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37710         Moved ...
37711         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
37712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37713         Moved ...
37714         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
37715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
37716         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
37717         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37718         Moved ...
37719         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
37720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
37721         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
37722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
37723         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
37724         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
37725         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
37726         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
37727         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
37728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37729         Moved ...
37730         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
37731         ... here.
37732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
37733         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
37734         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
37735         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
37736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
37737         Moved ...
37738         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
37739         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
37740         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
37741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
37742         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
37743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
37744         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
37745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37746         Moved ...
37747         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
37748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37749         Moved ...
37750         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
37751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
37752         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
37753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37754         Moved ...
37755         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
37756         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
37757         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
37758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
37759         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
37761 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37763         * timezone/checktab.awk: Update from tzcode 2014e.
37764         * timezone/private.h: Likewise.
37765         * timezone/tzfile.h: Likewise.
37766         * timezone/zdump.c: Likewise.
37767         * timezone/zic.c: Likewise.
37769         * sysdeps/unix/sysv/linux/kernel-features.h
37770         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
37771         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
37772         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
37773         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37774         Remove conditional code.
37776 2014-06-25  Will Newton  <will.newton@linaro.org>
37778         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
37779         (_dl_arm_cap_flags): Add HWCAP2 values.
37780         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
37781         (_DL_HWCAP_COUNT): Increase to 37.
37782         (_DL_HWCAP_LAST): New define.
37783         (_DL_HWCAP2_LAST): New define.
37784         (_dl_procinfo): Add support for printing
37785         AT_HWCAP2 entries.
37786         (_dl_string_hwcap): Use _dl_hwcap_string.
37788 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37792 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
37794         * README: Do not mention ports directory.
37796         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
37797         Remove macro.
37798         * sysdeps/unix/sysv/linux/futimes.c: Do not include
37799         <kernel-features.h>.
37800         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
37801         conditional variable definition.
37802         (__futimes): Update comment.
37803         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
37804         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
37806         [BZ #16560]
37807         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
37808         arguments close to 0.
37809         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
37810         Likewise.
37811         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
37812         Likewise.
37813         * math/auto-libm-test-in: Add more tests of exp10.
37814         * math/auto-libm-test-out: Regenerated.
37815         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37817         * sysdeps/unix/sysv/linux/kernel-features.h
37818         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
37819         * sysdeps/unix/sysv/linux/readv.c: Do not include
37820         <kernel-features.h>.
37821         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37822         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37823         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37824         unconditional.
37825         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37826         conditional code.
37827         * sysdeps/unix/sysv/linux/writev.c: Do not include
37828         <kernel-features.h>.
37829         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
37830         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
37831         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
37832         unconditional.
37833         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
37834         conditional code.
37836 2014-06-25  Will Newton  <will.newton@linaro.org>
37838         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
37839         comment changes throughout the file.  Remove checks
37840         for HAVE_*_H definitions that are not required.
37841         (__gen_tempname): Call abort if an unknown kind value is
37842         passed.
37844 2014-06-25  Andreas Schwab  <schwab@suse.de>
37846         [BZ #17086]
37847         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
37848         scalbln, scalblnf, scalblnl in libc.
37850 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37852         [BZ #17086]
37853         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
37854         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
37855         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
37857 2014-06-24  Roland McGrath  <roland@hack.frob.com>
37859         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
37860         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
37861         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
37862         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
37863         Update #include.
37864         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
37865         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
37866         Update #include.
37867         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
37868         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
37869         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
37870         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
37871         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
37872         * sysdeps/x86/bits/pthreadtypes.h: ... here.
37873         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
37874         * sysdeps/x86/bits/semaphore.h: ... here.
37875         * sysdeps/x86/nptl/elide.h: Moved ...
37876         * sysdeps/x86/elide.h: ... here.
37877         * sysdeps/x86_64/nptl/Implies: File removed.
37878         * sysdeps/i386/nptl/Implies: File removed.
37880 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
37882         [BZ #16539]
37883         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
37884         return the argument for normal arguments with exponent below -64.
37885         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
37886         Likewise.
37887         * math/auto-libm-test-in: Add another test of expm1.
37888         * math/auto-libm-test-out: Regenerated.
37890         [BZ #16287]
37891         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
37892         calling __erfcl for arguments at least 16.
37893         * math/auto-libm-test-in: Add more tests of erf.
37894         * math/auto-libm-test-out: Regenerated.
37896         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
37897         individual architectures.
37898         * sysdeps/unix/sysv/linux/configure: Regenerated.
37899         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
37900         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
37901         * sysdeps/unix/sysv/linux/powerpc/configure.ac
37902         (ldd_rewrite_script): Define variable.
37903         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
37905         file.
37906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
37907         generated file.
37908         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
37909         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
37910         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
37911         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
37912         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
37913         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
37914         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
37915         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
37917 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37919         [BZ #17084]
37920         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
37921         Rename member __data.d to __data.__elision_data.
37923 2014-06-24  Wilco  <wdijkstr@arm.com>
37925         * NEWS: Add 16918 to fixed bug list.
37927 2014-06-24  Wilco  <wdijkstr@arm.com>
37929         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
37931 2014-06-24  Wilco  <wdijkstr@arm.com>
37933         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
37934         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
37935         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
37936         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
37937         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
37938         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
37939         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
37940         Use _FPU_MASK_RM.
37942 2014-06-24  Wilco  <wdijkstr@arm.com>
37944         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
37946 2014-06-24  Wilco  <wdijkstr@arm.com>
37948         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
37949         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
37950         * sysdeps/arm/fesetround.c (fesetround): Remove space.
37951         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
37953 2014-06-24  Wilco  <wdijkstr@arm.com>
37955         [BZ #16918]
37956         * sysdeps/arm/feupdateenv.c (feupdateenv):
37957         Rewrite to reduce FPSCR accesses and fix return value.
37959 2014-06-24  Wilco  <wdijkstr@arm.com>
37961         * sysdeps/arm/fclrexcpt.c (feclearexcept):
37962         Optimize to avoid unnecessary FPSCR writes.
37963         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
37964         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
37965         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
37966         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
37968 2014-06-24  Wilco  <wdijkstr@arm.com>
37970         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
37971         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
37972         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
37973         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
37974         Call libc_fetestexcept_vfp.
37975         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
37976         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
37977         __SOFTFP__ ifdef so that they can be built for softfp.
37979 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37981         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
37982         argument type signed char.
37984         * Makerules (check-abi): Dump diff of symlist if the test
37985         fails.
37987 2014-06-23  Roland McGrath  <roland@hack.frob.com>
37989         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
37990         using abort.
37992         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
37993         Remove unused variable ST.
37995 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
37997         [BZ #16354]
37998         [BZ #17061]
37999         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38000         small arguments before calling __expm1.
38001         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38002         small arguments before calling __expm1f.
38003         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38004         small arguments before calling __expm1l.
38005         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38006         Likewise.
38007         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38008         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38009         spurious underflow for some cosh tests.
38010         * math/auto-libm-test-out: Regenerated.
38011         * sysdeps/i386/fpu/libm-test-ulps: Update.
38013         [BZ #17050]
38014         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38015         (__ieee754_y1): Set errno if return value overflows.
38016         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38017         (__ieee754_y1f): Set errno if return value overflows.
38018         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38019         (__ieee754_y1l): Set errno if return value overflows.
38020         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38021         (__ieee754_y1l): Set errno if return value overflows.
38022         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38023         * math/auto-libm-test-out: Regenerated.
38025         * math/gen-auto-libm-tests.c: Document use of
38026         ignore-zero-inf-sign.
38027         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38028         (input_flags): Add ignore-zero-inf-sign.
38029         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38030         * math/gen-libm-test.pl (generate_testfile): Handle
38031         ignore-zero-inf-sign.
38032         * math/auto-libm-test-in: Mark some cpow tests with
38033         ignore-zero-inf-sign and some with xfail-rounding.
38034         * math/auto-libm-test-out: Regenerated.
38035         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38036         * sysdeps/i386/fpu/libm-test-ulps: Update.
38037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38039         [BZ #16315]
38040         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38041         overflowing or underflowing operations take place with sign of
38042         result.
38043         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38044         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38045         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38046         (__ieee754_pow): Recompute overflowing and underflowing results in
38047         original rounding mode.
38048         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38049         (__powl_helper): Allow negative argument X and scale negated value
38050         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38051         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38052         overflowing or underflowing operations take place with sign of
38053         result.
38054         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38055         Include <math.h>.
38056         * math/auto-libm-test-in: Add more tests of pow.
38057         * math/auto-libm-test-out: Regenerated.
38058         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38059         (pow_tonearest_test_data): Remove.
38060         (pow_test_tonearest): Likewise.
38061         (pow_towardzero_test_data): Likewise.
38062         (pow_test_towardzero): Likewise.
38063         (pow_downward_test_data): Likewise.
38064         (pow_test_downward): Likewise.
38065         (pow_upward_test_data): Likewise.
38066         (pow_test_upward): Likewise.
38067         (main): Don't call removed functions.
38068         * sysdeps/i386/fpu/libm-test-ulps: Update.
38069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38071 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38074         Moved ...
38075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38077         Moved ...
38078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38080         Moved ...
38081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38083         Moved ...
38084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38086         File removed.
38087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38088         File removed.
38089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38090         File removed.
38091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38092         File removed.
38093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38094         File removed.
38095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38096         File removed.
38097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38098         File removed.
38099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38100         File removed.
38101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38102         File removed.
38103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38104         File removed.
38105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38106         File removed.
38107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38108         File removed.
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38110         Moved ...
38111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38113         Moved ...
38114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38115         ... here.
38116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38117         Moved ...
38118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38120         Moved ...
38121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38123         Moved ...
38124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38126         Moved ...
38127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38129         Moved ...
38130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38132         Moved ...
38133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
38135         Moved ...
38136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
38137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
38138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
38139         ... here.
38140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
38141         Moved ...
38142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
38143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
38144         Moved ...
38145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
38146         ... here.
38147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
38148         Moved ...
38149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
38150         ... here.
38151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38152         Moved ...
38153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38154         ... here.
38155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38156         Moved ...
38157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
38158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
38159         Moved ...
38160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
38161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
38163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
38164         Moved ...
38165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
38166         ... here.
38167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
38168         Moved ...
38169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
38170         ... here.
38171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
38172         Moved ...
38173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
38174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
38175         Moved ...
38176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
38177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
38178         Moved ...
38179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
38180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38181         Moved ...
38182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
38183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
38184         Moved ...
38185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
38186         ... here.
38187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
38188         Moved ...
38189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
38190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
38191         Moved ...
38192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
38193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
38194         Moved ...
38195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
38196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
38197         Moved ...
38198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
38199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
38200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
38201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
38202         Moved ...
38203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
38204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
38205         Moved ...
38206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
38207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
38208         Moved ...
38209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
38210         ... here.
38211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
38212         Moved ...
38213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
38214         ... here.
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
38216         Moved ...
38217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
38218         ... here.
38219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
38220         Moved ...
38221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
38222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
38223         Moved ...
38224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
38225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
38226         Moved ...
38227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
38228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
38229         Moved ...
38230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
38231         ... here.
38232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
38233         Moved ...
38234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
38235         ... here.
38236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
38237         Moved ...
38238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
38239         ... here.
38240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
38241         Moved ...
38242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
38243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38244         Moved ...
38245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
38247 2014-06-23  Will Newton  <will.newton@linaro.org>
38248             Wilco  <wdijkstr@arm.com>
38250         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
38251         implementation.  Include get-rounding-mode.h.
38252         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
38253         [!libc_feholdsetround_noex_ctx]: Define
38254         libc_feholdsetround_noex_ctx.
38255         [!libc_feholdsetround_noexf_ctx]: Define
38256         libc_feholdsetround_noexf_ctx.
38257         [!libc_feholdsetround_noexl_ctx]: Define
38258         libc_feholdsetround_noexl_ctx.
38259         (libc_feholdsetround_ctx): New function.
38260         (libc_feresetround_ctx): New function.
38261         (libc_feholdsetround_noex_ctx): New function.
38262         (libc_feresetround_noex_ctx): New function.
38264 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38266         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
38267         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
38268         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
38269         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
38270         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
38271         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
38273         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
38274         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
38275         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
38276         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
38277         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
38278         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
38279         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
38280         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
38281         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
38282         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
38283         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
38284         Moved ...
38285         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
38286         ... here.
38287         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
38288         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
38289         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
38290         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
38291         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
38292         Moved ...
38293         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
38294         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
38295         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
38296         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
38297         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
38298         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
38299         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
38300         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
38301         Moved ...
38302         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
38303         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
38304         Moved ...
38305         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
38306         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
38307         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
38308         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
38309         Moved ...
38310         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
38311         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
38312         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
38313         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
38314         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
38315         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
38316         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
38317         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
38318         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
38319         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
38320         Moved ...
38321         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
38322         ... here.
38323         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
38324         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
38325         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
38326         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
38327         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
38328         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
38329         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
38330         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
38331         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
38332         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
38333         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
38334         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
38335         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
38336         Moved ...
38337         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
38338         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
38339         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
38340         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
38341         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
38342         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
38343         Moved ...
38344         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
38345         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
38346         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
38347         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
38348         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
38350         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
38351         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
38352         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
38353         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
38354         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
38355         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
38356         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
38357         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
38358         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
38359         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
38360         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
38361         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
38362         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
38363         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
38364         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
38365         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
38366         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
38367         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
38368         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
38369         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
38370         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
38371         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
38372         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
38373         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
38374         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
38375         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
38376         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
38377         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
38379 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38381         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
38382         (FALLOC_FL_COLLAPSE_RANGE): New macro.
38383         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
38384         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38385         (IPV6_PMTUDISC_INTERFACE): Likewise.
38386         (IPV6_PMTUDISC_OMIT): Likewise.
38388 2014-06-23  Andreas Schwab  <schwab@suse.de>
38390         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
38391         Remove unused errout label.
38393 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38395         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
38396         macro: hardware supports Vector Crypto instructions.
38398 2014-06-23  Will Newton  <will.newton@linaro.org>
38400         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
38401         rather than __builtin_expect.
38403         * elf/dl-lookup.c (undefined_msg): Remove variable.
38404         (_dl_lookup_symbol_x): Replace undefined_msg with string
38405         literal.
38407         * elf/dl-lookup.c (do_lookup_unique): New function.
38408         (do_lookup_x): Move STB_GNU_UNIQUE handling code
38409         to a separate function.
38411 2014-06-23  Andreas Schwab  <schwab@suse.de>
38413         [BZ #17079]
38414         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
38415         before reading the next line.
38417 2014-06-23  Will Newton  <will.newton@linaro.org>
38419         * test-skeleton.c (signal_handler): Use printf and %m
38420         rather than perror.  Use printf rather than fprintf to
38421         stderr.  Use puts rather than fputs to stderr.
38422         (main): Likewise.
38424 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
38426         * nscd/nscd.c (thread_info_t): Remove typedef.
38427         (thread_info): Remove variable.
38429 2014-06-21  Allan McRae  <allan@archlinux.org>
38431         * NEWS: Mention CVE-2014-4043.
38433 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38435         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
38436         * nptl/smp.h: ... here.
38438         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
38440         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
38441         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
38442         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
38443         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
38445         * nptl/allocatestack.c: Include <stack-aliasing.h>.
38446         * nptl/stack-aliasing.h: New file.
38447         * sysdeps/i386/i686/stack-aliasing.h: New file.
38448         * sysdeps/i386/i686/nptl/Makefile: File removed.
38449         * sysdeps/x86_64/stack-aliasing.h: New file.
38450         * sysdeps/x86_64/nptl/Makefile
38451         (CFLAGS-pthread_create.c): Variable removed.
38453         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
38454         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
38455         old file.
38456         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
38457         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
38458         old file.
38460 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
38462         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38463         (__ASSUME_SIGFRAME_V2): Remove macro.
38464         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
38465         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
38466         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
38467         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
38468         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
38469         Declare as function.  Remove conditional macro definitions.
38470         (__default_rt_sa_restorer): Likewise.
38471         (__default_sa_restorer_v1): Remove declaration.
38472         (__default_sa_restorer_v2): Likewise.
38473         (__default_rt_sa_restorer_v1): Likewise.
38474         (__default_rt_sa_restorer_v2): Likewise.
38475         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
38476         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
38477         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
38479 2014-06-20  Roland McGrath  <roland@hack.frob.com>
38481         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
38482         (libpthread-routines): Add sysdep.
38483         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
38484         * sysdeps/unix/sysv/linux/sparc/Versions
38485         (libpthread: GLIBC_2.3.3): New version set.
38486         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
38487         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
38488         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
38489         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
38490         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
38491         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
38492         Moved ...
38493         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
38494         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
38495         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
38496         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
38497         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
38498         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
38499         * sysdeps/sparc/nptl/sem_init.c: ... here.
38500         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
38501         * sysdeps/sparc/nptl/sem_post.c: ... here.
38502         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
38503         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
38504         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
38505         * sysdeps/sparc/nptl/sem_wait.c: ... here.
38506         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
38507         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
38508         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
38509         (libpthread-routines): Add cpu_relax.
38510         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
38511         File removed.
38512         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
38513         (librt: GLIBC_2.3.3): New version set.
38514         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
38515         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
38516         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
38517         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
38518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
38519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
38520         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
38521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
38522         Moved ...
38523         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
38524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
38525         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
38526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
38527         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
38528         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
38529         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
38530         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
38531         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
38532         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
38533         Moved ...
38534         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
38535         Update #include.
38536         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
38537         Moved ...
38538         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
38539         Update #include.
38540         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
38541         Moved ...
38542         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
38543         Update #include.
38544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
38545         Moved ...
38546         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
38547         Update #include.
38548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
38549         Moved ...
38550         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
38551         Update #include.
38552         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
38553         Moved ...
38554         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
38555         Update #include.
38556         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
38557         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
38558         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
38559         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
38560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
38561         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
38562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
38563         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
38564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
38565         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
38566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
38567         Moved ...
38568         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
38569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
38570         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
38571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
38572         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
38574 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38576         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
38577         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
38578         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38579         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
38580         * nscd/nscd.c: Likewise.
38581         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
38582         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
38583         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
38584         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
38586         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
38587         <kernel-features.h>.
38588         (init_mq_netlink): Remove conditional have_sock_cloexec
38589         definitions.  Remove code conditional on have_sock_cloexec < 0.
38590         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
38591         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
38592         * sysdeps/unix/sysv/linux/opensock.c: Do not include
38593         <kernel-features.h>.
38594         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
38595         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
38597 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38599         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38600         Add tests for memset_chk and memset.
38602         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
38603         with AVX2_Usable.
38605 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38607         [BZ #16046]
38608         * elf/tst-dl-iter-static.c: New file.
38609         * elf/Makefile (tests-static): Add tst-dl-iter-static.
38611         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
38612         error.
38614 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38616         * sysdeps/unix/sysv/linux/kernel-features.h
38617         (__ASSUME_F_GETOWN_EX): Remove macro.
38618         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
38619         <kernel-features.h>.
38620         (miss_F_GETOWN_EX): Remove variable or macro.
38621         (do_fcntl): Do not check miss_F_GETOWN_EX.
38622         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
38624         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
38625         Remove macro.
38626         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
38627         [!__ASSUME_AT_RANDOM]: Remove conditional code.
38628         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
38630         * sysdeps/unix/sysv/linux/kernel-features.h
38631         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
38632         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
38633         [ADJ_OFFSET_SS_READ]: Make code unconditional.
38634         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
38636 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
38638         [BZ #17075]
38639         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
38640         Fix calculation of the symbol's value.
38641         * sysdeps/arm/tst-armtlsdescloc.c: New file.
38642         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
38643         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
38644         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
38645         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
38646         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
38647         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
38648         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
38649         (modules-names): Add `tst-armtlsdescmod',
38650         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
38651         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
38652         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38653         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
38654         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
38655         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
38656         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
38657         ($(objpfx)tst-armtlsdescloc): New dependency.
38658         ($(objpfx)tst-armtlsdescextnow): Likewise.
38659         ($(objpfx)tst-armtlsdescextlazy): Likewise.
38660         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
38661         TLS scheme support.
38662         * sysdeps/arm/configure: Regenerate.
38664 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
38666         * include/fcntl.h (__atfct_seterrno): Remove prototype.
38667         (__atfct_seterrno_2): Likewise.
38668         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
38669         <kernel-features.h>.
38670         (__ASSUME_ATFCTS): Do not undefine and redefine.
38671         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
38672         (__have_atfcts): Remove conditional definition.
38673         (__fxstatat([__NR_fstatat64]: Make code unconditional.
38674         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
38675         unreachable if [__ASSUME_ATFCTS].
38676         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
38677         not undefine and redefine.
38678         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
38679         <kernel-features.h>.
38680         (faccessat) [__NR_faccessat]: Make code unconditional.
38681         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
38682         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
38683         <kernel-features.h>.
38684         (fchmodat) [__NR_fchmodat]: Make code unconditional.
38685         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38686         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
38687         <kernel-features.h>.
38688         (fchownat) [__NR_fchownat]: Make code unconditional.
38689         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
38690         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
38691         <kernel-features.h>.
38692         (futimesat) [__NR_futimesat]: Make code unconditional.
38693         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
38694         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
38695         <kernel-features.h>.
38696         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38697         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38698         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
38699         <kernel-features.h>.
38700         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
38701         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38702         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
38703         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
38704         <kernel-features.h>.
38705         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
38706         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38707         * sysdeps/unix/sysv/linux/linkat.c: Do not include
38708         <kernel-features.h>.
38709         (linkat) [__NR_linkat]: Make code unconditional.
38710         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38711         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
38712         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
38713         <kernel-features.h>.
38714         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
38715         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
38716         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
38717         <kernel-features.h>.
38718         (mkdirat) [__NR_mkdirat]: Make code unconditional.
38719         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
38720         * sysdeps/unix/sysv/linux/openat.c: Do not include
38721         <kernel-features.h>.
38722         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
38723         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
38724         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
38725         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
38726         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
38727         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
38728         <kernel-features.h>.
38729         (readlinkat) [__NR_readlinkat]: Make code unconditional.
38730         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
38731         result of INLINE_SYSCALL directly, not via int variable.
38732         * sysdeps/unix/sysv/linux/renameat.c: Do not include
38733         <kernel-features.h>.
38734         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
38735         (renameat) [__NR_renameat]: Make code unconditional.
38736         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
38737         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
38738         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
38739         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
38740         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
38741         (__ASSUME_ATFCTS): Do not undefine and redefine.
38742         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
38743         <kernel-features.h>.
38744         (symlinkat) [__NR_symlinkat]: Make code unconditional.
38745         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38746         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
38747         <kernel-features.h>.
38748         (unlinkat) [__NR_unlinkat]: Make code unconditional.
38749         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
38750         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
38751         (__ASSUME_ATFCTS): Do not undefine and redefine.
38752         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
38753         <kernel-features.h>.
38754         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
38755         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
38756         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
38757         <kernel-features.h>.
38758         (__xmknodat) [__NR_mknodat]: Make code unconditional.
38759         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
38761 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
38763         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
38765 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
38767         [BZ #17069]
38768         * posix/regcomp.c (parse_reg_exp): Deallocate partially
38769         constructed tree before returning error.
38770         * posix/bug-regexp36.c: Expand test case.
38772 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38774         [BZ #6803]
38775         * math/libm-test.inc (scalbln_test_date):
38776         Add errno expectations.
38777         * math/w_scalblnf.c: New File.
38778         Add wrapper which checks for setting errno to ERANGE.
38779         Add weak_alias for corresponding scalbln function.
38780         * math/w_scalbln.c: Likewise.
38781         * math/w_scalblnl.c: Likewise.
38782         * math/Makefile (libm-calls): Add w_scalbln.
38783         * sysdeps/ieee754/flt-32/s_scalblnf.c:
38784         Remove weak_alias for corresponding scalbln function.
38785         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38787         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38788         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38789         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
38790         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38791         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
38792         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38793         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
38794         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
38795         Remove long_double_symbol for scalblnl function in libm, libc.
38796         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
38797         Add wrapper which checks for setting errno to ERANGE.
38798         Add long_double_symbol for scalblnl function in libm, libc.
38799         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
38800         Remove long_double_symbol for scalblnl in libm.
38801         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
38802         Add wrapper which checks for setting errno to ERANGE.
38803         Add long_double_symbol for scalblnl function in libm.
38804         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
38805         Do not use wrapper because of own implementation.
38807 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
38809         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
38810         3 bytes for __pad1 for x32.
38811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
38813 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
38814             H.J. Lu  <hongjiu.lu@intel.com>
38816         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
38817         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
38818         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38819         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38820         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
38822 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
38824         [BZ #17069]
38825         * posix/regcomp.c (parse_expression): Deallocate partially
38826         constructed tree before returning error.
38827         * posix/Makefile.c (tests): Add bug-regex36.
38828         (generated): Add bug-regex36.mtrace.
38829         (tests-special): Add $(objpfx)bug-regex36-mem.out
38830         (bug-regex36-ENV): New variable.
38831         ($(objpfx)bug-regex36-mem.out): New rule.
38832         * posix/bug-regex36.c: New file.
38834 2014-06-19  Will Newton  <will.newton@linaro.org>
38836         * malloc/malloc.c (systrim): If extra is zero then return
38837         early.
38839 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38841         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
38843 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
38845         * sysdeps/aarch64/strchr.S: New file.
38847 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38849         [BZ #17022]
38850         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
38851         from arguments -2 or below.
38852         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
38853         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
38855 2014-06-18  Andreas Schwab  <schwab@suse.de>
38857         [BZ #17062]
38858         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
38859         of a bracket expr not to run off the end of the string.
38860         * posix/Makefile (tests): Add tst-fnmatch3.
38861         * posix/tst-fnmatch3.c: New file.
38863 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
38865         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
38866         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38867         [$(cross-compiling) = no]: Likewise.
38868         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38869         [$(cross-compiling) = no]: Likewise.
38871 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38873         [BZ #17031]
38874         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
38875         double, adjusted for any remainder from the high double.
38876         * math/libm-test.inc (nearbyint): Add tests.
38877         (rint): Likewise.
38879 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38881         * nptl/sysdeps/powerpc/Makefile: Moved ...
38882         * sysdeps/powerpc/nptl/Makefile: ... here.
38883         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
38884         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
38885         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
38886         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
38887         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
38888         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
38889         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
38890         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
38891         * nptl/sysdeps/powerpc/tls.h: Moved ...
38892         * sysdeps/powerpc/nptl/tls.h: ... here.
38894 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
38896         [BZ #16681]
38897         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
38898         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
38899         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
38900         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
38901         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
38902         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
38903         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
38904         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
38905         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
38907 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
38909         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
38911 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
38913         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
38914         defined operator.
38916         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
38917         $TIMEOUTFACTOR.
38919 2014-06-16  Florian Weimer  <fweimer@redhat.com>
38921         [BZ #17058]
38922         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
38923         non-executed part of the test.
38925 2014-06-16  Andreas Schwab  <schwab@suse.de>
38927         * string/bits/string2.h (strdup, strndup): Update feature guard.
38929 2014-06-14  David S. Miller  <davem@davemloft.net>
38931         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38933 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
38935         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
38936         that was previously under [RESET_PID].
38937         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
38939         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
38940         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
38941         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
38942         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38943         (__libc_vfork): New strong alias.
38944         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
38946 2014-06-14 Andi Kleen  <ak@linux.intel.com>
38948         * sysdeps/generic/elide.h: New file.
38950 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38952         * Makefile (installed-headers): Adjust path of pthread.h header.
38954 2014-06-13  Roland McGrath  <roland@hack.frob.com>
38956         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
38957         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
38958         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
38959         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
38961         * nptl/sysdeps/s390/Makefile: Moved ...
38962         * sysdeps/s390/nptl/Makefile: ... here.
38963         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
38964         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
38965         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
38966         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
38967         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
38968         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
38969         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
38970         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
38971         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
38972         * sysdeps/s390/nptl/pthreaddef.h: ... here.
38973         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
38974         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
38975         * nptl/sysdeps/s390/tls.h: Moved ...
38976         * sysdeps/s390/nptl/tls.h: ... here.
38978         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
38979         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
38981 2014-06-13  David S. Miller  <davem@davemloft.net>
38983         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
38984         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
38985         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
38986         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
38987         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
38988         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
38989         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
38990         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
38991         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
38992         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
38993         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
38994         Remove RESET_PID cpp guards.
38995         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
38996         Remove RESET_PID cpp guards.
38997         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
38999 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39001         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39002         __sp to uintptr_t.
39004 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39007         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39008         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39009         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39010         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39011         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39012         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39013         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39014         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39015         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39016         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39018         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39019         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39020         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39021         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39022         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39023         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39024         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39025         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39027         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39028         (pthread_rwlock_rdlock): Add elision.
39029         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39030         (pthread_rwlock_wrlock): Add elision.
39031         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39032         (pthread_rwlock_trywrlock): Add elision.
39033         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39034         (pthread_rwlock_tryrdlock): Add elision.
39035         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39036         (pthread_rwlock_tryrdlock): Add elision unlock.
39037         * nptl/sysdeps/pthread/pthread.h:
39038         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39039         (PTHREAD_RWLOCK_INITIALIZER,
39040         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39041         Handle new elision field.
39042         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39043         * sysdeps/arm/nptl/bits/pthreadtypes.h
39044         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39045         * sysdeps/sh/nptl/bits/pthreadtypes.h
39046         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39047         * sysdeps/tile/nptl/bits/pthreadtypes.h
39048         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39049         * sysdeps/a/nptl/bits/pthreadtypes.h
39050         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39051         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39053         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39054         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39055         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39056         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39057         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39058         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39059         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39060         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39061         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39062         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39063         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39064         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39065         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39066         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39067         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39068         (elision_init): Set try_xbegin to zero when no RTM.
39069         * sysdeps/x86/nptl/bits/pthreadtypes.h
39070         (pthread_rwlock_t): Change __pad1 to __rwelision.
39071         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39073 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39075         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39076         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39077         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39078         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39080 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39082         [BZ #16996]
39083         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39084         that the cached result has been set before returning it.
39086 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39088         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39089         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39090         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39091         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39092         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39093         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39095         * nptl/sysdeps/sparc/Makefile: Moved ...
39096         * sysdeps/sparc/nptl/Makefile: ... here.
39097         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39098         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39099         * nptl/sysdeps/sparc/tls.h: Moved ...
39100         * sysdeps/sparc/nptl/tls.h: ... here.
39101         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39102         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39103         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39104         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39105         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39106         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39107         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39108         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39109         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39110         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39111         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39112         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39113         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39114         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39115         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39116         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39117         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39118         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39119         Update #include.
39120         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39121         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39122         Update #include.
39123         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39124         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39125         Update #include.
39126         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39127         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39128         Update #include.
39130         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39132         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39133         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
39135         * sysdeps/pthread/posix-timer.h: Include <list.h>.
39136         (struct list_links): Type removed.
39137         (struct thread_node, struct timer_node): Replace struct list_links
39138         with struct list_head.
39139         (list_unlink_ip): Likewise.
39140         * sysdeps/pthread/timer_routines.c
39141         (timer_free_list, thread_free_list, thread_active_list): Likewise.
39142         (list_append, list_insbefore): Likewise.
39143         (list_init): Function removed.
39144         (thread_init, init_module): Use INIT_LIST_HEAD instead.
39145         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
39146         * sysdeps/pthread/Makefile: ... here, new file.
39148         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
39149         * sysdeps/nptl/Implies: ... here.
39150         * sysdeps/unix/sysv/linux/Implies: Add nptl.
39151         * nptl/sysdeps/pthread/list.h: Moved ...
39152         * include/list.h: ... here.
39153         * nptl/sysdeps/pthread/createthread.c: Moved ...
39154         * nptl/createthread.c: ... here.
39155         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
39156         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
39157         * nptl/pt-longjmp.c: ... here.
39158         * nptl/sysdeps/pthread/Makefile: Moved ...
39159         * sysdeps/nptl/Makefile: ... here.
39160         * nptl/sysdeps/pthread/Subdirs: Moved ...
39161         * sysdeps/nptl/Subdirs: ... here.
39162         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
39163         * sysdeps/nptl/aio_misc.h: ... here.
39164         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
39165         * sysdeps/nptl/bits/libc-lock.h: ... here.
39166         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
39167         * sysdeps/nptl/bits/libc-lockP.h: ... here.
39168         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
39169         * sysdeps/nptl/bits/stdio-lock.h: ... here.
39170         * nptl/sysdeps/pthread/configure: Moved ...
39171         * sysdeps/nptl/configure: ... here.
39172         * nptl/sysdeps/pthread/configure.ac: Moved ...
39173         * sysdeps/nptl/configure.ac: ... here.
39174         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
39175         * sysdeps/nptl/gai_misc.h: ... here.
39176         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
39177         * sysdeps/nptl/librt-cancellation.c: ... here.
39178         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
39179         * sysdeps/nptl/malloc-machine.h: ... here.
39180         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
39181         * sysdeps/nptl/pthread-functions.h: ... here.
39182         * nptl/sysdeps/pthread/pthread.h: Moved ...
39183         * sysdeps/nptl/pthread.h: ... here.
39184         * nptl/sysdeps/pthread/setxid.h: Moved ...
39185         * sysdeps/nptl/setxid.h: ... here.
39186         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
39187         * sysdeps/nptl/sigfillset.c: ... here.
39188         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
39189         * sysdeps/nptl/tcb-offsets.h: ... here.
39190         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
39191         * sysdeps/nptl/tst-mqueue8x.c: ... here.
39192         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
39193         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
39194         * nptl/sysdeps/pthread/allocalim.h: Moved ...
39195         * sysdeps/pthread/allocalim.h: ... here.
39196         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
39197         * sysdeps/pthread/bits/sigthread.h: ... here.
39198         * nptl/sysdeps/pthread/flockfile.c: Moved ...
39199         * sysdeps/pthread/flockfile.c: ... here.
39200         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
39201         * sysdeps/pthread/ftrylockfile.c: ... here.
39202         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
39203         * sysdeps/pthread/funlockfile.c: ... here.
39204         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
39205         * sysdeps/pthread/posix-timer.h: ... here.
39206         * nptl/sysdeps/pthread/timer_create.c: Moved ...
39207         * sysdeps/pthread/timer_create.c: ... here.
39208         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
39209         * sysdeps/pthread/timer_delete.c: ... here.
39210         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
39211         * sysdeps/pthread/timer_getoverr.c: ... here.
39212         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
39213         * sysdeps/pthread/timer_gettime.c: ... here.
39214         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
39215         * sysdeps/pthread/timer_routines.c: ... here.
39216         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
39217         * sysdeps/pthread/timer_settime.c: ... here.
39218         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
39219         * sysdeps/pthread/tst-timer.c: ... here.
39220         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
39221         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
39223         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
39224         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
39226         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
39227         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
39228         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
39229         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
39230         Update #include target.
39231         * nptl/sysdeps/i386/i686/Makefile: Moved ...
39232         * sysdeps/i386/i686/nptl/Makefile: ... here.
39233         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
39234         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
39235         Update #include target.
39236         * nptl/sysdeps/i386/i686/tls.h: Moved ...
39237         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
39238         * nptl/sysdeps/i386/Makefile: Moved ...
39239         * sysdeps/i386/nptl/Makefile: ... here.
39240         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
39241         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
39242         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
39243         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
39244         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
39245         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
39246         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
39247         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
39248         * sysdeps/i386/nptl/pthreaddef.h: ... here.
39249         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
39250         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
39251         * nptl/sysdeps/i386/tls.h: Moved ...
39252         * sysdeps/i386/nptl/tls.h: ... here.
39254         * sysdeps/sh/Makefile [$(subdir) = csu]
39255         (gen-as-const-headers): Add tcb-offsets.sym.
39256         * nptl/sysdeps/sh/Makefile: File removed.
39257         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
39258         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
39259         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
39260         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
39261         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
39262         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
39263         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
39264         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
39265         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
39266         * sysdeps/sh/nptl/pthreaddef.h: ... here.
39267         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
39268         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
39269         * nptl/sysdeps/sh/tls.h: Moved ...
39270         * sysdeps/sh/nptl/tls.h: ... here.
39271         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
39272         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
39273         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
39274         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
39275         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
39276         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
39277         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
39278         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
39279         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
39280         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
39281         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
39282         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
39283         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
39284         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
39285         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
39286         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
39287         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
39288         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
39289         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
39290         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
39291         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
39292         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
39293         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
39294         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
39295         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
39296         Moved ...
39297         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
39298         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
39299         Moved ...
39300         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
39301         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
39302         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
39303         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
39304         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
39305         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
39306         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
39307         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
39308         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
39309         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
39310         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
39311         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
39312         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
39313         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
39314         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
39315         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
39316         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
39317         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
39318         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
39320 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39322         * posix/spawn_faction_addopen.c: Include string.h.
39324 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39326         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
39327         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
39328         * nptl/sysdeps/x86_64/Makefile: Moved ...
39329         * sysdeps/x86_64/nptl/Makefile: ... here.
39330         * nptl/sysdeps/x86_64/configure: Moved ...
39331         * sysdeps/x86_64/nptl/configure: ... here.
39332         * nptl/sysdeps/x86_64/configure.ac: Moved ...
39333         * sysdeps/x86_64/nptl/configure.ac: ... here.
39334         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
39335         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
39336         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
39337         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
39338         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
39339         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
39340         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
39341         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
39342         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
39343         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
39344         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
39345         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
39346         * nptl/sysdeps/x86_64/tls.h: Moved ...
39347         * sysdeps/x86_64/nptl/tls.h: ... here.
39348         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
39349         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
39350         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
39351         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
39353         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
39355 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39357         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39359 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
39361         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
39362         type.
39363         [POSIX] (off_t): Likewise.
39364         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
39365         [POSIX] (S_ISBLK): Require macro.
39366         [POSIX] (S_ISCHR): Likewise.
39367         [POSIX] (S_ISDIR): Likewise.
39368         [POSIX] (S_ISFIFO): Likewise.
39369         [POSIX] (S_ISREG): Likewise.
39370         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
39371         optional-macro.
39372         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
39373         type.
39374         [POSIX] (time_t): Likewise.
39375         [POSIX] (timer_t): Likewise.
39377 2014-06-11  Florian Weimer  <fweimer@redhat.com>
39379         [BZ #17048]
39380         * posix/spawn_int.h (struct __spawn_action): Make the path string
39381         non-const to support deallocation.
39382         * posix/spawn_faction_addopen.c
39383         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
39384         * posix/spawn_faction_destroy.c
39385         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
39386         path in all spawn_do_open actions.
39387         * posix/tst-spawn.c (do_test): Exercise the copy operation in
39388         posix_spawn_file_actions_addopen.
39390 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
39392         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
39393         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
39394         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
39395         conditional code always true.
39396         (__libc_vfork): New alias.
39398 2014-06-11  Roland McGrath  <roland@hack.frob.com>
39400         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39401         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
39403         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
39405         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39406         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
39408         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39409         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
39411         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39412         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
39414 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39416         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
39417         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
39418         multiarch strcmp for PPC64.
39419         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
39420         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
39421         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
39422         multiarch optimizations.
39423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39424         (__libc_ifunc_impl_list): Likewise.
39426 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39428         * benchtests/scripts/validate_benchout.py: New script.
39429         * benchtests/Makefile (bench-func): Call it.
39430         * benchtests/scripts/benchout.schema.json: New file.
39432 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
39434         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
39435         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
39436         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
39437         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
39438         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
39439         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
39440         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
39441         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
39442         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
39443         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
39444         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
39445         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
39446         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
39447         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
39448         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
39449         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
39450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
39451         Moved ...
39452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
39453         ... here.
39454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
39455         Moved ...
39456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
39457         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
39458         Moved ...
39459         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
39460         ... here.
39461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
39462         Moved ...
39463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
39464         ... here.
39465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
39466         Moved ...
39467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
39468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
39469         Moved ...
39470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
39471         ... here.
39472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
39473         Moved ...
39474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
39475         ... here.
39476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
39477         Moved ...
39478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
39479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
39480         Moved ...
39481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
39482         ... here.
39483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
39484         Moved ...
39485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
39486         ... here.
39487         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
39488         Moved ...
39489         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
39490         ... here.
39491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
39492         Moved ...
39493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
39494         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
39495         Moved ...
39496         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
39497         ... here.
39498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
39499         Moved ...
39500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
39501         ... here.
39502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
39503         Moved ...
39504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
39505         ... here.
39506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
39507         Moved ...
39508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
39509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
39510         Moved ...
39511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
39512         ... here.
39513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
39514         Moved ...
39515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
39516         ... here.
39517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
39518         Moved ...
39519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
39520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
39521         Moved ...
39522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
39523         ... here.
39524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
39525         Moved ...
39526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
39527         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
39528         Moved ...
39529         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
39530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
39531         Moved ...
39532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
39533         ... here.
39534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
39535         Moved ...
39536         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
39537         ... here.
39538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
39539         Moved ...
39540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
39541         ... here.
39542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
39543         Moved ...
39544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
39545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
39546         Moved ...
39547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
39548         ... here.
39549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
39550         Moved ...
39551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
39552         ... here.
39553         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
39554         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
39555         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
39556         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
39557         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
39558         Moved ...
39559         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
39560         ... here.
39561         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
39562         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
39563         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
39564         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
39565         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
39566         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
39567         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
39568         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
39569         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
39570         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
39571         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
39572         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
39573         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
39574         Moved ...
39575         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
39576         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
39577         Moved ...
39578         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
39579         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
39580         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
39581         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
39582         Moved ...
39583         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
39584         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
39585         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
39586         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
39587         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
39588         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
39589         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
39591 2014-06-10  Wilco  <wdijkstr@arm.com>
39593         * math/test-fenv-return.c: New file.
39594         * math/Makefile: Add new test test-fenv-return.
39596 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
39598         [BZ #17042]
39599         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
39600         when x - 1 is zero.
39601         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
39602         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
39603         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
39604         0.0L for an argument of 1.0L.
39605         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
39606         Likewise.
39607         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
39608         value when x - 1 is zero.
39609         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
39610         * sysdeps/i386/fpu/libm-test-ulps: Update.
39611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39613 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
39615         [BZ #15119]
39616         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
39618 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39620         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
39621         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
39623 2014-06-09  Roland McGrath  <roland@hack.frob.com>
39625         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39626         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
39628         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39629         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
39631         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39632         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
39634         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39635         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
39637         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
39638         if not already defined.
39639         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
39640         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
39641         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
39642         (TLS_INIT_TP): Use it.
39643         (TLS_DEFINE_INIT_TP): New macro.
39644         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
39646 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
39648         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
39649         constant.
39650         [POSIX] (IXANY): Likewise.
39651         [POSIX] (OLCUC): Likewise.
39652         [POSIX || POSIX2008] (CBAUD): Do not allow.
39653         [POSIX || POSIX2008] (DEFECHO): Likewise.
39654         [POSIX || POSIX2008] (ECHOCTL): Likewise.
39655         [POSIX || POSIX2008] (ECHOKE): Likewise.
39656         [POSIX || POSIX2008] (ECHOPRT): Likewise.
39657         [POSIX || POSIX2008] (EXTA): Likewise.
39658         [POSIX || POSIX2008] (EXTB): Likewise.
39659         [POSIX || POSIX2008] (FLUSHO): Likewise.
39660         [POSIX || POSIX2008] (LOBLK): Likewise.
39661         [POSIX || POSIX2008] (PENDIN): Likewise.
39662         [POSIX || POSIX2008] (SWTCH): Likewise.
39663         [POSIX || POSIX2008] (VDISCARD): Likewise.
39664         [POSIX || POSIX2008] (VDSUSP): Likewise.
39665         [POSIX || POSIX2008] (VLNEXT): Likewise.
39666         [POSIX || POSIX2008] (VREPRINT): Likewise.
39667         [POSIX || POSIX2008] (VSTATUS): Likewise.
39668         [POSIX || POSIX2008] (VWERASE): Likewise.
39669         (B*): Change to B[0123456789]*.
39670         * conform/data/time.h-data [POSIX || UNIX98]
39671         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
39672         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39673         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
39674         [POSIX] (tm_*): Do not allow.
39676 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
39678         * Makefile (install): Don't set LANGUAGE.
39679         * Makefile.in (install): Likewise.
39680         * assert/Makefile (test-assert-ENV): Remove variable.
39681         (test-assert-perr-ENV): Likewise.
39682         * elf/Makefile (neededtest4-ENV): Likewise.
39683         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39684         [$(cross-compiling) = no]: Don't set LANGUAGE.
39685         * io/ftwtest-sh (LANG): Remove variable.
39686         * libio/Makefile (tst-widetext-ENV): Likewise.
39687         * manual/install.texi (Running make install): Don't refer to
39688         environment settings for make install.
39689         * INSTALL: Regenerated.
39690         * nptl/tst-tls6.sh: Don't set LANG.
39691         * posix/globtest.sh (LANG): Remove variable.
39692         * string/Makefile (tester-ENV): Likewise.
39693         (inl-tester-ENV): Likewise.
39694         (noinl-tester-ENV): Likewise.
39695         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39696         [$(cross-compiling) = no]: Don't set LANGUAGE.
39697         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
39698         without explicit environment settings.
39700 2014-06-06  Roland McGrath  <roland@hack.frob.com>
39702         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
39703         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
39704         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
39705         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
39707 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
39709         * crypt/crypt-private.h [DOS]: Add some includes taken from the
39710         other files in the crypt directory.
39711         * crypt/crypt.c: Remove duplicate includes.
39712         * crypt/crypt-entry.c: Likewise.
39713         * crypt/crypt_util.c: Likewise.
39715 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
39717         * Makeconfig (run-program-env): New variable.
39718         (run-program-prefix-before-env): Likewise.
39719         (run-program-prefix-after-env): Likewise.
39720         (run-program-prefix): Define in terms of new variables.
39721         (built-program-cmd-before-env): New variable.
39722         (built-program-cmd-after-env): Likewise.
39723         (built-program-cmd): Define in terms of new variables.
39724         (test-program-prefix-before-env): New variable.
39725         (test-program-prefix-after-env): Likewise.
39726         (test-program-prefix): Define in terms of new variables.
39727         (test-program-cmd-before-env): New variable.
39728         (test-program-cmd-after-env): Likewise.
39729         (test-program-cmd): Define in terms of new variables.
39730         * Rules (make-test-out): Use $(run-program-env).
39731         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
39732         (help): Do not mention environment variables.  Mention
39733         --timeoutfactor option.
39734         (timeoutfactor): New variable.
39735         (blacklist_exports): Remove function.
39736         (exports): Remove variable.
39737         (command): Do not include ${exports}.
39738         * manual/install.texi (Configuring and compiling): Do not mention
39739         test wrappers preserving environment variables.  Mention that last
39740         assignment to a variable must take precedence.
39741         * INSTALL: Regenerated.
39742         * benchtests/Makefile (run-bench): Use $(run-program-env).
39743         * catgets/Makefile ($(objpfx)test1.cat): Use
39744         $(built-program-cmd-before-env), $(run-program-env) and
39745         $(built-program-cmd-after-env).
39746         ($(objpfx)test2.cat): Do not specify environment variables
39747         explicitly.
39748         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
39749         $(run-program-env) and $(built-program-cmd-after-env).
39750         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
39751         $(run-program-env) and $(test-program-cmd-after-env).
39752         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
39753         explicitly.
39754         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
39755         run_program_env and test_program_cmd_after_env arguments.
39756         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
39757         * elf/tst-pathopt.sh: Use run_program_env argument.
39758         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
39759         $(test-wrapper-env) and $(run-program-env).
39760         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
39761         run_program_env arguments.
39762         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
39763         * intl/Makefile ($(objpfx)tst-gettext.out): Use
39764         $(test-program-prefix-before-env), $(run-program-env) and
39765         $(test-program-prefix-after-env).
39766         ($(objpfx)tst-gettext2.out): Likewise.
39767         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
39768         run_program_env and test_program_prefix_after_env arguments.
39769         * intl/tst-gettext2.sh: Likewise.
39770         * intl/tst-gettext4.sh: Do not set environment variables
39771         explicitly.
39772         * intl/tst-gettext6.sh: Likewise.
39773         * intl/tst-translit.sh: Likewise.
39774         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
39775         $(test-program-prefix-before-env), $(run-program-env) and
39776         $(test-program-prefix-after-env).
39777         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
39778         run_program_env and test_program_prefix_after_env arguments.
39779         * math/Makefile (run-regen-ulps): Use $(run-program-env).
39780         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
39781         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
39782         explicitly with each use of ${test_wrapper_env}.
39783         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
39784         $(test-program-prefix-before-env), $(run-program-env) and
39785         $(test-program-prefix-after-env).
39786         * posix/tst-getconf.sh: Do not set environment variables
39787         explicitly.
39788         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
39789         run_program_env and test_program_prefix_after_env arguments.
39790         * stdio-common/tst-printf.sh: Do not set environment variables
39791         explicitly.
39792         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
39793         $(test-program-prefix-before-env), $(run-program-env) and
39794         $(test-program-prefix-after-env).
39795         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
39796         run_program_env and test_program_prefix_after_env arguments.
39797         Split $test calls into $test_pre and $test.
39798         * timezone/Makefile (build-testdata): Use
39799         $(built-program-cmd-before-env), $(run-program-env) and
39800         $(built-program-cmd-after-env).
39802 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39804         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
39805         strlen for non SHARED builds.
39807 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39809         * nptl/allocatestack.c (check_list): Inlined function...
39810         (__reclaim_stacks): ... here.
39812 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39814         [BZ #15698]
39815         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
39816         memory overrun.
39818 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
39820         * Rules (make-test-out): Include
39821         LOCPATH=$(common-objpfx)localedata in default environment.
39822         * debug/Makefile (tst-chk1-ENV): Remove variable.
39823         (tst-chk2-ENV): Likewise.
39824         (tst-chk3-ENV): Likewise.
39825         (tst-chk4-ENV): Likewise.
39826         (tst-chk5-ENV): Likewise.
39827         (tst-chk6-ENV): Likewise.
39828         (tst-lfschk1-ENV): Likewise.
39829         (tst-lfschk2-ENV): Likewise.
39830         (tst-lfschk3-ENV): Likewise.
39831         (tst-lfschk4-ENV): Likewise.
39832         (tst-lfschk5-ENV): Likewise.
39833         (tst-lfschk6-ENV): Likewise.
39834         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
39835         (tst-iconv7-ENV): Likewise.
39836         * intl/Makefile (LOCPATH-ENV): Likewise.
39837         (tst-codeset-ENV): Likewise.
39838         (tst-gettext3-ENV): Likewise.
39839         (tst-gettext5-ENV): Likewise.
39840         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
39841         (tst-fopenloc-ENV): Likewise.
39842         (tst-fgetws-ENV): Remove variable.
39843         (tst-ungetwc1-ENV): Likewise.
39844         (tst-ungetwc2-ENV): Likewise.
39845         (bug-ungetwc2-ENV): Likewise.
39846         (tst-swscanf-ENV): Likewise.
39847         (bug-ftell-ENV): Likewise.
39848         (tst-fgetwc-ENV): Likewise.
39849         (tst-fseek-ENV): Likewise.
39850         (tst-ftell-partial-wide-ENV): Likewise.
39851         (tst-ftell-active-handler-ENV): Likewise.
39852         (tst-ftell-append-ENV): Likewise.
39853         * posix/Makefile (tst-fnmatch-ENV): Likewise.
39854         (tst-regexloc-ENV): Likewise.
39855         (bug-regex1-ENV): Likewise.
39856         (tst-regex-ENV): Likewise.
39857         (tst-regex2-ENV): Likewise.
39858         (bug-regex5-ENV): Likewise.
39859         (bug-regex6-ENV): Likewise.
39860         (bug-regex17-ENV): Likewise.
39861         (bug-regex18-ENV): Likewise.
39862         (bug-regex19-ENV): Likewise.
39863         (bug-regex20-ENV): Likewise.
39864         (bug-regex22-ENV): Likewise.
39865         (bug-regex23-ENV): Likewise.
39866         (bug-regex25-ENV): Likewise.
39867         (bug-regex26-ENV): Likewise.
39868         (bug-regex30-ENV): Likewise.
39869         (bug-regex32-ENV): Likewise.
39870         (bug-regex33-ENV): Likewise.
39871         (bug-regex34-ENV): Likewise.
39872         (bug-regex35-ENV): Likewise.
39873         (tst-rxspencer-ENV): Likewise.
39874         (tst-rxspencer-no-utf8-ENV): Likewise.
39875         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
39876         (tst-sscanf-ENV): Likewise.
39877         (tst-swprintf-ENV): Likewise.
39878         (tst-swscanf-ENV): Likewise.
39879         (test-vfprintf-ENV): Likewise.
39880         (scanf13-ENV): Likewise.
39881         (bug14-ENV): Likewise.
39882         (tst-grouping-ENV): Likewise.
39883         * stdlib/Makefile (tst-strtod-ENV): Likewise.
39884         (tst-strtod3-ENV): Likewise.
39885         (tst-strtod4-ENV): Likewise.
39886         (tst-strtod5-ENV): Likewise.
39887         (testmb2-ENV): Likewise./
39888         * string/Makefile (tst-strxfrm-ENV): Likewise.
39889         (tst-strxfrm2-ENV): Likewise.
39890         (bug-strcoll1-ENV): Likewise.
39891         (test-strcasecmp-ENV): Likewise.
39892         (test-strncasecmp-ENV): Likewise.
39893         * time/Makefile (tst-strptime-ENV): Likewise.
39894         (tst-ftime_l-ENV): Likewise.
39895         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
39896         (tst-mbrtowc-ENV): Likewise.
39897         (tst-wcrtomb-ENV): Likewise.
39898         (tst-mbrtowc2-ENV): Likewise.
39899         (tst-c16c32-1-ENV): Likewise.
39900         (tst-mbsnrtowcs-ENV): Likewise.
39902 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
39904         * manual/resource.texi (How to get information about the memory
39905         subsystem?): Fix typo.
39906         Reported by Peon de la Parra Ivan <peon@keba.com>
39908 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
39910         [BZ #16882]
39911         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
39912         (pthread_spin_lock): Branch out of spin loop to proper location.
39913         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
39914         (pthread_spin_lock): Likewise.
39916         * nptl/tst-spin4.c: New test.
39917         * nptl/Makefile (tests): Add tst-spin4.
39919 2014-06-03  Andreas Schwab  <schwab@suse.de>
39921         [BZ #15946]
39922         * resolv/res_send.c (send_dg): Reload file descriptor after
39923         calling reopen.
39925 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
39927         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39929 2014-06-03  Richard Henderson  <rth@redhat.com>
39931         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
39932         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
39933         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
39934         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
39935         in the SAVE_PID block.
39936         (__libc_vfork): New alias.
39937         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
39939         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
39940         child in registers, not on the stack.  Remove RESET_PID conditionals.
39941         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
39943 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39945         * sysdeps/aarch64/libm-test-ulps: Regenerate.
39947 2014-06-03  Wilco  <wdijkstr@arm.com>
39949         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
39950         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
39951         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39952         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
39953         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
39954         Likewise.
39956 2014-06-03  Wilco  <wdijkstr@arm.com>
39958         * sysdeps/aarch64/fpu/math_private.h
39959         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
39960         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
39961         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
39962         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
39963         Fix declarations.
39965 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39967         * crypt/crypt-private.h: Include ufc-crypt.h.
39968         (__b64_from_24bit): Declare extern.
39969         * crypt/crypt_util.c(__b64_from_24bit): New function.
39970         (b64t): New static const variable.
39971         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
39972         (b64t): Remove variable.
39973         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
39974         * crypt/sha256-crypt.c: Include crypt-private.h.
39975         (b64t): Remove variable.
39976         (__sha256_crypt_r): Remove b64_from_24bit and replace
39977         with __b64_from_24bit.
39978         * crypt/sha512-crypt.c: Likewise.
39980 2014-06-02  Roland McGrath  <roland@hack.frob.com>
39982         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
39983         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
39984         Label the code __libc_vfork rather than __vfork.
39985         [!NOT_IN_libc] (vfork): Define as weak alias.
39986         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
39987         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
39988         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
39990 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39992         * malloc/malloc.c (malloc_info): Fix format specifier for
39993         n_mmaps.
39995 2014-06-02  Wilco  <wdijkstr@arm.com>
39997         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
39998         FPCR write.
40000 2014-06-02  Wilco  <wdijkstr@arm.com>
40002         [BZ #17009]
40003         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40004         Rewrite to reduce FPCR/FPSR accesses.
40006 2014-06-01  David S. Miller  <davem@davemloft.net>
40008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40010 2014-05-31  David S. Miller  <davem@davemloft.net>
40012         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40013         to occur in round to nearest mode when |x| >= 2.0
40015 2014-05-30  Richard Henderson  <rth@twiddle.net>
40017         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40018         (PSEUDO_RET_NOERRNO): Remove.
40019         (ret): Don't redefine.
40020         (ret_NOERRNO): Define in terms of ret.
40021         (ret_ERRVAL): Likewise.
40023         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40024         use of PSEUDO_RET; perform the error check directly.
40026 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40028         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40029         with __int128_t.
40031 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40033         * malloc/malloc (malloc_info): Fix formatting.
40035 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40036             Roland McGrath  <roland@hack.frob.com>
40038         * malloc/malloc (malloc_info): Also print mmapped statistics.
40040 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40042         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40043         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40045 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40047         * malloc/malloc.c (malloc_info): Inline mi_arena.
40049 2014-05-29  Richard Henderson  <rth@twiddle.net>
40051         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40052         Remove comma before expanding ASM_ARGS_##nr.
40053         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40054         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40055         of ASM_ARGS_##nr.
40056         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40057         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40058         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40059         (ASM_ARGS_1): Add leading comma.
40061         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40062         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40063         to __errno_location.
40064         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40065         Remove the expected plt for __errno_location.
40067         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40068         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40069         call to __read_tp.
40071         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40072         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40073         it and break it down.
40074         (DOCARGS_0, DOCARGS_1): Do nothing.
40075         (DOCARGS_2): Update to store into the new stack frame.
40076         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40077         (UNDOCARGS_1): Update to restore from the new stack frame.
40078         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40079         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40081         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40082         (SINGLE_THREAD_P): New parameter for result regno.
40083         (PSEUDO): Update to match; use cbz instead of beq.
40085         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40086         Use ENTRY to define the _nocancel entry point.  Share the syscall
40087         and syscall error check paths with the cancel path.
40088         (PSEUDO_END): New.
40090         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40091         whitespace; tabs before and after asm mnemonics.
40093 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40095         [BZ #15132]
40096         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40097         Call fstat64 or stat64 internally, depending on arguments passed.
40098         Replace stat buffer argument with file descriptor argument.
40099         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40100         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40101         Pass fd to __internal_statvfs instead of calling fstat64.
40102         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40103         Pass fd to __internal_statvfs64 instead of calling fstat64.
40104         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40105         Pass -1 to __internal_statvfs instead of calling stat64.
40106         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40107         Pass -1 to __internal_statvfs64 instead of calling stat64.
40109 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40111         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40112         that was previously under [RESET_PID].
40113         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40115         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40116         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40118 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40120         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40122         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40123         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40125 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40127         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40129 2014-05-27  Andreas Schwab  <schwab@suse.de>
40131         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40132         TLS_INIT_TP macro.
40133         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40134         * elf/rtld.c (init_tls, dl_main): Likewise.
40135         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
40136         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
40137         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
40138         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
40139         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
40140         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
40141         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
40142         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
40143         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
40144         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
40145         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
40146         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
40147         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
40148         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
40149         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
40150         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
40151         * sysdeps/generic/tls.h: Update description.
40153 2014-05-27  Will Newton  <will.newton@linaro.org>
40155         [BZ #16990]
40156         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
40157         and restore r2 rather than just restoring.
40159 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40161         [BZ #16724]
40162         * libio/tst-ftell-append.c: New test case.
40163         * libio/Makefile (tests): Add test case.
40164         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
40165         append mode.
40166         * libio/wfileops.c (do_ftell_wide): Likewise.
40168 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40170         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40172         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
40173         ...
40174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
40175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
40176         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
40177         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
40178         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
40179         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
40180         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
40181         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
40182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40183         Moved ...
40184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
40185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40186         Moved ...
40187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
40188         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
40189         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
40190         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
40191         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
40192         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
40193         ...
40194         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
40195         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
40196         Moved ...
40197         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
40198         here.
40199         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
40200         ...
40201         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
40202         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
40203         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
40205         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
40206         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
40207         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
40208         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
40210         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
40211         merge into ...
40212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
40213         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
40214         ...
40215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
40216         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
40217         ...
40218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
40219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
40220         Moved ...
40221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
40222         here.
40223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
40224         Moved ...
40225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
40226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
40227         Moved ...
40228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
40230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
40231         conditional [RESET_PID].
40232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
40233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
40234         removed.
40235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
40236         removed.
40238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
40239         <tcb-offsets.h>.
40240         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40241         (__libc_vfork): New strong alias.
40242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
40243         removed.
40244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
40245         Removed.
40247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
40248         <tcb-offsets.h>.
40249         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
40250         (__libc_vfork): New strong alias.
40251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
40252         removed.
40253         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
40254         removed.
40256 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
40258         * malloc/malloc.c (mi_arena): New function.
40259         (malloc_info): Remove nested function mi_arena. Call non-nosted
40260         function mi_arena.
40262 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40264         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
40265         by insrwi.
40266         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
40267         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
40268         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
40269         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
40270         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
40271         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
40272         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
40274 2014-05-26  Andreas Schwab  <schwab@suse.de>
40276         [BZ #16984]
40277         * locale/programs/repertoire.c (repertoire_read): Add slash
40278         between I18NPATH element and file name.
40279         * locale/programs/locfile.c (locfile_read): Likewise.
40281 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40283         * nptl/pthread_mutexattr_settype.c
40284         (__pthread_mutexattr_settype):
40285         Disable lock elision for PTHREAD_MUTEX_NORMAL.
40287 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
40289         * nptl/tst-mutex5 (do_test):
40290         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
40292 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40294         * benchtests/README: Document 'init' directive.
40295         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
40296         BENCH_INIT.
40297         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
40298         (parse_file): Recognize 'init' directive.
40300 2014-05-26  Kyle McMartin  <kyle@redhat.com>
40302         [BZ #16796]
40303         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
40304         alignment of struct pthread.
40306 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40308         [BZ #16878]
40309         * nscd/netgroupcache.c (addgetnetgrentX): Look for
40310         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40311         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
40312         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
40314 2014-05-25  Richard Henderson  <rth@twiddle.net>
40316         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40317         (SINGLE_THREAD_P_PIC): Remove.
40318         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
40319         (SINGLE_THREAD_P_PIC): Remove.
40321         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
40322         branch to syscall error ...
40323         (PSEUDO): ... here.
40324         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
40325         from __local_syscall_error to .Lsyscall_error.
40326         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
40327         (SYSCALL_ERROR): Update label name.
40329         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40330         Do not use DOARGS/UNDOARGS.
40331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
40332         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
40333         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
40334         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
40335         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
40337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
40338         block comment.
40340         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
40341         define if !NOT_IN_libc.
40342         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
40343         define with non-default symbol versions.
40345 2014-05-23  Richard Henderson  <rth@twiddle.net>
40347         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
40348         (vfork, __vfork): Define via compat_symbol.
40350         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
40351         [!HAVE_IFUNC] (vfork_compat): Remove.
40352         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
40354 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40356         [BZ #16978]
40357         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
40358         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
40359         variable.
40361 2014-05-23  Richard Henderson  <rth@twiddle.net>
40363         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
40364         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
40365         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
40366         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
40368         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
40369         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
40370         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
40371         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
40372         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
40373         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
40374         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
40375         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
40376         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
40377         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
40378         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
40379         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
40380         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
40381         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
40382         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
40383         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
40384         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
40385         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
40386         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
40387         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
40388         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
40389         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
40390         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
40391         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
40392         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
40393         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
40394         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
40395         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
40396         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
40397         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
40398         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
40399         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
40400         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
40401         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
40402         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
40403         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
40404         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
40405         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
40406         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
40407         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
40408         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
40409         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
40410         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
40411         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
40412         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
40413         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
40414         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
40415         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
40416         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
40417         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
40418         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
40419         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
40420         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
40421         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
40422         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
40423         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
40425         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
40426         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
40427         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
40428         before exiting on error.
40429         (__libc_vfork): New strong alias.
40430         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
40431         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
40433         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
40434         that was previously under [RESET_PID].
40435         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
40437         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
40439 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
40441         [BZ #16977]
40442         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
40443         value when x - 1 is zero.
40444         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
40445         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
40446         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
40447         0.0L for an argument of 1.0L.
40448         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
40449         Likewise.
40450         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
40451         value when x - 1 is zero.
40452         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
40453         * sysdeps/i386/fpu/libm-test-ulps: Update.
40454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40456 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40458         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
40459         alphasort and versionsort.
40461 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40463         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
40464         macro.
40465         [copysignf]: Likewise.
40467 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
40469         * crypt/md5-crypt.c: Fix formatting.
40471 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40473         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40474         (b64_from_24bit): New function.
40476 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40478         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
40479         libc_hidden_builtin_def to ifunc.
40480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
40481         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
40483 2014-05-21  Roland McGrath  <roland@hack.frob.com>
40485         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
40486         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
40488 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
40490         * nscd/Depend (linuxthreads): Remove.
40491         (nptl): Add.
40492         * resolv/Depend (linuxthreads): Remove.
40493         * rt/Depend (linuxthreads): Remove.
40495         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
40496         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
40497         $(common-objpfx)elf/.
40498         (link-libc-before-gnulib): Likewise.
40499         (elfobjdir): Remove variable.
40500         * Makefile (install): Use $(elf-objpfx) instead of
40501         $(common-objpfx)elf/.
40502         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
40503         $(elfobjdir)/.
40504         (link-libc-deps): Likewise.
40505         ($(common-objpfx)libc.so): Likewise.
40506         ($(common-objpfx)linkobj/libc.so): Likewise.
40507         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
40508         instead of $(common-objpfx)elf/.
40509         (symbolic-link-list): Likewise.
40510         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40511         [$(cross-compiling) = no]: Likewise.
40512         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
40513         $(elfobjdir)/.
40514         (static-gnulib-arch): Likewise.
40515         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40516         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
40517         $(common-objpfx)elf/.
40519 2014-05-21  Richard Henderson  <rth@redhat.com>
40521         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40522         (SINGLE_THREAD_P): Use the correct width load.  Fold
40523         into the ldr offset.
40525         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
40526         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
40528 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
40530         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
40531         (libgcc_s_resume): Use __attribute_used__.
40532         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
40533         Likewise.
40535 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40537         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
40538         optimization when used with float constants.
40540         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40542 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
40544         [BZ #16915]
40545         * locale/nl_langinfo_l.c: Make direct reference to every
40546         _nl_current_CATEGORY symbol.
40547         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
40548         (tests-static): Add tst-langinfo-static.
40549         (tests-special): Add tst-langinfo-static.out.
40550         ($(objpfx)tst-langinfo.out): Redirect output.
40551         ($(objpfx)tst-langinfo-static.out): New.
40552         * localedata/tst-langinfo.sh: Send output to stdout.
40553         * localedata/tst-langinfo-static.c: New file.
40555         [BZ #16965]
40556         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
40557         when the shift amount is modulo the limb size.
40559 2014-05-20  Richard Henderson  <rth@redhat.com>
40561         [BZ #16967]
40562         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
40563         Change type of sa_flags from unsigned int to int.
40565         [BZ #16966]
40566         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
40568         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
40570 2014-05-20  Will Newton  <will.newton@linaro.org>
40572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40573         Test the return value of the system call in the nocancel case.
40575 2014-05-20  Will Newton  <will.newton@linaro.org>
40576             Yvan Roux  <yvan.roux@linaro.org>
40578         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
40579         #include of asm/ptrace.h.
40580         (PTRACE_GET_THREAD_AREA): Remove #undef.
40581         (PTRACE_GETHBPREGS): Likewise.
40582         (PTRACE_SETHBPREGS): Likewise.
40583         (struct user_regs_struct): New structure.
40584         (struct user_fpsimd_struct): New structure.
40585         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
40586         #include of asm/ptrace.h and second #include of sys/user.h.
40587         (PTRACE_GET_THREAD_AREA): Remove #undef.
40588         (PTRACE_GETHBPREGS): Likewise.
40589         (PTRACE_SETHBPREGS): Likewise.
40590         (ELF_NGREG): Use new struct user_regs_struct.
40591         (elf_fpregset_t): Use new struct user_fpsimd_struct.
40593 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40595         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
40596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
40598 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
40600         [BZ #16958]
40601         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40602         membar to avoid block loads/stores to overlap previous stores.
40604 2014-05-17  Richard Henderson  <rth@redhat.com>
40606         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
40607         Create the __##syscall_name##_nocancel entry point.
40608         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
40609         Remove; let the sysdep-cancel.h code create it.
40611 2014-05-17  David S. Miller  <davem@davemloft.net>
40613         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
40614         Protect with __USE_GNU.
40615         (TIOCSET_TEMPT): Likewise.
40616         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
40617         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
40618         these are already provided in bits/ioctl-types.h
40620 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40622         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
40623         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
40625         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
40626         Use wait4 regardless of [__NR_waitpid].
40628 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
40630         PR libgcc/60166
40631         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
40632         (_FP_NANSIGN_Q): Set the quiet bit.
40634 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
40636         * benchtests/Makefile
40637         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
40638         not $(common-objpfx)math/libm.so.
40639         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
40640         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
40641         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
40642         $(common-objpfx)dlfcn/libdl.so.
40643         ($(objpfx)tst-audit8): Depend on $(libm), not
40644         $(common-objpfx)math/libm.so.
40645         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
40646         not $(common-objpfx)dlfcn/libdl.so.
40647         * math/Makefile
40648         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40649         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
40650         [$(build-shared) = yes].
40651         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
40652         $(common-objpfx)nptl/libpthread.so.
40653         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
40654         $(common-objpfx)math/libm.so$(libm.so-version) or
40655         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
40656         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
40657         $(common-objpfx)dlfcn/libdl.so.
40658         * setjmp/Makefile (link-libm): Remove variable.
40659         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
40660         * stdio-common/Makefile (link-libm): Remove variable.
40661         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
40662         * stdlib/Makefile (link-libm): Remove variable.
40663         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
40664         ($(objpfx)tst-strtod-round): Likewise.
40665         ($(objpfx)tst-tininess): Likewise.
40666         ($(objpfx)tst-strtod-underflow): Likewise.
40667         ($(objpfx)tst-strtod6): Likewise.
40668         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
40669         $(libdl), not $(common-objpfx)nptl/libpthread.so and
40670         $(common-objpfx)dlfcn/libdl.so.
40672 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40674         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
40675         BSD terminal modes definitions.
40677 2014-05-16  Roland McGrath  <roland@hack.frob.com>
40679         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
40680         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
40682         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
40683         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
40684         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
40685         Don't do #include_next.
40686         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
40687         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
40688         Don't do #include_next.
40689         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
40690         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
40691         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
40692         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
40694 2014-05-16  Allan McRae  <allan@archlinux.org>
40696         * po/sv.po: Update Swedish translation from translation project.
40698         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
40699         in sed expression.
40701 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
40703         [BZ #16917]
40704         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
40705         errno if the TIOCGPTN ioctl fails with an error different than
40706         EINVAL.
40707         * login/tst-ptsname.c: New file.
40708         * login/Makefile (tests): Add tst-ptsname.
40710         [BZ #16943]
40711         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
40712         and prlimit64.
40714 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40716         [BZ #16849]
40717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
40718         herrno to return EAI_AGAIN.
40720 2014-05-14  Roland McGrath  <roland@hack.frob.com>
40722         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
40723         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
40724         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
40725         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
40726         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
40727         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
40728         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
40729         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
40730         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
40731         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
40732         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
40733         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
40734         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
40735         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
40736         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
40737         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
40738         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
40739         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
40740         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
40741         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
40742         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
40743         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
40744         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
40745         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
40746         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
40747         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
40748         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
40749         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
40750         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
40751         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
40752         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
40753         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
40754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
40755         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
40756         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40757         Moved ...
40758         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
40759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
40760         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
40761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
40762         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
40763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
40764         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
40765         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
40766         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
40767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
40768         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
40769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
40770         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
40771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
40772         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
40773         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
40774         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
40775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
40776         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
40777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
40778         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
40779         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
40780         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
40781         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
40782         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
40783         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
40784         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
40785         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40786         Moved ...
40787         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
40788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
40789         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
40790         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
40791         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
40792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
40793         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
40794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
40795         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
40796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
40797         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
40798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
40799         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
40800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
40801         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
40802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
40803         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
40804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
40805         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
40806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40807         Moved ...
40808         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
40809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
40810         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
40812         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
40813         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
40814         (libpthread-sysdep_routines): Add elision-related stuff here instead.
40815         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
40816         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
40817         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
40818         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
40819         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
40820         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
40821         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
40822         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
40823         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
40824         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
40825         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
40826         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
40827         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
40828         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
40829         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
40830         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
40831         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
40832         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
40833         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
40834         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
40835         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
40836         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
40837         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
40838         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
40839         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
40840         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
40841         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
40842         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
40844         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
40845         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
40847         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
40848         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
40849         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
40850         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
40851         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
40852         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
40853         Moved ...
40854         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
40855         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
40856         Moved ...
40857         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
40858         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
40859         Moved ...
40860         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
40861         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
40862         Moved ...
40863         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
40864         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
40865         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
40866         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
40867         Moved ...
40868         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
40869         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
40870         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
40871         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
40872         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
40873         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
40874         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
40875         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
40876         Moved ...
40877         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
40878         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40879         Moved ...
40880         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
40881         ... here.
40882         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
40883         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
40884         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
40885         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
40886         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40887         Moved ...
40888         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
40889         ... here.
40890         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
40891         Moved ...
40892         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
40893         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
40894         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
40895         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
40896         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
40897         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
40898         Moved ...
40899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
40900         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
40901         Moved ...
40902         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
40903         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
40904         Moved ...
40905         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
40906         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
40907         Moved ...
40908         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
40909         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
40910         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
40911         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
40912         Moved ...
40913         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
40914         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
40915         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
40916         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
40917         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
40918         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
40919         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
40920         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
40921         Moved ...
40922         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
40923         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40924         Moved ...
40925         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
40926         ... here.
40927         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
40928         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
40929         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
40930         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
40931         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40932         Moved ...
40933         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
40934         ... here.
40935         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
40936         Moved ...
40937         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
40938         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
40939         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
40940         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
40941         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
40942         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
40943         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
40944         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
40945         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
40946         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
40947         Moved ...
40948         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
40949         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
40950         Moved ...
40951         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
40952         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
40953         Moved ...
40954         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
40955         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
40956         Moved ...
40957         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
40958         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
40959         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
40960         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
40961         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
40962         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
40963         Moved ...
40964         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
40965         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
40966         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
40967         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
40968         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
40969         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
40970         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
40971         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
40972         Moved ...
40973         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
40974         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40975         Moved ...
40976         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
40977         ... here.
40978         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
40979         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
40980         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
40981         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
40982         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40983         Moved ...
40984         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
40985         ... here.
40986         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
40987         Moved ...
40988         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
40989         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
40990         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
40991         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
40992         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
40993         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
40994         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
40995         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
40996         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
40997         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
40998         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41000         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41001         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41003         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41004         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41006         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41007         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41008         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41009         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41010         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41011         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41012         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41013         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41014         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41015         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41016         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41017         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41018         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41019         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41020         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41021         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41022         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41023         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41024         Moved ...
41025         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41026         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41027         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41028         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41029         Moved ...
41030         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41031         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41032         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41033         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41034         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41035         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41036         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41037         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41038         Moved ...
41039         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41040         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41041         Moved ...
41042         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41043         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41044         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41045         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41046         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41047         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41048         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41049         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41050         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41051         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41052         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41053         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41054         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41055         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41056         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41057         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41058         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41060         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41061         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41062         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41063         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41064         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41066         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41067         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41068         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41069         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41070         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41071         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41072         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41073         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41074         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41075         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41077         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41080         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41081         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41082         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41083         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41084         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41085         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41086         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41087         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41088         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41089         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41090         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41091         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41092         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41093         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41094         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41095         Update #include.
41096         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41097         Likewise.
41098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41099         Likewise.
41100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41101         Likewise.
41102         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41103         Likewise.
41104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41105         Likewise.
41106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41107         Likewise.
41108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41109         Likewise.
41110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41111         Likewise.
41112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41113         Likewise.
41114         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41115         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41116         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41117         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41118         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41119         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41120         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41121         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41122         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41123         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41127         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41128         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41130         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41131         that was previously under [RESET_PID].
41132         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41133         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41134         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
41136         * sysdeps/i386/nptl/Implies: New file.
41137         * sysdeps/x86_64/nptl/Implies: New file.
41138         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
41139         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
41140         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
41141         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
41143         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
41144         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41145         (__libc_vfork): New strong alias.
41146         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
41147         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
41149         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
41150         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41151         (__libc_vfork): New strong alias.
41152         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
41153         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
41155         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
41156         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41157         (__libc_vfork): New strong alias.
41158         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
41159         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
41160         * nptl/pt-vfork.c: New file.
41161         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
41162         (libpthread: GLIBC_2.20): New version set (empty).
41164 2014-05-14  Will Newton  <will.newton@linaro.org>
41166         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
41167         rather than #if.
41169 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41171         [BZ #16564]
41172         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
41173         arguments with exponent 65 or above.
41174         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
41175         arguments 0x1p113L or above.
41176         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
41177         to arguments 0x1p107L or above.
41178         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
41179         positive arguments with exponent 65 or above.
41180         * math/auto-libm-test-in: Add more tests of log1p.
41181         * math/auto-libm-test-out: Regenerated.
41183         [BZ #16928]
41184         * math/s_cacos.c (__cacos): Ensure zero real part of result from
41185         non-finite arguments is +0.
41186         * math/s_cacosf.c (__cacosf): Likewise.
41187         * math/s_cacosl.c (__cacosl): Likewise.
41188         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
41189         * sysdeps/i386/fpu/libm-test-ulps: Update.
41190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41192         [BZ #16927]
41193         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
41194         value.
41195         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
41196         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
41197         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
41198         for explicit high bit of mantissa when testing for argument equal
41199         to 1.
41200         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
41201         * sysdeps/i386/fpu/libm-test-ulps: Update.
41202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41204         [BZ #16516]
41205         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
41206         (__erf): Scale by 16 instead of 8 in potentially underflowing
41207         case.  Ensure exception if result actually underflows.
41208         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
41209         (__erff): Scale by 16 instead of 8 in potentially underflowing
41210         case.  Ensure exception if result actually underflows.
41211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
41212         (efx8): Remove variable.
41213         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41214         case.  Ensure exception if result actually underflows.
41215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
41216         (efx8): Remove variable.
41217         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41218         case.  Ensure exception if result actually underflows.
41219         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
41220         (efx8): Remove variable.
41221         (__erfl): Scale by 16 instead of 8 in potentially underflowing
41222         case.  Ensure exception if result actually underflows.
41223         * math/auto-libm-test-in: Add more tests of erf.
41224         * math/auto-libm-test-out: Regenerated.
41226 2014-05-14  Andreas Schwab  <schwab@suse.de>
41228         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
41229         Remove code conditionalized on USE___THREAD.
41231         * config.h.in (HAVE_PT_CHOWN): Define as 0.
41232         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
41233         not definedness.
41235 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
41237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
41238         Define unconditionally.
41239         (__ASSUME_O_CLOEXEC): Likewise.
41240         (__ASSUME_SOCK_CLOEXEC): Likewise.
41241         (__ASSUME_IN_NONBLOCK): Likewise.
41242         (__ASSUME_PIPE2): Likewise.
41243         (__ASSUME_EVENTFD2): Likewise.
41244         (__ASSUME_SIGNALFD4): Likewise.
41245         (__ASSUME_DUP3): Likewise.
41246         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41247         (__ASSUME_DUP3): Do not define.
41248         (__ASSUME_EVENTFD2): Likewise.
41249         (__ASSUME_IN_NONBLOCK): Likewise.
41250         (__ASSUME_O_CLOEXEC): Likewise.
41251         (__ASSUME_PIPE2): Likewise.
41252         (__ASSUME_SIGNALFD4): Likewise.
41253         (__ASSUME_SOCK_CLOEXEC): Likewise.
41254         (__ASSUME_UTIMES): Undefine.
41255         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41256         (__ASSUME_UTIMES): Do not define.
41257         (__ASSUME_O_CLOEXEC): Likewise.
41258         (__ASSUME_SOCK_CLOEXEC): Likewise.
41259         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
41260         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
41261         0x020621].
41262         (__ASSUME_PIPE2): Likewise.
41263         (__ASSUME_EVENTFD2): Likewise.
41264         (__ASSUME_SIGNALFD4): Likewise.
41265         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
41266         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
41267         Do not define.
41268         (__ASSUME_EVENTFD2): Likewise.
41269         (__ASSUME_SIGNALFD4): Likewise.
41270         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41271         (__ASSUME_32BITUIDS): Likewise.
41272         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41273         (__ASSUME_IPC64): Likewise.
41274         (__ASSUME_ST_INO_64_BIT): Likewise.
41275         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
41276         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
41277         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41278         (__ASSUME_UTIMES): Do not define.
41279         (__ASSUME_PSELECT): Likewise.
41280         (__ASSUME_PPOLL): Likewise.
41281         (__ASSUME_O_CLOEXEC): Likewise.
41282         (__ASSUME_SOCK_CLOEXEC): Likewise.
41283         (__ASSUME_IN_NONBLOCK): Likewise.
41284         (__ASSUME_PIPE2): Likewise.
41285         (__ASSUME_EVENTFD2): Likewise.
41286         (__ASSUME_SIGNALFD4): Likewise.
41287         (__ASSUME_DUP3): Likewise.
41288         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41289         (__ASSUME_UTIMES): Likewise.
41290         (__ASSUME_O_CLOEXEC): Likewise.
41291         (__ASSUME_SOCK_CLOEXEC): Likewise.
41292         (__ASSUME_IN_NONBLOCK): Likewise.
41293         (__ASSUME_PIPE2): Likewise.
41294         (__ASSUME_EVENTFD2): Likewise.
41295         (__ASSUME_SIGNALFD4): Likewise.
41296         (__ASSUME_DUP3): Likewise.
41297         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41298         (__ASSUME_UTIMES): Likewise.
41299         (__ASSUME_O_CLOEXEC): Likewise.
41300         (__ASSUME_SOCK_CLOEXEC): Likewise.
41301         (__ASSUME_IN_NONBLOCK): Likewise.
41302         (__ASSUME_PIPE2): Likewise.
41303         (__ASSUME_EVENTFD2): Likewise.
41304         (__ASSUME_SIGNALFD4): Likewise.
41305         (__ASSUME_DUP3): Likewise.
41306         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
41307         Likewise.
41308         (__ASSUME_UTIMES): Likewise.
41309         (__ASSUME_EVENTFD2): Likewise.
41310         (__ASSUME_SIGNALFD4): Likewise.
41311         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41312         (__ASSUME_O_CLOEXEC): Likewise.
41313         (__ASSUME_SOCK_CLOEXEC): Likewise.
41314         (__ASSUME_IN_NONBLOCK): Likewise.
41315         (__ASSUME_PIPE2): Likewise.
41316         (__ASSUME_EVENTFD2): Likewise.
41317         (__ASSUME_SIGNALFD4): Likewise.
41318         (__ASSUME_DUP3): Likewise.
41319         (__ASSUME_UTIMES): Undefine.
41321         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
41322         feclearexcept.  Remove symbol versioning code.
41323         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
41324         symbol versioning code.
41325         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
41326         symbol versioning code.
41327         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
41328         feupdateenv.  Remove symbol versioning code.
41329         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
41330         fegetexceptflag.  Remove symbol versioning code.
41331         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
41332         fesetexceptflag.  Remove symbol versioning code.
41333         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
41334         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
41335         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
41336         (__posix_fadvise64_l32): Remove prototype.
41337         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
41338         code.
41340 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41342         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
41343         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
41344         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
41345         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
41347 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
41349         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
41350         current working directory
41352 2014-05-13  Roland McGrath  <roland@hack.frob.com>
41354         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
41355         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
41356         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
41357         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
41358         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
41359         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
41360         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
41361         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
41362         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
41363         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
41364         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
41365         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
41366         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
41367         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
41368         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
41369         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
41370         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
41371         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
41372         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
41373         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
41374         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
41375         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
41376         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
41377         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
41378         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
41379         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
41380         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
41381         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
41382         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
41383         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
41384         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
41385         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
41386         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
41387         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
41388         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
41389         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
41390         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
41391         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
41392         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
41393         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
41394         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
41395         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
41397         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
41398         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
41400         * sysdeps/unix/sysv/linux/arm/Makefile
41401         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41402         Add rt-aeabi_unwind_cpp_pr1.
41403         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
41404         Add nptl-aeabi_unwind_cpp_pr1.
41405         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
41406         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
41407         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
41408         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41409         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
41410         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41412         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
41413         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
41414         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
41415         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
41417         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
41418         Deconditionalize the code that was previously under [RESET_PID].
41419         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
41421         * sysdeps/generic/exit-thread.h: New file.
41422         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
41423         * include/unistd.h (__exit_thread): Remove declaration.
41424         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
41425         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
41426         * csu/libc-start.c: Include <exit-thread.h>.
41427         (LIBC_START_MAIN): Pass no argument to __exit_thread.
41428         * nptl/pthread_create.c: Include <exit-thread.h>.
41429         (start_thread): Call __exit_thread in place of __exit_thread_inline.
41430         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
41431         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
41432         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
41433         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
41434         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
41435         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
41436         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
41437         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
41438         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
41439         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
41440         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
41441         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
41442         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
41443         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
41444         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
41445         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
41447 2014-05-13  Andreas Schwab  <schwab@suse.de>
41449         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
41451 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
41453         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41454         (__ASSUME_UTIMES): Do not condition on kernel version.
41455         (__ASSUME_PSELECT): Define unconditionally.
41456         (__ASSUME_PPOLL): Likewise.
41457         (__ASSUME_ATFCTS): Likewise.
41458         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
41459         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
41460         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
41461         (__ASSUME_UTIMENSAT): Define unconditionally.
41462         (__ASSUME_PRIVATE_FUTEX): Likewise.
41463         (__ASSUME_FALLOCATE): Likewise.
41464         (__ASSUME_O_CLOEXEC): Likewise.
41465         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
41466         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
41467         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
41468         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
41469         (__ASSUME_IN_NONBLOCK): Likewise.
41470         (__ASSUME_PIPE2): Likewise.
41471         (__ASSUME_EVENTFD2): Likewise.
41472         (__ASSUME_SIGNALFD4): Likewise.
41473         (__ASSUME_DUP3): Likewise.
41474         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41475         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
41476         (__ASSUME_AT_RANDOM): Likewise.
41477         (__ASSUME_PREADV): Likewise.
41478         (__ASSUME_PWRITEV): Likewise.
41479         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
41480         (__ASSUME_F_GETOWN_EX): Define unconditionally.
41481         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
41482         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41483         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
41484         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41485         (__ASSUME_O_CLOEXEC): Define unconditionally.
41486         (__ASSUME_PSELECT): Do not undefine conditionally.
41487         (__ASSUME_PPOLL): Likewise.
41488         (__ASSUME_ATFCTS): Likewise.
41489         (__ASSUME_SET_ROBUST_LIST): Likewise.
41490         (__ASSUME_UTIMENSAT): Likewise.
41491         (__ASSUME_FDATASYNC): Define unconditionally.
41492         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41493         (__ASSUME_SIGFRAME_V2): Likewise.
41494         )__ASSUME_EVENTFD2): Likewise.
41495         (__ASSUME_SIGNALFD4): Likewise.
41496         (__ASSUME_PSELECT): Do not undefine conditionally.
41497         (__ASSUME_PPOLL): Likewise.
41498         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41499         (__ASSUME_PSELECT): Define unconditionally.
41500         (__ASSUME_PPOLL): Likewise.
41501         (__ASSUME_O_CLOEXEC): Likewise.
41502         (__ASSUME_SOCK_CLOEXEC): Likewise.
41503         (__ASSUME_IN_NONBLOCK): Likewise.
41504         (__ASSUME_PIPE2): Likewise.
41505         (__ASSUME_EVENTFD2): Likewise.
41506         (__ASSUME_SIGNALFD4): Likewise.
41507         (__ASSUME_DUP3): Likewise.
41508         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41509         (__ASSUME_O_CLOEXEC): Likewise.
41510         (__ASSUME_SOCK_CLOEXEC): Likewise.
41511         (__ASSUME_IN_NONBLOCK): Likewise.
41512         (__ASSUME_PIPE2): Likewise.
41513         (__ASSUME_EVENTFD2): Likewise.
41514         (__ASSUME_SIGNALFD4): Likewise.
41515         (__ASSUME_DUP3): Likewise.
41516         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41517         (__ASSUME_EVENTFD2): Likewise.
41518         (__ASSUME_SIGNALFD4): Likewise.
41519         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41521 2014-05-12  Andreas Schwab  <schwab@suse.de>
41523         [BZ #16932]
41524         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
41525         (_nss_nis_gethostbyname4_r): Return error if item length is larger
41526         than maximum RPC packet size.
41527         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
41528         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
41529         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
41530         (_nss_nis_getservbyport_r): Likewise.
41532 2014-05-12  Will Newton  <will.newton@linaro.org>
41534         * malloc/Makefile (tests): Add tst-mallopt.
41535         * malloc/tst-mallopt.c: New file.
41537 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41539         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
41540         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
41542 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41544         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
41545         (tst-tlsmod6.so): Likewise.
41547 2014-05-09  Roland McGrath  <roland@hack.frob.com>
41549         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
41551 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
41553         [BZ #16064]
41554         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
41555         and <dl-procinfo.h>.
41556         (__fegetenv): Save SSE state in envp->__eip if supported.
41557         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
41558         envp->__eip if supported.
41559         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
41560         and <dl-procinfo.h>.
41561         (__fesetenv): Always set __eip, __cs_selector, __opcode,
41562         __data_offset and __data_selector in environment to 0.  Set SSE
41563         state if supported.
41564         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
41565         test-fenv-sse.
41566         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
41567         -mfpmath=sse.
41568         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
41570 2014-05-09  Will Newton  <will.newton@linaro.org>
41572         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
41573         and libc_relro_required for ARM.
41574         * sysdeps/arm/preconfigure: Regenerate.
41576 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
41577             Stefan Liebler  <stli@linux.vnet.ibm.com>
41579         * config.make.in (enable-lock-elision): New Makefile variable.
41580         * configure.ac: Likewise.
41581         * configure: Regenerate.
41582         * sysdeps/s390/configure.ac:
41583         Add check for gcc transactions support.
41584         * sysdeps/s390/configure: Regenerate.
41585         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
41586         Build elision files if enabled.
41587         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
41588         Add lock elision support for s390.
41589         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
41590         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
41591         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
41592         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
41593         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
41594         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
41595         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
41596         Likewise.
41597         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
41598         Likewise.
41599         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
41600         Likewise.
41601         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
41602         Likewise.
41603         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
41604         (__lll_timedlock_elision, __lll_lock_elision)
41605         (__lll_unlock_elision, __lll_trylock_elision)
41606         (lll_timedlock_elision, lll_lock_elision)
41607         (lll_unlock_elision, lll_trylock_elision): Add.
41608         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
41609         (pthread_mutex_t): Add lock elision support for s390.
41611 2014-05-14  Wilco  <wdijkstr@arm.com>
41613         * sysdeps/arm/fclrexcpt.c: Cleanup.
41614         * sysdeps/arm/fedisblxcpt.c: Cleanup.
41615         * sysdeps/arm/feenablxcpt.c: Cleanup.
41616         * sysdeps/arm/fegetenv.c: Cleanup.
41617         * sysdeps/arm/fegetexcept.c: Cleanup.
41618         * sysdeps/arm/fegetround.c: Cleanup.
41619         * sysdeps/arm/feholdexcpt.c: Cleanup.
41620         * sysdeps/arm/fesetenv.c: Cleanup.
41621         * sysdeps/arm/fesetround.c: Cleanup.
41622         * sysdeps/arm/feupdateenv.c: Cleanup.
41623         * sysdeps/arm/fgetexcptflg.c: Cleanup.
41624         * sysdeps/arm/fraiseexcpt.c: Cleanup.
41625         * sysdeps/arm/fsetexcptflg.c: Cleanup.
41626         * sysdeps/arm/ftestexcept.c: Cleanup.
41627         * sysdeps/arm/get-rounding-mode.h: Cleanup.
41628         * sysdeps/arm/setfpucw.c: Cleanup.
41630 2014-05-09  Will Newton  <will.newton@linaro.org>
41632         * sysdeps/arm/armv7/strcmp.S: New file.
41633         * NEWS: Mention addition of ARMv7 optimized strcmp.
41635 2014-05-08  Roland McGrath  <roland@hack.frob.com>
41637         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
41638         look for %.ac rather than %.in.
41640         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
41641         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
41642         * sysdeps/mach/hurd/configure: Regenerated.
41643         * sysdeps/unix/sysv/linux/configure: Regenerated.
41645         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
41647 2014-05-07  Steve Ellcey  <sellcey@mips.com>
41649         [BZ# 16922]
41650         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
41651         (LONG_SUB): Ditto.
41652         (PTR_SUB): Ditto.
41654 2014-05-07  Andreas Schwab  <schwab@suse.de>
41656         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
41657         when skipping over non-matching result from nscd.
41659 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
41661         [BZ #16876]
41662         * nptl/sockperf.c (client): Check socket return value.
41664         [BZ #16877]
41665         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
41666         nscd security class.
41668 2014-05-06  Roland McGrath  <roland@hack.frob.com>
41670         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
41671         * sysdeps/arm/unwind.h: ... here.
41673 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
41675         [BZ# 16916]
41676         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
41677         Define.
41679 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41681         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
41682         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
41683         multiarch strncpy for PPC64.
41684         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
41685         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
41686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
41687         multiarch optimizations.
41688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41689         (__libc_ifunc_impl_list): Likewise.
41690         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
41691         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
41692         multiarch stpncpy for PPC64.
41693         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
41694         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
41696 2014-05-06  Andreas Schwab  <schwab@suse.de>
41698         [BZ #16912]
41699         * gmon/mcount.c (_MCOUNT_DECL): Use
41700         atomic_compare_and_exchange_bool_acq instead of
41701         catomic_compare_and_exchange_bool_acq.
41703 2014-05-05  Roland McGrath  <roland@hack.frob.com>
41705         * elf/Makefile (others, install-bin): Remove pldd.
41706         (pldd-modules): Variable removed.
41707         ($(objpfx)pldd): Target removed.
41708         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
41709         (others, install-bin): Append pldd here.
41710         ($(objpfx)pldd): New target.
41712         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
41713         to 0, so the first #if test emitted later doesn't see it undefined.
41714         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
41715         * sysdeps/gnu/errlist.c: Regenerated.
41717 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41719         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41720         [libc_hidden_builtin_def]: Define to empty value.
41721         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
41722         [libc_hidden_builtin_def]: Likewise.
41723         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
41724         [libc_hidden_builtin_def]: Likewise.
41725         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
41726         [libc_hidden_builtin_def]: Likewise.
41727         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
41728         __redirect_memcpy and define ifunc as default hidden symbol.
41729         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
41730         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
41732 2014-05-04  Adam Conrad  <adconrad@0c3.net>
41734         * locale/iso-4217.def: Reintroduce XDR currency.
41736 2014-05-04  Allan McRae  <allan@archlinux.org>
41738         * po/eo.po: Update Esperanto translation from translation project.
41740 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
41742         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
41743         and FEATURE_INDEX_MAX to 1.
41744         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
41746 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41748         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
41749         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
41750         * iconvdata/big5.c (ONE_DIRECTION): Define.
41751         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
41752         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
41753         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
41754         * iconvdata/cp932.c (ONE_DIRECTION): Define.
41755         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
41756         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
41757         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
41758         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
41759         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
41760         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
41761         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
41762         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
41763         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
41764         * iconvdata/gbk.c (ONE_DIRECTION): Define.
41765         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
41766         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
41767         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
41768         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
41769         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
41770         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
41771         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
41772         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
41773         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
41774         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
41775         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
41776         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
41777         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
41778         * iconvdata/iso646.c (ONE_DIRECTION): Define.
41779         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
41780         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
41781         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
41782         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
41783         * iconvdata/johab.c (ONE_DIRECTION): Define.
41784         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
41785         * iconvdata/sjis.c (ONE_DIRECTION): Define.
41786         * iconvdata/t.61.c (ONE_DIRECTION): Define.
41787         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
41788         * iconvdata/tscii.c (ONE_DIRECTION): Define.
41789         * iconvdata/uhc.c (ONE_DIRECTION): Define.
41790         * iconvdata/unicode.c (ONE_DIRECTION): Define.
41791         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
41792         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
41793         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
41795 2014-05-01  Roland McGrath  <roland@hack.frob.com>
41797         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
41798         (_IO_JUMPS_OFFSET): Define to 0.
41800         * nptl/sysdeps/pthread/bits/libc-lock.h
41801         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
41802         (__libc_lock_define_initialized_recursive): Always define using
41803         initializer.  Modern compilers treat uninitialized (implicit zero) and
41804         explicit zero initializers the same (i.e. put the datum in bss).
41806 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41808         * nscd/nscd-client.h: Include <string.h>.
41810 2014-05-01  David S. Miller  <davem@davemloft.net>
41812         [BZ #16885]
41813         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
41814         multiple zero bytes exist at the end of a string.
41815         Reported by Aurelien Jarno <aurelien@aurel32.net>
41817         * string/test-strcmp.c (check): Add explicit test for situations where
41818         there are multiple zero bytes after the first.
41820 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41822         [BZ #16890]
41823         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
41824         when compiling wprintf.
41825         * stdio-common/tstdiomisc.c (t3): New function.
41826         (main): Call it.
41828 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41830         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
41831         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
41832         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
41833         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
41835 2014-05-01  Steve Ellcey  <sellcey@mips.com>
41837         * stdlib/longlong.h: Updated from GCC.
41839 2014-05-01  Will Newton  <will.newton@linaro.org>
41840             Bernard Ogden  <bernie.ogden@linaro.org>
41842         * NEWS: Update fixed bug list.
41844         [BZ #15119]
41845         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
41847 2014-04-30  David S. Miller  <davem@davemloft.net>
41849         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
41850         (libc_feholdexcept_setround_sparc_ctx): New function.
41851         (libc_fesetenv_sparc_ctx): Likewise.
41852         (libc_feupdateenv_sparc_ctx): Likewise.
41853         (libc_feholdsetround_sparc_ctx): Likewise.
41854         (libc_feholdexcept_setround_ctx): Define.
41855         (libc_feholdexcept_setroundf_ctx): Likewise.
41856         (libc_feholdexcept_setroundl_ctx): Likewise.
41857         (libc_fesetenv_ctx): Likewise.
41858         (libc_fesetenvf_ctx): Likewise.
41859         (libc_fesetenvl_ctx): Likewise.
41860         (libc_feupdateenv_ctx): Likewise.
41861         (libc_feupdateenvf_ctx): Likewise.
41862         (libc_feupdateenvl_ctx): Likewise.
41863         (libc_feresetround_ctx): Likewise.
41864         (libc_feresetroundf_ctx): Likewise.
41865         (libc_feresetroundl_ctx): Likewise.
41866         (libc_feholdsetround_ctx): Likewise.
41867         (libc_feholdsetroundf_ctx): Likewise.
41868         (libc_feholdsetroundl_ctx): Likewise.
41870         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41871         with __USE_GNU instead of XOPEN cpp guards.
41873         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
41874         0.
41876         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
41877         with XOPEN cpp guards.
41879 2014-04-30  Julian Brown  <julian@codesourcery.com>
41881         [BZ #16888]
41882         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
41883         handling.
41885 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
41887         [BZ #9894]
41888         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
41889         Change to 2.6.32.
41890         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
41891         * sysdeps/unix/sysv/linux/configure: Regenerated.
41892         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
41893         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
41894         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
41895         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
41896         * README: Update reference to required Linux kernel version.
41897         * manual/install.texi (Linux): Update reference to required Linux
41898         kernel headers version.
41899         * INSTALL: Regenerated.
41901         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
41902         header inclusion.
41903         [POSIX] (limits.h): Likewise.
41904         [POSIX] (math.h): Likewise.
41905         [POSIX] (sys/wait.h): Likewise.
41906         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
41907         function.
41908         [POSIX] (stddef.h): Do not allow header inclusion.
41910 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41912         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
41914 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
41916         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
41917         Return immediately after lll_futex_wake.
41919 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41921         [BZ #16791]
41922         * nscd/nscd-client.h (datahead_init_common): Initialize entire
41923         structure.
41924         (datahead_init_pos): Call datahead_init_common early.
41925         (datahead_init_neg): Likewise.
41927         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
41928         datahead_init_neg): New functions.
41929         * nscd/aicache.c (addhstaiX): Use them.
41930         * nscd/grpcache.c (cache_addgr): Likewise.
41931         * nscd/hstcache.c (cache_addhst): Likewise.
41932         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41933         * nscd/netgroupcache.c (do_notfound): Likewise.
41934         (addgetnetgrentX): Likewise.
41935         (addinnetgrX): Likewise.
41936         * nscd/pwdcache.c (cache_addpw): Likewise.
41937         * nscd/servicescache.c (cache_addserv): Likewise.
41939 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41940             Atsushi Onoe  <atsushi@onoe.org>
41942         [BZ #14308]
41943         [BZ #12994]
41944         [BZ #13651]
41945         * resolv/res_query.c (__libc_res_nsearch): Return if at least
41946         one response is valid.
41947         * resolv/res_send.c (send_dg): Check for validity of other
41948         response if the current response is a referral.
41950 2014-04-29  Steve Ellcey  <sellcey@mips.com>
41952         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
41954 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
41956         [BZ #16823]
41957         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
41958         Always divide by positive zero when computing -Inf result.
41959         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
41960         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
41962 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41964         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
41965         FPSCR if value do not change.
41966         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41967         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
41968         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41969         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
41970         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
41971         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
41972         function.
41974 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
41976         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
41977         * sysdeps/unix/sysv/linux/hppa: Move directory from
41978         ports/systeps/unix/sysv/linux/hppa.
41979         * README: Update listing for hppa-*-linux-gnu.
41981 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
41983         [BZ #16754]
41984         * manual/stdio.texi (Hook functions): Fix types of stream hook
41985         functions.
41986         [BZ #16854]
41987         * socket/sys/socket.h: Fix typo in comment.
41989 2014-04-28  Wilco  <wdijkstr@arm.com>
41991         * sysdeps/arm/fenv_private.h: New file.
41992         * sysdeps/arm/math_private.h: New file.
41993         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
41995 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
41997         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
41998         with __int128_t.
41999         (La_x86_64_retval): Likewise.
42001 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42003         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42004         fpsr if value didn't change.
42005         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42006         to fpcr if value didn't change.
42007         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42008         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42009         fpsr or fpcr if value didn't change.
42010         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42011         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42012         fpcr if value didn't change.
42013         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42014         to fpsr if value didn't change.
42016 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42018         * nptl/tst-sem3.c: Use test-skeleton.c
42019         (main): Rename to do_test.  Use return instead of
42020         exit.
42021         * nptl/tst-sem4.c: Use test-skeleton.c
42022         (main): Rename to do_test.
42024 2014-04-22  David S. Miller  <davem@davemloft.net>
42026         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42027         (struct sigaction): New struct member __glibc_reserved0, change
42028         type of sa_flags to int.
42030 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42032         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42033         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42035 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42037         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42038         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42040 2014-04-22  Will Newton  <will.newton@linaro.org>
42041             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42043         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42044         (__longjmp): Add longjmp and longjmp_target SystemTap
42045         probes.
42046         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42047         (__sigsetjmp): Add setjmp SystemTap probe.
42049 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42051         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42052         match manual order.
42054 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42056         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42058         * sysdeps/powerpc/fpu/fenv_private.h
42059         (libc_feholdexcept_setroundl_ctx): Define to
42060         libc_feholdexcept_setround_ppc_ctx.
42061         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42062         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42063         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42064         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42066 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42068         * sysdeps/aarch64/math-tests.h: New file.
42070 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42072         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42073         New.
42074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42075         Check and set bit_AVX2_Usable.
42076         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42077         macro.
42078         (bit_AVX2): Likewise.
42079         (index_AVX2_Usable): Likewise.
42080         (CPUID_AVX2): Likewise.
42081         (HAS_AVX2): Likewise.
42083 2014-04-17  Will Newton  <will.newton@linaro.org>
42085         * manual/setjmp.texi (System V contexts): Add note that
42086         calling setcontext on a context created by a call to a
42087         signal handler is undefined.  Update text to note that
42088         setcontext from a signal handler is possible but not
42089         recommended.
42091         [BZ #16629]
42092         * stdlib/tst-setcontext.c: Include signal.h.
42093         (main): Check that the signal stack before and
42094         after swapcontext is the same.
42096         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42097         Re-implement to restore registers in user code and avoid
42098         rt_sigreturn system call.
42100 2014-04-17  Wilco  <wdijkstr@arm.com>
42102         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42103         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42104         * math/test-fenv.c: Skip exception trap tests on targets which only
42105         support non-stop mode.
42107 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42108             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42110         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42111         (libc_feholdsetround_aarch64_ctx)
42112         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42113         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42114         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42115         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42116         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42117         (libc_feresetround_noexl_ctx): Define.
42119 2014-04-16  Richard Henderson  <rth@redhat.com>
42121         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42123         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42124         unwind tables.
42126         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42127         const from the non-libc, non-ldso copy.
42129         * sysdeps/alpha/libm-test-ulps: Regenerate.
42131 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42132             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42134         * sysdeps/aarch64/fpu/math_private.h: New file.
42136 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42138         * sysdeps/aarch64/libm-test-ulps: Regenerate.
42140 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
42142         [BZ #16275]
42143         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
42144         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
42145         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
42146         Intel MPX bound registers before _dl_profile_fixup.
42147         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
42148         registers after _dl_profile_fixup.  Save and restore bound
42149         registers bnd0/bnd1 when calling _dl_call_pltexit.
42150         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
42151         (LR_BND_OFFSET): Likewise.
42152         (LRV_BND0_OFFSET): Likewise.
42153         (LRV_BND1_OFFSET): Likewise.
42155 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42157         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
42158         to...
42159         * sysdeps/mach/hurd/i386/tls.h: ... here.
42160         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
42161         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
42162         fields.
42164 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42166         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
42168 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42170         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42172 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
42174         [BZ #14770]
42175         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
42176         * sysdeps/s390/configure: Regenerate.
42178         [BZ #16824]
42179         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
42180         Set round-to-nearest internally to reduce error accumulation.
42182 2014-04-16  Alan Modra  <amodra@gmail.com>
42184         [BZ #16740]
42185         [BZ #16619]
42186         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
42187         * math/libm-test.inc (frexp_test_data): Add tests.
42188         * NEWS: Update fixed bug list.
42190 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
42192         * benchtests/Makefile: Depend on libraries in build directory.
42193         (bench-math): Separate out math tests.
42194         (bench-pthread): Separate out pthread tests.
42195         (bench): Include math and pthread tests.
42197 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
42199         [BZ #16831]
42200         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
42201         _dl_debug_initialize.
42203         * configure.ac: Remove SELinux header check.
42204         * configure: Regenerate.
42205         * nscd/selinux.c (perms): Array of const char* to permission names.
42206         (nscd_request_avc_has_perm): Call security_deny_unknown to find
42207         default policy. Call string_to_security_class and string_to_av_perm to
42208         translate strings. Enforce default policy and call avs_has_perm with
42209         results of translated strings.
42211 2014-04-13  David S. Miller  <davem@davemloft.net>
42213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42215 2014-04-12  Allan McRae  <allan@archlinux.org>
42217         [BZ #16838]
42218         * manual/string.texi (Collation Functions): Fix qsort argument
42219         order in example.
42220         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42222 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
42224         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
42225         Make the test a no-op if there are no exceptions defined.
42227 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
42229         * elf/Makefile (tests): make tst-dlopen-aout conditional on
42230         enable-hardcoded-path-in-tests
42232 2014-04-11  Will Newton  <will.newton@linaro.org>
42234         * benchtests/Makefile (extra-objs): Add json-lib.o.
42235         (bench-func): Tidy up JSON output.
42236         * benchtests/bench-skeleton.c: Include json-lib.h.
42237         (main): Use JSON library functions to do output of
42238         benchmark results.
42239         * benchtests/bench-timing-type.c (main): Output the
42240         timing type simply, leaving formatting to the user.
42241         * benchtests/json-lib.c: New file.
42242         * benchtests/json-lib.h: Likewise.
42244 2014-04-11  Torvald Riegel  <triegel@redhat.com>
42246         [BZ #15215]
42247         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
42248         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
42249         memory barriers.  Add comments.
42250         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
42251         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42252         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
42253         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
42254         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
42255         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42257 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42259         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
42260         * sysdeps/s390/s390-64/configure.ac: ... this ...
42261         * sysdeps/s390/configure.ac: ... to here.
42262         * sysdeps/s390/s390-32/configure: Delete file.
42263         * sysdeps/s390/s390-64/configure: Delete file.
42264         * sysdeps/s390/configure: Regenerate.
42266 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
42268         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
42270 2014-04-11  Will Newton  <will.newton@linaro.org>
42272         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42273         to zero if it is not defined elsewhere.  (mtrim): Test
42274         the value of MALLOC_DEBUG with #if rather than #ifdef.
42276 2014-04-10 Torvald Riegel  <triegel@redhat.com>
42278         * benchtests/pthread_once-inputs: New file.
42279         * benchtests/pthread_once-source.c: New file.
42280         * benchtests/README: Update documentation.
42282 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
42283             H.J. Lu  <hongjiu.lu@intel.com>
42285         [BZ #16275]
42286         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
42287         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
42288         * sysdeps/x86_64/configure: Regenerated.
42289         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
42290         macro.
42291         (REGISTER_SAVE_RAX): Likewise.
42292         (REGISTER_SAVE_RCX): Likewise.
42293         (REGISTER_SAVE_RDX): Likewise.
42294         (REGISTER_SAVE_RSI): Likewise.
42295         (REGISTER_SAVE_RDI): Likewise.
42296         (REGISTER_SAVE_R8): Likewise.
42297         (REGISTER_SAVE_R9): Likewise.
42298         (REGISTER_SAVE_BND0): Likewise.
42299         (REGISTER_SAVE_BND1): Likewise.
42300         (REGISTER_SAVE_BND2): Likewise.
42301         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
42302         bound registers when calling _dl_fixup.
42304 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42306         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
42307         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
42308         of its definition.
42309         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
42310         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
42311         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
42312         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
42313         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
42314         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
42315         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
42317 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
42319         [BZ #15514]
42320         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
42321         pathconf(_PC_NAME_MAX).
42323 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42325         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
42326         Remove macro usage.
42327         (__PTHREAD_SPINS): Move definition to ...
42328         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42329         (__PTHREAD_SPINS): ... here.
42330         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42331         (__PTHREAD_SPIN): Likewise.
42332         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
42333         (__PTHREAD_SPIN): Likewise.
42334         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
42335         (__PTHREAD_SPIN): Likewise.
42336         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
42337         (__PTHREAD_SPIN): Likewise.
42338         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42339         (__PTHREAD_SPIN): Likewise.
42340         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42341         (__PTHREAD_SPIN): Likewise.
42342         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
42343         (__PTHREAD_SPIN): Likewise.
42344         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42345         (__PTHREAD_SPIN): Likewise.
42346         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42347         (__PTHREAD_SPIN): Likewise.
42348         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42349         (__PTHREAD_SPIN): Likewise.
42350         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42351         (__PTHREAD_SPIN): Likewise.
42352         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
42353         (__PTHREAD_SPIN): Likewise.
42355         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
42356         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
42357         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
42358         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
42359         imply folder.
42360         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
42361         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
42362         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
42363         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
42364         correct imply path.
42365         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
42366         strlen symbol for non multi-arch builds.
42367         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
42368         missing hidden_def and weak_alias.
42370 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
42372         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
42374 2014-04-07  Will Newton  <will.newton@linaro.org>
42376         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
42377         and contents.  [!_LIBC] Remove #ifndef and contents.
42378         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
42379         * string/memccpy.c (__memccpy): Use ANSI prototype.
42380         * string/memfrob.c (memfrob): Likewise.
42381         * string/strcoll.c (STRCOLL): Likewise.
42382         * string/strlen.c (strlen): Likewise.
42383         * string/strtok.c (STRTOK): Likewise.
42384         * string/strcat.c: Remove unused #include of memcopy.h.
42385         (strcat): Use ANSI prototype.
42386         * string/strchr.c: Remove unused #include of memcopy.h.
42387         (strchr): Use ANSI prototype.
42388         * string/strcmp.c: Remove unused #include of memcopy.h.
42389         (strcmp): Use ANSI prototype.
42390         * string/strcpy.c: Remove unused #include of memcopy.h.
42391         (strcpy): Use ANSI prototype.
42393 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42395         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
42396         * config.make.in (config-extra-cppflags): Set it from
42397         libc_extra_cppflags.
42398         * configure.ac (libc_extra_cflags): Make it accumulate over
42399         configure fragments.
42400         (libc_extra_cppflags): New flag.
42401         * configure. Regenerate.
42402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
42403         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
42404         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
42405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
42407         [BZ #16815]
42408         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
42409         result for FE_DOWNWARD rounding mode.
42410         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
42411         Likewise.
42412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42414 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
42416         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
42417         in function argument name.
42419 2014-04-03  David Svoboda  <svoboda@cert.org>
42421         [BZ #5666]
42422         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
42423         explicitly.
42425 2014-04-03  Roland McGrath  <roland@hack.frob.com>
42427         * elf/dl-unmap-segments.h: New file.
42428         * sysdeps/generic/ldsodefs.h
42429         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
42430         * elf/dl-close.c: Include <dl-unmap-segments.h>.
42431         * elf/dl-fptr.c: Likewise.
42432         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
42433         * sysdeps/aarch64/tlsdesc.c: Likewise.
42434         * sysdeps/arm/tlsdesc.c: Likewise.
42435         * sysdeps/i386/tlsdesc.c: Likewise.
42436         * sysdeps/tile/dl-runtime.c: Likewise.
42437         * sysdeps/x86_64/tlsdesc.c: Likewise.
42438         * elf/dl-load.h: New file.
42439         * elf/dl-load.c: Include it.
42440         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
42441         Macros moved to dl-load.h.
42442         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
42443         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
42444         Use _dl_unmap_segments in place of __munmap.
42445         Break out segment-mapping loop into ...
42446         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
42448 2014-04-03  Will Newton  <will.newton@linaro.org>
42450         * elf/dl-lookup.c (do_lookup_x): Remove comment
42451         referring to nested function and move variable
42452         declarations down to before first use.
42454 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
42456         [BZ #16799]
42457         [BZ #16800]
42458         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
42459         with 0 numerator.
42460         * math/s_catanf.c (__catanf): Likewise.
42461         * math/s_catanh.c (__catanh): Likewise.
42462         * math/s_catanhf.c (__catanhf): Likewise.
42463         * math/s_catanhl.c (__catanhl): Likewise.
42464         * math/s_catanl.c (__catanl): Likewise.
42465         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
42466         by positive zero when computing -Inf result.
42467         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
42468         (catanh_test): Likewise.
42469         * sysdeps/i386/fpu/libm-test-ulps: Update.
42470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42472         [BZ #16789]
42473         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
42474         instead of using underflowing value in computing result.
42475         * math/s_clog10.c (__clog10): Likewise.
42476         * math/s_clog10f.c (__clog10f): Likewise.
42477         * math/s_clog10l.c (__clog10l): Likewise.
42478         * math/s_clogf.c (__clogf): Likewise.
42479         * math/s_clogl.c (__clogl): Likewise.
42480         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
42481         (clog10_test): Likewise.
42482         * sysdeps/i386/fpu/libm-test-ulps: Update.
42483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42485 2014-04-02  Alan Modra  <amodra@gmail.com>
42487         [BZ #16739]
42488         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
42489         output when value is near a power of two.  Use int64_t for lx and
42490         remove casts.  Use decimal rather than hex exponent constants.
42491         Don't use long double multiplication when double will suffice.
42492         * math/libm-test.inc (nextafter_test_data): Add tests.
42493         * NEWS: Add 16739 and 16786 to bug list.
42495         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
42497         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
42499 2014-04-01  Will Newton  <will.newton@linaro.org>
42501         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
42502         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
42504 2014-04-01  Florian Weimer  <fweimer@redhat.com>
42506         [BZ #13347]
42507         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
42508         * nptl/tst-setuid2.c: New file.
42509         * nptl/Makefile (xtests): Add tst-setuid2.
42511 2014-04-01  Alan Modra  <amodra@gmail.com>
42513         [BZ #16786]
42514         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
42516 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42518         [BZ #6803]
42519         [BZ #6804]
42520         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
42521         set errno as appropriate.
42522         * math/w_scalbf.c (__scalbf): Likewise.
42523         * math/w_scalbl.c (__scalbl): Likewise.
42524         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
42525         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
42526         * math/libm-test.inc (scalb_test_data): Add errno expectations.
42527         Add more NaN tests.
42529         [BZ #16349]
42530         * math/w_atan2.c: Include <errno.h>.
42531         (__atan2): Set errno for result underflowing to zero.
42532         * math/w_atan2f.c: Include <errno.h>.
42533         (__atan2f): Set errno for result underflowing to zero.
42534         * math/w_atan2l.c: Include <errno.h>.
42535         (__atan2l): Set errno for result underflowing to zero.
42536         * math/auto-libm-test-in: Don't allow missing errno for some atan2
42537         tests.
42538         * math/auto-libm-test-out: Regenerated.
42540 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42542         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
42543         Encode instruction correctly in little endian.
42544         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
42545         Likewise.
42546         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
42547         Likewise.
42548         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
42549         Likewise.
42550         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
42551         Likewise.
42553 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
42555         [BZ #9894]
42556         * sysdeps/unix/sysv/linux/kernel-features.h
42557         [__sparc__ && !__arch64__ && !__sparc_v9__]
42558         (__ASSUME_SET_ROBUST_LIST): Do not define.
42559         [__sparc__ && !__arch64__ && !__sparc_v9__]
42560         (__ASSUME_FUTEX_LOCK_PI): Likewise.
42561         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
42562         Likewise.
42563         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42564         (__ASSUME_FUTEX_LOCK_PI): Undefine.
42565         (__ASSUME_REQUEUE_PI): Likewise.
42566         (__ASSUME_SET_ROBUST_LIST): Likewise.
42567         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42568         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
42569         Undefine.
42570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42571         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
42572         Likewise.
42573         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
42574         Likewise.
42575         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
42576         Likewise.
42577         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42578         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
42579         Undefine.
42580         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
42581         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
42582         Likewise.
42584         [BZ #16648]
42585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42586         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
42587         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
42589 2014-03-31  Will Newton  <will.newton@linaro.org>
42591         * benchtests/Makefile (bench): Add ffs and ffsll to list
42592         of tests.
42593         * benchtests/ffs-inputs: New file.
42594         * benchtests/ffsll-inputs: Likewise.
42596 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
42598         [BZ #16770]
42599         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
42600         too large before casting to int.
42601         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
42602         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
42603         * math/libm-test.inc (scalb_test_data): Add more tests.
42605 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42607         * benchtests/Makefile (DETAILED_OPT): New make option.
42608         (bench-func): Run benchmark program with -d if DETAILED_OPT is
42609         set.
42610         * benchtests/bench-skeleton.c: Include stdbool.h.
42611         (main): Store and print timings per input.
42612         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
42613         member to each argument value.
42614         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
42615         (_print_arg_data): Initialize per-input timing to 0.
42617         * benchtests/Makefile (timing-type): New binary.
42618         (bench-clean): Also remove bench-timing-type.
42619         (bench): New target for timing-type.
42620         (bench-func): Print output in JSON format.
42621         * benchtests/bench-skeleton.c (main): Print output in JSON
42622         format.
42623         * benchtests/bench-timing-type.c: New file.
42624         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
42625         (TIMING_PRINT_STATS): Remove.
42626         * benchtests/scripts/bench.py (_print_arg_data): Store variant
42627         name separately.
42629         * benchtests/bench-modf.c: Remove.
42630         * benchtests/modf-inputs: New inputs file.
42632 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
42634         [BZ #16362]
42635         * math/s_clog10.c (M_PI_LOG10E): New macro.
42636         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
42637         imaginary parts are 0.
42638         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
42639         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
42640         imaginary parts are 0.
42641         * math/s_clog10l.c (M_PI_LOG10El): New macro.
42642         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
42643         imaginary parts are 0.
42644         * math/libm-test.inc (clog10_test_data): Update expected results
42645         for when real and imaginary parts are 0.
42647 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
42649         * elf/dl-load.c: Finish conversion of __builtin_expect into
42650         __glibc_{un}likely.
42652 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
42654         [BZ #16348]
42655         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
42656         1+x for argument with exponent below -67.
42657         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
42658         Likewise.
42659         * math/auto-libm-test-in: Add more tests of exp.
42660         * math/auto-libm-test-out: Regenerated.
42662 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42664         [BZ #16759]
42665         * inet/getnetgrent_r.c (get_nonempty_val): New function.
42666         (nscd_getnetgrent): Use it.
42668         [BZ #16760]
42669         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
42670         of stpcpy.
42672 2014-03-27  Andi Kleen  <ak@linux.intel.com>
42674         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
42675         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42676         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42677         (lll_robust_unlock): Remove out of line section. Use cfi
42678         intrinsics.
42679         (LLL_STUB_UNWIND_INFO*): Remove.
42680         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
42681         (lll_robust_lock, lll_cond_lock, lll_timedlock)
42682         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
42683         (lll_robust_unlock): Remove out of line section. Use cfi
42684         intrinsics.
42685         (LLL_STUB_UNWIND_INFO*): Remove.
42687 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42689         [BZ #16758]
42690         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
42691         blank values.
42693 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
42695         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
42697 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
42699         [BZ #16198]
42700         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
42701         fnstenv.
42702         * math/test-fenv-preserve.c: New file.
42703         * math/Makefile (tests): Add test-fenv-preserve.
42705 2014-03-26  Will Newton <will.newton@linaro.org>
42707         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
42709 2014-03-25  Roland McGrath  <roland@hack.frob.com>
42711         * scripts/versionlist.awk: Partition the version sets and emit all
42712         GLIBC_* (sorted) before all others (sorted).
42714 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42716         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
42717         GLIBC_2.2.5 version.
42719 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42721         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
42722         calls.
42724         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
42725         previous change.
42727         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42729 2014-03-25  Andreas Schwab  <schwab@suse.de>
42731         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
42732         label to be used after in6ailist is initialized.
42734 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42736         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
42737         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42739 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
42741         [BZ #16357]
42742         [BZ #16599]
42743         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
42744         min_plus_half.
42745         (fp_formats): Update initializers.
42746         (init_fp_formats): Initialize new field.
42747         (output_for_one_input_case): Allow underflow for results up to
42748         min_plus_half.
42749         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
42750         * math/auto-libm-test-in: Don't mark some underflows from asin and
42751         atanh as spurious.
42752         * math/auto-libm-test-out: Regenerated.
42753         * sysdeps/i386/fpu/libm-test-ulps: Update.
42754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42756 2014-03-25  Andreas Schwab  <schwab@suse.de>
42758         * libio/Makefile (tst-ftell-partial-wide-ENV)
42759         (tst-ftell-active-handler-ENV): Define.
42761 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
42763         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
42765 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42767         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
42769 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42771         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
42772         * sysdeps/x86_64/fpu/multiarch/e_exp.c
42773         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
42775 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
42777         [BZ #16634]
42778         * elf/dl-load.c (open_verify): Add mode parameter.
42779         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
42780         (open_path): Change from boolean 'secure' to complete flag 'mode'
42781         (_dl_map_object): Adjust.
42782         * elf/Makefile (tests): Add tst-dlopen-aout.
42783         * elf/tst-dlopen-aout.c: New test.
42785 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
42787         [BZ #16714]
42788         * sysdeps/unix/sysv/linux/s390/bits/stat.h
42789         (struct stat): Rename member pad0 to __glibc_reserved0.
42791         [BZ #16712]
42792         * sysdeps/s390/s390-32/bits/wordsize.h
42793         (__WORDSIZE32_SIZE_ULONG): New define.
42794         * sysdeps/s390/s390-64/bits/wordsize.h
42795         (__WORDSIZE32_SIZE_ULONG): Likewise.
42796         * sysdeps/generic/stdint.h (SIZE_MAX):
42797         Define as UL if __WORDSIZE32_SIZE_ULONG.
42799         [BZ #16713]
42800         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
42801         (__glibc_reserved0): New variable.
42802         (sa_flags): Change type to int.
42804         * posix/Makefile (before-compile): Use += before-compile instead
42805         of a :=.
42807         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42808         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
42810 2014-03-20  Andreas Schwab  <schwab@suse.de>
42812         [BZ #16743]
42813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
42814         non-matching result from nscd.
42816 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42818         * scripts/bench.py: Moved to ...
42819         * benchtests/scripts/bench.py: ... here.
42820         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
42822 2014-03-24  Andreas Schwab  <schwab@suse.de>
42824         [BZ #16002]
42825         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
42826         alloca_account and account alloca use for struct in6ailist.
42828 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
42830         [BZ #16284]
42831         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
42832         rounding mode to recompute results that overflow to infinity or
42833         underflow to zero.
42834         * math/auto-libm-test-in: Don't mark tests as expected to fail for
42835         bug 16284.
42836         * math/auto-libm-test-out: Regenerated.
42837         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
42838         (ccosh_test): Likewise.
42839         (csin_test_data): Use plus_oflow.
42840         (csin_test): Use ALL_RM_TEST.
42841         (csinh_test_data): Use plus_oflow.
42842         (csinh_test): Use ALL_RM_TEST.
42843         * sysdeps/i386/fpu/libm-test-ulps: Update.
42844         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42846 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
42848         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
42849         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
42850         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
42852         [BZ #16731]
42853         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
42854         when x - 1 is zero.
42855         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
42856         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
42857         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42858         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
42859         argument is 1.
42860         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
42861         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
42862         zero.
42863         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
42864         * sysdeps/i386/fpu/libm-test-ulps: Update.
42865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42867 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
42869         * scripts/bench.pl: Remove file.
42870         * scripts/bench.py: New benchmark script.
42871         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
42872         * benchtests/README: Mention python dependency.
42873         * scripts/pylintrc: New file.
42874         * scripts/pylint: New file.
42876         * bits/mathdef.h: Use #ifdef instead of #if.
42877         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
42878         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42879         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
42880         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42881         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
42882         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
42884 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42885             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42887         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
42888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
42889         and strpbrk-ppc64 objects.
42890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42891         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
42892         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
42893         multiarch strpbrk for POWER7.
42894         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
42895         multiarch strpbrk for PPC64.
42896         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
42897         ifunc selector.
42898         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
42899         strpbrk for POWER7.
42901 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42903         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
42904         (atan_test): Likewise.
42905         (atanh_test_data): Use NO_TEST_INLINE for two tests.
42906         (atanh_test): Use ALL_RM_TEST.
42907         (atan2_test_data): Likewise.
42908         (cabs_test): Likewise.
42909         (cacosh_test): Likewise.
42910         (carg_test): Likewise.
42911         (casin_test): Likewise.
42912         (casinh_test): Likewise.
42913         (cbrt_test): Likewise.
42914         (csqrt_test): Likewise.
42915         (erf_test): Likewise.
42916         (erfc_test): Likewise.
42917         (pow10_test): Likewise.
42918         (exp2_test): Likewise.
42919         (hypot_test): Likewise.
42920         (j0_test): Likewise.
42921         (j1_test): Likewise.
42922         (lgamma_test): Likewise.
42923         (gamma_test): Likewise.
42924         (sincos_test): Likewise.
42925         (tanh_test): Likewise.
42926         (y0_test): Likewise.
42927         (y1_test): Likewise.
42928         * sysdeps/i386/fpu/libm-test-ulps: Update.
42929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42931 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42933         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
42934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
42935         and strcspn-ppc64 objects.
42936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42937         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
42938         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
42939         multiarch strcspn for POWER7.
42940         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
42941         multiarch strcspn for PPC64.
42942         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
42943         ifunc selector.
42944         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
42945         strcspn for POWER7.
42947 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
42949         * math/gen-libm-test.pl (generate_testfile): Expect only function
42950         name as argument to AUTO_TESTS_* and pass results for all rounding
42951         modes to parse_args.
42952         (parse_auto_input): Separate inputs of automatic tests from
42953         outputs before storing in %auto_tests.
42954         * math/libm-test.inc (acos_test_data): Update call to
42955         AUTO_TESTS_f_f.
42956         (acos_test): Use ALL_RM_TEST.
42957         (acos_tonearest_test_data): Remove.
42958         (acos_test_tonearest): Likewise.
42959         (acos_towardzero_test_data): Likewise.
42960         (acos_test_towardzero): Likewise.
42961         (acos_downward_test_data): Likewise.
42962         (acos_test_downward): Likewise.
42963         (acos_upward_test_data): Likewise.
42964         (acos_test_upward): Likewise.
42965         (acosh_test_data): Update call to AUTO_TESTS_f_f.
42966         (asin_test_data): Likewise.
42967         (asin_test): Use ALL_RM_TEST.
42968         (asin_tonearest_test_data): Remove.
42969         (asin_test_tonearest): Likewise.
42970         (asin_towardzero_test_data): Likewise.
42971         (asin_test_towardzero): Likewise.
42972         (asin_downward_test_data): Likewise.
42973         (asin_test_downward): Likewise.
42974         (asin_upward_test_data): Likewise.
42975         (asin_test_upward): Likewise.
42976         (asinh_test_data): Update call to AUTO_TESTS_f_f.
42977         (atan_test_data): Likewise.
42978         (atanh_test_data): Likewise.
42979         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
42980         (cabs_test_data): Update call to AUTO_TESTS_c_f.
42981         (carg_test_data): Likewise.
42982         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
42983         (ccos_test_data): Update call to AUTO_TESTS_c_c.
42984         (ccosh_test_data): Likewise.
42985         (cexp_test_data): Likewise.
42986         (clog_test_data): Likewise.
42987         (clog10_test_data): Likewise.
42988         (cos_test_data): Update call to AUTO_TESTS_f_f.
42989         (cos_test): Use ALL_RM_TEST.
42990         (cos_tonearest_test_data): Remove.
42991         (cos_test_tonearest): Likewise.
42992         (cos_towardzero_test_data): Likewise.
42993         (cos_test_towardzero): Likewise.
42994         (cos_downward_test_data): Likewise.
42995         (cos_test_downward): Likewise.
42996         (cos_upward_test_data): Likewise.
42997         (cos_test_upward): Likewise.
42998         (cosh_test_data): Update call to AUTO_TESTS_f_f.
42999         (cosh_test): Use ALL_RM_TEST.
43000         (cosh_tonearest_test_data): Remove.
43001         (cosh_test_tonearest): Likewise.
43002         (cosh_towardzero_test_data): Likewise.
43003         (cosh_test_towardzero): Likewise.
43004         (cosh_downward_test_data): Likewise.
43005         (cosh_test_downward): Likewise.
43006         (cosh_upward_test_data): Likewise.
43007         (cosh_test_upward): Likewise.
43008         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43009         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43010         (ctan_test_data): Likewise.
43011         (ctan_test): Use ALL_RM_TEST.
43012         (ctan_tonearest_test_data): Remove.
43013         (ctan_test_tonearest): Likewise.
43014         (ctan_towardzero_test_data): Likewise.
43015         (ctan_test_towardzero): Likewise.
43016         (ctan_downward_test_data): Likewise.
43017         (ctan_test_downward): Likewise.
43018         (ctan_upward_test_data): Likewise.
43019         (ctan_test_upward): Likewise.
43020         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43021         (ctanh_test): Use ALL_RM_TEST.
43022         (ctanh_tonearest_test_data): Remove.
43023         (ctanh_test_tonearest): Likewise.
43024         (ctanh_towardzero_test_data): Likewise.
43025         (ctanh_test_towardzero): Likewise.
43026         (ctanh_downward_test_data): Likewise.
43027         (ctanh_test_downward): Likewise.
43028         (ctanh_upward_test_data): Likewise.
43029         (ctanh_test_upward): Likewise.
43030         (erf_test_data): Update call to AUTO_TESTS_f_f.
43031         (erfc_test_data): Likewise.
43032         (exp_test_data): Likewise.
43033         (exp_test): Use ALL_RM_TEST.
43034         (exp_tonearest_test_data): Remove.
43035         (exp_test_tonearest): Likewise.
43036         (exp_towardzero_test_data): Likewise.
43037         (exp_test_towardzero): Likewise.
43038         (exp_downward_test_data): Likewise.
43039         (exp_test_downward): Likewise.
43040         (exp_upward_test_data): Likewise.
43041         (exp_test_upward): Likewise.
43042         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43043         (exp10_test): Use ALL_RM_TEST.
43044         (exp10_tonearest_test_data): Remove.
43045         (exp10_test_tonearest): Likewise.
43046         (exp10_towardzero_test_data): Likewise.
43047         (exp10_test_towardzero): Likewise.
43048         (exp10_downward_test_data): Likewise.
43049         (exp10_test_downward): Likewise.
43050         (exp10_upward_test_data): Likewise.
43051         (exp10_test_upward): Likewise.
43052         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43053         (expm1_test_data): Likewise.
43054         (expm1_test): Use ALL_RM_TEST.
43055         (expm1_tonearest_test_data): Remove.
43056         (expm1_test_tonearest): Likewise.
43057         (expm1_towardzero_test_data): Likewise.
43058         (expm1_test_towardzero): Likewise.
43059         (expm1_downward_test_data): Likewise.
43060         (expm1_test_downward): Likewise.
43061         (expm1_upward_test_data): Likewise.
43062         (expm1_test_upward): Likewise.
43063         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43064         (fma_test): Use ALL_RM_TEST.
43065         (fma_towardzero_test_data): Remove.
43066         (fma_test_towardzero): Likewise.
43067         (fma_downward_test_data): Likewise.
43068         (fma_test_downward): Likewise.
43069         (fma_upward_test_data): Likewise.
43070         (fma_test_upward): Likewise.
43071         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43072         (j0_test_data): Update call to AUTO_TESTS_f_f.
43073         (j1_test_data): Likewise.
43074         (jn_test_data): Update call to AUTO_TESTS_if_f.
43075         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43076         (log_test_data): Update call to AUTO_TESTS_f_f.
43077         (log10_test_data): Likewise.
43078         (log1p_test_data): Likewise.
43079         (log2_test_data): Likewise.
43080         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43081         (pow_tonearest_test_data): Likewise.
43082         (sin_test_data): Update call to AUTO_TESTS_f_f.
43083         (sin_test): Use ALL_RM_TEST.
43084         (sin_tonearest_test_data): Remove.
43085         (sin_test_tonearest): Likewise.
43086         (sin_towardzero_test_data): Likewise.
43087         (sin_test_towardzero): Likewise.
43088         (sin_downward_test_data): Likewise.
43089         (sin_test_downward): Likewise.
43090         (sin_upward_test_data): Likewise.
43091         (sin_test_upward): Likewise.
43092         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43093         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43094         (sinh_test): Use ALL_RM_TEST.
43095         (sinh_tonearest_test_data): Remove.
43096         (sinh_test_tonearest): Likewise.
43097         (sinh_towardzero_test_data): Likewise.
43098         (sinh_test_towardzero): Likewise.
43099         (sinh_downward_test_data): Likewise.
43100         (sinh_test_downward): Likewise.
43101         (sinh_upward_test_data): Likewise.
43102         (sinh_test_upward): Likewise.
43103         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43104         (sqrt_test): Use ALL_RM_TEST.
43105         (sqrt_tonearest_test_data): Remove.
43106         (sqrt_test_tonearest): Likewise.
43107         (sqrt_towardzero_test_data): Likewise.
43108         (sqrt_test_towardzero): Likewise.
43109         (sqrt_downward_test_data): Likewise.
43110         (sqrt_test_downward): Likewise.
43111         (sqrt_upward_test_data): Likewise.
43112         (sqrt_test_upward): Likewise.
43113         (tan_test_data): Update call to AUTO_TESTS_f_f.
43114         (tan_test): Use ALL_RM_TEST.
43115         (tan_tonearest_test_data): Remove.
43116         (tan_test_tonearest): Likewise.
43117         (tan_towardzero_test_data): Likewise.
43118         (tan_test_towardzero): Likewise.
43119         (tan_downward_test_data): Likewise.
43120         (tan_test_downward): Likewise.
43121         (tan_upward_test_data): Likewise.
43122         (tan_test_upward): Likewise.
43123         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43124         (tgamma_test_data): Likewise.
43125         (y0_test_data): Likewise.
43126         (y1_test_data): Likewise.
43127         (yn_test_data): Update call to AUTO_TESTS_if_f.
43128         (main): Do not call removed functions.
43130 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43132         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43133         (ldexp_test_data): Remove.
43134         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
43135         scalbn_test_data.
43136         (scalb_test): Use ALL_RM_TEST.
43138 2014-03-19  Andreas Schwab  <schwab@suse.de>
43140         * nscd/nscd.service: Also invalidate netgroup cache on reload.
43142 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43144         [BZ #16649]
43145         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43146         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
43147         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
43148         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43149         (__ASSUME_PREADV): Undefine.
43150         (__ASSUME_PWRITEV): Likewise.
43152 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43154         * bits/mman-linux.h: Add comment about non-Linux use.
43155         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
43156         bits/mman-linux.h resting place.
43158         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
43159         * bits/mman-linux.h: ... here.
43161 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43163         * conform/conformtest.pl: Add standard definition when calling C
43164         preprocessor on data files.
43165         (checknamespace): Remove unused variable.
43167 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43169         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
43170         minus_oflow, plus_uflow and minus_uflow in expected results.
43171         * math/libm-test.inc (scalbn_test_data): Add more tests of
43172         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
43173         minus_uflow.
43174         (scalbn_test): Use ALL_RM_TEST.
43175         (scalbln_test_data): Add more tests of negative arguments.  Use
43176         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
43177         (scalbln_test): Use ALL_RM_TEST.
43179 2014-03-18  Roland McGrath  <roland@hack.frob.com>
43181         * scripts/abilist.awk: Ignore symbols marked with .hidden.
43183 2014-03-18  Will Newton  <will.newton@linaro.org>
43185         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
43186         inaccurate comment.
43188 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
43190         * Makerules [!subdir] (check-abi): Exit with error status if a
43191         test failed.
43193 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43195         * math/libm-test.inc (nearbyint_test_data): Include all tests used
43196         for rint.  Include results for all rounding modes.
43197         (nearbyint_test): Use ALL_RM_TEST.
43198         (rint_test_data): Include all tests used for nearbyint.
43200 2014-03-17  Will Newton  <will.newton@linaro.org>
43202         * nptl/sysdeps/pthread/pthread.h: Revert previous
43203         change.
43205         * sysdeps/generic/ldsodefs.h: Revert previous
43206         change.
43208         * libio/genops.c: Revert previous change.
43209         * libio/libioP.h: Likewise.
43210         * stdio-common/vfprintf.c: Likewise.
43212         * sysdeps/generic/math_private.h: Revert previous
43213         change.
43215         * sysdeps/generic/math_private.h: Check whether
43216         HAVE_RM_CTX is defined with #ifdef rather
43217         than #if.
43219         * argp/argp-fmtstream.h: Check whether
43220         __STRICT_ANSI__ is defined with #ifdef rather
43221         than #if.
43222         * argp/argp.h: Likewise.
43224         * libio/genops.c: Check whether
43225         _IO_JUMPS_OFFSET is defined with #ifdef rather
43226         than #if.
43227         * libio/libioP.h: Likewise.
43228         * stdio-common/vfprintf.c: Likewise.
43230         * sysdeps/generic/ldsodefs.h: Check whether
43231         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
43232         than #if.
43234         * nptl/sysdeps/pthread/pthread.h: Check
43235         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
43236         its value.
43238 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43240         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
43241         setting O_APPEND.
43242         * libio/tst-ftell-active-handler.c (do_append_test): Add a
43243         test case.
43245         [BZ #16680]
43246         * libio/fileops.c (_IO_file_open): Seek to end of file but
43247         don't cache the offset.
43248         (get_file_offset): Remove function.
43249         (do_ftell): Use cached offset when available.
43250         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
43251         don't cache the offset.
43252         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
43253         case.
43254         (do_one_test): Call it.
43255         (do_ftell_test): Fix up expected old offset for a+ mode.
43256         * libio/wfileops.c (do_ftell_wide): Used cached offset when
43257         available.
43259         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
43260         up test status with function return status.
43261         (do_write_test): Likewise.
43262         (do_append_test): Likewise.
43264         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
43265         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
43266         Remove.
43268 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
43270         * math/gen-libm-test.pl (parse_args): Handle results specified for
43271         each rounding mode separately.
43272         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
43273         tests and results from lrint_tonearest_test_data,
43274         lrint_towardzero_test_data, lrint_downward_test_data and
43275         lrint_upward_test_data.
43276         (lrint_test): Use ALL_RM_TEST.
43277         (lrint_tonearest_test_data): Remove.
43278         (lrint_test_tonearest): Likewise.
43279         (lrint_towardzero_test_data): Likewise.
43280         (lrint_test_towardzero): Likewise.
43281         (lrint_downward_test_data): Likewise.
43282         (lrint_test_downward): Likewise.
43283         (lrint_upward_test_data): Likewise.
43284         (lrint_test_upward): Likewise.
43285         (llrint_test_data): Merge in per-rounding-mode tests and results
43286         from llrint_tonearest_test_data, llrint_towardzero_test_data,
43287         llrint_downward_test_data and llrint_upward_test_data.
43288         (llrint_test): Use ALL_RM_TEST.
43289         (llrint_tonearest_test_data): Remove.
43290         (llrint_test_tonearest): Likewise.
43291         (llrint_towardzero_test_data): Likewise.
43292         (llrint_test_towardzero): Likewise.
43293         (llrint_downward_test_data): Likewise.
43294         (llrint_test_downward): Likewise.
43295         (llrint_upward_test_data): Likewise.
43296         (llrint_test_upward): Likewise.
43297         (rint_test_data): Merge in per-rounding-mode tests and results
43298         from rint_tonearest_test_data, rint_towardzero_test_data,
43299         rint_downward_test_data and rint_upward_test_data.  Add
43300         per-rounding-mode results for tests not in those arrays.
43301         (rint_test): Use ALL_RM_TEST.
43302         (rint_tonearest_test_data): Remove.
43303         (rint_test_tonearest): Likewise.
43304         (rint_towardzero_test_data): Likewise.
43305         (rint_test_towardzero): Likewise.
43306         (rint_downward_test_data): Likewise.
43307         (rint_test_downward): Likewise.
43308         (rint_upward_test_data): Likewise.
43309         (rint_test_upward): Likewise.
43310         (main): Don't call removed functions.
43312 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43314         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
43315         "Compiled on ..." crapola.  It is anti-useful.
43317 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
43319         * scripts/evaluate-test.sh: Handle fourth argument to determine
43320         whether test run should stop on failure.
43321         * Makeconfig (stop-on-test-failure): New variable.
43322         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
43323         $(stop-on-test-failure).
43324         * Makefile (tests): Give a summary of results from testing and
43325         exit with failure status if they include an ERROR or FAIL.
43326         (xtests): Likewise.
43327         * manual/install.texi (Configuring and compiling): Mention
43328         stop-on-test-failure=y.
43329         * INSTALL: Regenerated.
43331 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43333         * scripts/versionlist.awk: New file.
43334         * Makerules [$(build-shared) = yes]
43335         (postclean-generated): Add Versions.def, not Versions.def.v and
43336         Versions.def.v.i.
43337         ($(common-objpfx)Versions.def.v.i): Target removed.
43338         ($(common-objpfx)Versions.def): New target.
43339         ($(common-objpfx)Versions.all): Depend on that rather that
43340         $(common-objpfx)Versions.def.v.
43341         * Versions.def: File removed.
43343         * Makeconfig (+gccwarn): Add -Wundef.
43344         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
43345         a dl-sysdep.h breaking its contract.
43346         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
43347         * include/stackinfo.h: New file.
43348         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
43349         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
43350         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
43351         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
43352         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
43353         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
43354         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43355         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43356         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43357         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43358         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43359         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
43360         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43361         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43362         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
43364 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43366         [BZ #16707]
43367         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
43368         implementation.
43369         * math/libm-test.inc (round_test_data): Add more tests.
43371         [BZ #16706]
43372         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
43373         implementation.
43374         * math/libm-test.inc (nearbyint_test_data): Add more tests.
43376         [BZ #16701]
43377         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
43378         implementation.
43379         * math/libm-test.inc (ceil_test_data): Add more tests.
43381         * math/libm-test.inc (trunc_test_data): Add more tests related to
43382         BZ#16414.
43384 2014-03-14  Roland McGrath  <roland@hack.frob.com>
43386         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
43387         with #if rather than #ifdef.
43388         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
43390 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
43392         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
43393         first.  Disable AVX-512 GCC support if assembler doesn't support
43394         it.
43395         * sysdeps/x86_64/configure: Regenerated.
43397 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
43399         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
43400         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
43401         (__old_pthread_attr_setstack): Likewise.
43402         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
43403         [!_STACK_GROWS_DOWN]: Likewise.
43405 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
43407         * config.make.in (have-bash2): Delete.
43408         * configure.ac (libc_cv_have_bash2): Delete.
43409         * configure: Regenerate.
43410         * elf/Makefile (common-ldd-rewrite): Rename to ...
43411         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
43412         (sh-ldd-rewrite): Delete.
43413         (bash-ldd-rewrite): Delete.
43414         (have-bash2): Delete checks.
43415         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
43416         ldd-rewrite.
43418         * config.make.in (have-ksh): Delete.
43419         (KSH): Delete.
43420         * configure.ac (libc_cv_have_ksh): Delete.
43421         * configure: Regenerate.
43423         * elf/Makefile: Delete $(have-ksh) check.
43424         ($(objpfx)sotruss): Change KSH to BASH.
43425         * elf/sotruss.ksh: Rename to ...
43426         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
43427         function style to match POSIX.  Drop ksh vim mode setting.
43429         * manual/time.texi (Specifying the Time Zone with TZ): Change
43430         Tuesday to Thursday.
43432         * debug/tst-longjmp_chk2.c: Update header comment.
43433         (stackoverflow_handler): Add comment.  Call assert on pass value.
43435 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
43437         [BZ #16194]
43438         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
43439         (HAVE_AVX512_ASM_SUPPORT): Likewise.
43440         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
43441         (La_x86_64_vector): Add zmm.
43442         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
43443         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
43444         ($(objpfx)tst-audit10): New target.
43445         ($(objpfx)tst-audit10.out): Likewise.
43446         (tst-audit10-ENV): New.
43447         (AVX512-CFLAGS): Likewise.
43448         (CFLAGS-tst-audit10.c): Likewise.
43449         (CFLAGS-tst-auditmod10a.c): Likewise.
43450         (CFLAGS-tst-auditmod10b.c): Likewise.
43451         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
43452         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
43453         * sysdeps/x86_64/configure: Regenerated.
43454         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
43455         AVX-512 zmm register support.
43456         (_dl_x86_64_save_sse): Likewise.
43457         (_dl_x86_64_restore_sse): Likewise.
43458         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
43459         size vector registers.
43460         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
43461         (ZMM_SIZE): Likewise.
43462         * sysdeps/x86_64/tst-audit10.c: New file.
43463         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
43464         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
43466 2014-03-13  Roland McGrath  <roland@hack.frob.com>
43468         * configure.ac (HAVE_EHDR_START): New check.
43469         * configure: Regenerated.
43470         * config.h.in (HAVE_EHDR_START): New #undef.
43471         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
43472         assuming the lowest-addressed segment maps the start of the file.
43474 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
43476         * INSTALL: Regenerated.
43478 2014-03-13  Will Newton  <will.newton@linaro.org>
43480         * manual/setjmp.texi (System V contexts): Improve
43481         clarity and grammar of documentation.
43483 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
43485         [BZ #16381]
43486         * elf/Makefile (tests): Add tst-pie2.
43487         (tests-pie): Add tst-pie2.
43488         * elf/tst-pie2.c: New file.
43489         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
43490         for ET_EXEC.
43491         * elf/rtld.c (map_doit): Load executable as lt_executable.
43492         (dl_main): Likewise.
43494 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
43496         [BZ #16642]
43497         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43498         (__ASSUME_PSELECT): Undefine.
43500 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43502         [BZ #16689]
43503         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
43504         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
43505         static build.
43506         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
43507         selector for static builds.
43509 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43511         [BZ #16695]
43512         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
43513         key in the buffer.
43515 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43517         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
43518         IFUNC selector for static builds.
43520 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
43522         * sysdeps/mips/math_private.h [__mips_hard_float]
43523         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
43524         libc_feresetround_mips_ctx.
43525         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
43526         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
43527         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
43529         [BZ #16677]
43530         * math/s_nextafter.c (__nextafter): Do not return value from
43531         overflowing computation.
43532         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
43533         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
43534         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
43535         Likewise.
43536         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
43537         Likewise.
43538         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
43539         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
43541 2014-03-11  Roland McGrath  <roland@hack.frob.com>
43543         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
43544         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
43545         Move sfi_sp use from the load-multiple (that no longer sets sp) to
43546         the new mov targetting sp.
43548 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43550         [BZ #16683]
43551         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
43552         Define it for static builds as well.
43553         (NO_BZERO_IMPL): Likewise.
43555 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43557         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
43558         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
43559         multiarch strspn for PPC64.
43560         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
43561         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
43562         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43563         (__libc_ifunc_impl_list): Likewise.
43564         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
43565         multiarch optimizations
43566         * string/strspn.c (strspn): Using macro to redefine symbol name.
43568 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43569             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43571         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
43572         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
43573         multiarch strncat for PPC64.
43574         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
43575         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
43576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43577         (__libc_ifunc_impl_list): Likewise.
43578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
43579         multiarch optimizations
43581 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43583         [BZ #16639]
43584         * nscd/nscd.service: Make service type forking.
43586 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43588         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
43589         sign in non default rounding modes.
43590         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
43592 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
43594         * math/libm-test.inc (ALL_RM_TEST): New macro.
43595         (ceil_test): Use ALL_RM_TEST.
43596         (cimag_test): Likewise.
43597         (conj_test): Likewise.
43598         (copysign_test): Likewise.
43599         (cproj_test): Likewise.
43600         (creal_test): Likewise.
43601         (fabs_test): Likewise.
43602         (floor_test): Likewise.
43603         (fmax_test): Likewise.
43604         (fmin_test): Likewise.
43605         (fmod_test): Likewise.
43606         (fpclassify_test): Likewise.
43607         (frexp_test): Likewise.
43608         (ilogb_test): Likewise.
43609         (isfinite_test): Likewise.
43610         (finite_test): Likewise.
43611         (isgreater_test): Likewise.
43612         (isgreaterequal_test): Likewise.
43613         (isinf_test): Likewise.
43614         (isless_test): Likewise.
43615         (islessequal_test): Likewise.
43616         (islessgreater_test): Likewise.
43617         (isnan_test): Likewise.
43618         (isnormal_test): Likewise.
43619         (issignaling_test): Likewise.
43620         (isunordered_test): Likewise.
43621         (logb_test): Likewise.
43622         (logb_downward_test_data): Remove.
43623         (logb_test_downward): Likewise.
43624         (lround_test): Use ALL_RM_TEST.
43625         (llround_test): Likewise.
43626         (modf_test): Likewise.
43627         (nexttoward_test): Likewise.
43628         (remainder_test): Likewise.
43629         (drem_test): Likewise.
43630         (remainder_tonearest_test_data): Likewise.
43631         (remainder_test_tonearest): Likewise.
43632         (drem_test_tonearest): Likewise.
43633         (remainder_towardzero_test_data): Likewise.
43634         (remainder_test_towardzero): Likewise.
43635         (drem_test_towardzero): Likewise.
43636         (remainder_downward_test_data): Likewise.
43637         (remainder_test_downward): Likewise.
43638         (drem_test_downward): Likewise.
43639         (remainder_upward_test_data): Likewise.
43640         (remainder_test_upward): Likewise.
43641         (drem_test_upward): Likewise.
43642         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
43643         (round_test): Use ALL_RM_TEST.
43644         (signbit_test): Likewise.
43645         (trunc_test): Likewise.
43646         (significand_test): Likewise.
43647         (main): Don't call removed functions.
43649 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
43651         [BZ #16674]
43652         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
43653         || __USE_XOPEN2K8].
43654         (ILL_ILLOPN): Likewise.
43655         (ILL_ILLADR): Likewise.
43656         (ILL_ILLTRP): Likewise.
43657         (ILL_PRVOPC): Likewise.
43658         (ILL_PRVREG): Likewise.
43659         (ILL_COPROC): Likewise.
43660         (ILL_BADSTK): Likewise.
43661         (FPE_INTDIV): Likewise.
43662         (FPE_INTOVF): Likewise.
43663         (FPE_FLTDIV): Likewise.
43664         (FPE_FLTOVF): Likewise.
43665         (FPE_FLTUND): Likewise.
43666         (FPE_FLTRES): Likewise.
43667         (FPE_FLTINV): Likewise.
43668         (FPE_FLTSUB): Likewise.
43669         (SEGV_MAPERR): Likewise.
43670         (SEGV_ACCERR): Likewise.
43671         (BUS_ADRALN): Likewise.
43672         (BUS_ADRERR): Likewise.
43673         (BUS_OBJERR): Likewise.
43674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43675         (TRAP_TRACE): Likewise.
43676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43677         __USE_XOPEN2K8].
43678         (CLD_KILLED): Likewise.
43679         (CLD_DUMPED): Likewise.
43680         (CLD_TRAPPED): Likewise.
43681         (CLD_STOPPED): Likewise.
43682         (CLD_CONTINUED): Likewise.
43683         (POLL_IN): Likewise.
43684         (POLL_OUT): Likewise.
43685         (POLL_MSG): Likewise.
43686         (POLL_ERR): Likewise.
43687         (POLL_PRI): Likewise.
43688         (POLL_HUP): Likewise.
43689         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
43690         Likewise.
43691         (ILL_ILLOPN): Likewise.
43692         (ILL_ILLADR): Likewise.
43693         (ILL_ILLTRP): Likewise.
43694         (ILL_PRVOPC): Likewise.
43695         (ILL_PRVREG): Likewise.
43696         (ILL_COPROC): Likewise.
43697         (ILL_BADSTK): Likewise.
43698         (FPE_INTDIV): Likewise.
43699         (FPE_INTOVF): Likewise.
43700         (FPE_FLTDIV): Likewise.
43701         (FPE_FLTOVF): Likewise.
43702         (FPE_FLTUND): Likewise.
43703         (FPE_FLTRES): Likewise.
43704         (FPE_FLTINV): Likewise.
43705         (FPE_FLTSUB): Likewise.
43706         (SEGV_MAPERR): Likewise.
43707         (SEGV_ACCERR): Likewise.
43708         (BUS_ADRALN): Likewise.
43709         (BUS_ADRERR): Likewise.
43710         (BUS_OBJERR): Likewise.
43711         (BUS_MCEERR_AR): Likewise.
43712         (BUS_MCEERR_AO): Likewise.
43713         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43714         (TRAP_TRACE): Likewise.
43715         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43716         __USE_XOPEN2K8].
43717         (CLD_KILLED): Likewise.
43718         (CLD_DUMPED): Likewise.
43719         (CLD_TRAPPED): Likewise.
43720         (CLD_STOPPED): Likewise.
43721         (CLD_CONTINUED): Likewise.
43722         (POLL_IN): Likewise.
43723         (POLL_OUT): Likewise.
43724         (POLL_MSG): Likewise.
43725         (POLL_ERR): Likewise.
43726         (POLL_PRI): Likewise.
43727         (POLL_HUP): Likewise.
43728         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
43729         (ILL_ILLOPN): Likewise.
43730         (ILL_ILLADR): Likewise.
43731         (ILL_ILLTRP): Likewise.
43732         (ILL_PRVOPC): Likewise.
43733         (ILL_PRVREG): Likewise.
43734         (ILL_COPROC): Likewise.
43735         (ILL_BADSTK): Likewise.
43736         (FPE_INTDIV): Likewise.
43737         (FPE_INTOVF): Likewise.
43738         (FPE_FLTDIV): Likewise.
43739         (FPE_FLTOVF): Likewise.
43740         (FPE_FLTUND): Likewise.
43741         (FPE_FLTRES): Likewise.
43742         (FPE_FLTINV): Likewise.
43743         (FPE_FLTSUB): Likewise.
43744         (SEGV_MAPERR): Likewise.
43745         (SEGV_ACCERR): Likewise.
43746         (BUS_ADRALN): Likewise.
43747         (BUS_ADRERR): Likewise.
43748         (BUS_OBJERR): Likewise.
43749         (BUS_MCEERR_AR): Likewise.
43750         (BUS_MCEERR_AO): Likewise.
43751         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43752         (TRAP_TRACE): Likewise.
43753         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43754         __USE_XOPEN2K8].
43755         (CLD_KILLED): Likewise.
43756         (CLD_DUMPED): Likewise.
43757         (CLD_TRAPPED): Likewise.
43758         (CLD_STOPPED): Likewise.
43759         (CLD_CONTINUED): Likewise.
43760         (POLL_IN): Likewise.
43761         (POLL_OUT): Likewise.
43762         (POLL_MSG): Likewise.
43763         (POLL_ERR): Likewise.
43764         (POLL_PRI): Likewise.
43765         (POLL_HUP): Likewise.
43766         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
43767         Likewise.
43768         (ILL_ILLOPN): Likewise.
43769         (ILL_ILLADR): Likewise.
43770         (ILL_ILLTRP): Likewise.
43771         (ILL_PRVOPC): Likewise.
43772         (ILL_PRVREG): Likewise.
43773         (ILL_COPROC): Likewise.
43774         (ILL_BADSTK): Likewise.
43775         (ILL_BADIADDR): Likewise.
43776         (ILL_BREAK): Likewise.
43777         (FPE_INTDIV): Likewise.
43778         (FPE_INTOVF): Likewise.
43779         (FPE_FLTDIV): Likewise.
43780         (FPE_FLTOVF): Likewise.
43781         (FPE_FLTUND): Likewise.
43782         (FPE_FLTRES): Likewise.
43783         (FPE_FLTINV): Likewise.
43784         (FPE_FLTSUB): Likewise.
43785         (FPE_DECOVF): Likewise.
43786         (FPE_DECDIV): Likewise.
43787         (FPE_DECERR): Likewise.
43788         (FPE_INVASC): Likewise.
43789         (FPE_INVDEC): Likewise.
43790         (SEGV_MAPERR): Likewise.
43791         (SEGV_ACCERR): Likewise.
43792         (SEGV_PSTKOVF): Likewise.
43793         (BUS_ADRALN): Likewise.
43794         (BUS_ADRERR): Likewise.
43795         (BUS_OBJERR): Likewise.
43796         (BUS_MCEERR_AR): Likewise.
43797         (BUS_MCEERR_AO): Likewise.
43798         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43799         (TRAP_TRACE): Likewise.
43800         (TRAP_BRANCH): Likewise.
43801         (TRAP_HWBKPT): Likewise.
43802         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43803         __USE_XOPEN2K8].
43804         (CLD_KILLED): Likewise.
43805         (CLD_DUMPED): Likewise.
43806         (CLD_TRAPPED): Likewise.
43807         (CLD_STOPPED): Likewise.
43808         (CLD_CONTINUED): Likewise.
43809         (POLL_IN): Likewise.
43810         (POLL_OUT): Likewise.
43811         (POLL_MSG): Likewise.
43812         (POLL_ERR): Likewise.
43813         (POLL_PRI): Likewise.
43814         (POLL_HUP): Likewise.
43815         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
43816         (ILL_ILLOPN): Likewise.
43817         (ILL_ILLADR): Likewise.
43818         (ILL_ILLTRP): Likewise.
43819         (ILL_PRVOPC): Likewise.
43820         (ILL_PRVREG): Likewise.
43821         (ILL_COPROC): Likewise.
43822         (ILL_BADSTK): Likewise.
43823         (FPE_INTDIV): Likewise.
43824         (FPE_INTOVF): Likewise.
43825         (FPE_FLTDIV): Likewise.
43826         (FPE_FLTOVF): Likewise.
43827         (FPE_FLTUND): Likewise.
43828         (FPE_FLTRES): Likewise.
43829         (FPE_FLTINV): Likewise.
43830         (FPE_FLTSUB): Likewise.
43831         (SEGV_MAPERR): Likewise.
43832         (SEGV_ACCERR): Likewise.
43833         (BUS_ADRALN): Likewise.
43834         (BUS_ADRERR): Likewise.
43835         (BUS_OBJERR): Likewise.
43836         (BUS_MCEERR_AR): Likewise.
43837         (BUS_MCEERR_AO): Likewise.
43838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43839         (TRAP_TRACE): Likewise.
43840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43841         __USE_XOPEN2K8].
43842         (CLD_KILLED): Likewise.
43843         (CLD_DUMPED): Likewise.
43844         (CLD_TRAPPED): Likewise.
43845         (CLD_STOPPED): Likewise.
43846         (CLD_CONTINUED): Likewise.
43847         (POLL_IN): Likewise.
43848         (POLL_OUT): Likewise.
43849         (POLL_MSG): Likewise.
43850         (POLL_ERR): Likewise.
43851         (POLL_PRI): Likewise.
43852         (POLL_HUP): Likewise.
43853         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
43854         (ILL_ILLOPN): Likewise.
43855         (ILL_ILLADR): Likewise.
43856         (ILL_ILLTRP): Likewise.
43857         (ILL_PRVOPC): Likewise.
43858         (ILL_PRVREG): Likewise.
43859         (ILL_COPROC): Likewise.
43860         (ILL_BADSTK): Likewise.
43861         (FPE_INTDIV): Likewise.
43862         (FPE_INTOVF): Likewise.
43863         (FPE_FLTDIV): Likewise.
43864         (FPE_FLTOVF): Likewise.
43865         (FPE_FLTUND): Likewise.
43866         (FPE_FLTRES): Likewise.
43867         (FPE_FLTINV): Likewise.
43868         (FPE_FLTSUB): Likewise.
43869         (SEGV_MAPERR): Likewise.
43870         (SEGV_ACCERR): Likewise.
43871         (BUS_ADRALN): Likewise.
43872         (BUS_ADRERR): Likewise.
43873         (BUS_OBJERR): Likewise.
43874         (BUS_MCEERR_AR): Likewise.
43875         (BUS_MCEERR_AO): Likewise.
43876         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43877         (TRAP_TRACE): Likewise.
43878         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43879         __USE_XOPEN2K8].
43880         (CLD_KILLED): Likewise.
43881         (CLD_DUMPED): Likewise.
43882         (CLD_TRAPPED): Likewise.
43883         (CLD_STOPPED): Likewise.
43884         (CLD_CONTINUED): Likewise.
43885         (POLL_IN): Likewise.
43886         (POLL_OUT): Likewise.
43887         (POLL_MSG): Likewise.
43888         (POLL_ERR): Likewise.
43889         (POLL_PRI): Likewise.
43890         (POLL_HUP): Likewise.
43891         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
43892         (ILL_ILLOPN): Likewise.
43893         (ILL_ILLADR): Likewise.
43894         (ILL_ILLTRP): Likewise.
43895         (ILL_PRVOPC): Likewise.
43896         (ILL_PRVREG): Likewise.
43897         (ILL_COPROC): Likewise.
43898         (ILL_BADSTK): Likewise.
43899         (FPE_INTDIV): Likewise.
43900         (FPE_INTOVF): Likewise.
43901         (FPE_FLTDIV): Likewise.
43902         (FPE_FLTOVF): Likewise.
43903         (FPE_FLTUND): Likewise.
43904         (FPE_FLTRES): Likewise.
43905         (FPE_FLTINV): Likewise.
43906         (FPE_FLTSUB): Likewise.
43907         (SEGV_MAPERR): Likewise.
43908         (SEGV_ACCERR): Likewise.
43909         (BUS_ADRALN): Likewise.
43910         (BUS_ADRERR): Likewise.
43911         (BUS_OBJERR): Likewise.
43912         (BUS_MCEERR_AR): Likewise.
43913         (BUS_MCEERR_AO): Likewise.
43914         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43915         (TRAP_TRACE): Likewise.
43916         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43917         __USE_XOPEN2K8].
43918         (CLD_KILLED): Likewise.
43919         (CLD_DUMPED): Likewise.
43920         (CLD_TRAPPED): Likewise.
43921         (CLD_STOPPED): Likewise.
43922         (CLD_CONTINUED): Likewise.
43923         (POLL_IN): Likewise.
43924         (POLL_OUT): Likewise.
43925         (POLL_MSG): Likewise.
43926         (POLL_ERR): Likewise.
43927         (POLL_PRI): Likewise.
43928         (POLL_HUP): Likewise.
43929         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
43930         (ILL_ILLOPN): Likewise.
43931         (ILL_ILLADR): Likewise.
43932         (ILL_ILLTRP): Likewise.
43933         (ILL_PRVOPC): Likewise.
43934         (ILL_PRVREG): Likewise.
43935         (ILL_COPROC): Likewise.
43936         (ILL_BADSTK): Likewise.
43937         (ILL_DBLFLT): Likewise.
43938         (ILL_HARDWALL): Likewise.
43939         (FPE_INTDIV): Likewise.
43940         (FPE_INTOVF): Likewise.
43941         (FPE_FLTDIV): Likewise.
43942         (FPE_FLTOVF): Likewise.
43943         (FPE_FLTUND): Likewise.
43944         (FPE_FLTRES): Likewise.
43945         (FPE_FLTINV): Likewise.
43946         (FPE_FLTSUB): Likewise.
43947         (SEGV_MAPERR): Likewise.
43948         (SEGV_ACCERR): Likewise.
43949         (BUS_ADRALN): Likewise.
43950         (BUS_ADRERR): Likewise.
43951         (BUS_OBJERR): Likewise.
43952         (BUS_MCEERR_AR): Likewise.
43953         (BUS_MCEERR_AO): Likewise.
43954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43955         (TRAP_TRACE): Likewise.
43956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43957         __USE_XOPEN2K8].
43958         (CLD_KILLED): Likewise.
43959         (CLD_DUMPED): Likewise.
43960         (CLD_TRAPPED): Likewise.
43961         (CLD_STOPPED): Likewise.
43962         (CLD_CONTINUED): Likewise.
43963         (POLL_IN): Likewise.
43964         (POLL_OUT): Likewise.
43965         (POLL_MSG): Likewise.
43966         (POLL_ERR): Likewise.
43967         (POLL_PRI): Likewise.
43968         (POLL_HUP): Likewise.
43969         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
43970         (ILL_ILLOPN): Likewise.
43971         (ILL_ILLADR): Likewise.
43972         (ILL_ILLTRP): Likewise.
43973         (ILL_PRVOPC): Likewise.
43974         (ILL_PRVREG): Likewise.
43975         (ILL_COPROC): Likewise.
43976         (ILL_BADSTK): Likewise.
43977         (FPE_INTDIV): Likewise.
43978         (FPE_INTOVF): Likewise.
43979         (FPE_FLTDIV): Likewise.
43980         (FPE_FLTOVF): Likewise.
43981         (FPE_FLTUND): Likewise.
43982         (FPE_FLTRES): Likewise.
43983         (FPE_FLTINV): Likewise.
43984         (FPE_FLTSUB): Likewise.
43985         (SEGV_MAPERR): Likewise.
43986         (SEGV_ACCERR): Likewise.
43987         (BUS_ADRALN): Likewise.
43988         (BUS_ADRERR): Likewise.
43989         (BUS_OBJERR): Likewise.
43990         (BUS_MCEERR_AR): Likewise.
43991         (BUS_MCEERR_AO): Likewise.
43992         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
43993         (TRAP_TRACE): Likewise.
43994         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
43995         __USE_XOPEN2K8].
43996         (CLD_KILLED): Likewise.
43997         (CLD_DUMPED): Likewise.
43998         (CLD_TRAPPED): Likewise.
43999         (CLD_STOPPED): Likewise.
44000         (CLD_CONTINUED): Likewise.
44001         (POLL_IN): Likewise.
44002         (POLL_OUT): Likewise.
44003         (POLL_MSG): Likewise.
44004         (POLL_ERR): Likewise.
44005         (POLL_PRI): Likewise.
44006         (POLL_HUP): Likewise.
44007         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44008         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44010         [BZ #16670]
44011         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44012         before #include of <time.h>.
44013         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44014         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44015         (test-xfail-UNIX98/sched.h/conform): Likewise.
44017 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44019         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44020         error absence of trapping exception support.
44021         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44023 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44025         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44026         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44027         * timezone/Makefile (testdata): Move definition above include of
44028         Rules.
44029         (test-zones): New variable.
44030         (tests-special): Add zone files.
44031         (build-testdata): Use $(evaluate-test).
44033         * elf/Makefile (tests-special): Rename tests to end with .out.
44034         ($(objpfx)noload-mem): Likewise.
44035         ($(objpfx)tst-leaks1-mem): Likewise.
44036         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44037         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44038         $(objpfx)test-iconvconfig.out.
44039         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44040         set -e inside subshell and redirect output to file.
44041         * iconvdata/Makefile (generated): Rename tests to end with .out.
44042         Correct type.
44043         (tests-special): Rename tests to end with .out.
44044         ($(objpfx)mtrace-tst-loading): Likewise.
44045         * intl/Makefile (generated): Likewise.
44046         (tests-special): Likewise.
44047         ($(objpfx)mtrace-tst-gettext): Likewise.
44048         * misc/Makefile (generated): Likewise.
44049         (tests-special): Likewise.
44050         ($(objpfx)tst-error1-mem): Likewise.
44051         * nptl/Makefile (tests-special): Likewise.
44052         ($(objpfx)tst-stack3-mem): Likewise.
44053         (generated): Likewise.
44054         * posix/Makefile (generated): Likewise.
44055         (tests-special): Likewise.
44056         (xtests-special): Likewise.
44057         ($(objpfx)tst-fnmatch-mem): Likewise.
44058         ($(objpfx)bug-regex2-mem): Likewise.
44059         ($(objpfx)bug-regex14-mem): Likewise.
44060         ($(objpfx)bug-regex21-mem): Likewise.
44061         ($(objpfx)bug-regex31-mem): Likewise.
44062         ($(objpfx)tst-vfork3-mem): Likewise.
44063         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44064         ($(objpfx)tst-pcre-mem): Likewise.
44065         ($(objpfx)tst-boost-mem): Likewise.
44066         ($(objpfx)bug-ga2-mem): Likewise.
44067         ($(objpfx)bug-glob2-mem): Likewise.
44068         * resolv/Makefile (generate): Likewise.
44069         (tests-special): Likewise.
44070         (xtests-special): Likewise.
44071         (generated): Likewise.
44072         ($(objpfx)mtrace-tst-leaks): Likewise.
44073         ($(objpfx)mtrace-tst-leaks2): Likewise.
44075         * scripts/merge-test-results.sh: New file.
44076         * Makefile (tests-special-notdir): New variable.
44077         (tests): Run merge-test-results.sh.
44078         (xtests): Likewise.
44079         * Rules (tests-special-notdir): New variable.
44080         (xtests-special-notdir): Likewise.
44081         (tests): Run merge-test-results.sh
44082         (xtests): Likewise.
44084         * Makeconfig (test-xfail-name): New variable.
44085         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44086         compute variable name for expected failures.
44087         * conform/Makefile (conformtest-headers-data): New variable.
44088         (conformtest-standards): Likewise.
44089         (conformtest-headers-ISO): Likewise.
44090         (conformtest-headers-ISO99): Likewise.
44091         (conformtest-headers-ISO11): Likewise.
44092         (conformtest-headers-POSIX): Likewise.
44093         (conformtest-headers-XPG3): Likewise.
44094         (conformtest-headers-XPG4): Likewise.
44095         (conformtest-headers-UNIX98): Likewise.
44096         (conformtest-headers-XOPEN2K): Likewise.
44097         (conformtest-headers-POSIX2008): Likewise.
44098         (conformtest-headers-XOPEN2K8): Likewise.
44099         (conformtest-header-list-base): Likewise.
44100         (conformtest-header-list-tests): Likewise.
44101         (conformtest-header-base): Likewise.
44102         (conformtest-header-tests): Likewise.
44103         (tests-special): Add $(conformtest-header-list-tests).  If
44104         [$(fast-check) && !$(cross-compiling)], add
44105         $(conformtest-header-tests) instead of
44106         $(objpfx)run-conformtest.out.
44107         (generated): Add $(conformtest-header-list-base).  If
44108         [$(fast-check) && !$(cross-compiling)], add
44109         $(conformtest-header-base).  Remove previous setting.
44110         ($(conformtest-header-list-tests)): New target.
44111         (test-xfail-run-conformtest): Remove variable.
44112         ($(objpfx)run-conformtest.out): Remove target.
44113         (test-xfail-ISO11/complex.h/conform): New variable.
44114         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44115         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44116         (test-xfail-XPG3/varargs.h/conform): Likewise.
44117         (test-xfail-XPG4/varargs.h/conform): Likewise.
44118         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44119         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44120         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44121         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44122         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44123         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44124         (test-xfail-XPG3/ftw.h/conform): Likewise.
44125         (test-xfail-XPG3/grp.h/conform): Likewise.
44126         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44127         (test-xfail-XPG3/limits.h/conform): Likewise.
44128         (test-xfail-XPG3/pwd.h/conform): Likewise.
44129         (test-xfail-XPG3/search.h/conform): Likewise.
44130         (test-xfail-XPG3/signal.h/conform): Likewise.
44131         (test-xfail-XPG3/stdio.h/conform): Likewise.
44132         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44133         (test-xfail-XPG3/string.h/conform): Likewise.
44134         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
44135         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
44136         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
44137         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
44138         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
44139         (test-xfail-XPG3/sys/types.h/conform): Likewise.
44140         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
44141         (test-xfail-XPG3/termios.h/conform): Likewise.
44142         (test-xfail-XPG3/time.h/conform): Likewise.
44143         (test-xfail-XPG3/unistd.h/conform): Likewise.
44144         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
44145         (test-xfail-XPG4/fcntl.h/conform): Likewise.
44146         (test-xfail-XPG4/langinfo.h/conform): Likewise.
44147         (test-xfail-XPG4/netdb.h/conform): Likewise.
44148         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
44149         (test-xfail-XPG4/signal.h/conform): Likewise.
44150         (test-xfail-XPG4/stdio.h/conform): Likewise.
44151         (test-xfail-XPG4/stdlib.h/conform): Likewise.
44152         (test-xfail-XPG4/stropts.h/conform): Likewise.
44153         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
44154         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
44155         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
44156         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
44157         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
44158         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
44159         (test-xfail-XPG4/sys/time.h/conform): Likewise.
44160         (test-xfail-XPG4/sys/types.h/conform): Likewise.
44161         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
44162         (test-xfail-XPG4/termios.h/conform): Likewise.
44163         (test-xfail-XPG4/ucontext.h/conform): Likewise.
44164         (test-xfail-XPG4/unistd.h/conform): Likewise.
44165         (test-xfail-XPG4/utmpx.h/conform): Likewise.
44166         (test-xfail-POSIX/sched.h/conform): Likewise.
44167         (test-xfail-POSIX/signal.h/conform): Likewise.
44168         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44169         (test-xfail-POSIX/tar.h/conform): Likewise.
44170         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
44171         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
44172         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
44173         (test-xfail-UNIX98/netdb.h/conform): Likewise.
44174         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
44175         (test-xfail-UNIX98/sched.h/conform): Likewise.
44176         (test-xfail-UNIX98/signal.h/conform): Likewise.
44177         (test-xfail-UNIX98/stdio.h/conform): Likewise.
44178         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
44179         (test-xfail-UNIX98/stropts.h/conform): Likewise.
44180         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
44181         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
44182         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
44183         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
44184         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
44185         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
44186         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
44187         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
44188         (test-xfail-UNIX98/unistd.h/conform): Likewise.
44189         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
44190         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
44191         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
44192         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
44193         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
44194         (test-xfail-XOPEN2K/math.h/conform): Likewise.
44195         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
44196         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
44197         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
44198         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
44199         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
44200         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
44201         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
44202         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
44203         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
44204         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
44205         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
44206         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
44207         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
44208         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
44209         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
44210         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
44211         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
44212         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
44213         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
44214         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
44215         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
44216         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
44217         (test-xfail-POSIX2008/signal.h/conform): Likewise.
44218         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
44219         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
44220         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
44221         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
44222         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
44223         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
44224         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
44225         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
44226         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
44227         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
44228         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
44229         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
44230         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
44231         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
44232         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
44233         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
44234         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
44235         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
44236         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
44237         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
44238         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
44239         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
44240         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
44241         (conformtest-cc-flags): Likewise.
44242         ($(conformtest-header-tests): New target.
44243         * conform/check-header-lists.sh: New file.
44244         * conform/run-conformtest.sh: Remove.
44246         * conform/conformtest.pl: Allow ' and \ in values given for
44247         constants.
44248         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
44249         inclusion.
44250         [POSIX] (sys/types.h): Likewise.
44251         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
44252         inclusion.
44253         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
44254         inclusion.
44255         * conform/data/signal.h-data (SIGIO): Remove expectation.
44256         [XPG3] (SIGBUS): Do not expect.
44257         [POSIX || XPG3] (SIGPOLL): Likewise.
44258         [POSIX || XPG3] (SIGPROF): Likewise.
44259         [POSIX || XPG3] (SIGSYS): Likewise.
44260         [XPG3] (SIGTRAP): Likewise.
44261         [POSIX || XPG3] (SIGURG): Likewise.
44262         [POSIX || XPG3] (SIGVTALRM): Likewise.
44263         [POSIX || XPG3] (SIGXCPU): Likewise.
44264         [POSIX || XPG3] (SIGXFSZ): Likewise.
44265         [POSIX] (SA_SIGINFO): Expect.
44266         [XPG3] (siginfo_t): Do not expect type or contents.
44267         [POSIX] (si_pid): Do not expect element.
44268         [POSIX] (si_uid): Likewise.
44269         [POSIX] (si_addr): Likewise.
44270         [POSIX] (si_status): Likewise.
44271         [POSIX] (si_band): Likewise.
44272         [XPG4] (si_value): Likewise.
44273         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
44274         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
44275         [POSIX || XPG3] (ILL_ILLADR): Likewise.
44276         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
44277         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
44278         [POSIX || XPG3] (ILL_PRVREG): Likewise.
44279         [POSIX || XPG3] (ILL_COPROC): Likewise.
44280         [POSIX || XPG3] (ILL_BADSTK): Likewise.
44281         [POSIX || XPG3] (FPE_INTDIV): Likewise.
44282         [POSIX || XPG3] (FPE_INTOVF): Likewise.
44283         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
44284         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
44285         [POSIX || XPG3] (FPE_FLTUND): Likewise.
44286         [POSIX || XPG3] (FPE_FLTRES): Likewise.
44287         [POSIX || XPG3] (FPE_FLTINV): Likewise.
44288         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
44289         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
44290         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
44291         [POSIX || XPG3] (BUS_ADRALN): Likewise.
44292         [POSIX || XPG3] (BUS_ADRERR): Likewise.
44293         [POSIX || XPG3] (BUS_OBJERR): Likewise.
44294         [POSIX || XPG3] (CLD_EXITED): Likewise.
44295         [POSIX || XPG3] (CLD_KILLED): Likewise.
44296         [POSIX || XPG3] (CLD_DUMPED): Likewise.
44297         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
44298         [POSIX || XPG3] (CLD_STOPPED): Likewise.
44299         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
44300         [POSIX || XPG3] (POLL_IN): Likewise.
44301         [POSIX || XPG3] (POLL_OUT): Likewise.
44302         [POSIX || XPG3] (POLL_MSG): Likewise.
44303         [POSIX || XPG3] (POLL_ERR): Likewise.
44304         [POSIX || XPG3] (POLL_PRI): Likewise.
44305         [POSIX || XPG3] (POLL_HUP): Likewise.
44306         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
44307         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
44308         (SIG*): Do not allow.
44309         [XPG3] (si_*): Likewise.
44310         [XPG3] (SI_*): Likewise.
44311         [XPG3 || XPG4] (sigev_*): Likewise.
44312         [XPG3 || XPG4] (SIGEV_*): Likewise.
44313         [XPG3 || XPG4] (sival_*): Likewise.
44314         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
44315         [POSIX || XPG3] (BUS_*): Likewise.
44316         [POSIX || XPG3] (CLD_*): Likewise.
44317         [POSIX || XPG3] (FPE_*): Likewise.
44318         [POSIX || XPG3] (ILL_*): Likewise.
44319         [POSIX || XPG3] (POLL_*): Likewise.
44320         [POSIX || XPG3] (SEGV_*): Likewise.
44321         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
44322         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
44323         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
44324         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
44325         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
44326         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
44327         Specify type and value.
44328         (TVERSLEN): Likewise.
44329         (REGTYPE): Likewise.
44330         (AREGTYPE): Likewise.
44331         (LNKTYPE): Likewise.
44332         (SYMTYPE): Likewise.
44333         (CHRTYPE): Likewise.
44334         (BLKTYPE): Likewise.
44335         (DIRTYPE): Likewise.
44336         (FIFOTYPE): Likewise.
44337         (CONTTYPE): Likewise.
44338         (TSUID): Likewise.
44339         (TSGID): Likewise.
44340         (TSVTX): Likewise.
44341         (TUREAD): Likewise.
44342         (TUWRITE): Likewise.
44343         (TUEXEC): Likewise.
44344         (TGREAD): Likewise.
44345         (TGWRITE): Likewise.
44346         (TGEXEC): Likewise.
44347         (TOREAD): Likewise.
44348         (TOWRITE): Likewise.
44349         (TOEXEC): Likewise.
44350         [POSIX] (TSVTX): Expect constant.
44352 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
44354         * Makefile (tests): Change dependencies to ....
44355         (tests-special): ... additions to this variable.
44356         (tests): Depend on $(tests-special).
44357         * Makerules (check-abi-list): New variable.
44358         (check-abi): Depend on $(check-abi-list).
44359         [$(subdir) = elf] (tests-special): Add
44360         $(objpfx)check-abi-libc.out.
44361         [$(build-shared) = yes && subdir] (tests-special): Add
44362         $(check-abi-list).
44363         [$(build-shared) = yes && subdir] (tests): Do not depend on
44364         check-abi.
44365         * Rules (tests): Depend on $(tests-special).
44366         (xtests): Depend on $(xtests-special).
44367         * catgets/Makefile (tests): Change dependencies to ....
44368         (tests-special): ... additions to this variable.
44369         * conform/Makefile (tests): Change dependencies to ....
44370         (tests-special): ... additions to this variable.
44371         * elf/Makefile (tests): Change dependencies to ....
44372         (tests-special): ... additions to this variable.
44373         * grp/Makefile (tests): Change dependencies to ....
44374         (tests-special): ... additions to this variable.
44375         * iconv/Makefile (xtests): Change dependencies to ....
44376         (xtests-special): ... additions to this variable.
44377         * iconvdata/Makefile (tests): Change dependencies to ....
44378         (tests-special): ... additions to this variable.
44379         * intl/Makefile (tests): Change dependencies to ....
44380         (tests-special): ... additions to this variable.  Also add
44381         $(objpfx)tst-gettext.out.
44382         * io/Makefile (tests): Change dependencies to ....
44383         (tests-special): ... additions to this variable.
44384         * libio/Makefile (tests): Change dependencies to ....
44385         (tests-special): ... additions to this variable.
44386         * malloc/Makefile (tests): Change dependencies to ....
44387         (tests-special): ... additions to this variable.
44388         * misc/Makefile (tests): Change dependencies to ....
44389         (tests-special): ... additions to this variable.
44390         * nptl/Makefile (tests): Change dependencies to ....
44391         (tests-special): ... additions to this variable.
44392         * nptl_db/Makefile (tests): Change dependencies to ....
44393         (tests-special): ... additions to this variable.
44394         * posix/Makefile (tests): Change dependencies to ....
44395         (tests-special): ... additions to this variable.
44396         (xtests): Change dependencies to ....
44397         (xtests-special): ... additions to this variable.
44398         * resolv/Makefile (tests): Change dependencies to ....
44399         (tests-special): ... additions to this variable.
44400         (xtests): Change dependencies to ....
44401         (xtests-special): ... additions to this variable.
44402         * stdio-common/Makefile (tests): Change dependencies to ....
44403         (tests-special): ... additions to this variable.
44404         (do-tst-unbputc): Remove target.
44405         (do-tst-printf): Likewise.
44406         * stdlib/Makefile (tests): Change dependencies to ....
44407         (tests-special): ... additions to this variable.
44408         * string/Makefile (tests): Change dependencies to ....
44409         (tests-special): ... additions to this variable.
44410         * sysdeps/x86/Makefile (tests): Change dependencies to ....
44411         (tests-special): ... additions to this variable.
44413         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
44414         whole file.
44415         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
44416         whole file.
44417         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
44418         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
44420         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
44421         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
44422         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
44423         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
44424         * conform/data/libgen.h-data [XPG3]: Likewise.
44425         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
44426         * conform/data/ndbm.h-data [XPG3]: Likewise.
44427         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44428         * conform/data/netdb.h-data [XPG3]: Likewise.
44429         * conform/data/netinet/in.h-data [XPG3]: Likewise.
44430         * conform/data/poll.h-data [XPG3]: Likewise.
44431         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
44432         * conform/data/strings.h-data [XPG3]: Likewise.
44433         * conform/data/stropts.h-data [XPG3]: Likewise.
44434         * conform/data/sys/mman.h-data [XPG3]: Likewise.
44435         * conform/data/sys/resource.h-data [XPG3]: Likewise.
44436         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
44437         Likewise.
44438         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
44439         * conform/data/sys/time.h-data [XPG3]: Likewise.
44440         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
44441         * conform/data/sys/uio.h-data [XPG3]: Likewise.
44442         * conform/data/sys/un.h-data [XPG3]: Likewise.
44443         * conform/data/syslog.h-data [XPG3]: Likewise.
44444         * conform/data/ucontext.h-data [XPG3]: Likewise.
44445         * conform/data/utmpx.h-data [XPG3]: Likewise.
44446         * conform/data/varargs.h-data [UNIX98]: Enable file.
44448         * manual/Makefile (INSTALL_INFO): Remove variable setting.
44450         * math/libm-test.inc (struct test_f_f_data): Move expected results
44451         into structure for each rounding mode.
44452         (struct test_ff_f_data): Likewise.
44453         (struct test_ff_f_data_nexttoward): Likewise.
44454         (struct test_fi_f_data): Likewise.
44455         (struct test_fl_f_data): Likewise.
44456         (struct test_if_f_data): Likewise.
44457         (struct test_fff_f_data): Likewise.
44458         (struct test_c_f_data): Likewise.
44459         (struct test_f_f1_data): Likewise.
44460         (struct test_fF_f1_data): Likewise.
44461         (struct test_ffI_f1_data): Likewise.
44462         (struct test_c_c_data): Likewise.
44463         (struct test_cc_c_data): Likewise.
44464         (struct test_f_i_data): Likewise.
44465         (struct test_ff_i_data): Likewise.
44466         (struct test_f_l_data): Likewise.
44467         (struct test_f_L_data): Likewise.
44468         (struct test_fFF_11_data): Likewise.
44469         (RM_): New macro.
44470         (RM_FE_DOWNWARD): Likewise.
44471         (RM_FE_TONEAREST): Likewise.
44472         (RM_FE_TOWARDZERO): Likewise.
44473         (RM_FE_UPWARD): Likewise.
44474         (RUN_TEST_LOOP_f_f): Update references to expected results.
44475         (RUN_TEST_LOOP_2_f): Likewise.
44476         (RUN_TEST_LOOP_fff_f): Likewise.
44477         (RUN_TEST_LOOP_c_f): Likewise.
44478         (RUN_TEST_LOOP_f_f1): Likewise.
44479         (RUN_TEST_LOOP_fF_f1): Likewise.
44480         (RUN_TEST_LOOP_fI_f1): Likewise.
44481         (RUN_TEST_LOOP_ffI_f1): Likewise.
44482         (RUN_TEST_LOOP_c_c): Likewise.
44483         (RUN_TEST_LOOP_cc_c): Likewise.
44484         (RUN_TEST_LOOP_f_i): Likewise.
44485         (RUN_TEST_LOOP_f_i_tg): Likewise.
44486         (RUN_TEST_LOOP_ff_i_tg): Likewise.
44487         (RUN_TEST_LOOP_f_b): Likewise.
44488         (RUN_TEST_LOOP_f_b_tg): Likewise.
44489         (RUN_TEST_LOOP_f_l): Likewise.
44490         (RUN_TEST_LOOP_f_L): Likewise.
44491         (RUN_TEST_LOOP_fFF_11): Likewise.
44492         * math/gen-libm-test.pl (parse_args): Output four copies of
44493         expected results for each test.
44495         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
44496         (__ASSUME_UTIMES): Remove.
44497         * sysdeps/unix/sysv/linux/tile/kernel-features.h
44498         (__ASSUME_UTIMES): Likewise.
44500         * math/gen-auto-libm-tests.c: Update comment on output format.
44501         (output_for_one_input_case): Generate before-rounding and
44502         after-rounding information as conditions on output flags not
44503         floating-point format.
44504         * math/auto-libm-test-out: Regenerated.
44505         * math/gen-libm-test.pl (cond_value): New function.
44506         (or_cond_value): Use cond_value.
44507         (generate_testfile): Handle conditional exceptions.
44509 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
44511         * math/libm-test.inc (max_valid_error): New variable.
44512         (init_max_error): Take new argument specifying whether function
44513         results are exactly determined.  Set max_valid_error and bound
44514         other variables for errors based on this argument.
44515         (set_max_error): Do not record results above max_valid_error.
44516         (check_float_internal): Only accept errors of up to 0.5ulps if
44517         also at most max_valid_error.
44518         (START): Take new argument EXACT and pass it to init_max_error.
44519         (acos_test): Update call to START.
44520         (acos_test_tonearest): Likewise.
44521         (acos_test_towardzero): Likewise.
44522         (acos_test_downward): Likewise.
44523         (acos_test_upward): Likewise.
44524         (acosh_test): Likewise.
44525         (asin_test): Likewise.
44526         (asin_test_tonearest): Likewise.
44527         (asin_test_towardzero): Likewise.
44528         (asin_test_downward): Likewise.
44529         (asin_test_upward): Likewise.
44530         (asinh_test): Likewise.
44531         (atan_test): Likewise.
44532         (atanh_test): Likewise.
44533         (atan2_test): Likewise.
44534         (cabs_test): Likewise.
44535         (cacos_test): Likewise.
44536         (cacosh_test): Likewise.
44537         (carg_test): Likewise.
44538         (casin_test): Likewise.
44539         (casinh_test): Likewise.
44540         (catan_test): Likewise.
44541         (catanh_test): Likewise.
44542         (cbrt_test): Likewise.
44543         (ccos_test): Likewise.
44544         (ccosh_test): Likewise.
44545         (ceil_test): Likewise.
44546         (cexp_test): Likewise.
44547         (cimag_test): Likewise.
44548         (clog_test): Likewise.
44549         (clog10_test): Likewise.
44550         (conj_test): Likewise.
44551         (copysign_test): Likewise.
44552         (cos_test): Likewise.
44553         (cos_test_tonearest): Likewise.
44554         (cos_test_towardzero): Likewise.
44555         (cos_test_downward): Likewise.
44556         (cos_test_upward): Likewise.
44557         (cosh_test): Likewise.
44558         (cosh_test_tonearest): Likewise.
44559         (cosh_test_towardzero): Likewise.
44560         (cosh_test_downward): Likewise.
44561         (cosh_test_upward): Likewise.
44562         (cpow_test): Likewise.
44563         (cproj_test): Likewise.
44564         (creal_test): Likewise.
44565         (csin_test): Likewise.
44566         (csinh_test): Likewise.
44567         (csqrt_test): Likewise.
44568         (ctan_test): Likewise.
44569         (ctan_test_tonearest): Likewise.
44570         (ctan_test_towardzero): Likewise.
44571         (ctan_test_downward): Likewise.
44572         (ctan_test_upward): Likewise.
44573         (ctanh_test): Likewise.
44574         (ctanh_test_tonearest): Likewise.
44575         (ctanh_test_towardzero): Likewise.
44576         (ctanh_test_downward): Likewise.
44577         (ctanh_test_upward): Likewise.
44578         (erf_test): Likewise.
44579         (erfc_test): Likewise.
44580         (exp_test): Likewise.
44581         (exp_test_tonearest): Likewise.
44582         (exp_test_towardzero): Likewise.
44583         (exp_test_downward): Likewise.
44584         (exp_test_upward): Likewise.
44585         (exp10_test): Likewise.
44586         (exp10_test_tonearest): Likewise.
44587         (exp10_test_towardzero): Likewise.
44588         (exp10_test_downward): Likewise.
44589         (exp10_test_upward): Likewise.
44590         (pow10_test): Likewise.
44591         (exp2_test): Likewise.
44592         (expm1_test): Likewise.
44593         (expm1_test_tonearest): Likewise.
44594         (expm1_test_towardzero): Likewise.
44595         (expm1_test_downward): Likewise.
44596         (expm1_test_upward): Likewise.
44597         (fabs_test): Likewise.
44598         (fdim_test): Likewise.
44599         (floor_test): Likewise.
44600         (fma_test): Likewise.
44601         (fma_test_towardzero): Likewise.
44602         (fma_test_downward): Likewise.
44603         (fma_test_upward): Likewise.
44604         (fmax_test): Likewise.
44605         (fmin_test): Likewise.
44606         (fmod_test): Likewise.
44607         (fpclassify_test): Likewise.
44608         (frexp_test): Likewise.
44609         (hypot_test): Likewise.
44610         (ilogb_test): Likewise.
44611         (isfinite_test): Likewise.
44612         (finite_test): Likewise.
44613         (isgreater_test): Likewise.
44614         (isgreaterequal_test): Likewise.
44615         (isinf_test): Likewise.
44616         (isless_test): Likewise.
44617         (islessequal_test): Likewise.
44618         (islessgreater_test): Likewise.
44619         (isnan_test): Likewise.
44620         (isnormal_test): Likewise.
44621         (issignaling_test): Likewise.
44622         (isunordered_test): Likewise.
44623         (j0_test): Likewise.
44624         (j1_test): Likewise.
44625         (jn_test): Likewise.
44626         (ldexp_test): Likewise.
44627         (lgamma_test): Likewise.
44628         (gamma_test): Likewise.
44629         (lrint_test): Likewise.
44630         (lrint_test_tonearest): Likewise.
44631         (lrint_test_towardzero): Likewise.
44632         (lrint_test_downward): Likewise.
44633         (lrint_test_upward): Likewise.
44634         (llrint_test): Likewise.
44635         (llrint_test_tonearest): Likewise.
44636         (llrint_test_towardzero): Likewise.
44637         (llrint_test_downward): Likewise.
44638         (llrint_test_upward): Likewise.
44639         (log_test): Likewise.
44640         (log10_test): Likewise.
44641         (log1p_test): Likewise.
44642         (log2_test): Likewise.
44643         (logb_test): Likewise.
44644         (logb_test_downward): Likewise.
44645         (lround_test): Likewise.
44646         (llround_test): Likewise.
44647         (modf_test): Likewise.
44648         (nearbyint_test): Likewise.
44649         (nextafter_test): Likewise.
44650         (nexttoward_test): Likewise.
44651         (pow_test): Likewise.
44652         (pow_test_tonearest): Likewise.
44653         (pow_test_towardzero): Likewise.
44654         (pow_test_downward): Likewise.
44655         (pow_test_upward): Likewise.
44656         (remainder_test): Likewise.
44657         (drem_test): Likewise.
44658         (remainder_test_tonearest): Likewise.
44659         (drem_test_tonearest): Likewise.
44660         (remainder_test_towardzero): Likewise.
44661         (drem_test_towardzero): Likewise.
44662         (remainder_test_downward): Likewise.
44663         (drem_test_downward): Likewise.
44664         (remainder_test_upward): Likewise.
44665         (drem_test_upward): Likewise.
44666         (remquo_test): Likewise.
44667         (rint_test): Likewise.
44668         (rint_test_tonearest): Likewise.
44669         (rint_test_towardzero): Likewise.
44670         (rint_test_downward): Likewise.
44671         (rint_test_upward): Likewise.
44672         (round_test): Likewise.
44673         (scalb_test): Likewise.
44674         (scalbn_test): Likewise.
44675         (scalbln_test): Likewise.
44676         (signbit_test): Likewise.
44677         (sin_test): Likewise.
44678         (sin_test_tonearest): Likewise.
44679         (sin_test_towardzero): Likewise.
44680         (sin_test_downward): Likewise.
44681         (sin_test_upward): Likewise.
44682         (sincos_test): Likewise.
44683         (sinh_test): Likewise.
44684         (sinh_test_tonearest): Likewise.
44685         (sinh_test_towardzero): Likewise.
44686         (sinh_test_downward): Likewise.
44687         (sinh_test_upward): Likewise.
44688         (sqrt_test): Likewise.
44689         (sqrt_test_tonearest): Likewise.
44690         (sqrt_test_towardzero): Likewise.
44691         (sqrt_test_downward): Likewise.
44692         (sqrt_test_upward): Likewise.
44693         (tan_test): Likewise.
44694         (tan_test_tonearest): Likewise.
44695         (tan_test_towardzero): Likewise.
44696         (tan_test_downward): Likewise.
44697         (tan_test_upward): Likewise.
44698         (tanh_test): Likewise.
44699         (tgamma_test): Likewise.
44700         (trunc_test): Likewise.
44701         (y0_test): Likewise.
44702         (y1_test): Likewise.
44703         (yn_test): Likewise.
44704         (significand_test): Likewise.
44706         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
44707         individual tests in comment.
44708         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
44709         (prev_max_error): New variable.
44710         (prev_real_max_error): Likewise.
44711         (prev_imag_max_error): Likewise.
44712         (compare_ulp_data): Don't refer to test names in comment.
44713         (find_test_ulps): Remove function.
44714         (find_function_ulps): Likewise.
44715         (find_complex_function_ulps): Likewise.
44716         (init_max_error): Take function name as argument.  Look up ulps
44717         for that function.
44718         (print_ulps): Remove function.
44719         (print_max_error): Use prev_max_error instead of calling
44720         find_function_ulps.
44721         (print_complex_max_error): Use prev_real_max_error and
44722         prev_imag_max_error instead of calling find_complex_function_ulps.
44723         (check_float_internal): Take max_ulp parameter instead of calling
44724         find_test_ulps.  Don't call print_ulps.
44725         (check_float): Update call to check_float_internal.
44726         (check_complex): Update calls to check_float_internal.
44727         (START): Pass argument to init_max_error.
44728         * math/gen-libm-test.pl (%results): Don't include "kind"
44729         information.
44730         (parse_ulps): Don't handle ulps of individual tests.
44731         (print_ulps_file): Likewise.
44732         (output_ulps): Likewise.
44733         * math/README.libm-test: Update.
44734         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
44735         individual tests.
44736         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
44737         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
44738         * sysdeps/arm/libm-test-ulps: Likewise.
44739         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
44740         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
44741         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
44742         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
44743         * sysdeps/microblaze/libm-test-ulps: Likewise.
44744         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
44745         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
44746         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44747         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
44748         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44749         * sysdeps/sh/libm-test-ulps: Likewise.
44750         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44751         * sysdeps/tile/libm-test-ulps: Likewise.
44752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44754 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
44756         * math/libm-test.inc (print_complex_max_error): Check separately
44757         whether real and imaginary errors are within allowed range and
44758         pass 0 to print_complex_function_ulps instead of value within
44759         allowed range.
44761 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44763         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
44764         formatting.
44765         (get_handles_fopen): Likewise.
44766         (do_write_test): Likewise.
44768         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
44770         * libio/fileops.c (do_ftell): Use cached offset when
44771         available.
44772         * libio/iofwide.c (do_ftell_wide): Likewise.
44773         * libio/iofdopen.c (_IO_new_fdopen): Don't use
44774         _IO_file_attach.
44775         * libio/wfileops.c (_IO_fwide): Don't cache offset.
44777         [BZ #16532]
44778         * libio/libioP.h (get_file_offset): New function.
44779         * libio/fileops.c (get_file_offset): Likewise.
44780         (do_ftell): Likewise.
44781         (_IO_new_file_seekoff): Split out ftell logic.
44782         * libio/wfileops.c (do_ftell_wide): Likewise.
44783         (_IO_wfile_seekoff): Split out ftell logic.
44784         * libio/tst-ftell-active-handler.c: New test case.
44785         * libio/Makefile (tests): Add it.
44787 2014-03-03  Roland McGrath  <roland@hack.frob.com>
44789         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
44790         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
44792 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
44794         [BZ #16639]
44795         * nscd/connections.c (nscd_init): Call do_exit.
44796         (start_threads): Call do_exit and notify_parent.
44797         (begin_drop_privileges): Call do_exit.
44798         (finish_drop_privileges): Likewise.
44799         * nscd/selinux.c (preserve_capabilities): Likewise.
44800         (install_real_capabilities): Likewise.
44801         (nscd_selinux_enabled): Likewise.
44802         (avc_create_thread): Likewise.
44803         (avc_alloc_lock): Likewise.
44804         (nscd_avc_init): Likewise.
44805         * nscd/nscd.c (parent_fd): New static variable.
44806         (main): Create a pipe between parent and child processes.
44807         Skip closing parent_fd.
44808         (monitor_child): New function.
44809         (do_exit): Likewise.
44810         (notify_parent): Likewise.
44811         * nscd/nscd.h (notify_parent): Likewise.
44812         (do_exit): Likewise.
44814 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
44816         * malloc/malloc.c (__libc_calloc): Revert last change.
44818 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44822 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44824         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
44825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
44826         implementation.
44827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44828         (__libc_ifunc_impl_list): Likewise.
44829         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
44830         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
44831         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
44832         * string/strrchr.c: Define STRRCHR.
44834 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
44836         * benchtest/bench-strtok.c (simple_strtok): Delete.
44837         (strtok_string): Use as benchmark.
44838         * string/strtok (STRTOK): New macro.
44840 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
44842         * manual/threads.texi: Add header and standard comments to all
44843         functions.
44845         * elf/dl-lookup.c (check_match): New function.
44846         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
44847         (do_lookup_x): Remove nested function check_match. Use non-nested
44848         function check_match.
44850 2014-02-28  Roland McGrath  <roland@hack.frob.com>
44852         * csu/Makefile (generated, before-compile): Use += rather than =.
44853         * catgets/Makefile (generated, generated-dirs): Likewise.
44854         * debug/Makefile (generated): Likewise.
44855         * dlfcn/Makefile (generated): Likewise.
44856         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
44857         * iconvdata/Makefile (before-compile, generated): Likewise.
44858         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
44859         * libio/Makefile (generated): Likewise.
44860         * malloc/Makefile (generated): Likewise.
44861         * manual/Makefile (generated, generated-dirs): Likewise.
44862         * misc/Makefile (generated): Likewise.
44863         * posix/Makefile (generated): Likewise.
44864         * resolv/Makefile (generated): Likewise.
44865         * sunrpc/Makefile (generated, generated-dirs): Likewise.
44866         * timezone/Makefile (generated, generated-dirs): Likewise.
44868         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
44870 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44873         power8 implementation.
44874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
44875         file: POWER8 llround ifunc implementation.
44876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
44877         (__lllround): Add POWER8 implementation.
44878         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
44879         POWER8 llround implementation.
44881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
44882         power8 implementation.
44883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
44884         file: POWER8 llrint ifunc implementation.
44885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
44886         Add POWER8 implementation.
44887         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
44888         POWER8 llrint implementation.
44890         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
44891         power8 implementation.
44892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
44893         file: POWER8 finite ifunc implementation.
44894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
44895         Add POWER8 implementation.
44896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
44897         Likewise.
44898         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
44899         POWER8 finite implementation.
44900         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
44902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
44903         power8 implementation.
44904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
44905         file: POWER8 isinf ifunc implementation.
44906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
44907         POWER8 implementation.
44908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
44909         Likewise.
44910         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
44911         isinf implementation.
44912         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
44914         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
44915         (INIT_ARCH): Add hwcap2 initialization.
44916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44917         power8 implementation.
44918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
44919         file: POWER8 isnan ifunc implementation.
44920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
44921         POWER8 implementation.
44922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
44923         Likewise.
44924         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
44925         isnan implementation.
44926         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
44928 2014-02-27  Joey Ye  <joey.ye@arm.com>
44930         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44931         (_FP_NANFRAC_Q): Set to zero.
44933 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44935         [BZ #16623]
44936         * math/auto-libm-test-in: New test inputs.
44937         * math/auto-libm-test-out: Regenerate.
44938         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
44939         and DA.
44940         (__cos): Likewise.
44941         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
44943 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
44945         * scripts/evaluate-test.sh: Take new argument indicating whether
44946         failure is expected.
44947         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
44948         indicating whether failure is expected.
44949         * conform/Makefile (test-xfail-run-conformtest): New variable.
44950         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
44951         level.
44952         * posix/Makefile (test-xfail-annexc): New variable.
44953         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
44955 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
44957         * argp/Makefile: Include Makeconfig immediately after defining
44958         subdir.
44959         * assert/Makefile: Likewise.
44960         * benchtests/Makefile: Likewise.
44961         * catgets/Makefile: Likewise.
44962         * conform/Makefile: Likewise.
44963         * crypt/Makefile: Likewise.
44964         * csu/Makefile: Likewise.
44965         (all): Remove target.
44966         * ctype/Makefile: Include Makeconfig immediately after defining
44967         subdir.
44968         * debug/Makefile: Likewise.
44969         * dirent/Makefile: Likewise.
44970         * dlfcn/Makefile: Likewise.
44971         * gmon/Makefile: Likewise.
44972         * gnulib/Makefile: Likewise.
44973         * grp/Makefile: Likewise.
44974         * gshadow/Makefile: Likewise.
44975         * hesiod/Makefile: Likewise.
44976         * hurd/Makefile: Likewise.
44977         (all): Remove target.
44978         * iconvdata/Makefile: Include Makeconfig immediately after
44979         defining subdir.
44980         * inet/Makefile: Likewise.
44981         * intl/Makefile: Likewise.
44982         * io/Makefile: Likewise.
44983         * libio/Makefile: Likewise.
44984         (all): Remove target.
44985         * locale/Makefile: Include Makeconfig immediately after defining
44986         subdir.
44987         * login/Makefile: Likewise.
44988         * mach/Makefile: Likewise.
44989         (all): Remove target.
44990         * malloc/Makefile: Include Makeconfig immediately after defining
44991         subdir.
44992         (all): Remove target.
44993         * manual/Makefile: Include Makeconfig immediately after defining
44994         subdir.
44995         * math/Makefile: Likewise.
44996         * misc/Makefile: Likewise.
44997         * nis/Makefile: Likewise.
44998         * nss/Makefile: Likewise.
44999         * po/Makefile: Likewise.
45000         (all): Remove target.
45001         * posix/Makefile: Include Makeconfig immediately after defining
45002         subdir.
45003         * pwd/Makefile: Likewise.
45004         * resolv/Makefile: Likewise.
45005         * resource/Makefile: Likewise.
45006         * rt/Makefile: Likewise.
45007         * setjmp/Makefile: Likewise.
45008         * shadow/Makefile: Likewise.
45009         * signal/Makefile: Likewise.
45010         * socket/Makefile: Likewise.
45011         * soft-fp/Makefile: Likewise.
45012         * stdio-common/Makefile: Likewise.
45013         * stdlib/Makefile: Likewise.
45014         * streams/Makefile: Likewise.
45015         * string/Makefile: Likewise.
45016         * sunrpc/Makefile: Likewise.
45017         (all): Remove target.
45018         * sysvipc/Makefile: Include Makeconfig immediately after defining
45019         subdir.
45020         * termios/Makefile: Likewise.
45021         * time/Makefile: Likewise.
45022         * timezone/Makefile: Likewise.
45023         (all): Remove target.
45024         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45025         subdir.
45026         * wctype/Makefile: Likewise.
45028 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45030         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45031         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45032         (libc_feholdexcept_setround_mips): Ditto.
45033         (libc_feholdsetround): New.
45034         (libc_feholdsetroundf): New.
45035         (libc_feholdsetroundl): New.
45036         (libc_feupdateenv_test_mips): New.
45037         (libc_feupdateenv_test): New.
45038         (libc_feupdateenv_testf): New.
45039         (libc_feupdateenv_testl): New.
45040         (libc_feresetround): New.
45041         (libc_feresetroundf): New.
45042         (libc_feresetroundl): New.
45043         (libc_fetestexcept_mips): New.
45044         (libc_fetestexcept): New.
45045         (libc_fetestexceptf): New.
45046         (libc_fetestexceptl): New.
45047         (HAVE_RM_CTX): New.
45048         (libc_feholdexcept_setround_mips_ctx): New.
45049         (libc_feholdexcept_setround_ctx): New.
45050         (libc_feholdexcept_setroundf_ctx): New.
45051         (libc_feholdexcept_setroundl_ctx): New.
45052         (libc_fesetenv_mips_ctx): New.
45053         (libc_fesetenv_ctx): New.
45054         (libc_fesetenv_ctxf): New.
45055         (libc_fesetenv_ctxl): New.
45056         (libc_feupdateenv_mips_ctx): New.
45057         (libc_feupdateenv_ctx): New.
45058         (libc_feupdateenvf_ctx): New.
45059         (libc_feupdateenvl_ctx): New.
45060         (libc_feholdsetround_mips_ctx): New.
45061         (libc_feholdsetround_ctx): New.
45062         (libc_feholdsetroundf_ctx): New.
45063         (libc_feholdsetroundl_ctx): New.
45064         (libc_feresetround_mips_ctx): New.
45065         (libc_feresetround_ctx): New.
45066         (libc_feresetroundf_ctx): New.
45067         (libc_feresetroundl_ctx): New.
45069 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45071         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45073         * manual/ipc.texi: New file.
45074         * manual/Makefile (chapters): Add ipc.
45075         * manual/job.texi: Add "Inter-Process Communication" to next.
45076         * manual/process.texi: Add "Inter-Process Communication" to prev.
45078 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45082 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45084         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45086         * manual/arith.texi: Fix spaces after sentences.
45087         * manual/charset.texi: Likewise.
45088         * manual/errno.texi: Likewise.
45089         * manual/install.texi: Likewise.
45090         * manual/llio.texi: Likewise.
45091         * manual/locale.texi: Likewise.
45092         * manual/maint.texi: Likewise.
45093         * manual/math.texi: Likewise.
45094         * manual/memory.texi: Likewise.
45095         * manual/message.texi: Likewise.
45096         * manual/probes.texi: Likewise.
45097         * manual/resource.texi: Likewise.
45098         * manual/signal.texi: Likewise.
45099         * manual/socket.texi: Likewise.
45100         * manual/stdio.texi: Likewise.
45101         * manual/string.texi: Likewise.
45102         * manual/time.texi: Likewise.
45103         * manual/users.texi: Likewise.
45105 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45107         [BZ #16632]
45108         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45109         _DEFAULT_SOURCE is defined.
45111 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45112             Carlos O'Donell  <carlos@redhat.com>
45114         [BZ #16613]
45115         * elf/dl-tls.c (_dl_count_modids): New function.
45116         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45117         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45118         audit library and increment generation counter.
45119         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45120         * elf/tst-audit9.c: New file.
45121         * elf/tst-auditmod9a.c: New file.
45122         * elf/tst-auditmod9b.c: New file.
45123         * elf/Makefile: Add rules to build and run tst-audit9.
45125 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45127         [BZ #15347]
45128         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45130 2014-02-25  Will Newton  <will.newton@linaro.org>
45132         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45133         (__longjmp): Restore sp and lr before restoring callee
45134         saved registers.  Add longjmp and longjmp_target
45135         SystemTap probe point.
45136         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
45137         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
45138         Define to zero to match jmpbuf layout.
45139         * sysdeps/arm/setjmp.S: Include stap-probe.h.
45140         (__sigsetjmp): Save sp and lr before saving callee
45141         saved registers.  Add setjmp SystemTap probe point.
45143 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
45145         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45147 2014-02-24  Andreas Schwab  <schwab@suse.de>
45149         [BZ #15804]
45150         * elf/pldd.c (wait_for_ptrace_stop): New function.
45151         (main): Call it after attaching.
45153 2014-02-22  Roland McGrath  <roland@hack.frob.com>
45155         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
45156         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
45157         Versions files is now verboten.
45158         * hurd/Versions (libc: GLIBC_2.0):
45159         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
45160         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
45161         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
45162         * mach/Versions: Likewise.
45164         * csu/Versions: Remove unused %include.
45165         * resolv/Versions: Likewise.
45167 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
45169         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
45170         ($(objpfx)check-local-headers.out): Likewise.
45171         ($(objpfx)begin-end-check.out): Likewise.
45172         * Makerules (check-abi-%.out): Likewise.
45173         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
45174         ($(objpfx)test2.cat): Likewise.
45175         ($(objpfx)de/libc.cat): Likewise.
45176         ($(objpfx)test-gencat.out): Likewise.
45177         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
45178         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
45179         ($(objpfx)noload-mem): Likewise.
45180         ($(objpfx)tst-pathopt.out): Likewise.
45181         ($(objpfx)tst-rtld-load-self.out): Likewise.
45182         ($(objpfx)tst-array1-cmp.out): Likewise.
45183         ($(objpfx)tst-array1-static-cmp.out): Likewise.
45184         ($(objpfx)tst-array2-cmp.out): Likewise.
45185         ($(objpfx)tst-array3-cmp.out): Likewise.
45186         ($(objpfx)tst-array4-cmp.out): Likewise.
45187         ($(objpfx)tst-array5-cmp.out): Likewise.
45188         ($(objpfx)tst-array5-static-cmp.out): Likewise.
45189         ($(objpfx)check-textrel.out): Likewise.
45190         ($(objpfx)check-execstack.out): Likewise.
45191         ($(objpfx)check-localplt.out): Likewise.
45192         ($(objpfx)order2-cmp.out): Likewise.
45193         ($(objpfx)tst-leaks1-mem): Likewise.
45194         ($(objpfx)tst-leaks1-static-mem): Likewise.
45195         ($(objpfx)tst-initorder-cmp.out): Likewise.
45196         ($(objpfx)tst-initorder2-cmp.out): Likewise.
45197         ($(objpfx)tst-unused-dep.out): Likewise.
45198         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
45199         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
45200         * iconv/Makefile (test-iconvconfig): Likewise.
45201         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
45202         ($(objpfx)iconv-test.out): Likewise.
45203         ($(objpfx)tst-tables.out): Likewise.
45204         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
45205         ($(objpfx)tst-gettext.out): Likewise.
45206         ($(objpfx)tst-translit.out): Likewise.
45207         ($(objpfx)tst-gettext2.out): Likewise.
45208         ($(objpfx)tst-gettext4.out): Likewise.
45209         ($(objpfx)tst-gettext6.out): Likewise.
45210         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
45211         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
45212         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
45213         ($(objpfx)tst-fopenloc-mem.out): Likewise.
45214         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
45215         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
45216         * posix/Makefile ($(objpfx)globtest.out): Likewise.
45217         ($(objpfx)wordexp-tst.out): Likewise.
45218         ($(objpfx)annexc.out): Likewise.
45219         ($(objpfx)tst-fnmatch-mem): Likewise.
45220         ($(objpfx)bug-regex2-mem): Likewise.
45221         ($(objpfx)bug-regex14-mem): Likewise.
45222         ($(objpfx)bug-regex21-mem): Likewise.
45223         ($(objpfx)bug-regex31-mem): Likewise.
45224         ($(objpfx)tst-vfork3-mem): Likewise.
45225         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45226         ($(objpfx)tst-pcre-mem): Likewise.
45227         ($(objpfx)tst-boost-mem): Likewise.
45228         ($(objpfx)tst-getconf.out): Likewise.
45229         ($(objpfx)bug-ga2-mem): Likewise.
45230         ($(objpfx)bug-glob2-mem): Likewise.
45231         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
45232         ($(objpfx)mtrace-tst-leaks2): Likewise.
45233         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
45234         ($(objpfx)tst-printf.out): Likewise.
45235         ($(objpfx)tst-setvbuf1.out): Likewise.
45236         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
45237         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
45238         ($(objpfx)tst-fmtmsg.out): Likewise.
45239         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
45240         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
45242         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
45243         * bits/sigaction.h [__USE_MISC]: Likewise.
45244         * bits/waitstatus.h: Update #endif comments.
45245         * ctype/ctype.h: Likewise.
45246         * dirent/dirent.h: Likewise.
45247         [__USE_MISC]: Remove redundant conditionals.
45248         * grp/grp.h: Update #endif comments.
45249         [__USE_GNU]: Remove redundant conditionals.
45250         [__USE_MISC]: Likewise.
45251         * inet/netinet/in.h [__USE_GNU]: Likewise.
45252         * io/sys/stat.h [__USE_MISC]: Likewise.
45253         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
45254         * libio/bits/stdio.h: Update #endif comments.
45255         [__USE_MISC]: Remove redundant conditionals.
45256         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
45257         * libio/stdio.h: Update #endif comments.
45258         [__USE_MISC]: Remove redundant conditionals.
45259         * math/bits/math-finite.h [__USE_MISC]: Likewise.
45260         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
45261         * math/math.h: Update #else and #endif comments.
45262         [__USE_MISC]: Remove redundant conditionals.
45263         * misc/sys/uio.h: Update #endif comments.
45264         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
45265         * posix/glob.h [__USE_MISC]: Likewise.
45266         * posix/sys/types.h: Update #endif comments.
45267         [__USE_MISC]: Remove redundant conditionals.
45268         * posix/sys/wait.h: Update #endif comments.
45269         [__USE_MISC]: Remove redundant conditionals.
45270         * posix/unistd.h: Update #endif comments.
45271         [__USE_MISC]: Remove redundant conditionals.
45272         * pwd/pwd.h [__USE_GNU]: Likewise.
45273         [__USE_MISC]: Likewise.
45274         * resolv/netdb.h [__USE_GNU]: Likewise.
45275         * signal/signal.h: Update #endif comments.
45276         [__USE_MISC]: Remove redundant conditionals.
45277         * stdlib/stdlib.h: Update #else and #endif comments.
45278         [__USE_MISC]: Remove redundant conditionals.
45279         [__USE_GNU]: Likewise.
45280         * string/bits/string2.h [__USE_MISC]: Likewise.
45281         * string/string.h: Update #endif comments.
45282         [__USE_MISC]: Remove redundant conditionals.
45283         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
45284         Likewise.
45285         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
45286         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
45287         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
45288         Likewise.
45289         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
45290         Likewise.
45291         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
45292         comments.
45293         [__USE_MISC]: Remove redundant conditionals.
45294         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
45295         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
45296         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
45297         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
45298         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
45299         Likewise.
45300         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
45301         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
45302         Likewise.
45303         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
45304         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
45305         Likewise.
45306         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
45307         Likewise.
45308         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
45309         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
45310         Likewise.
45311         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
45312         Likewise.
45313         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
45314         * sysdeps/x86/bits/string.h: Update #endif comments.
45315         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
45316         conditionals.
45317         * time/sys/time.h: Update #endif comments.
45318         * time/time.h: Likewise.
45319         [__USE_MISC]: Remove redundant conditionals.
45321 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
45323         [BZ #16600]
45324         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
45326 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
45328         * Versions.def (librt): Add GLIBC_2.17.
45330 2014-02-21  Adam Conrad  <adconrad@0c3.net>
45332         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
45333         synonym for _SYS_AUXV_H to allow direct inclusion.
45334         * sysdeps/sparc/bits/hwcap.h: Likewise.
45335         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
45336         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
45337         * sysdeps/sparc/sysdep.h: Likewise.
45339 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45341         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
45343 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45345         * benchtests/bench-strrchr.c: Print length instead of position.
45347 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
45349         [BZ #16611]
45350         * sysdeps/unix/sysv/linux/kernel-features.h
45351         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
45352         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
45353         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
45354         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
45355         Likewise.
45356         [__i386__ || __powerpc__ || __sh__ || __sparc__]
45357         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45358         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
45359         (__ASSUME_SENDMMSG): Define instead of using previous
45360         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
45361         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45362         (__ASSUME_SENDMMSG_SYSCALL): Define.
45363         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45364         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
45365         Likewise.
45366         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45367         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45368         Likewise.
45369         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45370         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45371         Likewise.
45372         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
45373         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45374         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45375         [__ASSUME_SENDMMSG]: Change conditionals to
45376         [__ASSUME_SENDMMSG_SOCKETCALL].
45377         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45378         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
45379         Define.
45380         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45381         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
45382         Likewise.
45383         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
45384         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
45385         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
45386         [!__ASSUME_SENDMMSG]: Change conditional to
45387         [!__ASSUME_SENDMMSG_SOCKETCALL].
45388         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45389         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
45390         Define.
45392         [BZ #16610]
45393         * sysdeps/unix/sysv/linux/kernel-features.h
45394         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
45395         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
45396         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
45397         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
45398         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
45399         [__i386__ || __sparc__]
45400         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45401         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
45402         (__ASSUME_RECVMMSG): Define instead of using previous
45403         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
45404         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45405         (__ASSUME_RECVMMSG_SYSCALL): Define.
45406         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45407         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45408         Likewise.
45409         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45410         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45411         Likewise.
45412         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45413         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45414         Likewise.
45415         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
45416         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45417         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45418         [__ASSUME_RECVMMSG]: Change condition to
45419         [__ASSUME_RECVMMSG_SOCKETCALL].
45420         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45421         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45422         Define.
45423         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
45424         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45425         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
45426         Likewise.
45427         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
45428         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
45429         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
45430         [!__ASSUME_RECVMMSG]: Change condition to
45431         [!__ASSUME_RECVMMSG_SOCKETCALL].
45432         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45433         (__ASSUME_RECVMMSG_SYSCALL): Define.
45435         [BZ #16609]
45436         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
45437         __powerpc__ || __s390__ || __sh__ || __sparc__]
45438         (__ASSUME_SOCKETCALL): Define.
45439         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
45440         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
45441         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
45442         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
45443         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45444         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
45445         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
45446         (__ASSUME_ACCEPT4): Define instead of using previous
45447         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
45448         __powerpc__ || __sparc__ || __s390__)] condition.
45449         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45450         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45451         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
45452         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45453         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45454         [!__ASSUME_ACCEPT4]: Change condition to
45455         [!__ASSUME_ACCEPT4_SOCKETCALL].
45456         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45457         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
45458         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
45459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45460         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
45461         __ASSUME_ACCEPT4_SYSCALL.
45462         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
45463         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
45464         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45465         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
45466         __ASSUME_ACCEPT4_SYSCALL.
45467         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
45468         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
45469         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
45470         [__ASSUME_ACCEPT4]: Change condition to
45471         [__ASSUME_ACCEPT4_SOCKETCALL].
45472         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45473         (__ASSUME_SOCKETCALL): Define.
45474         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
45475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45476         (__ASSUME_SOCKETCALL): Define.
45477         (__ASSUME_ACCEPT4): Remove.
45478         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
45479         Define.
45480         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45481         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
45482         Likewise.
45483         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45484         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
45486         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
45487         macro.
45488         (HWCAP_ARM_LPAE): Likewise.
45489         (HWCAP_ARM_EVTSTRM): Likewise.
45490         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
45491         Add vpfd32, lpae and evtstrm.
45492         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
45493         Increase to 22.
45495 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
45497         * math/auto-libm-test-in: Add tests of clog10.
45498         * math/auto-libm-test-out: Regenerated.
45499         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
45500         * sysdeps/i386/fpu/libm-test-ulps: Update.
45501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45503 2014-02-18  Andreas Schwab  <schwab@suse.de>
45505         [BZ #16574]
45506         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
45507         Store non-zero if the second buffer was newly allocated.
45508         (send_dg): Likewise.
45509         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
45510         to send_vc and send_dg.
45511         (res_nsend): Pass NULL for ansp2_malloced.
45512         * resolv/res_query.c (__libc_res_nquery): Add parameter
45513         answerp2_malloced and pass it down to __libc_res_nsend.
45514         (res_nquery): Pass additional NULL to __libc_res_nquery.
45515         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
45516         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
45517         second answer buffer if answerp2_malloced was set.
45518         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
45519         (__libc_res_nquerydomain): Add parameter
45520         answerp2_malloced and pass it down to __libc_res_nquery.
45521         (res_nquerydomain): Pass additional NULL to
45522         __libc_res_nquerydomain.
45523         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
45524         additional NULL to __libc_res_nsend and __libc_res_nquery.
45525         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
45526         additional NULL to __libc_res_nsearch.
45527         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
45528         parameter of __libc_res_nsearch to check for separately allocated
45529         second buffer.
45530         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
45531         __libc_res_nquery.
45532         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
45533         additional NULL to __libc_res_nquery.
45534         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
45535         __libc_res_nsearch.
45536         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
45537         * include/resolv.h: Update prototypes of __libc_res_nquery,
45538         __libc_res_nsearch, __libc_res_nsend.
45540 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
45542         * math/auto-libm-test-in: Add tests of fma.
45543         * math/auto-libm-test-out: Regenerated.
45544         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
45545         (fma_towardzero_test_data): Likewise.
45546         (fma_downward_test_data): Likewise.
45547         (fma_upward_test_data): Likewise.
45548         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
45549         mpc_mode.
45550         (rounding_modes): Add values for new field.
45551         (func_calc_method): Add value mpfr_fff_f.
45552         (func_calc_desc): Add mpfr_fff_f union field.
45553         (test_function): Add field exact_args.
45554         (FUNC): Add macro argument EXACT_ARGS.
45555         (FUNC_mpfr_f_f): Update call to FUNC.
45556         (FUNC_mpfr_f_f): Likewise.
45557         (FUNC_mpfr_ff_f): Likewise.
45558         (FUNC_mpfr_if_f): Likewise.
45559         (FUNC_mpc_c_f): Likewise.
45560         (FUNC_mpc_c_c): Likewise.
45561         (test_functions): Add fma.  Update calls to FUNC.
45562         (handle_input_arg): Add argument exact_args.
45563         (add_test): Update call to handle_input_arg.
45564         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
45565         (output_for_one_input_case): Update call to calc_generic_results.
45566         Recalculate exact zero results in each rounding mode.
45568         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
45569         non-negative before setting low bit.
45570         * math/auto-libm-test-in: Mark one asin test possibly having
45571         spurious underflow.
45572         * math/auto-libm-test-out: Regenerated.
45573         * sysdeps/i386/fpu/libm-test-ulps: Update.
45574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45576 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
45578         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
45579         * sysdeps/unix/sysv/linux/microblaze: Move directory from
45580         ports/sysdeps/unix/sysv/linux/microblaze.
45581         * README: Add missing listing for microblaze*-*-linux-gnu.
45583 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
45585         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
45586         duplicate code
45588 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
45590         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
45591         * sysdeps/unix/sysv/linux/ia64: Move directory from
45592         ports/sysdeps/unix/sysv/linux/ia64.
45593         * README: Update listing for ia64-*-linux-gnu.
45595 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
45596             Joseph Myers  <joseph@codesourcery.com>
45598         * Makeconfig (test-name): New variable.
45599         (evaluate-test): Likewise.
45600         * Makerules (do-test-clean): Remove .test-result files.
45601         (common-mostlyclean): Likewise.
45602         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
45603         * scripts/evaluate-test.sh: New file.
45605 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
45607         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
45608         separate $(objpfx)tst-fopenloc-cmp.out and
45609         $(objpfx)tst-fopenloc-mem.out targets.
45610         (tests): Update dependencies.
45611         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
45612         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
45613         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
45614         (tst-rxspencer-no-utf8-ARGS): New variable.
45615         (tst-rxspencer-no-utf8-ENV): Likewise.
45616         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
45617         instead of $(objpfx)tst-rxspencer-mem.
45618         ($(objpfx)tst-rxspencer-mem): Change target to
45619         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
45620         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
45621         * posix/tst-rxspencer-no-utf8.c: New file.
45623         * elf/Makefile ($(objpfx)order.out): Remove rule.
45624         [$(run-built-tests) = yes] (tests): Depend on
45625         $(objpfx)order-cmp.out.
45626         ($(objpfx)order-cmp.out): New rule.
45627         [$(run-built-tests) = yes] (tests): Depend on
45628         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
45629         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
45630         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
45631         $(objpfx)tst-array5-static-cmp.out.
45632         ($(objpfx)tst-array1.out): Remove rule.
45633         ($(objpfx)tst-array1-cmp.out): New rule.
45634         ($(objpfx)tst-array1-static.out): Remove rule.
45635         ($(objpfx)tst-array1-static-cmp.out): New rule.
45636         ($(objpfx)tst-array2.out): Remove rule.
45637         ($(objpfx)tst-array2-cmp.out): New rule.
45638         ($(objpfx)tst-array3.out): Remove rule.
45639         ($(objpfx)tst-array3-cmp.out): New rule.
45640         ($(objpfx)tst-array4.out): Remove rule.
45641         ($(objpfx)tst-array4-cmp.out): New rule.
45642         ($(objpfx)tst-array5.out): Remove rule.
45643         ($(objpfx)tst-array5-cmp.out): New rule.
45644         ($(objpfx)tst-array5-static.out): Remove rule.
45645         ($(objpfx)tst-array5-static-cmp.out): New rule.
45646         [$(run-built-tests) = yes] (tests): Depend on
45647         $(objpfx)order2-cmp.out.
45648         ($(objpfx)order2.out): Remove rule.
45649         ($(objpfx)order2-cmp.out): New rule.
45650         ($(objpfx)tst-initorder.out): Remove rule.
45651         [$(run-built-tests) = yes] (tests): Depend on
45652         $(objpfx)tst-initorder-cmp.out.
45653         ($(objpfx)tst-initorder-cmp.out): New rule.
45654         ($(objpfx)tst-initorder2.out): Remove rule.
45655         [$(run-built-tests) = yes] (tests): Depend on
45656         $(objpfx)tst-initorder2-cmp.out.
45657         ($(objpfx)tst-initorder2-cmp.out): New rule.
45658         [$(run-built-tests) = yes] (tests): Depend on
45659         $(objpfx)tst-unused-dep-cmp.out.
45660         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
45661         ($(objpfx)tst-unused-dep-cmp.out): New rule.
45662         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
45663         on $(objpfx)tst-setvbuf1-cmp.out.
45664         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
45665         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
45666         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
45667         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
45668         ($(objpfx)tst-svc.out): Remove rule.
45669         ($(objpfx)tst-svc-cmp.out): New rule.
45671 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
45673         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
45674         * ctype/ctype.h [__USE_MISC]: Likewise.
45675         * dirent/dirent.h [__USE_MISC]: Likewise.
45676         * grp/grp.h [__USE_MISC]: Likewise.
45677         * io/fcntl.h [__USE_MISC]: Likewise.
45678         * io/sys/stat.h [__USE_MISC]: Likewise.
45679         * libio/stdio.h [__USE_MISC]: Likewise.
45680         * posix/unistd.h [__USE_MISC]: Likewise.
45681         * pwd/pwd.h [__USE_MISC]: Likewise.
45682         * stdlib.h [__USE_MISC]: Likewise.
45683         * string/bits/string2.h [__USE_MISC]: Likewise.
45684         * string/string.h [__USE_MISC]: Likewise.
45685         * time/time.h [__USE_MISC]: Likewise.
45687 2014-02-13  Andreas Schwab  <schwab@suse.de>
45689         [BZ #16574]
45690         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
45691         second answer buffer if it was separately allocated.
45693 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
45695         * sysdeps/mips/math-tests.h: Include <features.h>.
45696         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45697         (ROUNDING_TESTS_long_double): Do not define.
45698         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
45699         (EXCEPTION_TESTS_long_double): Likewise.
45700         * sysdeps/mips/mips64/libm-test-ulps: Update.
45702         * include/features.h (__USE_BSD): Remove macro definitions.
45703         (__USE_SVID): Likewise.
45704         (_BSD_SOURCE): Likewise.
45705         (_SVID_SOURCE): Likewise.
45706         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
45707         from definition of _DEFAULT_SOURCE.
45708         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
45709         [_DEFAULT_SOURCE].
45710         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
45711         * bits/mman.h [__USE_BSD]: Likewise.
45712         * bits/termios.h [__USE_BSD]: Likewise.
45713         * bits/waitstatus.h [__USE_BSD]: Likewise.
45714         * ctype/ctype.h [__USE_SVID]: Likewise.
45715         * dirent/dirent.h [__USE_BSD]: Likewise.
45716         * grp/grp.h [__USE_SVID]: Likewise.
45717         [__USE_BSD]: Likewise.
45718         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
45719         * io/fcntl.h [__USE_BSD]: Likewise.
45720         * io/ftw.h [__USE_BSD]: Likewise.
45721         * io/sys/stat.h [__USE_BSD]: Likewise.
45722         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
45723         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
45724         * libio/stdio.h [__USE_SVID]: Likewise.
45725         [__USE_BSD]: Likewise.
45726         * math/math.h [__USE_SVID]: Likewise.
45727         [__USE_BSD]: Likewise.
45728         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
45729         * misc/bits/syslog.h [__USE_BSD]: Likewise.
45730         * misc/search.h [__USE_SVID]: Likewise.
45731         * misc/sys/mman.h [__USE_BSD]: Likewise.
45732         * misc/sys/syslog.h [__USE_BSD]: Likewise.
45733         * misc/sys/uio.h [__USE_BSD]: Likewise.
45734         * posix/bits/unistd.h [__USE_BSD]: Likewise.
45735         * posix/glob.h [__USE_BSD]: Likewise.
45736         * posix/regex.h [__USE_BSD]: Likewise.
45737         * posix/sys/types.h [__USE_BSD]: Likewise.
45738         [__USE_SVID]: Likewise.
45739         * posix/sys/utsname.h [__USE_SVID]: Likewise.
45740         * posix/sys/wait.h [__USE_BSD]: Likewise.
45741         [__USE_SVID]: Likewise.
45742         * posix/unistd.h [__USE_BSD]: Likewise.
45743         [__USE_SVID]: Likewise.
45744         * pwd/pwd.h [__USE_SVID]: Likewise.
45745         * resolv/netdb.h [__USE_BSD]: Likewise.
45746         * setjmp/setjmp.h [__USE_BSD]: Likewise.
45747         * signal/signal.h [__USE_BSD]: Likewise.
45748         [__USE_SVID]: Likewise.
45749         * socket/sys/socket.h [__USE_BSD]: Likewise.
45750         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
45751         * stdlib/stdlib.h [__USE_BSD]: Likewise.
45752         [__USE_SVID]: Likewise.
45753         * string/bits/string2.h [__USE_BSD]: Likewise.
45754         [__USE_SVID]: Likewise.
45755         * string/bits/string3.h [__USE_BSD]: Likewise.
45756         * string/endian.h [__USE_BSD]: Likewise.
45757         * string/string.h [__USE_SVID]: Likewise.
45758         [__USE_BSD]: Likewise.
45759         * string/strings.h [__USE_BSD]: Likewise.
45760         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
45761         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
45762         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
45763         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
45764         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
45765         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
45766         Likewise.
45767         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
45768         Likewise.
45769         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
45770         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
45771         Likewise.
45772         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
45773         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
45774         Likewise.
45775         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
45776         Likewise.
45777         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
45778         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
45779         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
45780         Likewise.
45781         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
45782         Likewise.
45783         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
45784         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
45785         * termios/termios.h [__USE_BSD]: Likewise.
45786         * time/sys/time.h [__USE_BSD]: Likewise.
45787         * time/time.h [__USE_BSD]: Likewise.
45788         [__USE_SVID]: Likewise.
45790         * Makefile (subdir_targets): Remove subdir_lint.out.
45792         * stdio-common/Makefile (do-tst-unbputc): Remove target.
45793         (do-tst-printf): Likewise.
45794         (tests): Depend directly on $(objpfx)tst-unbputc.out and
45795         $(objpfx)tst-printf.out.
45797         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
45799         * Makerules (check-abi-%): Change target to
45800         $(objpfx)check-abi-%.out.
45801         (check-abi target): Update dependencies.
45802         (check-abi-pattern variable): Redirect output of diff to $@.
45803         (check-abi variable): Likewise.
45804         * elf/Makefile (check-abi): Update dependencies.
45806         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
45807         unused.
45808         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
45809         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
45810         subnormal range.
45811         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
45812         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
45813         value has largest subnormal exponent.
45814         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
45815         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
45816         * sysdeps/aarch64/soft-fp/sfp-machine.h
45817         (_FP_TININESS_AFTER_ROUNDING): New macro.
45818         * sysdeps/alpha/soft-fp/sfp-machine.h
45819         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45820         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45821         Likewise.
45822         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
45823         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45824         * sysdeps/mips/soft-fp/sfp-machine.h
45825         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45826         * sysdeps/powerpc/soft-fp/sfp-machine.h
45827         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45828         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45829         Likewise.
45830         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45831         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45832         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45833         (_FP_TININESS_AFTER_ROUNDING): Likewise.
45834         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
45835         Likewise.
45837 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
45839         [BZ #16545]
45840         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
45841         model 1.
45843 2014-02-12  Richard Henderson  <rth@redhat.com>
45845         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
45846         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
45847         * sysdeps/unix/sysv/linux/alpha: Move directory from
45848         ports/sysdeps/unix/sysv/linux/alpha.
45849         * README: Update listing for alpha-*-linux-gnu.
45851 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
45853         * include/features.h: Update comment documenting feature test
45854         macros.
45855         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
45856         _DEFAULT_SOURCE.
45857         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
45858         (_SVID_SOURCE): Likewise.
45859         (_DEFAULT_SOURCE): Update description of default features.
45860         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
45861         with _GNU_SOURCE.
45862         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
45863         (S_ISVTX): Likewise.
45864         * manual/math.texi (Mathematical Constants): Likewise.
45865         * manual/signal.texi (Interrupted Primitives): Likewise.
45866         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
45867         * math/test-matherr.c (_SVID_SOURCE): Do not define.
45868         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
45869         Don't refer to _SVID_SOURCE in warning text.
45871         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45873         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
45874         already defined.
45875         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
45876         * sysdeps/mips/dl-lookup.c: Remove.
45877         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
45879 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
45881         [BZ #16447]
45882         * math/auto-libm-test-in: Add testcase for expl.
45883         * math/auto-libm-test-out: Regenerate.
45884         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
45885         calculation of unsafe.
45886         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
45888 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45890         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
45891         * sysdeps/unix/sysv/linux/aarch64: Move directory from
45892         ports/sysdeps/unix/sysv/linux/aarch64.
45893         * README: Update listing for aarch64*-*-linux-gnu.
45895 2014-02-11  Will Newton  <will.newton@linaro.org>
45897         * manual/probes.texi (Mathematical Function Probes): Use
45898         "triggered" instead of "hit".
45900         * manual/probes.texi (Internal Probes): Add documentation
45901         of setjmp, longjmp and longjmp_target probes.
45903         * include/stap-probe.h: Add comment about probe argument
45904         format.
45906         * malloc/mtrace.c (attribute_hidden): Remove unused macro
45907         definition.  (tr_where, tr_freehook, tr_mallochook,
45908         tr_reallochook, tr_memalignhook): Use ANSI protoype.
45910 2014-02-11  David S. Miller  <davem@davemloft.net>
45912         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
45913         processing int_tests.
45915 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
45917         * sysdeps/mips: Move directory from ports/sysdeps/mips.
45918         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
45919         * sysdeps/unix/sysv/linux/mips: Move directory from
45920         ports/sysdeps/unix/sysv/linux/mips.
45921         * README: Update listing for mips-*-linux-gnu and
45922         mips64-*-linux-gnu.
45924 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
45926         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
45927         * sysdeps/unix/sysv/linux/m68k: Move directory from
45928         ports/sysdeps/unix/sysv/linux/m68k.
45929         * README: Update listing for m68k-*-linux-gnu.
45931 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
45933         * sysdeps/tile: Move directory from ports/sysdeps/tile.
45934         * sysdeps/unix/sysv/linux/generic: Move directory from
45935         ports/sysdeps/unix/sysv/linux/generic.
45936         * sysdeps/unix/sysv/linux/tile: Move directory from
45937         ports/sysdeps/unix/sysv/linux/tile.
45938         * README: Update listing for tile*-*-linux-gnu.
45940 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
45942         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
45943         __builtin_expect.
45944         * benchtests/bench-memmem.c (simple_memmem): Likewise.
45945         * catgets/open_catalog.c (__open_catalog): Likewise.
45946         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
45947         * debug/confstr_chk.c: Likewise.
45948         * debug/fread_chk.c (__fread_chk): Likewise.
45949         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
45950         * debug/getgroups_chk.c: Likewise.
45951         * debug/mbsnrtowcs_chk.c: Likewise.
45952         * debug/mbsrtowcs_chk.c: Likewise.
45953         * debug/mbstowcs_chk.c: Likewise.
45954         * debug/memcpy_chk.c: Likewise.
45955         * debug/memmove_chk.c: Likewise.
45956         * debug/mempcpy_chk.c: Likewise.
45957         * debug/memset_chk.c: Likewise.
45958         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
45959         * debug/strcat_chk.c (__strcat_chk): Likewise.
45960         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
45961         * debug/strncat_chk.c (__strncat_chk): Likewise.
45962         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
45963         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
45964         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
45965         * debug/wcpncpy_chk.c: Likewise.
45966         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
45967         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
45968         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
45969         * debug/wcsncpy_chk.c: Likewise.
45970         * debug/wcsnrtombs_chk.c: Likewise.
45971         * debug/wcsrtombs_chk.c: Likewise.
45972         * debug/wcstombs_chk.c: Likewise.
45973         * debug/wmemcpy_chk.c: Likewise.
45974         * debug/wmemmove_chk.c: Likewise.
45975         * debug/wmempcpy_chk.c: Likewise.
45976         * debug/wmemset_chk.c: Likewise.
45977         * dirent/scandirat.c (SCANDIRAT): Likewise.
45978         * dlfcn/dladdr1.c (dladdr1): Likewise.
45979         * dlfcn/dladdr.c (dladdr): Likewise.
45980         * dlfcn/dlclose.c (dlclose_doit): Likewise.
45981         * dlfcn/dlerror.c (__dlerror): Likewise.
45982         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
45983         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
45984         * dlfcn/dlopen.c (dlopen_doit): Likewise.
45985         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
45986         * dlfcn/dlsym.c (dlsym_doit): Likewise.
45987         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
45988         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
45989         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
45990         Likewise.
45991         * elf/dl-conflict.c: Likewise.
45992         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
45993         * elf/dl-dst.h: Likewise.
45994         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
45995         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
45996         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
45997         * elf/dl-init.c (call_init, _dl_init): Likewise.
45998         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
45999         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46000         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46001         Likewise.
46002         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46003         Likewise.
46004         * elf/dl-minimal.c (__libc_memalign): Likewise.
46005         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46006         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46007         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46008         * elf/dl-sym.c (do_sym): Likewise.
46009         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46010         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46011         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46012         * elf/dl-writev.h (_dl_writev): Likewise.
46013         * elf/ldconfig.c (search_dir): Likewise.
46014         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46015         (dl_main): Likewise.
46016         * elf/setup-vdso.h (setup_vdso): Likewise.
46017         * grp/compat-initgroups.c (compat_call): Likewise.
46018         * grp/fgetgrent.c (fgetgrent): Likewise.
46019         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46020         * grp/putgrent.c (putgrent): Likewise.
46021         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46022         Likewise.
46023         * hurd/hurdinit.c: Likewise.
46024         * iconvdata/8bit-gap.c (struct): Likewise.
46025         * iconvdata/ansi_x3.110.c : Likewise.
46026         * iconvdata/big5.c : Likewise.
46027         * iconvdata/big5hkscs.c : Likewise.
46028         * iconvdata/cp1255.c: Likewise.
46029         * iconvdata/cp1258.c : Likewise.
46030         * iconvdata/cp932.c : Likewise.
46031         * iconvdata/euc-cn.c: Likewise.
46032         * iconvdata/euc-jisx0213.c : Likewise.
46033         * iconvdata/euc-jp.c: Likewise.
46034         * iconvdata/euc-jp-ms.c : Likewise.
46035         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46036         * iconvdata/gb18030.c : Likewise.
46037         * iconvdata/gbbig5.c (const): Likewise.
46038         * iconvdata/gbgbk.c: Likewise.
46039         * iconvdata/gbk.c : Likewise.
46040         * iconvdata/ibm1364.c : Likewise.
46041         * iconvdata/ibm930.c : Likewise.
46042         * iconvdata/ibm932.c: Likewise.
46043         * iconvdata/ibm933.c : Likewise.
46044         * iconvdata/ibm935.c : Likewise.
46045         * iconvdata/ibm937.c : Likewise.
46046         * iconvdata/ibm939.c : Likewise.
46047         * iconvdata/ibm943.c: Likewise.
46048         * iconvdata/iso_11548-1.c: Likewise.
46049         * iconvdata/iso-2022-cn.c : Likewise.
46050         * iconvdata/iso-2022-cn-ext.c : Likewise.
46051         * iconvdata/iso-2022-jp-3.c: Likewise.
46052         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46053         * iconvdata/iso-2022-kr.c : Likewise.
46054         * iconvdata/iso646.c (gconv_end): Likewise.
46055         * iconvdata/iso_6937-2.c : Likewise.
46056         * iconvdata/iso_6937.c : Likewise.
46057         * iconvdata/iso8859-1.c: Likewise.
46058         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46059         * iconvdata/shift_jisx0213.c : Likewise.
46060         * iconvdata/sjis.c : Likewise.
46061         * iconvdata/t.61.c : Likewise.
46062         * iconvdata/tcvn5712-1.c : Likewise.
46063         * iconvdata/tscii.c: Likewise.
46064         * iconvdata/uhc.c : Likewise.
46065         * iconvdata/unicode.c (gconv_end): Likewise.
46066         * iconvdata/utf-16.c (gconv_end): Likewise.
46067         * iconvdata/utf-32.c (gconv_end): Likewise.
46068         * iconvdata/utf-7.c (base64): Likewise.
46069         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46070         * iconv/gconv_close.c (__gconv_close): Likewise.
46071         * iconv/gconv_open.c (__gconv_open): Likewise.
46072         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46073         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46074         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46075         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46076         (ucs4le_internal_loop_single): Likewise.
46077         * iconv/iconv.c (iconv): Likewise.
46078         * iconv/iconv_close.c: Likewise.
46079         * iconv/loop.c (SINGLE): Likewise.
46080         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46081         * include/atomic.h: Likewise.
46082         * inet/inet6_option.c (option_alloc): Likewise.
46083         * intl/bindtextdom.c (set_binding_values): Likewise.
46084         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46085         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46086         * intl/localealias.c (read_alias_file): Likewise.
46087         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46088         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46089         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46090         * libio/fmemopen.c (fmemopen): Likewise.
46091         * libio/iofgets.c (_IO_fgets): Likewise.
46092         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46093         * libio/iofgetws.c (fgetws): Likewise.
46094         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46095         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46096         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46097         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46098         * locale/findlocale.c (_nl_find_locale): Likewise.
46099         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46100         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46101         Likewise.
46102         * locale/setlocale.c (setlocale): Likewise.
46103         * login/programs/pt_chown.c (main): Likewise.
46104         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46105         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46106         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46107         (mmap, mmap64, mremap, munmap): Likewise.
46108         * math/e_exp2l.c: Likewise.
46109         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46110         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46111         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46112         * math/s_catan.c (__catan): Likewise.
46113         * math/s_catanf.c (__catanf): Likewise.
46114         * math/s_catanh.c (__catanh): Likewise.
46115         * math/s_catanhf.c (__catanhf): Likewise.
46116         * math/s_catanhl.c (__catanhl): Likewise.
46117         * math/s_catanl.c (__catanl): Likewise.
46118         * math/s_ccosh.c (__ccosh): Likewise.
46119         * math/s_ccoshf.c (__ccoshf): Likewise.
46120         * math/s_ccoshl.c (__ccoshl): Likewise.
46121         * math/s_cexp.c (__cexp): Likewise.
46122         * math/s_cexpf.c (__cexpf): Likewise.
46123         * math/s_cexpl.c (__cexpl): Likewise.
46124         * math/s_clog10.c (__clog10): Likewise.
46125         * math/s_clog10f.c (__clog10f): Likewise.
46126         * math/s_clog10l.c (__clog10l): Likewise.
46127         * math/s_clog.c (__clog): Likewise.
46128         * math/s_clogf.c (__clogf): Likewise.
46129         * math/s_clogl.c (__clogl): Likewise.
46130         * math/s_csin.c (__csin): Likewise.
46131         * math/s_csinf.c (__csinf): Likewise.
46132         * math/s_csinh.c (__csinh): Likewise.
46133         * math/s_csinhf.c (__csinhf): Likewise.
46134         * math/s_csinhl.c (__csinhl): Likewise.
46135         * math/s_csinl.c (__csinl): Likewise.
46136         * math/s_csqrt.c (__csqrt): Likewise.
46137         * math/s_csqrtf.c (__csqrtf): Likewise.
46138         * math/s_csqrtl.c (__csqrtl): Likewise.
46139         * math/s_ctan.c (__ctan): Likewise.
46140         * math/s_ctanf.c (__ctanf): Likewise.
46141         * math/s_ctanh.c (__ctanh): Likewise.
46142         * math/s_ctanhf.c (__ctanhf): Likewise.
46143         * math/s_ctanhl.c (__ctanhl): Likewise.
46144         * math/s_ctanl.c (__ctanl): Likewise.
46145         * math/w_pow.c: Likewise.
46146         * math/w_powf.c: Likewise.
46147         * math/w_powl.c: Likewise.
46148         * math/w_scalb.c (sysv_scalb): Likewise.
46149         * math/w_scalbf.c (sysv_scalbf): Likewise.
46150         * math/w_scalbl.c (sysv_scalbl): Likewise.
46151         * misc/error.c (error_tail): Likewise.
46152         * misc/pselect.c (__pselect): Likewise.
46153         * nis/nis_callback.c (__nis_create_callback): Likewise.
46154         * nis/nis_call.c (__nisfind_server): Likewise.
46155         * nis/nis_creategroup.c (nis_creategroup): Likewise.
46156         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
46157         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
46158         * nis/nis_getservlist.c (nis_getservlist): Likewise.
46159         * nis/nis_lookup.c (nis_lookup): Likewise.
46160         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
46161         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
46162         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
46163         * nis/nis_xdr.c (xdr_endpoint): Likewise.
46164         * nis/nss_compat/compat-grp.c (getgrent_next_file)
46165         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
46166         * nis/nss_compat/compat-initgroups.c (add_group)
46167         (internal_getgrent_r): Likewise.
46168         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
46169         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
46170         * nis/nss_compat/compat-spwd.c (getspent_next_file)
46171         (internal_getspnam_r): Likewise.
46172         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
46173         (_nss_nis_getaliasbyname_r): Likewise.
46174         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
46175         (_nss_nis_getntohost_r): Likewise.
46176         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
46177         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
46178         (_nss_nis_getgrgid_r): Likewise.
46179         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
46180         (internal_nis_gethostent_r, internal_gethostbyname2_r)
46181         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
46182         (_nss_nis_gethostbyname4_r): Likewise.
46183         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
46184         (initgroups_netid): Likewise.
46185         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
46186         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
46187         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
46188         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
46189         (_nss_nis_getprotobynumber_r): Likewise.
46190         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
46191         (_nss_nis_getsecretkey): Likewise.
46192         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
46193         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
46194         (_nss_nis_getpwuid_r): Likewise.
46195         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
46196         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
46197         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
46198         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
46199         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
46200         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
46201         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
46202         Likewise.
46203         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
46204         (_nss_nisplus_getntohost_r): Likewise.
46205         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
46206         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
46207         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
46208         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
46209         Likewise.
46210         * nis/nss_nisplus/nisplus-initgroups.c
46211         (_nss_nisplus_initgroups_dyn): Likewise.
46212         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
46213         (_nss_nisplus_getnetbyaddr_r): Likewise.
46214         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
46215         (_nss_nisplus_getprotobynumber_r): Likewise.
46216         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
46217         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
46218         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
46219         Likewise.
46220         * nis/nss_nisplus/nisplus-service.c
46221         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
46222         (_nss_nisplus_getservbyport_r): Likewise.
46223         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
46224         (_nss_nisplus_getspnam_r): Likewise.
46225         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
46226         Likewise.
46227         * nscd/aicache.c (addhstaiX): Likewise.
46228         * nscd/cache.c (cache_search, prune_cache): Likewise.
46229         * nscd/connections.c (register_traced_file, send_ro_fd)
46230         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
46231         (main_loop_epoll): Likewise.
46232         * nscd/grpcache.c (addgrbyX): Likewise.
46233         * nscd/hstcache.c (addhstbyX): Likewise.
46234         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46235         * nscd/mem.c (gc, mempool_alloc): Likewise.
46236         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
46237         (addinnetgrX): Likewise.
46238         * nscd/nscd-client.h (__nscd_acquire_maplock)
46239         (__nscd_drop_map_ref): Likewise.
46240         * nscd/nscd_getai.c (__nscd_getai): Likewise.
46241         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
46242         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
46243         Likewise.
46244         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
46245         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
46246         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
46247         (__nscd_get_map_ref): Likewise.
46248         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
46249         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
46250         Likewise.
46251         * nscd/pwdcache.c (addpwbyX): Likewise.
46252         * nscd/selinux.c (preserve_capabilities): Likewise.
46253         * nscd/servicescache.c (addservbyX): Likewise.
46254         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
46255         * posix/fnmatch.c (fnmatch): Likewise.
46256         * posix/getopt.c (_getopt_internal_r): Likewise.
46257         * posix/glob.c (glob, glob_in_dir): Likewise.
46258         * posix/wordexp.c (exec_comm_child): Likewise.
46259         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
46260         (getanswer_r, gaih_getanswer_slice): Likewise.
46261         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
46262         * resolv/res_init.c: Likewise.
46263         * resolv/res_mkquery.c (res_nmkquery): Likewise.
46264         * resolv/res_query.c (__libc_res_nquery): Likewise.
46265         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
46266         Likewise.
46267         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
46268         * stdio-common/perror.c (perror): Likewise.
46269         * stdio-common/printf_fp.c (___printf_fp): Likewise.
46270         * stdio-common/tmpnam.c (tmpnam): Likewise.
46271         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
46272         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
46273         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
46274         Likewise.
46275         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
46276         * stdlib/putenv.c (putenv): Likewise.
46277         * stdlib/setenv.c (__add_to_environ): Likewise.
46278         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
46279         * stdlib/strtol_l.c (INTERNAL): Likewise.
46280         * string/memmem.c (memmem): Likewise.
46281         * string/strerror.c (strerror): Likewise.
46282         * string/strnlen.c (__strnlen): Likewise.
46283         * string/test-memmem.c (simple_memmem): Likewise.
46284         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
46285         * sunrpc/pm_getport.c (__get_socket): Likewise.
46286         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
46287         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
46288         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
46289         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
46290         Likewise.
46291         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
46292         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
46293         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
46294         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
46295         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
46296         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
46297         Likewise.
46298         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
46299         Likewise.
46300         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
46301         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
46302         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46303         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
46304         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
46305         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
46306         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
46307         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
46308         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
46309         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
46310         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46311         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
46312         Likewise.
46313         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
46314         Likewise.
46315         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
46316         Likewise.
46317         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
46318         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46319         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
46320         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
46321         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
46322         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
46323         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46324         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
46325         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
46326         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
46327         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
46328         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46329         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46330         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
46331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46332         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
46333         Likewise.
46334         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
46335         Likewise.
46336         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
46337         Likewise.
46338         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
46339         Likewise.
46340         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46342         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
46343         Likewise.
46344         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
46345         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
46346         * sysdeps/posix/opendir.c (__opendirat): Likewise.
46347         * sysdeps/posix/sleep.c: Likewise.
46348         * sysdeps/posix/tempname.c: Likewise.
46349         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
46350         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
46351         Likewise.
46352         * sysdeps/powerpc/powerpc32/dl-machine.h
46353         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
46354         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
46355         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
46356         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
46357         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
46358         Likewise.
46359         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
46360         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
46361         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46362         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
46363         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
46364         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
46365         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
46366         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
46367         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
46368         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
46369         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
46370         (elf_machine_lazy_rel): Likewise.
46371         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
46372         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
46373         (elf_machine_lazy_rel): Likewise.
46374         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
46375         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
46376         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
46377         * sysdeps/unix/grantpt.c (grantpt): Likewise.
46378         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
46379         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
46380         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
46381         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46382         Likewise.
46383         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
46384         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
46385         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
46386         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
46387         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
46388         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
46389         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
46390         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
46391         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
46392         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
46393         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46394         Likewise.
46395         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
46396         (__posix_fallocate64_l64): Likewise.
46397         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
46398         (posix_fallocate): Likewise.
46399         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
46400         Likewise.
46401         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46402         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
46403         (getifaddrs_internal): Likewise.
46404         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
46405         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
46406         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
46407         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
46408         * sysdeps/unix/sysv/linux/posix_fallocate64.c
46409         (__posix_fallocate64_l64): Likewise.
46410         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
46411         Likewise.
46412         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
46413         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
46414         (__get_clockfreq): Likewise.
46415         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
46416         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
46417         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
46418         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46419         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46420         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
46421         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
46422         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
46423         Likewise.
46424         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
46425         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
46426         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
46427         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
46428         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46429         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
46430         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
46431         Likewise.
46432         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46433         (posix_fallocate): Likewise.
46434         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46435         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
46436         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
46437         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
46438         (elf_machine_rela, elf_machine_rela_relative)
46439         (elf_machine_lazy_rel): Likewise.
46440         * time/asctime.c (asctime_internal): Likewise.
46441         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
46442         * time/tzset.c (__tzset_parse_tz): Likewise.
46443         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46444         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46445         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
46446         * wcsmbs/wcsmbsload.h: Likewise.
46448         [BZ #15894]
46449         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
46451         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
46452         (arena_get2): Remove THREAD_STATS conditionals.
46453         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
46454         (__malloc_stats, int): Likewise.
46456 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
46458         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
46459         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
46461         * manual/setjmp.texi: Fix typos/grammar errors.
46463         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
46464         Only return early when n is <= 0.  Delete unused return statement.
46466         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
46467         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
46468         * debug/tst-longjmp_chk3.c: New file.
46470         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
46471         (test_main): Replace code with set_fortify_handler call.
46472         * debug/test-strcpy_chk.c: Likewise.
46473         * debug/tst-chk1.c: Likewise.
46474         * debug/tst-longjmp_chk.c: Likewise.
46475         * test-skeleton.c: Include fcntl.h & paths.h
46476         (set_fortify_handler): Define.
46478         * debug/tst-longjmp_chk.c: Add header comment and include
46479         ../test-skeleton.c.
46480         (do_test): Mark static.
46481         (TEST_FUNCTION): Define.
46483         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
46484         (IP_PMTUDISC_INTERFACE): Likewise.
46485         (IP_MULTICAST_IF): Likewise.
46486         (IP_MULTICAST_TTL): Likewise.
46487         (IP_MULTICAST_LOOP): Likewise.
46488         (IP_ADD_MEMBERSHIP): Likewise.
46489         (IP_DROP_MEMBERSHIP): Likewise.
46490         (IP_UNBLOCK_SOURCE): Likewise.
46491         (IP_BLOCK_SOURCE): Likewise.
46492         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
46493         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
46494         (IP_MSFILTER): Likewise.
46495         (MCAST_JOIN_GROUP): Likewise.
46496         (MCAST_BLOCK_SOURCE): Likewise.
46497         (MCAST_UNBLOCK_SOURCE): Likewise.
46498         (MCAST_LEAVE_GROUP): Likewise.
46499         (MCAST_JOIN_SOURCE_GROUP): Likewise.
46500         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
46501         (MCAST_MSFILTER): Likewise.
46502         (IP_MULTICAST_ALL): Likewise.
46503         (IP_UNICAST_IF): Likewise.
46505         * timezone/Makefile: Delete $(have-ksh) check.
46506         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
46507         * timezone/tzselect.ksh: Add +x mode bits.
46509         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
46510         (ANON_INODE_FS_MAGIC): Likewise.
46511         (BDEVFS_MAGIC): Likewise.
46512         (BINFMTFS_MAGIC): Likewise.
46513         (BTRFS_TEST_MAGIC): Likewise.
46514         (CRAMFS_MAGIC_WEND): Likewise.
46515         (DEBUGFS_MAGIC): Likewise.
46516         (ECRYPTFS_SUPER_MAGIC): Likewise.
46517         (EXT3_SUPER_MAGIC): Likewise.
46518         (EXT4_SUPER_MAGIC): Likewise.
46519         (FUTEXFS_SUPER_MAGIC): Likewise.
46520         (HOSTFS_SUPER_MAGIC): Likewise.
46521         (HUGETLBFS_MAGIC): Likewise.
46522         (MINIX3_SUPER_MAGIC): Likewise.
46523         (MTD_INODE_FS_MAGIC): Likewise.
46524         (NILFS_SUPER_MAGIC): Likewise.
46525         (OPENPROM_SUPER_MAGIC): Likewise.
46526         (PIPEFS_MAGIC): Likewise.
46527         (PSTOREFS_MAGIC): Likewise.
46528         (QNX6_SUPER_MAGIC): Likewise.
46529         (RAMFS_MAGIC): Likewise.
46530         (REISERFS_SUPER_MAGIC_STRING): Likewise.
46531         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
46532         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
46533         (SECURITYFS_MAGIC): Likewise.
46534         (SELINUX_MAGIC): Likewise.
46535         (SMACK_MAGIC): Likewise.
46536         (SOCKFS_MAGIC): Likewise.
46537         (SQUASHFS_MAGIC): Likewise.
46538         (STACK_END_MAGIC): Likewise.
46539         (TMPFS_MAGIC): Likewise.
46540         (USBDEVICE_SUPER_MAGIC): Likewise.
46541         (V9FS_MAGIC): Likewise.
46542         (XENFS_SUPER_MAGIC): Likewise.
46543         (CRAMFS_MAGIC): Fix typo in comment.
46544         (EXT2_SUPER_MAGIC): Update comment.
46545         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
46547 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
46549         * sysdeps/arm: Move directory from ports/sysdeps/arm.
46550         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
46551         * sysdeps/unix/sysv/linux/arm: Move directory from
46552         ports/sysdeps/unix/sysv/linux/arm.
46553         * README: Update listing for arm-*-linux-gnueabi.
46555         * README: Remove mention of am33.
46557 2014-02-07  Roland McGrath  <roland@hack.frob.com>
46559         * bits/sigset.h (__sigemptyset): Use a statement expression rather
46560         than the comma operator, to avoid "rhs of comma has no effect"
46561         compiler warnings.
46562         (__sigfillset, __sigandset, __sigorset): Likewise.
46563         * include/signal.h (__sigemptyset): Likewise.
46564         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
46566 2014-02-07  Allan McRae  <allan@archlinux.org>
46568         * version.h (RELEASE): Set to "development".
46569         (VERSION): Set to "2.19.90"
46570         * NEWS: Add 2.20 section.
46572 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
46574         [BZ #16529]
46575         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
46577 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46579         * manual/contrib.texi: Update entry for Carlos O'Donell,
46580         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
46582 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
46584         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
46586         * sysdeps/unix/sysv/linux/kernel-features.h
46587         [__LINUX_KERNEL_VERSION >= 0x020621]
46588         (__ASSUME_PROC_PID_TASK_COMM): Define.
46590 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46592         [BZ #16398]
46593         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
46594         conversion when destination buffer does not have enough space.
46595         * libio/tst-ftell-partial-wide.c: New test case.
46596         * libio/Makefile (tests): Add tst-ftell-partial-wide.
46598         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
46599         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
46600         Leonard and Allan McRae.
46602 2014-02-04  David S. Miller  <davem@davemloft.net>
46604         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
46605         32-bit.
46607 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46610         New file
46611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46612         New file
46613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46614         New file.
46615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46616         New file.
46617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46618         New file.
46619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46620         New file.
46621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46622         New file.
46623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46624         New file.
46625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46626         New file.
46627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46628         New file.
46629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46630         New file.
46631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46632         New file.
46633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46634         New file.
46636 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46638         * nptl/shlib-versions: Change powerpc*le start to 2.17.
46639         * shlib-versions: Likewise.
46641 2014-02-04  Roland McGrath  <roland@hack.frob.com>
46642             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46644         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
46645         (abilist-pattern): New variable, set to %-le.abilist.
46647         * Makerules (abilist-pattern): New variable.
46648         (vpath): Use $(abilist-pattern) in place of %.abilist.
46649         (check-abi-% pattern rule): Likewise.
46650         (check-abi, update-abi): Likewise.
46652 2014-02-04  Eric Wong  <normalperson@yhbt.net>
46654         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46656 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
46658         * manual/startup.texi: Add next, previous, and top entries for
46659         the `Program Arguments' and `Environment Variables' nodes.
46661 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
46663         * manual/macros.texi: Add comments before MTASC-safety macros.
46665         * manual/users.texi: Document MTASC-safety properties.
46667         * manual/threads.texi (pthread_key_create, pthread_key_delete)
46668         (pthread_getspecific, pthread_setspecific): Format with
46669         @deftypefun, and add @safety note.
46670         * manual/signal.texi: Move comments that analyze the above
46671         functions to their home place.
46673 2014-02-03  Allan McRae  <allan@archlinux.org>
46675         * po/sl.po: Update Slovenian translation from translation project.
46677 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
46679         * manual/time.texi (timegm): Add missing blank after @c.
46680         Reported by Joseph Myers <joseph@codesourcery.com>.
46682 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
46684         * manual/check-safety.sh: New.
46685         * manual/Makefile ($(objpfx)stamp-summary): Run it.
46687         * manual/terminal.texi: Document MTASC-safety properties.
46689         * manual/filesys.texi: Document MTASC-safety properties.
46691         * manual/errno.texi: Document MTASC-safety properties.
46693         * manual/intro.texi: Document safety identifiers and
46694         conditionals.
46696         * manual/string.texi (wcstok): Fix prototype.
46697         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
46699         * manual/time.texi: Document MTASC-safety properties.
46701         * manual/string.texi: Document MTASC-safety properties.
46703         * manual/threads.texi: Document MTASC-safety properties.
46705         * manual/stdio.texi: Document MTASC-safety properties.
46707         * manual/syslog.texi: Document MTASC-safety properties.
46709         * manual/sysinfo.texi: Document MTASC-safety properties.
46711         * manual/startup.texi: Document MTASC-safety properties.
46713         * manual/socket.texi: Document MTASC-safety properties.
46715         * manual/signal.texi: Document MTASC-safety properties.
46717 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
46719         * manual/setjmp.texi: Document MTASC-safety properties.
46721         * manual/search.texi: Document MTASC-safety properties.
46723         * manual/resource.texi: Document MTASC-safety properties.
46725         * manual/process.texi: Document MTASC-safety properties.
46727         * manual/platform.texi: Document MTASC-safety properties.
46729         * manual/pipe.texi: Document MTASC-safety properties.
46731         * manual/pattern.texi: Document MTASC-safety properties.
46733         * manual/message.texi: Document MTASC-safety properties.
46735         [BZ #12751]
46736         * manual/memory.texi: Document MTASC-safety properties.
46738         * manual/math.texi: Document MTASC-safety properties.
46740         * manual/locale.texi: Document MTASC-safety properties.
46742         * manual/llio.texi: Document MTASC-safety properties.
46744         * manual/libdl.texi: New.
46746         * manual/lang.texi: Document MTASC-safety properties.
46748         * manual/job.texi: Document MTASC-safety properties.
46750         * manual/getopt.texi: Document MTASC-safety properties.
46752         * manual/ctype.texi: Document MTASC-safety properties.
46754 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
46756         [BZ #16046]
46757         * csu/libc-tls.c (static_map): Remove variable.
46758         (__libc_setup_tls): Use main executable's link map for TLS data.
46759         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
46760         casing for LM_ID_BASE and GL(dl_nns).
46761         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
46762         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
46763         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
46764         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
46765         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
46766         member.
46767         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
46768         l_phnum members.
46770 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
46772         * manual/debug.texi: Document MTASC-safety properties.
46774 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
46776         [BZ #16510]
46777         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
46778         of __x86_64__ when disabling x87 inline functions.
46780 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
46782         * manual/charset.texi: Document MTASC-safety properties.
46784         * manual/crypt.texi: Document MTASC-safety properties.
46786         * manual/conf.texi: Document MTASC-safety properties.
46788         * manual/arith.texi: Document MTASC-safety properties.
46790         * manual/argp.texi: Document MTASC-safety properties.
46792         * manual/macros.texi: Introduce macros to document multi
46793         thread, asynchronous signal and asynchronous cancellation
46794         safety properties.
46795         * manual/intro.texi: Introduce the properties themselves.
46797 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46799         * sysdeps/sh/sh4/Makefile: New file.
46801 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
46803         * math/gen-libm-test.pl ($srcdir): New variable.
46804         ($auto_input): Use it.
46806 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46808         [BZ #16506]
46809         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
46810         access beyond array bounds when parsing netgroups file.
46812         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
46813         the old buffer before realloc.
46815 2014-01-27  Allan McRae  <allan@archlinux.org>
46817         * po/fr.po: Update French translation from translation project.
46819 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46821         * sysdeps/sh/libm-test-ulps: Regenerate.
46823 2014-01-24  David S. Miller  <davem@davemloft.net>
46825         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
46827 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46829         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
46830         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
46832 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46834         [BZ #16474]
46835         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
46836         string pointers after reallocation.
46838 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46840         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
46841         __SH4A__ instead of __SH_FPU_ANY__.
46843 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46845         * sysdeps/sh/fpu_control.h: New file.
46846         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
46847         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
46848         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
46849         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
46850         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
46851         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
46852         * sysdeps/sh/sys/ucontext.h: Remove.
46853         * sysdeps/sh/sys: Remove directory.
46855 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46857         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
46858         s390/sys/ucontext.h.
46859         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
46860         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
46862 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
46864         [BZ #15605]
46865         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
46867 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46869         [BZ#16431]
46870         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46871         Adjust the vDSO correctly for internal calls.
46872         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
46874 2014-01-20  Allan McRae  <allan@archlinux.org>
46876         * po/ca.po: Update Catalan translation from translation project.
46878 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
46880         * sysdeps/s390/sotruss-lib.c: New file.
46882 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46884         [BZ#16430]
46885         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
46886         (__GI___gettimeofday): Alias for a different internal symbol to avoid
46887         local calls issues by not having a PLT stub required for IFUNC calls.
46888         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
46890 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
46892         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
46893         * math/test-fpucw-static.c: Likewise.
46895 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46897         [BZ #16453]
46898         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
46900 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46902         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
46903         implementation for powerpc.
46905 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
46907         [BZ #14782]
46908         * sysdeps/posix/system.c (__libc_system): Do not enable
46909         asynchronous cancellation.
46911 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46913         [BZ #16427]
46914         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
46915         handling only for numbers special also in the IEEE case.
46917 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46919         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46921 2014-01-11  Allan McRae  <allan@archlinux.org>
46923         * po/bg.po: Update Bulgarian translation from translation project.
46925         * po/de.po: Update German translation from translation project.
46927 2014-01-10  Roland McGrath  <roland@hack.frob.com>
46929         * sysdeps/generic/gcc-compat.h: New file.
46931 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46933         * benchtests/asin-inputs: Correct slow inputs.
46934         * benchtests/acos-inputs: Likewise.
46936 2014-01-10  Allan McRae  <allan@archlinux.org>
46938         * po:sv.po: Update Swedish translation from translation project.
46940         * po/vi.po: Update Vietnamese translation from translation project.
46942         * po/eo.po: Update Esperanto translation from translation project.
46944         * po/cs.po: Update Czech translation from translation project.
46946         * po/nl.po: Update Dutch translation from translation project.
46948         * po/pl.po: Update Polish translation from translation project.
46950         * po/ru.po: Update Russian translation from translation project.
46952         * po/uk.po: Update Ukrainian translation from translation project.
46954 2014-01-08  Brooks Moses  <bmoses@google.com>
46956         * elf/dl-load.c: Fix comment typo.
46958 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
46960         * po/header.pot: Rename to...
46961         * po/pot.header: ... this.
46962         * po/Makefile: Use pot.header.
46964 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
46965             Maxim Kuvyrkov  <maxim@kugelworks.com>
46967         [BZ #16394]
46968         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
46969         SRC and DEST against LEN.
46971 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46973         [BZ #16414]
46974         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
46975         implementation.
46976         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
46978 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46982 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
46984         [BZ #16408]
46985         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
46986         for large positive arguments.
46988 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
46990         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
46992         * math/auto-libm-test-in: Mark various tests with
46993         xfail-rounding:ldbl-128ibm.
46994         * math/auto-libm-test-out: Regenerated.
46996         [BZ #16407]
46997         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46998         Increase overflow threshold.
47000 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47002         [BZ #14286]
47003         * stdio-common/vfprintf.c: Check for integer overflow.
47005 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47007         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47008         the first argument and return value of __tls_get_addr_internal.
47010 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47012         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47013         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47015 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47017         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47018         * sysdeps/s390/rtld-global-offsets.sym: New file.
47019         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47020         GLIBC_2.19 symbol.
47021         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47022         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47023         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47024         ... this.
47025         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47026         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47027         ... this.
47028         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47029         Regenerate.
47030         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47031         Regenerate.
47032         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47033         halfs of GPRs for high_gprs contexts.
47034         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47035         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47036         field.
47037         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47038         uc_flags field.
47039         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47040         64 bit versions:
47041         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47042         for high GPRs (uc_high_gprs) and for future extensions
47043         (__reserved).
47044         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47045         for future extensions (__reserved).
47046         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47047         64 bit versions:
47048         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47049         SC_HIGHGPRS offset definition.
47050         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47051         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47053         * Versions.def: Add GLIBC_2.19 for libpthread.
47054         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47055         siglongjmp for libpthread with GLIBC_2.19 symver.
47056         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47057         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47058         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47059         * sysdeps/s390/__longjmp.c: New file.
47060         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47061         * sysdeps/s390/longjmp.c: New file.
47062         * sysdeps/s390/setjmp.S: New file.
47063         * sysdeps/s390/sigjmp.S: New file.
47064         * sysdeps/s390/v1-longjmp.c: New file.
47065         * sysdeps/s390/v1-setjmp.h: New file.
47066         * sysdeps/s390/v1-sigjmp.c: New file.
47067         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47068         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47069         GLIBC_2.19 version.
47070         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47071         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47072         versioned symbols for ____longjmp_chk.
47073         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47074         Likewise.
47075         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47076         Regenerate.
47077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47078         Regenerate.
47079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47080         Regenerate.
47081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47082         Regenerate.
47083         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47084         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47085         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47086         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47087         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47088         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47089         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47090         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47091         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47092         * sysdeps/s390/rtld-__longjmp.c: New file.
47093         * sysdeps/s390/rtld-setjmp.S: New file.
47095 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47097         [BZ #16400]
47098         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47099         Return -__logl (x) for small positive arguments without evaluating
47100         a polynomial.
47102 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47104         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47105         Rename to ...
47106         (__ptrace_peeksiginfo_args): ... this.
47107         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47108         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47109         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47111 2014-01-06  Allan McRae  <allan@archlinux.org>
47113         * inet/netinet/in.h: Fix typo in comment.
47115 2014-01-05  Andreas Jaeger  <aj@suse.de>
47117         * sysdeps/i386/fpu/libm-test-ulps: Update.
47119 2014-01-05  Allan McRae  <allan@archlinux.org>
47121         * po/libc.pot: Regenerated.
47123         * malloc/memusagestat.c: Fix gettext call formatting.
47125 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47127         * nscd/nscd.c: Improve usage() output.
47129 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47131         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47132         * sysdeps/unix/sysv/linux/configure: Regenerated.
47133         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47134         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
47136 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47138         [BZ #16390]
47139         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47140         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
47142 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
47145         extra tokens at end of #undef directive.
47146         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
47147         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
47148         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
47150 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
47152         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47154         * math/auto-libm-test-in: Mark various tests with
47155         xfail-rounding:ldbl-128ibm.
47156         * math/auto-libm-test-out: Regenerated.
47158 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
47160         [BZ #16386]
47161         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
47162         numbers with subnormal high part when calculating exponent.
47164         [BZ #16385]
47165         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
47166         fabs.
47168         [BZ #16384]
47169         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
47170         M_LN2l.
47171         (__ieee754_acoshl): Use __log1pl not __log1p.
47173 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
47175         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
47176         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
47177         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
47178         (grow_heap, heap_trim, _int_new_arena, get_free_list)
47179         (reused_arena, arena_get2): Convert to GNU style.
47180         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
47181         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
47182         (memalign_check, __malloc_set_state): Likewise.
47183         * malloc/mallocbug.c (main): Likewise.
47184         * malloc/malloc.c (__malloc_assert, malloc_init_state)
47185         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
47186         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
47187         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
47188         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
47189         (__posix_memalign, malloc_info): Likewise.
47190         * malloc/malloc.h: Likewise.
47191         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
47192         (mallochook, memalignhook, reallochook, mabort): Likewise.
47193         * malloc/mcheck.h: Likewise.
47194         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
47195         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
47196         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
47197         * malloc/morecore.c (__default_morecore): Likewise.
47198         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
47199         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
47200         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
47201         (print_and_abort): Likewise.
47202         * malloc/obstack.h: Likewise.
47203         * malloc/set-freeres.c (__libc_freeres): Likewise.
47204         * malloc/tst-mallocstate.c (main): Likewise.
47205         * malloc/tst-mtrace.c (main): Likewise.
47206         * malloc/tst-realloc.c (do_test): Likewise.
47208 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47210         [BZ #16366]
47211         * nscd/netgroupcache.c (do_notfound): New function.
47212         (addgetnetgrentX): Use it.
47214         [BZ # 16365]
47215         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
47216         NSS_STATUS_NOTFOUND.
47218 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
47220         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47223 2014-01-01  Allan McRae  <allan@archlinux.org>
47225         * scripts/update-copyrights: Update configure input file suffix.
47227         * NEWS: Update copyright year.
47228         * catgets/gencat.c: Likewise.
47229         * csu/version.c: Likewise.
47230         * debug/catchsegv.sh: Likewise.
47231         * debug/pcprofiledump.c: Likewise.
47232         * debug/xtrace.sh: Likewise.
47233         * elf/ldconfig.c: Likewise.
47234         * elf/ldd.bash.in: Likewise.
47235         * elf/pldd.c: Likewise.
47236         * elf/sotruss.ksh: Likewise.
47237         * elf/sprof.c: Likewise.
47238         * iconv/iconv_prog.c: Likewise.
47239         * iconv/iconvconfig.c: Likewise.
47240         * locale/programs/locale.c: Likewise.
47241         * locale/programs/localedef.c: Likewise.
47242         * login/programs/pt_chown.c: Likewise.
47243         * malloc/memusage.sh: Likewise.
47244         * malloc/memusagestat.c: Likewise.
47245         * malloc/mtrace.pl: Likewise.
47246         * manual/libc.texinfo: Likewise.
47247         * nscd/nscd.c: Likewise.
47248         * nss/getent.c: Likewise.
47249         * nss/makedb.c: Likewise.
47250         * posix/getconf.c: Likewise.
47251         * scripts/test-installation.pl: Likewise.
47253         * All files with FSF copyright notices: Update copyright dates
47254         using scripts/update-copyrights.
47255         * intl/plural.c: Regenerated.
47256         * locale/programs/charmap-kw.h: Likewise.
47257         * locale/programs/locfile-kw.h: Likewise.
47259 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
47261         * sysdeps/unix/sysv/linux/configure: Regenerated.
47262         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
47263         the linux/fanotify.h header.
47264         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
47265         HAVE_LINUX_FANOTIFY_H is defined.
47267 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
47269         * benchtests/cos-inputs: New inputs.
47270         * benchtests/sin-inputs: Likewise.
47272         * benchtests/atan-inputs: New inputs. Fix name of multiple
47273         precision fallback inputs.
47275         * benchtests/atanh-inputs: New inputs.
47276         * benchtests/tanh-inputs: Likewise.
47278         * benchtests/acosh-inputs: New inputs.
47279         * benchtests/asinh-inputs: Likewise.
47281         * benchtests/cosh-inputs: New inputs.
47282         * benchtests/sinh-inputs: Likewise.
47284         * benchtests/acos-inputs: Add more inputs.
47285         * benchtests/asin-inputs: Likewise.
47287 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
47289         [BZ #16375]
47290         * manual/arith.texi: Fix spelling.
47291         * manual/charset.texi: Likewise.
47292         * manual/errno.texi: Likewise.
47293         * manual/filesys.texi: Likewise.
47294         * manual/lang.texi: Likewise.
47295         * manual/llio.texi: Likewise.
47296         * manual/locale.texi: Likewise.
47297         * manual/message.texi: Likewise.
47298         * manual/resource.texi: Likewise.
47299         * manual/search.texi: Likewise.
47300         * manual/setjmp.texi: Likewise.
47301         * manual/stdio.texi: Likewise.
47302         * manual/string.texi: Likewise.
47303         * manual/sysinfo.texi: Likewise.
47304         * manual/time.texi: Likewise.
47306 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
47308         * po/sl.po: New file.
47310 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
47312         * .gitignore: Add core/.gdbinit/.gdb_history.
47314 2013-12-27  Allan McRae  <allan@archlinux.org>
47316         [BZ #16369]
47317         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
47318         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
47320 2013-12-24  Brooks Moses  <bmoses@google.com>
47322         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
47323         all compilers that claim C++98 compliance, not just GCC.
47324         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
47325         Likewise.
47327 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47329         * NEWS: Restore accidentally deleted bug-fix entries.
47331 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
47332             Ondřej Bílka  <neleai@seznam.cz>
47334         [BZ #15073]
47335         * malloc/malloc.c (_int_free): Perform sanity check only if we
47336         have_lock.
47338 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
47340         [BZ #12986]
47341         * manual/stdio.texi (String Input Conversions): Clarify that character
47342         classes are not supported.
47344 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47348 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
47350         [BZ #16337]
47351         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47352         Calculate results for small negative arguments directly rather
47353         than using reflection formula with special underflow handling.
47355         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
47356         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
47357         sysdeps/unix/bsd/bsd4.4/syscalls.list.
47358         (fchflags): Likewise.
47359         (revoke): Likewise.
47360         (setlogin): Likewise.
47361         (sigaltstack): Likewise.
47362         (wait4): Likewise.
47363         (sigblock): Remove.
47364         (sigsetmask): Likewise.
47365         (wait3): Likewise.
47366         (waitpid): Likewise.
47367         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
47368         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
47369         file.
47370         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
47371         * sysdeps/unix/bsd/Makefile: ... here.
47372         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
47373         * sysdeps/unix/bsd/Versions: ... here.
47374         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
47375         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
47376         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
47377         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
47378         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
47379         * sysdeps/unix/bsd/sigblock.c: ... here.
47380         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
47381         * sysdeps/unix/bsd/sigsetmask.c: ... here.
47382         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
47383         * sysdeps/unix/bsd/sigvec.c: ... here.
47384         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
47385         * sysdeps/unix/bsd/tcdrain.c: ... here.
47386         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
47387         * sysdeps/unix/bsd/tcgetattr.c: ... here.
47388         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
47389         * sysdeps/unix/bsd/tcsetattr.c: ... here.
47390         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
47391         * sysdeps/unix/bsd/wait.c: ... here.
47392         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
47393         * sysdeps/unix/bsd/wait3.c: ... here.
47394         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
47395         * sysdeps/unix/bsd/waitpid.c: ... here.
47397 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
47399         [BZ #16356]
47400         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
47401         round-to-nearest for [!USE_AS_EXPM1L].
47402         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
47403         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
47404         more tests of exp and exp10.  Expect some exp10 tests to miss
47405         exceptions or fail in directed rounding modes.
47406         * math/auto-libm-test-out: Regenerated.
47407         * math/libm-test.inc (exp10_tonearest_test_data): New array.
47408         (exp10_test_tonearest): New function.
47409         (exp10_towardzero_test_data): New array.
47410         (exp10_test_towardzero): New function.
47411         (exp10_downward_test_data): New array.
47412         (exp10_test_downward): New function.
47413         (exp10_upward_test_data): New array.
47414         (exp10_test_upward): New function.
47415         (main): Call the new functions.
47416         * sysdeps/i386/fpu/libm-test-ulps: Update.
47417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47419 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
47421         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
47422         asinh, atan, atan2, atanh, cbrt, cos and cosh.
47423         * math/auto-libm-test-out: Regenerated.
47424         * math/libm-test.inc (acosh_test_data): Add more tests.
47425         (atanh_test_data): Likewise.
47426         (ceil_test_data): Likewise.
47427         (copysign_test_data): Likewise.
47428         * sysdeps/i386/fpu/libm-test-ulps: Update.
47429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47431         * timezone/checktab.awk: Update from tzcode 2013i.
47432         * timezone/private.h: Likewise.
47433         * timezone/scheck.c: Likewise.
47434         * timezone/tzfile.h: Likewise.
47435         * timezone/tzselect.ksh: Likewise.
47436         * timezone/zdump.c: Likewise.
47437         * timezone/zic.c: Likewise.
47439         * math/auto-libm-test-in: Add tests of cpow.
47440         * math/auto-libm-test-out: Regenerated.
47441         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
47442         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47443         mpc_cc_c.
47444         (func_calc_desc): Add mpc_cc_c union field.
47445         (test_functions): Add cpow.
47446         (special_fill_2pi): New function.
47447         (special_real_inputs): Add 2pi.
47448         (calc_generic_results): Handle mpc_cc_c.
47449         * sysdeps/i386/fpu/libm-test-ulps: Update.
47450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47452         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
47453         csqrt, ctan and ctanh.
47454         * math/auto-libm-test-out: Regenerated.
47455         * math/libm-test.inc (TEST_COND_x86_64): New macro.
47456         (TEST_COND_x86): Likewise.
47457         (ccos_test_data): Use AUTO_TESTS_c_c.
47458         (ccosh_test_data): Likewise.
47459         (cexp_test_data): Likewise.
47460         (clog_test_data): Likewise.
47461         (csqrt_test_data): Likewise.
47462         (ctan_test_data): Likewise.
47463         (ctan_tonearest_test_data): Likewise.
47464         (ctan_towardzero_test_data): Likewise.
47465         (ctan_downward_test_data): Likewise.
47466         (ctan_upward_test_data): Likewise.
47467         (ctanh_test_data): Likewise.
47468         (ctanh_tonearest_test_data): Likewise.
47469         (ctanh_towardzero_test_data): Likewise.
47470         (ctanh_downward_test_data): Likewise.
47471         (ctanh_upward_test_data): Likewise.
47472         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47473         mpc_c_c.
47474         (func_calc_desc): Add mpc_c_c union field.
47475         (FUNC_mpc_c_c): New macro.
47476         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
47477         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
47478         ctanh.
47479         (special_fill_min_subnorm_p120): New function.
47480         (special_real_inputs): Add min_subnorm_p120.
47481         (calc_generic_results): Handle mpc_c_c.
47482         * sysdeps/i386/fpu/libm-test-ulps: Update.
47483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47485 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47487         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
47488         (do_sin_slow): New functions.
47489         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
47490         (cslow2, csloww1, csloww2): Use the new functions.
47492         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
47493         Use M to change sign of result instead of X.  Assume X is
47494         positive.
47495         (csloww1): Likewise.
47496         (__sin): Adjust.
47497         (__cos): Adjust.
47499         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
47500         arguments A and DA.
47501         (__sin): Adjust.
47502         (__cos): Likewise.
47504         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
47505         (__cos): Likewise.
47506         (sloww1): Don't adjust sign of DX.
47507         (csloww1): Likewise.
47508         (sloww2): Use X directly and don't adjust sign of DX.
47509         (csloww2): Likewise.
47511 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47513         * math/auto-libm-test-in: Add tests of cabs and carg.
47514         * math/auto-libm-test-out: Regenerated.
47515         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
47516         (carg_test_data): Likewise.
47517         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47518         mpc_c_f.
47519         (func_calc_desc): Add mpc_c_f union field.
47520         (test_functions): Add cabs and carg.
47521         (calc_generic_results): Handle mpc_c_f.
47523         * sysdeps/powerpc/powerpc32/libgcc-compat.S
47524         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
47525         as a macro and a compat symbol.
47526         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
47527         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
47528         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
47529         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
47530         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
47531         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
47532         not use .hidden.
47533         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
47534         Likewise.
47535         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
47536         Likewise.
47537         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
47538         Likewise.
47539         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
47540         Likewise.
47541         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
47542         Likewise.
47543         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
47544         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
47545         from GLIBC_2.3.2.
47547 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47551 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47553         * manual/texinfo.tex: Update to version 2013-11-26.10 with
47554         trailing whitespace removed.
47555         * scripts/config.guess: Update to version 2013-11-29.
47556         * scripts/config.sub: Update to version 2013-10-01.
47558         * math/auto-libm-test-in: Add tests of sincos.
47559         * math/auto-libm-test-out: Regenerated.
47560         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
47561         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47562         mpfr_f_11.
47563         (func_calc_desc): Add mpfr_f_11 union field.
47564         (test_functions): Add sincos.
47565         (calc_generic_results): Handle mpfr_f_11.
47566         * sysdeps/i386/fpu/libm-test-ulps: Update.
47567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47569 2013-12-19  Andreas Schwab  <schwab@suse.de>
47571         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
47572         CALL_MCOUNT.
47573         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
47574         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
47575         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
47577 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
47579         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
47580         * sysdeps/i386/fpu/libm-test-ulps: Update.
47581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47583         [BZ #16293]
47584         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
47585         round-to-nearest mode when using frndint.
47586         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
47587         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
47588         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
47589         Likewise.
47590         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
47591         sinh test to fail.
47592         * math/auto-libm-test-out: Regenerated.
47593         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
47594         (TEST_COND_x86): Likewise.
47595         (expm1_tonearest_test_data): New array.
47596         (expm1_test_tonearest): New function.
47597         (expm1_towardzero_test_data): New array.
47598         (expm1_test_towardzero): New function.
47599         (expm1_downward_test_data): New array.
47600         (expm1_test_downward): New function.
47601         (expm1_upward_test_data): New array.
47602         (expm1_test_upward): New function.
47603         (main): Run the new test functions.
47604         * sysdeps/i386/fpu/libm-test-ulps: Update.
47605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47607         * include/features.h: Update comment documenting feature test
47608         macros.  Mention _DEFAULT_SOURCE in comment.
47609         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
47610         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
47611         _BSD_SOURCE and _SVID_SOURCE.
47612         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
47613         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
47614         !_SVID_SOURCE]: Likewise.
47615         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47616         (__USE_POSIX_IMPLICITLY): Define.
47617         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47618         (_POSIX_SOURCE): Undefine and redefine.
47619         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
47620         (_POSIX_C_SOURCE): Likewise.
47621         * manual/creature.texi (_DEFAULT_SOURCE): Document.
47622         (Feature Test Macros): Update documentation of default features.
47624 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47626         * benchtests/Makefile: Add bench-strtok.
47627         * benchtests/bench-strtok.c: New file: strtok benchtest.
47629 2013-12-19  Allan McRae  <allan@archlinux.org>
47631         * manual/install.texi: Suppress menu for plain text output.
47632         * INSTALL: Regenerated.
47634 2013-12-18  Brooks Moses  <bmoses@google.com>
47636         [BZ #15846]
47637         * misc/getauxval.c: Include errno.h.
47638         (__getauxval): Set errno to ENOENT if the requested type is not
47639         found.
47640         * misc/sys/auxv.h (getauxval): Document that it may set errno;
47641         don't declare with __attribute_const__.
47642         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
47643         * manual/startup.texi: Document that getauxval sets errno.
47645 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47647         * math/auto-libm-test-in: Add tests of jn and yn.
47648         * math/auto-libm-test-out: Regenerated.
47649         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
47650         (yn_test_data): Likewise.
47651         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47652         mpfr_if_f.
47653         (func_calc_desc): Add mpfr_if_f union field.
47654         (FUNC_mpfr_if_f): New macro.
47655         (test_functions): Add jn and yn.
47656         (calc_generic_results): Assert type of second input for
47657         mpfr_ff_f.  Handle mpfr_if_f.
47658         (output_for_one_input_case): Disable all checking for arguments
47659         fitting floating-point types in case of an integer argument.
47660         * sysdeps/i386/fpu/libm-test-ulps: Update.
47661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47664         Don't expect fegetround reference in libm.so.
47666 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
47668         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
47669         $(config-cflags-nofma).
47671 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
47673         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
47674         * math/auto-libm-test-out: Regenerated.
47676         [BZ #16338]
47677         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
47678         to determine exponent and adjust argument to have exponent of -1.
47679         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
47680         log2.
47681         * math/auto-libm-test-out: Regenerated.
47682         * sysdeps/i386/fpu/libm-test-ulps: Update.
47683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47685 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
47687         * manual/probes.texi: Remove cases when per-thread arenas are
47688         disabled.
47690 2013-12-18  Andreas Schwab  <schwab@suse.de>
47692         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
47693         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
47694         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
47695         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
47696         * sysdeps/i386/i686/multiarch/Makefile: Update.
47697         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
47699 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47701         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
47702         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
47704 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
47706         [BZ #15968]
47707         Support TZ transition times < 00:00:00.
47708         This is needed for version-3 tz-format files; it supports time
47709         stamps past 2037 for America/Godthab (the only entry in the tz
47710         database for which this change is relevant).
47711         * manual/time.texi (TZ Variable): Document transition times
47712         from -167:59:59 through -00:00:01.
47713         * time/tzset.c (tz_rule): Time of day is now signed.
47714         (__tzset_parse_tz): Parse negative time of day.
47716         Document TZ transition times >= 25:00:00.
47717         * manual/time.texi (TZ Variable): Document transition times from
47718         25:00:00 through 167:59:59.  These are already supported, and this
47719         support will help with version-3 tz-format files.
47721         * manual/time.texi (TZ Variable): Modernize North America example
47722         to reflect current (i.e., 2007-and-later) daylight saving rules.
47724         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
47726 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47728         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
47729         * sysdeps/unix/bsd/bits/stat.h: Likewise.
47730         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
47731         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47732         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
47733         * sysdeps/unix/bsd/bsdstat.h: Likewise.
47734         * sysdeps/unix/bsd/clock.c: Likewise.
47735         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
47736         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
47737         * sysdeps/unix/bsd/init-posix.c: Likewise.
47738         * sysdeps/unix/bsd/poll.c: Likewise.
47739         * sysdeps/unix/bsd/ptsname.c: Likewise.
47740         * sysdeps/unix/bsd/seekdir.c: Likewise.
47741         * sysdeps/unix/bsd/setegid.c: Likewise.
47742         * sysdeps/unix/bsd/seteuid.c: Likewise.
47743         * sysdeps/unix/bsd/setgid.c: Likewise.
47744         * sysdeps/unix/bsd/setrgid.c: Likewise.
47745         * sysdeps/unix/bsd/setruid.c: Likewise.
47746         * sysdeps/unix/bsd/setsid.c: Likewise.
47747         * sysdeps/unix/bsd/setuid.c: Likewise.
47748         * sysdeps/unix/bsd/sigaction.c: Likewise.
47749         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
47750         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
47751         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
47752         * sysdeps/unix/bsd/telldir.c: Likewise.
47753         * sysdeps/unix/bsd/times.c: Likewise.
47754         * sysdeps/unix/bsd/usleep.c: Likewise.
47756         * misc/Makefile (install-lib): Remove libbsd-compat.a.
47757         ($(objpfx)libbsd-compat.a): Remove rule.
47759         * include/features.h (__FAVOR_BSD): Do not define.
47760         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
47761         features conflicting with POSIX.
47762         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
47763         (_BSD_SOURCE): Remove description of not being a subset of other
47764         feature test macros.
47765         * manual/job.texi (getpgrp): Do not document BSD version.
47766         (getpgid): Do not document by reference to BSD getpgrp.
47767         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
47768         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
47769         * signal/signal.h [__FAVOR_BSD]: Likewise.
47770         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
47771         instead of making contents conditional on [__FAVOR_BSD].
47772         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
47774 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47778 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
47780         [BZ #16314]
47781         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
47782         values below 2**-450, not 2**-500.
47783         * math/auto-libm-test-in: Don't allow spurious underflow from
47784         hypot.
47785         * math/auto-libm-test-out: Regenerated.
47787         [BZ #16316]
47788         [BZ #16330]
47789         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
47790         values of ha and hb and sort them after adjusting subnormal
47791         arguments.
47792         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
47793         Likewise.
47794         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
47795         values of ea and eb and sort them after adjusting subnormal
47796         arguments.
47797         * math/auto-libm-test-in: Do not expect some hypot tests of
47798         subnormals to fail.  Add more hypot tests.
47799         * math/auto-libm-test-out: Regenerated.
47801 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47803         [BZ #13304]
47804         * sysdeps/sh/s_fma.c: New file.
47805         * sysdeps/sh/s_fmaf.c: New file.
47806         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
47807         version.
47808         * sysdeps/sh/Implies: Add sh/soft-fp.
47810 2013-12-16  Roland McGrath  <roland@hack.frob.com>
47812         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
47813         level of indirection to members `objname', `errstring', `malloced'.
47814         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
47815         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
47816         it as the __longjmp argument (just pass 1 instead).
47817         (_dl_catch_error): Initialize C with argument pointers and address of
47818         volatile local ERRCODE rather than copying values out of C at return.
47820 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
47822         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
47823         * math/auto-libm-test-out: Regenerated.
47824         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
47825         (hypot_test_data): Likewise.
47826         (pow_test_data): Likewise.
47827         (pow_tonearest_test_data): Likewise.
47828         * math/gen-auto-libm-tests.c (func_calc_method): Add value
47829         mpfr_ff_f.
47830         (func_calc_desc): Add mpfr_ff_f union field.
47831         (FUNC_mpfr_ff_f): New macro.
47832         (test_functions): Add atan2, hypot and pow.
47833         (special_fill_min): New function.
47834         (special_fill_minus_min): Likewise.
47835         (special_fill_min_subnorm): Likewise.
47836         (special_fill_minus_min_subnorm): Likewise.
47837         (special_real_inputs): Add min, -min, min_subnorm and
47838         -min_subnorm.
47839         (calc_generic_results): Handle mpfr_ff_f.
47840         * sysdeps/i386/fpu/libm-test-ulps: Update.
47841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47843 2013-12-16  Will Newton  <will.newton@linaro.org>
47845         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
47846         (Aligned Memory Blocks): Add documentation for aligned_alloc
47847         and suggest it as an alternative to posix_memalign.
47848         (Hooks for Malloc): Document __memalign_hook is also called
47849         for aligned_alloc.  (Summary of Malloc): Add summary for
47850         aligned alloc.  Document __memalign_hook is also called
47851         for aligned_alloc.
47853 2013-12-16  Will Newton  <will.newton@linaro.org>
47855         * manual/memory.texi (Malloc Examples): Clarify default
47856         alignment documentation.  Suggest posix_memalign rather
47857         than memalign or valloc.
47858         (Aligned Memory Blocks): Remove suggestion to use memalign
47859         or valloc.  Remove obsolete comment about BSD.
47860         Document memalign errno values and mark the function obsolete.
47861         Document posix_memalign returned error codes.  Mark valloc
47862         as obsolete.  (Hooks for Malloc): __memalign_hook is also
47863         called for posix_memalign and valloc.
47864         (Summary of Malloc): Add posix_memalign to function summary.
47865         __memalign_hook is also called for posix_memalign and valloc.
47867 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47869         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
47870         TAYLOR_SIN.
47871         (__sin): Adjust.
47872         (__cos): Likewise.
47873         (sloww): Use mynumber union.  Expand ternary operator into
47874         if-else statements.
47875         (cslow): use mynumber union.
47877 2013-12-16  Allan McRae  <allan@archlinux.org>
47879         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
47880         * configure: Regenerated.
47882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
47884         [BZ #14120]
47885         * configure.ac: Added --enable-maintainer-mode. Check for
47886         autoconf when enabled.
47887         * configure: Regenerated.
47889         * nscd/nscd.service: New file.
47890         * nscd/nscd.tmpfiles: New file.
47892 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
47894         [BZ #12100]
47895         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
47896         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
47897         * sysdeps/x86_64/multiarch/strstr.c: ... here.
47898         (strstr): Add __strstr_sse2_unaligned ifunc.
47899         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
47900         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
47901         (strcasestr): Remove __strcasestr_sse42 ifunc.
47902         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
47903         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
47904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
47906 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47908         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
47909         * sysdeps/sh/bits/fenv.h: ... here.
47910         * sysdeps/sh/sh4/fpu/bits: Remove directory.
47912 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47914         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
47916         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
47917         hypotf multiarch implementations.
47918         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
47919         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
47920         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
47921         multiarch hypot for PPC64.
47922         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
47923         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
47924         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
47925         multiarch hypotf for PPC64.
47927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
47928         modff multiarch implementations.
47929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
47930         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
47931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
47932         multiarch modf for PPC64.
47933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
47934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
47935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
47936         multiarch modff for PPC64.
47938         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
47939         and logl multiarch implementations.
47940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
47941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
47942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
47943         multiarch logb for PPC64.
47944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
47945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
47946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
47947         multiarch logb for PPC64.
47948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
47949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
47950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
47951         multiarch logb for PPC64.
47953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
47954         isinff multiarch implementation.
47955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
47956         file.
47957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
47958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
47959         multiarch isinf for PPC64.
47960         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
47961         file.
47962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
47963         multiarch isinff for PPC64.
47965         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
47966         finitef multiarch implementation.
47967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
47968         file.
47969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
47970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
47971         multiarch finite for PPC64.
47972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
47973         file.
47974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
47975         multiarch finitef for PPC64.
47977         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
47978         lrint multiarch implementation.
47979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
47980         file.
47981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
47982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
47983         multiarch llrint for PPC64.
47984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
47985         multiarch lrint for PPC64.
47987         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
47988         copysignf multiarch implementation.
47989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
47990         file.
47991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
47992         file.
47993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
47994         multiarch copysign for PPC64.
47995         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
47996         multiarch copysignf for PPC64.
47998         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
47999         multiarch implementation.
48000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48001         file.
48002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48003         file.
48004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48005         file.
48006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48007         file.
48008         multiarch llround for PPC64.
48009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48010         multiarch trunc for PPC64.
48011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48012         multiarch truncf for PPC64.
48014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48015         multiarch implementation.
48016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48017         file.
48018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48019         file.
48020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48021         file.
48022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48023         file.
48024         multiarch llround for PPC64.
48025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48026         multiarch round for PPC64.
48027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48028         multiarch roundf for PPC64.
48030         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48031         multiarch implementation.
48032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48033         file.
48034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48035         file.
48036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48037         file.
48038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48039         file.
48040         multiarch llround for PPC64.
48041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48042         multiarch floor for PPC64.
48043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48044         multiarch floorf for PPC64.
48046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48047         multiarch implementation.
48048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48049         file.
48050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48051         file.
48052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48053         file.
48054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48055         file.
48056         multiarch llround for PPC64.
48057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48058         multiarch ceil for PPC64.
48059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48060         multiarch ceilf for PPC64.
48062         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48063         multiarch implementation.
48064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48065         file.
48066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48067         file.
48068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48069         file.
48070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48071         multiarch llround for PPC64.
48072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48073         multiarch lround for PPC64.
48075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48076         multiarch implementation.
48077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48080         file.
48081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48084         multiarch isnan for PPC64.
48085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48086         multiarch isnanf for PPC64.
48088         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48089         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48090         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48091         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48092         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48095         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48096         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48097         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48098         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48101         multiarch implementations.
48102         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48103         (__libc_ifunc_impl_list): Likewise.
48104         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48105         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48106         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48107         multiarch stpcpy for PPC64.
48109         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48110         multiarch implementations.
48111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48112         (__libc_ifunc_impl_list): Likewise.
48113         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48114         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48115         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48116         multiarch strcpy for PPC64.
48118         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48119         redefine function name.
48120         (_wordcopy_fwd_dest_aligned): Likewise.
48121         (_wordcopy_bwd_aligned): Likewise.
48122         (_wordcopy_bwd_dest_aligned): Likewise.
48123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48124         multiarch implementations.
48125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48126         (__libc_ifunc_impl_list): Likewise.
48127         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48128         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48129         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48130         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48131         multiarch wcscpy for PPC64.
48133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48134         multiarch implementations.
48135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48136         (__libc_ifunc_impl_list): Likewise.
48137         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
48138         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
48139         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
48140         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
48141         multiarch wcscpy for PPC64.
48143         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
48144         multiarch implementations.
48145         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48146         (__libc_ifunc_impl_list): Likewise.
48147         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
48148         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
48149         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
48150         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
48151         multiarch wcsrchr for PPC64.
48153         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
48154         multiarch implementations.
48155         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48156         (__libc_ifunc_impl_list): Likewise.
48157         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
48158         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
48159         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
48160         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
48161         multiarch wcschr for PPC64.
48163         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
48164         multiarch implementations.
48165         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48166         (__libc_ifunc_impl_list): Likewise.
48167         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
48168         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
48169         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
48170         multiarch strchrnul for PPC64.
48172         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
48173         implementations.
48174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48175         (__libc_ifunc_impl_list): Likewise.
48176         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
48177         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
48178         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
48179         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
48180         strchr for PPC64.
48182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
48183         implementations.
48184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48185         (__libc_ifunc_impl_list): Likewise.
48186         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
48187         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
48188         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
48189         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
48190         strncmp for PPC64.
48192         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
48193         multiarch implementations.
48194         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48195         (__libc_ifunc_impl_list): Likewise.
48196         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
48197         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
48198         strncasecmp for PPC64.
48199         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
48200         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
48201         multiarch strncasecmp_l for PPC64.
48203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
48204         multiarch implementations.
48205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48206         (__libc_ifunc_impl_list): Likewise.
48207         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
48208         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
48209         multiarch strcasecmp for PPC64.
48210         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
48211         file.
48212         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
48213         multiarch strcasecmp_l for PPC64.
48215         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
48216         implementations.
48217         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48218         (__libc_ifunc_impl_list): Likewise.
48219         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
48220         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
48221         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
48222         strnlen for PPC64.
48224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
48225         implementations.
48226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48227         (__libc_ifunc_impl_list): Likewise.
48228         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
48229         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
48230         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
48231         strlen for PPC64.
48233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
48234         implementations.
48235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48236         (__libc_ifunc_impl_list): Likewise.
48237         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
48238         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
48239         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
48240         rawmemrchr for PPC64.
48242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
48243         implementation.
48244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48245         (__libc_ifunc_impl_list): Likewise.
48246         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
48247         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
48248         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
48249         memrchr for PPC64.
48251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
48252         implementation.
48253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48254         (__libc_ifunc_impl_list): Likewise.
48255         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
48256         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
48257         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
48258         memchr for PPC64.
48260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
48261         implementation.
48262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48263         (__libc_ifunc_impl_list): Likewise.
48264         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
48265         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
48266         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
48267         mempcpy for PPC64.
48269         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
48270         avoid cretion of __bzero symbol.
48271         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
48272         Likewise.
48273         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
48274         Likewise.
48275         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
48276         Likewise.
48277         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
48278         multiarch implementations.
48279         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48280         (__libc_ifunc_impl_list): Likewise.
48281         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
48282         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
48283         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
48284         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
48285         bzero for PPC32.
48286         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
48287         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
48288         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
48289         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
48290         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
48291         memset for PPC64.
48292         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
48294         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
48295         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
48296         implementations.
48297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48298         (__libc_ifunc_impl_list): Likewise.
48299         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
48300         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
48301         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
48302         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
48303         memcmp for PPC64.
48305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
48306         multiarch for POWER/PPC64.
48307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
48308         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
48309         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48310         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
48311         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
48312         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
48313         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
48314         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
48315         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
48316         memcpy for PPC64.
48318         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
48319         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
48320         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
48321         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
48322         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
48323         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
48324         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
48325         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
48326         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
48327         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
48328         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
48329         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
48330         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
48331         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
48332         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
48333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
48334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
48335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
48336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
48337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
48338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
48339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
48341 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48343         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
48345 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48347         * benchtests/Makefile (bench): Add exp2 and log2.
48348         (LDLIBS-bench-exp2): Add -lm.
48349         (LDLIBS-bench-log2): Likewise.
48350         * benchtests/exp2-inputs: New inputs file.
48351         * benchtests/log2-inputs: New inputs file.
48352         * benchtests/log-inputs: Add new inputs.
48353         * benchtests/tan-inputs: Likewise.
48355 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48357         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
48358         definition...
48359         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
48360         (csloww2): ... from here.
48362         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48363         instead of structures.
48364         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
48365         (POLYNOMIAL): Likewise.
48366         (TAYLOR_SLOW): Likewise.
48367         (__sin): Likewise.
48368         (__cos): Likewise.
48369         (slow1): Likewise.
48370         (slow2): Likewise.
48371         (sloww): Likewise.
48372         (sloww1); Likewise.
48373         (sloww2): Likewise.
48374         (bsloww1): Likewise.
48375         (bsloww2): Likewise.
48376         (cslow2): Likewise.
48377         (csloww): Likewise.
48378         (csloww1): Likewise.
48379         (csloww2): Likewise.
48381 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
48383         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
48384         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
48385         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
48386         * malloc/hooks.c (realloc_check): Likewise.
48388         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
48389         * malloc/arena.c: Remove PER_THREAD conditional.
48390         [!PER_THREAD]: Remove code.
48391         (ptmalloc_unlock_all2): Likewise.
48392         (ptmalloc_init): Likewise.
48393         (_int_new_arena): Likewise.
48394         (arena_get2): Likewise.
48395         * malloc/hooks.c (__malloc_get_state): Likewise.
48396         (__malloc_set_state): Likewise.
48397         * malloc/malloc.c: Likewise.
48398         (struct malloc_state): Likewise.
48399         (struct malloc_par): Likewise.
48400         (__libc_realloc): Likewise.
48401         (__libc_mallopt): Likewise.
48403 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48405         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
48407 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
48409         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
48410         macro to a function.  Check for zero perturb_byte.
48411         (_int_malloc, _int_free): Remove zero perturb_byte checks.
48413         * malloc/malloc.c: (force_reg): Remove.
48414         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
48415         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
48416         force_reg by atomic_forced_read.
48417         * malloc/arena.c (ptmalloc_init): Likewise.
48418         * malloc/hooks.c (top_check): Likewise.
48420 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48424 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
48426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48428 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
48430         * math/auto-libm-test-in: Add tests of lgamma.
48431         * math/auto-libm-test-out: Regenerated.
48432         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
48433         (M_LOG_2_SQRT_PIl): Likewise.
48434         (lgamma_test_data): Use AUTO_TESTS_f_f1.
48435         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48436         mpfr_f_f1.
48437         (func_calc_desc): Add mpfr_f_f1 union field.
48438         (ARGS1): New macro.
48439         (ARGS2): Likewise.
48440         (ARGS3): Likewise.
48441         (ARGS4): Likewise.
48442         (RET1): Likewise.
48443         (RET2): Likewise.
48444         (CALC): Likewise.
48445         (FUNC): Likewise.
48446         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
48447         (test_functions): Add lgamma.
48448         (calc_generic_results): Handle mpfr_f_f1.
48449         * sysdeps/i386/fpu/libm-test-ulps: Update.
48450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48452 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48454         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
48455         __mpn_add_n for PowerPC64/POWER7.
48456         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
48457         __mpn_sub_n for PowerPC64/POWER7.
48459         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
48460         __mpn_addmul_1 for PowerPC64.
48461         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
48462         __mpn_submul_1 for PowerPC64.
48463         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
48464         for PowerPC64.
48465         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
48466         for PowerPC64.
48468 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
48470         [BZ #15089]
48471         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
48473 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48475         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
48477         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
48478         add multiarch folders.
48479         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
48480         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
48481         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
48482         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
48483         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
48484         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
48485         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
48486         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
48487         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
48488         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
48489         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
48490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
48491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
48492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
48493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
48494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
48495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
48497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48498         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
48499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
48500         New file.
48501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
48502         New file.
48503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
48504         multiarch __ieee754_hypot for PowerPC32.
48505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
48506         New file.
48507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
48508         New file.
48509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
48510         multiarch __ieee754_hypotf for PowerPC32.
48512         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
48513         long_double_symbol only if __logbl is defined.
48514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
48515         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
48516         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
48517         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
48518         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
48519         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
48520         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
48521         path for implementation.
48522         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
48523         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
48524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
48525         logb, and logbl multiarch implementations for PowerPC32.
48526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
48527         file.
48528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
48529         file.
48530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
48531         multiarch logb for PowerPC32.
48532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
48533         file.
48534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
48535         file.
48536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
48537         multiarch logbf for PowerPC32.
48538         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
48539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
48540         file.
48541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
48542         multiarch logbl implementation for PowerPC32.
48544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
48545         and modff multiarch implementations.
48546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
48547         New file.
48548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
48549         New file.
48550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
48551         multiarch modf for PowerPC32.
48552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
48553         New file.
48554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
48555         New file.
48556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
48557         multiarch modff for PowerPC32.
48559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
48560         and lrintf multiarch implementations.
48561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
48562         New file.
48563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
48564         New file.
48565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
48566         multiarch lrint for PowerPC32.
48567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
48568         file: multiarch lrintf for PowerPC32.
48570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
48571         and lroundf multiarch implementations.
48572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
48573         New file.
48574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
48575         New file.
48576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
48577         New file.
48578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
48579         multiarch lround for PowerPC32.
48580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
48581         file: multiarch lroundf for PowerPC32.
48583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
48584         copysign and copysignf multiarch implementations.
48585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
48586         New file.
48587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
48588         New file.
48589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
48590         file: multiarch copysign for PowerPC32.
48591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
48592         file: multiarch copysignf for PowerPC32.
48594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
48595         and truncf multiarch implementations.
48596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
48597         New file.
48598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
48599         file.
48600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
48601         multiarch trunc for PowerPC32.
48602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
48603         New file.
48604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
48605         New file.
48606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
48607         multiarch truncf for PowerPC32.
48609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
48610         and roundf multiarch implementations.
48611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
48612         New file.
48613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
48614         file.
48615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
48616         multiarch round for PowerPC32.
48617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
48618         New file.
48619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
48620         New file.
48621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
48622         multiarch roundf for PowerPC32.
48624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
48625         and floorf multiarch implementations.
48626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
48627         New file.
48628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
48629         file.
48630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
48631         multiarch floor for PowerPC32.
48632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
48633         New file.
48634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
48635         New file.
48636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
48637         multiarch floorf for PowerPC32.
48639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
48640         and ceilf multiarch implementations.
48641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
48642         New file.
48643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
48644         file.
48645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
48646         multiarch ceil for PowerPC32.
48647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
48648         New file.
48649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
48650         file.
48651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
48652         multiarch ceilf for PowerPC32.
48654         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
48655         is defined.
48656         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
48657         FINITEF is defined.
48658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
48659         and finitef multiarch implementations.
48660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
48661         New file.
48662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
48663         file.
48664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
48665         multiarch finite for PowerPC32.
48666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
48667         New file.
48668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
48669         file: multiarch finitef for PowerPC32.
48671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
48672         and isinff multiarch implementations.
48673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
48674         file.
48675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
48676         file.
48677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
48678         multiarch isinf for PowerPC32.
48679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
48680         New file.
48681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
48682         multiarch isinff for PowerPC32.
48684         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
48685         alias when __isnan is defined.
48686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
48687         and isnanf multiarch implementations.
48688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
48689         file.
48690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
48691         file.
48692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
48693         file.
48694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
48695         file.
48696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
48697         multiarch isnan for PowerPC32.
48698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
48699         New file.
48700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
48701         New file.
48702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
48703         multiarch isnanf for PowerPC32.
48705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
48706         and sqrtf multiarch implementations.
48707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
48708         file.
48709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
48710         file.
48711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
48712         multiarch sqrt for PowerPC32.
48713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
48714         file.
48715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
48716         file.
48717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
48718         multiarch sqrtf for PowerPC32.
48720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
48721         and llroundf multiarch implementations.
48722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
48723         New file.
48724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
48725         New file.
48726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
48727         New file.
48728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
48729         file: multiarch llround for PowerPC32.
48730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
48731         file: multiarch llroundf for PowerPC32.
48733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
48734         multiarch PowerPC32 fpu implementations.
48735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
48736         New file.
48737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
48738         New file.
48739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
48740         multiarch llrint for PowerPC32.
48741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
48742         New file.
48743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
48744         New file.
48745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
48746         file.
48748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
48750         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
48751         file.
48752         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
48753         file.
48754         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
48755         file.
48756         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
48757         multiarch wordcopy for PPC32.
48758         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48759         wordcopy objects.
48760         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48761         (__libc_ifunc_impl_list): Likewise.
48762         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
48763         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
48764         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
48765         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
48766         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
48767         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
48769         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
48770         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
48771         file.
48772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
48773         file.
48774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
48775         file.
48776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
48777         multiarch wcscpy for PPC32.
48778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
48779         multiarch objects.
48780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48781         (__libc_ifunc_impl_list): Likewise.
48782         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48783         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48784         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
48785         sysdeps/powerpc/power6/wcscpy.c.
48787         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
48788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
48789         file.
48790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
48791         file.
48792         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
48793         file.
48794         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
48795         multiarch wcsrchr for PPC32.
48796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48797         multiarch objects.
48798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48799         (__libc_ifunc_impl_list): Likewise.
48800         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
48801         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
48802         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
48803         sysdeps/powerpc/power6/wcsrchr.c.
48805         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
48806         file.
48807         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
48808         file.
48809         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
48810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
48811         multiarch wcschr for PPc32.
48812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
48813         multiarch objects.
48814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48815         (__libc_ifunc_impl_list): Likewise.
48816         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
48817         * sysdeps/powerpc/power6/wcschr.c: ... to here.
48818         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
48819         sysdeps/powerpc/power6/wcschr.c.
48821         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
48822         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
48823         file.
48824         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
48825         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
48826         file: multiarch strchr for PPC32.
48827         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
48828         multiarch objects.
48829         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48830         (__libc_ifunc_impl_list): Likewise.
48832         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
48833         name.
48834         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
48835         file.
48836         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
48837         file.
48838         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
48839         multiarch strchrnul for PPC32.
48840         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
48841         multiarch objects.
48842         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48843         (__libc_ifunc_impl_list): Likewise.
48845         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
48846         file.
48847         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
48848         multiarch strncasecmp for PPC32.
48849         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
48850         file.
48851         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
48852         multiarch strncasecmp_l for PPC32.
48853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
48854         strncasecmp multiarch objects.
48855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48856         (__libc_ifunc_impl_list): Likewise.
48858         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
48859         file.
48860         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
48861         multiarch strncasecmp for PPC32.
48862         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
48863         New file.
48864         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
48865         multiarch strcasecmp_l for PPC32.
48866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
48867         multiarch objects.
48868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48869         (__libc_ifunc_impl_list): Likewise.
48871         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
48872         file.
48873         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
48874         file.
48875         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
48876         multiarch strncmp for PPC32.
48877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
48878         multiarch objects.
48879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48880         (__libc_ifunc_impl_list): Likewise.
48882         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
48883         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
48884         file.
48885         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
48886         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
48887         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
48888         multiarch objects.
48889         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48890         (__libc_ifunc_impl_list): Likewise.
48892         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
48893         file.
48894         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
48895         file.
48896         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
48897         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
48898         multiarch objects.
48899         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48900         (__libc_ifunc_impl_list): Likewise.
48902         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
48903         file.
48904         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
48905         file.
48906         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
48907         multiarch rawmemchr for PPC32.
48908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
48909         multiarch objects.
48910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48911         (__libc_ifunc_impl_list): Likewise.
48913         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
48914         file.
48915         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
48916         file.
48917         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
48918         file: memrchr multiarch for PPC32.
48919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
48920         multiarch objects.
48921         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
48922         (__libc_ifunc_impl_list): Likewise.
48924         * string/memchr.c (__memchr): Using macro to redefine symbol name.
48925         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
48926         file.
48927         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
48928         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
48929         multiarch memchr for PPC32.
48930         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
48931         multiarch objects.
48932         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48933         (__libc_ifunc_impl_list): Likewise.
48935         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
48936         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
48937         file.
48938         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
48939         file.
48940         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48941         file: multiarch mempcpy for PPC32.
48942         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
48943         multiarch objects.
48944         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48945         (__libc_ifunc_impl_list): Likewise.
48947         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
48948         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
48949         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
48950         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
48951         multiarch bzero for PPC32.
48952         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
48953         file.
48954         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
48955         file.
48956         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
48957         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
48958         file: multiarch memset for PPC32.
48959         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
48960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
48961         memset multiarch objects.
48962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48963         (__libc_ifunc_impl_list): Likewise.
48965         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
48966         file.
48967         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
48968         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
48969         memcmp for PPC32.
48970         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
48971         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
48972         multiarch objects.
48973         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48974         (__libc_ifunc_impl_list): Likewise.
48976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
48977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
48978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
48979         file.
48980         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
48981         file.
48982         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
48983         file.
48984         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
48985         multiarch memcpy for PPC32.
48986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
48987         multiarch objects.
48988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
48989         (__libc_ifunc_impl_list): Likewise.
48991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
48992         support multiarch for POWER/PPC32.
48993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
48994         Likewise.
48995         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
48996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
48997         Implies file to make multiarch folder appers before the fpu and
48998         default folder for power4 configuration.
49000 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49002         * scripts/bench.pl: Append volatile keyword to type.
49004 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49006         * sysdeps/sh/sotruss-lib.c: New file.
49007         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49009 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49013 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49015         [BZ #6810]
49016         * math/w_tgamma.c: Include <errno.h>.
49017         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49018         * math/w_tgammaf.c: Include <errno.h>.
49019         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49020         * math/w_tgammal.c: Include <errno.h>.
49021         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49022         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49023         underflow.  Add more tgamma tests.
49024         * math/auto-libm-test-out: Regenerated.
49025         * sysdeps/i386/fpu/libm-test-ulps: Update.
49026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49028         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49029         sin, sinh, tan, tanh, tgamma, y0 and y1.
49030         * math/auto-libm-test-out: Regenerated.
49031         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49032         (TEST_COND_x86): Likewise.
49033         (M_E2l): Remove macro.
49034         (M_E3l): Likewise.
49035         (M_2_SQRT_PIl): Likewise.
49036         (M_SQRT_PIl): Likewise.
49037         (M_1_DIV_El): Likewise.
49038         (log_test_data): Use AUTO_TESTS_f_f.
49039         (log10_test_data): Likewise.
49040         (log1p_test_data): Likewise.
49041         (log2_test_data): Likewise.
49042         (sin_test_data): Likewise.
49043         (sin_tonearest_test_data): Likewise.
49044         (sin_towardzero_test_data): Likewise.
49045         (sin_downward_test_data): Likewise.
49046         (sin_upward_test_data): Likewise.
49047         (sinh_test_data): Likewise.
49048         (sinh_tonearest_test_data): Likewise.
49049         (sinh_towardzero_test_data): Likewise.
49050         (sinh_downward_test_data): Likewise.
49051         (sinh_upward_test_data): Likewise.
49052         (tan_test_data): Likewise.
49053         (tan_tonearest_test_data): Likewise.
49054         (tan_towardzero_test_data): Likewise.
49055         (tan_downward_test_data): Likewise.
49056         (tan_upward_test_data): Likewise.
49057         (tanh_test_data): Likewise.
49058         (tgamma_test_data): Likewise.
49059         (y0_test_data): Likewise.
49060         (y1_test_data): Likewise.
49061         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49062         (special_real_inputs): Add pi/4.
49063         * sysdeps/i386/fpu/libm-test-ulps: Update.
49064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49066 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49068         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49069         "longjmp_target" static probes.
49070         (__longjmp): Rename to __longjmp_symbol.
49071         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49072         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49073         on which longjmp to generate.
49074         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49075         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49076         probe.
49077         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49078         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49079         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49080         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49081         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49082         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49084         __longjmp_symbol based on which __longjmp to generate.
49085         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49086         probe.
49087         (setjmp): Rename to setjmp_symbol.
49088         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49089         (_setjmp): Rename to _setjmp_symbol.
49090         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49091         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49092         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49093         which setjmp to generate.
49094         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49095         "longjmp_target" static probes.
49097 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49099         * benchtests/README: Add note about output arguments.
49100         * benchtests/bench-sincos.c: Remove file.
49101         * benchtests/sincos-inputs: New file.
49102         * scripts/bench.pl: Identify output arguments and define
49103         static variables for them.
49105         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49107         [BZ #15941]
49108         * Makefile (INSTALL): Add install-plain.texi as the primary
49109         dependency.
49110         * manual/install-plain.texi: New file.
49111         * manual/install.texi: Include node directive only for
49112         non-plaintext output.
49114 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49116         * stdlib/longlong.h: Update from GCC.
49118         [BZ #6807]
49119         [BZ #15901]
49120         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49121         * math/w_j0f.c (y0f): Likewise.
49122         * math/w_j0l.c (__y0l): Likewise.
49123         * math/w_j1.c (y1): Likewise.
49124         * math/w_j1f.c (y1f): Likewise.
49125         * math/w_j1l.c (__y1l): Likewise.
49126         * math/w_jn.c (yn): Likewise.
49127         * math/w_jnf.c (ynf): Likewise.
49128         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49129         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49130         value for Bessel function domain errors outside _SVID_ mode.
49131         Adjust sign of return value for yn (negative integer, 0).
49132         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49133         by zero in return for negative x and set sign appropriately for
49134         negative n.
49135         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
49136         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49137         * math/libm-test.inc (y0_test_data): Add more tests and adjust
49138         expectations in error cases.
49139         (y1_test_data): Likewise.
49140         (yn_test_data): Likewise.
49141         * sysdeps/i386/fpu/libm-test-ulps: Update.
49142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49144 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49146         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
49147         "64" to "64-v1".  Add "64-v2".
49148         (abi-64-options): Rename to ...
49149         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
49150         (abi-64-condition): Rename to ...
49151         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
49152         (abi-64-ld-soname): Rename to ...
49153         (abi-64-v1-ld-soname): ... this.
49154         (abi-64-v2-options): Define.
49155         (abi-64-v2-condition): Likewise.
49156         (abi-64-v2-ld-soname): Likewise.
49157         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
49158         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
49159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
49160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
49161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
49163 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49164             Alan Modra  <amodra@gmail.com>
49166         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
49167         New versions for use with the ELFv2 ABI.
49168         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
49169         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
49170         declaration.
49171         (struct La_ppc64v2_retval): Likewise.
49172         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
49173         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
49174         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
49175         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
49176         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
49177         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49178         Do not save or restore CR.
49179         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
49180         (_dl_profile_resolve): Do no save or restore CR.  Support extended
49181         return values for ELFv2 ABI.  Fix location of FPR return registers.
49182         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
49183         updated values for _CALL_ELF == 2.
49184         (La_regs, La_retval, int_retval): Likewise.
49186 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49188         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
49189         (FRAME_MIN_SIZE_PARM): Likewise.
49190         (FRAME_BACKCHAIN): Likewise.
49191         (FRAME_CR_SAVE): Likewise.
49192         (FRAME_LR_SAVE): Likewise.
49193         (FRAME_TOC_SAVE): Likewise.
49194         (FRAME_PARM_SAVE): Likewise.
49195         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
49196         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
49197         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49198         (call_mcount_parm_offset): New macro.
49199         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
49200         (PROF): Use symbolic stack frame offsets.
49201         (TAIL_CALL_SYSCALL_ERROR): Likewise.
49202         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
49203         Redefine in terms of FRAME_MIN_SIZE.
49204         (_dl_runtime_resolve): Use symbolic stack frame offsets.
49205         (_dl_profile_resolve): Likewise.  Update comment.
49206         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
49207         symbols stack frame offsets.
49208         (__sigsetjmp): Likewise.
49209         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
49210         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
49211         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
49212         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
49214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
49215         (FRAME_BACKCHAIN): Remove.
49216         (FRAME_CR_SAVE): Likewise.
49217         (FRAME_LR_SAVE): Likewise.
49218         (FRAME_COMPILER_DW): Likewise.
49219         (FRAME_LINKER_DW): Likewise.
49220         (FRAME_TOC_SAVE): Likewise.
49221         (FRAME_PARM_SAVE): Likewise.
49222         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
49223         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
49224         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
49225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
49226         (CHECK_SP): Use symbolic stack frame offsets.
49227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
49228         zone" instead of caller's parameter save area for temp storage.
49229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49230         Likewise.  Also, use symbolic stack frame offsets.
49231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
49232         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
49233         our own stack frame instead of the caller's.
49234         (__socket): Use symbolic stack frame offsets.
49236 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49237             Alan Modra  <amodra@gmail.com>
49239         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
49240         Define.
49241         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
49242         (PPC64_LOCAL_ENTRY_OFFSET): Define.
49243         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
49244         New function.
49245         (elf_machine_fixup_plt): Call it.
49246         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
49247         reloc arguments.
49248         (elf_machine_rela): Update call to elf_machine_plt_conflict.
49249         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49250         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
49251         r2 before calling target.
49253 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49254             Alan Modra  <amodra@gmail.com>
49256         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
49257         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
49258         versions of macros to support ELFv2 ABI.
49259         (LOCALENTRY): New macro.
49260         (ENTRY, EALIGN): Use it.
49261         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
49262         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
49263         fall through into ENTRY entry point.
49264         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
49265         Only define if _CALL_ELF != 2.
49267         (elf_machine_matches_host): Verify ABI version matches.
49268         (RTLD_START): Use LOCALENTRY.
49269         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
49270         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
49271         (PLT_ENTRY_WORDS): New macro.
49272         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
49273         (elf_machine_runtime_setup): Support ELFv2 ABI.
49274         (elf_machine_fixup_plt): Likewise.
49275         (elf_machine_plt_conflict): Likewise.
49276         (resolve_ifunc): Likewise.
49277         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
49278         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
49279         Likewise.
49280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
49281         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
49282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49283         (makecontext): Support ELFv2 ABI.
49284         * elf/elf.h (EF_PPC64_ABI): Define.
49286 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49288         * sysdeps/powerpc/powerpc64/sysdep.h
49289         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
49290         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
49291         (ENTRY) [ASSEMBLER]: ... but instead here ...
49292         (EALIGN) [ASSEMBLER]: ... and here.
49293         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
49294         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
49295         (ENTRY_2) [!ASSEMBLER]: Use it.
49296         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
49297         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
49298         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
49299         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
49300         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
49301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
49302         Use PPC64_LOAD_FUNCPTR.
49304         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
49306 2013-12-04  Alan Modra  <amodra@gmail.com>
49308         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
49309         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
49310         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
49311         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
49313         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
49314         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
49315         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
49316         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
49317         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
49318         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
49320 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
49322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49323         (__makecontext): Fix incorrect CFI when backtracing out of
49324         context created via makecontext.
49325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
49326         (__setcontext): Fix incorrect CFI during switch to new context.
49327         (__novec_setcontext): Likewise.
49329 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49331         [BZ #4772]
49332         * time/strptime_l.c (__strptime_internal): Allow modifiers
49333         in strptime.
49334         * time/tst-strptime.c (day_tests): Add testcase.
49336 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49338         * scripts/bench.pl: Skip over blank lines.
49340 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
49342         [BZ #926]
49343         * manual/time.texi (Calendar Time): Clarify what timezone functions
49344         use.
49346 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49350 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
49352         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
49353         implementation.
49354         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
49355         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
49356         * debug/memset_chk.c (__memset_chk): Likewise.
49357         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
49358         * debug/strncpy_chk.c: Likewise.
49360 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49362         [BZ #15268]
49363         [BZ #15425]
49364         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
49365         (__ieee754_exp): For possibly underflowing results, check size of
49366         result and force underflow exception if required.
49367         * math/auto-libm-test-in: Add more tests of exp.
49368         * math/auto-libm-test-out: Regenerated.
49369         * sysdeps/i386/fpu/libm-test-ulps: Update.
49370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49372         [BZ #16283]
49373         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
49374         * math/w_exp2f.c (__exp2f): Likewise.
49375         * math/w_exp2l.c (__exp2l): Likewise.
49376         * math/auto-libm-test-in: Do not allow missing errno on exp2
49377         underflow.
49378         * math/auto-libm-test-out: Regenerated.
49380 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
49382         [BZ #16274]
49383         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
49384         handle filename validation.
49385         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
49386         (do_open): Delete.
49388 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
49390         [BZ #6786]
49391         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
49392         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
49393         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
49394         <float.h>.
49395         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
49396         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
49397         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49398         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
49399         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49400         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
49401         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
49402         * math/auto-libm-test-in: Don't allow missing errno from erfc.
49403         Add more erfc tests.
49404         * math/auto-libm-test-out: Regenerated.
49405         * sysdeps/i386/fpu/libm-test-ulps: Update.
49406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49408         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
49409         exp2, expm1, j0 and j1.
49410         * math/auto-libm-test-out: Regenerated.
49411         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
49412         (erfc_test_data): Likewise.
49413         (exp_test_data): Likewise.
49414         (exp_tonearest_test_data): Likewise.
49415         (exp_towardzero_test_data): Likewise.
49416         (exp_downward_test_data): Likewise.
49417         (exp_upward_test_data): Likewise.
49418         (exp10_test_data): Likewise.
49419         (exp2_test_data): Likewise.
49420         (expm1_test_data): Likewise.
49421         (j0_test_data): Likewise.
49422         (j1_test_data): Likewise.
49423         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
49424         (input_flag_type): Add flag_xfail_rounding.
49425         (input_flags): Add xfail-rounding.
49426         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
49427         (output_for_one_input_case): Handle flag_xfail_rounding.
49428         * sysdeps/i386/fpu/libm-test-ulps: Update.
49429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49431 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
49433         [BZ #16289]
49434         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
49435         division by 0.
49437 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
49439         [BZ #16195]
49440         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
49441         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
49442         (STAP_PROBE0): New macro.
49443         (STAP_PROBE1): Likewise.
49444         (STAP_PROBE2): Likewise.
49445         (STAP_PROBE3): Likewise.
49446         (STAP_PROBE4): Likewise.
49448 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
49450         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
49452 2013-12-02  Steve Ellcey  <sellcey@mips.com>
49454         * benchtests/Makefile (bench): Add sqrt.
49455         (LDLIBS-bench-sqrt): New.
49456         * benchtests/sqrt-input: New.
49458 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
49460         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
49461         (GAIH_EAI): Likewise.
49462         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
49463         (gaih_inet): Likewise.
49464         (getaddrinfo): Don't use GAIH_EAI.
49466         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
49467         (struct gaih): Remove definition.
49469 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49471         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
49472         Use HERRNOP directly.
49474 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49478 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
49480         * math/gen-auto-libm-tests.c (test_functions): Add more
49481         single-argument functions.
49482         (special_fill_pi_2): New function.
49483         (special_fill_minus_pi_2): Likewise.
49484         (special_fill_pi_6): Likewise.
49485         (special_fill_minus_pi_6): Likewise.
49486         (special_fill_pi_3): Likewise.
49487         (special_fill_2pi_3): Likewise.
49488         (special_fill_e): Likewise.
49489         (special_fill_1_e): Likewise.
49490         (special_fill_e_minus_1): Likewise.
49491         (special_real_inputs): Add more special inputs.
49492         (output_for_one_input_case): Do not require ERANGE on underflow to
49493         zero if round-to-nearest result does not underflow to zero, unless
49494         exact results required.
49495         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
49496         atan, atanh, cbrt, cos and cosh.
49497         * math/auto-libm-test-out: Regenerated.
49498         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
49499         (acos_tonearest_test_data): Likewise.
49500         (acos_towardzero_test_data): Likewise.
49501         (acos_downward_test_data): Likewise.
49502         (acos_upward_test_data): Likewise.
49503         (acosh_test_data): Likewise.
49504         (asin_test_data): Likewise.
49505         (asin_tonearest_test_data): Likewise.
49506         (asin_towardzero_test_data): Likewise.
49507         (asin_upward_test_data): Likewise.
49508         (asinh_test_data): Likewise.
49509         (atan_test_data): Likewise.
49510         (atanh_test_data): Likewise.
49511         (cbrt_test_data): Likewise.
49512         (cos_test_data): Likewise.
49513         (cos_tonearest_test_data): Likewise.
49514         (cos_towardzero_test_data): Likewise.
49515         (cos_downward_test_data): Likewise.
49516         (cos_upward_test_data): Likewise.
49517         (cosh_test_data): Likewise.
49518         (cosh_tonearest_test_data): Likewise.
49519         (cosh_towardzero_test_data): Likewise.
49520         (cosh_downward_test_data): Likewise.
49521         (cosh_upward_test_data): Likewise.
49522         * sysdeps/i386/fpu/libm-test-ulps: Update.
49523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49525 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
49527         [BZ #6787]
49528         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
49529         * math/w_exp10f.c (__exp10f): Likewise.
49530         * math/w_exp10l.c (__exp10l): Likewise.
49531         * math/libm-test.inc (exp10_test_data): Add more tests and expect
49532         errno settings in existing tests.
49534         [BZ #14032]
49535         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
49536         precision control set to double precision.
49537         * sysdeps/i386/fpu/w_sqrt.c: New file.
49538         * math/auto-libm-test-in: Add more tests.
49539         * math/auto-libm-test-out: Update.
49541         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
49542         (sqrt_test_tonearest): New function.
49543         (sqrt_towardzero_test_data): New variable.
49544         (sqrt_test_towardzero): New function.
49545         (sqrt_downward_test_data): New variable.
49546         (sqrt_test_downward): New function.
49547         (sqrt_upward_test_data): New variable.
49548         (sqrt_test_upward): New function.
49549         (main): Call the new functions.
49551         * math/gen-auto-libm-tests.c: New file.
49552         * math/auto-libm-test-in: Likewise.
49553         * math/auto-libm-test-out: New generated file.
49554         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
49555         variables.
49556         (%beautify): Add generated representations of zero.
49557         (top level): Set $auto_input and call parse_auto_input.
49558         (beautify): Remove trailing "f" from hex float constants.
49559         (parse_args): Handle XFAIL_TEST.
49560         (convert_condition): New function.
49561         (or_value): Likewise.
49562         (or_cond_value): Likewise.
49563         (generate_testfile): Handle AUTO_TESTS_* lines.
49564         (parse_auto_input): New function.
49565         * math/libm-test.inc (XFAIL_TEST): New macro.
49566         (ERRNO_UNCHANGED): Update value.
49567         (ERRNO_EDOM): Likewise.
49568         (ERRNO_ERANGE): Likewise.
49569         (IGNORE_RESULT): Likewise.
49570         (TEST_COND_flt_32): New macro.
49571         (TEST_COND_dbl_64): Likewise.
49572         (TEST_COND_ldbl_96_intel): Likewise.
49573         (TEST_COND_ldbl_96_m68k): Likewise.
49574         (TEST_COND_ldbl_128): Likewise.
49575         (TEST_COND_ldbl_128ibm): Likewise.
49576         (TEST_COND_long32): Likewise.
49577         (TEST_COND_long64): Likewise.
49578         (TEST_COND_before_rounding): Likewise.
49579         (TEST_COND_after_rounding): Likewise.
49580         (enable_test): Handle XFAIL_TEST flag.
49581         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
49582         with finite results.
49583         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
49584         auto-libm-test-out.
49586 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49587             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49589         [BZ #16214]
49590         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
49591         __tls_get_addr_internal instead of __tls_get_offset in order to
49592         avoid GOT pointer dependency.  Make rtld export
49593         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
49594         __tls_get_addr since we are a __tls_get_offset platform.
49595         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
49596         GOT pointer being set up before.
49597         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
49599 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
49601         * manual/math.texi (Errors in Math Functions): Document accuracy
49602         goals.
49604         [BZ #15004]
49605         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
49606         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
49607         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49608         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49609         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49610         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49611         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49612         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49613         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49614         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49615         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49616         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49617         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49618         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49619         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49620         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49622         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
49623         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
49624         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
49625         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
49626         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
49627         Likewise.
49628         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
49629         Likewise.
49630         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
49631         Likewise.
49632         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
49633         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
49634         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
49635         atomic-feupdateenv and flt-rounds.
49636         * sysdeps/powerpc/nofpu/Versions (libc): Add
49637         __atomic_feholdexcept, __atomic_feclearexcept,
49638         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
49639         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
49640         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
49641         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
49642         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
49643         here.
49644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49645         Update.
49647         * manual/arith.texi (FP Exceptions): Document that exceptions may
49648         not be raised when matherr is used.
49649         (Math Error Reporting): Document overflow in directed rounding
49650         modes.  Document that errno may not be set when finite values are
49651         returned on overflow.  Document intent to set errno on underflow
49652         only for underflow to zero.
49654         [BZ #16271]
49655         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
49656         round-to-nearest then adjust result for other rounding modes.
49657         * include/fenv.h (fegetround): Use libm_hidden_proto.
49658         * math/fegetround.c (fegetround): Use libm_hidden_def.
49659         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
49660         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
49661         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49662         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
49663         Likewise.
49664         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
49665         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49666         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
49667         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
49669 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49671         [BZ #16077]
49672         * nss/Versions (libnss_files): Add
49673         _nss_files_gethostbyname3_r.
49674         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
49675         New function.
49676         (HOST_DB_LOOKUP): Remove macro.
49677         (_nss_files_gethostbyname_r): Implement function without the
49678         HOST_DB_LOOKUP macro.
49679         (_nss_files_gethostbyname2_r): Likewise.
49681 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
49683         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
49685 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
49687         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
49688         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
49689         warning.
49691 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49693         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
49694         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
49695         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
49696         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
49697         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
49698         __fe_nomask_env_priv and attribute_hidden.
49699         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
49700         (libc_feupdateenv_test_ppc): Likewise.
49701         (libc_feresetround_ppc): Likewise.
49702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49703         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
49704         compat_symbol macro.
49705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49706         (__fe_nomask_env): Likewise.
49707         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
49709 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49711         * string/Makefile: Remove ifunc tests.
49712         * string/test-string.h: Define TEST_IFUNC.
49713         * string/test-bcopy-ifunc.c: Remove.
49714         * string/test-bzero-ifunc.c: Likewise.
49715         * string/test-memccpy-ifunc.c: Likewise.
49716         * string/test-memchr-ifunc.c: Likewise.
49717         * string/test-memcmp-ifunc.c: Likewise.
49718         * string/test-memcpy-ifunc.c: Likewise.
49719         * string/test-memmem-ifunc.c: Likewise.
49720         * string/test-memmove-ifunc.c: Likewise.
49721         * string/test-mempcpy-ifunc.c: Likewise.
49722         * string/test-memrchr-ifunc.c: Likewise.
49723         * string/test-memset-ifunc.c: Likewise.
49724         * string/test-rawmemchr-ifunc.c: Likewise.
49725         * string/test-stpcpy-ifunc.c: Likewise.
49726         * string/test-stpncpy-ifunc.c: Likewise.
49727         * string/test-strcasecmp-ifunc.c: Likewise.
49728         * string/test-strcasestr-ifunc.c: Likewise.
49729         * string/test-strcat-ifunc.c: Likewise.
49730         * string/test-strchr-ifunc.c: Likewise.
49731         * string/test-strchrnul-ifunc.c: Likewise.
49732         * string/test-strcmp-ifunc.c: Likewise.
49733         * string/test-strcpy-ifunc.c: Likewise.
49734         * string/test-strcspn-ifunc.c: Likewise.
49735         * string/test-strlen-ifunc.c: Likewise.
49736         * string/test-strncasecmp-ifunc.c: Likewise.
49737         * string/test-strncat-ifunc.c: Likewise.
49738         * string/test-strncmp-ifunc.c: Likewise.
49739         * string/test-strncpy-ifunc.c: Likewise.
49740         * string/test-strnlen-ifunc.c: Likewise.
49741         * string/test-strpbrk-ifunc.c: Likewise.
49742         * string/test-strrchr-ifunc.c: Likewise.
49743         * string/test-strspn-ifunc.c: Likewise.
49744         * string/test-strstr-ifunc.c: Likewise.
49746 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49748         * benchtests/Makefile: Remove ifunc tests.
49749         * benchtests/bench-string.h: Define TEST_IFUNC.
49750         * benchtests/bench-bcopy-ifunc.c: Remove.
49751         * benchtests/bench-bzero-ifunc.c: Likewise.
49752         * benchtests/bench-memccpy-ifunc.c: Likewise.
49753         * benchtests/bench-memchr-ifunc.c: Likewise.
49754         * benchtests/bench-memcmp-ifunc.c: Likewise.
49755         * benchtests/bench-memcpy-ifunc.c: Likewise.
49756         * benchtests/bench-memmem-ifunc.c: Likewise.
49757         * benchtests/bench-memmove-ifunc.c: Likewise.
49758         * benchtests/bench-mempcpy-ifunc.c: Likewise.
49759         * benchtests/bench-memrchr-ifunc.c: Likewise.
49760         * benchtests/bench-memset-ifunc.c: Likewise.
49761         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
49762         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
49763         * benchtests/bench-stpcpy-ifunc.c: Likewise.
49764         * benchtests/bench-stpncpy-ifunc.c: Likewise.
49765         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
49766         * benchtests/bench-strcasestr-ifunc.c: Likewise.
49767         * benchtests/bench-strcat-ifunc.c: Likewise.
49768         * benchtests/bench-strchr-ifunc.c: Likewise.
49769         * benchtests/bench-strchrnul-ifunc.c: Likewise.
49770         * benchtests/bench-strcmp-ifunc.c: Likewise.
49771         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
49772         * benchtests/bench-strcpy-ifunc.c: Likewise.
49773         * benchtests/bench-strcspn-ifunc.c: Likewise.
49774         * benchtests/bench-strlen-ifunc.c: Likewise.
49775         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
49776         * benchtests/bench-strncat-ifunc.c: Likewise.
49777         * benchtests/bench-strncmp-ifunc.c: Likewise.
49778         * benchtests/bench-strncpy-ifunc.c: Likewise.
49779         * benchtests/bench-strnlen-ifunc.c: Likewise.
49780         * benchtests/bench-strpbrk-ifunc.c: Likewise.
49781         * benchtests/bench-strrchr-ifunc.c: Likewise.
49782         * benchtests/bench-strsep-ifunc.c: Likewise.
49783         * benchtests/bench-strspn-ifunc.c: Likewise.
49784         * benchtests/bench-strstr-ifunc.c: Likewise.
49786 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49788         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
49790 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
49792         * resolv/netdb.h: Use __glibc_reserved instead __unused.
49793         * rt/aio.h: Likewise.
49794         * sysdeps/gnu/bits/utmp.h: Likewise.
49795         * sysdeps/gnu/bits/utmpx.h: Likewise.
49796         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49797         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
49798         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
49799         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
49800         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
49801         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
49802         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
49803         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
49804         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
49805         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
49806         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
49807         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
49808         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
49809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
49810         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
49811         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
49812         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
49813         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
49814         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
49815         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
49816         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
49817         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
49818         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
49819         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49820         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
49821         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49822         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
49823         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
49824         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
49825         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
49826         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
49827         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
49828         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
49829         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49830         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
49831         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
49832         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
49833         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
49834         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
49835         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
49836         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
49837         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49839 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
49841         [BZ #16245]
49842         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
49843         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
49845 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
49847         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
49848         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
49849         Likewise.
49851 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
49854         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
49855         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
49856         (__fesetround): Remove define.
49857         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
49858         rounding and exceptions handling.
49859         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
49860         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
49861         (__fe_nomask_env): Likewise.
49862         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
49863         __fegetround instead of fegetround.
49864         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
49865         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
49867 2013-11-21  Roland McGrath  <roland@hack.frob.com>
49869         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
49870         it's there.
49872         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
49874 2013-11-21  Meador Inge  <meadori@codesourcery.com>
49876         [BZ #11157]
49877         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
49878         (encrypt_r): Likewise.
49879         * malloc/obstack.h (obstack_free): Likewise.
49880         * posix/unistd.h (encrypt): Likewise.
49882 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
49884         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
49885         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
49886         DL_CALL_DT_FINI() that call the functions directly.
49887         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
49888         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
49889         * elf/dl-fini.c: Likewise.
49891 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
49893         * malloc/hooks.c (memalign_check): Add alignment rounding.
49894         * malloc/malloc.c (_mid_memalign): New function.
49895         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
49896         Implement by calling _mid_memalign.
49897         * manual/probes.texi (Memory Allocation Probes): Remove
49898         memory_valloc_retry and memory_pvalloc_retry.
49900 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49902         * locale/programs/locarchive.c (open_archive): Add const
49903         qualifier to ARCHIVEFNAME and copy default fname to
49904         DEFAULT_FNAME.
49906         [BZ #15601]
49907         * libio/tst-widetext.input: Rename Oriya to Odia.
49908         * locale/iso-639.def: Likewise.
49910         * manual/probes.texi (Mathematical Function Probes): Add
49911         documentation for sin, cos, asin and acos probes.
49912         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
49913         (__sin32): Add slowasin probe.
49914         (__cos32): Add slowacos probe.
49915         (__mpsin): Add slowsin probe.
49916         (__mpcos): Add slowcos probe.
49918 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
49920         [BZ #15483]
49921         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
49922         thread-local __sim_exceptions_thread and global
49923         __sim_exceptions_global.
49924         (__sim_disabled_exceptions): Change to thread-local
49925         __sim_disabled_exceptions_thread and global
49926         __sim_disabled_exceptions_global.
49927         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49928         and global __sim_round_mode_global.
49929         (__simulate_exceptions): Use thread-local floating-point state and
49930         set global state from it as needed.
49931         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
49932         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
49933         __sim_round_mode_thread.
49934         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
49935         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
49936         and global __sim_exceptions_global.
49937         (__sim_disabled_exceptions): Change to thread-local
49938         __sim_disabled_exceptions_thread and global
49939         __sim_disabled_exceptions_global.
49940         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
49941         and global __sim_round_mode_global.
49942         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
49943         (SIM_SET_GLOBAL): Likewise.
49944         * sysdeps/powerpc/soft-fp/sfp-machine.h
49945         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
49946         __sim_round_mode_thread.
49947         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
49948         __sim_disabled_exceptions_thread.
49949         (__sim_exceptions): Change to __sim_exceptions_thread.
49950         (__sim_disabled_exceptions): Change to
49951         __sim_disabled_exceptions_thread.
49952         (__sim_round_mode): Change to __sim_round_mode_thread.
49953         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
49954         thread-local floating-point state and set global state from it as
49955         needed.
49956         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
49957         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
49958         (__sim_disabled_exceptions): Remove extern declaration.
49959         (feenableexcept): Use thread-local floating-point state and set
49960         global state from it as needed.
49961         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
49962         extern declaration.
49963         (__sim_disabled_exceptions): Likewise.
49964         (__sim_round_mode): Likewise.
49965         (__fegetenv): Use thread-local floating-point state.
49966         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
49967         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
49968         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
49969         floating-point state and set global state from it as needed.
49970         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
49971         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
49972         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
49973         Likewise.
49974         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
49975         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
49976         Likewise.
49977         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
49978         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
49979         Use __sim_round_mode_thread.
49980         * math/test-fenv-tls.c: New file.
49981         * math/Makefile (tests): Add test-fenv-tls.
49982         ($(objpfx)test-fenv-tls): Depend on
49983         $(common-objpfx)nptl/libpthread.so.
49985 2013-11-19  Andreas Schwab  <schwab@suse.de>
49987         * locale/programs/locale.c (show_info): Decode wordarray elements.
49988         * locale/categories.def (LC_MONETARY): Add element for
49989         _NL_MONETARY_CRNCYSTR.
49990         * locale/C-monetary.c (conversion_rate): New variable.
49991         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
49992         element.
49994 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
49996         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
49997         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
49999 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50001         * elf/Makefile (tst-auxv): New test.
50002         * elf/tst-auxv.c: New
50003         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50005 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50007         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50008         (hidden_proto): Caller changed.
50009         (hidden_tls_proto): New macro.
50010         (libc_hidden_tls_proto): Likewise.
50011         (rtld_hidden_tls_proto): Likewise.
50012         (libm_hidden_tls_proto): Likewise.
50013         (libresolv_hidden_tls_proto): Likewise.
50014         (librt_hidden_tls_proto): Likewise.
50015         (libdl_hidden_tls_proto): Likewise.
50016         (libnss_files_hidden_tls_proto): Likewise.
50017         (libnsl_hidden_tls_proto): Likewise.
50018         (libnss_nisplus_hidden_tls_proto): Likewise.
50019         (libutil_hidden_tls_proto): Likewise.
50021 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50023         [BZ #10253]
50024         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50025         (decompose_rpath): Defer expansion to fillin_rpath.
50026         (_dl_init_paths): Pass linkmap to fillin_rpath.
50028 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50030         * benchtests/Makefile: Add strsep.
50031         * benchtests/bench-strsep.c: New file: strsep benchtest.
50032         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50034 2013-11-18  Andreas Schwab  <schwab@suse.de>
50036         * locale/programs/locale.c (show_info) [case byte]: Check for
50037         '\377' instead of '\177'.
50038         * locale/C-monetary.c (not_available): Always use "\377".
50039         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50040         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50041         detect unavailable sign_posn locale elements.
50042         * locale/localeconv.c (__localeconv): For grouping and
50043         mon_grouping handle "\177" and "\377" like no grouping.
50044         (INT_ELEM): New macro.  Use it to set all numeric members.
50045         * locale/programs/ld-monetary.c (monetary_read)
50046         <tok_mon_grouping>: Normalize single -1 to the empty string.
50047         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50048         Likewise.
50050 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50052         [BZ #16055]
50053         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50054         when we match (nil).
50055         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50057 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50059         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50060         (NO_TEST_INLINE): Update value.
50061         (ERRNO_UNCHANGED): Likewise.
50062         (ERRNO_EDOM): Likewise.
50063         (ERRNO_ERANGE): Likewise.
50064         (IGNORE_RESULT): Likewise.
50065         (check_float_internal): Check signs of NaN results if
50066         TEST_NAN_SIGN used.
50067         (check_complex): Pass TEST_NAN_SIGN flag through to second
50068         check_float_internal call.
50069         (copysign_test_data): Add tests with quiet NaNs as second
50070         argument.  Use TEST_NAN_SIGN.
50071         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50072         TEST_NAN_SIGN.
50073         (signbit_test_data): Add tests of quiet NaN argument.
50074         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50076         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50077         $ignore_result.
50078         (parse_args): Handle function results specified as IGNORE.
50079         * math/libm-test.inc (IGNORE_RESULT): New macro.
50080         (check_float_internal): Do not check numerical result if flag
50081         IGNORE_RESULT set.
50082         (check_complex): Pass through IGNORE_RESULT to second
50083         check_float_internal call.
50084         (check_int): Do not check numerical result if flag IGNORE_RESULT
50085         set.
50086         (check_long): Likewise.
50087         (check_bool): Likewise.
50088         (check_longlong): Likewise.
50089         (lrint_test_data): Add tests of infinite and NaN arguments.
50090         (lrint_tonearest_test_data): Likewise.
50091         (lrint_towardzero_test_data): Likewise.
50092         (lrint_downward_test_data): Likewise.
50093         (lrint_upward_test_data): Likewise.
50094         (llrint_test_data): Likewise.
50095         (llrint_tonearest_test_data): Likewise.
50096         (llrint_towardzero_test_data): Likewise.
50097         (llrint_downward_test_data): Likewise.
50098         (llrint_upward_test_data): Likewise.
50099         (lround_test_data): Likewise.
50100         (llround_test_data): Likewise.
50102         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50103         (ERRNO_UNCHANGED): Update value.
50104         (ERRNO_EDOM): Likewise.
50105         (ERRNO_ERANGE): Likewise.
50106         (NO_TEST_INLINE_FLOAT): New macro.
50107         (NO_TEST_INLINE_DOUBLE): Likewise.
50108         (enable_test): New function.
50109         (RUN_TEST_f_f): Check enable_test before running test.
50110         (RUN_TEST_2_f): Likewise.
50111         (RUN_TEST_fff_f): Likewise.
50112         (RUN_TEST_c_f): Likewise.
50113         (RUN_TEST_f_f1): Likewise.
50114         (RUN_TEST_fF_f1): Likewise.
50115         (RUN_TEST_fI_f1): Likewise.
50116         (RUN_TEST_ffI_f1): Likewise.
50117         (RUN_TEST_c_c): Likewise.
50118         (RUN_TEST_cc_c): Likewise.
50119         (RUN_TEST_f_i): Likewise.
50120         (RUN_TEST_f_i_tg): Likewise.
50121         (RUN_TEST_ff_i_tg): Likewise.
50122         (RUN_TEST_f_b): Likewise.
50123         (RUN_TEST_f_b_tg): Likewise.
50124         (RUN_TEST_f_l): Likewise.
50125         (RUN_TEST_f_L): Likewise.
50126         (RUN_TEST_fFF_11): Likewise.
50127         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50128         conditionals.
50129         (cosh_test_data): Likewise.
50130         (exp_test_data): Likewise.
50131         (expm1_test_data): Likewise.
50132         (hypot_test_data): Likewise.
50133         (pow_test_data): Likewise.
50134         (sinh_test_data): Likewise.
50135         (tanh_test_data): Likewise.
50136         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
50137         flags argument.
50139         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
50140         tests with quiet NaN input and output.
50141         (acosh_test_data): Likewise.
50142         (asin_test_data): Likewise.
50143         (asinh_test_data): Likewise.
50144         (atan_test_data): Likewise.
50145         (atanh_test_data): Likewise.
50146         (atan2_test_data): Likewise.
50147         (cbrt_test_data): Likewise.
50148         (cos_test_data): Likewise.
50149         (cosh_test_data): Likewise.
50150         (erf_test_data): Likewise.
50151         (erfc_test_data): Likewise.
50152         (exp_test_data): Likewise.
50153         (exp10_test_data): Likewise.
50154         (exp2_test_data): Likewise.
50155         (expm1_test_data): Likewise.
50156         (hypot_test_data): Likewise.
50157         (j0_test_data): Likewise.
50158         (j1_test_data): Likewise.
50159         (jn_test_data): Likewise.
50160         (lgamma_test_data): Likewise.
50161         (log_test_data): Likewise.
50162         (log10_test_data): Likewise.
50163         (log1p_test_data): Likewise.
50164         (log2_test_data): Likewise.
50165         (pow_test_data): Likewise.
50166         (scalb_test_data): Likewise.
50167         (sin_test_data): Likewise.
50168         (sincos_test_data): Likewise.
50169         (sinh_test_data): Likewise.
50170         (tan_test_data): Likewise.
50171         (tanh_test_data): Likewise.
50172         (tgamma_test_data): Likewise.
50173         (y0_test_data): Likewise.
50174         (y1_test_data): Likewise.
50175         (yn_test_data): Likewise.
50177         [BZ #16167]
50178         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
50179         argument being NaN and avoid computations with second argument in
50180         that case.
50181         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50182         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
50183         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50185 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
50187         * locale/iso-639.def: Add Chitwani Tharu (the).
50189 2013-11-14  Andreas Schwab  <schwab@suse.de>
50191         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
50192         word instead of empty string.
50194 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50197         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
50198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50199         (__fe_nomask_env): Likewise.
50201 2013-11-13  Steve Ellcey  <sellcey@mips.com>
50203         * benchtests/bench-timing.h: Include time.h.
50205 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
50207         [BZ #15997]
50208         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
50209         to 3.4.0 for x32.
50210         * sysdeps/unix/sysv/linux/configure: Regenerated.
50212 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
50214         [BZ #16151]
50215         * stdlib/strtod_l.c (round_and_return): Do not consider
50216         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
50217         exponent one less than half the least subnormal exponent.
50218         * stdlib/test-strtod-round-data: Add more tests.
50219         * stdlib/tst-strtod-round.c (tests): Regenerated.
50221 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50223         [BZ #14143]
50224         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
50225         (__fe_mask_env): Likewise.
50226         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
50227         libm_hidden_proto and add function prototype.
50228         (__fe_mask_env): Add function prototype.
50229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50230         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
50231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
50232         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
50233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50234         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
50236 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50238         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50239         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
50241 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50243         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
50244         of htab_find_slot().
50246 2013-11-11  David S. Miller  <davem@davemloft.net>
50248         [BZ #16150]
50249         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
50250         symbol in the non-vis3 case in static builds.
50251         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
50252         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
50253         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
50254         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
50256 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
50258         [BZ #387]
50259         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
50260         it is empty.
50262 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50264         * benchtests/Makefile: Add bench-strtod.
50265         * benchtests/bench-strtod.c: New file: strtod benchtest
50267 2013-11-11  Andreas Schwab  <schwab@suse.de>
50269         [BZ #16153]
50270         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
50271         terminating NUL in key length.
50273 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50275         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50276         Add artificial ODP entry for vDSO symbol for PPC64.
50277         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
50278         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
50280 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50282         [BZ #15374]
50283         * nss/getent.c (services_keys): Recognize services starting with digit.
50285 2013-11-06  David S. Miller  <davem@davemloft.net>
50287         [BZ #15985]
50288         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
50289         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
50291 2013-11-06  Will Newton  <will.newton@linaro.org>
50293         * manual/memory.texi (Malloc Examples): Remove register
50294         keyword from examples.
50296 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
50298         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
50300 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
50302         [BZ #6981]
50303         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
50304         depending on [__GCC_IEC_559 > 0].
50305         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
50306         depending on [__GCC_IEC_559_COMPLEX > 0].
50308 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
50310         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
50311         to iso-639.def.
50313 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
50315         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
50317 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
50319         [BZ #16112]
50320         * malloc/malloc (malloc_info): Do not handle first bin as
50321         special case.
50323 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
50325         * locale/iso-639.def: Add Central Nahuatl (nhn).
50327 2013-11-01  Bruno Haible  <bruno@clisp.org>
50329         [BZ #7003]
50330         * manual/math.texi (BSD Random): Specify range upper bound as
50331         in POSIX.
50333 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
50335         * locale/iso-639.def: Add Meadow Mari (mhr).
50337 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
50339         [BZ #14752], [BZ #15763]
50340         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
50341         Validate name.
50342         * rt/tst_shm.c: Add test for escaping directory.
50344 2013-10-31  Andreas Schwab  <schwab@suse.de>
50346         [BZ #15917]
50347         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
50348         followed by 'x' as part of digit sequence.
50349         * stdio-common/tst-sscanf.c (double_tests2): New tests.
50351 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
50353         [BZ #16037]
50354         * configure.ac: allow GNU Make 4.0 and greater.
50355         * configure: Regenerated.
50357 2013-10-30  Will Newton  <will.newton@linaro.org>
50359         [BZ #16038]
50360         * malloc/hooks.c (memalign_check): Limit alignment to the
50361         maximum representable power of two.
50362         * malloc/malloc.c (__libc_memalign): Likewise.
50363         * malloc/tst-memalign.c (do_test): Add test for very
50364         large alignment values.
50365         * malloc/tst-posix_memalign.c (do_test): Likewise.
50367 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50369         [BZ #11087]
50370         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
50371         (munmap_chunk): Likewise.
50372         (mremap_chunk): Likewise.
50374 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
50376         [BZ #15799]
50377         * stdlib/div.c (div): Remove obsolete code.
50378         * stdlib/ldiv.c (ldiv): Likewise.
50379         * stdlib/lldiv.c (lldiv): Likewise.
50381 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50383         [BZ #16071]
50384         * nss/nss_files/files-XXX.c (get_contents_ret): New
50385         enumerator.
50386         (get_contents): New function.
50387         (internal_getent): Use it.  Expand size of LINEBUFLEN.
50389 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
50391         * configure.in: Moved to ...
50392         * configure.ac: ... here. Change reference to configure.in
50393         to configure.ac.
50394         * sysdeps/arm/preconfigure.ac: ... here.
50395         configure.in to configure.ac.
50396         * sysdeps/gnu/configure.in: Moved to ...
50397         * sysdeps/gnu/configure.ac: ... here.
50398         * sysdeps/i386/configure.in: Moved to ...
50399         * sysdeps/i386/configure.ac: ... here.
50400         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
50401         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
50402         * sysdeps/mach/configure.in: Moved to ...
50403         * sysdeps/mach/configure.ac: ... here.
50404         * sysdeps/mach/hurd/configure.in: Moved to ...
50405         * sysdeps/mach/hurd/configure.ac: ... here.
50406         * sysdeps/powerpc/configure.in: Moved to ...
50407         * sysdeps/powerpc/configure.ac: ... here.
50408         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
50409         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
50410         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
50411         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
50412         * sysdeps/s390/s390-32/configure.in: Moved to ...
50413         * sysdeps/s390/s390-32/configure.ac: ... here.
50414         * sysdeps/s390/s390-64/configure.in: Moved to ...
50415         * sysdeps/s390/s390-64/configure.ac: ... here.
50416         * sysdeps/sh/configure.in: Moved to ...
50417         * sysdeps/sh/configure.ac: ... here.
50418         * sysdeps/sparc/configure.in: Moved to ...
50419         * sysdeps/sparc/configure.ac: ... here.
50420         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
50421         * sysdeps/unix/sysv/linux/configure.ac: ... here.
50422         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
50423         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
50424         * sysdeps/x86_64/configure.in: Moved to ...
50425         * sysdeps/x86_64/configure.ac: ... here.
50426         * sysdeps/x86_64/preconfigure.in: Moved to ...
50427         * sysdeps/x86_64/preconfigure.ac: ... here.
50428         * aclocal.m4: Change reference to configure.in to configure.ac.
50429         * config.h.in: Likewise.
50430         * manual/install.texi: Likewise.
50431         * manual/maint.texi: Likewise.
50432         * Makefile: Likewise.
50433         * malloc/Makefile: Likewise.
50434         * nscd/Makefile: Likewise.
50435         * Makeconfig: Change reference to configure.in and
50436         preconfigure.in to configure.ac and preconfigure.ac
50437         respectively.
50438         * INSTALL: Regenerated.
50439         * configure: Likewise.
50440         * sysdeps/gnu/configure: Likewise.
50441         * sysdeps/i386/configure: Likewise.
50442         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
50443         * sysdeps/mach/configure: Likewise.
50444         * sysdeps/mach/hurd/configure: Likewise.
50445         * sysdeps/powerpc/configure: Likewise.
50446         * sysdeps/powerpc/powerpc32/configure: Likewise.
50447         * sysdeps/powerpc/powerpc64/configure: Likewise.
50448         * sysdeps/s390/s390-32/configure: Likewise.
50449         * sysdeps/s390/s390-64/configure: Likewise.
50450         * sysdeps/sh/configure: Likewise.
50451         * sysdeps/sparc/configure: Likewise.
50452         * sysdeps/unix/sysv/linux/configure: Likewise.
50453         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
50454         * sysdeps/x86_64/configure: Likewise.
50455         * sysdeps/x86_64/preconfigure: Likewise.
50457 2013-10-29  Andreas Schwab  <schwab@suse.de>
50459         * stdio-common/Makefile (tst-swscanf-ENV): Define.
50461 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50463         * benchtests/pow-inputs: Add new inputs.
50465         * benchtests/exp-inputs: Add new inputs.
50467         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
50468         conditional check for return value.
50469         (__cos32): Likewise.
50471 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50473         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
50474         to provide a boost for large inputs with word alignment.
50475         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
50476         implementation based on optimized PPC64 strcpy.
50477         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
50478         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
50479         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
50480         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
50482 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50484         [BZ #2801]
50485         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
50487 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50489         [BZ #14876]
50490         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
50491         * time/tst-strptime.c (day_tests): Add testcase.
50493 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
50495         [BZ #14029]
50496         * manual/pattern.texi: Acknowledge that fnmatch can fail.
50498 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
50500         [BZ #16074]
50501         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
50502         MAP_FAILED on error.
50504 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50506         [BZ #16072]
50507         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
50508         heap for large requests.
50510 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
50512         [BZ #9954]
50513         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
50514         result if the result has no associated interface.
50515         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
50516         interface for all 127.X.Y.Z addresses.
50518 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
50520         * locale/iso-639.def: Add Ligurian (lij)
50522 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
50524         [BZ #15825]
50525         * sunrpc/rpc_main.c: Document rpcgen -5.
50527 2013-10-19  Michael Stahl  <mstahl@redhat.com>
50529         * elf/rtld.c (do_preload): Print the reason why preloading failed.
50531 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50533         [BZ #10278]
50534         * posix/glob.c: Match only directories when trailing slash is present.
50535         * posix/tst-gnuglob.c (my_opendir): Do not open files.
50536         (main): Add testcase.
50538 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
50540         [BZ #15670]
50541         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
50543 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
50545         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
50546         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
50547         AUTH_DES and cindex for FIPS 140-2.
50548         (DES Encryption): Add cindex FIPS 46-3.
50550         * locale/locarchive.h (struct locarhandle): Add fname.
50551         * locale/programs/localedef.c (main): Pass ARGV[remaining]
50552         if an optional argument was specified to --list-archive,
50553         otherwise NULL.
50554         * locale/programs/locarchive.c (show_archive_content): Take new
50555         argument fname and pass it via ah.fname to open_archive.
50556         * locale/programs/localedef.h: Update decl.
50557         (open_archive): If AH->fname is non-null, open that file
50558         rather than the default file name, and don't ignore ENOENT.
50559         (create_archive): Set AH.fname to NULL.
50560         (delete_locales_from_archive): Likewise.
50561         (add_locales_to_archive): Likewise.
50562         * locale/programs/locfile.c (write_all_categories): Likewise.
50564 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
50565             Aldy Hernandez  <aldyh@redhat.com>
50567         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
50568         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
50569         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
50570         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
50571         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
50572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
50573         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
50574         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
50575         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
50576         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
50577         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
50578         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
50579         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
50580         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
50581         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
50582         Likewise.
50583         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
50584         Likewise.
50585         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
50586         Likewise.
50587         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
50588         Likewise.
50589         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
50590         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
50591         Likewise.
50592         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
50593         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
50594         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
50595         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
50596         Likewise.
50597         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
50598         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
50599         * sysdeps/powerpc/preconfigure: Likewise.
50600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
50601         Likewise.
50602         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
50603         Replace contents of file by #include of <fenv_libc.h>.
50604         * sysdeps/powerpc/soft-fp/sfp-machine.h
50605         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
50606         and <sys/prctl.h>.
50607         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
50608         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
50609         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
50610         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
50611         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
50612         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
50613         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
50614         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
50615         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
50616         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
50617         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
50618         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
50619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
50620         Allow copysignl PLT reference to be missing.
50622 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
50623             Joseph Myers  <joseph@codesourcery.com
50625         [BZ #15948]
50626         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
50627         single character.
50628         (add_to_tablewc): Assert sequence of wide characters is nonempty.
50630 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50632         * elf/tst-tls-dlinfo.c: Don't include tls.h.
50633         * elf/tst-tls1.c: Likewise.
50634         * elf/tst-tls10.h: Likewise.
50635         * elf/tst-tls14.c: Likewise.
50636         * elf/tst-tls2.c: Likewise.
50637         * elf/tst-tls3.c: Likewise.
50638         * elf/tst-tls4.c: Likewise.
50639         * elf/tst-tls5.c: Likewise.
50640         * elf/tst-tls6.c: Likewise.
50641         * elf/tst-tls7.c: Likewise.
50642         * elf/tst-tls8.c: Likewise.
50643         * elf/tst-tls9.c: Likewise.
50644         * elf/tst-tlsmod1.c: Likewise.
50645         * elf/tst-tlsmod13.c: Likewise.
50646         * elf/tst-tlsmod13a.c: Likewise.
50647         * elf/tst-tlsmod14a.c: Likewise.
50648         * elf/tst-tlsmod16a.c: Likewise.
50649         * elf/tst-tlsmod16b.c: Likewise.
50650         * elf/tst-tlsmod2.c: Likewise.
50651         * elf/tst-tlsmod3.c: Likewise.
50652         * elf/tst-tlsmod4.c: Likewise.
50653         * elf/tst-tlsmod5.c: Likewise.
50654         * elf/tst-tlsmod6.c: Likewise.
50656 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
50658         [BZ #12486]
50659         * malloc/malloc.c: remove checks for statistics.
50661 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50663         [BZ #15277]
50664         * inet/inet_net.c (inet_network): Detect additional invalid strings.
50665         * inet/tst-network.c: Add testcase.
50667 2013-10-17  Andreas Schwab  <schwab@suse.de>
50669         [BZ #15218]
50670         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
50671         to determine canonical name.
50673 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
50675         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
50676         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
50677         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50678         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50680         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50681         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50682         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50683         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50684         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50685         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50686         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50687         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50688         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50689         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50690         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50691         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50692         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50693         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50694         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50695         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50697         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50698         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
50699         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
50700         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50701         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50702         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
50703         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50704         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
50705         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50706         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50707         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50708         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50709         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50710         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50711         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50712         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50713         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50714         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50715         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50716         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50717         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50718         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50719         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50720         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50721         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50722         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50723         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50724         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50725         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50726         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50727         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50728         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50730         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50732         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50734 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
50736         [BZ #16041]
50737         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
50738         make result into a quiet NaN.
50740 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
50742         * soft-fp/adddf3.c: Fix horizontal whitespace.
50743         * soft-fp/addsf3.c: Likewise.
50744         * soft-fp/addtf3.c: Likewise.
50745         * soft-fp/divdf3.c: Likewise.
50746         * soft-fp/divsf3.c: Likewise.
50747         * soft-fp/divtf3.c: Likewise.
50748         * soft-fp/double.h: Likewise.
50749         * soft-fp/eqdf2.c: Likewise.
50750         * soft-fp/eqsf2.c: Likewise.
50751         * soft-fp/eqtf2.c: Likewise.
50752         * soft-fp/extenddftf2.c: Likewise.
50753         * soft-fp/extended.h: Likewise.
50754         * soft-fp/extendsfdf2.c: Likewise.
50755         * soft-fp/extendsftf2.c: Likewise.
50756         * soft-fp/extendxftf2.c: Likewise.
50757         * soft-fp/fixdfdi.c: Likewise.
50758         * soft-fp/fixdfsi.c: Likewise.
50759         * soft-fp/fixdfti.c: Likewise.
50760         * soft-fp/fixsfdi.c: Likewise.
50761         * soft-fp/fixsfsi.c: Likewise.
50762         * soft-fp/fixsfti.c: Likewise.
50763         * soft-fp/fixtfdi.c: Likewise.
50764         * soft-fp/fixtfsi.c: Likewise.
50765         * soft-fp/fixtfti.c: Likewise.
50766         * soft-fp/fixunsdfdi.c: Likewise.
50767         * soft-fp/fixunsdfsi.c: Likewise.
50768         * soft-fp/fixunsdfti.c: Likewise.
50769         * soft-fp/fixunssfdi.c: Likewise.
50770         * soft-fp/fixunssfsi.c: Likewise.
50771         * soft-fp/fixunssfti.c: Likewise.
50772         * soft-fp/fixunstfdi.c: Likewise.
50773         * soft-fp/fixunstfsi.c: Likewise.
50774         * soft-fp/fixunstfti.c: Likewise.
50775         * soft-fp/floatdidf.c: Likewise.
50776         * soft-fp/floatdisf.c: Likewise.
50777         * soft-fp/floatditf.c: Likewise.
50778         * soft-fp/floatsidf.c: Likewise.
50779         * soft-fp/floatsisf.c: Likewise.
50780         * soft-fp/floatsitf.c: Likewise.
50781         * soft-fp/floattidf.c: Likewise.
50782         * soft-fp/floattisf.c: Likewise.
50783         * soft-fp/floattitf.c: Likewise.
50784         * soft-fp/floatundidf.c: Likewise.
50785         * soft-fp/floatundisf.c: Likewise.
50786         * soft-fp/floatunditf.c: Likewise.
50787         * soft-fp/floatunsidf.c: Likewise.
50788         * soft-fp/floatunsisf.c: Likewise.
50789         * soft-fp/floatunsitf.c: Likewise.
50790         * soft-fp/floatuntidf.c: Likewise.
50791         * soft-fp/floatuntisf.c: Likewise.
50792         * soft-fp/floatuntitf.c: Likewise.
50793         * soft-fp/fmadf4.c: Likewise.
50794         * soft-fp/fmasf4.c: Likewise.
50795         * soft-fp/fmatf4.c: Likewise.
50796         * soft-fp/gedf2.c: Likewise.
50797         * soft-fp/gesf2.c: Likewise.
50798         * soft-fp/getf2.c: Likewise.
50799         * soft-fp/ledf2.c: Likewise.
50800         * soft-fp/lesf2.c: Likewise.
50801         * soft-fp/letf2.c: Likewise.
50802         * soft-fp/muldf3.c: Likewise.
50803         * soft-fp/mulsf3.c: Likewise.
50804         * soft-fp/multf3.c: Likewise.
50805         * soft-fp/negdf2.c: Likewise.
50806         * soft-fp/negsf2.c: Likewise.
50807         * soft-fp/negtf2.c: Likewise.
50808         * soft-fp/op-1.h: Likewise.
50809         * soft-fp/op-2.h: Likewise.
50810         * soft-fp/op-4.h: Likewise.
50811         * soft-fp/op-8.h: Likewise.
50812         * soft-fp/op-common.h: Likewise.
50813         * soft-fp/quad.h: Likewise.
50814         * soft-fp/single.h: Likewise.
50815         * soft-fp/soft-fp.h: Likewise.
50816         * soft-fp/sqrtdf2.c: Likewise.
50817         * soft-fp/sqrtsf2.c: Likewise.
50818         * soft-fp/sqrttf2.c: Likewise.
50819         * soft-fp/subdf3.c: Likewise.
50820         * soft-fp/subsf3.c: Likewise.
50821         * soft-fp/subtf3.c: Likewise.
50822         * soft-fp/truncdfsf2.c: Likewise.
50823         * soft-fp/trunctfdf2.c: Likewise.
50824         * soft-fp/trunctfsf2.c: Likewise.
50825         * soft-fp/trunctfxf2.c: Likewise.
50826         * soft-fp/unorddf2.c: Likewise.
50827         * soft-fp/unordsf2.c: Likewise.
50828         * soft-fp/unordtf2.c: Likewise.
50830 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
50832         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
50833         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
50835 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
50837         * elf/dl-libc.c: Clear initfini list after freeing.
50839 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
50841         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
50842         * soft-fp/addsf3.c: Likewise.
50843         * soft-fp/addtf3.c: Likewise.
50844         * soft-fp/divdf3.c: Likewise.
50845         * soft-fp/divsf3.c: Likewise.
50846         * soft-fp/divtf3.c: Likewise.
50847         * soft-fp/double.h: Likewise.
50848         * soft-fp/eqdf2.c: Likewise.
50849         * soft-fp/eqsf2.c: Likewise.
50850         * soft-fp/eqtf2.c: Likewise.
50851         * soft-fp/extenddftf2.c: Likewise.
50852         * soft-fp/extended.h: Likewise.
50853         * soft-fp/extendsfdf2.c: Likewise.
50854         * soft-fp/extendsftf2.c: Likewise.
50855         * soft-fp/extendxftf2.c: Likewise.
50856         * soft-fp/fixdfdi.c: Likewise.
50857         * soft-fp/fixdfsi.c: Likewise.
50858         * soft-fp/fixdfti.c: Likewise.
50859         * soft-fp/fixsfdi.c: Likewise.
50860         * soft-fp/fixsfsi.c: Likewise.
50861         * soft-fp/fixsfti.c: Likewise.
50862         * soft-fp/fixtfdi.c: Likewise.
50863         * soft-fp/fixtfsi.c: Likewise.
50864         * soft-fp/fixtfti.c: Likewise.
50865         * soft-fp/fixunsdfdi.c: Likewise.
50866         * soft-fp/fixunsdfsi.c: Likewise.
50867         * soft-fp/fixunsdfti.c: Likewise.
50868         * soft-fp/fixunssfdi.c: Likewise.
50869         * soft-fp/fixunssfsi.c: Likewise.
50870         * soft-fp/fixunssfti.c: Likewise.
50871         * soft-fp/fixunstfdi.c: Likewise.
50872         * soft-fp/fixunstfsi.c: Likewise.
50873         * soft-fp/fixunstfti.c: Likewise.
50874         * soft-fp/floatdidf.c: Likewise.
50875         * soft-fp/floatdisf.c: Likewise.
50876         * soft-fp/floatditf.c: Likewise.
50877         * soft-fp/floatsidf.c: Likewise.
50878         * soft-fp/floatsisf.c: Likewise.
50879         * soft-fp/floatsitf.c: Likewise.
50880         * soft-fp/floattidf.c: Likewise.
50881         * soft-fp/floattisf.c: Likewise.
50882         * soft-fp/floattitf.c: Likewise.
50883         * soft-fp/floatundidf.c: Likewise.
50884         * soft-fp/floatundisf.c: Likewise.
50885         * soft-fp/floatunsidf.c: Likewise.
50886         * soft-fp/floatunsisf.c: Likewise.
50887         * soft-fp/floatuntidf.c: Likewise.
50888         * soft-fp/floatuntisf.c: Likewise.
50889         * soft-fp/floatuntitf.c: Likewise.
50890         * soft-fp/fmadf4.c: Likewise.
50891         * soft-fp/fmasf4.c: Likewise.
50892         * soft-fp/fmatf4.c: Likewise.
50893         * soft-fp/gedf2.c: Likewise.
50894         * soft-fp/gesf2.c: Likewise.
50895         * soft-fp/getf2.c: Likewise.
50896         * soft-fp/ledf2.c: Likewise.
50897         * soft-fp/lesf2.c: Likewise.
50898         * soft-fp/letf2.c: Likewise.
50899         * soft-fp/muldf3.c: Likewise.
50900         * soft-fp/mulsf3.c: Likewise.
50901         * soft-fp/multf3.c: Likewise.
50902         * soft-fp/negdf2.c: Likewise.
50903         * soft-fp/negsf2.c: Likewise.
50904         * soft-fp/negtf2.c: Likewise.
50905         * soft-fp/op-1.h: Likewise.
50906         * soft-fp/op-2.h: Likewise.
50907         * soft-fp/op-4.h: Likewise.
50908         * soft-fp/op-8.h: Likewise.
50909         * soft-fp/op-common.h: Likewise.
50910         * soft-fp/quad.h: Likewise.
50911         * soft-fp/single.h: Likewise.
50912         * soft-fp/soft-fp.h: Likewise.
50913         * soft-fp/sqrtdf2.c: Likewise.
50914         * soft-fp/sqrtsf2.c: Likewise.
50915         * soft-fp/sqrttf2.c: Likewise.
50916         * soft-fp/subdf3.c: Likewise.
50917         * soft-fp/subsf3.c: Likewise.
50918         * soft-fp/subtf3.c: Likewise.
50919         * soft-fp/truncdfsf2.c: Likewise.
50920         * soft-fp/trunctfdf2.c: Likewise.
50921         * soft-fp/trunctfsf2.c: Likewise.
50922         * soft-fp/trunctfxf2.c: Likewise.
50923         * soft-fp/unorddf2.c: Likewise.
50924         * soft-fp/unordsf2.c: Likewise.
50925         * soft-fp/unordtf2.c: Likewise.
50927 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
50929         [BZ #15672]
50930         * misc/error.c (error_tail): Fix possible buffer overflow.
50932 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
50934         [BZ #13028]
50935         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
50936         address.
50938 2013-10-14  P. J. McDermott  <pj@pehjota.net>
50940         [BZ #832]
50941         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
50942         testing pipefail option.
50944 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50946         * soft-fp/double.h: Indent preprocessor directives inside #if.
50947         * soft-fp/extended.h: Likewise.
50948         * soft-fp/op-2.h: Likewise.
50949         * soft-fp/op-4.h: Likewise.
50950         * soft-fp/op-common.h: Likewise.
50951         * soft-fp/quad.h: Likewise.
50952         * soft-fp/single.h: Likewise.
50953         * soft-fp/soft-fp.h: Likewise.
50955 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
50957         * iconv/iconv_prog.c: Fix typos.
50958         * stdio-common/psiginfo-data.h: Likewise.
50960 2013-10-12   Reuben Thomas <rrt@sc3d.org>
50962         [BZ #15764]
50963         * locale/setlocale.c: Fix typo.
50965 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
50967         [BZ #16036]
50968         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
50969         signaling NaN arguments.
50970         * soft-fp/unordsf2.c (__unordsf2): Likewise.
50971         * soft-fp/unordtf2.c (__unordtf2): Likewise.
50973         [BZ #14910]
50974         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
50975         unordered operands.
50976         * soft-fp/gesf2.c (__gesf2): Likewise.
50977         * soft-fp/getf2.c (__getf2): Likewise.
50978         * soft-fp/ledf2.c (__ledf2): Likewise.
50979         * soft-fp/lesf2.c (__lesf2): Likewise.
50980         * soft-fp/letf2.c (__letf2): Likewise.
50982         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
50983         * soft-fp/eqsf2.c (__eqsf2): Likewise.
50984         * soft-fp/eqtf2.c (__eqtf2): Likewise.
50985         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
50986         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
50987         * soft-fp/fixdfti.c (__fixdfti): Likewise.
50988         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
50989         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
50990         * soft-fp/fixsfti.c (__fixsfti): Likewise.
50991         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
50992         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
50993         * soft-fp/fixtfti.c (__fixtfti): Likewise.
50994         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
50995         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
50996         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
50997         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
50998         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
50999         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51000         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51001         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51002         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51003         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51004         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51005         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51006         * soft-fp/floattidf.c (__floattidf): Likewise.
51007         * soft-fp/floattisf.c (__floattisf): Likewise.
51008         * soft-fp/floattitf.c (__floattitf): Likewise.
51009         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51010         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51011         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51012         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51013         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51014         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51015         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51016         * soft-fp/gesf2.c (__gesf2): Likewise.
51017         * soft-fp/getf2.c (__getf2): Likewise.
51018         * soft-fp/ledf2.c (__ledf2): Likewise.
51019         * soft-fp/lesf2.c (__lesf2): Likewise.
51020         * soft-fp/letf2.c (__letf2): Likewise.
51022         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51023         Undefine and redefine.
51024         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51025         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51026         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51027         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51028         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51029         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51030         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51031         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51032         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51033         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51034         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51035         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51036         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51037         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51038         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51040         [BZ #16032]
51041         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51042         without decrementing exponent if mantissa >= that for the
51043         denominator, not >.
51044         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51045         denominator, not >.  Decrement exponent in < case instead of
51046         incrementing in >= case.
51047         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51048         without decrementing exponent if mantissa >= that for the
51049         denominator, not >.
51051         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51052         computing saturated result for unsigned overflow.
51054 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51055             Jeff Law  <law@redhat.com>
51057         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51058         (atan2Mp): Add systemtap probe marker.
51059         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51060         (__ieee754_log): Add systemtap probe marker.
51061         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51062         (atanMp): Add systemtap probe marker.
51063         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51064         (tanMp): Add systemtap probe marker.
51065         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51066         (__slowexp): Add systemtap probe marker.
51067         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51068         (__slowpow): Add systemtap probe marker.
51069         * manual/probes.texi: Document probes.
51071 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51073         [BZ #15362]
51074         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51075         written.
51076         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51077         written.
51078         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51079         written to buffer but not flushed.
51080         * libio/iofwrite_u.c:  Likewise.
51081         * libio/iopadn.c:  Return bytes returned even if EOF was
51082         encountered.
51083         * libio/iowpadn.c:  Likewise.
51084         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51085         if _IO_padn does not write the whole buffer.
51086         [!COMPILE_WPRINTF] (PAD): Likewise.
51088 2013-10-10  David S. Miller  <davem@davemloft.net>
51090         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51091         directory block.
51093 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51095         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51096         instead of FSF address.
51097         * soft-fp/fixdfti.c: Likewise.
51098         * soft-fp/fixsfti.c: Likewise.
51099         * soft-fp/fixtfti.c: Likewise.
51100         * soft-fp/fixunsdfti.c: Likewise.
51101         * soft-fp/fixunssfti.c: Likewise.
51102         * soft-fp/fixunstfti.c: Likewise.
51103         * soft-fp/floattidf.c: Likewise.
51104         * soft-fp/floattisf.c: Likewise.
51105         * soft-fp/floattitf.c: Likewise.
51106         * soft-fp/floatuntidf.c: Likewise.
51107         * soft-fp/floatuntisf.c: Likewise.
51108         * soft-fp/floatuntitf.c: Likewise.
51109         * soft-fp/trunctfxf2.c: Likewise.
51111         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51112         * soft-fp/fixdfti.c: Likewise.
51113         * soft-fp/fixsfti.c: Likewise.
51114         * soft-fp/fixtfti.c: Likewise.
51115         * soft-fp/fixunsdfti.c: Likewise.
51116         * soft-fp/fixunssfti.c: Likewise.
51117         * soft-fp/fixunstfti.c: Likewise.
51118         * soft-fp/floattidf.c: Likewise.
51119         * soft-fp/floattisf.c: Likewise.
51120         * soft-fp/floattitf.c: Likewise.
51121         * soft-fp/floatuntidf.c: Likewise.
51122         * soft-fp/floatuntisf.c: Likewise.
51123         * soft-fp/floatuntitf.c: Likewise.
51124         * soft-fp/trunctfxf2.c: Likewise.
51126 2013-10-10  David S. Miller  <davem@davemloft.net>
51128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51130 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51132         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51133         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51134         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
51135         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
51136         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
51137         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
51138         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
51140         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
51141         for NaNs before doing comparisons on argument.
51142         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
51143         Likewise.
51145 2013-10-10  Will Newton  <will.newton@linaro.org>
51147         * malloc/hooks.c (memalign_check): Ensure the value of bytes
51148         passed to _int_memalign does not overflow.
51150 2013-10-10  Torvald Riegel  <triegel@redhat.com>
51152         * scripts/bench.pl: Add include-sources directive.
51153         * benchtests/README: Update documentation.
51155 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51157         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
51158         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
51159         instead of FP_INIT_ROUNDMODE.
51160         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
51161         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
51163         [BZ #16034]
51164         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
51165         copy class of input value.
51166         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
51167         not handle exceptions.
51168         * soft-fp/negsf2.c (__negsf2): Likewise.
51169         * soft-fp/negtf2.c (__negtf2): Likewise.
51170         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
51172 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
51174         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
51175         semicolon.  From Linux kernel.
51177 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
51179         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
51181 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
51183         [BZ #156]
51184         * manual/socket.texi: Added statement about buffer
51185         for gethostbyname2_r.
51187 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
51189         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
51190         Use .p2align directive instead, throughout.
51191         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
51192         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
51193         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
51194         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51195         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51196         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
51197         * sysdeps/x86_64/strchr.S: Likewise.
51198         * sysdeps/x86_64/strrchr.S: Likewise.
51200 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51202         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
51204         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
51206         * sysdeps/generic/math_private.h (__mpsin1): Remove
51207         declaration.
51208         (__mpcos1): Likewise.
51209         (__mpsin): New argument __range_reduce.
51210         (__mpcos): Likewise.
51211         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51212         (slow): Use __mpsin and __mpcos.
51213         (slow1): Likewise.
51214         (slow2): Likewise.
51215         (sloww): Likewise.
51216         (sloww1): Likewise.
51217         (sloww2): Likewise.
51218         (bsloww): Likewise.
51219         (bsloww1): Likewise.
51220         (bsloww2): Likewise.
51221         (cslow2): Likewise.
51222         (csloww): Likewise.
51223         (csloww1): Likewise.
51224         (csloww2): Likewise.
51225         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
51226         range_reduce.  Merge in __mpsin1.
51227         (__mpcos): Likewise.
51228         (__mpsin1): Remove.
51229         (__mpcos1): Likewise.
51231 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
51233         * locale/loadlocale.c (_nl_intern_locale_data): Use
51234         LOCFILE_ALIGNED_P.
51235         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
51236         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
51237         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
51238         obstack data is appropriately aligned.
51239         (obstack_int32_grow_fast): Likewise.
51240         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
51241         * locale/programs/locfile.c (add_locale_uint32): Likewise.
51242         (add_locale_uint32_array): Likewise.
51244 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51246         * benchtests/Makefile: Remove ARGLIST and RET variables.
51247         ($(objpfx)bench-%.c): Pass only function name to the script.
51248         * benchtests/README: Update documentation.
51249         * benchtests/acos-inputs: Add new directives.
51250         * benchtests/acosh-inputs: Likewise.
51251         * benchtests/asin-inputs: Likewise.
51252         * benchtests/asinh-inputs: Likewise.
51253         * benchtests/atan-inputs: Likewise.
51254         * benchtests/atanh-inputs: Likewise.
51255         * benchtests/cos-inputs: Likewise.
51256         * benchtests/cosh-inputs: Likewise.
51257         * benchtests/exp-inputs: Likewise.
51258         * benchtests/log-inputs: Likewise.
51259         * benchtests/pow-inputs: Likewise.
51260         * benchtests/rint-inputs: Likewise.
51261         * benchtests/sin-inputs: Likewise.
51262         * benchtests/sinh-inputs: Likewise.
51263         * benchtests/tan-inputs: Likewise.
51264         * benchtests/tanh-inputs: Likewise.
51265         * scripts/bench.pl: Add support for new directives.
51267 2013-10-07  Alan Modra  <amodra@gmail.com>
51269         * README: Fix careless merge.
51271 2013-10-05  Alan Modra  <amodra@gmail.com>
51273         * NEWS: Mention powerpc64le support and bugs fixed.
51274         * README: Both big-endian and little-endian powerpc64 supported.
51276 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51278         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
51279         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
51280         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
51281         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
51283 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
51285         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
51286         match prototype.
51288 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
51290         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
51291         Move -mhard-float appending from
51292         ports/sysdeps/powerpc/powerpc32/Makefile.
51293         [$(with-fp) = yes] (ASFLAGS): Likewise.
51294         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
51295         * sysdeps/powerpc/nofpu: Move directory from
51296         ports/sysdeps/powerpc/nofpu.
51297         * sysdeps/powerpc/soft-fp: Move directory from
51298         ports/sysdeps/powerpc/soft-fp.
51299         * sysdeps/powerpc/powerpc32/405: Move directory from
51300         ports/sysdeps/powerpc/powerpc32/405.
51301         * sysdeps/powerpc/powerpc32/440: Move directory from
51302         ports/sysdeps/powerpc/powerpc32/440.
51303         * sysdeps/powerpc/powerpc32/464: Move directory from
51304         ports/sysdeps/powerpc/powerpc32/464.
51305         * sysdeps/powerpc/powerpc32/476: Move directory from
51306         ports/sysdeps/powerpc/powerpc32/476.
51307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
51308         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
51309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
51310         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
51311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
51312         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
51313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
51314         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
51315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
51316         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
51317         * README: Update for powerpc-*-linux-gnu software floating point
51318         support in libc.
51320         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
51321         case to powerpc/powerpc32*.
51322         * sysdeps/unix/sysv/linux/configure: Regenerated.
51324         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
51325         (_FPU_MASK_OM): Define as 0x04.
51326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
51327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
51328         0x00c10080.
51329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
51330         0x0000003c.
51331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
51333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
51334         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51335         getcontext_e500.
51336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
51337         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
51338         setcontext_e500.
51339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
51340         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
51341         and setcontext_e500.
51343 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
51345         * locale/iso-3166.def: Update iso-1366.def and related occurrences
51347 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51349         * manual/threads.texi (Default Thread Attributes): Fix typo.
51351 2013-10-04  Will Newton  <will.newton@linaro.org>
51353         * malloc/Makefile: Add tst-memalign.
51354         * malloc/tst-memalign.c: New file.
51356         * malloc/tst-posix_memalign.c: Add comments.
51357         (do_test): Add comments and call free on all potentially
51358         allocated pointers. Add space after cast.
51360         * malloc/tst-pvalloc.c: Add comments.
51361         (do_test): Add comments and call free on all potentially
51362         allocated pointers. Remove duplicate check for NULL pointer.
51363         Add space after cast.
51365         * malloc/tst-valloc.c: Add comments.
51366         (do_test): Add comments and call free on all potentially
51367         allocated pointers. Remove duplicate check for NULL pointer.
51368         Add space after cast.
51370 2013-10-04  Alan Modra  <amodra@gmail.com>
51372         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51373         Use stdint types in rather than __attribute__((mode())).
51374         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51376 2013-10-04  Alan Modra  <amodra@gmail.com>
51378         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51379         Correct handling of unaligned relocs for little-endian.
51380         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51382 2013-10-04  Alan Modra  <amodra@gmail.com>
51384         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
51385         * configure: Regenerate.
51386         * nptl/shlib-versions: Powerpc*le starts at 2.18.
51387         * shlib-versions: Likewise.
51389 2013-10-04  Alan Modra  <amodra@gmail.com>
51391         * string/tester.c (test_memrchr): Increment reported test cycle.
51393 2013-10-04  Alan Modra  <amodra@gmail.com>
51395         * string/test-memcpy.c (do_one_test): When reporting errors, print
51396         string address and don't overrun end of string.
51398 2013-10-04  Alan Modra  <amodra@gmail.com>
51400         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
51401         insrdi.  Make better use of reg selection to speed exit slightly.
51402         Schedule entry path a little better.  Remove useless "are we done"
51403         checks on entry to main loop.  Handle wrapping around zero address.
51404         Correct main loop count.  Handle single left-over word from main
51405         loop inline rather than by using loop_small.  Remove extra word
51406         case in loop_small caused by wrong loop count.  Add little-endian
51407         support.
51408         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51409         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
51410         cache hint.
51411         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51412         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
51413         support.  Avoid rlwimi.
51414         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
51416 2013-10-04  Alan Modra  <amodra@gmail.com>
51418         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
51419         insrdi.  Formatting.
51420         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
51421         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
51422         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
51423         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
51424         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
51425         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
51427 2013-10-04  Alan Modra  <amodra@gmail.com>
51429         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
51430         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51431         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
51432         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
51433         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51434         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51435         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51436         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51437         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
51438         use of regs.  Use power7 mtocrf.  Tidy function tails.
51440 2013-10-04  Alan Modra  <amodra@gmail.com>
51442         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
51443         Formatting.  Consistently use rXXX register defines or rN defines.
51444         Use early exit labels that avoid restoring unused non-volatile regs.
51445         Make cr field use more consistent with rWORDn compares.  Rename
51446         regs used as shift registers for unaligned loop, using rN defines
51447         for short lifetime/multiple use regs.
51448         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51449         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
51450         addi 1,1,64 to pop stack frame.  Simplify return value code.
51451         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51453 2013-10-04  Alan Modra  <amodra@gmail.com>
51455         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
51456         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
51457         rather than rlwimi.
51458         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
51459         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
51460         little-endian support.  Correct typos.
51461         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
51462         rather than rlwimi.
51463         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
51464         in loop and entry code to keep "and." results.
51465         (strchr): Add little-endian support.  Comment.  Move cntlzd
51466         earlier in tail.
51467         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
51469 2013-10-04  Alan Modra  <amodra@gmail.com>
51471         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
51472         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
51473         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
51474         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
51476 2013-10-04  Alan Modra  <amodra@gmail.com>
51478         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
51479         (rTMP): Define as r11.
51480         (strcmp): Add little-endian support.  Optimise tail.
51481         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
51482         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51483         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51484         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51485         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51486         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51487         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51489 2013-10-04  Alan Modra  <amodra@gmail.com>
51491         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
51492         little-endian support.  Remove unnecessary "are we done" tests.
51493         Handle "s" wrapping around zero and extremely large "size".
51494         Correct main loop count.  Handle single left-over word from main
51495         loop inline rather than by using small_loop.  Correct comments.
51496         Delete "zero" tail, use "end_max" instead.
51497         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
51499 2013-10-04  Alan Modra  <amodra@gmail.com>
51501         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
51502         support.  Don't branch over align.
51503         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
51504         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
51505         support.  Rearrange tmp reg use to suit.  Comment.
51506         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
51508 2013-10-04  Alan Modra  <amodra@gmail.com>
51510         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
51512 2013-10-04  Alan Modra  <amodra@gmail.com>
51514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
51515         conditional form of branch and link when obtaining pc.
51516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
51518 2013-10-04  Alan Modra  <amodra@gmail.com>
51520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
51521         HIWORD/LOWORD.
51522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
51523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
51525 2013-10-04  Alan Modra  <amodra@gmail.com>
51527         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
51528         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
51529         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
51530         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
51531         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
51532         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
51533         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
51534         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
51535         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
51536         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
51538 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51539             Alistair Popple <alistair@ozlabs.au.ibm.com>
51540             Alan Modra <amodra@gmail.com>
51542         [BZ #15723]
51543         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
51544         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
51545         _dl_hwcap access for little-endian.
51546         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
51547         destroy vmx regs when saving unaligned.
51548         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
51549         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
51550         destroy vmx regs when saving unaligned.
51552 2013-10-04  Alan Modra  <amodra@gmail.com>
51554         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
51555         Don't use a union to pack hi/low value.
51557 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51559         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
51560         for little-endian.
51561         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51562         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
51563         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51564         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
51565         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
51567 2013-10-04  Alan Modra  <amodra@gmail.com>
51569         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
51570         constants to usual value for .cst8 section, and remove redundant
51571         high address load.
51572         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
51573         constant for 0x1p52.  Load little-endian words of double from
51574         correct stack offsets.
51576 2013-10-04  Alan Modra  <amodra@gmail.com>
51578         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
51579         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
51580         words of double from correct stack offsets.
51581         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
51582         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
51583         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
51584         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
51585         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
51586         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
51587         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
51588         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
51589         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
51590         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
51591         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
51592         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
51593         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51594         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51595         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51596         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
51597         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
51599 2013-10-04  Alan Modra  <amodra@gmail.com>
51601         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
51602         64-bit int/double union.
51603         (_FPU_SETCW): Likewise.
51604         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
51605         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
51607 2013-10-04  Alan Modra  <amodra@gmail.com>
51609         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
51610         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
51612 2013-10-04  Alan Modra  <amodra@gmail.com>
51614         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
51615         use vector int constants.
51616         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
51618 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51620         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
51621         array with long long.
51622         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
51623         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
51624         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
51625         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
51626         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
51627         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
51628         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
51629         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
51630         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
51631         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
51632         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
51633         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
51634         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
51636 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
51638         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
51639         (__signbit): Likewise.  Correct for little-endian.
51640         (__signbitl): Call __signbit.
51641         (lrint): Correct for little-endian.
51642         (lrintf): Call lrint.
51644 2013-10-04  Alan Modra  <amodra@gmail.com>
51646         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
51647         union 32-bit int array member with 64-bit int array.
51648         (t515, tm256): Double rather than long double.
51649         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
51651 2013-10-04  Alan Modra  <amodra@gmail.com>
51653         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
51654         Delete.
51655         (IEEE854_LONG_DOUBLE_BIAS): Delete.
51656         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
51657         version of math_ldbl.h.
51659 2013-10-04  Alan Modra  <amodra@gmail.com>
51661         [BZ #15734], [BZ #15735]
51662         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
51663         all uses of ieee875 long double macros and unions.  Simplify test
51664         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
51665         ldbl_extract_mantissa value for ix,iy exponents.  Properly
51666         normalize after ldbl_extract_mantissa, and don't add hidden bit
51667         already handled.  Don't treat low word of ieee854 mantissa like
51668         low word of IBM long double and mask off bit when testing for
51669         zero.
51670         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
51671         all uses of ieee875 long double macros and unions.  Simplify tests
51672         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
51673         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
51674         two1022, instead use their values.  Recognise that tests for large
51675         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
51676         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
51677         Rewrite all uses of ieee875 long double macros and unions.  Simplify
51678         test for 0.0L and nan.  Correct negation.
51679         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
51680         ieee875 long double macros and unions.  Correct output for large
51681         magnitude x.  Correct absolute value calculation.
51682         (__erfcl): Likewise.
51683         * math/libm-test.inc: Add tests for errors discovered in IBM long
51684         double versions of fmodl, remainderl, erfl and erfcl.
51686 2013-10-04  Alan Modra  <amodra@gmail.com>
51688         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
51689         all uses of ieee854 long double macros and unions.  Simplify tests
51690         for long doubles that are fully specified by the high double.
51691         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
51692         Likewise.
51693         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
51694         Remove dead code too.
51695         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
51696         (__ieee754_ynl): Likewise.
51697         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
51698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
51699         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
51700         Remove dead code too.
51701         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
51702         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
51703         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
51704         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
51705         Simplify.
51706         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
51707         Simplify.
51708         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51709         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
51710         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
51711         Comment on variable precision.
51712         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
51713         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
51714         Likewise.
51715         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
51716         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51717         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51718         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
51719         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
51721 2013-10-04  Alan Modra  <amodra@gmail.com>
51723         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
51724         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
51725         all uses of ieee854 long double macros and unions.
51726         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
51727         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
51728         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
51729         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
51730         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
51731         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
51732         Likewise.
51733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
51734         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51735         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
51736         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51737         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
51738         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
51739         Simplify sign and nan test too.
51740         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
51741         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
51742         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
51743         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
51744         Likewise.
51745         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
51746         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
51747         Likewise.
51748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51749         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
51750         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
51751         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
51752         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
51753         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
51755 2013-10-04  Alan Modra  <amodra@gmail.com>
51757         * stdio-common/printf_size.c (__printf_size): Don't use
51758         union ieee854_long_double in fpnum union.
51759         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
51760         signbit macro to retrieve sign from long double.
51761         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
51762         retrieve sign from long double.
51763         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
51764         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
51765         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
51766         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51767         * math/test-misc.c (main): Don't use union ieee854_long_double.
51769 2013-10-04  Alan Modra  <amodra@gmail.com>
51771         [BZ #15680]
51772         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
51773         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
51774         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
51775         calculation.  Remove unnecessary test for denormal exponent.
51776         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
51777         Correct handling of denormals.  Avoid undefined shift behaviour.
51778         Correct normalisation of low mantissa when low double is denormal.
51779         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
51780         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
51781         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
51782         Correct normalisation of low mantissa.  Test for overflow of high
51783         mantissa and normalise.
51784         (ldbl_nearbyint): Use more readable constant for two52.
51785         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
51786         (__mpn_construct_long_double): Fix test for overflow of high
51787         mantissa and correct normalisation.  Avoid undefined shift.
51789 2013-10-04  Alan Modra  <amodra@gmail.com>
51791         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
51792         (union ibm_extended_long_double): Define as an array of ieee754_double.
51793         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
51794         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
51795         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
51796         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
51797         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51798         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
51799         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
51800         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
51801         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51802         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
51803         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
51805 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
51807         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
51808         page size instead of calling getpagesize.
51810         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
51811         (LOCFILE_ALIGN_MASK): Likewise.
51812         (LOCFILE_ALIGN_UP): Likewise.
51813         (LOCFILE_ALIGNED_P): Likewise.
51814         * locale/programs/ld-collate.c (collate_output): Use the new
51815         macros instead of __alignof__ (int32_t).
51816         * locale/weight.h (findidx): Likewise.
51818 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
51820         [BZ #431]
51821         * manual/string.texi: Fix strncat and wcsncat.
51823 2013-10-03  Brooks Moses  <bmoses@google.com>
51825         [BZ #15915]
51826         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
51827         * Makerules: ...here, and adjust associated comments.
51829 2013-10-02  Will Newton  <will.newton@linaro.org>
51831         * malloc/Makefile: Add tst-pvalloc.
51832         * malloc/tst-pvalloc.c: New file.
51834 2013-10-02  Will Newton  <will.newton@linaro.org>
51836         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
51837         improve test coverage.
51839 2013-10-02  Will Newton  <will.newton@linaro.org>
51841         * malloc/Makefile: Add tst-posix_memalign.
51842         * malloc/tst-posix_memalign.c: New file.
51844 2013-10-01  Eric Blake  <eblake@redhat.com>
51846         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
51847         Use __THROWNL rather than __THROW on static functions.
51849 2013-09-30  Petr Machata  <pmachata@redhat.com>
51851         * elf/elf.h (R_AARCH64_ABS16): New macro.
51852         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
51853         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
51854         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
51855         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
51856         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
51857         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
51858         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
51859         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
51860         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
51861         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
51862         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
51863         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
51864         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
51865         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
51866         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
51867         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
51868         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
51869         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
51870         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
51871         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
51872         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
51873         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
51874         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
51875         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
51876         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
51877         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
51878         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
51879         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
51880         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
51881         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
51882         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
51883         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
51884         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
51885         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
51886         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
51887         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
51888         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
51889         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
51890         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
51891         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
51892         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
51893         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
51894         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
51895         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
51896         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
51897         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
51898         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
51899         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
51900         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
51901         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
51902         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
51903         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
51904         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
51905         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
51906         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
51907         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
51908         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
51909         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
51910         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
51911         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
51912         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
51913         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
51914         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
51915         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
51916         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
51917         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
51918         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
51919         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
51920         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
51921         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
51922         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
51923         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
51924         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
51925         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
51926         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
51927         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
51928         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
51929         (R_AARCH64_TLSDESC_LDR): Likewise.
51930         (R_AARCH64_TLSDESC_ADD): Likewise.
51931         (R_AARCH64_TLSDESC_CALL): Likewise.
51933 2013-09-30  Andreas Schwab  <schwab@suse.de>
51935         [BZ #15048]
51936         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
51937         the nss database lookup.
51938         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51939         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
51941 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
51943         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
51945 2013-09-28  P. J. McDermott  <pj@pehjota.net>
51947         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
51948         ${Bash-specific parameter/pattern/string} parameter expansion.
51949         * sysdeps/unix/make-syscalls.sh: Likewise.
51951 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51953         * sysdeps/sh/stackguard-macros.h: New file.
51955 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
51957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51958         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
51959         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
51960         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
51961         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51962         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
51964 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51966         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
51967         Fix thread ID register.
51969 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
51971         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
51972         [POSIX || UNIX98]: Require rather than permitting all symbols from
51973         <time.h>.
51974         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
51975         element of struct sched_param.
51976         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
51977         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
51978         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
51979         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
51980         constant.
51982 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
51984         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
51985         argument calculation.
51987 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
51989         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
51990         Expect macro.
51991         [POSIX] (pthread_attr_t): Do not require type.
51992         [POSIX] (pthread_cond_t): Likewise.
51993         [POSIX] (pthread_condattr_t): Likewise.
51994         [POSIX] (pthread_key_t): Likewise.
51995         [POSIX] (pthread_mutex_t): Likewise.
51996         [POSIX] (pthread_mutexattr_t): Likewise.
51997         [POSIX] (pthread_once_t): Likewise.
51998         [POSIX] (pthread_t): Likewise.
51999         [POSIX-based standards] (pthread_atfork): Expect function.
52001 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52002             Richard Sandiford  <richard@codesourcery.com>
52004         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52005         (swap_endianness_p): New extern variable.
52006         (set_big_endian): New inline function.
52007         (maybe_swap_uint32): Likewise.
52008         (maybe_swap_uint32_array): Likewise.
52009         (maybe_swap_uint32_obstack): Likewise.
52010         * locale/programs/locfile.c: Include <stdbool.h>.
52011         (swap_endianness_p): New variable.
52012         (add_locale_uint32): Call maybe_swap_uint32.
52013         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52014         (write_locale_data): Call maybe_swap_uint32_array.
52015         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52016         maybe_swap_uint32.
52017         (obstack_int32_grow_fast): Likewise.
52018         (output_weightwc): Call maybe_swap_uint32_obstack.
52019         (collate_output): Likewise.
52020         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52021         (OPT_LITTLE_ENDIAN): Likewise.
52022         (options): Add --little-endian and --big-endian options.
52023         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52024         * locale/programs/locarchive.c: Include "locfile.h".
52025         (GET): New macro.
52026         (SET): Likewise.
52027         (INC): Likewise.
52028         (create_archive): Use the new macros to access fields of
52029         structures directly mapped from or written to locale archives.
52030         (oldlocrecentcmp): Likewise.
52031         (enlarge_archive): Likewise.
52032         (insert_name): Likewise.
52033         (add_alias): Likewise.
52034         (add_locale): Likewise.
52035         (delete_locales_from_archive): Likewise.
52036         (show_archive_content): Likewise.
52037         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52038         locale data.
52040 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52042         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52043         http://www.gnu.org/doc/freemanuals.texi.
52044         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52046 2013-09-24  Will Newton  <will.newton@linaro.org>
52048         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52049         macro.
52051 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52053         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52054         unsigned char.
52056 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52058         * manual/threads.texi (POSIX Threads): Fix a typo.
52060 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52062         [BZ #14547]
52063         * string/tst-strcoll-overflow.c: New test case.
52064         * string/Makefile (xtests): Add tst-strcoll-overflow.
52065         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52066         cache if string sizes may cause integer overflow.
52068         [BZ #14547]
52069         * string/strcoll_l.c (coll_seq): New members rule, idx,
52070         save_idx and back_us.
52071         (get_next_seq_nocache): New function.
52072         (do_compare_nocache): New function.
52073         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52074         when malloc fails.
52076 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52078         [BZ #15754]
52079         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52080         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52081         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52083         [BZ #15754]
52084         * elf/Makefile (tests): Add tst-ptrguard1.
52085         (tests-static): Add tst-ptrguard1-static.
52086         (tst-ptrguard1-ARGS): Define.
52087         (tst-ptrguard1-static-ARGS): Define.
52088         * elf/tst-ptrguard1.c: New file.
52089         * elf/tst-ptrguard1-static.c: New file.
52090         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52091         * sysdeps/i386/stackguard-macros.h: Likewise.
52092         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52093         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52094         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52095         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52096         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52097         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52099 2013-09-23  Hector Marco  <hecmargi@upv.es>
52100             Ismael Ripoll  <iripoll@disca.upv.es>
52101             Carlos O'Donell  <carlos@redhat.com>
52103         [BZ #15754]
52104         * sysdeps/generic/stackguard-macros.h: Define
52105         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52106         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52107         Define __pointer_chk_guard_local.
52108         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52109         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52111 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52113         [BZ #15859]
52114         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52116 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52118         * include/string.h (__ffs): Declare as hidden.
52119         * string/ffs.c (__ffs): Define as hidden.
52120         * sysdeps/i386/ffs.c (__ffs): Likewise.
52121         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52122         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52123         * sysdeps/s390/ffs.c (__ffs): Likewise.
52124         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52126 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52128         * NEWS: Mention malloc probes.
52130         * malloc/arena.c (new_heap): New memory_heap_new probe.
52131         (grow_heap): New memory_heap_more probe.
52132         (shrink_heap): New memory_heap_less probe.
52133         (heap_trim): New memory_heap_free probe.
52134         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
52135         (systrim): New memory_sbrk_less probe.
52136         * manual/probes.texi: Document them.
52138         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
52139         * manual/probes.texi: Document it.
52141         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
52142         (__libc_realloc): Add memory_realloc_retry probe.
52143         (__libc_memalign): Add memory_memalign_retry probe.
52144         (__libc_valloc): Add memory_valloc_retry probe.
52145         (__libc_pvalloc): Add memory_pvalloc_retry probe.
52146         (__libc_calloc): Add memory_calloc_retry probe.
52147         * manual/probes.texi: Document them.
52149         * malloc/arena.c (get_free_list): Add probe
52150         memory_arena_reuse_free_list.
52151         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
52152         and memory_arena_reuse.
52153         (arena_get2) [!PER_THREAD]: Likewise.
52154         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
52155         memory_arena_reuse_realloc.
52156         * manual/probes.texi: Document them.
52158         * malloc/malloc.c (__libc_free): Add
52159         memory_mallopt_free_dyn_thresholds probe.
52160         (__libc_mallopt): Add multiple memory_mallopt probes.
52161         * manual/probes.texi: Document them.
52163         * malloc/malloc.c: Include stap-probe.h.
52164         (__libc_mallopt): Add memory_mallopt probe.
52165         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
52166         * manual/probes.texi: New.
52167         * manual/Makefile (chapters): Add probes.
52168         * manual/threads.texi: Set next node.
52170 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
52172         [BZ #15963, #13985]
52173         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
52174         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
52175         Add `Chinese' to `nan' entry name.
52177 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52179         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
52180         (POLYNOMIAL): Likewise.
52181         (TAYLOR_SINCOS): Likewise.
52182         (TAYLOR_SLOW): Likewise.
52183         (__sin): Use TAYLOR_SINCOS.
52184         (__cos): Likewise.
52185         (slow): Use TAYLOR_SLOW.
52186         (sloww): Likewise.
52187         (bsloww): Likewise.
52188         (csloww): Likewise.
52190 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52192         * stdlib/strtod_l.c: Fix buffer overrun.
52194 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52196         * benchtests/Makefile (bench): Add sincos.
52197         * benchtests/bench-sincos.c: New file.
52199         * math/libm-test.inc (cos_test_data): New test inputs.
52200         (sin_test_data): Likewise.
52202         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
52203         macro.
52204         (__sin): Use it.
52205         (__cos): Likewise.
52206         (slow1): Likewise.
52207         (slow2): Likewise.
52208         (sloww1): Likewise.
52209         (sloww2): Likewise.
52210         (bsloww1): Likewise.
52211         (bsloww2): Likewise.
52212         (cslow2): Likewise.
52213         (csloww1): Likewise.
52214         (csloww2): Likewise.
52216         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
52217         function.
52218         (__sin): Use it.
52219         (__cos): Likewise.
52221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
52222         gotos.
52223         (__cos): Likewise.
52225 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
52227         * config.h.in (HAVE_MIPS_NAN2008): New macro.
52228         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
52229         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
52230         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
52231         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
52232         * elf/cache.c (print_entry): Handle the new cache flags.
52234 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52235             Aldy Hernandez  <aldyh@redhat.com>
52237         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
52238         Change condition to [_SOFT_FLOAT].
52239         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
52240         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
52241         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
52242         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
52243         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
52244         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
52245         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
52246         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
52247         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
52248         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
52249         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
52250         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
52251         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
52252         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
52253         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
52254         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
52255         declaration.
52257 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
52259         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
52260         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52261         (__longjmp): Use LOAD_GP to load saved GPRs.
52262         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
52263         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
52264         (__sigsetjmp): Use SAVE_GP to save GPRs.
52266         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
52267         Do not append -msoft-float.
52268         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
52270 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
52272         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
52274 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
52276         [BZ #15966]
52277         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
52278         (_FPU_GETCW): Use initial "__" on variable and field names but not
52279         on macro parameter name.
52280         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
52281         parentheses around reference to macro parameter.
52283 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
52285         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
52286         prototype.
52287         (ctype_startup): Use uint32_t in cast and sizeof for
52288         ctype->charnames.
52290 2013-09-11  Jia Liu  <proljc@gmail.com>
52292         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
52293         __daddr_t_defined.
52294         [__FreeBSD__]: Likewise.
52296 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
52298         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
52299         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
52300         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
52301         (strchr): Remove __strchr_sse42 ifunc selection.
52302         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
52303         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
52305 2013-09-11  Will Newton  <will.newton@linaro.org>
52307         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
52308         parameter to RES. Remove hardcoded 1000 value.
52309         * benchtests/bench-skeleton.c (main): Pass RES parameter
52310         to TIMING_INIT and multiply result by 1000.
52312 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52316 2013-09-11  Andreas Schwab  <schwab@suse.de>
52318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
52319         if not defined.
52320         (O_TMPFILE) [__USE_GNU]: Define.
52321         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
52322         Define.
52324 2013-09-11  Will Newton  <will.newton@linaro.org>
52326         [BZ #15857]
52327         * malloc/malloc.c (__libc_memalign): Check the value of bytes
52328         does not overflow.
52330 2013-09-11  Will Newton  <will.newton@linaro.org>
52332         [BZ #15856]
52333         * malloc/malloc.c (__libc_valloc): Check the value of bytes
52334         does not overflow.
52336 2013-09-11  Will Newton  <will.newton@linaro.org>
52338         [BZ #15855]
52339         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
52340         does not overflow.
52342 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
52344         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
52345         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52346         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52347         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52348         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52350 2013-09-10  Allan McRae  <allan@archlinux.org>
52352         [BZ #15748]
52353         * manual/arith.texi (Parsing of Floats): Clarify
52354         cross-reference.
52356         [BZ #15849]
52357         * manual/install.texi (Running make install): Mention
52358         --enable-pt-chown.
52359         * INSTALL: Regenerated.
52361 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
52363         * csu/init-first.c (_init): Remove the !SHARED condition around
52364         FPU control word initialization.
52365         * elf/dl-support.c (_dl_fpu_control): New variable.
52366         (_dl_aux_init) <AT_FPUCW>: Initialize it.
52367         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
52368         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
52369         * math/test-fpucw-static.c: New file.
52370         * math/test-fpucw-ieee.c: New file.
52371         * math/test-fpucw-ieee-static.c: New file.
52372         * math/Makefile (tests): Add `test-fpucw-ieee' and
52373         `$(tests-static)'.
52374         (tests-static): New variable.
52375         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
52376         dependency to...
52377         [($(build-shared),yes)]
52378         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52379         ... this.
52380         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
52381         New dependency.
52383 2013-09-09  Allan McRae  <allan@archlinux.org>
52385         [BZ #15939]
52386         * manual/string.texi (Collation Functions): Fix typo in
52387         strcoll example.
52388         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
52390         [BZ #15893]
52391         * stdlib/isomac.c (get_null_defines): Fix memory leak.
52393         [BZ #15892]
52394         * libio/memstream.c (open_memstream): Fix memory leak.
52395         * libio/wmemstream.c (open_wmemstream): Likewise.
52397         [BZ #15895]
52398         * nscd/netgroupcache.c: Fix nesting of ifdefs.
52400 2013-09-09  Will Newton  <will.newton@linaro.org>
52402         * malloc/Makefile: Add tst-realloc to tests.
52403         * malloc/tst-realloc.c: New file.
52405 2013-09-09  Allan McRae  <allan@archlinux.org>
52407         [BZ #15844]
52408         * COPYING: Update from GNU website to fix FSF address.
52409         * COPYING.LIB: Likewise.
52411 2013-09-06  David S. Miller  <davem@davemloft.net>
52413         * po/zh_TW.po: Update Chinese (traditional) translation from
52414         translation project.
52416 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
52417             Joseph Myers  <joseph@codesourcery.com>
52419         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
52420         "localeinfo.h".
52421         (obstack_chunk_alloc): New macro.
52422         (obstack_chunk_free): Likewise.
52423         (record_offset): New function.
52424         (init_locale_data): Likewise.
52425         (align_locale_data): Likewise.
52426         (add_locale_empty): Likewise.
52427         (add_locale_raw_data): Likewise.
52428         (add_locale_raw_obstack): Likewise.
52429         (add_locale_string): Likewise.
52430         (add_locale_wstring): Likewise.
52431         (add_locale_uint32): Likewise.
52432         (add_locale_uint32_array): Likewise.
52433         (add_locale_char): Likewise.
52434         (start_locale_structure): Likewise.
52435         (end_locale_structure): Likewise.
52436         (start_locale_prelude): Likewise.
52437         (end_locale_prelude): Likewise.
52438         (write_locale_data): Take locale_file structure rather than an
52439         iovec.
52440         * locale/programs/locfile.h: Include "obstack.h".
52441         (struct locale_file): Change to store locale file contents instead
52442         of header.
52443         (init_locale_data): New prototype.
52444         (align_locale_data): Likewise.
52445         (add_locale_empty): Likewise.
52446         (add_locale_raw_data): Likewise.
52447         (add_locale_raw_obstack): Likewise.
52448         (add_locale_string): Likewise.
52449         (add_locale_wstring): Likewise.
52450         (add_locale_uint32): Likewise.
52451         (add_locale_uint32_array): Likewise.
52452         (add_locale_char): Likewise.
52453         (start_locale_structure): Likewise.
52454         (end_locale_structure): Likewise.
52455         (start_locale_prelude): Likewise.
52456         (end_locale_prelude): Likewise.
52457         (write_locale_data): Update prototype.
52458         * locale/programs/3level.h (struct TABLE): Remove result field.
52459         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
52460         Use new locale_file interface.
52461         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
52462         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
52463         * locale/programs/ld-address.c (address_output): Use new
52464         locale_file interface.
52465         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
52466         NO_ADD_LOCALE.
52467         (collate_finish): Don't call collseq_table_finalize.
52468         (collate_output): Use new locale_file interface.
52469         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
52470         in file.
52471         (NO_FINALIZE): Change to NO_ADD_LOCALE.
52472         (TABLE): Move defines earlier in file.
52473         (ELEMENT): Likewise.
52474         (DEFAULT): Likewise.
52475         (wctrans_table_add): Move macro and inline function earlier in
52476         file.
52477         (struct wctype_table): Move type earlier in file.
52478         (add_locale_wctype_table): New static prototype.
52479         (struct locale_ctype_t): Use logical types instead of struct iovec
52480         pointers for members.
52481         (ctype_output): Use new locale_file interface.
52482         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
52483         new locale_file interface.
52484         (allocate_arrays): Update for use of new locale_file interface.
52485         * locale/programs/ld-identification.c (identification_output): Use
52486         new locale_file interface.
52487         * locale/programs/ld-measurement.c (measurement_output): Likewise.
52488         * locale/programs/ld-messages.c (messages_output): Likewise.
52489         * locale/programs/ld-monetary.c (monetary_output): Likewise.
52490         * locale/programs/ld-name.c (name_output): Likewise.
52491         * locale/programs/ld-numeric.c (numeric_output): Likewise.
52492         * locale/programs/ld-paper.c (paper_output): Likewise.
52493         * locale/programs/ld-telephone.c (telephone_output): Likewise.
52494         * locale/programs/ld-time.c (time_output): Likewise.
52496 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52498         * benchtests/Makefile: Add memrchr benchmark.
52499         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
52500         benchmark as memrchr.
52501         * benchtests/bench-memrchr-ifunc.c: New file.
52502         * benchtests/bench-memrchr.c: New file.
52504 2013-09-06   Will Newton  <will.newton@linaro.org>
52506         * benchtests/Makefile (string-bench): Add memcpy.
52508 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
52509             Cong Wang  <amwang@redhat.com>
52511         [BZ #15850]
52512         * sysdeps/unix/sysv/linux/bits/in.h
52513         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
52514         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
52515         before __USE_KERNEL_IPV6_DEFS uses.
52516         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
52517         IPPROTO_BEETPH.
52518         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
52519         sockaddr_in6, or ipv6_mreq.
52521 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52523         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
52524         memory access for final bytes in some large inputs.
52525         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
52527 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52529         * string/test-memrchr.c: New file.
52530         * string/test-memrchr-ifunc.c: New file.
52531         * string/Makefile: Add new memrchr testcase.
52533 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
52535         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
52536         fanotify_init returns EPERM.
52538 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52540         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
52541         errors.
52542         (top level): Treat second token from macro or constant entries for
52543         allowed headers as allowed.
52544         * include/complex.h: Condition internal declarations on
52545         [!_ISOMAC].
52546         * include/fenv.h: Condition include of <stdbool.h> and internal
52547         declarations on [!_ISOMAC].
52549 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
52551         [BZ #15923]
52552         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
52554 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
52556         * configure.in (--enable-versioning): Remove configure option.
52557         (libc_cv_asm_symver_directive): Remove configure test.
52558         (libc_cv_ld_version_script_option): Likewise.
52559         (VERSIONING): Remove variable and AC_SUBST.
52560         (DO_VERSIONING): Remove AC_DEFINE.
52561         * configure: Regenerated.
52562         * config.h.in (DO_VERSIONING): Remove macro.
52563         * Makerules [$(versioning) = yes]: Change conditionals to
52564         [$(build-shared) = yes].
52565         * config.make.in (versioning): Remove variable.
52566         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
52567         [$(build-shared) = yes].
52568         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
52569         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
52570         * elf/Makefile [$(versioning) = yes]: Change conditionals to
52571         [$(build-shared) = yes].
52572         * extra-lib.mk [$(versioning) = yes]: Likewise.
52573         * hurd/Makefile [$(versioning) = yes]: Likewise.
52574         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
52575         [SHARED].
52576         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
52577         [SHARED].
52578         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52579         [SHARED && !NO_HIDDEN].
52580         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
52581         [SHARED].
52582         [SHARED && DO_VERSIONING]: Likewise..
52583         * libio/Makefile [$(versioning) = yes]: Change conditionals to
52584         [$(build-shared) = yes].
52585         * manual/install.texi (--disable-versioning): Remove
52586         documentation.
52587         * INSTALL: Regenerated.
52588         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
52589         to [SHARED].
52590         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
52591         [$(build-shared) = yes].
52592         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
52593         * sysdeps/i386/i686/multiarch/strstr-c.c
52594         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
52595         [SHARED && !NO_HIDDEN].
52596         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
52597         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
52598         * sysdeps/powerpc/powerpc32/dl-machine.c
52599         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
52600         * sysdeps/powerpc/powerpc32/sysdep.h
52601         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
52602         to [SHARED && PIC && !NO_HIDDEN].
52603         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
52604         conditional to [SHARED].
52606 2013-09-04   Will Newton  <will.newton@linaro.org>
52608         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
52609         * benchtests/bench-string.h: Include bench-timing.h instead
52610         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
52611         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
52612         call to HP_TIMING_DIFF_INIT.
52613         * benchtests/bench-memccpy.c: Use bench-timing.h macros
52614         instead of hp-timing.h macros.
52615         * benchtests/bench-memchr.c: Likewise.
52616         * benchtests/bench-memcmp.c: Likewise.
52617         * benchtests/bench-memcpy.c: Likewise.
52618         * benchtests/bench-memmem.c: Likewise.
52619         * benchtests/bench-memmove.c: Likewise.
52620         * benchtests/bench-memset.c: Likewise.
52621         * benchtests/bench-rawmemchr.c: Likewise.
52622         * benchtests/bench-strcasecmp.c: Likewise.
52623         * benchtests/bench-strcasestr.c: Likewise.
52624         * benchtests/bench-strcat.c: Likewise.
52625         * benchtests/bench-strchr.c: Likewise.
52626         * benchtests/bench-strcmp.c: Likewise.
52627         * benchtests/bench-strcpy.c: Likewise.
52628         * benchtests/bench-strcpy_chk.c: Likewise.
52629         * benchtests/bench-strlen.c: Likewise.
52630         * benchtests/bench-strncasecmp.c: Likewise.
52631         * benchtests/bench-strncat.c: Likewise.
52632         * benchtests/bench-strncmp.c: Likewise.
52633         * benchtests/bench-strncpy.c: Likewise.
52634         * benchtests/bench-strnlen.c: Likewise.
52635         * benchtests/bench-strpbrk.c: Likewise.
52636         * benchtests/bench-strrchr.c: Likewise.
52637         * benchtests/bench-strspn.c: Likewise.
52638         * benchtests/bench-strstr.c: Likewise.
52640 2013-09-04  Will Newton  <will.newton@linaro.org>
52642         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
52644 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
52646         [BZ #15427]
52647         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
52648         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
52649         * math/libm-test.inc (lgamma_test_data): Add more tests.
52650         * sysdeps/i386/fpu/libm-test-ulps: Update.
52651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52653 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
52655         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
52656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52657         Add ifunc.
52658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52659         Add strcmp-sse2-unaligned
52660         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
52662 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52664         * Versions.def (libc): Add GLIBC_2.19.
52666 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
52668         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
52669         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
52671 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
52673         [BZ #14155]
52674         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
52675         intermediate calculations in recurrence.
52676         (__ieee754_ynf): Likewise.
52677         * math/libm-test.inc (jn_test_data): Do not allow spurious
52678         underflow exception.  Add more tests.
52679         (yn_test_data): Add more tests.
52680         * sysdeps/i386/fpu/libm-test-ulps: Update.
52681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52683 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
52685         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
52687 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52689         * csu/init-first.c: Fix then/than typos.
52690         * locale/programs/ld-collate.c: Likewise.
52691         * locale/programs/linereader.h: Likewise.
52692         * manual/charset.texi: Likewise.
52693         * manual/filesys.texi: Likewise.
52694         * manual/stdio.texi: Likewise.
52695         * manual/string.texi: Likewise.
52696         * stdlib/fmtmsg.c: Likewise.
52697         * sysdeps/i386/stpncpy.S: Likewise.
52698         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52699         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52700         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52701         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52703 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
52705         * elf/dl-open.c: Fix typos.
52706         * iconvdata/gbbig5.c: Likewise.
52707         * iconvdata/iso-2022-jp.c: Likewise.
52708         * iconv/gconv_int.h: Likewise.
52709         * iconv/loop.c: Likewise.
52710         * nis/rpcsvc/nis.h: Likewise.
52711         * resolv/ns_name.c: Likewise.
52712         * stdio-common/vfscanf.c: Likewise.
52713         * streams/stropts.h: Likewise.
52714         * sunrpc/rpc_thread.c: Likewise.
52715         * sysdeps/i386/strpbrk.S: Likewise.
52716         * sysdeps/ieee754/k_standard.c: Likewise.
52717         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52718         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52719         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
52720         * sysdeps/mach/hurd/profil.c: Likewise.
52721         * sysdeps/s390/dl-procinfo.h: Likewise.
52722         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
52723         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
52724         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
52725         * sysdeps/x86_64/dl-trampoline.S: Likewise.
52726         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52728 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
52730         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
52731         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
52733 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
52735         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
52736         aix specific files.
52737         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
52738         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
52739         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
52740         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
52741         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
52742         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
52743         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
52744         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
52746 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52747             Roland McGrath  <roland@hack.frob.com>
52749         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
52750         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
52752 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52754         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
52755         __executable_start symbol instead of _start.
52757 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
52759         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
52760         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
52761         Move macros to...
52762         * sysdeps/gnu/ldsodefs.h: ... this new file.
52764         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
52765         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
52766         instead of ELFOSABI_LINUX.
52768         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
52769         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
52770         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
52771         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
52772         Likewise.
52773         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
52774         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
52775         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
52776         Likewise.
52777         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52778         (ibm_extended_long_double): Add ieee_nan member.
52779         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
52780         (do_test): New function.
52782         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
52783         TEST_TRUNC.
52784         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
52785         functions, renamed from truncdfsf_test, trunctfsf_test,
52786         trunctfdf_test.
52787         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
52788         functions.
52789         (do_test): Run all these.
52791 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
52793         * argp/argp-help.c: Fix typos.
52794         * argp/argp-parse.c: Likewise.
52795         * debug/backtracesyms.c: Likewise.
52796         * elf/elf.h: Likewise.
52797         * malloc/malloc.c: Likewise.
52798         * nis/nis_print.c: Likewise.
52799         * resolv/res_comp.c: Likewise.
52800         * stdlib/stdlib.h: Likewise.
52801         * sunrpc/clnt_tcp.c: Likewise.
52802         * sunrpc/clnt_udp.c: Likewise.
52803         * sunrpc/clnt_unix.c: Likewise.
52804         * sysdeps/unix/bsd/ptsname.c: Likewise.
52805         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
52806         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
52807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
52808         Likewise.
52809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
52810         Likewise.
52811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
52812         Likewise.
52813         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
52815 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52817         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
52818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52820 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
52822         [BZ #15897]
52823         * dlfcn/Makefile (tests): Add bug-dl-leaf.
52824         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
52825         ($(objpfx)bug-dl-leaf): New rule.
52826         ($(objpfx)bug-dl-leaf.so): Likewise.
52827         ($(objpfx)bug-dl-leaf.out): Likewise.
52828         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
52829         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
52830         * dlfcn/bug-dl-leaf.c: New test.
52831         * dlfcn/bug-dl-leaf-lib.c: Likewise.
52832         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
52833         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
52834         (dlclose): Likewise.
52835         (dlmopen): Likewise.
52837 2013-08-27  Roland McGrath  <roland@hack.frob.com>
52839         * include/netdb.h [!_ISOMAC]:
52840         Don't include <tls.h>.
52841         (h_errno, __libc_h_errno): Move declaration and macros out of
52842         [_LIBC_REENTRANT].
52844         * include/resolv.h [_RESOLV_H_]:
52845         Don't include <tls.h>.
52846         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
52847         * resolv/res_libc.c: Don't include <tls.h>.
52848         (_res): Use __attribute__ ((nocommon)) in place of
52849         __attribute__ ((section (".bss"))).
52851         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
52852         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
52854         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
52856         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
52857         only under [SIOCGIFCONF && SIOCGIFNETMASK].
52859         * resolv/res_mkquery.c: Include <sys/time.h>.
52861         * inet/ifreq.c: Moved to ...
52862         * sysdeps/unix/ifreq.c: ... here.
52863         * inet/ifreq.c: New file, true stub version.
52865         * socket/sa_len.c: New file.
52866         * socket/Makefile (aux): Add it.
52867         * sysdeps/unix/sysv/linux/Makefile
52868         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
52869         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
52870         and #include <socket/sa_len.c>.
52871         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
52872         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
52874         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
52875         * bits/socket.h: ... here.
52877         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
52878         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
52879         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
52881 2013-08-27  Andreas Schwab  <schwab@suse.de>
52883         [BZ #15736]
52884         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
52885         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
52886         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
52887         * string/test-strcasecmp.c (test_main): Run tests in several
52888         locales.
52889         * string/test-strncasecmp.c (test_main): Likewise.
52891         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
52892         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
52893         to __strcasecmp_nonascii and __strncasecmp_nonascii.
52894         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
52895         (__strncasecmp_ssse3) [PIC]: Likewise.
52897 2013-08-26  Roland McGrath  <roland@hack.frob.com>
52899         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
52901         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
52902         instead of explicitly declaring xdecrypt.
52903         * nis/nss_nis/nis-publickey.c: Likewise.
52905 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52907         [BZ #15890]
52908         * nscd/aicache.c: Include res_hconf.h.
52909         (addhstaiX): Initialize res_hconf.
52911 2013-08-26  Andreas Schwab  <schwab@suse.de>
52913         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
52914         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
52916 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52918         * nscd/aicache.c (addhstaiX): Fix indentation.
52920 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
52922         * configure.ac: Quote $build_pt_chown test.
52923         * configure: Regenerated.
52925 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
52927         [BZ #15532]
52928         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
52929         * math/s_cexpf.c (__cexpf): Likewise.
52930         * math/s_cexpl.c (__cexpl): Likewise.
52931         * math/libm-test.inc (cexp_test_data): Correct expected return
52932         value for NaN + i0.  Add another test.
52934 2013-08-22  David S. Miller  <davem@davemloft.net>
52936         * po/ca.po: Update Catalan translation from translation project.
52937         * po/uk.po: Add Ukrainian translations from translation project.
52939 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
52941         [BZ #15797]
52942         * math/s_fdim.c (__fdim): Check for infinite arguments if result
52943         is infinite, not alongside NaN test.
52944         * math/s_fdimf.c (__fdimf): Likewise.
52945         * math/s_fdiml.c (__fdiml): Likewise.
52946         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
52947         errno is unchanged.
52949 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
52951         * argp/argp-help.c: Fix typos.
52952         * crypt/speeds.c: Likewise.
52953         * csu/check_fds.c: Likewise.
52954         * elf/dl-load.c: Likewise.
52955         * elf/dl-open.c: Likewise.
52956         * elf/reldep3.c: Likewise.
52957         * elf/reldep.c: Likewise.
52958         * elf/sprof.c: Likewise.
52959         * iconv/iconv_charmap.c: Likewise.
52960         * iconv/skeleton.c: Likewise.
52961         * iconv/strtab.c: Likewise.
52962         * io/lockf64.c: Likewise.
52963         * libio/libioP.h: Likewise.
52964         * resolv/gai_notify.c: Likewise.
52965         * resolv/ns_name.c: Likewise.
52966         * resolv/ns_samedomain.c: Likewise.
52967         * resolv/res_send.c: Likewise.
52968         * stdlib/random.c: Likewise.
52969         * sunrpc/rpc/xdr.h: Likewise.
52970         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
52971         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52972         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52973         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52974         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52975         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52976         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52977         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52978         * sysdeps/mach/hurd/check_fds.c: Likewise.
52979         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
52980         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52981         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52982         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
52983         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52984         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
52985         * sysdeps/pthread/aio_notify.c: Likewise.
52986         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
52987         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
52988         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
52989         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52990         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
52992 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52994         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
52995         version if bit_Slow_SSE4_2 is set.
52996         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52997         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52999 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53001         [BZ #15867]
53002         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53003         trampoline stack frame information.
53004         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53005         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53006         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53007         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53008         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53009         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53010         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53011         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53012         sa_flags value.
53013         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53014         interrupting a syscall and set with option SA_SIGINFO.
53016 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53018         [BZ #15531]
53019         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53020         argument is infinite.
53021         * math/s_cprojf.c (__cprojf): Likewise.
53022         * math/s_cprojl.c (__cprojl): Likewise.
53023         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53024         * math/libm-test.inc (cproj_test_data): Add more tests.
53026         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53028         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53029         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53030         size.  Use __ffs to determine corresponding shift.
53032 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53033             Roland McGrath  <roland@hack.frob.com>
53035         * Makefile (INSTALL): Remove trailing blank lines from output of
53036         makeinfo.
53038 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53040         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53041         Align 32 bit compat elf_greg to 8 bytes.
53043 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53045         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53047 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53049         * string/strcoll_l.c (coll_seq): New structure.
53050         (get_next_seq_cached): New function.
53051         (get_next_seq): New function.
53052         (do_compare): New function.
53053         (STRCOLL): Use GNU style definition.  Simplify implementation
53054         by using get_next_seq, get_next_seq_cached and do_compare.
53056 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53058         [BZ #14699]
53059         CVE-2013-4237
53060         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53061         member.
53062         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53063         member.
53064         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53065         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53066         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53067         conditional.
53068         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53069         GETDENTS_64BIT_ALIGNED.
53070         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53071         * manual/filesys.texi (Reading/Closing Directory): Document
53072         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53073         strongly.
53074         * manual/conf.texi (Limits for Files): Add portability note to
53075         NAME_MAX, PATH_MAX.
53076         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53078 2013-08-13  Andreas Schwab  <schwab@suse.de>
53080         [BZ #15749]
53081         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53082         of fabs.
53083         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53084         LDBL_MAX_EXP >= 16384]: Add tests for it.
53086 2013-08-12  David S. Miller  <davem@davemloft.net>
53088         * version.h (RELEASE): Set to "development".
53089         (VERSION): Set to "2.18.90".
53090         * NEWS: Add 2.19 section.
53092 2013-08-03  David S. Miller  <davem@davemloft.net>
53094         * po/ko.po: Update Korean translation from translation project.
53096 2013-08-01  David S. Miller  <davem@davemloft.net>
53098         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53099         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53100         Bilka.
53102 2013-07-30  David S. Miller  <davem@davemloft.net>
53104         * po/fr.po: Update French translation from translation project.
53106 2013-07-28  David S. Miller  <davem@davemloft.net>
53108         * po/cs.po: Update Czech translation from translation project.
53110         * po/sv.po: Update Swedish translation from translation project.
53112 2013-07-27  David S. Miller  <davem@davemloft.net>
53114         * po/eo.po: Update Esperanto translation from translation project.
53116         * po/vi.po: Update Vietnamese translation from translation project.
53118         * po/de.po: Update German translation from translation project.
53120 2013-07-26  David S. Miller  <davem@davemloft.net>
53122         * po/bg.po: Update Bulgarian translation from translation project.
53124         * po/nl.po: Update Dutch translation from translation project.
53125         * po/pl.po: Update Polish translation from translation project.
53126         * po/ru.po: Update Russian translation from translation project.
53128 2013-07-24  David S. Miller  <davem@davemloft.net>
53130         * po/libc.pot: Update.
53132 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53134         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
53135         variable page size.
53136         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
53137         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
53138         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
53140 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53142         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
53144 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53145             Andreas Schwab  <schwab@suse.de>
53146             Roland McGrath  <roland@hack.frob.com>
53147             Joseph Myers  <joseph@codesourcery.com>
53148             Carlos O'Donell  <carlos@redhat.com>
53150         [BZ #15755]
53151         * config.h.in: Define HAVE_PT_CHOWN.
53152         * config.make.in (build-pt-chown): New variable.
53153         * configure.in (--enable-pt_chown): New configure option.
53154         * configure: Regenerate.
53155         * login/Makefile: Include Makeconfig.  Build pt_chown only if
53156         build-pt-chown is enabled.
53157         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
53158         pt_chown to fix pty ownership.
53159         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
53160         CLOSE_ALL_FDS.
53161         * manual/install.texi (Configuring and compiling): Mention
53162         --enable-pt_chown. Add @findex for grantpt.
53163         * INSTALL: Regenerate.
53165 2013-07-20  David S. Miller  <davem@davemloft.net>
53167         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
53168         difference between 32-bit and 64-bit.
53170 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
53172         [BZ #15711]
53173         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
53174         Avoid system header dependency with -ffreestanding.
53175         ($(objpfx)bits/syscall%d): Likewise.
53177 2013-07-13  David S. Miller  <davem@davemloft.net>
53179         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
53180         underflows from atanl/atan2l due to bug 15319.
53181         (casinh_test_data): Likewise.
53183 2013-07-07  David S. Miller  <davem@davemloft.net>
53185         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
53187 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
53189         * sysdeps/i386/fpu/libm-test-ulps: Update.
53190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53192 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53194         * configure.in (--enable-lock-elision): Fix message text.
53195         * INSTALL: Regenerate.
53196         * configure: Regenerate.
53198 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53202 2013-07-03  Andreas Jaeger  <aj@suse.de>
53204         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
53205         define.
53206         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
53207         (ptrace_peeksiginfo_args): Add.
53208         (__ptrace_peeksiginfo_flags): Add.
53209         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53210         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53211         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53213 2013-07-03  Allan McRae  <allan@archlinux.org>
53215         * sysdeps/i386/fpu/libm-test-ulps: Update.
53217 2013-07-02  David S. Miller  <davem@davemloft.net>
53219         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53221 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
53223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53225 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53227         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
53228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53230 2013-07-02  Andi Kleen <ak@linux.intel.com>
53232         * config.h.in (ENABLE_LOCK_ELISION): Add.
53233         * configure.in (--enable-lock-elision): Add option.
53234         * manual/install.texi: Document --enable lock elision.
53235         * configure: Regenerate
53236         * INSTALL: Regenerate.
53238 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
53240         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
53241         SSE4.2 strcasecmp for libc.a.
53242         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
53244 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
53246         [BZ #13304]
53247         * soft-fp/op-common.h (_FP_FMA): New macro.
53248         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
53249         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
53250         (_FP_MUL_MEAT_1_imm): ... here.
53251         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
53252         (_FP_MUL_MEAT_1_wide): ... here.
53253         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
53254         (_FP_MUL_MEAT_1_hard): ... here.
53255         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
53256         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
53257         (_FP_MUL_MEAT_2_wide): ... here.
53258         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
53259         (_FP_MUL_MEAT_2_wide_3mul): ... here.
53260         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
53261         (_FP_MUL_MEAT_2_gmp): ... here.
53262         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
53263         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
53264         (_FP_MUL_MEAT_4_wide): ... here.
53265         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
53266         (_FP_MUL_MEAT_4_gmp): ... here.
53267         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
53268         (_FP_WFRACBITS_DW_S): Likewise.
53269         (_FP_WFRACXBITS_DW_S): Likewise.
53270         (_FP_HIGHBIT_DW_S): Likewise.
53271         (FP_FMA_S): Likewise.
53272         (_FP_FRAC_HIGH_DW_S): Likewise.
53273         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
53274         (_FP_WFRACBITS_DW_D): Likewise.
53275         (_FP_WFRACXBITS_DW_D): Likewise.
53276         (_FP_HIGHBIT_DW_D): Likewise.
53277         (FP_FMA_D): Likewise.
53278         (_FP_FRAC_HIGH_DW_D): Likewise.
53279         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
53280         (_FP_WFRACBITS_DW_E): Likewise.
53281         (_FP_WFRACXBITS_DW_E): Likewise.
53282         (_FP_HIGHBIT_DW_E): Likewise.
53283         (FP_FMA_E): Likewise.
53284         (_FP_FRAC_HIGH_DW_E): Likewise.
53285         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
53286         (_FP_WFRACBITS_DW_Q): Likewise.
53287         (_FP_WFRACXBITS_DW_Q): Likewise.
53288         (_FP_HIGHBIT_DW_Q): Likewise.
53289         (FP_FMA_Q): Likewise.
53290         (_FP_FRAC_HIGH_DW_Q): Likewise.
53291         * soft-fp/fmasf4.c: New file.
53292         * soft-fp/fmadf4.c: Likewise.
53293         * soft-fp/fmatf4.c: Likewise.
53295 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53297         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53298         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
53299         Silvermont.
53300         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
53301         macro.
53302         (index_Slow_SSE4_2): Likewise.
53303         (index_Prefer_PMINUB_for_stringop): Likewise.
53304         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
53305         bit_Slow_SSE4_2 is set.
53306         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53307         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53309 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53311         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
53312         rtld_global._dl_hwcap2.
53313         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
53314         POWER8.
53315         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
53316         POWER8 feature descriptions defined in _dl_hwcap2.
53317         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
53318         string handling for POWER8 feature bits.
53319         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
53320         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
53321         _dl_powerpc_cap_flags.
53322         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
53323         * sysdeps/powerpc/rtld-global-offsets.sym
53324         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
53325         _dl_hwcap2 in the rtld_global_ro structure.
53327 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53329         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
53330         hardware capabilities in support of AT_HWCAP2.
53331         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
53332         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
53333         GLRO(dl_hwcap2).
53334         (_dl_show_auxv): Add support for calling _dl_procinfo to display
53335         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
53336         explicitly the unknown a_type display mechanism is used.
53337         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
53338         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
53339         struct member.
53340         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
53341         to macro prototype for AT_HWCAP2 support.
53342         * sysdeps/i386/dl-procinfo.h: Likewise.
53343         * sysdeps/s390/dl-procinfo.h: Likewise.
53344         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
53345         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
53346         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
53347         return -1 for unknown a_type display fallback.
53348         * sysdeps/sparc/dl-procinfo.h: Likewise.
53349         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
53350         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
53352 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
53354         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
53355         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
53357 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
53359         [BZ #12492]
53360         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
53361         mprotect making __stack_prot writable.
53363 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
53364             Joseph Myers  <joseph@codesourcery.com>
53366         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
53367         as being properly aligned.
53369 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
53371         * dlfcn/modstatic5.c: New file.
53372         * dlfcn/tststatic5.c: New file.
53373         * dlfcn/Makefile (tests): Add tststatic5.
53374         (tests-static): Likewise.
53375         (modules-names): Add modstatic5.
53376         (tststatic5-ENV): New variable.
53377         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
53379         [BZ #15022]
53380         * elf/dl-support.c (_dl_main_map): New variable.
53381         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
53382         (_dl_nns, _dl_load_adds): Set to 1.
53383         (_dl_initial_searchlist): Refer to _dl_main_map.
53384         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
53385         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
53386         call to _dl_get_origin.
53387         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
53388         around call_map.
53389         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
53390         * dlfcn/modstatic3.c: New file.
53391         * dlfcn/tststatic3.c: New file.
53392         * dlfcn/tststatic4.c: New file.
53393         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
53394         (tests-static): Likewise.
53395         (modules-names): Add modstatic3.
53396         (tststatic3-ENV, tststatic4-ENV): New variables.
53397         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
53398         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
53400 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
53402         * configure.in (CC): Require GCC version 4.4 or later.
53403         * configure: Regenerated.
53404         * manual/install.texi (Tools for Compilation): Update GCC version
53405         requirement.
53406         * INSTALL: Regenerated.
53408 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53410         [BZ #15674]
53411         * string/test-memcmp.c (check2): New.
53412         (main): Call check2.
53414         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
53416 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
53418         [BZ #15022]
53419         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
53420         over to...
53421         (dl_open_worker) [!SHARED]: ... here.
53423 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53425         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
53427 2013-06-25  Richard Henderson  <rth@redhat.com>
53429         * locale/programs/locarchive.c: Include <libc-internal.h>
53431 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
53433         * manual/texinfo.tex: Update to version 2013-06-21.17, with
53434         trailing whitespace removed.
53436 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53438         [BZ #10283]
53439         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
53440         * locale/programs/locarchive.c: Include libc-mmap.h.
53441         (prepare_address_space): Take two new outputs (the mmap base and len).
53442         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
53443         values.
53444         (create_archive): Declare new mmap base and len values for
53445         prepare_address_space, and store the result in ah.
53446         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
53447         (enlarge_archive): If ah->mmap_base is not NULL, use that and
53448         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53449         Declare new mmap base and len values for
53450         prepare_address_space, and store the result in new_ah.
53451         (open_archive): Declare new mmap base and len values for
53452         prepare_address_space, and store the result in ah.
53453         (close_archive): If ah->mmap_base is not NULL, use that and
53454         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
53455         * sysdeps/generic/libc-mmap.h: New file.
53457 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
53459         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
53460         (ALIGN_UP): Likewise.
53461         (PTR_ALIGN_DOWN): Likewise.
53462         (PTR_ALIGN_UP): Likewise.
53464 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53466         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
53467         entry mapped to PPC_PLATFORM_POWER8.
53468         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
53469         POWER8.
53470         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
53471         (_dl_string_platform): Add case for exporting platform position for
53472         POWER8.
53473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
53474         search path to sysdeps/powerpc/powerpc32/power8 directory.
53475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
53476         search path to sysdeps/powerpc/powerpc64/power8 directory.
53477         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
53478         power7 directories.
53479         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
53480         power7 directories.
53482 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53484         * INSTALL: Regenerate.
53486         * nscd/connections.c (nscd_init): Fix comment.
53488 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
53490         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
53492         [BZ #15667]
53493         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
53494         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
53496 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53498         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
53499         DL_DST_REQ_STATIC.
53500         (DL_DST_REQ_STATIC): Remove macro.
53502 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
53504         [BZ #7006]
53505         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
53506         with a shift of 0 bits.
53508 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
53510         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
53511         $(tststatic-ENV).
53513 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53515         [BZ #15655]
53516         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
53518 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53520         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
53521         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
53522         accepts -fno-tree-loop-distribute-patterns.
53523         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
53524         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
53525         recursive call.
53526         * string/memset.c (memset): Likewise.
53527         * string/test-memmove.c (simple_memmove): Disable loop transformation
53528         to library calls.
53529         * string/test-memset.c (simple_memset): Likewise.
53530         * benchtests/bench-memmove.c (simple_memmove): Likewise.
53531         * benchtests/bench-memset.c (simple_memset): Likewise.
53532         * configure: Regenerated.
53534 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
53536         * math/test-misc.c (main): Ignore fesetround failure when failures
53537         of subsequent rounding tests would be ignored.
53539         [BZ #15654]
53540         * math/fedisblxcpt.c (fedisableexcept): Return 0.
53541         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
53542         * math/fegetenv.c (__fegetenv): Return 0.
53543         * math/fegetexcept.c (fegetexcept): Return 0.
53544         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
53545         FE_TONEAREST.
53546         * math/feholdexcpt.c (feholdexcept): Return 0.
53547         * math/fesetenv.c (__fesetenv): Return 0.
53548         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
53549         argument FE_TONEAREST.
53550         * math/feupdateenv.c (__feupdateenv): Return 0.
53551         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
53553 2013-06-18  Roland McGrath  <roland@hack.frob.com>
53555         * elf/rtld-Rules (rtld-compile-command.S): New variable.
53556         (rtld-compile-command.s, rtld-compile-command.c): New variables.
53557         ($(objpfx)rtld-%.os rules): Use them.
53559 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53561         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
53562         fields.
53564 2013-06-17  Roland McGrath  <roland@hack.frob.com>
53566         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
53567         length of target pattern, then descending length of dependency pattern.
53568         * configure.in (AWK): Require gawk 3.1.2 or newer.
53569         * manual/install.texi (Tools for Compilation): Say that we do.
53570         * configure: Regenerated.
53572         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
53573         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
53574         * scripts/sysd-rules.awk: ... this new script.
53575         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
53576         than a glob-style pattern.
53578 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
53580         * math/test-misc.c (main): Do not treat incorrectly rounded
53581         conversions as failure unless ROUNDING_TESTS passes.
53583 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
53585         [BZ #15631]
53586         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
53587         restore exception state around main square root computation, then
53588         check for inexactness explicitly.
53590         * math/libm-test.inc (fma_test_data): Add another test.
53592 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53594         * manual/threads.texi (Non-POSIX Extensions): New document
53595         node.  Document pthread_getattr_default_np and
53596         pthread_setattr_default_np.
53598         * Versions.def (libpthread): Add GLIBC_2.18.
53599         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
53600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53601         Likewise.
53602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53603         Likewise.
53604         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53605         Likewise.
53606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53607         Likewise.
53608         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
53609         Likewise.
53610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53611         Likewise.
53612         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53613         Likewise.
53614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
53615         Likewise.
53616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
53617         Likewise.
53619 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53621         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53622         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
53624 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53625             H.J. Lu  <hjl.tools@gmail.com>
53627         [BZ #15627]
53628         * sysdeps/x86_64/rtld-memset.c: Remove file.
53629         * sysdeps/x86_64/rtld-memset.S: New file.
53631 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
53633         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
53634         (test_in_one_mode): Take arguments for whether the rounding mode
53635         is supported for each floating-point type.
53636         (do_test): Pass new arguments to test_in_one_mode using
53637         ROUNDING_TESTS.
53639 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53641         * posix/tst-waitid.c (do_test): Distinguish different instances of
53642         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
53643         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
53644         before entering the kernel for waitpid.
53646 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53648         * NEWS: Fix note on clock function precision.  Text by Roland
53649         McGrath.
53651 2013-06-13  Roland McGrath  <roland@hack.frob.com>
53653         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
53654         it into place only when and if the sanity check passes.
53656 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
53658         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
53659         output for whether conversion result is exact.  Take argument
53660         indicating whether type is IBM long double.
53661         (round_for_all): Change need_exact field to ibm_ld.
53662         * stdlib/tst-strtod-round.c (struct exactness): New type.
53663         (struct test): Change bool ld_ok field to struct exactness exact.
53664         (TEST): Update all definitions for change to field.
53665         (tests): Regenerate array contents.
53666         (test_in_one_mode): Take pointer to new field instead of old ld_ok
53667         field value.  Check for IBM long double here.
53668         (do_test): Update calls to test_in_one_mode.
53670 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53672         [BZ #12515]
53673         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
53674         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
53676 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53678         [BZ #15605]
53679         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
53680         generated by the compiler on loop optimizations.
53681         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
53682         general definitions.
53684 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
53686         * math/bug-nextafter.c: Include <math-tests.h>.
53687         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53688         the relevant type.
53689         * math/bug-nexttoward.c: Include <math-tests.h>.
53690         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53691         the relevant type.
53692         * math/test-misc.c: Include <math-tests.h>.
53693         (main): Only test for exceptions if EXCEPTION_TESTS is true for
53694         the relevant type.
53696 2013-06-12  Andreas Jaeger  <aj@suse.de>
53698         * po/ia.po: Update Interlingua translation from translation
53699         project.
53701 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53703         * include/fenv.h: Include stdbool.h.
53704         (struct rm_ctx): New structure.
53705         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
53706         Define macro.
53707         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
53708         (SET_RESTORE_ROUNDF): Likewise.
53709         (SET_RESTORE_ROUNDL): Likewise.
53710         (SET_RESTORE_ROUND_NOEX): Likewise.
53711         (SET_RESTORE_ROUND_NOEXF): Likewise.
53712         (SET_RESTORE_ROUND_NOEXL): Likewise.
53713         (SET_RESTORE_ROUND_53BIT): Likewise.
53714         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
53715         (libc_feresetround_noexf_ctx): Likewise.
53716         (libc_feresetround_noexl_ctx): Likewise.
53717         (libc_feholdsetround_53bit_ctx): Likewise.
53718         (libc_feresetround_53bit_ctx): Likewise.
53719         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
53720         (libc_feholdexcept_setround_sse_ctx): New function.
53721         (libc_fesetenv_sse_ctx): Likewise.
53722         (libc_feupdateenv_sse_ctx): Likewise.
53723         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
53724         (libc_feholdexcept_setround_387_ctx): Likewise.
53725         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
53726         (libc_feholdsetround_387_prec_ctx): Likewise.
53727         (libc_feholdsetround_387_ctx): Likewise.
53728         (libc_feholdsetround_387_53bit_ctx): Likewise.
53729         (libc_feholdsetround_sse_ctx): Likewise.
53730         (libc_feresetround_sse_ctx): Likewise.
53731         (libc_feresetround_387_ctx): Likewise.
53732         (libc_feupdateenv_387_ctx): Likewise.
53733         (libc_feholdexcept_setroundf_ctx): Define macro.
53734         (libc_fesetenvf_ctx): Likewise.
53735         (libc_feupdateenvf_ctx): Likewise.
53736         (libc_feholdsetroundf_ctx): Likewise.
53737         (libc_feresetroundf_ctx): Likewise.
53738         (libc_feholdexcept_setround_ctx): Likewise.
53739         (libc_fesetenv_ctx): Likewise.
53740         (libc_feupdateenv_ctx): Likewise.
53741         (libc_feholdsetround_ctx): Likewise.
53742         (libc_feresetround_ctx): Likewise.
53743         (libc_feholdexcept_setroundl_ctx): Likewise.
53744         (libc_feupdateenvl_ctx): Likewise.
53745         (libc_feholdsetroundl_ctx): Likewise.
53746         (libc_feresetroundl_ctx): Likewise.
53747         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
53748         (libc_feresetround_53bit_ctx): Likewise.
53750 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53752         * locale/iso-639.def: Convert to UTF-8.
53754 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
53756         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
53757         (EXCEPTION_TESTS_double): Likewise.
53758         (EXCEPTION_TESTS_long_double): Likewise.
53759         (EXCEPTION_TESTS): Likewise.
53760         * math/libm-test.inc (test_exceptions): Only test exceptions if
53761         EXCEPTION_TESTS (FLOAT).
53763 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53765         * benchtests/Makefile (string-bench): Add strcpy_chk and
53766         stpcpy_chk.
53767         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
53768         * benchtests/bench-stpcpy_chk.c: New file.
53769         * benchtests/bench-strcpy_chk-ifunc.c: New file.
53770         * benchtests/bench-strcpy_chk.c: New file.
53771         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
53772         code.
53773         (do_test): Likewise.
53775 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53777         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
53778         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
53779         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
53780         with tabs where appropriate.
53781         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
53782         dl-procinfo.h.
53783         [PPC_PLATFORM_PPC440]: Likewise.
53784         [PPC_PLATFORM_PPC464]: Likewise.
53785         [PPC_PLATFORM_PPC476]: Likewise.
53786         (_dl_string_platform): Add support for detecting ppc405, ppc440,
53787         ppc464, and ppc476 platform strings merging from ports/
53788         dl-procinfo.h.
53790 2013-06-11  Andreas Schwab  <schwab@suse.de>
53792         [BZ #14991]
53793         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
53794         (from_ucs4_idx): Regenerate.
53795         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
53796         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
53797         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
53798         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
53799         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
53800         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
53801         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
53802         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
53803         from FROM_LOOP and TO_LOOP specific macros.
53804         (BODY): Handle combining characters.
53805         * iconvdata/BIG5HKSCS.irreversible: Update.
53806         * iconvdata/BIG5HKSCS.precomposed: New file.
53807         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
53808         characters.
53809         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
53811 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53813         * include/sys/time.h: Fix indentation and add copyright header.
53815         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
53816         (do_test): Likewise.
53817         * string/test-memchr.c (do_one_test): Likewise.
53818         (do_test): Likewise.
53819         * string/test-memcmp.c (do_one_test): Likewise.
53820         (do_test): Likewise.
53821         * string/test-memcpy.c (do_one_test): Likewise.
53822         (do_test): Likewise.
53823         * string/test-memmem.c (do_one_test): Likewise.
53824         (do_test): Likewise.
53825         (do_random_tests): Likewise.
53826         * string/test-memmove.c (do_one_test): Likewise.
53827         (do_test): Likewise.
53828         * string/test-memset.c (do_one_test): Likewise.
53829         (do_test): Likewise.
53830         * string/test-rawmemchr.c (do_one_test): Likewise.
53831         (do_test): Likewise.
53832         * string/test-strcasecmp.c (do_one_test): Likewise.
53833         (do_test): Likewise.
53834         * string/test-strcasestr.c (do_one_test): Likewise.
53835         (do_test): Likewise.
53836         * string/test-strcat.c (do_one_test): Likewise.
53837         (do_test): Likewise.
53838         * string/test-strchr.c (do_one_test): Likewise.
53839         (do_test): Likewise.
53840         * string/test-strcmp.c (do_one_test): Likewise.
53841         (do_test): Likewise.
53842         * string/test-strcpy.c (do_one_test): Likewise.
53843         (do_test): Likewise.
53844         * string/test-string.h: Likewise.
53845         (test_init): Likewise.
53846         * string/test-strlen.c (do_one_test): Likewise.
53847         (do_test): Likewise.
53848         * string/test-strncasecmp.c (do_one_test): Likewise.
53849         (do_test): Likewise.
53850         * string/test-strncat.c (do_one_test): Likewise.
53851         (do_test): Likewise.
53852         * string/test-strncmp.c (do_one_test): Likewise.
53853         (do_test_limit): Likewise.
53854         (do_test): Likewise.
53855         * string/test-strncpy.c (do_one_test): Likewise.
53856         (do_test): Likewise.
53857         * string/test-strnlen.c (do_one_test): Likewise.
53858         (do_test): Likewise.
53859         * string/test-strpbrk.c (do_one_test): Likewise.
53860         (do_test): Likewise.
53861         * string/test-strrchr.c (do_one_test): Likewise.
53862         (do_test): Likewise.
53863         * string/test-strspn.c (do_one_test): Likewise.
53864         (do_test): Likewise.
53865         * string/test-strstr.c (do_one_test): Likewise.
53866         (do_test): Likewise.
53868         * benchtests/Makefile (string-bench): Add string benchmarks.
53869         * benchtests/bench-bcopy-ifunc.c: New file.
53870         * benchtests/bench-bcopy.c: New file.
53871         * benchtests/bench-bzero-ifunc.c: New file.
53872         * benchtests/bench-bzero.c: New file.
53873         * benchtests/bench-memccpy-ifunc.c: New file.
53874         * benchtests/bench-memccpy.c: New file.
53875         * benchtests/bench-memchr-ifunc.c: New file.
53876         * benchtests/bench-memchr.c: New file.
53877         * benchtests/bench-memcmp-ifunc.c: New file.
53878         * benchtests/bench-memcmp.c: New file.
53879         * benchtests/bench-memmem-ifunc.c: New file.
53880         * benchtests/bench-memmem.c: New file.
53881         * benchtests/bench-memmove-ifunc.c: New file.
53882         * benchtests/bench-memmove.c: New file.
53883         * benchtests/bench-mempcpy-ifunc.c: New file.
53884         * benchtests/bench-mempcpy.c: New file.
53885         * benchtests/bench-memset-ifunc.c: New file.
53886         * benchtests/bench-memset.c: New file.
53887         * benchtests/bench-rawmemchr-ifunc.c: New file.
53888         * benchtests/bench-rawmemchr.c: New file.
53889         * benchtests/bench-stpcpy-ifunc.c: New file.
53890         * benchtests/bench-stpcpy.c: New file.
53891         * benchtests/bench-stpncpy-ifunc.c: New file.
53892         * benchtests/bench-stpncpy.c: New file.
53893         * benchtests/bench-strcasecmp-ifunc.c: New file.
53894         * benchtests/bench-strcasecmp.c: New file.
53895         * benchtests/bench-strcasestr-ifunc.c: New file.
53896         * benchtests/bench-strcasestr.c: New file.
53897         * benchtests/bench-strcat-ifunc.c: New file.
53898         * benchtests/bench-strcat.c: New file.
53899         * benchtests/bench-strchr-ifunc.c: New file.
53900         * benchtests/bench-strchr.c: New file.
53901         * benchtests/bench-strchrnul-ifunc.c: New file.
53902         * benchtests/bench-strchrnul.c: New file.
53903         * benchtests/bench-strcmp-ifunc.c: New file.
53904         * benchtests/bench-strcmp.c: New file.
53905         * benchtests/bench-strcpy-ifunc.c: New file.
53906         * benchtests/bench-strcpy.c: New file.
53907         * benchtests/bench-strcspn-ifunc.c: New file.
53908         * benchtests/bench-strcspn.c: New file.
53909         * benchtests/bench-strlen-ifunc.c: New file.
53910         * benchtests/bench-strlen.c: New file.
53911         * benchtests/bench-strncasecmp-ifunc.c: New file.
53912         * benchtests/bench-strncasecmp.c: New file.
53913         * benchtests/bench-strncat-ifunc.c: New file.
53914         * benchtests/bench-strncat.c: New file.
53915         * benchtests/bench-strncmp-ifunc.c: New file.
53916         * benchtests/bench-strncmp.c: New file.
53917         * benchtests/bench-strncpy-ifunc.c: New file.
53918         * benchtests/bench-strncpy.c: New file.
53919         * benchtests/bench-strnlen-ifunc.c: New file.
53920         * benchtests/bench-strnlen.c: New file.
53921         * benchtests/bench-strpbrk-ifunc.c: New file.
53922         * benchtests/bench-strpbrk.c: New file.
53923         * benchtests/bench-strrchr-ifunc.c: New file.
53924         * benchtests/bench-strrchr.c: New file.
53925         * benchtests/bench-strspn-ifunc.c: New file.
53926         * benchtests/bench-strspn.c: New file.
53927         * benchtests/bench-strstr-ifunc.c: New file.
53928         * benchtests/bench-strstr.c: New file.
53930         * benchtests/Makefile: Disable parallel execution of targets.
53931         (string-bench): Add memcpy.
53932         (benchset): New variable to store a list of benchmark sets.
53933         (bench-func): Renamed from bench.
53934         (bench-set): New target.
53935         (bench): Depend on bench-func and bench-set.
53936         * benchtests/README: Add section on benchmark sets.
53937         * benchtests/bench-memcpy-ifunc.c: New file.
53938         * benchtests/bench-memcpy.c: New file.
53939         * benchtests/bench-string.h: New file.
53941 2013-06-11  Andreas Schwab  <schwab@suse.de>
53943         [BZ #15577]
53944         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
53945         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
53946         values in the triple.
53947         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
53948         terminator in the group key.
53950 2013-06-11  Andreas Jaeger  <aj@suse.de>
53952         * po/zh_TW.po: Update Chinese (traditional) translation from
53953         translation project.
53955 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53957         * include/time.h (__clock_gettime): Add libc_hidden_proto.
53958         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
53959         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
53960         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
53961         (clock_getcpuclockid): Likewise.
53962         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
53963         Add weak_alias and libc_hidden_def.
53964         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
53965         * rt/clock_gettime.c (clock_gettime): Rename to
53966         __clock_gettime.  Add weak_alias and libc_hidden_def.
53967         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
53968         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
53969         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
53970         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
53971         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
53972         Likewise.
53973         * rt/clock_settime.c (clock_settime): Rename to
53974         __clock_settime.  Add weak_alias and libc_hidden_def.
53975         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
53977 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
53979         * mach/err_boot.sub: Remove trailing whitespace.
53980         * mach/err_ipc.sub: Likewise.
53981         * mach/err_mach.sub: Likewise.
53983         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
53984         (ROUNDING_TESTS_double): Likewise.
53985         (ROUNDING_TESTS_long_double): Likewise.
53986         (ROUNDING_TESTS): Likewise.
53987         * math/libm-test.inc: Include <math-tests.h>.
53988         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
53989         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53990         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53991         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53993 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53995         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
53996         of assigning.
53998 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54000         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54001         otherwise empty TRANS lines.
54002         * sysdeps/gnu/errlist.c: Regenerated.
54004         * catgets/gencat.c (error_print): Use (void) in function
54005         definition.
54006         * crypt/crypt_util.c (__init_des): Likewise.
54007         * crypt/speeds.c (Stop): Likewise.
54008         (main): Likewise.
54009         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54010         * inet/ruserpass.c (token): Likewise.
54011         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54012         * intl/localealias.c (extend_alias_table): Likewise.
54013         * intl/plural-exp.c (init_germanic_plural): Likewise.
54014         * libio/fcloseall.c (__fcloseall): Likewise.
54015         * libio/genops.c (_IO_flush_all): Likewise.
54016         (_IO_flush_all_linebuffered): Likewise.
54017         (_IO_cleanup): Likewise.
54018         (_IO_iter_begin): Likewise.
54019         (_IO_iter_end): Likewise.
54020         (_IO_list_lock): Likewise.
54021         (_IO_list_unlock): Likewise.
54022         (_IO_list_resetlock): Likewise.
54023         * libio/getchar.c (getchar): Likewise.
54024         * libio/getchar_u.c (getchar_unlocked): Likewise.
54025         * libio/getwchar.c (getwchar): Likewise.
54026         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54027         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54028         * login/getpt.c (__getpt): Likewise.
54029         * login/tst-utmp.c (main): Likewise.
54030         * malloc/hooks.c (__malloc_check_init): Likewise.
54031         * malloc/malloc.c (__malloc_stats): Likewise.
54032         * malloc/mtrace.c (tr_break): Likewise.
54033         (mtrace): Likewise.
54034         (muntrace): Likewise.
54035         * misc/fstab.c (endfsent): Likewise.
54036         * misc/getclktck.c (__getclktck): Likewise.
54037         * misc/getdtsz.c (__getdtablesize): Likewise.
54038         * misc/gethostid.c (gethostid): Likewise.
54039         * misc/getpagesize.c (__getpagesize): Likewise.
54040         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54041         (__get_nprocs): Likewise.
54042         (__get_phys_pages): Likewise.
54043         (__get_avphys_pages): Likewise.
54044         * misc/getttyent.c (getttyent): Likewise.
54045         (setttyent): Likewise.
54046         (endttyent): Likewise.
54047         * misc/getusershell.c (getusershell): Likewise.
54048         (endusershell): Likewise.
54049         (setusershell): Likewise.
54050         (initshells): Likewise.
54051         * misc/hsearch.c (__hdestroy): Likewise.
54052         * misc/sync.c (sync): Likewise.
54053         * misc/syslog.c (closelog_internal): Likewise.
54054         (closelog): Likewise.
54055         * misc/ttyslot.c (ttyslot): Likewise.
54056         * misc/vhangup.c (vhangup): Likewise.
54057         * posix/fork.c (__fork): Likewise.
54058         * posix/getegid.c (__getegid): Likewise.
54059         * posix/geteuid.c (__geteuid): Likewise.
54060         * posix/getgid.c (__getgid): Likewise.
54061         * posix/getpid.c (__getpid): Likewise.
54062         * posix/getppid.c (__getppid): Likewise.
54063         * posix/getuid.c (__getuid): Likewise.
54064         * posix/pause.c (pause): Likewise.
54065         * posix/setpgrp.c (setpgrp): Likewise.
54066         * posix/setsid.c (__setsid): Likewise.
54067         * posix/test-vfork.c (noop): Likewise.
54068         * resolv/gethnamaddr.c (_endhtent): Likewise.
54069         (_gethtent): Likewise.
54070         (ht_endhostent): Likewise.
54071         (gethostent): Likewise.
54072         (dns_service): Likewise.
54073         * stdlib/drand48.c (drand48): Likewise.
54074         * stdlib/lrand48.c (lrand48): Likewise.
54075         * stdlib/mrand48.c (mrand48): Likewise.
54076         * stdlib/rand.c (rand): Likewise.
54077         * stdlib/random.c (__random): Likewise.
54078         * stdlib/setenv.c (clearenv): Likewise.
54079         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54080         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54081         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54082         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54083         (__get_nprocs): Likewise.
54084         (__get_phys_pages): Likewise.
54085         (__get_avphys_pages): Likewise.
54086         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54087         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54088         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54089         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54090         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54091         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54092         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54093         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54094         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54095         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54096         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54097         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54098         * sysdeps/posix/clock.c (clock): Likewise.
54099         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54100         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54101         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54102         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54103         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54104         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54105         (__get_nprocs_conf): Likewise.
54106         (__get_phys_pages): Likewise.
54107         (__get_avphys_pages): Likewise.
54108         * time/clock.c (clock): Likewise.
54109         * time/tzset.c (__tzname_max): Likewise.
54111 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54113         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54114         (__bswap_32): Do not use "register".
54115         * crypt/crypt.c (_ufc_doit_r): Likewise.
54116         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54117         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54118         * gmon/gmon.c (__monstartup): Likewise.
54119         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54120         * hurd/hurdmalloc.c (more_memory): Likewise.
54121         (malloc): Likewise.
54122         (free): Likewise.
54123         (realloc): Likewise.
54124         (malloc_fork_prepare): Likewise.
54125         (malloc_fork_parent): Likewise.
54126         (malloc_fork_child): Likewise.
54127         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54128         (_svcauth_des): Likewise.
54129         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54130         * inet/inet_net.c (inet_network): Likewise.
54131         * inet/inet_netof.c (inet_netof): Likewise.
54132         * inet/rcmd.c (__validuser2_sa): Likewise.
54133         * io/fts.c (fts_open): Likewise.
54134         (fts_load): Likewise.
54135         (fts_close): Likewise.
54136         (fts_read): Likewise.
54137         (fts_children): Likewise.
54138         (fts_build): Likewise.
54139         (fts_stat): Likewise.
54140         (fts_sort): Likewise.
54141         (fts_alloc): Likewise.
54142         (fts_lfree): Likewise.
54143         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
54144         (_IO_file_xsgetn): Likewise.
54145         (_IO_file_xsgetn_mmap): Likewise.
54146         * libio/iofopncook.c (_IO_cookie_read): Likewise.
54147         (_IO_cookie_write): Likewise.
54148         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
54149         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
54150         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
54151         * malloc/obstack.c (_obstack_begin): Likewise.
54152         (_obstack_begin_1): Likewise.
54153         (_obstack_newchunk): Likewise.
54154         (_obstack_allocated_p): Likewise.
54155         (obstack_free): Likewise.
54156         (_obstack_memory_used): Likewise.
54157         * misc/getttyent.c (getttynam): Likewise.
54158         (getttyent): Likewise.
54159         (skip): Likewise.
54160         (value): Likewise.
54161         * misc/getusershell.c (initshells): Likewise.
54162         * misc/syslog.c (__vsyslog_chk): Likewise.
54163         * misc/ttyslot.c (ttyslot): Likewise.
54164         * nis/nis_hash.c (__nis_hash): Likewise.
54165         * posix/fnmatch_loop.c (FCT): Likewise.
54166         * posix/getconf.c (print_all): Likewise.
54167         (main): Likewise.
54168         * posix/getopt.c (exchange): Likewise.
54169         * posix/glob.c (globfree): Likewise.
54170         (prefix_array): Likewise.
54171         (__glob_pattern_type): Likewise.
54172         * resolv/arpa/nameser.h (NS_GET16): Likewise.
54173         (NS_GET32): Likewise.
54174         (NS_PUT16): Likewise.
54175         (NS_PUT32): Likewise.
54176         * resolv/gethnamaddr.c (getanswer): Likewise.
54177         (gethostbyname2): Likewise.
54178         (gethostbyaddr): Likewise.
54179         (_gethtent): Likewise.
54180         (_gethtbyname2): Likewise.
54181         (_gethtbyaddr): Likewise.
54182         * resolv/ns_print.c (dst_s_get_int16): Likewise.
54183         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
54184         * resolv/res_init.c (__res_vinit): Likewise.
54185         (net_mask): Likewise.
54186         * resolv/res_mkquery.c (outchar): Likewise.
54187         (PRINT): Likewise.
54188         * stdio-common/printf_fp.c (outchar): Likewise.
54189         (PRINT): Likewise.
54190         * stdio-common/printf_fphex.c (outchar): Likewise.
54191         (PRINT): Likewise.
54192         * stdio-common/printf_size.c (outchar): Likewise.
54193         (PRINT): Likewise.
54194         * stdio-common/test_rdwr.c (main): Likewise.
54195         * stdio-common/tfformat.c (matches): Likewise.
54196         * stdio-common/vfprintf.c (outchar): Likewise.
54197         (printf_unknown): Likewise.
54198         (buffered_vfprintf): Likewise.
54199         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54200         * stdio-common/xbug.c (AppendToBuffer): Likewise.
54201         (ReadFile): Likewise.
54202         * stdlib/qsort.c (SWAP): Likewise.
54203         (_quicksort): Likewise.
54204         * stdlib/setenv.c (__add_to_environ): Likewise.
54205         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54206         * stdlib/strtol_l.c (__strtol_l): Likewise.
54207         * stdlib/tst-strtod.c (main): Likewise.
54208         * stdlib/tst-strtol.c (main): Likewise.
54209         * stdlib/tst-strtoll.c (main): Likewise.
54210         * string/bits/string2.h (__strcmp_cc): Likewise.
54211         (__strcmp_cg): Likewise.
54212         (__strcspn_c1): Likewise.
54213         (__strcspn_c2): Likewise.
54214         (__strcspn_c3): Likewise.
54215         (__strspn_c1): Likewise.
54216         (__strspn_c2): Likewise.
54217         (__strspn_c3): Likewise.
54218         (__strsep_1c): Likewise.
54219         (__strsep_2c): Likewise.
54220         (__strsep_3c): Likewise.
54221         * string/memccpy.c (__memccpy): Likewise.
54222         * string/stpcpy.c (__stpcpy): Likewise.
54223         * string/strcmp.c (strcmp): Likewise.
54224         * string/strrchr.c (strrchr): Likewise.
54225         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
54226         Likewise.
54227         * sysdeps/mach/hurd/getcwd.c
54228         (_hurd_canonicalize_directory_name_internal): Likewise.
54229         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
54230         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
54231         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
54232         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
54233         Likewise, in both definitions.
54234         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
54235         definitions.
54236         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
54237         64] (__bswap_64): Likewise.
54238         * time/test_time.c (main): Likewise.
54239         * time/tzfile.c (__tzfile_read): Likewise.
54240         (__tzfile_compute): Likewise.
54241         * time/tzset.c (__tzset_parse_tz): Likewise.
54242         (tzset_internal): Likewise.
54243         (compute_change): Likewise.
54244         * wcsmbs/wcscat.c (__wcscat): Likewise.
54245         * wcsmbs/wcschr.c (wcschr): Likewise.
54246         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
54247         * wcsmbs/wcscspn.c (wcscspn): Likewise.
54248         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
54249         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
54250         * wcsmbs/wcsspn.c (wcsspn): Likewise.
54251         * wcsmbs/wcsstr.c (wcsstr): Likewise.
54252         * wcsmbs/wmemchr.c (wmemchr): Likewise.
54253         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54254         * wcsmbs/wmemset.c (wmemset): Likewise.
54256 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
54258         * scripts/config.guess: Update to version 2013-05-16.
54259         * scripts/config.sub: Update to version 2013-04-24.
54260         * scripts/install-sh: Update to version 2011-11-20.07.
54261         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
54262         * scripts/move-if-change: Update to version 2012-01-06 07:23.
54264 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
54266         * debug/fgetws_u_chk.c: Fix leading whitespaces.
54267         * elf/sln.c: Likewise.
54268         * hurd/hurd/ioctl.h: Likewise.
54269         * hurd/hurdmalloc.c: Likewise.
54270         * hurd/xattr.c: Likewise.
54271         * include/shlib-compat.h: Likewise.
54272         * inet/ruserpass.c: Likewise.
54273         * libio/iofgets_u.c: Likewise.
54274         * libio/iofgetws_u.c: Likewise.
54275         * locale/programs/ld-identification.c: Likewise.
54276         * locale/programs/ld-time.c: Likewise.
54277         * mach/msg-destroy.c: Likewise.
54278         * nss/nss_files/files-netgrp.c: Likewise.
54279         * resolv/res_data.c: Likewise.
54280         * soft-fp/op-1.h: Likewise.
54281         * soft-fp/op-2.h: Likewise.
54282         * soft-fp/op-4.h: Likewise.
54283         * soft-fp/op-common.h: Likewise.
54284         * stdio-common/printf_fphex.c: Likewise.
54285         * stdlib/strtod_l.c: Likewise.
54286         * sunrpc/rpc/clnt.h: Likewise.
54287         * sysdeps/generic/framestate.c: Likewise.
54288         * sysdeps/i386/bsd-_setjmp.S: Likewise.
54289         * sysdeps/i386/bsd-setjmp.S: Likewise.
54290         * sysdeps/i386/__longjmp.S: Likewise.
54291         * sysdeps/i386/setjmp.S: Likewise.
54292         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54293         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54294         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54295         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54296         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54297         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
54298         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54299         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54300         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54301         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
54302         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
54303         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
54304         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
54305         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
54306         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
54307         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54308         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
54309         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
54310         * sysdeps/ieee754/support.c: Likewise.
54311         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54312         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
54313         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
54314         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
54315         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
54316         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
54317         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
54318         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
54319         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
54320         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
54321         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
54322         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
54323         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
54324         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
54325         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
54326         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
54327         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
54330 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
54332         * posix/transbug.c: Remove executable mode.
54334 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
54336         * crypt/speeds.c: Remove trailing whitespace.
54337         * dlfcn/default.c: Likewise.
54338         * elf/ifuncdep2.c: Likewise.
54339         * elf/ifuncmain1.c: Likewise.
54340         * elf/ifuncmain1vis.c: Likewise.
54341         * elf/testobj.h: Likewise.
54342         * elf/tst-stackguard1.c: Likewise.
54343         * gmon/sys/gmon.h: Likewise.
54344         * hurd/hurdmsg.c: Likewise.
54345         * hurd/new-fd.c: Likewise.
54346         * hurd/ports-get.c: Likewise.
54347         * iconvdata/ibm1008_420.c: Likewise.
54348         * inet/tst-getni1.c: Likewise.
54349         * inet/tst-getni2.c: Likewise.
54350         * libio/ioungetc.c: Likewise.
54351         * libio/wfiledoalloc.c: Likewise.
54352         * manual/libm-err-tab.pl: Likewise.
54353         * math/w_dremf.c: Likewise.
54354         * misc/ftruncate.c: Likewise.
54355         * posix/bug-glob2.c: Likewise.
54356         * posix/tst-pcre.c: Likewise.
54357         * posix/wait4.c: Likewise.
54358         * resolv/README: Likewise.
54359         * resolv/res_debug.h: Likewise.
54360         * resolv/tst-inet_ntop.c: Likewise.
54361         * setjmp/bug269-setjmp.c: Likewise.
54362         * soft-fp/extended.h: Likewise.
54363         * soft-fp/op-1.h: Likewise.
54364         * soft-fp/op-2.h: Likewise.
54365         * soft-fp/op-4.h: Likewise.
54366         * soft-fp/op-8.h: Likewise.
54367         * soft-fp/testit.c: Likewise.
54368         * stdio-common/bug16.c: Likewise.
54369         * stdlib/random.c: Likewise.
54370         * sunrpc/rpcsvc/rquota.x: Likewise.
54371         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
54372         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54373         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54374         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54375         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54376         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54377         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54378         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54379         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54380         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54381         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54382         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
54383         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54384         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
54385         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54386         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
54387         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
54388         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54389         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
54390         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54391         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54392         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54393         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
54394         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
54395         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
54396         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
54397         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
54398         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54399         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54400         * sysdeps/ieee754/s_lib_version.c: Likewise.
54401         * sysdeps/mach/hurd/check_fds.c: Likewise.
54402         * sysdeps/mach/hurd/getsockname.c: Likewise.
54403         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
54404         * sysdeps/mach/hurd/recvfrom.c: Likewise.
54405         * sysdeps/powerpc/bits/link.h: Likewise.
54406         * sysdeps/powerpc/dl-procinfo.c: Likewise.
54407         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
54408         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
54409         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
54410         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54411         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
54412         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
54413         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54414         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
54415         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54416         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
54417         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
54418         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
54419         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54420         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54421         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54422         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
54423         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
54424         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54425         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54426         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54427         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
54428         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54429         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
54430         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
54431         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
54432         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
54433         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54434         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54435         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
54436         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
54437         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
54438         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54439         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
54440         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
54441         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54442         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
54443         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
54444         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
54445         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
54446         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
54447         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
54448         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
54449         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
54450         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54451         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
54452         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
54453         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
54454         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
54455         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
54456         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54457         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54458         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54459         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54460         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
54461         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
54462         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
54463         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54464         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
54465         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
54466         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
54467         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
54468         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
54469         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54470         * sysdeps/powerpc/sysdep.h: Likewise.
54471         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
54472         * sysdeps/s390/s390-64/sub_n.S: Likewise.
54473         * sysdeps/sh/dl-trampoline.S: Likewise.
54474         * sysdeps/sh/memset.S: Likewise.
54475         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
54476         * sysdeps/sh/strlen.S: Likewise.
54477         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
54478         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
54479         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
54480         * sysdeps/sparc/sparc32/rem.S: Likewise.
54481         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
54482         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
54483         * sysdeps/sparc/sparc32/strchr.S: Likewise.
54484         * sysdeps/sparc/sparc32/udiv.S: Likewise.
54485         * sysdeps/sparc/sparc32/urem.S: Likewise.
54486         * sysdeps/sparc/sparc64/add_n.S: Likewise.
54487         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54488         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
54489         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
54490         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
54491         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
54492         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
54493         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
54494         * sysdeps/unix/bsd/times.c: Likewise.
54495         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
54496         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
54497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
54498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
54499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
54500         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
54501         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
54502         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
54503         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
54504         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
54505         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
54506         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
54507         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
54508         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54509         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
54510         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
54511         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
54512         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
54513         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
54514         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
54515         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
54516         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
54517         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54518         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
54519         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
54520         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
54521         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
54522         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
54523         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
54524         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
54525         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
54526         * sysdeps/x86_64/strcspn.S: Likewise.
54528 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54530         * locale/C-translit.h: Revert #include <stdint.h> because this is a
54531         generated file.  Regenerate properly from gen-translit.pl.
54532         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
54533         locale/C-translit.h.
54535 2013-06-05  Andreas Schwab  <schwab@suse.de>
54537         [BZ #15100]
54538         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
54539         week as 6 instead of -1.
54540         * time/tst-strptime.c (day_tests): Add test case.
54542 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54544         * sysdeps/generic/math_private.h
54545         (libc_feholdexcept_setround_53bit): Replace with
54546         libc_feholdsetround_53bit.
54547         (libc_feupdateenv_53bit): Replace with
54548         libc_feresetround_53bit.
54549         (SET_RESTORE_ROUND_53BIT): Adjust.
54551 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54553         * string/test-strchrnul.c: Add copyright header.
54555         * posix/tst-getaddrinfo4.c: Increase test timeout.
54557 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
54559         [BZ #15536]
54560         * math/libm-test.inc (MAX_EXP): Remove
54561         (MIN_EXP): Define.
54562         (ulp): Use MIN_EXP - MANT_DIG.
54563         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
54565 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
54567         * po/be.po: Revert last change.
54568         * po/zh_CN.po: Likewise.
54569         * po/header.pot: Likewise.
54571 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
54573         * Makefile ($(common-objpfx)linkobj/libc.so): Define
54574         link-libc-deps to empty as target-specific variable.
54575         * Makerules (link-libc-args): New variable.
54576         (libc-for-link): Likewise.
54577         (link-libc-deps): Likewise.
54578         (lib%.so): Depend on $(link-libc-deps).  Link with
54579         $(link-libc-args).
54580         (build-module): Link with $(link-libc-args).
54581         (build-module-asneeded): Likewise.
54582         (build-module-helper-objlist): Filter out $(link-libc-deps) from
54583         list of objects.
54584         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
54585         target-specific variable.
54586         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
54587         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
54588         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
54589         libc.
54590         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
54591         libc and ld.so.
54592         ($(objpfx)libpcprofile.so): Likewise.
54593         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
54594         libc_nonshared.a.
54595         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
54596         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
54597         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
54598         $(link-libc-deps).
54599         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
54600         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
54601         * login/Makefile ($(objpfx)libutil.so): Likewise.
54602         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
54603         * math/Makefile ($(objpfx)libm.so): Likewise.
54604         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
54605         $(objpfx)libnsl.so): Define libc-for-link as target-specific
54606         variable instead of depending directly on libc.
54607         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
54608         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
54609         $(link-libc-deps).
54610         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
54611         libc.
54612         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
54613         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
54614         ($(objpfx)libanl.so): Likewise.
54615         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
54616         ld.so.
54617         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
54618         $(link-libc-deps).
54619         * sysdeps/i386/fpu/Makefile: Remove file.
54620         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
54621         ($(objpfx)libm.so): Remove dependency on ld.so.
54623 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
54625         [BZ # 15553]
54626         * nis/yp_xdr.c (XDRMAXNAME): Define.
54627         (XDRMAXRECORD): Define.
54628         (xdr_domainname): Use XDRMAXNAME.
54629         (xdr_mapname): Likewise.
54630         (xdr_peername): Likewise.
54631         (xdr_keydat): Use XDRMAXRECORD.
54632         (xdr_valdat): Likewise.
54634 2013-05-30  Jeff Law  <law@redhat.com>
54636         [BZ #14256]
54637         * manual/errno.texi (ESTALE): Update to account for more than
54638         just NFS file systems.
54639         * sysdeps/gnu/errlist.c: Regenerated.
54641 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54643         [BZ #15465]
54644         * elf/Makefile (tests): Add tst-null-argv.
54645         (modules-names):  Add tst-null-argv-lib.
54646         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
54647         (tst-null-argv-ENV): Set environment for tst-null-argv.
54648         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
54649         (RTLD_PROGNAME): New macro.
54650         * elf/tst-null-argv.c: New test case.
54651         * elf/tst-null-argv-lib.c: Library for test case.
54652         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
54653         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
54654         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
54655         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
54656         * elf/dl-init.c (call_init): Likewise.
54657         (_dl_init): Likewise.
54658         * elf/dl-load.c (print_search_path): Likewise.
54659         (_dl_map_object): Likewise.
54660         * elf/dl-lookup.c (do_lookup_x): Likewise.
54661         (add_dependency): Likewise.
54662         (_dl_lookup_symbol_x): Likewise.
54663         (_dl_debug_bindings): Likewise.
54664         * elf/dl-open.c (_dl_show_scope): Likewise.
54665         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54666         * elf/dl-version.c (match_symbol): Likewise.
54667         (_dl_check_map_versions): Likewise.
54668         * elf/rtld.c (dl_main): Likewise.
54669         (print_unresolved): Use RTLD_PROGNAME.
54670         (print_missing_version): Likewise.
54671         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
54672         (elf_machine_rela): Likewise.
54673         * sysdeps/powerpc/powerpc32/dl-machine.c
54674         (__process_machine_rela): Likewise.
54675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54676         Likewise.
54677         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
54678         Likewise.
54679         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
54680         Likewise.
54681         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54682         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
54683         Likewise.
54684         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
54685         Likewise.
54686         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
54688 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
54690         * po/be.po: Add descriptive title.
54691         * po/zh_CN.po: Likewise.
54692         * po/header.pot: Likewise.
54694 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
54696         * locale/programs/locarchive.c (create_archive): Inlucde fname in
54697         error message.
54698         (enlarge_archive): Likewise.
54700 2013-05-28  Ben North  <ben@redfrontdoor.org>
54702         * manual/arith.texi (frexp): It is the magnitude of the return
54703         value which lies in [0.5, 1), not the return value itself.
54705 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54709 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
54711         * stdio-common/bug26.c (main): Correct fscanf template.
54713         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
54714         declare _dl_skip_args.
54716         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
54717         Don't declare.
54719         * manual/platform.texi: Add missing @end deftypefun.
54721 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54723         [BZ #15529]
54724         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
54725         bit of mantissa of 2^16382.
54726         * math/libm-test.inc (hypot_test_data): Add more tests.
54728         * math/libm-test.inc: Add drem and pow10 to list of tested
54729         functions.
54730         (pow10_test): New function.
54731         (drem_test): Likewise.
54732         (drem_test_tonearest): Likewise.
54733         (drem_test_towardzero): Likewise.
54734         (drem_test_downward): Likewise.
54735         (drem_test_upward): Likewise.
54736         (main): Call the new functions.
54738         * math/libm-test.inc (finite_test_data): Remove.
54739         (finite_test): Run tests from isfinite_test_data.
54740         (gamma_test_data): Remove.
54741         (gamma_test): Run tests from lgamma_test_data.
54742         * sysdeps/i386/fpu/libm-test-ulps: Update.
54743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54745 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54747         * manual/platform.texi: Add PowerPC PPR function set documentation.
54748         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
54749         implementation.
54751 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
54753         * math/libm-test.inc (MAX_EXP): Define.
54754         (ULPDIFF): Define.
54755         (ulp): New function.
54756         (check_float_internal): Use ULPDIFF.
54757         (cpow_test): Disable failing test.
54758         (check_ulp): Test ulp() implementation.
54759         (main): Call check_ulp before starting tests.
54761 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
54763         * math/gen-libm-test.pl (generate_testfile): Do not handle
54764         START_DATA and END_DATA.
54765         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
54766         END_DATA.
54767         (acos_tonearest_test_data): Likewise.
54768         (acos_towardzero_test_data): Likewise.
54769         (acos_downward_test_data): Likewise.
54770         (acos_upward_test_data): Likewise.
54771         (acosh_test_data): Likewise.
54772         (asin_test_data): Likewise.
54773         (asin_tonearest_test_data): Likewise.
54774         (asin_towardzero_test_data): Likewise.
54775         (asin_downward_test_data): Likewise.
54776         (asin_upward_test_data): Likewise.
54777         (asinh_test_data): Likewise.
54778         (atan_test_data): Likewise.
54779         (atanh_test_data): Likewise.
54780         (atan2_test_data): Likewise.
54781         (cabs_test_data): Likewise.
54782         (cacos_test_data): Likewise.
54783         (cacosh_test_data): Likewise.
54784         (carg_test_data): Likewise.
54785         (casin_test_data): Likewise.
54786         (casinh_test_data): Likewise.
54787         (catan_test_data): Likewise.
54788         (catanh_test_data): Likewise.
54789         (cbrt_test_data): Likewise.
54790         (ccos_test_data): Likewise.
54791         (ccosh_test_data): Likewise.
54792         (ceil_test_data): Likewise.
54793         (cexp_test_data): Likewise.
54794         (cimag_test_data): Likewise.
54795         (clog_test_data): Likewise.
54796         (clog10_test_data): Likewise.
54797         (conj_test_data): Likewise.
54798         (copysign_test_data): Likewise.
54799         (cos_test_data): Likewise.
54800         (cos_tonearest_test_data): Likewise.
54801         (cos_towardzero_test_data): Likewise.
54802         (cos_downward_test_data): Likewise.
54803         (cos_upward_test_data): Likewise.
54804         (cosh_test_data): Likewise.
54805         (cosh_tonearest_test_data): Likewise.
54806         (cosh_towardzero_test_data): Likewise.
54807         (cosh_downward_test_data): Likewise.
54808         (cosh_upward_test_data): Likewise.
54809         (cpow_test_data): Likewise.
54810         (cproj_test_data): Likewise.
54811         (creal_test_data): Likewise.
54812         (csin_test_data): Likewise.
54813         (csinh_test_data): Likewise.
54814         (csqrt_test_data): Likewise.
54815         (ctan_test_data): Likewise.
54816         (ctan_tonearest_test_data): Likewise.
54817         (ctan_towardzero_test_data): Likewise.
54818         (ctan_downward_test_data): Likewise.
54819         (ctan_upward_test_data): Likewise.
54820         (ctanh_test_data): Likewise.
54821         (ctanh_tonearest_test_data): Likewise.
54822         (ctanh_towardzero_test_data): Likewise.
54823         (ctanh_downward_test_data): Likewise.
54824         (ctanh_upward_test_data): Likewise.
54825         (erf_test_data): Likewise.
54826         (erfc_test_data): Likewise.
54827         (exp_test_data): Likewise.
54828         (exp_tonearest_test_data): Likewise.
54829         (exp_towardzero_test_data): Likewise.
54830         (exp_downward_test_data): Likewise.
54831         (exp_upward_test_data): Likewise.
54832         (exp10_test_data): Likewise.
54833         (exp2_test_data): Likewise.
54834         (expm1_test_data): Likewise.
54835         (fabs_test_data): Likewise.
54836         (fdim_test_data): Likewise.
54837         (finite_test_data): Likewise.
54838         (floor_test_data): Likewise.
54839         (fma_test_data): Likewise.
54840         (fma_towardzero_test_data): Likewise.
54841         (fma_downward_test_data): Likewise.
54842         (fma_upward_test_data): Likewise.
54843         (fmax_test_data): Likewise.
54844         (fmin_test_data): Likewise.
54845         (fmod_test_data): Likewise.
54846         (fpclassify_test_data): Likewise.
54847         (frexp_test_data): Likewise.
54848         (gamma_test_data): Likewise.
54849         (hypot_test_data): Likewise.
54850         (ilogb_test_data): Likewise.
54851         (isfinite_test_data): Likewise.
54852         (isgreater_test_data): Likewise.
54853         (isgreaterequal_test_data): Likewise.
54854         (isinf_test_data): Likewise.
54855         (isless_test_data): Likewise.
54856         (islessequal_test_data): Likewise.
54857         (islessgreater_test_data): Likewise.
54858         (isnan_test_data): Likewise.
54859         (isnormal_test_data): Likewise.
54860         (issignaling_test_data): Likewise.
54861         (isunordered_test_data): Likewise.
54862         (j0_test_data): Likewise.
54863         (j1_test_data): Likewise.
54864         (jn_test_data): Likewise.
54865         (ldexp_test_data): Likewise.
54866         (lgamma_test_data): Likewise.
54867         (lrint_test_data): Likewise.
54868         (lrint_tonearest_test_data): Likewise.
54869         (lrint_towardzero_test_data): Likewise.
54870         (lrint_downward_test_data): Likewise.
54871         (lrint_upward_test_data): Likewise.
54872         (llrint_test_data): Likewise.
54873         (llrint_tonearest_test_data): Likewise.
54874         (llrint_towardzero_test_data): Likewise.
54875         (llrint_downward_test_data): Likewise.
54876         (llrint_upward_test_data): Likewise.
54877         (log_test_data): Likewise.
54878         (log10_test_data): Likewise.
54879         (log1p_test_data): Likewise.
54880         (log2_test_data): Likewise.
54881         (logb_test_data): Likewise.
54882         (logb_downward_test_data): Likewise.
54883         (lround_test_data): Likewise.
54884         (llround_test_data): Likewise.
54885         (modf_test_data): Likewise.
54886         (nearbyint_test_data): Likewise.
54887         (nextafter_test_data): Likewise.
54888         (nexttoward_test_data): Likewise.
54889         (pow_test_data): Likewise.
54890         (pow_tonearest_test_data): Likewise.
54891         (pow_towardzero_test_data): Likewise.
54892         (pow_downward_test_data): Likewise.
54893         (pow_upward_test_data): Likewise.
54894         (remainder_test_data): Likewise.
54895         (remainder_tonearest_test_data): Likewise.
54896         (remainder_towardzero_test_data): Likewise.
54897         (remainder_downward_test_data): Likewise.
54898         (remainder_upward_test_data): Likewise.
54899         (remquo_test_data): Likewise.
54900         (rint_test_data): Likewise.
54901         (rint_tonearest_test_data): Likewise.
54902         (rint_towardzero_test_data): Likewise.
54903         (rint_downward_test_data): Likewise.
54904         (rint_upward_test_data): Likewise.
54905         (round_test_data): Likewise.
54906         (scalb_test_data): Likewise.
54907         (scalbn_test_data): Likewise.
54908         (scalbln_test_data): Likewise.
54909         (signbit_test_data): Likewise.
54910         (sin_test_data): Likewise.
54911         (sin_tonearest_test_data): Likewise.
54912         (sin_towardzero_test_data): Likewise.
54913         (sin_downward_test_data): Likewise.
54914         (sin_upward_test_data): Likewise.
54915         (sincos_test_data): Likewise.
54916         (sinh_test_data): Likewise.
54917         (sinh_tonearest_test_data): Likewise.
54918         (sinh_towardzero_test_data): Likewise.
54919         (sinh_downward_test_data): Likewise.
54920         (sinh_upward_test_data): Likewise.
54921         (sqrt_test_data): Likewise.
54922         (tan_test_data): Likewise.
54923         (tan_tonearest_test_data): Likewise.
54924         (tan_towardzero_test_data): Likewise.
54925         (tan_downward_test_data): Likewise.
54926         (tan_upward_test_data): Likewise.
54927         (tanh_test_data): Likewise.
54928         (tgamma_test_data): Likewise.
54929         (trunc_test_data): Likewise.
54930         (y0_test_data): Likewise.
54931         (y1_test_data): Likewise.
54932         (yn_test_data): Likewise.
54933         (significand_test_data): Likewise.
54935         * math/gen-libm-test.pl (@functions): Remove variable.
54936         (generate_testfile): Don't handle START and END lines.
54937         * math/libm-test.inc (START): New macro.
54938         (END): Likewise.
54939         (END_COMPLEX): Likewise.
54940         (acos_test): Use END macro without arguments.
54941         (acos_test_tonearest): Likewise.
54942         (acos_test_towardzero): Likewise.
54943         (acos_test_downward): Likewise.
54944         (acos_test_upward): Likewise.
54945         (acosh_test): Likewise.
54946         (asin_test): Likewise.
54947         (asin_test_tonearest): Likewise.
54948         (asin_test_towardzero): Likewise.
54949         (asin_test_downward): Likewise.
54950         (asin_test_upward): Likewise.
54951         (asinh_test): Likewise.
54952         (atan_test): Likewise.
54953         (atanh_test): Likewise.
54954         (atan2_test): Likewise.
54955         (cabs_test): Likewise.
54956         (cacos_test): Use END_COMPLEX macro without arguments.
54957         (cacosh_test): Likewise.
54958         (carg_test): Use END macro without arguments.
54959         (casin_test): Use END_COMPLEX macro without arguments.
54960         (casinh_test): Likewise.
54961         (catan_test): Likewise.
54962         (catanh_test): Likewise.
54963         (cbrt_test): Use END macro without arguments.
54964         (ccos_test): Use END_COMPLEX macro without arguments.
54965         (ccosh_test): Likewise.
54966         (ceil_test): Use END macro without arguments.
54967         (cexp_test): Use END_COMPLEX macro without arguments.
54968         (cimag_test): Use END macro without arguments.
54969         (clog_test): Use END_COMPLEX macro without arguments.
54970         (clog10_test): Likewise.
54971         (conj_test): Likewise.
54972         (copysign_test): Use END macro without arguments.
54973         (cos_test): Likewise.
54974         (cos_test_tonearest): Likewise.
54975         (cos_test_towardzero): Likewise.
54976         (cos_test_downward): Likewise.
54977         (cos_test_upward): Likewise.
54978         (cosh_test): Likewise.
54979         (cosh_test_tonearest): Likewise.
54980         (cosh_test_towardzero): Likewise.
54981         (cosh_test_downward): Likewise.
54982         (cosh_test_upward): Likewise.
54983         (cpow_test): Use END_COMPLEX macro without arguments.
54984         (cproj_test): Likewise.
54985         (creal_test): Use END macro without arguments.
54986         (csin_test): Use END_COMPLEX macro without arguments.
54987         (csinh_test): Likewise.
54988         (csqrt_test): Likewise.
54989         (ctan_test): Likewise.
54990         (ctan_test_tonearest): Likewise.
54991         (ctan_test_towardzero): Likewise.
54992         (ctan_test_downward): Likewise.
54993         (ctan_test_upward): Likewise.
54994         (ctanh_test): Likewise.
54995         (ctanh_test_tonearest): Likewise.
54996         (ctanh_test_towardzero): Likewise.
54997         (ctanh_test_downward): Likewise.
54998         (ctanh_test_upward): Likewise.
54999         (erf_test): Use END macro without arguments.
55000         (erfc_test): Likewise.
55001         (exp_test): Likewise.
55002         (exp_test_tonearest): Likewise.
55003         (exp_test_towardzero): Likewise.
55004         (exp_test_downward): Likewise.
55005         (exp_test_upward): Likewise.
55006         (exp10_test): Likewise.
55007         (exp2_test): Likewise.
55008         (expm1_test): Likewise.
55009         (fabs_test): Likewise.
55010         (fdim_test): Likewise.
55011         (finite_test): Likewise.
55012         (floor_test): Likewise.
55013         (fma_test): Likewise.
55014         (fma_test_towardzero): Likewise.
55015         (fma_test_downward): Likewise.
55016         (fma_test_upward): Likewise.
55017         (fmax_test): Likewise.
55018         (fmin_test): Likewise.
55019         (fmod_test): Likewise.
55020         (fpclassify_test): Likewise.
55021         (frexp_test): Likewise.
55022         (gamma_test): Likewise.
55023         (hypot_test): Likewise.
55024         (ilogb_test): Likewise.
55025         (isfinite_test): Likewise.
55026         (isgreater_test): Likewise.
55027         (isgreaterequal_test): Likewise.
55028         (isinf_test): Likewise.
55029         (isless_test): Likewise.
55030         (islessequal_test): Likewise.
55031         (islessgreater_test): Likewise.
55032         (isnan_test): Likewise.
55033         (isnormal_test): Likewise.
55034         (issignaling_test): Likewise.
55035         (isunordered_test): Likewise.
55036         (j0_test): Likewise.
55037         (j1_test): Likewise.
55038         (jn_test): Likewise.
55039         (ldexp_test): Likewise.
55040         (lgamma_test): Likewise.
55041         (lrint_test): Likewise.
55042         (lrint_test_tonearest): Likewise.
55043         (lrint_test_towardzero): Likewise.
55044         (lrint_test_downward): Likewise.
55045         (lrint_test_upward): Likewise.
55046         (llrint_test): Likewise.
55047         (llrint_test_tonearest): Likewise.
55048         (llrint_test_towardzero): Likewise.
55049         (llrint_test_downward): Likewise.
55050         (llrint_test_upward): Likewise.
55051         (log_test): Likewise.
55052         (log10_test): Likewise.
55053         (log1p_test): Likewise.
55054         (log2_test): Likewise.
55055         (logb_test): Likewise.
55056         (logb_test_downward): Likewise.
55057         (lround_test): Likewise.
55058         (llround_test): Likewise.
55059         (modf_test): Likewise.
55060         (nearbyint_test): Likewise.
55061         (nextafter_test): Likewise.
55062         (nexttoward_test): Likewise.
55063         (pow_test): Likewise.
55064         (pow_test_tonearest): Likewise.
55065         (pow_test_towardzero): Likewise.
55066         (pow_test_downward): Likewise.
55067         (pow_test_upward): Likewise.
55068         (remainder_test): Likewise.
55069         (remainder_test_tonearest): Likewise.
55070         (remainder_test_towardzero): Likewise.
55071         (remainder_test_downward): Likewise.
55072         (remainder_test_upward): Likewise.
55073         (remquo_test): Likewise.
55074         (rint_test): Likewise.
55075         (rint_test_tonearest): Likewise.
55076         (rint_test_towardzero): Likewise.
55077         (rint_test_downward): Likewise.
55078         (rint_test_upward): Likewise.
55079         (round_test): Likewise.
55080         (scalb_test): Likewise.
55081         (scalbn_test): Likewise.
55082         (scalbln_test): Likewise.
55083         (signbit_test): Likewise.
55084         (sin_test): Likewise.
55085         (sin_test_tonearest): Likewise.
55086         (sin_test_towardzero): Likewise.
55087         (sin_test_downward): Likewise.
55088         (sin_test_upward): Likewise.
55089         (sincos_test): Likewise.
55090         (sinh_test): Likewise.
55091         (sinh_test_tonearest): Likewise.
55092         (sinh_test_towardzero): Likewise.
55093         (sinh_test_downward): Likewise.
55094         (sinh_test_upward): Likewise.
55095         (sqrt_test): Likewise.
55096         (tan_test): Likewise.
55097         (tan_test_tonearest): Likewise.
55098         (tan_test_towardzero): Likewise.
55099         (tan_test_downward): Likewise.
55100         (tan_test_upward): Likewise.
55101         (tanh_test): Likewise.
55102         (tgamma_test): Likewise.
55103         (trunc_test): Likewise.
55104         (y0_test): Likewise.
55105         (y1_test): Likewise.
55106         (yn_test): Likewise.
55107         (significand_test): Likewise.
55109 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55111         [BZ #15381]
55112         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55114 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55116         [BZ #14894]
55117         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55118         __ppc_mdoio and __ppc_mdoom.
55119         * manual/platform.texi: Document new functions __ppc_yield,
55120         __ppc_mdoio and __ppc_mdoom.
55122 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55124         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55125         (main): Mention "tls" pseudo-hwcap is legacy.
55126         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55128 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55130         * math/gen-libm-test.pl (parse_args): Output only string of
55131         arguments as text for test name, not full call or descriptions of
55132         tests for extra outputs.
55133         (generate_testfile): Do not pass function name to parse_args.
55134         Generate this_func variable from START.
55135         * math/libm-test.inc (struct test_f_f_data): Rename test_name
55136         field to arg_str.
55137         (struct test_ff_f_data): Likewise.
55138         (test_ff_f_data_nexttoward): Likewise.
55139         (struct test_fi_f_data): Likewise.
55140         (struct test_fl_f_data): Likewise.
55141         (struct test_if_f_data): Likewise.
55142         (struct test_fff_f_data): Likewise.
55143         (struct test_c_f_data): Likewise.
55144         (struct test_f_f1_data): Likewise.  Remove field extra_name.
55145         (struct test_fF_f1_data): Likewise.
55146         (struct test_ffI_f1_data): Likewise.
55147         (struct test_c_c_data): Rename test_name field to arg_str.
55148         (struct test_cc_c_data): Likewise.
55149         (struct test_f_i_data): Likewise.
55150         (struct test_ff_i_data): Likewise.
55151         (struct test_f_l_data): Likewise.
55152         (struct test_f_L_data): Likewise.
55153         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
55154         and extra2_name.
55155         (COMMON_TEST_SETUP): New macro.
55156         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
55157         (COMMON_TEST_CLEANUP): Likewise.
55158         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
55159         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
55160         macros.
55161         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
55162         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
55163         macros.
55164         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
55165         (RUN_TEST_fff_f): Take argument string.  Call new setup and
55166         cleanup macros.
55167         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
55168         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
55169         macros.
55170         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
55171         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
55172         macros.
55173         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55174         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
55175         cleanup macros.
55176         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55177         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
55178         cleanup macros.
55179         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55180         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
55181         cleanup macros.
55182         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55183         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
55184         macros.
55185         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
55186         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
55187         macros.
55188         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
55189         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
55190         macros.
55191         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
55192         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
55193         cleanup macros.
55194         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
55195         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
55196         cleanup macros.
55197         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
55198         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
55199         macros.
55200         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
55201         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
55202         cleanup macros.
55203         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
55204         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
55205         macros.
55206         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
55207         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
55208         macros.
55209         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
55210         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
55211         cleanup macros.
55212         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
55214 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
55216         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
55217         to _sifields.sigfault.
55218         (si_addr_lsb): Define new macro.
55219         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
55220         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55221         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
55223 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
55225         [BZ #15441]
55226         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
55227         returns -1.
55228         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
55229         null return -1.
55230         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
55231         loading the domain.
55233 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55235         * math/gen-libm-test.pl (parse_args): Do not include expected
55236         result in test name.
55237         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
55238         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55239         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55240         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55241         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55244 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55246         * benchtests/Makefile: Sort function entries.
55248         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
55249         tanh, asinh, acosh, atanh.
55250         * benchtests/acos-inputs: New file.
55251         * benchtests/acosh-inputs: New file.
55252         * benchtests/asin-inputs: New file.
55253         * benchtests/asinh-inputs: New file.
55254         * benchtests/atanh-inputs: New file.
55255         * benchtests/cosh-inputs: New file.
55256         * benchtests/log-inputs: New file.
55257         * benchtests/sinh-inputs: New file.
55258         * benchtests/tanh-inputs: New file.
55260 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
55262         [BZ #15339]
55263         * posix/tst-getaddrinfo4.c: New test.
55264         * posix/Makefile (tests): Add it.
55266 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55268         [BZ #15339]
55269         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
55270         when no services were used.
55271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
55272         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
55274 2013-05-21  Andreas Schwab  <schwab@suse.de>
55276         [BZ #15014]
55277         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
55278         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
55279         successful.
55280         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
55281         redundant variable declarations and reallocation of buffer when
55282         parsing as IPv6 address.  Always set NSS status when called from
55283         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
55284         buffer too small.  Correct computation of needed size.
55285         * nss/Makefile (tests): Add test-digits-dots.
55286         * nss/test-digits-dots.c: New test.
55288 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55290         * benchtests/Makefile: Remove instructions for adding
55291         benchmark tests.
55292         * benchtests/README: New file to explain how to execute and
55293         enhance the benchmark tests.
55295 2013-05-21  Andreas Schwab  <schwab@suse.de>
55297         [BZ #15493]
55298         * setjmp/Makefile (tests): Add tst-sigsetjmp.
55299         * setjmp/tst-sigsetjmp.c: New test.
55301 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55303         * sysdeps/x86_64/memset.S (memset): New implementation.
55304         (__bzero): Likewise.
55305         (__memset_tail): New function.
55307 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
55309         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
55310         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
55311         __memcpy_sse2_unaligned ifunc selection.
55312         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55313         Add memcpy-sse2-unaligned.S.
55314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
55315         Add: __memcpy_sse2_unaligned.
55317 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
55319         [BZ #15490]
55320         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55321         math_force_eval before restoring floating-point envrionment.
55322         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
55323         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
55324         Likewise.
55325         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
55326         <math_private.h>.
55327         (__nearbyintl): Use math_force_eval before restoring
55328         floating-point environment.
55329         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
55331         * math/gen-libm-test.pl (special_functions): Remove.
55332         (parse_args): Don't handle TEST_extra.  Handle functions with no
55333         return value.
55334         * math/libm-test.inc (struct test_sincos_data): Replace with
55335         struct test_fFF_11_data.
55336         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
55337         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
55338         (sincos_test_data): Change element type to struct
55339         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
55340         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
55341         RUN_TEST_LOOP_sincos.
55342         * math/README.libm-test: Don't mention special handling of
55343         individual functions.
55344         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
55345         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55346         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55347         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
55348         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55351         * math/gen-libm-test.pl (get_variable): Remove function.
55352         (parse_args): Don't show pointer parameters to call in test
55353         names.  Use "extra output N" in test names for extra outputs
55354         rather than naming variables.
55356 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
55358         [BZ #15488]
55359         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
55360         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
55361         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
55362         double tests.
55363         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
55364         disable.
55365         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
55366         check_long_double.
55368         * math/gen-libm-test.pl (@tests): Remove variable.
55369         ($count): Likewise.
55370         (new_test): Remove function.
55371         (show_exceptions): New function.
55372         (special_functions): Use show_exceptions instead of new_test.
55373         (parse_args): Likewise.
55374         (generate_testfile): Pass only function name in generated call to
55375         print_max_error or print_complex_max_error.
55376         (get_ulps): Do not handle complex tests specially.
55377         (output_test): Rename to ...
55378         (get_all_ulps_for_test): ... this.  Return a string rather than
55379         printing to a file.  Require ulps to be present.
55380         (output_ulps): Generate arrays rather than #defines.
55381         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
55382         (struct ulp_data): New type.
55383         (BUILD_COMPLEX_ULP): Remove macro.
55384         (compare_ulp_data): New function.
55385         (find_ulps): Likewise.
55386         (find_test_ulps): Likewise.
55387         (find_function_ulps): Likewise.
55388         (find_complex_function_ulps): Likewise.
55389         (print_max_error): Determine allowed ulps using
55390         find_function_ulps.
55391         (print_complex_max_error): Determine allowed ulps using
55392         find_complex_function_ulps.
55393         (check_float_internal): Determine max ulps using find_test_ulps.
55394         (check_float): Do not take max_ulp parameter.  Update call to
55395         check_float_internal.
55396         (check_complex): Likewise.
55397         (check_int): Do not take max_ulp parameter.
55398         (check_long): Likewise.
55399         (check_bool): Likewise.
55400         (check_longlong): Likewise.
55401         (struct test_f_f_data): Remove max_ulp field.
55402         (struct test_ff_f_data): Likewise.
55403         (struct test_ff_f_data_nexttoward): Likewise.
55404         (struct test_fi_f_data): Likewise.
55405         (struct test_fl_f_data): Likewise.
55406         (struct test_if_f_data): Likewise.
55407         (struct test_fff_f_data): Likewise.
55408         (struct test_c_f_data): Likewise.
55409         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
55410         (struct test_fF_f1_data): Likewise.
55411         (struct test_ffI_f1_data): Likewise.
55412         (struct test_c_c_data): Remove max_ulp field.
55413         (struct test_cc_c_data): Likewise.
55414         (struct test_f_i_data): Likewise.
55415         (struct test_ff_i_data): Likewise.
55416         (struct test_f_l_data): Likewise.
55417         (struct test_f_L_data): Likewise.
55418         (struct test_sincos_data): Likewise.
55419         (RUN_TEST_f_f): Do not handle ulps.
55420         (RUN_TEST_LOOP_f_f): Likewise.
55421         (RUN_TEST_2_f): Likewise.
55422         (RUN_TEST_LOOP_2_f): Likewise.
55423         (RUN_TEST_fff_f): Likewise.
55424         (RUN_TEST_LOOP_fff_f): Likewise.
55425         (RUN_TEST_c_f): Likewise.
55426         (RUN_TEST_LOOP_c_f): Likewise.
55427         (RUN_TEST_f_f1): Likewise.
55428         (RUN_TEST_LOOP_f_f1): Likewise.
55429         (RUN_TEST_fF_f1): Likewise.
55430         (RUN_TEST_LOOP_fF_f1): Likewise.
55431         (RUN_TEST_fI_f1): Likewise.
55432         (RUN_TEST_LOOP_fI_f1): Likewise.
55433         (RUN_TEST_ffI_f1): Likewise.
55434         (RUN_TEST_LOOP_ffI_f1): Likewise.
55435         (RUN_TEST_c_c): Likewise.
55436         (RUN_TEST_LOOP_c_c): Likewise.
55437         (RUN_TEST_cc_c): Likewise.
55438         (RUN_TEST_LOOP_cc_c): Likewise.
55439         (RUN_TEST_f_i): Likewise.
55440         (RUN_TEST_LOOP_f_i): Likewise.
55441         (RUN_TEST_f_i_tg): Likewise.
55442         (RUN_TEST_LOOP_f_i_tg): Likewise.
55443         (RUN_TEST_ff_i_tg): Likewise.
55444         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55445         (RUN_TEST_f_b): Likewise.
55446         (RUN_TEST_LOOP_f_b): Likewise.
55447         (RUN_TEST_f_b_tg): Likewise.
55448         (RUN_TEST_LOOP_f_b_tg): Likewise.
55449         (RUN_TEST_f_l): Likewise.
55450         (RUN_TEST_LOOP_f_l): Likewise.
55451         (RUN_TEST_f_L): Likewise.
55452         (RUN_TEST_LOOP_f_L): Likewise.
55453         (RUN_TEST_sincos): Likewise.
55454         (RUN_TEST_LOOP_sincos): Likewise.
55456 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
55458         [BZ #15480]
55459         [BZ #15485]
55460         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
55461         main case of finite arguments, set rounding mode to FE_TONEAREST
55462         and discard exceptions.
55463         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
55464         exceptions.
55465         (remainder_tonearest_test_data): New variable.
55466         (remainder_test_tonearest): New function.
55467         (remainder_towardzero_test_data): New variable.
55468         (remainder_test_towardzero): New function.
55469         (remainder_downward_test_data): New variable.
55470         (remainder_test_downward): New function.
55471         (remainder_upward_test_data): New variable.
55472         (remainder_test_upward): New function.
55473         (main): Call the new test functions.
55475         * math/libm-test.inc (struct test_f_f1_data): Remove field
55476         extra_init.
55477         (struct test_fF_f1_data): Likewise.
55478         (struct test_ffI_f1_data): Likewise.
55479         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
55480         based on value of EXTRA_EXPECTED.
55481         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
55482         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
55483         EXTRA_VAR based on value of EXTRA_EXPECTED.
55484         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
55485         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
55486         EXTRA_VAR based on value of EXTRA_EXPECTED.
55487         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
55488         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
55489         EXTRA_VAR based on value of EXTRA_EXPECTED.
55490         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
55491         * math/gen-libm-test.pl (parse_args): Don't output initializers
55492         for extra output values.
55494         * math/libm-test.inc (check_int): Expect result to be exactly
55495         equal to expected value and do not handle ulps.
55496         (check_long): Likewise.
55497         (check_longlong): Likewise.
55499         * math/libm-test.inc (ceil_test_data): Test for "inexact"
55500         exceptions.
55501         (cimag_test_data): Likewise.
55502         (conj_test_data): Likewise.
55503         (copysign_test_data): Likewise.
55504         (cproj_test_data): Likewise.
55505         (creal_test_data): Likewise.
55506         (fabs_test_data): Likewise.
55507         (fdim_test_data): Likewise.
55508         (finite_test_data): Likewise.
55509         (floor_test_data): Likewise.
55510         (fmax_test_data): Likewise.
55511         (fmin_test_data): Likewise.
55512         (fmod_test_data): Likewise.
55513         (fpclassify_test_data): Likewise.
55514         (frexp_test_data): Likewise.
55515         (ilogb_test_data): Likewise.
55516         (isfinite_test_data): Likewise.
55517         (isgreater_test_data): Likewise.
55518         (isgreaterequal_test_data): Likewise.
55519         (isinf_test_data): Likewise.
55520         (isless_test_data): Likewise.
55521         (islessequal_test_data): Likewise.
55522         (islessgreater_test_data): Likewise.
55523         (isnan_test_data): Likewise.
55524         (isnormal_test_data): Likewise.
55525         (issignaling_test_data): Likewise.
55526         (isunordered_test_data): Likewise.
55527         (ldexp_test_data): Likewise.
55528         (lrint_test_data): Likewise.
55529         (lrint_test_data) [TEST_FLOAT]: Disable one test.
55530         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
55531         (lrint_tonearest_test_data): Test for "inexact" exceptions.
55532         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55533         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
55534         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55535         test input.
55536         (lrint_towardzero_test_data): Test for "inexact" exceptions.
55537         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55538         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
55539         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
55540         that test input.
55541         (lrint_downward_test_data): Test for "inexact" exceptions.
55542         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55543         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
55544         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
55545         test input.
55546         (lrint_upward_test_data): Test for "inexact" exceptions.
55547         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
55548         test input.
55549         (llrint_test_data): Test for "inexact" exceptions.
55550         (llrint_test_data) [TEST_FLOAT]: Disable one test.
55551         (llrint_tonearest_test_data): Test for "inexact" exceptions.
55552         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
55553         (llrint_towardzero_test_data): Test for "inexact" exceptions.
55554         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
55555         (llrint_downward_test_data): Test for "inexact" exceptions.
55556         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
55557         (llrint_upward_test_data): Test for "inexact" exceptions.
55558         (logb_test_data): Likewise.
55559         (logb_downward_test_data): Likewise.
55560         (nextafter_test_data): Likewise.
55561         (nexttoward_test_data): Likewise.
55562         (remainder_test_data): Likewise.
55563         (remquo_test_data): Likewise.
55564         (scalbn_test_data): Likewise.
55565         (scalbln_test_data): Likewise.
55566         (signbit_test_data): Likewise.
55567         (sqrt_test_data): Likewise.
55568         (significand_test_data): Likewise.
55570 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55572         [BZ #15424]
55573         * benchtests/bench-modf.c (struct args): Mark arg0 as
55574         volatile.
55575         * scripts/bench.pl: Mark members of struct args as volatile.
55577 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55579         [BZ # 15497]
55580         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
55581         negative infinity on POWER6 or lower.
55582         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
55584 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
55586         [BZ #15442]
55587         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
55588         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
55589         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
55590         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
55591         (_FP_SETQNAN): New macro.
55592         (_FP_SETQNAN_SEMIRAW): Likewise.
55593         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
55594         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
55595         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
55596         (FP_EXTEND): Use _FP_FRAC_SNANP.
55597         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
55598         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
55599         into account.
55600         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55601         New macro.
55602         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
55603         Likewise.
55605 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55607         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
55608         with DIVIDE_BY_ZERO_EXCEPTION.
55609         (gamma_test_data): Likewise.
55610         (lgamma_test_data): Likewise.
55611         (log_test_data): Likewise.
55612         (log10_test_data): Likewise.
55613         (log2_test_data): Likewise.
55614         (tgamma_test_data): Likewise.
55616         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
55617         (acos_test_tonearest): Likewise.
55618         (acos_test_towardzero): Likewise.
55619         (acos_test_downward): Likewise.
55620         (acos_test_upward): Likewise.
55621         (acosh_test): Likewise.
55622         (asin_test): Likewise.
55623         (asin_test_tonearest): Likewise.
55624         (asin_test_towardzero): Likewise.
55625         (asin_test_downward): Likewise.
55626         (asin_test_upward): Likewise.
55627         (asinh_test): Likewise.
55628         (atan_test): Likewise.
55629         (atanh_test): Likewise.
55630         (atan2_test): Likewise.
55631         (cabs_test): Likewise.
55632         (cacos_test): Likewise.
55633         (cacosh_test): Likewise.
55634         (casin_test): Likewise.
55635         (casinh_test): Likewise.
55636         (catan_test): Likewise.
55637         (catanh_test): Likewise.
55638         (cbrt_test): Likewise.
55639         (ccos_test): Likewise.
55640         (ccosh_test): Likewise.
55641         (cexp_test): Likewise.
55642         (clog_test): Likewise.
55643         (clog10_test): Likewise.
55644         (cos_test): Likewise.
55645         (cos_test_tonearest): Likewise.
55646         (cos_test_towardzero): Likewise.
55647         (cos_test_downward): Likewise.
55648         (cos_test_upward): Likewise.
55649         (cosh_test): Likewise.
55650         (cosh_test_tonearest): Likewise.
55651         (cosh_test_towardzero): Likewise.
55652         (cosh_test_downward): Likewise.
55653         (cosh_test_upward): Likewise.
55654         (cpow_test): Likewise.
55655         (csin_test): Likewise.
55656         (csinh_test): Likewise.
55657         (csqrt_test): Likewise.
55658         (ctan_test): Likewise.
55659         (ctan_test_tonearest): Likewise.
55660         (ctan_test_towardzero): Likewise.
55661         (ctan_test_downward): Likewise.
55662         (ctan_test_upward): Likewise.
55663         (ctanh_test): Likewise.
55664         (ctanh_test_tonearest): Likewise.
55665         (ctanh_test_towardzero): Likewise.
55666         (ctanh_test_downward): Likewise.
55667         (ctanh_test_upward): Likewise.
55668         (erf_test): Likewise.
55669         (erfc_test): Likewise.
55670         (exp_test): Likewise.
55671         (exp_test_tonearest): Likewise.
55672         (exp_test_towardzero): Likewise.
55673         (exp_test_downward): Likewise.
55674         (exp_test_upward): Likewise.
55675         (exp10_test): Likewise.
55676         (exp2_test): Likewise.
55677         (expm1_test): Likewise.
55678         (fmod_test): Likewise.
55679         (gamma_test): Likewise.
55680         (hypot_test): Likewise.
55681         (j0_test): Likewise.
55682         (j1_test): Likewise.
55683         (jn_test): Likewise.
55684         (lgamma_test): Likewise.
55685         (log_test): Likewise.
55686         (log10_test): Likewise.
55687         (log1p_test): Likewise.
55688         (log2_test): Likewise.
55689         (logb_test_downward): Likewise.
55690         (pow_test): Likewise.
55691         (pow_test_tonearest): Likewise.
55692         (pow_test_towardzero): Likewise.
55693         (pow_test_downward): Likewise.
55694         (pow_test_upward): Likewise.
55695         (remainder_test): Likewise.
55696         (remquo_test): Likewise.
55697         (sin_test): Likewise.
55698         (sin_test_tonearest): Likewise.
55699         (sin_test_towardzero): Likewise.
55700         (sin_test_downward): Likewise.
55701         (sin_test_upward): Likewise.
55702         (sincos_test): Likewise.
55703         (sinh_test): Likewise.
55704         (sinh_test_tonearest): Likewise.
55705         (sinh_test_towardzero): Likewise.
55706         (sinh_test_downward): Likewise.
55707         (sinh_test_upward): Likewise.
55708         (sqrt_test): Likewise.
55709         (tan_test): Likewise.
55710         (tan_test_tonearest): Likewise.
55711         (tan_test_towardzero): Likewise.
55712         (tan_test_downward): Likewise.
55713         (tan_test_upward): Likewise.
55714         (tanh_test): Likewise.
55715         (tgamma_test): Likewise.
55716         (y0_test): Likewise.
55717         (y1_test): Likewise.
55718         (yn_test): Likewise.
55720         * math/gen-libm-test.pl (adjust_arg): Remove function.
55721         (special_function): Remove argument $in_func.  Only handle
55722         generating output for tables of tests, not inside functions.
55723         (parse_args): Likewise.
55724         (generate_testfile): Remove variable $in_func.  Update call to
55725         parse_args.
55726         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
55727         (MINUS_ZERO_INIT): Rename macro to minus_zero.
55728         (PLUS_INFTY_INIT): Rename macro to plus_infty.
55729         (MINUS_INFTY_INIT): Rename macro to minus_infty.
55730         (QNAN_VALUE_INIT): Rename macro to qnan_value.
55731         (MAX_VALUE_INIT): Rename macro to max_value.
55732         (MIN_VALUE_INIT): Rename macro to min_value.
55733         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
55734         (plus_zero): Remove variable.
55735         (minus_zero): Likewise.
55736         (plus_infty): Likewise.
55737         (minus_infty): Likewise.
55738         (qnan_value): Likewise.
55739         (max_value): Likewise.
55740         (min_value): Likewise.
55741         (min_subnorm_value): Likewise.
55743 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55745         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
55746         uint64_t or uint32_t usage.
55747         * crypt/sha256-block.c: Likewise.
55748         * crypt/sha256-crypt.c: Likewise.
55749         * crypt/sha256.c: Likewise.
55750         * crypt/sha512-block.c: Likewise.
55751         * crypt/sha512-crypt.c: Likewise.
55752         * crypt/sha512.c: Likewise.
55753         * debug/backtrace-tst.c: Likewise.
55754         * debug/pcprofiledump.c: Likewise.
55755         * elf/cache.c: Likewise.
55756         * elf/dl-cache.c: Likewise.
55757         * elf/dl-misc.c: Likewise.
55758         * elf/dl-profile.c: Likewise.
55759         * elf/dl-support.c: Likewise.
55760         * elf/ldconfig.c: Likewise.
55761         * elf/sprof.c: Likewise.
55762         * iconv/dummy-repertoire.c: Likewise.
55763         * iconv/iconv_charmap.c: Likewise.
55764         * iconv/skeleton.c: Likewise.
55765         * iconvdata/8bit-generic.c: Likewise.
55766         * iconvdata/cp737.h: Likewise.
55767         * iconvdata/cp775.h: Likewise.
55768         * iconvdata/ibm1008.h: Likewise.
55769         * iconvdata/ibm1025.h: Likewise.
55770         * iconvdata/ibm1046.h: Likewise.
55771         * iconvdata/ibm1097.h: Likewise.
55772         * iconvdata/ibm1112.h: Likewise.
55773         * iconvdata/ibm1122.h: Likewise.
55774         * iconvdata/ibm1123.h: Likewise.
55775         * iconvdata/ibm1124.h: Likewise.
55776         * iconvdata/ibm1129.h: Likewise.
55777         * iconvdata/ibm1130.h: Likewise.
55778         * iconvdata/ibm1132.h: Likewise.
55779         * iconvdata/ibm1133.h: Likewise.
55780         * iconvdata/ibm1137.h: Likewise.
55781         * iconvdata/ibm1140.h: Likewise.
55782         * iconvdata/ibm1141.h: Likewise.
55783         * iconvdata/ibm1142.h: Likewise.
55784         * iconvdata/ibm1143.h: Likewise.
55785         * iconvdata/ibm1144.h: Likewise.
55786         * iconvdata/ibm1145.h: Likewise.
55787         * iconvdata/ibm1146.h: Likewise.
55788         * iconvdata/ibm1147.h: Likewise.
55789         * iconvdata/ibm1148.h: Likewise.
55790         * iconvdata/ibm1149.h: Likewise.
55791         * iconvdata/ibm1153.h: Likewise.
55792         * iconvdata/ibm1154.h: Likewise.
55793         * iconvdata/ibm1155.h: Likewise.
55794         * iconvdata/ibm1156.h: Likewise.
55795         * iconvdata/ibm1157.h: Likewise.
55796         * iconvdata/ibm1158.h: Likewise.
55797         * iconvdata/ibm1160.h: Likewise.
55798         * iconvdata/ibm1161.h: Likewise.
55799         * iconvdata/ibm1162.h: Likewise.
55800         * iconvdata/ibm1163.h: Likewise.
55801         * iconvdata/ibm1164.h: Likewise.
55802         * iconvdata/ibm1166.h: Likewise.
55803         * iconvdata/ibm1167.h: Likewise.
55804         * iconvdata/ibm12712.h: Likewise.
55805         * iconvdata/ibm1390.h: Likewise.
55806         * iconvdata/ibm1399.h: Likewise.
55807         * iconvdata/ibm16804.h: Likewise.
55808         * iconvdata/ibm4517.h: Likewise.
55809         * iconvdata/ibm4899.h: Likewise.
55810         * iconvdata/ibm4909.h: Likewise.
55811         * iconvdata/ibm4971.h: Likewise.
55812         * iconvdata/ibm5347.h: Likewise.
55813         * iconvdata/ibm803.h: Likewise.
55814         * iconvdata/ibm856.h: Likewise.
55815         * iconvdata/ibm901.h: Likewise.
55816         * iconvdata/ibm902.h: Likewise.
55817         * iconvdata/ibm9030.h: Likewise.
55818         * iconvdata/ibm9066.h: Likewise.
55819         * iconvdata/ibm921.h: Likewise.
55820         * iconvdata/ibm922.h: Likewise.
55821         * iconvdata/ibm9448.h: Likewise.
55822         * iconvdata/isiri-3342.h: Likewise.
55823         * iconvdata/jis0201.h: Likewise.
55824         * include/link.h: Likewise.
55825         * include/netdb.h: Likewise.
55826         * inet/check_native.c: Likewise.
55827         * inet/check_pf.c: Likewise.
55828         * inet/getipv4sourcefilter.c: Likewise.
55829         * inet/getnameinfo.c: Likewise.
55830         * inet/getsourcefilter.c: Likewise.
55831         * inet/htonl.c: Likewise.
55832         * inet/setipv4sourcefilter.c: Likewise.
55833         * inet/setsourcefilter.c: Likewise.
55834         * inet/test-inet6_opt.c: Likewise.
55835         * inet/tst-network.c: Likewise.
55836         * locale/C-collate.c: Likewise.
55837         * locale/C-ctype.c: Likewise.
55838         * locale/C-time.c: Likewise.
55839         * locale/C-translit.h: Likewise.
55840         * locale/loadarchive.c: Likewise.
55841         * locale/programs/3level.h: Likewise.
55842         * locale/programs/charmap.c: Likewise.
55843         * locale/programs/charmap.h: Likewise.
55844         * locale/programs/ld-address.c: Likewise.
55845         * locale/programs/ld-collate.c: Likewise.
55846         * locale/programs/ld-ctype.c: Likewise.
55847         * locale/programs/ld-identification.c: Likewise.
55848         * locale/programs/ld-measurement.c: Likewise.
55849         * locale/programs/ld-messages.c: Likewise.
55850         * locale/programs/ld-monetary.c: Likewise.
55851         * locale/programs/ld-name.c: Likewise.
55852         * locale/programs/ld-numeric.c: Likewise.
55853         * locale/programs/ld-paper.c: Likewise.
55854         * locale/programs/ld-telephone.c: Likewise.
55855         * locale/programs/ld-time.c: Likewise.
55856         * locale/programs/linereader.c: Likewise.
55857         * locale/programs/locale.c: Likewise.
55858         * locale/programs/locarchive.c: Likewise.
55859         * locale/programs/locfile.h: Likewise.
55860         * locale/programs/repertoire.c: Likewise.
55861         * locale/programs/simple-hash.c: Likewise.
55862         * locale/programs/simple-hash.h: Likewise.
55863         * malloc/memusage.c: Likewise.
55864         * malloc/memusagestat.c: Likewise.
55865         * nis/nis_defaults.c: Likewise.
55866         * nis/nis_hash.c: Likewise.
55867         * nis/nis_print.c: Likewise.
55868         * nis/nis_xdr.c: Likewise.
55869         * nscd/connections.c: Likewise.
55870         * nscd/hstcache.c: Likewise.
55871         * nscd/nscd_gethst_r.c: Likewise.
55872         * nscd/nscd_getserv_r.c: Likewise.
55873         * nscd/nscd_helper.c: Likewise.
55874         * nscd/servicescache.c: Likewise.
55875         * nss/makedb.c: Likewise.
55876         * nss/nss_db/db-XXX.c: Likewise.
55877         * nss/nss_db/db-initgroups.c: Likewise.
55878         * nss/nss_db/db-netgrp.c: Likewise.
55879         * nss/nss_files/files-network.c: Likewise.
55880         * nss/nss_files/files-parse.c: Likewise.
55881         * posix/bug-regex5.c: Likewise.
55882         * posix/fnmatch_loop.c: Likewise.
55883         * posix/regcomp.c: Likewise.
55884         * posix/regexec.c: Likewise.
55885         * posix/tst-rfc3484-2.c: Likewise.
55886         * posix/tst-rfc3484-3.c: Likewise.
55887         * posix/tst-rfc3484.c: Likewise.
55888         * resolv/nss_dns/dns-canon.c: Likewise.
55889         * resolv/nss_dns/dns-network.c: Likewise.
55890         * resolv/res_init.c: Likewise.
55891         * resolv/res_mkquery.c: Likewise.
55892         * resolv/tst-aton.c: Likewise.
55893         * stdlib/cxa_atexit.c: Likewise.
55894         * stdlib/cxa_finalize.c: Likewise.
55895         * stdlib/gen-fpioconst.c: Likewise.
55896         * stdlib/strtol_l.c: Likewise.
55897         * string/tst-endian.c: Likewise.
55898         * sunrpc/auth_des.c: Likewise.
55899         * sunrpc/clnt_udp.c: Likewise.
55900         * sunrpc/rtime.c: Likewise.
55901         * sunrpc/svcauth_des.c: Likewise.
55902         * sunrpc/xdr.c: Likewise.
55903         * sunrpc/xdr_intXX_t.c: Likewise.
55904         * sunrpc/xdr_rec.c: Likewise.
55905         * sysdeps/generic/ldconfig.h: Likewise.
55906         * sysdeps/generic/ldsodefs.h: Likewise.
55907         * sysdeps/generic/memusage.h: Likewise.
55908         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55909         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
55910         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
55911         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55913         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55916         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55917         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55918         * sysdeps/posix/getaddrinfo.c: Likewise.
55919         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55920         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55921         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55922         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55923         * sysdeps/powerpc/test-gettimebase.c: Likewise.
55924         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
55925         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
55926         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
55927         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
55928         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
55929         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55930         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55931         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
55932         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
55933         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
55934         * sysdeps/x86_64/dl-tls.h: Likewise.
55935         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
55936         * time/alt_digit.c: Likewise.
55937         * time/era.c: Likewise.
55938         * wcsmbs/tst-c16c32-1.c: Likewise.
55940 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55942         * math/libm-test.inc (struct test_sincos_data): New type.
55943         (RUN_TEST_LOOP_sincos): New macro.
55944         (sincos_test_data): New variable.
55945         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
55947 2013-05-16  Richard Henderson  <rth@redhat.com>
55949         * math/atest-exp2.c (LIMB64): New macro.
55950         (CONSTSZ): New macro.
55951         (mp_exp1, mp_exp_m1, mp_log2): New variables.
55952         (hexdig): Move ...
55953         (print_mpn_fp): ... to function scope.
55954         (read_mpn_hex): Remove.
55955         (get_log2): Remove.
55956         (exp2_mpn): Use mp_log2.
55957         (main): Use mp_exp1.
55959 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
55961         * math/libm-test.inc: Remove comment about not testing "inexact"
55962         exceptions.
55963         (INEXACT_EXCEPTION): New macro.
55964         (NO_INEXACT_EXCEPTION): Likewise.
55965         (INVALID_EXCEPTION_OK): Update value.
55966         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
55967         (OVERFLOW_EXCEPTION_OK): Likewise.
55968         (UNDERFLOW_EXCEPTION_OK): Likewise.
55969         (IGNORE_ZERO_INF_SIGN): Likewise.
55970         (ERRNO_UNCHANGED): Likewise.
55971         (ERRNO_EDOM): Likewise.
55972         (ERRNO_ERANGE): Likewise.
55973         (test_exceptions): Handle testing "inexact" exceptions.
55974         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
55975         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
55976         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
55977         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
55978         INEXACT_EXCEPTION.
55979         (rint_towardzero_test_data): Likewise.
55980         (rint_downward_test_data): Likewise.
55981         (rint_upward_test_data): Likewise.
55983         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
55984         with OVERFLOW_EXCEPTION.
55985         (exp10_test_data): Likewise.
55986         (exp2_test_data): Likewise.
55987         (expm1_test_data): Likewise.
55988         (lgamma_test_data): Likewise.
55989         (pow_test_data): Likewise.
55990         (tgamma_test_data): Likewise.
55991         (yn_test_data): Remove duplicate test of overflow.
55993         * math/libm-test.inc (struct test_cc_c_data): New type.
55994         (RUN_TEST_LOOP_cc_c): New macro.
55995         (cpow_test_data): New variable.
55996         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
55998         * math/libm-test.inc (struct test_f_L_data): New type.
55999         (RUN_TEST_LOOP_f_L): New macro.
56000         (llrint_test_data): New variable.
56001         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56002         (llrint_tonearest_test_data): New variable.
56003         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56004         (llrint_towardzero_test_data): New variable.
56005         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56006         (llrint_downward_test_data): New variable.
56007         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56008         (llrint_upward_test_data): New variable.
56009         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56010         (llround_test_data): New variable.
56011         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56013 2013-05-13  Peter Collingbourne  <pcc@google.com>
56015         * math/atest-exp2.c (get_log2): Remove const attribute.
56017 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56019         * math/libm-test.inc (struct test_f_l_data): New type.
56020         (RUN_TEST_LOOP_f_l): New macro.
56021         (lrint_test_data): New variable.
56022         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56023         (lrint_tonearest_test_data): New variable.
56024         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56025         (lrint_towardzero_test_data): New variable.
56026         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56027         (lrint_downward_test_data): New variable.
56028         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56029         (lrint_upward_test_data): New variable.
56030         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56031         (lround_test_data): New variable.
56032         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56034 2013-05-15  Peter Collingbourne  <pcc@google.com>
56036         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56037         (EXTRACT_WORDS64) Use where appropriate.
56038         (INSERT_WORDS64) Likewise.
56040         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56041         constraints with x constraints.
56042         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56044         * malloc/obstack.c (_obstack_compat): Add initializer.
56046 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56049         si_trapno and add si_addr_lsb to _sifields.sigfault.
56050         (si_trapno): Remove macro.
56051         (si_addr_lsb): Define new macro.
56052         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56054 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56056         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56057         instead of TEST_f_l.
56058         (llrint_test_tonearest): Likewise.
56059         (llrint_test_towardzero): Likewise.
56060         (llrint_test_downward): Likewise.
56061         (llrint_test_upward): Likewise.
56062         (llround_test): Likewise.
56064         * math/libm-test.inc (struct test_f_i_data): Add comment.
56065         (RUN_TEST_LOOP_f_b): New macro.
56066         (RUN_TEST_LOOP_f_b_tg): Likewise.
56067         (finite_test_data): New variable.
56068         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56069         (isfinite_test_data): New variable.
56070         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56071         (isinf_test_data): New variable.
56072         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56073         (isnan_test_data): New variable.
56074         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56075         (isnormal_test_data): New variable.
56076         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56077         (issignaling_test_data): New variable.
56078         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56079         (signbit_test_data): New variable.
56080         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56082         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56083         with INVALID_EXCEPTION.
56084         (acosh_test_data): Likewise.
56085         (asin_test_data): Likewise.
56086         (atanh_test_data): Likewise.
56087         (fmod_test_data): Likewise.
56088         (log_test_data): Likewise.
56089         (log10_test_data): Likewise.
56090         (log2_test_data): Likewise.
56091         (pow_test_data): Likewise.
56092         (sqrt_test_data): Likewise.
56093         (y0_test_data): Likewise.
56094         (y1_test_data): Likewise.
56095         (yn_test_data): Likewise.
56097         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56098         function contents.
56100         * math/libm-test.inc (struct test_ff_i_data): New type.
56101         (RUN_TEST_LOOP_ff_i_tg): New macro.
56102         (isgreater_test_data): New variable.
56103         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56104         (isgreaterequal_test_data): New variable.
56105         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56106         (isless_test_data): New variable.
56107         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56108         (islessequal_test_data): New variable.
56109         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56110         (islessgreater_test_data): New variable.
56111         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56112         (isunordered_test_data): New variable.
56113         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56115 2013-05-14  David S. Miller  <davem@davemloft.net>
56117         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56119 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56121         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56123         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56124         extra_test to int.
56125         (struct test_f_i_data): Change type of max_ulp to int.
56127         * math/libm-test.inc (test_ffI_f1_data): New type.
56128         (RUN_TEST_LOOP_ffI_f1): New macro.
56129         (remquo_test_data): New variable.
56130         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56132         * setjmp/tst-setjmp-fp.c: New file.
56133         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56134         (link-libm): New variable.
56135         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
56137         * math/libm-test.inc (struct test_f_i_data): New type.
56138         (RUN_TEST_LOOP_f_i): New macro.
56139         (RUN_TEST_LOOP_f_i_tg): Likewise.
56140         (fpclassify_test_data): New variable.
56141         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
56142         (ilogb_test_data): New variable.
56143         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
56145         * math/libm-test.inc (scalbln_test): Correct function name in END
56146         call.
56148         * math/libm-test.inc (struct test_f_f1_data): Add comment.
56149         (RUN_TEST_LOOP_fI_f1): New macro.
56150         (frexp_test_data): New variable.
56151         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
56153         * math/libm-test.inc (struct test_fF_f1_data): New type.
56154         (RUN_TEST_LOOP_fF_f1): New macro.
56155         (modf_test_data): New variable.
56156         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
56158         * math/libm-test.inc (struct test_f_f1_data): New type.
56159         (RUN_TEST_LOOP_f_f1): New macro.
56160         (gamma_test_data): New variable.
56161         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56162         (lgamma_test_data): New variable.
56163         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
56165 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
56167         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
56168         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
56169         (main): Comment "tls" pseudo-hwcap.
56171 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
56173         * math/libm-test.inc (struct test_fl_f_data): New type.
56174         (RUN_TEST_LOOP_fl_f): New variable.
56175         (scalbln_test_data): New variable.
56176         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
56178         * math/libm-test.inc (struct test_fi_f_data): New type.
56179         (RUN_TEST_LOOP_fi_f): New macro.
56180         (ldexp_test_data): New variable.
56181         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
56182         (scalbn_test_data): New variable.
56183         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
56185         * math/libm-test.inc (struct test_c_f_data): New type.
56186         (RUN_TEST_LOOP_c_f): New macro.
56187         (cabs_test_data): New variable.
56188         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
56189         (carg_test_data): New variable.
56190         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
56191         (cimag_test_data): New variable.
56192         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
56193         (creal_test_data): New variable.
56194         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
56196         * math/libm-test.inc (struct test_if_f_data): New type.
56197         (RUN_TEST_LOOP_if_f): New macro.
56198         (jn_test_data): New variable.
56199         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
56200         (yn_test_data): New variable.
56201         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
56203         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
56205 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56207         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
56208         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
56210 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56212         * benchtests/Makefile (CPPFLAGS-nonlib): Add
56213         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
56214         (bench-deps): Add bench-timing.h.
56215         * benchtests-bench-skeleton.c: Include bench-timing.h.
56216         (main): Use TIMING_* macros instead of clock_gettime.
56217         * benchtests/bench-timing.h: New file.
56219         [BZ #14582]
56220         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
56221         Renamed from _LIB_VERSION.
56222         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
56224 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
56226         * math/libm-test.inc (struct test_fff_f_data): New type.
56227         (RUN_TEST_LOOP_fff_f): New macro.
56228         (fma_test_data): New variable.
56229         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
56230         (fma_towardzero_test_data): New variable.
56231         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
56232         (fma_downward_test_data): New variable.
56233         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
56234         (fma_upward_test_data): New variable.
56235         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
56237         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
56238         (struct test_c_c_data): New type.
56239         (RUN_TEST_LOOP_c_c): New macro.
56240         (cacos_test_data): New variable.
56241         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
56242         (cacosh_test_data): New variable.
56243         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
56244         (casin_test_data): New variable.
56245         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
56246         (casinh_test_data): New variable.
56247         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
56248         (catan_test_data): New variable.
56249         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
56250         (catanh_test_data): New variable.
56251         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
56252         (ccos_test_data): New variable.
56253         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
56254         (ccosh_test_data): New variable.
56255         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
56256         (cexp_test_data): New variable.
56257         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
56258         (clog_test_data): New variable.
56259         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
56260         (clog10_test_data): New variable.
56261         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
56262         (conj_test_data): New variable.
56263         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
56264         (cproj_test_data): New variable.
56265         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
56266         (csin_test_data): New variable.
56267         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
56268         (csinh_test_data): New variable.
56269         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
56270         (csqrt_test_data): New variable.
56271         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
56272         (ctan_test_data): New variable.
56273         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
56274         (ctan_tonearest_test_data): New variable.
56275         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56276         (ctan_towardzero_test_data): New variable.
56277         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56278         (ctan_downward_test_data): New variable.
56279         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56280         (ctan_upward_test_data): New variable.
56281         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56282         (ctanh_test_data): New variable.
56283         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
56284         (ctanh_tonearest_test_data): New variable.
56285         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
56286         (ctanh_towardzero_test_data): New variable.
56287         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
56288         (ctanh_downward_test_data): New variable.
56289         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
56290         (ctanh_upward_test_data): New variable.
56291         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
56292         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
56293         of BUILD_COMPLEX.
56295         * math/libm-test.inc (struct test_ff_f_data): New type.
56296         (struct test_ff_f_data_nexttoward): Likewise.
56297         (RUN_TEST_LOOP_2_f): New macro.
56298         (RUN_TEST_LOOP_ff_f): Likewise.
56299         (atan2_test_data): New variable.
56300         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
56301         (copysign_test_data): New variable.
56302         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
56303         (fdim_test_data): New variable.
56304         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
56305         (fmax_test_data): New variable.
56306         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
56307         (fmin_test_data): New variable.
56308         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
56309         (fmod_test_data): New variable.
56310         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
56311         (hypot_test_data): New variable.
56312         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
56313         (nextafter_test_data): New variable.
56314         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
56315         (nexttoward_test_data): New variable.
56316         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
56317         (pow_test_data): New variable.
56318         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
56319         (pow_tonearest_test_data): New variable.
56320         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
56321         (pow_towardzero_test_data): New variable.
56322         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
56323         (pow_downward_test_data): New variable.
56324         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
56325         (pow_upward_test_data): New variable.
56326         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
56327         (remainder_test_data): New variable.
56328         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
56329         (scalb_test_data): New variable.
56330         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
56331         * sysdeps/i386/fpu/libm-test-ulps: Update.
56333 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
56335         * math/libm-test.inc (fma_test): Use max_value instead of local
56336         variable fltmax.
56337         (nextafter_test): Likewise.
56339         * math/libm-test.inc (acos_towardzero_test_data): New variable.
56340         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56341         (acos_downward_test_data): New variable.
56342         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56343         (acos_upward_test_data): New variable.
56344         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56345         (acosh_test_data): New variable.
56346         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
56347         (asin_test_data): New variable.
56348         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
56349         (asin_tonearest_test_data): New variable.
56350         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56351         (asin_towardzero_test_data): New variable.
56352         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56353         (asin_downward_test_data): New variable.
56354         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56355         (asin_upward_test_data): New variable.
56356         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56357         (asinh_test_data): New variable.
56358         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
56359         (atan_test_data): New variable.
56360         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
56361         (atanh_test_data): New variable.
56362         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
56363         (cbrt_test_data): New variable.
56364         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
56365         (ceil_test_data): New variable.
56366         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
56367         (cos_test_data): New variable.
56368         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
56369         (cos_tonearest_test_data): New variable.
56370         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56371         (cos_towardzero_test_data): New variable.
56372         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56373         (cos_downward_test_data): New variable.
56374         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56375         (cos_upward_test_data): New variable.
56376         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56377         (cosh_test_data): New variable.
56378         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
56379         (cosh_tonearest_test_data): New variable.
56380         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56381         (cosh_towardzero_test_data): New variable.
56382         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56383         (cosh_downward_test_data): New variable.
56384         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56385         (cosh_upward_test_data): New variable.
56386         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56387         (erf_test_data): New variable.
56388         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
56389         (erfc_test_data): New variable.
56390         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
56391         (exp_test_data): New variable.
56392         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
56393         (exp_tonearest_test_data): New variable.
56394         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56395         (exp_towardzero_test_data): New variable.
56396         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56397         (exp_downward_test_data): New variable.
56398         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56399         (exp_upward_test_data): New variable.
56400         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56401         (exp10_test_data): New variable.
56402         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
56403         (exp2_test_data): New variable.
56404         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
56405         (expm1_test_data): New variable.
56406         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
56407         (fabs_test_data): New variable.
56408         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
56409         (floor_test_data): New variable.
56410         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
56411         (j0_test_data): New variable.
56412         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
56413         (j1_test_data): New variable.
56414         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
56415         (log_test_data): New variable.
56416         (log_test): Run tests with RUN_TEST_LOOP_f_f.
56417         (log10_test_data): New variable.
56418         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
56419         (log1p_test_data): New variable.
56420         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
56421         (log2_test_data): New variable.
56422         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
56423         (logb_test_data): New variable.
56424         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
56425         (logb_downward_test_data): New variable.
56426         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56427         (nearbyint_test_data): New variable.
56428         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
56429         (rint_test_data): New variable.
56430         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
56431         (rint_tonearest_test_data): New variable.
56432         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56433         (rint_towardzero_test_data): New variable.
56434         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56435         (rint_downward_test_data): New variable.
56436         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56437         (rint_upward_test_data): New variable.
56438         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56439         (round_test_data): New variable.
56440         (round_test): Run tests with RUN_TEST_LOOP_f_f.
56441         (sin_test_data): New variable.
56442         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
56443         (sin_tonearest_test_data): New variable.
56444         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56445         (sin_towardzero_test_data): New variable.
56446         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56447         (sin_downward_test_data): New variable.
56448         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56449         (sin_upward_test_data): New variable.
56450         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56451         (sinh_test_data): New variable.
56452         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
56453         (sinh_tonearest_test_data): New variable.
56454         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56455         (sinh_towardzero_test_data): New variable.
56456         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56457         (sinh_downward_test_data): New variable.
56458         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56459         (sinh_upward_test_data): New variable.
56460         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56461         (sqrt_test_data): New variable.
56462         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
56463         (tan_test_data): New variable.
56464         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
56465         (tan_tonearest_test_data): New variable.
56466         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56467         (tan_towardzero_test_data): New variable.
56468         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
56469         (tan_downward_test_data): New variable.
56470         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
56471         (tan_upward_test_data): New variable.
56472         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
56473         (tanh_test_data): New variable.
56474         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
56475         (tgamma_test_data): New variable.
56476         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
56477         (trunc_test_data): New variable.
56478         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
56479         (y0_test_data): New variable.
56480         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
56481         (y1_test_data): New variable.
56482         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
56483         (significand_test_data): New variable.
56484         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
56486 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
56488         [BZ #12387]
56489         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
56491 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
56493         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
56495 2013-05-10  Andreas Jaeger  <aj@suse.de>
56497         [BZ #15448]
56498         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
56499         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
56501 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56503         * math/gen-libm-test.pl (adjust_arg): New function.
56504         (special_functions): Handle generating output in both functions
56505         and arrays.
56506         (parse_args): Likewise.
56507         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
56508         $in_func argument to parse_args.
56509         * math/libm-test.inc (struct test_f_f_data): New type.
56510         (IF_ROUND_INIT_): New macro.
56511         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
56512         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
56513         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
56514         (IF_ROUND_INIT_FE_UPWARD): Likewise.
56515         (ROUND_RESTORE_): Likewise.
56516         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
56517         (ROUND_RESTORE_FE_TONEAREST): Likewise.
56518         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
56519         (ROUND_RESTORE_FE_UPWARD): Likewise.
56520         (RUN_TEST_LOOP_f_f): New macro.
56521         (acos_test_data): New variable.
56522         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
56523         (acos_tonearest_test_data): New variable.
56524         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
56526 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
56528         * benchtests/bench-skeleton.c (startup): Fix coding style.
56530 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
56532         [BZ #6809]
56533         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
56534         negative infinity argument.
56535         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
56536         negative infinity argument.
56537         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
56538         negative infinity argument.
56539         * math/libm-test.inc (tgamma_test): Expect errno to be set for
56540         domain errors.
56542 2013-05-10  Florian Weimer  <fweimer@redhat.com>
56544         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
56545         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
56546         * iconv/iconv_prog.c (main): Likewise.
56547         * locale/programs/charmap-dir.c (charmap_readdir)
56548         (fopen_uncompressed): Likewise.
56549         * locale/programs/locfile.c (siblings_uncached)
56550         (write_locale_data): Use lstat64 instead of lstat.
56551         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
56552         stat.
56554 2013-05-10  Andreas Jaeger  <aj@suse.de>
56556         [BZ #15395]
56557         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
56558         localization.
56559         Include <locale.h>.
56561 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
56563         * elf/dl-close.c (_dl_close_worker): Add comments.
56565 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
56567         [BZ #15359]
56568         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
56569         high part of pi/2.
56570         (__ieee754_rem_pio2l): Update comments.
56572         [BZ #15429]
56573         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
56574         high part of pi/2.
56575         (__ieee754_rem_pio2l): Update comments.
56577         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
56578         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
56580         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
56581         M_PI_4l.
56583         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
56584         (M_PI_34_LOG10El): Likewise.
56585         (M_PI2_LOG10El): Likewise.
56586         (M_PI4_LOG10El): Likewise.
56587         (M_PI_LOG10El): Likewise.
56589 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56593 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
56595         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
56596         (MINUS_ZERO_INIT): Likewise.
56597         (PLUS_INFTY_INIT): Likewise.
56598         (MINUS_INFTY_INIT): Likewise.
56599         (QNAN_VALUE_INIT): Likewise.
56600         (MAX_VALUE_INIT): Likewise.
56601         (MIN_VALUE_INIT): Likewise.
56602         (MIN_SUBNORM_VALUE_INIT): Likewise.
56603         (plus_zero): Initialize with PLUS_ZERO_INIT.
56604         (minus_zero): Initialize with MINUS_ZERO_INIT.
56605         (plus_infty): Initialize with PLUS_INFTY_INIT.
56606         (minus_infty): Initialize with MINUS_INFTY_INIT.
56607         (qnan_value): Initialize with QNAN_VALUE_INIT.
56608         (max_value): Initialize with MAX_VALUE_INIT.
56609         (min_value): Initialize with MIN_VALUE_INIT.
56610         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
56612         * math/libm-test.inc (RUN_TEST_if_f): New macro.
56613         (jn_test): Use TEST_if_f instead of TEST_ff_f.
56614         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
56615         (yn_test): Use TEST_if_f instead of TEST_ff_f.
56617         * math/libm-test.inc (RUN_TEST_f_f): New macro.
56618         (RUN_TEST_2_f): Likewise.
56619         (RUN_TEST_ff_f): Likewise.
56620         (RUN_TEST_fi_f): Likewise.
56621         (RUN_TEST_fl_f): Likewise.
56622         (RUN_TEST_fff_f): Likewise.
56623         (RUN_TEST_c_f): Likewise.
56624         (RUN_TEST_f_f1): Likewise.
56625         (RUN_TEST_fF_f1): Likewise.
56626         (RUN_TEST_fI_f1): Likewise.
56627         (RUN_TEST_ffI_f1): Likewise.
56628         (RUN_TEST_c_c): Likewise.
56629         (RUN_TEST_cc_c): Likewise.
56630         (RUN_TEST_f_i): Likewise.
56631         (RUN_TEST_f_i_tg): Likewise.
56632         (RUN_TEST_ff_i_tg): Likewise.
56633         (RUN_TEST_f_b): Likewise.
56634         (RUN_TEST_f_b_tg): Likewise.
56635         (RUN_TEST_f_l): Likewise.
56636         (RUN_TEST_f_L): Likewise.
56637         (RUN_TEST_sincos): Likewise.
56638         * math/gen-libm-test.pl (new_test): Take new argument to indicate
56639         whether to show exceptions.  Do not include ");\n" in return
56640         value.
56641         (special_functions): Output call to RUN_TEST_sincos instead of
56642         check_float calls.  Update calls to new_test.
56643         (parse_args): Output call to single RUN_TEST_* macro instead of
56644         check_* calls and other assignments.  Update calls to new_test.
56646         [BZ #2546]
56647         [BZ #2560]
56648         [BZ #5159]
56649         [BZ #15426]
56650         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
56651         input to result for tgamma overflow.
56652         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
56653         (gamma_coeff): New variable.
56654         (NCOEFF): New macro.
56655         (gamma_positive): New function.
56656         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
56657         underflow here.  Use gamma_positive instead of exp (lgamma) for
56658         other arguments.
56659         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
56660         (gamma_coeff): New variable.
56661         (NCOEFF): New macro.
56662         (gammaf_positive): New function.
56663         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
56664         underflow here.  Use gamma_positive instead of exp (lgamma) for
56665         other arguments.
56666         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
56667         (gamma_coeff): New variable.
56668         (NCOEFF): New macro.
56669         (gammal_positive): New function.
56670         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
56671         underflow here.  Use gamma_positive instead of exp (lgamma) for
56672         other arguments.
56673         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
56674         (gamma_coeff): New variable.
56675         (NCOEFF): New macro.
56676         (gammal_positive): New function.
56677         (__ieee754_gammal_r): Handle positive infinity, overflow and
56678         underflow here.  Handle NaN the same as positive infinity.  Remove
56679         check x < 0xffffffff for negative integers.  Use gamma_positive
56680         instead of exp (lgamma) for other arguments.
56681         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
56682         (gamma_coeff): New variable.
56683         (NCOEFF): New macro.
56684         (gammal_positive): New function.
56685         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
56686         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
56687         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
56688         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
56689         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
56690         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
56691         * sysdeps/generic/math_private.h (__gamma_productf): New
56692         prototype.
56693         (__gamma_product): Likewise.
56694         (__gamma_productl): Likewise.
56695         * math/Makefile (libm-calls): Add gamma_product.
56696         * math/libm-test.inc (tgamma_test): Add more tests.
56697         * sysdeps/i386/fpu/libm-test-ulps: Update.
56698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56700 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
56702         * benchtests/bench-skeleton.c (main): Preheat CPU.
56704 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
56706         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
56708 2013-05-07  Roland McGrath  <roland@hack.frob.com>
56710         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
56711         and _dl_skip_args_internal.
56713 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
56715         * manual/message.texi (Message Translation): Talk about users.
56716         Message to key mapping impacts design.
56718 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56720         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
56722         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
56724         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
56725         * sysdeps/wordsize-64/glob64.c: ... here.
56727         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
56728         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
56729         New macros.
56731         * debug/getlogin_r_chk.c: Moved to ...
56732         * login/getlogin_r_chk.c: ... here.
56733         * debug/Makefile (routines): Move getlogin_r_chk to ...
56734         * login/Makefile (routines): ... here.
56735         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
56736         * login/Versions (libc: GLIBC_2.4): ... here.
56738         * io/poll.c (__poll): Renamed from poll.
56739         Add libc_hidden_def.
56740         (poll): Define as weak alias.
56742         * debug/ptsname_r_chk.c: Moved to ...
56743         * login/ptsname_r_chk.c: ... here.
56744         * debug/Makefile (routines): Move ptsname_r_chk to ...
56745         * login/Makefile (routines): ... here.
56746         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
56747         * login/Versions (libc: GLIBC_2.4): ... here.
56749         * posix/getlogin.c: Moved to ...
56750         * login/getlogin.c: ... here.
56751         * posix/getlogin_r.c: Moved to ...
56752         * login/getlogin_r.c: ... here.
56753         * posix/getlogin_r.c: Moved to ...
56754         * login/getlogin_r.c: ... here.
56755         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
56756         * login/Makefile (routines): ... here.
56757         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
56758         * login/Versions (libc: GLIBC_2.0): ... here.
56760         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
56761         (setrlimit): Define as weak alias.
56763         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
56764         Call __ names for open, ftruncate, and close.
56765         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
56766         (truncate): Define as weak alias.
56768 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
56770         * math/gen-libm-test.pl (parse_args): Initialize x before each
56771         test of frexp, modf and remquo.
56773         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
56774         test signgam value.
56776 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56778         [BZ #15418]
56779         [BZ #15419]
56780         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
56781         internal tests.
56782         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56784 2013-05-06  Roland McGrath  <roland@hack.frob.com>
56786         * elf/dl-writev.h: New file.
56787         * elf/dl-misc.c: Include it.
56788         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
56789         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
56791 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
56793         * math/libm-test.inc (noXFails): Remove variable.
56794         (noXPasses): Likewise.
56795         (BUILD_COMPLEX_INT): Remove macro.
56796         (print_screen): Remove xfail argument.
56797         (print_screen_max_error): Likewise.
56798         (update_stats): Likewise.
56799         (print_max_error): Likewise.  Update calls to other affected
56800         functions.
56801         (print_complex_max_error): Likewise.
56802         (test_single_exception): Update calls to print_screen.
56803         (test_single_errno): Likewise.
56804         (check_float_internal): Remove xfail argument.  Update calls to
56805         other affected functions.
56806         (check_float): Likewise.
56807         (check_complex): Likewise.
56808         (check_int): Likewise.
56809         (check_long): Likewise.
56810         (check_bool): Likewise.
56811         (check_longlong): Likewise.
56812         (main): Don't print noXFails and noXPasses.
56813         * math/gen-libm-test.pl (top level): Don't mention expected
56814         failure handling in comment.
56815         (new_test): Don't handle expected failures.
56816         (parse_args): Don't mention expected failure handling in comment.
56817         (generate_testfile): Don't handle expected failures.
56818         (parse_ulps): Likewise.
56819         (print_ulps_file): Likewise.
56820         (get_failure): Remove function.
56821         (output_test): Don't handle expected failures.
56822         * make/README.libm-test: Don't mention expected failure handling.
56824         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
56825         (minus_zero): Likewise.
56826         (plus_infty): Likewise.
56827         (minus_infty): Likewise.
56828         (qnan_value): Likewise.
56829         (max_value): Likewise.
56830         (min_value): Likewise.
56831         (min_subnorm_value): Likewise.
56832         (initialize): Do not initialize those variables dynamically.
56834 2013-05-03  Roland McGrath  <roland@hack.frob.com>
56836         * io/open.c (__open_2): Moved to ...
56837         * io/open_2.c: ... this new file.
56838         * io/open64.c (__open64_2): Moved to ...
56839         * io/open64_2.c: ... this new file.
56840         * io/openat.c (__openat_2): Moved to ...
56841         * io/openat_2.c: ... this new file.
56842         * io/openat64.c (__openat64_2): Moved to ...
56843         * io/openat64_2.c: ... this new file.
56844         * io/Makefile (routines): Add them.
56845         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
56846         * sysdeps/unix/sysv/linux/open_2.c: File removed.
56847         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
56848         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
56849         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
56850         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
56851         (__openat64): Add hidden_ver.
56852         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
56853         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
56855         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
56856         Separately conditionalize setting of GLRO(dl_sysinfo) so
56857         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
56858         as well, but the actual setting is only under [NEED_DL_SYSINFO].
56860 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56862         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
56863         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
56864         definition.
56865         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
56866         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56867         (_libc_vdso_platform_setup): Add __vdso_time initialization.
56868         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
56869         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
56871 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
56873         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
56874         test signgam value.
56876         * math/libm-test.inc (hypot_test): Do not use
56877         IGNORE_ZERO_INF_SIGN.
56879 2013-05-03  Andreas Jaeger  <aj@suse.de>
56881         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
56882         Linux 3.9.
56883         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
56884         (PF_MAX): Adjust for VSOCK change.
56886 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56890 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
56892         [BZ #15264]
56893         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
56894         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
56895         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
56897 2013-05-02  David S. Miller  <davem@davemloft.net>
56899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56901 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
56903         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
56905 2013-05-01  Roland McGrath  <roland@hack.frob.com>
56907         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
56909 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
56911         [BZ #14952]
56912         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
56913         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56914         Use __attribute__ ((__gnu_inline__)).
56915         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
56916         Don't use __attribute__ ((__gnu_inline__)).
56918 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
56920         [BZ #15423]
56921         * math/s_catan.c (__catan): Handle small real or imaginary part of
56922         input specially to avoid spurious underflow.
56923         * math/s_catanf.c (__catanf): Likewise.
56924         * math/s_catanh.c (__catanh): Likewise.
56925         * math/s_catanhf.c (__catanhf): Likewise.
56926         * math/s_catanhl.c (__catanhl): Likewise.
56927         * math/s_catanl.c (__catanl): Likewise.
56928         * math/libm-test.inc (catan_test): Add more tests.
56929         (catanh_test): Likewise.
56930         * sysdeps/i386/fpu/libm-test-ulps: Update.
56931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56933 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56935         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56937 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
56939         [BZ #15416]
56940         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
56941         accurately for denominator in atan2.
56942         * math/s_catanf.c (__catanf): Likewise.
56943         * math/s_catanh.c (__catanh): Likewise.
56944         * math/s_catanhf.c (__catanhf): Likewise.
56945         * math/s_catanhl.c (__catanhl): Likewise.
56946         * math/s_catanl.c (__catanl): Likewise.
56947         * math/libm-test.inc (catan_test): Add more tests.
56948         (catanh_test): Likewise.
56949         * sysdeps/i386/fpu/libm-test-ulps: Update.
56950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56952 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56954         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
56956         * benchtests/Makefile (bench): Remove slow benchmarks.
56957         * benchtests/atan-inputs: Add slow benchmark inputs.
56958         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
56959         (BENCH_FUNC): Accept variant offset.
56960         (VARIANT): Define.
56961         * benchtests/bench-skeleton.c (main): Run benchmark for each
56962         variant.
56963         * benchtests/cos-inputs: Add slow benchmark inputs.
56964         * benchtests/exp-inputs: Likewise.
56965         * benchtests/pow-inputs: Likewise.
56966         * benchtests/sin-inputs: Likewise.
56967         * benchtests/slowatan-inputs: Remove.
56968         * benchtests/slowatan.c: Remove.
56969         * benchtests/slowcos-inputs: Remove.
56970         * benchtests/slowcos.c: Remove.
56971         * benchtests/slowexp-inputs: Remove.
56972         * benchtests/slowexp.c: Remove.
56973         * benchtests/slowpow-inputs: Remove.
56974         * benchtests/slowpow.c: Remove.
56975         * benchtests/slowsin-inputs: Remove.
56976         * benchtests/slowsin.c: Remove.
56977         * benchtests/slowtan-inputs: Remove.
56978         * benchtests/slowtan.c: Remove.
56979         * benchtests/tan-inputs: Add slow benchmark inputs.
56980         * scripts/bench.pl: Parse comments and directives.
56982         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
56983         in CPPFLAGS.
56984         ($(objpfx)bench-%.c): Remove *-ITER.
56985         * benchtests/bench-modf.c: Remove definition of ITER.
56986         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
56987         (main): Loop for DURATION seconds instead of fixed number of
56988         iterations.
56989         * scripts/bench.pl: Don't expect iterations in parameters.
56991 2013-04-29  Roland McGrath  <roland@hack.frob.com>
56993         * io/fchdir.c (__fchdir): Renamed from fchdir.
56994         (fchdir): Define as weak alias.
56996 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
56998         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
56999         (ERRNO_EDOM): Likewise.
57000         (ERRNO_ERANGE): Likewise.
57001         (noErrnoTests): New variable.
57002         (init_max_error): Set errno to 0.
57003         (test_single_errno): New function.
57004         (test_errno): Likewise.
57005         (check_float_internal): Call test_errno.  Set errno to 0.
57006         (check_complex): Refer to errno tests in comment.
57007         (check_int): Call test_errno.  Set errno to 0.
57008         (check_long): Likewise.
57009         (check_bool): Likewise.
57010         (check_longlong): Likewise.
57011         (cos_test): Use ERRNO_* flags for errno tests instead of
57012         check_int.
57013         (expm1_test): Likewise.
57014         (fmod_test): Likewise.
57015         (ilogb_test): Likewise.
57016         (lgamma_test): Likewise.
57017         (pow_test): Likewise.
57018         (remainder_test): Likewise.
57019         (sin_test): Likewise.
57020         (tan_test): Likewise.
57021         (yn_test): Likewise.
57022         (initialize): Set errno to 0.
57023         (main): Print number of errno tests.
57024         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57026 2013-04-29  Andreas Jaeger  <aj@suse.de>
57028         [BZ #15084]
57029         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57030         and RES_USEVC.
57032         [BZ #15085]
57033         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57034         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57035         unimplemented.
57037         [BZ #15380]
57038         * stdlib/random.c (__initstate): Return NULL if
57039         __initstate fails.
57041         [BZ #15086]
57042         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57043         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57044         RES_SNGLKUPREOP.
57046 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57050 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57052         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57053         of individual tests.
57054         (casin_test): Likewise.
57055         (casinh_test): Likewise.
57057 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57059         [BZ #15409]
57060         * math/s_catan.c (__catan): Handle arguments with large real or
57061         imaginary part separately without squaring.
57062         * math/s_catanf.c (__catanf): Likewise.
57063         * math/s_catanh.c (__catanh): Likewise.
57064         * math/s_catanhf.c (__catanhf): Likewise.
57065         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57066         and redefine.
57067         (__catanhl): Handle arguments with large real or imaginary part
57068         separately without squaring.
57069         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57070         and redefine.
57071         (__catanl): Handle arguments with large real or imaginary part
57072         separately without squaring.
57073         * math/libm-test.inc (catan_test): Add more tests.
57074         (catanh_test): Likewise.
57075         * sysdeps/i386/fpu/libm-test-ulps: Update.
57076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57078 2013-04-27  Andreas Jaeger  <aj@suse.de>
57080         [BZ #15007]
57081         * stdlib/stdlib.h: Update guards for qecvt.
57082         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57083         <stdlib.h>.
57085 2013-04-27  Allan McRae  <allan@archlinux.org>
57087         * sysdeps/i386/fpu/libm-test-ulps: Update.
57089 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57091         [BZ #15406]
57092         * math/s_catan.c: Include <float.h>.
57093         (__catan): Ensure underflow exception occurs for underflowed
57094         result.
57095         * math/s_catanf.c: Include <float.h>.
57096         (__catanf): Ensure underflow exception occurs for underflowed
57097         result.
57098         * math/s_catanh.c: Include <float.h>.
57099         (__catanh): Ensure underflow exception occurs for underflowed
57100         result.
57101         * math/s_catanhf.c: Include <float.h>.
57102         (__catanhf): Ensure underflow exception occurs for underflowed
57103         result.
57104         * math/s_catanhl.c: Include <float.h>.
57105         (__catanhl): Ensure underflow exception occurs for underflowed
57106         result.
57107         * math/s_catanl.c: Include <float.h>.
57108         (__catanl): Ensure underflow exception occurs for underflowed
57109         result.
57110         * math/libm-test.inc (catan_test): Add more tests.
57111         (catanh_test): Likewise.
57113         [BZ #15405]
57114         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57115         underflowed result.
57116         * math/s_ccoshf.c (__ccoshf): Likewise.
57117         * math/s_ccoshl.c (__ccoshl): Likewise.
57118         * math/s_csin.c (__csin): Likewise.
57119         * math/s_csinf.c (__csinf): Likewise.
57120         * math/s_csinh.c (__csinh): Likewise.
57121         * math/s_csinhf.c (__csinhf): Likewise.
57122         * math/s_csinhl.c (__csinhl): Likewise.
57123         * math/s_csinl.c (__csinl): Likewise.
57124         * math/libm-test.inc (ccos_test): Add more tests.
57125         (ccosh_test): Likewise.
57126         (csin_test): Likewise.
57127         (csinh_test): Likewise.
57129 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57131         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57132         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57133         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57134         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
57135         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
57136         powerpc/power5+/fpu folders.
57137         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
57140 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
57142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57144 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
57146         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
57147         additions to variable.
57148         [$(config-machine) = x86_64] (modules-names): Likewise.
57149         ($(objpfx)tst-audit3): Remove dependency.
57150         ($(objpfx)tst-audit3.out): Likewise.
57151         ($(objpfx)tst-audit4): Likewise.
57152         ($(objpfx)tst-audit4.out): Likewise.
57153         ($(objpfx)tst-audit5): Likewise.
57154         ($(objpfx)tst-audit5.out): Likewise.
57155         ($(objpfx)tst-audit6): Likewise.
57156         ($(objpfx)tst-audit6.out): Likewise.
57157         ($(objpfx)tst-audit7): Likewise.
57158         ($(objpfx)tst-audit7.out): Likewise.
57159         (tst-audit3-ENV): Remove variable.
57160         (tst-audit4-ENV): Likewise.
57161         (tst-audit5-ENV): Likewise.
57162         (tst-audit6-ENV): Likewise.
57163         (tst-audit7-ENV): Likewise.
57164         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
57165         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
57166         addition to variable.
57167         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
57168         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
57169         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
57170         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
57171         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
57172         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
57173         tst-audit3, tst-audit4 and tst-audit5.
57174         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
57175         tst-audit6 and tst-audit7.
57176         [$(subdir) = elf] (modules-names): Add audit modules for those
57177         tests.
57178         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
57179         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
57180         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
57181         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
57182         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
57183         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
57184         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
57185         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
57186         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
57187         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
57188         [$(subdir) = elf] (tst-audit3-ENV): New variable.
57189         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
57190         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
57191         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
57192         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
57193         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
57194         Likewise.
57195         [$(subdir) = elf && $(config-cflags-avx) = yes]
57196         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
57197         [$(subdir) = elf && $(config-cflags-avx) = yes]
57198         (CFLAGS-tst-auditmod4a.c): Likewise.
57199         [$(subdir) = elf && $(config-cflags-avx) = yes]
57200         (CFLAGS-tst-auditmod4b.c): Likewise.
57201         [$(subdir) = elf && $(config-cflags-avx) = yes]
57202         (CFLAGS-tst-auditmod6b.c): Likewise.
57203         [$(subdir) = elf && $(config-cflags-avx) = yes]
57204         (CFLAGS-tst-auditmod6c.c): Likewise.
57205         [$(subdir) = elf && $(config-cflags-avx) = yes]
57206         (CFLAGS-tst-auditmod7b.c): Likewise.
57207         * elf/tst-audit3.c: Move to ...
57208         * sysdeps/x86_64/tst-audit3.c: ... here.
57209         * elf/tst-audit4.c: Move to ...
57210         * sysdeps/x86_64/tst-audit4.c: ... here.
57211         * elf/tst-audit5.c: Move to ...
57212         * sysdeps/x86_64/tst-audit5.c: ... here.
57213         * elf/tst-audit6.c: Move to ...
57214         * sysdeps/x86_64/tst-audit6.c: ... here.
57215         * elf/tst-audit7.c: Move to ...
57216         * sysdeps/x86_64/tst-audit7.c: ... here.
57217         * elf/tst-auditmod3a.c: Move to ...
57218         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
57219         * elf/tst-auditmod3b.c: Move to ...
57220         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
57221         * elf/tst-auditmod4a.c: Move to ...
57222         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
57223         * elf/tst-auditmod4b.c: Move to ...
57224         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
57225         * elf/tst-auditmod5a.c: Move to ...
57226         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
57227         * elf/tst-auditmod5b.c: Move to ...
57228         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
57229         * elf/tst-auditmod6a.c: Move to ...
57230         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
57231         * elf/tst-auditmod6b.c: Move to ...
57232         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
57233         * elf/tst-auditmod6c.c: Move to ...
57234         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
57235         * elf/tst-auditmod7a.c: Move to ...
57236         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
57237         * elf/tst-auditmod7b.c: Move to ...
57238         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
57240 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
57242         [BZ #15366]
57243         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
57244         define unconditionally.
57245         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
57246         define unconditionally.
57247         (INT8_C, INT16_C, etc.): Likewise.
57249 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
57251         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
57252         __ehdr_start with hidden visibility.
57254         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
57256 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
57258         * math/libm-test.inc (cos_test): Use accurate hex constants.
57259         (sincost_test): Likewise.
57261 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
57263         * math/libm-test.inc (catan_test): Add more tests.
57264         (catanh_test): Likewise.
57266         * math/s_catanf.c (__catanf): Use suffixed floating-point
57267         constants.
57268         * math/s_catanhf.c (__catanhf): Likewise.
57269         * math/s_catanhl.c (__catanhl): Likewise.
57270         * math/s_catanl.c (__catanl): Likewise.
57272         [BZ #15394]
57273         * math/s_catan.c (__catan): Calculate imaginary part of result
57274         with log1p not log unless computing log of number close to 0.
57275         * math/s_catanf.c (__catanf): Likewise.
57276         * math/s_catanl.c (__catanl): Likewise.
57277         * math/s_catanh.c (__catanh): Calculate real part of result with
57278         log1p not log unless computing log of number close to 0.
57279         * math/s_catanhf.c (__catanhf): Likewise.
57280         * math/s_catanhl.c (__catanhl): Likewise.
57281         * math/libm-test.inc (catan_test): Add more tests.
57282         (catanh_test): Likewise.
57283         * sysdeps/i386/fpu/libm-test-ulps: Update.
57284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57286 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57288         * benchtests/Makefile: Mention files in which fast and slow
57289         paths of math functions are implemented.
57291 2013-04-23  Roland McGrath  <roland@hack.frob.com>
57293         * sysdeps/posix/timespec_get.c: New file.
57295 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57297         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
57298         POWER.
57299         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
57300         for POWER.
57301         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
57302         powerpc/power5/fpu folders.
57303         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
57304         * benchtests/Makefile: Add modf testcase.
57305         * benchtests/bench-modf.c: New file: Benchmark test for mo
57307 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57309         [BZ #14888]
57310         * time/Makefile (tests): Add tst-strptime-whitespace.
57311         * time/strptime_l.c (get_number): Use ISSPACE.
57312         (__strptime_internal): Likewise.
57313         * time/tst-strptime-whitespace.c: New test case.
57315 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
57317         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
57318         member.
57319         (_nss_files_init): Set it here.
57321 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
57323         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
57324         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
57325         unsigned.
57327 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
57329         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
57331 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
57333         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
57334         size just once.
57336 2013-04-21  David S. Miller  <davem@davemloft.net>
57338         * po/ru.po: Update Russion translation from translation project.
57340 2013-04-17  Adam Conrad  <adconrad@0c3.net>
57342         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
57343         and setfsgid.
57345 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
57347         * configure.in: Remove i386 configure warning. Remove i386 case.
57348         * configure: Regenerate.
57349         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
57350         Add example to error message.
57351         * sysdeps/i386/configure: Regenerate.
57353 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57355         * benchtests/Makefile (bench): Add cos, tan, slowcos and
57356         slowtan.
57357         * benchtests/cos-inputs: New file.
57358         * benchtests/slowcos-inputs: New file.
57359         * benchtests/slowcos.c: New file.
57360         * benchtests/slowtan-inputs: New file.
57361         * benchtests/slowtan.c: New file.
57362         * benchtests/tan-inputs: New file.
57364 2013-04-16  Roland McGrath  <roland@hack.frob.com>
57366         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
57367         considered kosher.
57369 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57371         * benchtests/Makefile: Include cppflags-iterator.mk to add
57372         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
57374         * Makefile.in (bench-clean): New target.
57375         * benchtests/Makefile (bench-clean): Likewise.
57377 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
57379         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
57381 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
57383         * stdio-common/tstdiomisc.c: Fix coding-style violation.
57385 2013-04-15  Andreas Schwab  <schwab@suse.de>
57387         * nscd/grpcache.c (cache_addgr): Properly check for short write.
57388         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57389         * nscd/pwdcache.c (cache_addpw): Likewise.
57390         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
57391         more than recsize.
57393 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57395         * benchtests/Makefile (bench): Write all output to
57396         bench-out.tmp together.
57398 2013-04-15  Andreas Schwab  <schwab@suse.de>
57400         * nscd/nscd.c (main): Don't fork again after closing files.
57402 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57404         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
57406         * benchtests/Rules (bench-deps): Collect dependencies into a
57407         single variable.  Add Makefile to dependencies.
57408         ($(objpfx)bench-%.c): Depend on bench-deps.
57410 2013-04-12  Roland McGrath  <roland@hack.frob.com>
57411             Xavier Roche  <roche+kml2@exalead.com>
57413         [BZ #15361]
57414         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
57415         just that it's a file descriptor.
57416         * manual/llio.texi (Synchronizing AIO Operations): Update description
57417         for EBADF error from aio_fsync.
57419 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57421         * Rules (bench): Move target definition...
57422         * benchtests/Makefile: ... here.
57424 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
57426         * math/libm-test.inc (cos_test): Fix PI/2 test.
57427         (sincos_test): Likewise.
57428         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
57429         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
57431 2013-04-11  Andreas Schwab  <schwab@suse.de>
57433         [BZ #13988]
57434         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
57435         accept exponent character only when digits were seen.
57436         * stdio-common/Makefile (tests): Add bug26.
57437         * stdio-common/bug26.c: New file.
57439         [BZ #14293]
57440         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
57441         non-freeable.
57443 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57445         * Makeconfig (rtld-prefix): Define built linker prefix.
57446         * Rules (run-bench): Use it.
57447         * math/Makefile (run-regen-ulps): Likewise.
57449         * Rules (bench): Remove eval.
57451 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57452             Roland McGrath  <roland@hack.frob.com>
57453             Ondrej Bilka  <neleai@seznam.cz>
57455         [BZ #15346]
57456         * time/getdate.c: Include ctype.h and alloca.h.
57457         (__getdate_r): Trim leading and trailing spaces of input.
57458         * time/tst-getdate.c (tests): Add tests with leading and
57459         trailing spaces.
57461 2013-04-08  Roland McGrath  <roland@hack.frob.com>
57463         [BZ #14280]
57464         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
57465         when computing value.
57467 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57469         * math/README.libm-test (How can I generate "libm-test-ulps"?):
57470         Use testrun.sh to run libm tests.
57472         [BZ #15309]
57473         * elf/dl-open.c (dl_open_worker): memset all of seen array.
57475 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
57477         [BZ #15264]
57478         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
57480 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57482         * Makefile.in (regen-ulps): New target.
57483         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
57484         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
57485         [ifneq (no,$(PERL)] (regen-ulps): New target.
57486         [ifeq (no,$(PERL)] (regen-ulps): New target.
57487         * math/libm-test.inc (ulps_file_name): Define.
57488         (output_dir): New variable.
57489         (options): Add "output-dir" option.
57490         (parse_opt): Handle 'o' case.
57491         (main): If output_dir is non-NULL use it as a prefix
57492         otherwise use "".
57493         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
57495 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57497         [BZ #10060, #10062]
57498         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
57499         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
57500         fail configure if __sync_val_compare_and_swap is not inlined.
57501         * sysdeps/i386/configure: Regenerate.
57502         * configure.in: Build for i686 when configured for i386.
57503         * configure: Regenerate.
57504         * README: Remove i386 reference.
57506 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
57508         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
57509         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57511 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
57513         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
57514         (lmsnanval): New variables.
57515         (F): Add conversion tests.
57516         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57517         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
57519         * stdio-common/tstdiomisc.c (F): Properly collect individual
57520         tests' results.
57522         [BZ #14686, #15336]
57523         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
57524         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
57525         Instead, use input NaN values or generate a qNaN by arithmetic
57526         operation.  Also fix bugs to comply with the standard.
57527         * math/libm-test.inc (remainder_test): Add more tests.
57529         [BZ #15335, #15342]
57530         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
57531         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
57532         input NaN values or generate a qNaN by arithmetic operation.
57534         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
57535         unreachable code.
57537         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
57538         definitions.
57540 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
57542         [BZ #14478]
57543         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
57544         underflowed result.
57545         * math/s_cexpf.c (__cexpf): Likewise.
57546         * math/s_cexpl.c (__cexpl): Likewise.
57547         * math/libm-test.inc (cexp_test): Add more tests.
57549 2013-04-03  Andreas Schwab  <schwab@suse.de>
57551         [BZ #15330]
57552         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
57553         order arrays from heap if bigger than alloca cutoff.
57555 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
57557         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
57558         (SNAN_TESTS_double): Refer to GCC PR56831.
57559         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
57560         GCC PR56828.
57562 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57564         * Rules (bench): Move bench.out after the run is complete.
57566         * Rules (bench): Echo currently running benchmark.
57568         * benchtests/Makefile (bench): Add atan and slowatan.
57569         * benchtests/atan-inputs: New file.
57570         * benchtests/slowatan-inputs: New file.
57571         * benchtests/slowatan.c: New file.
57573         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
57574         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
57575         its value.
57577         [BZ #15305]
57578         * sysdeps/unix/sysv/linux/kernel-features.h
57579         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
57580         __ASSUME_XFS_RESTRICTED_CHOWN.
57581         * sysdeps/unix/sysv/linux/pathconf.c
57582         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
57583         Save and restore errno.
57585 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
57587         [BZ #15327]
57588         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
57589         arguments using __kernel_casinh.
57590         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
57591         arguments using __kernel_casinhf.
57592         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
57593         arguments using __kernel_casinhl.
57594         * math/libm-test.inc (cacosh_test): Add more tests.
57595         * sysdeps/i386/fpu/libm-test-ulps: Update.
57596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57598 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57600         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
57601         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
57603         * bench/Makefile (bench): Add sin and slowsin.
57604         * benchtests/sin-inputs: New file.
57605         * benchtests/slowsin-inputs: New file.
57606         * benchtests/slowsin.c: New file.
57608         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
57609         (bench): Add slowexp and slowpow.
57610         (exp-ITER): Increase iterations.
57611         (pow-ITER): Likewise.
57612         * benchtests/exp-inputs: Change input.
57613         * benchtests/pow-inputs: Likewise.
57614         * benchtests/slowexp-inputs: New file.
57615         * benchtests/slowexp.c: New file.
57616         * benchtests/slowpow-inputs: New file.
57617         * benchtests/slowpow.c: New file.
57619 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57621         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
57622         instructions.
57623         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
57624         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
57625         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57626         * benchtests/Makefile: Add rint benchtest.
57627         * benchtests/rint-inputs: Input for rint benchtest.
57629 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
57631         * Versions.def (libm): Add GLIBC_2.18.
57632         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
57633         hidden libm prototypes.
57634         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
57635         * math/Makefile (libm-calls): Add s_issignaling.
57636         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
57637         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
57638         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
57639         declaration.
57640         * math/math.h [__USE_GNU] (issignaling): New macro.
57641         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
57642         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
57643         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
57644         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
57645         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
57646         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
57647         * manual/arith.texi (issignaling): New section.
57648         * manual/libm-err-tab.pl (@all_functions): Update comment.
57649         * math/gen-libm-test.pl (parse_args): Apply special handling for
57650         issignaling.
57651         * math/libm-test.inc (print_float, issignaling_test): New
57652         functions.
57653         (check_float_internal): Add issignaling checks.
57654         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
57655         default definition.
57656         * sysdeps/powerpc/math-tests.h: New file.
57657         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
57658         tests.
57659         * math/test-snan.c (TEST_FUNC): Likewise.
57661 2013-03-30  David S. Miller  <davem@davemloft.net>
57663         * po/de.po: Update from translation team.
57665 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
57667         [BZ #10357]
57668         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57669         imaginary part less than 1.0 and real part less than 0.5
57670         specially.
57671         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57672         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57673         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
57674         (cacos_test): Add more tests.
57675         (casin_test): Likewise.
57676         (casinh_test): Likewise.
57677         * sysdeps/i386/fpu/libm-test-ulps: Update.
57678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57680 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57682         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
57683         ONE with its value.
57685         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
57686         (__pow_mp): Replace ONE and MONE with their values.
57687         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57688         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
57689         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57690         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
57691         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57692         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57694         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
57696         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
57697         (__pow_mp): Replace ZERO and MZERO with their values.
57698         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57699         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57700         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
57701         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
57702         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57703         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
57704         (__sqr): Likewise.
57706         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
57708         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
57710 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57712         * include/stdlib.h [!SHARED] (__call_tls_dtors):
57713         Declare with __attribute__ ((weak)).
57714         * stdlib/exit.c (__libc_atexit) [!SHARED]:
57715         Call __call_tls_dtors only if it's not NULL.
57717 2013-03-28  Roland McGrath  <roland@hack.frob.com>
57719         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
57720         didn't do it already, then set _dl_phdr and _dl_phnum based on the
57721         magic __ehdr_start linker symbol if it's defined.
57722         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
57723         them up here if it was already done.
57725         * elf/dl-support.c (_dl_phdr): Make pointer to const.
57726         (_dl_aux_init): Use const in cast when setting it.
57727         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
57728         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
57729         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
57731         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
57732         Declare them here.
57733         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
57734         * csu/libc-tls.c: Nor here.
57735         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57737         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
57738         (__libc_message): Never call vsyslog.
57740 2013-03-28  Alan Modra  <amodra@gmail.com>
57742         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
57743         Define as empty.
57744         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
57745         Likewise.
57747 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57749         [BZ #15214]
57750         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
57751         underflow.
57752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57754 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57756         [BZ #15304]
57757         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57758         Don't add gid passed as argument.
57760         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
57762 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
57764         [BZ #15307]
57765         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57766         imaginary part between 1.0 and 1.5 and real part less than 0.5
57767         specially.
57768         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57769         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57770         * math/libm-test.inc (cacos_test): Add more tests.
57771         (casin_test): Likewise.
57772         (casinh_test): Likewise.
57773         * sysdeps/i386/fpu/libm-test-ulps: Update.
57774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57776 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57778         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
57779         constants.
57780         (norm): Likewise.
57781         (denorm): Likewise.
57782         (__dbl_mp): Likewise.
57783         (add_magnitudes): Likewise.
57784         (sub_magnitudes): Likewise.
57785         (__add): Likewise.
57786         (__sub): Likewise.
57787         (__mul): Likewise.
57788         (__sqr): Likewise.
57789         (__inv): Likewise.
57790         (__dvd): Likewise.
57792         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
57793         commented code.
57794         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
57795         (__dubcos): Likewise.
57796         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
57797         (__ieee754_acos): Likewise.
57798         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
57799         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
57800         (__exp1): Likewise.
57801         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57802         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
57803         (log1): Likewise.
57804         (my_log2): Likewise.
57805         (checkint): Likewise.
57806         * sysdeps/ieee754/dbl-64/e_remainder.c
57807         (__ieee754_remainder): Likewise.
57808         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
57809         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
57810         (bsloww): Likewise.
57811         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
57813         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
57814         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
57815         MANTISSA_STORE_T to store computations on mantissa.  Use
57816         macros for rounding and division.
57817         (denorm): Likewise.
57818         (__dbl_mp): Likewise.
57819         (add_magnitudes): Likewise.
57820         (sub_magnitudes): Likewise.
57821         (__mul): Likewise.
57822         (__sqr): Likewise.
57823         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
57824         powers of two in terms of TWOPOW macro.
57825         (mp_no): Make type of mantissa as MANTISSA_T.
57826         [!RADIXI]: Define RADIXI.
57827         [!TWO52]: Define TWO52.
57828         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
57830 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57832         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
57833         llroundl symbol when building for PPC32.
57835 2013-03-24  Mark H Weaver  <mhw@netris.org>
57837         * manual/arith.texi (Normalization Functions): Fix prototypes for
57838         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
57840 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57842         [BZ #13889]
57843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
57844         high value to check if expl overflow.
57845         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
57846         to check for underflow and overflow.
57847         * math/libm-test.inc: Add exp test.
57849 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
57851         [BZ #11120]
57852         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
57853         with NOT_IN_libc.
57855 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57857         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
57858         symbol.
57860 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
57862         * math/gen-libm-test.pl (parse_args, special_functions): Properly
57863         wrap blocks consisting of several statements.
57865         * sysdeps/generic/math-tests.h: New file.
57866         * sysdeps/i386/fpu/math-tests.h: Likewise.
57867         * math/test-snan.c: Include it.
57868         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
57870 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57872         [BZ #15285]
57873         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
57874         (__ieee754_j0l): Do not improve calculations using cos of twice
57875         input for inputs above LDBL_MAX / 2.0L.
57876         (__ieee754_y0l): Likewise.
57877         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
57878         (__ieee754_j1l): Do not improve calculations using cos of twice
57879         input for inputs above LDBL_MAX / 2.0L.
57880         (__ieee754_y1l): Likewise.
57881         * math/libm-test.inc (j0_test): Add another test.
57882         (j1_test): Likewise.
57883         (y0_test): Likewise.
57884         (y1_test): Likewise.
57885         * sysdeps/i386/fpu/libm-test-ulps: Update.
57887 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57889         * Rules ($(objpfx)bench-%.c): Include code from a C source
57890         file.
57892 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
57894         [BZ #15287]
57895         * math/k_casinh.c (__kernel_casinh): Handle arguments with
57896         imaginary part 1.0 and real part less than 0.5 specially.
57897         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57898         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57899         * math/libm-test.inc (cacos_test): Add more tests.
57900         (casin_test): Likewise.
57901         (casinh_test): Likewise.
57902         * sysdeps/i386/fpu/libm-test-ulps: Update.
57903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57905 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57907         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
57908         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
57910 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
57912         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
57913         * config.make.in (config-cflags-sse4): Remove variable.
57914         (config-cflags-avx): Likewise.
57915         (config-cflags-sse2avx): Likewise.
57916         (config-cflags-novzeroupper): Likewise.
57917         (config-asflags-i686): Likewise.
57918         (have-mfma4): Likewise.
57919         (have-as-vis3): Likewise.
57920         (MIG): Likewise.
57921         * configure.in (MIG): Do not AC_SUBST.
57922         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
57923         (libc_cv_cc_sse4): Do not AC_SUBST.
57924         (libc_cv_cc_avx): Likewise.
57925         (libc_cv_cc_sse2avx): Likewise.
57926         (libc_cv_cc_novzeroupper): Likewise.
57927         (libc_cv_cc_fma4): Likewise.
57928         (libc_cv_as_i686): Likewise.
57929         (libc_cv_sparc_as_vis3): Likewise.
57930         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
57931         LIBC_CONFIG_VAR.
57932         (config-asflags-i686): Likewise.
57933         (config-cflags-avx): Likewise.
57934         (config-cflags-sse2avx): Likewise.
57935         (have-mfma4): Likewise.
57936         (config-cflags-novzeroupper): Likewise.
57937         * sysdeps/mach/configure.in (MIG): Likewise.
57938         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
57939         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
57940         LIBC_CONFIG_VAR.
57941         (config-cflags-avx): Likewise.
57942         (config-cflags-sse2avx): Likewise.
57943         (have-mfma4): Likewise.
57944         (config-cflags-novzeroupper): Likewise.
57945         * configure: Regenerated.
57946         * sysdeps/i386/configure: Likewise.
57947         * sysdeps/mach/configure: Likewise.
57948         * sysdeps/sparc/configure: Likewise.
57949         * sysdeps/x86_64/configure: Likewise.
57951 2013-03-20  Roland McGrath  <roland@hack.frob.com>
57953         [BZ #14812]
57954         * locale/programs/localedef.c (options): Put N_ translation marker
57955         on argument names, not just descriptions.
57957 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57959         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
57961 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
57963         [BZ #14176]
57964         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
57966 2013-03-19  Roland McGrath  <roland@hack.frob.com>
57968         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
57969         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
57970         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
57971         [!BEFORE_ABORT] (before_abort): New function.
57972         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
57973         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
57974         (writev_for_fatal): New function.
57975         (WRITEV_FOR_FATAL): New macro; call that.
57976         (backtrace_and_maps): New function.
57977         (BEFORE_ABORT): New macro; call that.
57978         (struct str_list): Type removed.
57979         (__libc_message, __libc_fatal): Functions removed.
57980         Include <sysdeps/posix/libc_fatal.c> instead.
57982 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
57984         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
57985         constants.
57986         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
57987         double constants.
57989 2013-03-19  Andreas Schwab  <schwab@suse.de>
57991         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
57992         * sysdeps/gnu/configure: Regenerate.
57994         * configure.in: Substitute libc_cv_rtlddir.
57995         * configure: Regenerate.
57996         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
57997         * Makeconfig (rtlddir, inst_rtlddir): New variables.
57998         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
57999         * elf/Makefile (install-others, CFLAGS-interp.c)
58000         (ldso_install, common-ldd-rewrite): Likewise.
58001         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58002         $(inst_slibdir)/$(rtld-installed-name).
58003         * scripts/rellns-sh: Add -p option.
58004         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58005         for source.
58007 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58009         * manual/nptl.texi: Renamed to ...
58010         * manual/threads.texi: ... this.
58011         * manual/Makefile (chapters): Update.
58013 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58015         [BZ #14812]
58016         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58017         on argument names, not just descriptions.
58018         * malloc/memusagestat.c (options): Likewise.
58019         * nss/getent.c (options): Likewise.
58021 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58023         [BZ #14812]
58024         * iconv/iconv_prog.c (options): Put N_ translation marker
58025         on argument names, not just descriptions.
58026         * iconv/iconvconfig.c (options): Likewise.
58028 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58030         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58031         implementation which is faster on all x86_64 architectures.
58032         Tested on AMD, Intel Nehalem, SNB, IVB.
58033         * sysdeps/x86_64/strnlen.S: Likewise.
58035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58036         Remove all multiarch strlen and strnlen versions.
58037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58038         Remove strlen and strnlen related parts.
58040         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58041         Inline strlen part.
58042         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58044         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58045         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58046         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58047         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58048         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58049         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58051 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58053         * manual/memory.texi (Malloc Tunable Parameters):
58054         Sort parameters alphabetically. Add comments for missing entries.
58056 2013-03-17  David S. Miller  <davem@davemloft.net>
58058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58060 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58062         [BZ #15283]
58063         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58064         for arguments at most half maximum finite value.
58065         * math/libm-test.inc (j0_test): Add more tests.
58066         (j1_test): Likewise.
58067         (y0_test): Likewise.
58068         (y1_test): Likewise.
58069         * sysdeps/i386/fpu/libm-test-ulps: Update.
58070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58072         [BZ #14155]
58073         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58074         1 / x and functions P and Q for arguments above 0x1p256L.
58075         (__ieee754_y0l): Likewise.
58076         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58077         (__ieee754_y1l): Likewise.
58078         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58079         (j1_test): Likewise.
58080         (y0_test): Likewise.
58081         (y1_test): Likewise.
58083 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58085         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58086         variable.
58088 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58090         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58091         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58092         zero since it's initialized to EXEC_PAGESIZE.
58094         * sysdeps/unix/sysv/linux/ldsodefs.h
58095         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58096         * sysdeps/generic/ldsodefs.h: ... here.
58098 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58100         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58102         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58103         math/test-snan.c.
58104         * math/test-snan.c: Renamed from
58105         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58106         * math/Makefile (tests): Add test-snan.
58107         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58108         test-powerpc-snan.
58110         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58111         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58112         functions.
58113         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58114         __builtin_nan family of functions.
58115         * math/libm-test.inc (initialize): Initialize qnan_value with
58116         __builtin_nan family of functions.
58117         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58118         Remove variables.
58119         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58120         Remove functions.
58121         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58122         storage class.  Initialize qNaN_var and sNaN_var with
58123         __builtin_nan and __builtin_nans families of functions,
58124         respectively.
58126         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58127         (sqrt_test): Remove duplicate test with qNaN input.
58128         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58129         (round_test, signbit_test, significand_test): Note missing +/-Inf
58130         as well as qNaN tests.
58132         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58133         qNaN_var.  Fix a few strings, too.
58134         * math/libm-test.inc (nan_value): Rename to qnan_value.
58135         * math/gen-libm-test.pl (%beautify): Adjust to that.
58136         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
58137         * math/test-misc.c (main): Likewise.
58138         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
58139         to __qnan_bytes, and __qnan_union, respectively.
58140         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
58141         Likewise.
58142         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
58143         and lqnanval, respectively.
58144         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
58145         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
58146         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
58147         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
58149         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
58150         * math/test-misc.c (main) [__x86_64__]: Enable test for long
58151         doubles.
58153         * math/test-misc.c (main): Fix copy'n'pastos.
58154         * misc/tst-efgcvt.c (special): Likewise.
58156         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
58157         Remove declarations.
58159 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58161         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
58162         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
58163         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
58164         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
58166 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58168         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
58169         macro to return vdso values correctly in IFUNC implementations.
58170         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58171         Optimization by using IFUNC.
58173 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58174             Richard Henderson  <rth@redhat.com>
58175             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58177         * Makefile.in (bench): New target.
58178         * NEWS: Mention the benchmark framework.
58179         * Rules (bench): Likewise.
58180         (binaries-bench): Generate binaries for functions to
58181         benchmark.
58182         * benchtests/Makefile: New makefile for benchmark tests.
58183         * benchtests/bench-skeleton.c: New skeleton file for benchmark
58184         programs.
58185         * benchtests/exp-inputs: New input file for EXP function.
58186         * benchtests/pow-inputs: New input file for POW function.
58187         * scripts/bench.pl: New script to generate source files for
58188         benchmark programs.
58190 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58192         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58193         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
58194         computations on mantissa.  Use macros for rounding and
58195         division.
58196         (denorm): Likewise.
58197         (__dbl_mp): Likewise.
58198         (add_magnitudes): Likewise.
58199         (sub_magnitudes): Likewise.
58200         (__mul): Likewise.
58201         (__sqr): Likewise.
58202         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58203         powers of two in terms of TWOPOW macro.
58204         (mp_no): Make type of mantissa as MANTISSA_T.
58205         [!RADIXI]: Define RADIXI.
58206         [!TWO52]: Define TWO52.
58207         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58209         * manual/nptl.texi (cindex): Modify threads to pthreads.
58211 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
58213         * sysdeps/x86_64/preconfigure: Regenerated.
58215 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
58217         [BZ #14155]
58218         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
58219         0x1p28 and above.
58220         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
58221         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
58222         0x1p28 and above.
58223         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
58224         * math/libm-test.inc (j0_test): Do not allow one spurious
58225         underflow exception.
58226         (y1_test): Likewise.
58228 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58230         * manual/Makefile (chapters): Add nptl.
58231         * manual/debug.texi (Debugging Support): Add link to Threads
58232         chapter.
58233         * manual/nptl.texi: New file.
58235         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
58237 2013-03-14  Petr Baudis  <pasky@ucw.cz>
58239         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
58240         for non-NULL pointer before the memory validity test. Pointed
58241         out by Holger Brunck <holger.brunck@keymile.com>.
58243 2013-03-13  Andreas Schwab  <schwab@suse.de>
58245         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
58246         instead of .os.
58248 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
58250         * timezone/zic.c: Update from tzcode 2013b.
58252 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
58254         * manual/install.texi (Configuring and compiling):
58255         Mention i686 and i586.
58256         * INSTALL: Regenerate.
58258 2013-03-12  Roland McGrath  <roland@hack.frob.com>
58260         * sysdeps/init_array/elf-init.c: New file.
58261         * csu/elf-init.c
58262         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
58263         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
58265         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
58266         __gmon_start__ as global, but as static with a .preinit_array pointer.
58267         * sysdeps/init_array/gmon-start.c: New file.  Use that.
58268         * sysdeps/init_array/crti.S: New file, empty except for comments.
58269         * sysdeps/init_array/crtn.S: Likewise.
58271 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
58273         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
58274         definining bcopy.
58275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58276         Remove Prefer_SSE_for_memop.
58277         * sysdeps/x86_64/multiarch/init-arch.h: Remove
58278         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
58279         HAS_PREFER_SSE_FOR_MEMOP.
58280         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
58281         memset-x86-64.
58282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58283         Remove bzero, memset ifunc support.
58284         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
58285         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
58286         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58287         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58289 2013-03-11  Andreas Schwab  <schwab@suse.de>
58291         [BZ #15234]
58292         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
58293         by SHLIB_COMPAT.
58294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
58295         (GLIBC_2.16): Remove pthread_atfork.
58297 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
58299         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
58300         (ptestcases.h): Likewise.
58302 2013-03-08  Roland McGrath  <roland@hack.frob.com>
58304         * Makeconfig ($(common-objpfx)config.status): Depend on
58305         sysdeps/*/preconfigure{,.in} too.
58307 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
58309         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
58310         (__free_hook): Use void * instead of __malloc_ptr_t.
58311         (__malloc_hook): Likewise.
58312         (__realloc_hook): Likewise.
58313         (__memalign_hook): Likewise.
58314         (__after_morecore_hook): Likewise.
58315         * malloc/arena.c (save_malloc_hook): Likewise.
58316         (save_free_hook): Likewise.
58317         * malloc/hooks.c (malloc_hook_ini): Likewise.
58318         (realloc_hook_ini): Likewise.
58319         (memalign_hook_ini): Likewise.
58320         * malloc/malloc.c (malloc_hook_ini): Likewise.
58321         (realloc_hook_ini): Likewise.
58322         (memalign_hook_ini): Likewise.
58323         (__free_hook): Likewise.
58324         (__malloc_hook): Likewise.
58325         (__realloc_hook): Likewise.
58326         (__memalign_hook): Likewise.
58327         (__libc_malloc): Likewise.
58328         (__libc_free): Likewise.
58329         (__libc_realloc): Likewise.
58330         (__libc_memalign): Likewise.
58331         (__libc_valloc): Likewise.
58332         (__libc_pvalloc): Likewise.
58333         (__libc_calloc): Likewise.
58334         (__posix_memalign): Likewise.
58335         * malloc/morecore.c (__sbrk): Likewise.
58336         (__default_morecore): Likewise.
58338         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
58340         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
58341         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
58342         __malloc_ptrdiff_t.
58344         * malloc/malloc.h (__malloc_size_t): Remove macro.
58345         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
58346         __malloc_size_t.
58347         (old_memalign_hook): Likewise.
58348         (old_realloc_hook): Likewise.
58349         (struct hdr): Likewise.
58350         (flood): Likewise.
58351         (mallochook): Likewise.
58352         (memalignhook): Likewise.
58353         (reallochook): Likewise.
58354         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
58355         (tr_old_realloc_hook): Likewise.
58356         (tr_old_memalign_hook): Likewise.
58357         (tr_mallochook): Likewise.
58358         (tr_reallochook): Likewise.
58359         (tr_memalignhook): Likewise.
58361 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58363         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
58364         default_ldbl_pack and using as default implementation.
58365         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
58366         implementation.
58367         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
58368         redundant definition.
58369         (ldbl_insert_mantissa): Likewise.
58370         (ldbl_canonicalize): Likewise.
58371         (ldbl_nearbyint): Likewise.
58372         (ldbl_pack): Rename to ldbl_pack_ppc.
58373         (ldbl_unpack): Rename to ldbl_unpack_ppc.
58374         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
58375         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
58377 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
58380         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
58381         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
58382         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
58383         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
58384         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
58385         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
58386         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
58388 2013-03-07  Andreas Jaeger  <aj@suse.de>
58390         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58391         bits/mman-linux.h.
58393 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
58395         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
58396         Include mpa.h and declare __MPEXP.
58397         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
58398         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58399         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58400         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
58401         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58402         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
58403         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
58405         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
58406         (__slowpow): Use long double EXPL and LOGL functions to
58407         compute POW.
58408         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
58409         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58410         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
58411         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
58412         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
58413         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
58415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
58416         intermediate variable to calculate exponent.
58417         (__sqr): Likewise.
58418         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
58419         Likewise.
58420         (__sqr): Likewise.
58422         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
58423         [!NO__SQR]: Define __sqr.
58424         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
58425         and NO__SQR.  Remove all code except __mul and __sqr.  Include
58426         sysdeps/ieee754/dbl-64/mpa.c.
58427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58429         [BZ #12723]
58430         * posix/Makefile (tests): Add tst-pathconf.
58431         * posix/tst-pathconf.c: New test case.
58432         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
58433         _PC_PIPE_BUF.
58434         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
58436 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
58438         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
58440 2013-03-06  Andreas Jaeger  <aj@suse.de>
58442         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
58443         definition via __MAP_ANONYMOUS.
58445         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
58446         it's not part of Linux headers.
58448         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
58449         (MAP_HUGE_MASK): Define.
58451         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58452         Define.
58453         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58454         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58455         Define.
58456         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58457         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
58458         Define.
58459         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58460         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
58461         Define.
58462         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
58464         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
58465         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
58466         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
58467         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
58468         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
58469         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
58471         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
58472         Handle f2fs.
58474         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58475         Handle f2fs and efivarfs.
58477         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
58478         f2fs.
58480         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
58481         (EFIVARFS_MAGIC): Add.
58482         (F2FS_LINK_MAX): Add.
58484 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58486         * stdio-common/vfprintf.c: Replace __builtin_expect with
58487         __glibc_unlikely.
58489 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
58491         [BZ #13550]
58492         * sysdeps/generic/bp-sym.h: Remove file.
58493         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
58494         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
58495         <bp-sym.h> and <bp-asm.h>.
58496         (__longjmp): Don't use BP_SYM.
58497         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
58498         and <bp-asm.h>.
58499         (memcpy): Don't use BP_SYM.
58500         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
58501         <bp-sym.h> and <bp-asm.h>.
58502         (memcpy): Don't use BP_SYM.
58503         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
58504         <bp-asm.h>.
58505         (memcpy): Don't use BP_SYM.
58506         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
58507         <bp-asm.h>.
58508         (memset): Don't use BP_SYM.
58509         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58510         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58511         (__bzero): Don't use BP_SYM.
58512         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58513         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58514         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
58515         <bp-sym.h> and <bp-asm.h>.
58516         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58517         pointers.
58518         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
58519         <bp-sym.h> and <bp-asm.h>.
58520         (memcpy): Don't use BP_SYM.
58521         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
58522         <bp-sym.h> and <bp-asm.h>.
58523         (memset): Don't use BP_SYM.
58524         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58525         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58526         (__bzero): Don't use BP_SYM.
58527         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58528         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58529         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
58530         <bp-sym.h> and <bp-asm.h>.
58531         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58532         pointers.
58533         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
58534         <bp-sym.h> and <bp-asm.h>.
58535         (memcpy): Don't use BP_SYM.
58536         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
58537         <bp-sym.h> and <bp-asm.h>.
58538         (memset): Don't use BP_SYM.
58539         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58540         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58541         (__bzero): Don't use BP_SYM.
58542         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58543         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58544         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
58545         <bp-sym.h> and <bp-asm.h>.
58546         (__memchr): Don't use BP_SYM.
58547         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
58548         <bp-sym.h> and <bp-asm.h>.
58549         (memcmp): Don't use BP_SYM.  Remove comment about bounded
58550         pointers.
58551         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
58552         <bp-sym.h> and <bp-asm.h>.
58553         (memcpy): Don't use BP_SYM.
58554         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
58555         <bp-sym.h> and <bp-asm.h>.
58556         (__mempcpy): Don't use BP_SYM.
58557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
58558         <bp-sym.h> and <bp-asm.h>.
58559         (__memrchr): Don't use BP_SYM.
58560         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
58561         <bp-sym.h> and <bp-asm.h>.
58562         (memset): Don't use BP_SYM.
58563         (__bzero): Likewise.
58564         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
58565         <bp-sym.h> and <bp-asm.h>.
58566         (__rawmemchr): Don't use BP_SYM.
58567         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
58568         <bp-sym.h> and <bp-asm.h>.
58569         (__STRCMP): Don't use BP_SYM.
58570         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
58571         <bp-sym.h> and <bp-asm.h>.
58572         (strchr): Don't use BP_SYM.
58573         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
58574         <bp-sym.h> and <bp-asm.h>.
58575         (__strchrnul): Don't use BP_SYM.
58576         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
58577         <bp-sym.h> and <bp-asm.h>.
58578         (strlen): Don't use BP_SYM.
58579         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
58580         <bp-sym.h> and <bp-asm.h>.
58581         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58582         pointers.
58583         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
58584         <bp-sym.h> and <bp-asm.h>.
58585         (__strnlen): Don't use BP_SYM.
58586         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
58587         <bp-sym.h> and <bp-asm.h>.
58588         (__GI__setjmp): Don't use BP_SYM.
58589         (_setjmp): Likewise.
58590         (__sigsetjmp): Likewise.
58591         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
58592         (L(start_addresses)): Don't use BP_SYM.
58593         (_start): Likewise.
58594         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
58595         <bp-asm.h>.
58596         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
58597         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
58598         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58599         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58600         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
58601         <bp-asm.h>.
58602         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
58603         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
58604         about bounded pointers.
58605         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58606         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58607         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
58608         <bp-asm.h>.
58609         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58610         about bounded pointers.  Remove GKM FIXME comments.
58611         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58612         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
58613         <bp-asm.h>.
58614         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
58615         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
58616         Remove GKM FIXME comments.
58617         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58618         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58619         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
58620         <bp-asm.h>.
58621         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
58622         about bounded pointers.  Remove GKM FIXME comment.
58623         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
58624         and <bp-asm.h>.
58625         (strncmp): Don't use BP_SYM.  Remove comment about bounded
58626         pointers.
58627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
58628         <bp-sym.h> and <bp-asm.h>.
58629         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
58631         <bp-sym.h> and <bp-asm.h>.
58632         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58633         comment.
58635 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58637         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
58638         call free(NULL).
58640 2013-03-05  David S. Miller  <davem@davemloft.net>
58642         * po/es.po: Update from translation team.
58644 2013-03-05  Andreas Jaeger  <aj@suse.de>
58646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
58647         <bits/mman-linux.h>.
58648         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58649         is fine.
58650         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
58651         <bits/mman-linux.h> to end of file.
58652         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58653         is fine.
58654         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
58655         <bits/mman-linux.h> to end of file.
58656         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
58657         is fine.
58658         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
58659         <bits/mman-linux.h> to end of file.
58661         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
58662         (MCL_CURRENT, MCL_FUTURE): Define here.
58664 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58666         [BZ #15232]
58667         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
58668         attribute_hidden.
58669         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
58671 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58673         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
58674         fourth parameter needed for rt_sigprocmask syscall.
58675         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
58676         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58677         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
58678         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58679         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58680         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
58682 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
58684         [BZ #13550]
58685         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
58686         comment about bounded pointers.
58687         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
58688         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
58690 2013-03-04  Andreas Jaeger  <aj@suse.de>
58692         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
58693         common definitions.
58695         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
58696         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
58697         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
58698         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58699         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58700         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58702 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58704         [BZ #15055]
58705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
58706         __ieee754_sqrl instead of __sqrl.
58708 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
58710         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
58711         * sysdeps/powerpc/fpu_control.h: ... here.
58712         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
58713         * sysdeps/powerpc/bits/fenvinline.h: ... here.
58714         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
58715         * sysdeps/powerpc/bits/mathinline.h: ... here.
58717 2013-03-01  Roland McGrath  <roland@hack.frob.com>
58719         * elf/dl-hwcaps.c (_dl_important_hwcaps):
58720         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
58721         to just [NEED_DL_SYSINFO_DSO].
58722         * elf/dl-support.c: Likewise.
58723         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
58724         * elf/rtld.c (dl_main): Likewise.
58725         * elf/setup-vdso.h (setup_vdso): Likewise.
58726         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
58727         * sysdeps/unix/sysv/linux/dl-sysdep.c
58728         (_dl_discover_osversion): Likewise.
58730 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
58732         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
58733         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58735 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
58737         * NEWS: Mention libm performance improvements and non-x86 PI
58738         futex support.
58740         * csu/libc-start.c (__pthread_initialize_minimal): Change
58741         function arguments.
58742         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
58744 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
58746         [BZ #13550]
58747         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
58748         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
58749         <bp-sym.h> and <bp-asm.h>.
58750         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58751         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
58752         and <bp-asm.h>.
58753         (memcpy): Don't use BP_SYM.
58754         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
58755         <bp-asm.h>.
58756         (__mpn_add_n): Don't use BP_SYM.
58757         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
58758         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
58759         and <bp-asm.h>.
58760         (__mpn_addmul_1): Don't use BP_SYM.
58761         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58762         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
58763         <bp-sym.h>.
58764         (_setjmp): Don't use BP_SYM.
58765         (__novmx_setjmp): Likewise.
58766         (__GI__setjmp): Likewise.
58767         (__vmx_setjmp): Likewise.
58768         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
58769         <bp-sym.h>.
58770         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
58771         (__bzero): Don't use BP_SYM.
58772         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
58773         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
58774         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
58775         <bp-sym.h> and <bp-asm.h>.
58776         (memcpy): Don't use BP_SYM.
58777         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
58778         <bp-sym.h> and <bp-asm.h>.
58779         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58780         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
58781         <bp-sym.h> and <bp-asm.h>.
58782         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
58783         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
58784         <bp-asm.h>.
58785         (__mpn_lshift): Don't use BP_SYM.
58786         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58787         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
58788         <bp-asm.h>.
58789         (memset): Don't use BP_SYM.
58790         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
58791         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
58792         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
58793         <bp-asm.h>.
58794         (__mpn_mul_1): Don't use BP_SYM.
58795         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58796         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
58797         <bp-sym.h> and <bp-asm.h>.
58798         (memcmp): Don't use BP_SYM.
58799         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
58800         <bp-sym.h> and <bp-asm.h>.
58801         (memcpy): Don't use BP_SYM.
58802         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
58803         <bp-sym.h> and <bp-asm.h>.
58804         (memset): Don't use BP_SYM.
58805         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
58806         <bp-sym.h> and <bp-asm.h>.
58807         (strncmp): Don't use BP_SYM.
58808         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
58809         <bp-sym.h> and <bp-asm.h>.
58810         (memcpy): Don't use BP_SYM.
58811         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
58812         <bp-sym.h> and <bp-asm.h>.
58813         (memset): Don't use BP_SYM.
58814         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
58815         <bp-sym.h> and <bp-asm.h>.
58816         (__memchr): Don't use BP_SYM.
58817         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
58818         <bp-sym.h> and <bp-asm.h>.
58819         (memcmp): Don't use BP_SYM.
58820         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
58821         <bp-sym.h> and <bp-asm.h>.
58822         (memcpy): Don't use BP_SYM.
58823         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
58824         <bp-sym.h> and <bp-asm.h>.
58825         (__mempcpy): Don't use BP_SYM.
58826         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
58827         <bp-sym.h> and <bp-asm.h>.
58828         (__memrchr): Don't use BP_SYM.
58829         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
58830         <bp-sym.h> and <bp-asm.h>.
58831         (memset): Don't use BP_SYM.
58832         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
58833         <bp-sym.h> and <bp-asm.h>.
58834         (__rawmemchr): Don't use BP_SYM.
58835         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
58836         <bp-sym.h> and <bp-asm.h>.
58837         (__STRCMP): Don't use BP_SYM.
58838         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
58839         <bp-sym.h> and <bp-asm.h>.
58840         (strchr): Don't use BP_SYM.
58841         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
58842         <bp-sym.h> and <bp-asm.h>.
58843         (__strchrnul): Don't use BP_SYM.
58844         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
58845         <bp-sym.h> and <bp-asm.h>.
58846         (strlen): Don't use BP_SYM.
58847         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
58848         <bp-sym.h> and <bp-asm.h>.
58849         (strncmp): Don't use BP_SYM.
58850         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
58851         <bp-sym.h> and <bp-asm.h>.
58852         (__strnlen): Don't use BP_SYM.
58853         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
58854         <bp-asm.h>.
58855         (__mpn_rshift): Don't use BP_SYM.
58856         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
58857         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
58858         <bp-sym.h> and <bp-asm.h>.
58859         (__sigsetjmp): Don't use BP_SYM.
58860         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
58861         (L(start_addresses)): Don't use BP_SYM.
58862         (_start): Likewise.
58863         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
58864         <bp-asm.h>.
58865         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
58866         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58867         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58868         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
58869         <bp-asm.h>.
58870         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
58871         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
58872         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
58873         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
58874         <bp-asm.h>.
58875         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58876         comments.
58877         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
58878         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
58879         <bp-asm.h>.
58880         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
58881         FIXME comments.
58882         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
58883         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
58884         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
58885         <bp-asm.h>.
58886         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
58887         comment.
58888         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
58889         and <bp-asm.h>.
58890         (strncmp): Don't use BP_SYM,
58891         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
58892         <bp-asm.h>.
58893         (__mpn_sub_n): Don't use BP_SYM.
58894         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
58895         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
58896         and <bp-asm.h>.
58897         (__mpn_submul_1): Don't use BP_SYM.
58898         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
58899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
58900         <bp-sym.h> and <bp-asm.h>.
58901         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
58902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
58903         <bp-sym.h> and <bp-asm.h>.
58904         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
58905         comment.
58907 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
58910         Use ZK to minimize writes to Z.
58911         (sub_magnitudes): Simplify code a bit.
58912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
58913         Use ZK to minimize writes to Z.
58914         (sub_magnitudes): Simplify code a bit.
58916 2013-02-27  Roland McGrath  <roland@hack.frob.com>
58918         * csu/gmon-start.c: Add special exception to license text.
58920 2013-02-27  Richard Henderson  <rth@redhat.com>
58922         * scripts/config.guess: Update from config.git.
58923         * scripts/config.sub: Likewise.
58925 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58927         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
58929         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
58931         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
58933         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
58935         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
58937 2013-02-26  Roland McGrath  <roland@hack.frob.com>
58939         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
58940         [$(build-shared = yes].
58942 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58944         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
58945         (__mul): Reduce iterations for calculating mantissa.
58947         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
58948         MPTWO.
58949         (__mpranred): Likewise.
58951         [BZ #15160]
58952         * malloc/memusagestat.c (main): Draw graphs for heap and stack
58953         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
58955 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
58957         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
58958         Define __attribute__.
58960 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58962         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
58963         unused.
58964         * posix/regex_internal.h (__attribute): Remove.
58965         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
58966         (re_string_context_at): Likewise.
58967         (bitset_not): Use __attribute__ and mark function as possibly
58968         unused.
58969         (bitset_merge): Likewise.
58970         (bitset_mask): Likewise.
58971         (re_string_char_size_at): Likewise.
58972         (re_string_wchar_at): Likewise.
58973         (re_string_elem_size_at): Likewise.
58975 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58977         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
58978         code.
58979         (cc32): Likewise.
58981         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
58982         (__acr): Likewise.
58983         (__cpy): Likewise.
58984         (norm): Likewise.
58985         (denorm): Likewise.
58986         (__dbl_mp): Likewise.
58987         (add_magnitudes): Likewise.
58988         (sub_magnitudes): Likewise.
58989         (__mul): Likewise.
58990         (__inv): Likewise.
58992         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
58993         style.
58995         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
58996         style.
58998         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
58999         code.
59001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59002         up changes with default code.
59003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59004         Likewise.
59006 2013-02-24  Allan McRae  <allan@archlinux.org>
59008         * manual/socket.texi (The Internet Namespace): Order menu items
59009         to match that in the file.
59011         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59012         node listing of the info page menu.
59014 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59016         [BZ #13550]
59017         * sysdeps/i386/bp-asm.h: Remove file.
59018         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59019         (PARMS): Do not use macros from bp-asm.h.
59020         (S1): Likewise.
59021         (S2): Likewise.
59022         (SIZE): Likewise.
59023         (__mpn_add_n): Do not use BP_SYM
59024         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59025         "bp-asm.h".
59026         (PARMS): Do not use macros from bp-asm.h.
59027         (S1): Likewise.
59028         (SIZE): Likewise.
59029         (__mpn_addmul_1): Do not use BP_SYM
59030         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59031         "bp-asm.h".
59032         (PARMS): Do not use macros from bp-asm.h.
59033         (SIGMSK): Likewise.
59034         (_setjmp): Likewise.  Do not use BP_SYM.
59035         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59036         "bp-asm.h".
59037         (PARMS): Do not use macros from bp-asm.h.
59038         (SIGMSK): Likewise.
59039         (setjmp): Likewise.  Do not use BP_SYM.
59040         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59041         "bp-asm.h".
59042         (PARMS): Do not use macros from bp-asm.h.
59043         (__frexp): Do not use BP_SYM.
59044         (frexp): Likewise.
59045         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59046         "bp-asm.h".
59047         (PARMS): Do not use macros from bp-asm.h.
59048         (__frexpf): Do not use BP_SYM.
59049         (frexpf): Likewise.
59050         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59051         "bp-asm.h".
59052         (PARMS): Do not use macros from bp-asm.h.
59053         (__frexpl): Do not use BP_SYM.
59054         (frexpl): Likewise.
59055         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59056         "bp-asm.h".
59057         (PARMS): Do not use macros from bp-asm.h.
59058         (__remquo): Do not use BP_SYM.
59059         (remquo): Likewise.
59060         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59061         "bp-asm.h".
59062         (PARMS): Do not use macros from bp-asm.h.
59063         (__remquof): Do not use BP_SYM.
59064         (remquof): Likewise.
59065         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59066         "bp-asm.h".
59067         (PARMS): Do not use macros from bp-asm.h.
59068         (__remquol): Do not use BP_SYM.
59069         (remquol): Likewise.
59070         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59071         "bp-asm.h".
59072         (PARMS): Do not use macros from bp-asm.h.
59073         (DEST): Likewise.
59074         (SRC): Likewise.
59075         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59076         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59077         "bp-asm.h".
59078         (PARMS): Do not use macros from bp-asm.h.
59079         (strlen): Do not use BP_SYM.
59080         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59081         "bp-asm.h".
59082         (PARMS): Do not use macros from bp-asm.h.
59083         (S1): Likewise.
59084         (S2): Likewise.
59085         (SIZE): Likewise.
59086         (__mpn_add_n): Do not use BP_SYM.
59087         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59088         "bp-asm.h".
59089         (PARMS): Do not use macros from bp-asm.h.
59090         (S1): Likewise.
59091         (SIZE): Likewise.
59092         (__mpn_addmul_1): Do not use BP_SYM.
59093         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59094         weak_alias.
59095         (bzero): Likewise.
59096         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59097         "bp-asm.h".
59098         (PARMS): Do not use macros from bp-asm.h.
59099         (S): Likewise.
59100         (SIZE): Likewise.
59101         (__mpn_lshift): Do not use BP_SYM.
59102         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59103         "bp-asm.h".
59104         (PARMS): Do not use macros from bp-asm.h.
59105         (DEST): Likewise.
59106         (SRC): Likewise.
59107         (LEN): Likewise.
59108         (memcpy): Likewise.  Do not use BP_SYM.
59109         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59110         libc_hidden_def and weak_alias.
59111         (mempcpy): Do not use BP_SYM in weak_alias.
59112         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59113         "bp-asm.h".
59114         (PARMS): Do not use macros from bp-asm.h.
59115         (DEST): Likewise.
59116         (LEN): Likewise.
59117         [!BZERO_P] (CHR): Likewise.
59118         (memset): Likewise.  Do not use BP_SYM.
59119         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59120         "bp-asm.h".
59121         (PARMS): Do not use macros from bp-asm.h.
59122         (S1): Likewise.
59123         (SIZE): Likewise.
59124         (__mpn_mul_1): Do not use BP_SYM.
59125         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59126         "bp-asm.h".
59127         (PARMS): Do not use macros from bp-asm.h.
59128         (S): Likewise.
59129         (SIZE): Likewise.
59130         (__mpn_rshift): Do not use BP_SYM.
59131         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59132         "bp-asm.h".
59133         (PARMS): Do not use macros from bp-asm.h.
59134         (STR): Likewise.
59135         (CHR): Likewise.
59136         (strchr): Likewise.  Do not use BP_SYM.
59137         (index): Do not use BP_SYM in weak_alias.
59138         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
59139         "bp-asm.h".
59140         (PARMS): Do not use macros from bp-asm.h.
59141         (DEST): Likewise.
59142         (SRC): Likewise.
59143         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
59144         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
59145         "bp-asm.h".
59146         (PARMS): Do not use macros from bp-asm.h.
59147         (strlen): Do not use BP_SYM.
59148         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
59149         "bp-asm.h".
59150         (PARMS): Do not use macros from bp-asm.h.
59151         (S1): Likewise.
59152         (S2): Likewise.
59153         (SIZE): Likewise.
59154         (__mpn_sub_n): Do not use BP_SYM.
59155         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
59156         "bp-asm.h".
59157         (PARMS): Do not use macros from bp-asm.h.
59158         (S1): Likewise.
59159         (SIZE): Likewise.
59160         (__mpn_submul_1): Do not use BP_SYM.
59161         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
59162         "bp-asm.h".
59163         (PARMS): Do not use macros from bp-asm.h.
59164         (S1): Likewise.
59165         (S2): Likewise.
59166         (SIZE): Likewise.
59167         (__mpn_add_n): Do not use BP_SYM.
59168         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
59169         weak_alias.
59170         (bzero): Likewise.
59171         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
59172         "bp-asm.h".
59173         (PARMS): Do not use macros from bp-asm.h.
59174         (BLK2): Likewise.
59175         (LEN): Likewise.
59176         (memcmp): Do not use BP_SYM.
59177         (bcmp): Do not use BP_SYM in weak_alias.
59178         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
59179         "bp-asm.h".
59180         (PARMS): Do not use macros from bp-asm.h.
59181         (DEST): Likewise.
59182         (SRC): Likewise.
59183         (LEN): Likewise.
59184         (memcpy): Likewise.  Do not use BP_SYM.
59185         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
59186         "bp-asm.h".
59187         (PARMS): Do not use macros from bp-asm.h.
59188         (DEST): Likewise.
59189         (SRC): Likewise.
59190         (LEN): Likewise.
59191         (memmove): Likewise.  Do not use BP_SYM.
59192         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
59193         "bp-asm.h".
59194         (PARMS): Do not use macros from bp-asm.h.
59195         (DEST): Likewise.
59196         (SRC): Likewise.
59197         (LEN): Likewise.
59198         (__mempcpy): Likewise.  Do not use BP_SYM.
59199         (mempcpy): Do not use BP_SYM in weak_alias.
59200         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
59201         "bp-asm.h".
59202         (PARMS): Do not use macros from bp-asm.h.
59203         (DEST): Likewise.
59204         (LEN): Likewise.
59205         [!BZERO_P] (CHR): Likewise.
59206         (memset): Likewise.  Do not use BP_SYM.
59207         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
59208         "bp-asm.h".
59209         (PARMS): Do not use macros from bp-asm.h.
59210         (STR2): Likewise.
59211         (strcmp): Do not use BP_SYM.
59212         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
59213         "bp-asm.h".
59214         (PARMS): Do not use macros from bp-asm.h.
59215         (STR): Likewise.
59216         (DELIM): Likewise.
59217         [USE_AS_STRTOK_R] (SAVE): Likewise.
59218         (FUNCTION): Likewise.  Do not use BP_SYM.
59219         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
59220         aliases.
59221         (strtok_r): Likewise.
59222         (__GI___strtok_r): Likewise.
59223         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59224         (PARMS): Do not use macros from bp-asm.h.
59225         (S): Likewise.
59226         (SIZE): Likewise.
59227         (__mpn_lshift): Do not use BP_SYM.
59228         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59229         (PARMS): Do not use macros from bp-asm.h.
59230         (STR): Likewise.
59231         (CHR): Likewise.
59232         (__memchr): Do not use BP_SYM.
59233         (memchr): Do not use BP_SYM in weak_alias.
59234         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59235         (PARMS): Do not use macros from bp-asm.h.
59236         (BLK2): Likewise.
59237         (LEN): Likewise.
59238         (memcmp): Do not use BP_SYM.
59239         (bcmp): Do not use BP_SYM in weak_alias.
59240         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
59241         (PARMS): Do not use macros from bp-asm.h.
59242         (S1): Likewise.
59243         (SIZE): Likewise.
59244         (__mpn_mul_1): Do not use BP_SYM.
59245         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
59246         "bp-asm.h".
59247         (PARMS): Do not use macros from bp-asm.h.
59248         (STR): Likewise.
59249         (CHR): Likewise.
59250         (__rawmemchr): Do not use BP_SYM.
59251         (rawmemchr): Do not use BP_SYM in weak_alias.
59252         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
59253         (PARMS): Do not use macros from bp-asm.h.
59254         (S): Likewise.
59255         (SIZE): Likewise.
59256         (__mpn_rshift): Do not use BP_SYM.
59257         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
59258         (PARMS): Do not use macros from bp-asm.h.
59259         (SIGMSK): Likewise.
59260         (__sigsetjmp): Likewise.  Do not use BP_SYM.
59261         * sysdeps/i386/start.S: Do not include "bp-sym.h".
59262         (_start): Do not use BP_SYM.
59263         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
59264         (PARMS): Do not use macros from bp-asm.h.
59265         (DEST): Likewise.
59266         (SRC): Likewise.
59267         (__stpcpy): Likewise.  Do not use BP_SYM.
59268         (stpcpy): Do not use BP_SYM in weak_alias.
59269         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
59270         "bp-asm.h".
59271         (PARMS): Do not use macros from bp-asm.h.
59272         (DEST): Likewise.
59273         (SRC): Likewise.
59274         (LEN): Likewise.
59275         (__stpncpy): Likewise.  Do not use BP_SYM.
59276         (stpncpy): Do not use BP_SYM in weak_alias.
59277         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
59278         (PARMS): Do not use macros from bp-asm.h.
59279         (STR): Likewise.
59280         (CHR): Likewise.
59281         (strchr): Likewise.  Do not use BP_SYM.
59282         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
59283         "bp-asm.h".
59284         (PARMS): Do not use macros from bp-asm.h.
59285         (STR): Likewise.
59286         (CHR): Likewise.
59287         (__strchrnul): Likewise.  Do not use BP_SYM.
59288         (strchrnul): Do not use BP_SYM in weak_alias.
59289         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
59290         "bp-asm.h".
59291         (PARMS): Do not use macros from bp-asm.h.
59292         (STOP): Likewise.
59293         (strcspn): Do not use BP_SYM.
59294         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
59295         "bp-asm.h".
59296         (PARMS): Do not use macros from bp-asm.h.
59297         (STR): Likewise.
59298         (STOP): Likewise.
59299         (strpbrk): Likewise.  Do not use BP_SYM.
59300         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
59301         "bp-asm.h".
59302         (PARMS): Do not use macros from bp-asm.h.
59303         (STR): Likewise.
59304         (CHR): Likewise.
59305         (strrchr): Likewise.  Do not use BP_SYM.
59306         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
59307         (PARMS): Do not use macros from bp-asm.h.
59308         (SKIP): Likewise.
59309         (strspn): Do not use BP_SYM.
59310         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
59311         (PARMS): Do not use macros from bp-asm.h.
59312         (STR): Likewise.
59313         (DELIM): Likewise.
59314         (SAVE): Likewise.
59315         (FUNCTION): Likewise.  Do not use BP_SYM.
59316         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
59317         aliases.
59318         (strtok_r): Likewise.
59319         (__GI___strtok_r): Likewise.
59320         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59321         (PARMS): Do not use macros from bp-asm.h.
59322         (S1): Likewise.
59323         (S2): Likewise.
59324         (SIZE): Likewise.
59325         (__mpn_sub_n): Do not use BP_SYM.
59326         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
59327         "bp-asm.h".
59328         (PARMS): Do not use macros from bp-asm.h.
59329         (S1): Likewise.
59330         (SIZE): Likewise.
59331         (__mpn_submul_1): Do not use BP_SYM.
59332         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
59333         <bp-sym.h>.
59334         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
59335         and <bp-asm.h>.
59336         (PARMS): Do not use macros from bp-asm.h.
59337         (FLAGS): Likewise.
59338         (PTID): Likewise.
59339         (TLS): Likewise.
59340         (CTID): Likewise.
59341         (__clone): Do not use BP_SYM.
59342         (clone): Do not use BP_SYM in weak_alias.
59343         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
59344         and <bp-asm.h>.
59345         (PARMS): Do not use macros from bp-asm.h.
59346         (LEN): Likewise.
59347         (__mmap64): Do not use BP_SYM.
59348         (mmap64): Do not use BP_SYM in weak_alias.
59349         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
59350         <bp-sym.h> and <bp-asm.h>.
59351         (PARMS): Do not use macros from bp-asm.h.
59352         (__posix_fadvise64_l64): Do not use BP_SYM.
59353         * sysdeps/unix/sysv/linux/i386/semtimedop.S
59354         (PARMS): Do not use macros from bp-asm.h.
59355         (NSOPS): Likewise.
59356         (semtimedop): Do not use BP_SYM.
59357         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
59358         and <bp-asm.h>.
59360 2013-02-21  Allan McRae  <allan@archlinux.org>
59362         * manual/message.texi (Charset conversion in gettext):
59363         Move @end statement to beginning of line.
59365 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
59368         static.
59369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
59370         Likewise.
59372         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
59373         (denorm): Likewise.
59374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
59375         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
59377 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59379         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
59380         tail-call to the resolved function if pltexit isn't needed.
59382 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
59385         or Y being zero as being unlikely.
59386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59387         Likewise.
59389 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
59391         * manual/nss.texi (System Databases and Name Service Switch):
59392         Remove frobnicate @pxref.
59394 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59396         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59397         __attribute__ ((unused)) to __attribute__ ((__unused__)).
59399 2013-02-20  Petr Machata  <pmachata@redhat.com>
59401         * elf/elf.h (R_ARM_TARGET1): New macro.
59402         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
59403         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
59404         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
59405         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
59406         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
59407         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
59408         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
59409         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
59410         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
59411         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
59412         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
59413         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
59414         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
59415         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
59416         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
59417         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
59418         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
59419         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
59420         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
59421         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
59422         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
59423         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
59424         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
59425         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
59426         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
59427         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
59428         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
59429         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
59430         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
59431         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
59432         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
59433         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
59434         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
59435         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
59436         (R_ARM_THM_GOT_BREL12): Likewise.
59437         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
59438         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
59439         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
59440         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
59441         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
59442         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
59443         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
59444         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
59445         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
59447 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
59449         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
59450         __attribute_used__ to __attribute__ ((unused)).
59452 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59454         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
59455         powerpc mpa.c.
59456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
59457         comment formatting.
59458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
59460 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
59462         [BZ #13550]
59463         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
59464         Remove macro.
59465         (ENTER): Remove both macro definitions.
59466         (LEAVE): Likewise.
59467         (CHECK_BOUNDS_LOW): Likewise.
59468         (CHECK_BOUNDS_HIGH): Likewise.
59469         (CHECK_BOUNDS_BOTH): Likewise.
59470         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
59471         (RETURN_BOUNDED_POINTER): Likewise.
59472         (RETURN_NULL_BOUNDED_POINTER): Likewise.
59473         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
59474         (POP_ERRNO_LOCATION_RETURN): Likewise.
59475         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
59476         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59477         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
59478         macros.
59479         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59480         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
59481         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
59482         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
59483         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
59484         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
59485         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
59486         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
59487         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
59488         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
59489         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
59490         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
59491         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59492         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
59493         removed macros.
59494         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59495         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
59496         macros.
59497         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59498         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
59499         * sysdeps/i386/i586/memset.S (memset): Likewise.
59500         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
59501         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59502         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
59503         macros.
59504         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59505         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
59506         Change uses of L(2) to L(out).
59507         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
59508         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
59509         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
59510         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59511         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
59512         removed macros.
59513         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59514         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
59515         macros.
59516         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59517         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
59518         (RETURN): Do not use macro LEAVE.
59519         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
59520         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
59521         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
59522         * sysdeps/i386/i686/memset.S (memset): Likewise.
59523         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
59524         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
59525         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59526         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
59527         Likewise.
59528         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59529         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
59530         L(1_2) and L(1_3) into L(1).
59531         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59532         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
59533         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59534         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
59535         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59536         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
59537         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
59538         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59539         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
59540         macros.
59541         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
59542         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59543         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
59544         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
59545         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
59546         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59547         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
59548         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
59549         * sysdeps/i386/strcspn.S (strcspn): Likewise.
59550         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
59551         * sysdeps/i386/strrchr.S (strrchr): Likewise.
59552         * sysdeps/i386/strspn.S (strspn): Likewise.
59553         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
59554         conditional code.
59555         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59556         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
59557         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
59558         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
59559         L(1_3) into L(1_1).
59560         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
59561         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59562         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
59563         macros.
59564         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59566 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
59568         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
59569         macro.
59571 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59573         * math/atest-exp.c (exp_mpn): Remove ROUND.
59574         * math/atest-exp2.c (exp_mpn): Likewise.
59575         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
59577         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
59578         * stdlib/tst-tls-atexit-lib.c: Likewise.
59579         * stdlib/tst-tls-atexit.c: Likewise.
59581 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59583         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
59584         and __attribute_alloc_size__.
59586 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59588         * include/programs/xmalloc.h: Change __attribute_alloc_size to
59589         __attribute_alloc_size__.
59590         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
59591         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
59593 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
59595         * include/programs/xmalloc.h: New file.
59596         * catgets/gencat.c: Include it.
59597         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
59598         * elf/pldd.c: Likewise.
59599         * iconv/iconv_charmap.c: Likewise.
59600         * iconv/iconvconfig.c: Likewise.
59601         * iconv/strtab.c: Likewise.
59602         * locale/programs/locale.c: Likewise.
59603         * locale/programs/localedef.h: Likewise.
59604         * locale/programs/simple-hash.c: Likewise.
59605         * nscd/nscd.h: Likewise.
59606         * nss/makedb.c: Likewise.
59607         * sysdeps/generic/ldconfig.h: Likewise.
59609 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59611         * Versions.def: Add GLIBC_2.18.
59612         * include/link.h (struct link_map): New member l_tls_dtor_count.
59613         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
59614         (__call_tls_dtors): Likewise.
59615         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
59616         __cxa_thread_atexit_impl.
59617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
59618         Likewise.
59619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
59620         Likewise.
59621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
59622         Likewise.
59623         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
59624         Likewise.
59625         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
59626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
59627         Likewise.
59628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
59629         Likewise.
59630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
59631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
59632         Likewise.
59633         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
59634         (tests): Add test case tst-tls-atexit.
59635         (modules-names): Add shared library for tst-tls-atexit.
59636         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
59637         (GLIBC_PRIVATE): Add __call_tls_dtors.
59638         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
59639         for libstdc++.
59640         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
59641         * stdlib/tst-tls-atexit.c: New test case.
59642         * stdlib/tst-tls-atexit-lib.c: New test case.
59644         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
59646         * elf/Versions (ld): Add _dl_find_dso_for_object.
59647         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
59648         * elf/dl-open.c (_dl_find_dso_for_object): New function.
59649         (dl_open_worker): Use _dl_find_dso_for_object.
59650         * elf/dl-sym.c (do_sym): Likewise.
59651         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
59653 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59655         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
59656         Syntactic changes only.
59657         (_dl_runtime_profile): Do a tail-call to the resolved function.
59659 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
59661         [BZ #13550]
59662         * sysdeps/x86_64/bp-asm.h: Remove file.
59663         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
59664         <bp-sym.h> and <bp-asm.h>.
59665         (__clone): Do not use BP_SYM.
59666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
59667         <bp-sym.h> and <bp-asm.h>.
59668         * sysdeps/unix/x86_64/sysdep.S: Likewise.
59669         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
59670         "bp-asm.h".
59671         (_setjmp): Do not use BP_SYM.
59672         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
59673         "bp-asm.h".
59674         (setjmp): Do not use BP_SYM.
59675         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
59676         libc_hidden_def.
59677         (mempcpy): Do not use BP_SYM in weak_alias.
59678         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
59679         "bp-asm.h".
59680         (strchr): Do not use BP_SYM.
59681         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
59682         "bp-asm.h".
59683         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
59684         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
59685         (_start): Do not use BP_SYM.
59686         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
59687         "bp-asm.h".
59688         (strcat): Do not use BP_SYM.
59689         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
59690         "bp-asm.h".
59691         (STRCMP): Do not use BP_SYM.
59692         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
59693         "bp-asm.h".
59694         (STRCPY): Do not use BP_SYM.
59695         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
59696         "bp-asm.h".
59697         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
59698         "bp-asm.h".
59699         (FUNCTION): Do not use BP_SYM.
59700         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
59701         weak_alias.
59702         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
59704 2013-02-17  Andreas Jaeger  <aj@suse.de>
59706         * time/Versions: Sort entries.
59707         * string/Versions: Likewise.
59708         * resolv/Versions: Likewise.
59709         * posix/Versions: Likewise.
59710         * iconv/Versions: Likewise.
59711         * elf/Versions: Likewise.
59712         * wcsmbs/Versions: Likewise.
59714 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59716         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
59717         loop termination condition.
59719         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
59720         variable to calculate EZ.
59721         (__sqr): Likewise.
59723         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
59724         the lower precision input.
59726 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
59728         [BZ #13550]
59729         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
59730         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
59731         (run-via-rtld-prefix): Do not handle %-bp tests.
59732         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
59733         (all-object-suffixes): Remove .ob.
59734         (bppfx): Remove variable.
59735         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
59736         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
59737         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
59738         [$(build-bounded) = yes] (libtype.ob): Likewise.
59739         * Makerules (elide-routines.ob): Remove variable.
59740         (do-tests-clean): Do not handle *-bp.out.
59741         (common-mostlyclean): Do not handle *-bp and *-bp.out.
59742         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
59743         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
59744         (tests): Do not include $(tests-bp.out).
59745         (xtests): Do not include $(xtests-bp.out).
59746         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
59747         [$(build-bounded) = yes] ($(addprefix
59748         $(objpfx),$(binaries-bounded))): Remove rule.
59749         ($(objpfx)%-bp.out): Remove rule.
59750         * config.make.in (build-bounded): Remove variable.
59751         * crypt/Makefile [$(build-bounded) = yes]
59752         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
59753         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
59754         append to variable.
59755         [$(build-bounded) = yes] (install-lib): Likewise.
59756         [$(build-bounded) = yes] (generated): Likewise.
59757         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
59758         Remove rule.
59759         * intl/Makefile [$(build-bounded) = yes]
59760         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
59761         * math/Makefile [$(build-bounded) = yes]
59762         ($(tests:%=$(objpfx)%-bp): Likewise.
59763         * misc/Makefile [$(build-bounded) = yes]
59764         ($(objpfx)tst-tsearch-bp): Likewise.
59765         * nptl/Makeconfig (bounded-thread-library): Remove variable.
59766         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
59767         Remove dependency.
59768         * string/Makefile (o-objects.ob): Remove variable.
59769         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
59770         (CFLAGS-.ob): Remove variable.
59771         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
59772         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
59773         both definitions of variable.
59774         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
59775         (ASFLAGS-.ob): Remove variable.
59777 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
59779         [BZ #13550]
59780         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
59781         Remove __BOUNDED_POINTERS__ from condition.
59782         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
59783         * string/bits/string2.h [!__NO_STRING_INLINES &&
59784         !__BOUNDED_POINTERS__]: Likewise.
59785         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
59786         Likewise.
59787         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
59788         Remove conditional code.
59789         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
59790         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
59791         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
59792         condition.
59794         [BZ #13550]
59795         * csu/libc-start.c: Do not include <bp-sym.h>.
59796         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
59797         * elf/dl-open.c: Do not include <bp-sym.h>.
59798         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
59799         * math/fegetenv.c: Do not include <bp-sym.h>.
59800         (fegetenv): Do not use BP_SYM in versioned symbols.
59801         * nptl/sysdeps/pthread/bits/libc-lockP.h
59802         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
59803         <bp-sym.h>.
59804         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59805         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
59806         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59807         (__pthread_mutex_destroy): Likewise.
59808         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59809         (__pthread_mutex_lock): Likewise.
59810         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59811         (__pthread_mutex_trylock): Likewise.
59812         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59813         (__pthread_mutex_unlock): Likewise.
59814         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59815         (__pthread_mutexattr_init): Likewise.
59816         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59817         (__pthread_mutexattr_destroy): Likewise.
59818         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59819         (__pthread_mutexattr_settype): Likewise.
59820         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59821         (__pthread_rwlock_init): Likewise.
59822         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59823         (__pthread_rwlock_destroy): Likewise.
59824         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59825         (__pthread_rwlock_rdlock): Likewise.
59826         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59827         (__pthread_rwlock_tryrdlock): Likewise.
59828         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59829         (__pthread_rwlock_wrlock): Likewise.
59830         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59831         (__pthread_rwlock_trywrlock): Likewise.
59832         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59833         (__pthread_rwlock_unlock): Likewise.
59834         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59835         (__pthread_key_create): Likewise.
59836         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59837         (__pthread_setspecific): Likewise.
59838         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59839         (__pthread_getspecific): Likewise.
59840         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
59841         Likewise.
59842         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59843         (_pthread_cleanup_push_defer): Likewise.
59844         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59845         (_pthread_cleanup_pop_restore): Likewise.
59846         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
59847         (pthread_setcancelstate): Likewise.
59848         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
59849         <bp-sym.h>.
59850         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
59851         (memchr): Do not use BP_SYM in weak_alias.
59852         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
59853         (fegetenv): Do not use BP_SYM in versioned symbols.
59854         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
59855         (fesetenv): Do not use BP_SYM in versioned symbols.
59856         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59857         (feupdateenv): Do not use BP_SYM in versioned symbols.
59858         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59859         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59860         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
59861         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
59862         (open64): Do not use BP_SYM in weak_alias.
59863         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
59864         (fegetenv): Do not use BP_SYM in versioned symbols.
59865         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
59866         (fesetenv): Do not use BP_SYM in versioned symbols.
59867         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
59868         (feupdateenv): Do not use BP_SYM in versioned symbols.
59869         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
59870         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
59871         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
59872         (feraiseexcept): Do not use BP_SYM in versioned symbols.
59873         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
59874         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
59875         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
59876         <bp-sym.h>.
59877         (__libc_start_main): Do not use BP_SYM.
59879 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59881         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
59882         redundant return line.
59883         (norm): Likewise.
59884         (denorm): Likewise.
59885         (dbl_mp): Likewise.
59886         (sub_magnitudes): Likewise.
59887         (__add): Likewise.
59888         (__sub): Likewise.
59889         (__mul): Likewise.
59890         (__inv): Likewise.
59891         (__dvd): Likewise.
59892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
59893         (norm): Likewise.
59894         (denorm): Likewise.
59895         (dbl_mp): Likewise.
59896         (sub_magnitudes): Likewise.
59897         (__add): Likewise.
59898         (__sub): Likewise.
59899         (__mul): Likewise.
59900         (__inv): Likewise.
59901         (__dvd): Likewise.
59903         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
59904         instead of __mul.
59905         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59906         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
59907         (cc32): Likewise.
59909         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
59910         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
59911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
59912         of __mul for squares.
59913         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
59914         function
59915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
59916         Likewise.
59917         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
59918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59920 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
59922         [BZ #13550]
59923         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
59924         code.
59925         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
59926         prototype or function definition.  Rename ubp_* variables and
59927         parameters.  Remove argv definitions conditional on
59928         [__BOUNDED_POINTERS__].
59929         * debug/backtrace.c (__backtrace): Do not use __unbounded.
59930         * elf/dl-runtime.c (_dl_fixup): Likewise.
59931         * include/set-hooks.h (RUN_HOOK): Likewise.
59932         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
59933         definition.
59934         * string/strcpy.c (strcpy): Do not use __unbounded.
59935         * sysdeps/generic/frame.h (struct layout): Likewise.
59936         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
59937         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
59938         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
59939         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
59940         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
59941         (__backtrace): Likewise.
59942         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
59943         use __ptrvalue.
59944         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
59945         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
59946         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
59947         Likewise.
59948         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
59949         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
59950         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
59951         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
59952         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
59953         Do not use __unbounded.
59954         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
59955         Rename __unboundedrlimits parameter to rlimits in prototype.
59956         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
59957         Do not use __unbounded.
59958         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
59959         not use __ptrvalue.
59960         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
59961         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
59962         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
59963         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
59964         __ptrvalue or __unbounded.
59965         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
59966         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
59967         use __unbounded.
59968         (__new_msgctl): Do not use __ptrvalue.
59969         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
59970         __unbounded.
59971         (__libc_msgrcv): Do not use __ptrvalue.
59972         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
59973         startup_info): Do not use __unbounded.
59974         (__libc_start_main): Likewise.  Rename ubp_* variables and
59975         parameters.  Remove argv definitions conditional on
59976         [__BOUNDED_POINTERS__].
59977         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
59978         __ptrvalue.
59979         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
59980         use __unbounded.
59981         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
59982         or __ptrvalue.
59983         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
59984         use __unbounded.
59985         (__new_shmctl): Do not use __ptrvalue.
59986         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
59987         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
59988         Likewise.
59989         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
59990         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
59991         (__libc_sigaction): Likewise.
59992         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
59993         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
59994         Likewise.
59995         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
59997 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
59999         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60001         * string/mempcpy.c: Implement by calling memcpy.
60003 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60007         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60008         evaluation.
60010         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60011         values in the mantissa.
60013         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60014         minimize writes to Z.
60015         (sub_magnitudes): Simplify code a bit.
60017 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60019         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60020         from the message.  The linker prefixes all warnings with that already.
60022 2013-02-12  Andreas Schwab  <schwab@suse.de>
60024         [BZ #15078]
60025         * posix/regexec.c (extend_buffers): Add parameter min_len.
60026         (check_matching): Pass minimum needed length.
60027         (clean_state_log_if_needed): Likewise.
60028         (get_subexp): Likewise.
60029         * posix/Makefile (tests): Add bug-regex34.
60030         (bug-regex34-ENV): Define.
60031         * posix/bug-regex34.c: New file.
60033         [BZ #11561]
60034         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60035         elements compare against the byte sequence of it, not its name.
60036         * posix/Makefile (tests): Add bug-regex35.
60037         (bug-regex35-ENV): Define.
60038         * posix/bug-regex35.c: New file.
60040 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60042         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60043         comment.
60044         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60045         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60046         (CHECK_EOL): Add undef.
60048 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60050         * bits/stdlib-bsearch.h: New file.
60051         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60052         * stdlib/stdlib.h: Likewise.
60054 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60056         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60057         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60058         declaration.
60059         * manual/search.texi (Array Search Function): Add missing const in
60060         lfind prototype.
60061         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60062         declaration to use rlim_t.
60063         (Basic Scheduling Functions): Remove erroneous const from
60064         sched_getparam prototype.  Remove erroneous * from
60065         sched_get_priority_max and sched_get_priority_min prototypes.
60066         (Resource Usage): Fix summary @comment on vtimes to refer to
60067         sys/vtimes.h rather than vtimes.h.
60068         Add missing *s in vtimes prototype.
60069         (Limits on Resources): Fix ulimit prototype to return long int.
60070         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60071         prototypes to use long int rather than double.
60072         (BSD Random): Fix initstate and setstate to use char *, not void *.
60073         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60074         prototype to make second argument 'struct aiocb64 *const[]'.
60075         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60076         (Status of AIO Operations): Remove erroneous const in aio_return and
60077         aio_return64 prototypes.
60078         (Synchronizing I/O): Fix sync prototype to return void.
60079         * manual/startup.texi (Suboptions): Remove an erroneous const in
60080         getsubopt prototype.
60081         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60082         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60083         use size_t rather than int.
60084         (Scanning All Users): Likewise for getpwent_r.
60085         (Setting Groups): Add missing const to setgroups prototype.
60086         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60087         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60088         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60089         'const void *' rather than 'const char *'.
60090         (Host Address Functions): Likewise for inet_ntop.
60091         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60092         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60093         ssize_t for return value.
60094         (Sending Data): Likewise for send, sendto, sendmsg.
60095         (Socket Option Functions): Add a missing const in setsockopt prototype.
60096         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60097         use wchar_t for the argument.
60098         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60099         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60100         take no arguments.
60101         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60102         double/float/long double for second argument.
60103         Fix return types of significand, significandf, significandl.
60104         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60105         argument in fchmod prototype.
60106         (File Owner): Use uid_t and gid_t in fchown prototype.
60107         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60108         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60109         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60110         use 'const struct dirent **' as argument types to CMP function pointer
60111         argument.
60112         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60113         (File Times): Fix summary magic @comment for struct utimbuf and utime
60114         to refer to utime.h, not time.h.
60115         * manual/string.texi (Argz Functions): Add missing const in
60116         argz_extract and argz_next prototypes.
60117         (Finding Tokens in a String): Likewise for basename.
60118         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60119         (Copying and Concatenation): Fix typo in wmemmove prototype.
60120         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60121         (Signal Stack): Remove erroneous const in sigstack prototype.
60122         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60123         prototype.
60124         (Simple Calendar Time): Likewise for stime.
60125         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60126         prototype.
60127         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60128         say sys/sysctl.h instead.
60129         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60130         and vsyslog prototypes.
60132 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60134         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
60135         Remove.
60137 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60139         * misc/sys/mman.h: Fix typo in mremap comment.
60141 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60143         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
60144         the '\0' terminator.
60146 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60148         [BZ #13550]
60149         * debug/segfault.c: Don't include <bp-checks.h>.
60150         * sysdeps/generic/bp-checks.h: Remove file.
60151         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
60152         (__GETDENTS): Don't use CHECK_N.
60153         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
60154         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
60155         (__getgroups): Don't use CHECK_N.
60156         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
60157         (setgroups): Don't use CHECK_N.
60158         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
60159         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
60160         (__libc_msgrcv): Don't use CHECK_N.
60161         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
60162         (__libc_msgsnd): Don't use CHECK_N.
60163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
60164         <bp-checks.h>.
60165         (__libc_pread): Don't use CHECK_N.
60166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
60167         include <bp-checks.h>.
60168         (__libc_pread64): Don't use CHECK_N.
60169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
60170         include <bp-checks.h>.
60171         (__libc_pwrite): Don't use CHECK_N.
60172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
60173         include <bp-checks.h>.
60174         (__libc_pwrite64): Don't use CHECK_N.
60175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
60176         <bp-checks.h>.
60177         (__libc_pread): Don't use CHECK_N.
60178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
60179         include <bp-checks.h>.
60180         (__libc_pread64): Don't use CHECK_N.
60181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
60182         include <bp-checks.h>.
60183         (__libc_pwrite): Don't use CHECK_N.
60184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
60185         include <bp-checks.h>.
60186         (__libc_pwrite64): Don't use CHECK_N.
60187         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
60188         (do_pread): Don't use CHECK_N.
60189         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
60190         (do_pread64): Don't use CHECK_N.
60191         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
60192         (do_pwrite): Don't use CHECK_N.
60193         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
60194         (do_pwrite64): Don't use CHECK_N.
60195         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
60196         (__libc_readv): Don't use CHECK_N.
60197         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
60198         (semop): Don't use CHECK_N.
60199         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
60200         <bp-checks.h>.
60201         (semtimedop): Don't use CHECK_N.
60202         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
60203         (__libc_pread): Don't use CHECK_N.
60204         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
60205         <bp-checks.h>.
60206         (__libc_pread64): Don't use CHECK_N.
60207         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
60208         <bp-checks.h>.
60209         (__libc_pwrite): Don't use CHECK_N.
60210         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
60211         <bp-checks.h>.
60212         (__libc_pwrite64): Don't use CHECK_N.
60213         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
60214         <bp-checks.h>.
60215         (__libc_msgrcv): Don't use CHECK_N.
60216         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
60217         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
60218         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
60219         (__libc_writev): Don't use CHECK_N.
60221 2013-02-08  Roland McGrath  <roland@hack.frob.com>
60223         * string/strcpy.c: Removed unused variable.
60225         * Makeconfig (+sysdep-includes): Define with := rather than =.
60226         Use an existing include/ subdir of each sysdeps dir before it.
60228 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60230         * nscd/connection.c (register_traced_file): Comment function.
60231         [HAVE_INOTIFY] (union __inev): Define.
60232         [HAVE_INOTIFY] (inotify_check_files): New function.
60233         [HAVE_INOTIFY] (clear_db_cache): Likewise.
60234         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
60235         clear_db_cache.
60236         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
60238 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60240         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
60241         loaded if not already and that a failure is permanent.
60243 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
60245         [BZ #15006]
60246         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
60247         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
60249 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
60251         [BZ #13550]
60252         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
60253         (CHECK_1_NULL_OK): Likewise.
60254         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
60255         (__fxstat): Do not use CHECK_1.
60256         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
60257         <bp-checks.h>.
60258         (___fxstat64): Do not use CHECK_1.
60259         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
60260         <bp-checks.h>.
60261         (__fxstatat): Do not use CHECK_1.
60262         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
60263         <bp-checks.h>.
60264         (__fxstatat64): Do not use CHECK_1.
60265         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
60266         <bp-checks.h>.
60267         (__fxstat): Do not use CHECK_1.
60268         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
60269         <bp-checks.h>.
60270         (__fxstatat): Do not use CHECK_1.
60271         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
60272         <bp-checks.h>.
60273         (__getresgid): Do not use CHECK_1.
60274         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
60275         <bp-checks.h>.
60276         (__getresuid): Do not use CHECK_1.
60277         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
60278         <bp-checks.h>.
60279         (__lxstat): Do not use CHECK_1.
60280         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
60281         <bp-checks.h>.
60282         (__old_msgctl): Do not use CHECK_1.
60283         (__new_msgctl): Likewise.
60284         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
60285         <bp-checks.h>.
60286         (__new_setrlimit): Do not use CHECK_1.
60287         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60288         <bp-checks.h>.
60289         (__old_shmctl): Do not use CHECK_1.
60290         (__new_shmctl): Likewise.
60291         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
60292         <bp-checks.h>.
60293         (__xstat): Do not use CHECK_1.
60294         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
60295         (__lxstat): Do not use CHECK_1.
60296         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
60297         <bp-checks.h>.
60298         (___lxstat64): Do not use CHECK_1.
60299         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
60300         (__old_msgctl): Do not use CHECK_1.
60301         (__new_msgctl): Likewise.
60302         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
60303         <bp-checks.h>.
60304         (__gettimeofday): Do not use CHECK_1.
60305         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
60306         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
60307         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
60308         <bp-checks.h>.
60309         (__gettimeofday): Do not use CHECK_1.
60310         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
60311         (__old_shmctl): Do not use CHECK_1_NULL_OK.
60312         (__new_shmctl): Do not use CHECK_1.
60313         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
60314         <bp-checks.h>.
60315         (do_sigtimedwait): Do not use CHECK_1.
60316         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
60317         <bp-checks.h>.
60318         (do_sigwaitinfo): Do not use CHECK_1.
60319         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
60320         <bp-checks.h>.
60321         (msgctl): Do not use CHECK_1.
60322         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
60323         <bp-checks.h>.
60324         (shmctl): Do not use CHECK_1.
60325         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
60326         (ustat): Do not use CHECK_1.
60327         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
60328         <bp-checks.h>.
60329         (__fxstat): Do not use CHECK_1.
60330         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
60331         <bp-checks.h>.
60332         (__fxstatat): Do not use CHECK_1.
60333         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
60334         <bp-checks.h>.
60335         (__lxstat): Do not use CHECK_1.
60336         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
60337         <bp-checks.h>.
60338         (__xstat): Do not use CHECK_1.
60339         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
60340         (__xstat): Do not use CHECK_1.
60341         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
60342         (___xstat64): Do not use CHECK_1.
60344         [BZ #13550]
60345         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
60346         definitions.
60347         (CHECK_BOUNDS_HIGH): Likewise.
60348         * string/strcpy.c: Do not include <bp-checks.h>.
60349         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
60351 2013-02-07  Roland McGrath  <roland@hack.frob.com>
60353         * nscd/nscd-client.h (__nscd_drop_map_ref):
60354         Add __attribute__ ((unused)).
60355         * nis/nss-nisplus.h (niserr2nss): Likewise.
60357         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
60358         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
60360         * csu/libc-tls.c (init_static_tls, init_slotinfo):
60361         Remove inline keyword.
60362         * include/rounding-mode.h (round_away): Likewise.
60363         * libio/wfileops.c (adjust_wide_data): Likewise.
60364         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
60365         (__m128i_strloadu_tolower): Likewise.
60366         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
60367         (__m128i_strloadu_tolower): Likewise.
60368         * time/mktime.c (ydhms_diff): Likewise.
60369         * locale/elem-hash.h (elem_hash): Likewise.
60370         * locale/setlocale.c (setdata): Likewise.
60371         * posix/regex_internal.h (re_string_char_size_at): Likewise.
60372         (re_string_wchar_at): Likewise.
60373         (bitset_not, bitset_merge, bitset_mask): Likewise.
60374         [!(__GNUC__ > 3)] (inline): Remove macro.
60375         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
60376         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
60377         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
60378         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
60379         * string/memcmp.c (memcmp_bytes): Likewise.
60380         * locale/programs/locarchive.c (compute_hashval): Likewise.
60381         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
60382         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
60383         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
60384         * nss/getent.c (print_rpc, print_protocols): Likewise.
60385         (print_passwd, print_group, print_aliases): Likewise.
60386         * nis/nss-nisplus.h (niserr2nss): Likewise.
60387         * nscd/connections.c (restart_p): Likewise.
60388         Change return type to bool.
60390 2013-02-05  Roland McGrath  <roland@hack.frob.com>
60392         * Makeconfig (all-Depend-files): Add existing
60393         $(sorted-subdirs:=/Depend) files.
60394         (all-subdirs): Remove nss.
60395         * sysdeps/unix/inet/Subdirs: Add it here instead.
60396         * hesiod/Depend: New file.
60398         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
60399         instead of calling alloca.
60401         * io/lseek.c (__lseek): Rename to __libc_lseek.
60402         Define __lseek as an alias.
60404         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
60406 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
60408         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
60409         else clause and remove check for non-standard endianness.
60411 2013-02-04  David S. Miller  <davem@davemloft.net>
60413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60415 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
60417         [BZ #13550]
60418         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
60419         (__ubp_memchr): Remove prototype.
60420         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
60421         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60422         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
60423         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
60424         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
60425         Remove alias.
60426         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
60427         (__ubp_memchr): Likewise.
60428         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
60429         (__ubp_memchr): Likewise.
60430         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
60431         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
60432         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
60433         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
60434         CHECK_STRING.
60435         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
60436         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
60437         (__getcwd): Do not use CHECK_STRING.
60438         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
60439         <bp-checks.h>.
60440         (__real_chown): Do not use CHECK_STRING.
60441         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
60442         <bp-checks.h>.
60443         (fchownat): Do not use CHECK_STRING.
60444         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
60445         CHECK_STRING.
60446         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
60447         <bp-checks.h>.
60448         (__lchown): Do not use CHECK_STRING.
60449         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60450         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60451         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60452         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
60453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
60454         include <bp-checks.h>.
60455         (truncate64): Do not use CHECK_STRING.
60456         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60457         <bp-checks.h>.
60458         (__real_chown): Do not use CHECK_STRING.
60459         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60460         <bp-checks.h>.
60461         (__lchown): Do not use CHECK_STRING.
60462         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60463         <bp-checks.h>.
60464         (__chown): Do not use CHECK_STRING.
60465         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
60466         <bp-checks.h>.
60467         (truncate64): Do not use CHECK_STRING.
60468         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
60469         Likewise.
60470         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
60471         (__xmknod): Do not use CHECK_STRING.
60472         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
60473         <bp-checks.h>.
60474         (__xmknodat): Do not use CHECK_STRING.
60475         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60476         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
60478 2013-02-04  Andreas Schwab  <schwab@suse.de>
60480         [BZ #14142]
60481         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
60482         * include/netdb.h: Likewise for h_errno.
60483         * elf/tst-stackguard1.c: Include <tls.h>.
60485 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
60487         * elf/link.h (struct link_map): Extend the l_addr comment.
60488         * include/link.h (struct link_map): Likewise.
60490 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
60492         [BZ #13550]
60493         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
60494         (BOUNDED_1): Remove macro.
60495         * debug/backtrace.c: Don't include <bp-checks.h>.
60496         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
60497         (__backtrace): Likewise.
60498         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
60499         <bp-checks.h>.
60500         (__backtrace): Don't use BOUNDED_1.
60501         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
60502         <bp-checks.h>.
60503         (__backtrace): Don't use BOUNDED_1.
60504         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
60505         (__backtrace): Don't use BOUNDED_1.
60506         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
60507         (shmat): Don't use BOUNDED_N.
60509 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
60511         [BZ #13550]
60512         * sysdeps/generic/bp-start.h: Remove file.
60513         * csu/libc-start.c: Don't include <bp-start.h>.
60514         (LIBC_START_MAIN): Set up __environ directly instead of using
60515         INIT_ARGV_and_ENVIRON.
60516         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
60517         <bp-start.h>.
60519         [BZ #13550]
60520         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
60521         definitions.
60522         (CHECK_FCNTL): Likewise.
60523         (CHECK_N_PAGES): Likewise.
60525         [BZ #13550]
60526         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
60527         definitions.
60528         (CHECK_SIGSET_NULL_OK): Likewise.
60529         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
60530         <bp-checks.h>.
60531         (sigpending): Don't use CHECK_SIGSET.
60532         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
60533         <bp-checks.h>.
60534         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60535         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
60536         <bp-checks.h>.
60537         (do_sigsuspend): Don't use CHECK_SIGSET.
60538         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
60539         use CHECK_SIGSET.
60540         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
60541         (do_sigwait): Don't use CHECK_SIGSET.
60542         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
60543         use CHECK_SIGSET.
60544         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
60545         include <bp-checks.h>.
60546         (sigpending): Don't use CHECK_SIGSET.
60547         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
60548         include <bp-checks.h>.
60549         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60550         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
60551         <bp-checks.h>.
60552         (sigpending): Don't use CHECK_SIGSET.
60553         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
60554         <bp-checks.h>.
60555         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
60557         [BZ #13550]
60558         * sysdeps/generic/bp-semctl.h: Remove file.
60559         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
60560         <bp-checks.h> and <bp-semctl.h>.
60561         (__old_semctl): Don't use CHECK_SEMCTL.
60562         (__new_semctl): Likewise.
60563         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
60564         and <bp-semctl.h>.
60565         (__old_semctl): Don't use CHECK_SEMCTL.
60566         (__new_semctl): Likewise.
60567         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
60568         <bp-checks.h> and <bp-semctl.h>.
60569         (__old_semctl): Don't use CHECK_SEMCTL.
60570         (__new_semctl): Likewise.
60571         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
60572         <bp-checks.h> and <bp-semctl.h>.
60573         (semctl): Don't use CHECK_SEMCTL.
60575         [BZ #13550]
60576         * Makerules (elide-bp-thunks): Remove variable.
60577         (elide-routines.oS): Don't use $(elide-bp-thunks).
60578         (elide-routines.os): Likewise.
60579         (elide-routines.o): Likewise.
60580         (elide-routines.op): Likewise.
60581         (elide-routines.og): Likewise.
60582         (objects): Don't use $(bp-thunks).
60583         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
60584         include.
60585         (common-generated): Do not add s-proto-bp.d.
60586         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
60587         (int): Likewise.
60588         (typ): Likewise.
60589         Do not generate makefile rules for bounded-pointer thunks.
60590         * sysdeps/generic/bp-thunks.h: Remove file.
60591         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
60592         * sysdeps/unix/s-proto-bp.S: Likewise.
60594         [BZ #15062]
60595         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
60596         parts of result separately when argument is not close to line from
60597         -i to i and one part of argument is small.
60598         * math/k_casinhf.c (__kernel_casinhf): Likewise.
60599         * math/k_casinhl.c (__kernel_casinhl): Likewise.
60600         * math/libm-test.inc (cacos_test): Add more tests.
60601         (casin_test): Likewise.
60602         (casinh_test): Likewise.
60603         * sysdeps/i386/fpu/libm-test-ulps: Update.
60604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60606 2013-01-31  David S. Miller  <davem@davemloft.net>
60608         * po/de.po: Update from translation team.
60610 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
60612         * time/tzfile.c: Include stdint.h for SIZE_MAX.
60614 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
60616         * configure.in (_AC_PROG_CC_C89): New definition.
60617         * configure: Regenerate.
60619         * configure.in (AC_PROG_CPP): New definition.
60620         * configure: Regenerate.
60622 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60624         * debug/tst-backtrace.h: New file.
60625         * debug/tst-backtrace2.c: Include tst-backtrace.h.
60626         (ret): Remove variable.
60627         (x): Likewise.
60628         (FAIL): Remove macro.
60629         (NO_INLINE): Likewise.
60630         (fn1): Use match function instead of strstr.
60631         * debug/tst-backtrace3.c: Include tst-backtrace.h.
60632         (ret): Remove variable.
60633         (x): Likewise.
60634         (FAIL): Remove macro.
60635         (NO_INLINE): Likewise.
60636         (fn): Use match function instead of strstr.
60637         * debug/tst-backtrace4.c: Include tst-backtrace.h.
60638         (ret): Remove variable.
60639         (x): Likewise.
60640         (FAIL): Remove macro.
60641         (NO_INLINE): Likewise.
60642         (handle_signal): Use match function instead of strstr.
60643         * debug/tst-backtrace5.c: Include tst-backtrace.h.
60644         (ret): Remove variable.
60645         (x): Likewise.
60646         (FAIL): Remove macro.
60647         (NO_INLINE): Likewise.
60648         (handle_signal): Use match function instead of strstr.
60650 2013-01-23  Roland McGrath  <roland@hack.frob.com>
60652         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
60654 2013-01-23  David S. Miller  <davem@davemloft.net>
60656         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
60657         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
60658         argument of CAS if possible.
60659         * sysdeps/sparc/sparc64/bits/atomic.h
60660         (__arch_compare_and_exchange_val_32_acq): Likewise.
60661         (__arch_compare_and_exchange_val_64_acq): Likewise.
60663 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
60665         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
60666         * sysdeps/posix/ulimit.c: ... this.
60667         Include <limits.h>.
60668         * sysdeps/unix/bsd/ulimit.c: Remove file.
60670 2013-01-23  Adam Conrad  <adconrad@0c3.net>
60672         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
60673         (LDFLAGS-tst-array5): Likewise.
60675 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
60677         [BZ #15036]
60678         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
60679         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
60680         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
60681         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
60683 2013-01-21  David S. Miller  <davem@davemloft.net>
60685         * sysdeps/sparc/backtrace.c: New file.
60686         * sysdeps/sparc/sparc32/backtrace.h: New file.
60687         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
60688         * sysdeps/sparc/sparc64/backtrace.h: New file.
60689         * sysdeps/sparc/sparc64/backtrace.c: Delete.
60690         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
60691         -funwind-tables.
60693 2013-01-21  Andreas Schwab  <schwab@suse.de>
60695         [BZ #15020]
60696         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
60697         closed its stdout.
60699 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
60701         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
60702         "mpa2.h".
60703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60705 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
60706             Mark Mitchell  <mark@codesourcery.com>
60707             Tom de Vries  <tom@codesourcery.com>
60708             Paul Pluzhnikov  <ppluzhnikov@google.com>
60710         * debug/tst-backtrace2.c: New file.
60711         * debug/tst-backtrace3.c: Likewise.
60712         * debug/tst-backtrace4.c: Likewise.
60713         * debug/tst-backtrace5.c: Likewise.
60714         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
60715         (CFLAGS-tst-backtrace3.c): Likewise.
60716         (CFLAGS-tst-backtrace4.c): Likewise.
60717         (CFLAGS-tst-backtrace5.c): Likewise.
60718         (LDFLAGS-tst-backtrace2): Likewise.
60719         (LDFLAGS-tst-backtrace3): Likewise.
60720         (LDFLAGS-tst-backtrace4): Likewise.
60721         (LDFLAGS-tst-backtrace5): Likewise.
60722         (tests): Add new tests tst-backtrace2, tst-backtrace3,
60723         tst-backtrace4 and tst-backtrace5.
60725 2013-01-18  Anton Blanchard  <anton@samba.org>
60726             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60728         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
60729         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
60730         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
60731         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
60732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60733         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
60734         "+r" and remove output regs list as redundant.  Add explicit inline
60735         asm to specify register of return val to work around compiler codegen
60736         bug.  Remove (int) cast on return value.  Add return type parameter to
60737         use in macro so that this macro does not truncate return value for
60738         64-bit values.
60739         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
60740         pass to INTERNAL_VSYSCALL_NCS.
60741         (INLINE_VSYSCALL): Add 'long int' as return type to
60742         INTERNAL_VSYSCALL_NCS macro invocation.
60743         (INTERNAL_VSYSCALL): Add 'long int' as return type to
60744         INTERNAL_VSYSCALL_NCS macro invocation.
60745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
60747 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60749         [BZ #14496]
60750         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
60751         Fix application of SIMD FP exception mask.
60753         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
60754         mp_no from a power of two.
60755         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
60756         __mpexp_twomm1.  Use __pow_mp.
60758         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
60759         multiplication.
60761 2013-01-17  David S. Miller  <davem@davemloft.net>
60763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60765 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60767         [BZ #15023]
60768         * include/complex.h: Condition contents on [!_COMPLEX_H].
60769         (__kernel_casinhf): New prototype.
60770         (__kernel_casinh): Likewise.
60771         (__kernel_casinhl): Likewise.
60772         * math/Makefile (libm_calls): Add k_casinh.
60773         * math/k_casinh.c: New file.
60774         * math/k_casinhf.c: Likewise.
60775         * math/k_casinhl.c: Likewise.
60776         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
60777         finite nonzero arguments.
60778         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
60779         finite nonzero arguments.
60780         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
60781         finite nonzero arguments.
60782         * math/s_casinh.c: Do not include <float.h>.
60783         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
60784         * math/s_casinhf.c: Do not include <float.h>.
60785         (__casinhf): Move code for finite nonzero arguments to
60786         k_casinhf.c.
60787         * math/s_casinhl.c: Do not include <float.h>.
60788         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
60789         redefine.
60790         (__casinhl): Move code for finite nonzero arguments to
60791         k_casinhl.c.
60792         * math/libm-test.inc (cacos_test): Add more tests.
60793         * sysdeps/i386/fpu/libm-test-ulps: Update.
60794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60796 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
60798         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
60799         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
60800         [!HAVE_MREMAP]: Remove [defined linux] case.
60801         * malloc/arena.c: Do not include <malloc-sysdep.h>.
60803 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
60805         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
60807 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
60809         * elf/elf.h (R_386_SIZE32): New relocation.
60810         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
60811         R_386_SIZE32.
60812         (elf_machine_rela): Likewise.
60813         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
60814         R_X86_64_SIZE64 and R_X86_64_SIZE32.
60816 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
60818         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
60819         (FP_FAST_FMA): Do not define.
60820         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
60821         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
60822         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
60823         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
60824         !_SOFT_FLOAT]: Likewise.
60825         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
60826         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
60827         value.
60828         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
60829         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
60830         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
60831         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
60832         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
60833         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
60834         file.
60836 2013-01-16  Andreas Schwab  <schwab@suse.de>
60838         [BZ #14327]
60839         * include/stdlib.h (__mktemp): Add declaration.
60840         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
60841         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
60843 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60845         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
60846         definitions.
60847         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
60848         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
60849         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
60850         definitions here.
60851         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
60852         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
60853         definitions.
60854         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
60855         and ONE.
60856         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
60857         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
60858         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
60859         definitions.
60860         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
60861         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
60862         definitions.
60863         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
60865         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
60867 2013-01-15  David S. Miller  <davem@davemloft.net>
60869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60870         trunc{,f} to libm-sysdep_routes.
60871         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
60873         file.
60874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
60875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
60876         file.
60877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
60878         file.
60879         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
60880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
60881         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
60882         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
60883         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
60884         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
60885         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
60886         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
60888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60889         nearbyint{,f} to libm-sysdep_routes.
60890         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
60892         New file.
60893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
60894         file.
60895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
60896         New file.
60897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
60898         file.
60899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
60900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
60901         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
60902         file.
60903         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
60904         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
60905         file.
60906         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
60907         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
60908         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
60910         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60911         libc_feholdexcept and libc_fesetenv.
60913 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
60915         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
60917 2013-01-14  David S. Miller  <davem@davemloft.net>
60919         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
60920         (SPARC_ASM_VIS2_IFUNC): Likewise.
60921         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
60922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
60923         use of 'siam' instruction.
60924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
60925         Likewise.
60926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
60927         Likewise.
60928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
60929         Likewise.
60930         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
60931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
60932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
60933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
60934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
60935         file.
60936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
60937         file.
60938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
60939         file.
60940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
60941         file.
60942         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
60943         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
60944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
60945         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
60946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
60947         new VIS2 routines.
60948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
60949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
60950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
60951         Likewise.
60952         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
60953         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
60954         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
60955         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
60956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
60957         routines to libm-sysdep_routines.
60958         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
60960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
60961         fdim/fdimf to libm-sysdep_routines.
60962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
60963         file.
60964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
60965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
60966         file.
60967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
60968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
60969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
60970         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
60971         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
60972         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
60973         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
60975 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60977         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
60978         to optimize copies.
60980         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
60981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
60982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
60984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
60985         local variable MPTWO.
60986         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60987         Likewise.
60989 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60991         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
60992         GLOB_NOESCAPE.
60994 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
60996         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
60998 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61000         * manual/pattern.texi (glob_t): Document gl_flags.
61001         (glob64_t): Likewise.
61003 2013-01-11  David S. Miller  <davem@davemloft.net>
61005         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61006         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61007         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61008         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61009         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61010         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61011         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61012         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61013         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61014         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61015         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61016         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61017         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61019         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61020         sparc V9 rather than using V8 code.
61021         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61022         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61024         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61025         Move to...
61026         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61027         Here.
61029 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61031         [BZ #14941]
61032         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61033         not in the main loop.
61034         * configure: Regenerated.
61036 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61038         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61039         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61040         to just #else.
61041         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61042         [!__GLIBC_HAVE_LONG_LONG] case.
61043         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61044         condition to just #else.
61045         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61046         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61047         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61048         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61049         unconditional.
61050         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61051         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61052         #elif condition to just #else.
61053         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61054         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61055         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61056         #elif condition to just #else.
61058 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61060         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61061         (EF_MIPS_ARCH_64): Fix value.
61062         (EF_MIPS_ARCH_32R2): New.
61063         (EF_MIPS_ARCH_64R2): New.
61065 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61067         * Makeconfig (+link-pie-before-libc): New.
61068         (+link-pie-after-libc): Likewise.
61069         (+link-pie-tests): Likewise.
61070         (+link-pie): Rewritten.
61071         (link-before-libc): Remove $(config-LDFLAGS).
61072         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61073         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61074         (config-LDFLAGS): Renamed to ...
61075         (rtld-LDFLAGS): This.
61076         (rtld-tests-LDFLAGS): New macro.
61077         (link-libc-rpath-link): Likewise.
61078         (link-libc-tests-rpath-link): Likewise.
61079         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61080         (link-libc): Prepand $(link-libc-rpath-link).
61081         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61082         (test-program-prefix): New macro.
61083         (test-via-rtld-prefix): Likewise.
61084         (test-program-cmd): Likewise.
61085         (host-test-program-cmd): Likewise.
61086         * Makefile ($(common-objpfx)testrun.sh): Replace
61087         $(run-program-prefix) with $(test-program-prefix).
61088         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61089         $(rtld-LDFLAGS).
61090         ($(common-objpfx)shlib.lds): Likewise.
61091         (build-module-helper): Likewise.
61092         ($(common-objpfx)format.lds): Likewise.
61093         * Rules (binaries-pie-tests): New.
61094         (binaries-pie-notests): Likewise.
61095         (binaries-pie): Rewritten.
61096         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61097         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61098         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61099         (make-test-out): Replace $(host-built-program-cmd) with
61100         $(host-test-program-cmd).
61101         * config.make.in (build-hardcoded-path-in-tests): New variable.
61102         * configure.in (--enable-hardcoded-path-in-tests): New configure
61103         option.
61104         (hardcoded_path_in_tests): New AC_SUBST.
61105         * configure: Regenerated.
61106         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61107         $(built-program-cmd) with $(test-program-cmd).
61108         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61109         (test_program_cmd): This.
61110         * elf/Makefile ($(objpfx)order.out): Run test with
61111         $(test-program-prefix).
61112         ($(objpfx)order2.out): Likewise.
61113         ($(objpfx)tst-initorder.out): Likewise.
61114         ($(objpfx)tst-initorder2.out): Likewise.
61115         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61116         $(test-program-cmd).
61117         ($(objpfx)tst-array1-static.out): Likewise.
61118         ($(objpfx)tst-array2.out): Likewise.
61119         ($(objpfx)tst-array3.out): Likewise.
61120         ($(objpfx)tst-array4.out): Likewise.
61121         ($(objpfx)tst-array5.out): Likewise.
61122         ($(objpfx)tst-array5-static.out): Likewise.
61123         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61124         $(test-program-cmd).
61125         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61126         $(run-program-prefix) with $(test-program-prefix).
61127         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61128         (test_program_prefix): This.
61129         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61130         $(run-program-prefix) with $(test-program-prefix).
61131         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61132         (test_program_prefix): This.
61133         * iconvdata/tst-tables.sh: Likewise.
61134         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
61135         $(run-program-prefix) with $(test-program-prefix).
61136         ($(objpfx)tst-translit.out): Likewise.
61137         ($(objpfx)tst-gettext2.out): Likewise.
61138         ($(objpfx)tst-gettext4.out): Likewise.
61139         ($(objpfx)tst-gettext6.out): Likewise.
61140         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
61141         (test_program_prefix): This.
61142         * intl/tst-gettext2.sh: Likewise.
61143         * intl/tst-gettext4.sh  Likewise.
61144         * intl/tst-gettext6.sh: Likewise.
61145         * intl/tst-translit.sh: Likewise.
61146         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
61147         with $(test-program-cmd).
61148         * libio/Makefile ($(objpfx)test-freopen.out): Replace
61149         $(run-program-prefix) with $(test-program-prefix).
61150         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
61151         (test_program_prefix): This.
61152         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
61153         $(run-program-prefix) with $(test-program-prefix).
61154         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
61155         (test_program_prefix): This.
61156         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
61157         * posix/Makefile ($(objpfx)globtest.out): Replace
61158         $(run-via-rtld-prefix) and $(test-wrapper) with
61159         $(test-program-prefix) and $(test-via-rtld-prefix).
61160         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
61161         $(test-program-prefix).
61162         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
61163         $(host-test-program-cmd).
61164         (tst-spawn-ARGS): Likewise.
61165         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
61166         $(test-program-prefix).
61167         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
61168         (test_via_rtld_prefix): This.
61169         (test_wrapper): Renamed to ...
61170         (test_program_prefix): This.
61171         (run_program_prefix): Replaced by test_program_prefix.
61172         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
61173         (test_program_prefix): This.
61174         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
61175         with $(host-test-program-cmd).
61176         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
61177         $(run-program-prefix) with $(test-program-prefix).
61178         ($(objpfx)tst-printf.out): Likewise.
61179         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
61180         $(test-program-cmd).
61181         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
61182         (test_program_prefix): This.
61183         * stdio-common/tst-unbputc.sh: Likewise.
61184         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
61185         $(run-program-prefix) with $(test-program-prefix).
61186         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
61187         (test_program_prefix): This.
61188         * string/Makefile ($(objpfx)tst-svc.out):  Replace
61189         $(built-program-cmd) with $(test-program-cmd).
61191 2013-01-11  Andreas Jaeger  <aj@suse.de>
61193         [BZ #15003]
61194         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
61195         value. Sync with Linux 3.7.
61197 2013-01-10  David S. Miller  <davem@davemloft.net>
61199         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
61200         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61201         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61203 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61205         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
61206         never set.
61207         * configure: Regenerated.
61209 2013-01-10  David S. Miller  <davem@davemloft.net>
61211         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61212         sparc V9 rather than using V8 code.
61213         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61214         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61216 2013-01-10  Roland McGrath  <roland@hack.frob.com>
61218         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
61219         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
61220         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
61221         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
61222         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
61223         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
61224         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
61225         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
61226         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
61227         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
61228         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
61229         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
61230         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
61231         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
61232         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
61233         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
61234         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
61235         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
61236         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
61237         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
61238         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
61239         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
61240         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
61241         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
61242         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
61243         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
61244         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
61246 2013-01-10  David S. Miller  <davem@davemloft.net>
61248         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61250 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61252         * posix/Makefile (tests-static): New variable.
61253         (tests): Add $(tests-static).
61254         (tst-exec-static-ARGS): New variable.
61255         (tst-spawn-static-ARGS): Likewise.
61256         * posix/tst-exec-static.c: New file.
61257         * posix/tst-spawn-static.c: Likewise.
61258         * posix/tst-exec.c: Support run directly.
61259         * posix/tst-spawn.c: Likewise.
61261 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
61263         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
61264         long.
61265         * math/bits/mathcalls.h (llrint): Likewise.
61266         (llround): Likewise.
61267         * stdlib/stdlib.h (struct drand48_data): Likewise.
61268         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
61269         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
61270         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
61271         Likewise.
61272         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
61273         Likewise.
61274         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
61275         (elf_greg_t): Likewise.
61276         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
61277         (__jmp_buf): Likewise.
61278         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
61279         definitions.
61280         (llrint): Likewise, for all definitions.
61281         (llrintl): Likewise.
61283         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
61284         Remove [__GNUC__] condition.
61285         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
61286         condition to just [__USE_ISOC99].
61287         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
61289 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
61291         [BZ #14200]
61292         * sysdeps/unix/sysv/linux/x86/bits/environments.h
61293         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
61294         defined.
61295         (_POSIX_V6_ILP32_OFF32): Likewise.
61296         (_XBS5_ILP32_OFF32): Likewise.
61297         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
61298         (__ILP32_OFFBIG_LDFLAGS): Likewise.
61300 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61302         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
61304         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
61305         doubles __mpexp_twomm1.  Adjust usage.
61306         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
61307         Remove.
61309 2013-01-10  Andreas Schwab  <schwab@suse.de>
61311         [BZ #14964]
61312         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
61313         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
61315 2013-01-09  David S. Miller  <davem@davemloft.net>
61317         [BZ #15003]
61318         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
61319         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
61320         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
61321         (TCP_FASTOPEN): Define.
61322         (tcp_repair_opt): New structure.
61323         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
61324         enum values.
61325         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
61326         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
61327         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
61328         (tcp_cookie_transactions): New structure.
61330 2013-01-09  Anton Blanchard  <anton@samba.org>
61332         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
61333         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
61334         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
61335         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
61337 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
61339         * include/features.h (__USE_ANSI): Remove.
61341 2013-01-09  Roland McGrath  <roland@hack.frob.com>
61343         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
61345         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
61347 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
61349         * sysdeps/s390/fpu/libm-test-ulps: Update.
61351         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61353         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
61354         (__acr): Likewise.
61355         (__cpy): Likewise.
61356         (norm): Likewise.
61357         (denorm): Likewise.
61358         (__mp_dbl): Likewise.
61359         (__dbl_mp): Likewise.
61360         (add_magnitudes): Likewise.
61361         (sub_magnitudes): Likewise.
61362         (__add): Likewise.
61363         (__sub): Likewise.
61364         (__mul): Likewise.
61365         (__inv): Likewise.
61366         (__dvd): Likewise.
61367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
61368         (__acr): Likewise.
61369         (__cpy): Likewise.
61370         (norm): Likewise.
61371         (denorm): Likewise.
61372         (__mp_dbl): Likewise.
61373         (__dbl_mp): Likewise.
61374         (add_magnitudes): Likewise.
61375         (sub_magnitudes): Likewise.
61376         (__add): Likewise.
61377         (__sub): Likewise.
61378         (__mul): Likewise.
61379         (__inv): Likewise.
61380         (__dvd): Likewise.
61381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
61382         (__acr): Likewise.
61383         (__cpy): Likewise.
61384         (norm): Likewise.
61385         (denorm): Likewise.
61386         (__mp_dbl): Likewise.
61387         (__dbl_mp): Likewise.
61388         (add_magnitudes): Likewise.
61389         (sub_magnitudes): Likewise.
61390         (__add): Likewise.
61391         (__sub): Likewise.
61392         (__mul): Likewise.
61393         (__inv): Likewise.
61394         (__dvd): Likewise.
61396 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
61398         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
61399         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
61400         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
61401         2 && __USE_EXTERN_INLINES]: Likewise.
61403 2013-01-08  Andreas Jaeger  <aj@suse.de>
61405         [BZ# 14985]
61406         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
61407         Remove.
61408         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61409         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
61411 2013-01-07  Anton Blanchard  <anton@samba.org>
61413         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
61414         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
61415         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
61416         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
61417         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61418         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
61419         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
61420         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61421         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61422         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61423         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
61424         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
61425         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
61426         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61427         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
61428         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
61429         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
61430         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
61431         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
61432         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61433         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
61434         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
61435         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
61436         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
61437         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
61438         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61439         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61440         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
61441         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
61442         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
61443         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
61444         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61445         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61446         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
61447         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
61448         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
61449         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
61450         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
61451         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
61452         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
61453         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
61454         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61455         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
61457 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
61459         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
61460         (__MALLOC_PMT): Likewise.
61461         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
61462         [__GNUC__], only on [_LIBC].
61463         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61464         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
61465         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
61466         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
61467         forward declaration.
61468         (realloc_hook_ini): Likewise.
61469         (memalign_hook_ini): Likewise.
61470         (__libc_memalign): Do not use __MALLOC_PMT in variable
61471         declaration.
61472         (__libc_valloc): Likewise.
61473         (__libc_pvalloc): Likewise.
61474         (__libc_calloc): Likewise.
61475         (__posix_memalign): Likewise.
61477         [BZ #14996]
61478         * math/s_casinh.c: Include <float.h>.
61479         (__casinh): Do not do computation with squaring and square root
61480         for large arguments.
61481         * math/s_casinhf.c: Include <float.h>.
61482         (__casinhf): Do not do computation with squaring and square root
61483         for large arguments.
61484         * math/s_casinhl.c: Include <float.h>.
61485         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
61486         (__casinhl): Do not do computation with squaring and square root
61487         for large arguments.
61488         * math/libm-test.inc (casin_test): Add more tests.
61489         (casinh_test): Likewise.
61490         * sysdeps/i386/fpu/libm-test-ulps: Update.
61491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61493 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
61495         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
61496         (__x86_64_raw_data_cache_size): Likewise.
61497         (__x86_64_data_cache_size_half): Likewise.
61498         (__x86_64_raw_data_cache_size_half): Likewise.
61499         (__x86_64_shared_cache_size): Likewise.
61500         (__x86_64_raw_shared_cache_size): Likewise.
61501         (__x86_64_shared_cache_size_half): Likewise.
61502         (__x86_64_raw_shared_cache_size_half): Likewise.
61503         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
61504         to ...
61505         (__x86_data_cache_size): This.
61506         (__x86_64_raw_data_cache_size): Renamed to ...
61507         (__x86_raw_data_cache_size): This.
61508         (__x86_64_data_cache_size_half): Renamed to ...
61509         (__x86_data_cache_size_half): This.
61510         (__x86_64_raw_data_cache_size_half): Renamed to ...
61511         (__x86_raw_data_cache_size_half): This.
61512         (__x86_64_shared_cache_size): Renamed to ...
61513         (__x86_shared_cache_size): This.
61514         (__x86_64_raw_shared_cache_size): Renamed to ...
61515         (__x86_raw_shared_cache_size): This.
61516         (__x86_64_shared_cache_size_half): Renamed to ...
61517         (__x86_shared_cache_size_half): This.
61518         (__x86_64_raw_shared_cache_size_half): Renamed to ...
61519         (__x86_raw_shared_cache_size_half): This.
61520         * sysdeps/x86_64/memcpy.S: Updated.
61521         * sysdeps/x86_64/memset.S: Likewise.
61522         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61523         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61524         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61526 2013-01-04  David S. Miller  <davem@davemloft.net>
61528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61530 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
61532         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
61533         1 to avoid redefinition warning.
61534         (__USE_GNU): Don't define.
61535         (init_signaling_nan): Protoize.
61537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61539 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61541         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
61542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
61543         (__cpymn): Likewise.
61544         (norm): Remove commented code.
61545         (denorm): Likewise.
61546         (__mp_dbl): Likewise.
61547         (__inv): Likewise.
61548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
61549         (__cpymn): Likewise.
61550         (norm): Remove commented code.
61551         (denorm): Likewise.
61552         (__mp_dbl): Likewise.
61553         (__inv): Likewise.
61555         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
61556         mp_no value for 1.0 and 2.0.
61557         (norm): Use RADIXI instead of radixi.d.
61558         (denorm): Likewise.
61559         (__mul): Use 0.0 instead of zero.d.
61560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
61561         mp_no value for 1.0 and 2.0.
61562         (norm): Use RADIXI instead of radixi.d.
61563         (denorm): Likewise.
61564         (__mul): Use 0.0 instead of zero.d.
61566 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
61568         [BZ #14994]
61569         * math/s_casinh.c (__casinh): Reduce finite argument to first
61570         quadrant then set signs of results at the end.
61571         * math/s_casinhf.c (__casinhf): Likewise.
61572         * math/s_casinhl.c (__casinhl): Likewise.
61573         * math/libm-test.inc (casin_test): Add more tests.
61574         (casinh_test): Likewise.
61575         * sysdeps/i386/fpu/libm-test-ulps: Update.
61576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61578 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61580         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
61582         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
61584         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
61585         declarations.
61586         (denorm): Likewise.
61587         (__mp_dbl): Likewise.
61588         (__inv): Likewise.
61590         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
61591         and adjust the header comment.
61593         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
61594         variable name from declaration.
61596 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
61598         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61599         Initialize COMMON_CPUID_INDEX_7 element.
61600         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
61601         (CPUID_RTM): Likewise.
61602         (HAS_RTM): Likewise.
61603         (COMMON_CPUID_INDEX_7): New enum.
61605 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
61607         [BZ #14981]
61608         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
61609         size is zero, record memory as freed.
61611 2013-01-03  Andreas Jaeger  <aj@suse.de>
61613         * po/ia.po: Add new Interlingua translation.
61615 2012-01-03  Allan McRae  <allan@archlinux.org>
61617         * locale/programs/localedef.c: Fix description of '--posix' flag.
61619 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
61621         * NEWS: Update dates in second copyright notice.
61622         * README: Update copyright dates in example.
61623         * manual/libc.texinfo: Update copyright dates.
61624         * scripts/test-installation.pl: Update copyright date in --version
61625         output.
61627         * hurd/ctty-input.c: Fix copyright notice formatting.
61628         * hurd/ctty-output.c: Likewise.
61629         * hurd/dtable.c: Likewise.
61630         * hurd/hurd-raise.c: Likewise.
61631         * hurd/hurdprio.c: Likewise.
61632         * hurd/msgportdemux.c: Likewise.
61633         * misc/sys/file.h: Likewise.
61634         * misc/sys/ioctl.h: Likewise.
61635         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61636         * sysdeps/mach/hurd/chdir.c: Likewise.
61637         * sysdeps/mach/hurd/fchdir.c: Likewise.
61638         * sysdeps/mach/hurd/rename.c: Likewise.
61639         * sysdeps/mach/hurd/rmdir.c: Likewise.
61640         * sysdeps/mach/hurd/seekdir.c: Likewise.
61641         * sysdeps/mach/hurd/setsid.c: Likewise.
61642         * sysdeps/posix/wait3.c: Likewise.
61644         * All files with FSF copyright notices: Update copyright dates
61645         using scripts/update-copyrights.
61646         * intl/plural.c: Regenerated.
61647         * locale/programs/charmap-kw.h: Likewise.
61648         * locale/programs/locfile-kw.h: Likewise.
61650 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61652         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
61653         four values.
61655         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
61656         calculation loop and add branch prediction.
61658         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
61659         check access beyond bounds of m1np.
61661         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61662         MPTWO.
61663         (__inv): Remove local variable MPTWO to use the global
61664         constant.
61665         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
61666         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61667         variable MPTWO.
61668         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
61669         MP3HALFS static const.
61671 2013-01-01  David S. Miller  <davem@davemloft.net>
61673         * po/ca.po: Update from translation team.
61675 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
61677         * scripts/update-copyrights: New file.
61678         * Makeconfig: Reformat copyright notice.
61679         * ctype/ctype.h: Likewise.
61680         * debug/swprintf_chk.c: Likewise.
61681         * elf/dl-cache.c: Likewise.
61682         * elf/dl-debug.c: Likewise.
61683         * elf/dl-object.c: Likewise.
61684         * grp/initgroups.c: Likewise.
61685         * hurd/Makefile: Likewise.
61686         * hurd/hurd/signal.h: Likewise.
61687         * hurd/hurdfault.c: Likewise.
61688         * hurd/hurdioctl.c: Likewise.
61689         * hurd/hurdlookup.c: Likewise.
61690         * hurd/intr-msg.c: Likewise.
61691         * iconv/gconv_open.c: Likewise.
61692         * libio/swprintf.c: Likewise.
61693         * locale/lc-ctype.c: Likewise.
61694         * locale/nl_langinfo.c: Likewise.
61695         * mach/Machrules: Likewise.
61696         * mach/Makefile: Likewise.
61697         * malloc/obstack.h: Likewise.
61698         * manual/Makefile: Likewise.
61699         * manual/tsort.awk: Likewise.
61700         * misc/bits/stab.def: Likewise.
61701         * nis/nis_print_group_entry.c: Likewise.
61702         * nis/nis_table.c: Likewise.
61703         * nis/nss_compat/compat-pwd.c: Likewise.
61704         * nis/nss_compat/compat-spwd.c: Likewise.
61705         * po/Makefile: Likewise.
61706         * posix/fnmatch.c: Likewise.
61707         * posix/regex.h: Likewise.
61708         * resolv/Makefile: Likewise.
61709         * resolv/nss_dns/dns-network.c: Likewise.
61710         * resolv/res_hconf.c: Likewise.
61711         * scripts/gen-sorted.awk: Likewise.
61712         * soft-fp/soft-fp.h: Likewise.
61713         * stdio-common/printf.h: Likewise.
61714         * stdlib/monetary.h: Likewise.
61715         * stdlib/random.c: Likewise.
61716         * stdlib/random_r.c: Likewise.
61717         * sysdeps/generic/Makefile: Likewise.
61718         * sysdeps/gnu/Makefile: Likewise.
61719         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61720         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61721         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61722         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61723         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61724         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61725         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61726         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61727         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61728         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61729         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61730         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61731         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61732         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61733         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
61734         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61735         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61736         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61737         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61739         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61740         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61741         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61742         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
61743         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
61744         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
61745         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
61746         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
61747         * sysdeps/mach/hurd/errnos.awk: Likewise.
61748         * sysdeps/mach/hurd/fork.c: Likewise.
61749         * sysdeps/mach/hurd/getcwd.c: Likewise.
61750         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
61751         * sysdeps/mach/hurd/mmap.c: Likewise.
61752         * sysdeps/mach/hurd/utimes.c: Likewise.
61753         * sysdeps/mach/hurd/xmknod.c: Likewise.
61754         * sysdeps/posix/profil.c: Likewise.
61755         * sysdeps/posix/readdir_r.c: Likewise.
61756         * sysdeps/powerpc/bits/mathdef.h: Likewise.
61757         * sysdeps/powerpc/bits/setjmp.h: Likewise.
61758         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
61759         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
61760         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61761         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
61762         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
61763         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61765         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
61766         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
61767         * sysdeps/pthread/lio_listio.c: Likewise.
61768         * sysdeps/sparc/dl-procinfo.h: Likewise.
61769         * sysdeps/unix/i386/sysdep.S: Likewise.
61770         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
61771         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
61772         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
61773         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
61774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61775         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
61776         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
61777         * sysdeps/unix/sysv/linux/speed.c: Likewise.
61778         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
61779         * sysdeps/wordsize-32/divdi3.c: Likewise.
61780         * time/sys/time.h: Likewise.
61781         * wcsmbs/Makefile: Likewise.
61783 2013-01-01  David S. Miller  <davem@davemloft.net>
61785         * po/fr.po: Update from translation team.
61787         * catgets/gencat.c: Update copyright year.
61788         * csu/version.c: Likewise.
61789         * debug/catchsegv.sh: Likewise.
61790         * debug/pcprofiledump.c: Likewise.
61791         * debug/xtrace.sh: Likewise.
61792         * elf/ldconfig.c: Likewise.
61793         * elf/ldd.bash.in: Likewise.
61794         * elf/pldd.c: Likewise.
61795         * elf/sotruss.ksh: Likewise.
61796         * elf/sprof.c: Likewise.
61797         * iconv/iconv_prog.c: Likewise.
61798         * iconv/iconvconfig.c: Likewise.
61799         * locale/programs/locale.c: Likewise.
61800         * locale/programs/localedef.c: Likewise.
61801         * login/programs/pt_chown.c: Likewise.
61802         * malloc/memusage.sh: Likewise.
61803         * malloc/memusagestat.c: Likewise.
61804         * malloc/mtrace.pl: Likewise.
61805         * nscd/nscd.c: Likewise.
61806         * nss/getent.c: Likewise.
61807         * nss/makedb.c: Likewise.
61808         * posix/getconf.c: Likewise.
61810 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
61812         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
61813         numbers.
61815 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
61817         * math/bits/mathcalls.h (modf): Use __nonnull.
61819 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61821         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
61822         (split): Use macro CN instead of the bare value.
61823         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
61824         could be used.
61825         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
61826         instead of the bare value.
61827         (power1): Likewise.
61829 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61831         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
61832         __ATAN_TWOM.
61833         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61835         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
61836         their values.
61837         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61838         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61839         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
61840         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61842 2012-12-28  Andreas Jaeger  <aj@suse.de>
61844         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
61845         values are from Linux 3.7.
61847         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
61848         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
61850 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61852         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
61853         TRUE case.
61855         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
61856         (norm): Likewise.
61857         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
61858         variables with preprocessor constants.
61859         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61860         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61861         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61863 2012-12-27  Bruno Haible  <bruno@clisp.org>
61865         [BZ #14317]
61866         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
61867         only if needed.
61869 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
61871         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
61872         and use variable directly.
61873         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
61875         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
61876         MPONE.
61877         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
61878         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
61879         variable MPONE.
61880         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61881         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61882         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
61883         include directive.  Remove local variable MPONE.
61884         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
61885         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
61886         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61888 2012-12-25  David S. Miller  <davem@davemloft.net>
61890         * version.h (RELEASE): Set to "development".
61891         (VERSION): Set to "2.17.90".
61892         * NEWS: Add 2.18 section.
61894 2012-12-21  David S. Miller  <davem@davemloft.net>
61896         * po/hr.po: Update from translation team.
61898 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61900         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
61902 2012-12-19  Steve Ellcey  <sellcey@mips.com>
61904         * NEWS:  Mention new memcpy for MIPS.
61906 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61908         * manual/contrib.texi (Contributors): Spelling correction.
61910 2012-12-15  David S. Miller  <davem@davemloft.net>
61912         * po/ru.po: Update from translation team.
61914 2012-12-13  David S. Miller  <davem@davemloft.net>
61916         * NEWS: Mention IFUNC testsuite enhancements.
61918         * po/pl.po: Update from translation team.
61919         * po/bg.po: Likewise.
61921         * manual/contrib.texi (Contributors): Update entries for Hongjiu
61922         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
61924 2012-12-11  David S. Miller  <davem@davemloft.net>
61926         * po/sv.po: Update from translation team.
61928         * po/vi.po: Update from translation team.
61930         * po/cs.po: Update from translation team.
61932         * po/de.po: Update from translation team.
61933         * po/eo.po: Likewise.
61934         * po/nl.po: Likewise.
61936 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61938         [BZ #14246]
61939         * manual/argp.texi (Argp Helper Functions): Move node to follow
61940         Argp Parsing State.
61942         [BZ #14872]
61943         * manual/conf.texi (Limits on File System Capacity): Mention if
61944         terminating null is included in the max size.
61946 2012-12-10  Andreas Jaeger  <aj@suse.de>
61948         * po/cs.po: Update from translation team.
61950 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61952         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
61953         void pointer and cast to uintptr_t.
61954         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
61955         path.
61956         * sysdeps/s390/s390-64/memcpy.S: Likewise.
61957         * sysdeps/s390/s390-64/memset.S: Likewise.
61959 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
61961         [BZ #14833]
61962         * menual/message.texi (Message Translation): Fix typos.
61963         (Helper programs for gettext): Likewise.
61965 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
61967         [BZ #14898]
61968         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
61969         Change to -1.
61971 2012-12-07  David S. Miller  <davem@davemloft.net>
61973         * po/libc.pot: Update.
61975 2012-12-07  Richard Henderson  <rth@redhat.com>
61977         [BZ #10114]
61978         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
61979         normal/normal case to before the switch.
61980         (_FP_DIV): Likewise.
61982 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
61983             Mike Frysinger  <vapier@gentoo.org>
61985         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
61986         check for __NR_fadvise64_64.
61988 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
61990         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
61991         0, not just to plain "0" as a statement.
61992         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
61993         with cw.
61995 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
61997         * NEWS: Use sourceware.org in Bugzilla URL.
61999 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62002         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62004         * stdio-common/tst-put-error.c (do_test): Add newline to the
62005         padded test to ensure flush.
62007 2012-12-05  Jeff Law  <law@redhat.com>
62009         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62011 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62013         * README: Don't refer to ports add-on as distributed separately.
62014         Mention AArch64 in list of systems supported in the ports add-on.
62016         * LICENSES: Add more non-FSF copyright and license notices.
62018         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62019         ((unused)).
62021         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62023         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62024         10000 as width of padded output.
62026 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62028         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62030         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62031         variable LX with __attribute__ ((unused)).
62032         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62033         Likewise.
62034         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62035         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62036         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62037         with __attribute__ ((unused)).
62039 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62041         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62043 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62045         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62046         (CFLAGS-nldbl-acos.c): New variable.
62047         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62048         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62049         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62050         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62051         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62052         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62053         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62054         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62055         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62056         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62057         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62058         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62059         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62060         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62061         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62062         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62063         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62064         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62065         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62066         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62067         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62068         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62069         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62070         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62071         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62072         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62073         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62074         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62075         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62076         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62077         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62078         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62079         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62080         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62081         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62082         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62083         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62084         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62085         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62086         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62087         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62088         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62089         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62090         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62091         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62092         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62093         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62094         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62095         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62096         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62097         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62098         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62099         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62100         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62101         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62102         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62103         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62104         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62105         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62106         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62107         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62108         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62109         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62110         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62111         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62112         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62113         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62114         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62115         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62116         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62117         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62118         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62119         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62120         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62121         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62122         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62123         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62124         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62125         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62126         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62127         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62128         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62129         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62130         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62131         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62132         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62133         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62134         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
62135         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
62136         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
62137         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
62138         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
62139         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
62140         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
62141         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
62142         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
62143         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
62145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
62146         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62148         [BZ #14914]
62149         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
62150         whole low double instead of just low 47 bits when splitting values
62151         into two parts.
62153 2012-12-03  Allan McRae  <allan@archlinux.org>
62155         * manual/stdio.texi (Predefined Printf Handlers): Remove
62156         @hsep and @vsep usage.
62158 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
62160         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
62161         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
62163 2012-12-03  Jeff Law  <law@redhat.com>
62165         * time/sys/time.h (settimeofday): Do not mark TV argument
62166         as __nonnull.
62168 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
62170         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
62171         when currently writing and seek to current position when not.
62172         * libio/Makefile (tests): Remove bug-fclose1.
62173         * libio/bug-fclose1.c: Delete.
62175 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
62177         * manual/arith.texi (feenableexcept): Fix typo.
62178         (fedisableexcept): Likewise.
62180 2012-11-30  Roland McGrath  <roland@hack.frob.com>
62182         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
62183         second, differently-typed declaration, rather than a cast.
62185 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62187         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
62188         * include/rpc/svc.h: ... here.
62190 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
62192         [BZ #13013]
62193         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
62194         depending n and resplen2 to catch cases where answer
62195         equals answerp2.
62197 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
62199         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
62200         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
62202 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
62204         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
62206 2012-11-29  Roland McGrath  <roland@hack.frob.com>
62208         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
62210 2012-11-28  Jeff Law  <law@redhat.com>
62212         [BZ #13761]
62213         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
62214         dataset_temporary.  Track alloca usage into alloca_used.
62215         If dataset is large allocate and release it via malloc/free.
62217 2012-06-04  Florian Weimer  <fweimer@redhat.com>
62219         [BZ #14197]
62220         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
62222 2012-11-28  David S. Miller  <davem@davemloft.net>
62224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62226 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62228         [BZ #14803]
62229         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
62230         of pi/2 rounded to nearest to 64 bits.
62231         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
62232         nearest to 64 bits.
62233         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
62234         bits.
62236 2012-11-28  Jeff Law <law@redhat.com>
62237             Martin Osvald <mosvald@redhat.com>
62239         [BZ #14889]
62240         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
62241         * sunrpc/svc.c: Include time.h.
62242         (__svc_accept_failed): New function.
62243         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
62244         any reason other than EINTR, call __svc_accept_failed.
62245         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
62246         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
62248 2012-11-28  Andreas Schwab  <schwab@suse.de>
62250         * scripts/abilist.awk: Also handle indirect functions in .opd
62251         section.
62253 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
62255         [BZ #13881]
62256         * sysdeps/x86/fpu/powl_helper.c: New file.
62257         * sysdeps/x86/fpu/Makefile: Likewise.
62258         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
62259         (p3): New object.
62260         (__ieee754_powl): Use __powl_helper for finite arguments except
62261         integer exponents below 8.
62262         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
62263         (p3): New object.
62264         (__ieee754_powl): Use __powl_helper for finite arguments except
62265         integer exponents below 8.
62266         * math/libm-test.inc (pow_test): Add more tests and enable some
62267         previously disabled tests.
62268         * sysdeps/i386/fpu/libm-test-ulps: Update.
62269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62271 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62272             Carlos O'Donell  <carlos_odonell@mentor.com>
62274         * nss/makedb.c (is_prime): Assert that input is odd and greater
62275         than 4.  Note that fact in a comment too.
62276         (next_prime): Add 4 to input.
62278 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62280         [BZ #11741]
62281         * libio/Makefile (tests): Add test case tst-fwrite-error.
62282         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
62283         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
62284         * libio/tst-fwrite-error.c: New test case.
62286 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
62288         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
62289         before casting to void *.
62290         * include/libc-internal.h (__pointer_type): New macro.
62291         (__integer_if_pointer_type_sub): Likewise.
62292         (__integer_if_pointer_type): Likewise.
62293         (cast_to_integer): Likewise.
62294         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
62295         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
62296         before casting to atomic64_t.
62297         (atomic_exchange_acq): Likewise.
62298         (__arch_exchange_and_add_body): Likewise.
62299         (__arch_add_body): Likewise.
62300         (atomic_add_negative): Likewise.
62301         (atomic_add_zero): Likewise.
62303 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
62305         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
62306         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
62307         (add_fdes): Likewise.
62308         (linear_search_fdes): Likewise.
62309         (binary_search_unencoded_fdes): Likewise.
62311 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
62313         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
62315 2012-11-24  Adam Conrad  <adconrad@0c3.net>
62317         * configure.in: Autodetect C++ header directories.
62318         * configure: Regenerated.
62320 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
62322         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
62324 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
62326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62328 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
62330         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
62331         LDBL_MANT_DIG == 106]: Disable some tests.
62332         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62333         Likewise.
62334         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
62335         Likewise.
62337         [BZ #14871]
62338         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
62339         input for small inputs.  Return +/- pi/2 for large inputs.
62340         * math/libm-test.inc (atan_test): Add more tests.
62342         * sysdeps/generic/unwind-dw2-fde-glibc.c
62343         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
62344         __attribute__ ((unused)).
62346         [BZ #14645]
62347         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
62348         x * y if x and y are nonzero and z is zero.
62350         [BZ #14811]
62351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
62352         nonzero exponents with absolute value below 0x1p-117 to +/-
62353         0x1p-117.
62355         [BZ #14869]
62356         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
62357         up arguments below 2**-450, not just those below 2**-500.
62358         * math/libm-test.inc (hypot_test): Add another test.
62360         [BZ #14868]
62361         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
62362         Return a+b for ratio over 2**120, not 2**60.
62363         * math/libm-test.inc (hypot_test): Add another test.
62365         * math/libm-test.inc (clog_test): Use
62366         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
62367         (clog10_test): Likewise.
62369         [BZ #6778]
62370         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
62372 2012-11-22  Andreas Schwab  <schwab@suse.de>
62374         * sysdeps/i386/fpu/libm-test-ulps: Update.
62376 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
62378         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
62379         printf output with newline.
62381 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
62383         [BZ #14865]
62384         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
62385         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
62386         -z nodlopen, -z initfirst and -z execstack support.
62387         * configure: Regenerated.
62389         * elf/elf.h (DF_1_NODIRECT): New macro.
62390         (DF_1_IGNMULDEF): Likewise.
62391         (DF_1_NOKSYMS): Likewise.
62392         (DF_1_NOHDR): Likewise.
62393         (DF_1_EDITED): Likewise.
62394         (DF_1_NORELOC): Likewise.
62395         (DF_1_SYMINTPOSE): Likewise.
62396         (DF_1_GLOBAUDIT): Likewise.
62397         (DF_1_SINGLETON): Likewise.
62398         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
62399         DT_1_SUPPORTED_MASK bits.
62400         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
62402 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
62404         * sysdeps/unix/make-syscalls.sh: Document prefixes.
62406 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
62408         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
62409         macro.
62411         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
62412         (sendmmsg): Move declarations...
62413         * socket/sys/socket.h: ... here.
62414         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
62415         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
62416         include it from...
62417         * socket/recvmmsg.c: ... this new file.
62418         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
62419         (sendmmsg): Rename to __sendmmsg, create weak alias and make
62420         definition of __sendmmsg hidden.
62421         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
62422         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
62423         Move ENOSYS stub into and include it from...
62424         * socket/sendmmsg.c: ... this new file.
62425         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
62426         (sysdep_routines): Move recvmmsg and sendmmsg...
62427         * socket/Makefile (routines): ... here.
62428         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
62429         (GLIBC_PRIVATE): Add __sendmmsg.
62430         * include/sys/socket.h (__sendmmsg): Add declarations.
62431         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
62432         sendmmsg.
62434 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
62436         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
62437         variable I1 with __attribute__ ((unused)).
62438         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
62440 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62442         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
62443         DUMMY variables with __attribute__ ((unused)).
62445         * bits/byteswap.h: Include <bits/types.h>.
62446         (__bswap_64): Use __uint64_t instead of unsigned long long int.
62448 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62450         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
62451         string_t.  Do not manually set errno.
62452         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
62453         length with __strnlen.  Make sure to both set errno and return it on
62454         failure.
62456 2012-11-19  David S. Miller  <davem@davemloft.net>
62458         With help from Joseph Myers.
62459         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
62460         very large arguments properly.
62461         * math/libm-test.inc (atan_test): New tests.
62462         (atan2_test): New tests.
62463         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62466 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
62468         [BZ #14856]
62469         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
62470         Define to 3.
62472         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
62473         [POSIX] (EADDRNOTAVAIL): Likewise.
62474         [POSIX] (EAFNOSUPPORT): Likewise.
62475         [POSIX] (EALREADY): Likewise.
62476         [POSIX] (ECONNABORTED): Likewise.
62477         [POSIX] (ECONNREFUSED): Likewise.
62478         [POSIX] (ECONNRESET): Likewise.
62479         [POSIX] (EDESTADDRREQ): Likewise.
62480         [POSIX] (EDQUOT): Likewise.
62481         [POSIX] (EHOSTUNREACH): Likewise.
62482         [POSIX] (EIDRM): Likewise.
62483         [POSIX] (EISCONN): Likewise.
62484         [POSIX] (ELOOP): Likewise.
62485         [POSIX] (EMULTIHOP): Likewise.
62486         [POSIX] (ENETDOWN): Likewise.
62487         [POSIX] (ENETUNREACH): Likewise.
62488         [POSIX] (ENOBUFS): Likewise.
62489         [POSIX] (ENODATA): Likewise.
62490         [POSIX] (ENOLINK): Likewise.
62491         [POSIX] (ENOMSG): Likewise.
62492         [POSIX] (ENOPROTOOPT): Likewise.
62493         [POSIX] (ENOSR): Likewise.
62494         [POSIX] (ENOSTR): Likewise.
62495         [POSIX] (ENOTCONN): Likewise.
62496         [POSIX] (ENOTSOCK): Likewise.
62497         [POSIX] (EOPNOTSUPP): Likewise.
62498         [POSIX] (EOVERFLOW): Likewise.
62499         [POSIX] (EPROTO): Likewise.
62500         [POSIX] (EPROTONOSUPPORT): Likewise.
62501         [POSIX] (EPROTOTYPE): Likewise.
62502         [POSIX] (ESTALE): Likewise.
62503         [POSIX] (ETIME): Likewise.
62504         [POSIX] (ETXTBSY): Likewise.
62505         [POSIX] (EWOULDBLOCK): Likewise.
62506         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
62507         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
62508         [POSIX] (SEEK_CUR): Likewise.
62509         [POSIX] (SEEK_END): Likewise.
62510         [POSIX || UNIX98] (mode_t): Do not require.
62511         [POSIX] (off_t): Likewise.
62512         [POSIX] (pid_t): Likewise.
62513         [POSIX] (sys/stat.h): Do not allow header.
62514         [POSIX] (unistd.h): Likewise.
62515         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
62516         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
62517         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
62518         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
62519         require.
62520         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
62521         sigevent): Specify elements.
62522         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
62523         entry.
62524         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
62525         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
62527         * conform/data/cpio.h-data [POSIX]: Disable whole file.
62528         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
62529         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
62530         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
62531         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
62532         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
62533         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
62534         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
62535         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
62536         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
62537         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
62538         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
62539         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
62540         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
62541         Likewise.
62542         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
62543         Likewise.
62544         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
62545         Likewise.
62546         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
62547         Likewise.
62548         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
62549         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
62550         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
62551         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
62552         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
62553         Specify lower bound on value.
62554         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
62555         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
62556         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
62557         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
62558         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
62559         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
62560         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
62561         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
62562         value.
62563         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
62564         as optional.
62565         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
62566         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
62567         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
62568         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
62569         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
62570         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
62571         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
62572         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
62573         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
62574         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
62575         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
62576         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
62577         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
62578         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
62579         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
62580         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
62581         entry.
62582         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
62583         optional.
62584         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
62585         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
62586         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
62587         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
62588         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
62589         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
62590         Likewise.
62591         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
62592         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
62593         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
62594         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
62595         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
62596         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
62597         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
62598         as optional.
62599         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
62600         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
62601         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
62602         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
62603         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
62604         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
62605         specify as optional.
62606         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
62607         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
62608         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
62609         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
62610         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
62611         [XPG3] (NL_LANGMAX): Likewise.
62612         [POSIX || XPG3] (NL_MSGMAX): Likewise.
62613         [POSIX || XPG3] (NL_NMAX): Likewise.
62614         [POSIX || XPG3] (NL_SETMAX): Likewise.
62615         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
62616         [XPG3] (NZERO): Likewise.
62617         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
62618         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
62619         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
62620         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
62621         (REG_ERANGE): Expect.
62622         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
62623         optional-constant.
62624         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
62625         Use (void) in prototype.
62626         [POSIX] (*_t): Allow.
62627         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
62628         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
62629         (WRDE_BADVAL): Expect.
62631         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
62632         expect.
62633         [XPG3 || XPG4] (O_RSYNC): Likewise.
62634         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
62635         Likewise.
62636         [XPG3 || XPG4] (pthread_sigmask): Likewise.
62637         [XPG3 || XPG4] (sigqueue): Likewise.
62638         [XPG3 || XPG4] (sigtimedwait): Likewise.
62639         [XPG3 || XPG4] (sigwaitinfo): Likewise.
62640         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
62641         [XPG3 || XPG4] (vsnprintf): Likewise.
62642         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
62643         Likewise.
62644         [XPG3 || XPG4] (blksize_t): Likewise.
62645         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
62646         Likewise.
62647         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
62648         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
62649         [XPG3 || XPG4] (struct itimerspec): Likewise.
62650         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
62651         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
62652         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
62653         [XPG3 || XPG4] (clockid_t): Likewise.
62654         [XPG3 || XPG4] (timer_t): Likewise.
62655         [XPG3 || XPG4] (clock_getres): Likewise.
62656         [XPG3 || XPG4] (clock_gettime): Likewise.
62657         [XPG3 || XPG4] (clock_settime): Likewise.
62658         [XPG3 || XPG4] (nanosleep): Likewise.
62659         [XPG3 || XPG4] (timer_create): Likewise.
62660         [XPG3 || XPG4] (timer_delete): Likewise.
62661         [XPG3 || XPG4] (timer_gettime): Likewise.
62662         [XPG3 || XPG4] (timer_getoverrun): Likewise.
62663         [XPG3 || XPG4] (timer_settime): Likewise.
62664         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
62665         [XPG3 || XPG4] (getlogin_r): Likewise.
62666         [XPG3 || XPG4] (pread): Likewise.
62667         [XPG3 || XPG4] (pthread_atfork): Likewise.
62668         [XPG3 || XPG4] (pwrite): Likewise.
62670         [BZ #14835]
62671         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
62672         <bits/siginfo.h>.
62674 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
62676         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
62677         finalizing MALLSTREAM.
62679         * sysdeps/mach/hurd/syncfs.c: New file.
62681 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62683         [BZ #14719]
62684         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
62685         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
62686         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
62687         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
62688         (_nss_dns_gethostbyname4_r): Likewise.
62689         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
62690         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
62692 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
62694         [BZ #13763]
62695         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
62697 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
62699         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
62700         * elf/cache.c (print_entry): Print ",AArch64" for
62701         FLAG_AARCH64_LIB64
62703         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
62704         * elf/cache.c (print_entry): Print ",hard-float" for
62705         FLAG_ARM_LIBHF.
62707 2012-11-18  David S. Miller  <davem@davemloft.net>
62709         With help from Joseph Myers.
62710         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
62711         cutoff to 2**-13.
62712         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
62713         cutoff to 2**-25.
62714         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
62715         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
62716         small.
62717         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
62718         * math/libm-test.inc (y0_test): New tests.
62719         (y1_test): New tests.
62720         * sysdeps/i386/fpu/libm-test-ulps: Update.
62721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62724 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
62726         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
62727         64-bit targets.
62728         * configure: Regenerated.
62730 2012-11-17  David S. Miller  <davem@davemloft.net>
62732         [BZ #14811]
62733         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
62734         nonzero exponents with absolute value below 0x1p-128 to +/-
62735         0x1p-128.
62737 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
62739         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
62741         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
62743         * posix/getconf-speclist.c: New file.
62744         * posix/posix-envs.def: Likewise.
62745         * posix/confstr.c (START_ENV_GROUP): New macro.
62746         (END_ENV_GROUP): Likewise.
62747         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62748         (KNOWN_PRESENT_ENV_STRING): Likewise.
62749         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62750         (UNKNOWN_ENVIRONMENT): Likewise.
62751         (confstr): Include posix-envs.def instead of handling
62752         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
62753         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
62754         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
62755         (END_ENV_GROUP): Likewise.
62756         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
62757         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
62758         (UNKNOWN_ENVIRONMENT): Likewise.
62759         (__sysconf): Include posix-envs.def instead of handling associated
62760         cases directly here.
62761         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
62762         preprocessing getconf-speclist.c rather than running getconf or
62763         generating empty file.
62765 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
62767         * scripts/check-local-headers.sh: Ignore 'mach' headers.
62769 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
62771         [BZ #14672]
62772         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
62774 2012-11-16  David S. Miller  <davem@davemloft.net>
62776         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
62777         smaller than LDBL_EPSILON/2.0L, just return xm1.
62779 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
62781         * elf/tst-array1.c (init): Set constructor priority to 1000.
62782         (fini): Set destructor priority to 1000.
62783         * elf/tst-array2dep.c: Likewise.
62785 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62787         [BZ #11741]
62788         * libio/fileops.c (_IO_new_file_write): Correctly return error.
62789         (_IO_new_file_xsputn): Also return EOF if none of the input
62790         data was written when overflow failed.
62791         * libio/iopadn.c (_IO_padn): Likewise.
62792         * libio/iowpadn.c (_IO_wpadn): Likewise.
62793         * stdio-common/tst-put-error.c: Add copyright notice.
62794         (do_test): Add case for printing padded string.
62795         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
62796         _IO_padn returned error.
62797         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
62798         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
62799         return EOF.
62801 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62803         * libio/libioP.h: Add comment note that the references to C++
62804         bits are now obsolete.
62806 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62808         * math/libm-test.inc (check_complex): Use asprintf.
62810 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
62812         * debug/pcprofiledump.c (print_version): Update copyright year.
62813         * malloc/memusagestat.c (print_version): Likewise.
62815 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
62817         [BZ #14831]
62818         * elf/Makefile (tests): Add tst-audit8.
62819         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
62820         ($(objpfx)tst-audit8.out): New target.
62821         (tst-audit8-ENV): New variable.
62822         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
62823         audit if l_reloc_result is NULL.
62824         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
62825         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
62826         * elf/tst-audit8.c: New file.
62828 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62830         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
62831         * misc/Makefile (CFLAGS-select.c): Define.
62832         * posix/Makefile (CFLAGS-pause.c): Define.
62834 2012-11-13  David S. Miller  <davem@davemloft.net>
62836         * crypt/Makefile: Move test targets after toplevel Rules
62837         inclusion.  Grab any necessary sysdep routines when linking.
62838         * crypt/md5.c (md5_process_block): Remove define, we will always
62839         name it __md5_process_block.
62840         (md5_finish_ctx): Update md5_process_block call.
62841         (md5_stream): Likewise.
62842         (md5_process_bytes): Likewise.
62843         (md5_process_block): Rename to __md5_process_block and move to ...
62844         * crypt/md5-block.c: ... here.
62845         * crypt/sha256.c (sha256_process_block): Move to ...
62846         * crypt/sha256-block.c: ... here.
62847         * crypt/sha512.c (sha512_process_block): Move to ...
62848         * crypt/sha512-block.c: ... here.
62849         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
62850         path.
62851         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
62852         * sysdeps/sparc/sparc64/multiarch/Makefile
62853         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
62854         crypt subdir.
62855         (localedef-aux): Add md5 crypto assembler when in locale subdir.
62856         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
62857         multiarch changes.
62858         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
62859         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
62860         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
62861         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
62862         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
62863         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
62864         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
62865         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
62866         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
62867         file.
62868         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
62869         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
62870         file.
62871         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
62873 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
62875         * timezone/tzselect.ksh: Update from tzcode git revision
62876         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
62877         * timezone/zdump.c: Likewise.
62878         * timezone/zic.c: Likewise.
62879         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
62880         in TZVERSION setting, not $(PKGVERSION).
62881         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
62882         REPORT_BUGS_TO settings.
62884         [BZ #14838]
62885         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
62886         macro.
62888 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62890         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
62891         detection to immediately after _FP_ROUND().
62892         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
62893         bits are 0.
62895 2012-11-11  David S. Miller  <davem@davemloft.net>
62897         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
62898         inttypes.h
62899         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
62900         __close rather than their public counterparts.
62902 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
62904         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
62905         file.
62906         [UNIX98] (sem_timedwait): Do not expect.
62907         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
62908         [XPG4 || UNIX98] (sockatmark): Do not expect.
62909         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
62910         (clock_getcpuclockid): Do not expect.
62911         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
62912         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
62913         Do not expect.
62914         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
62915         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
62916         [UNIX98] (vwscanf): Likewise.
62917         [UNIX98] (vswscanf): Likewise.
62919 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
62921         * timezone/version.h: Remove file.
62922         * timezone/README: Do not refer to version.h.
62923         * timezone/Makefile ($(objpfx)zic.o): New dependency on
62924         $(objpfx)version.h.
62925         ($(objpfx)zdump.o): Likewise.
62926         ($(objpfx)version.h): New target.
62928         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
62929         2012i.
62930         * timezone/README: Don't mention modification to tzselect.ksh.
62931         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
62932         work on unmodified tzselect.ksh.  Substitute version numbers in
62933         tzselect.ksh.
62935         * Makefile (format-me): Remove.
62936         (INSTALL): Adjust indentation.  Use commands directly instead of
62937         using $(format-me).
62939         * aclocal.m4 (ACX_PKGVERSION): New macro.
62940         (ACX_BUGURL): Likewise.
62941         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
62942         (PKGVERSION): New AC_DEFINE_UNQUOTED.
62943         (REPORT_BUGS_TO): Likewise.
62944         * configure: Regenerated.
62945         * config.h.in (PKGVERSION): New macro.
62946         (REPORT_BUGS_TO): Likewise.
62947         * config.make.in (PKGVERSION): New variable.
62948         (PKGVERSION_TEXI): Likewise.
62949         (REPORT_BUGS_TO): Likewise.
62950         (REPORT_BUGS_TEXI): Likewise.
62951         * Makefile (format-me): Use -I$(common-objpfx)manual.
62952         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
62953         ($(common-objpfx)manual/%): New target.
62954         (manual/%): Remove target.
62955         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
62956         (print_version): Use PKGVERSION.
62957         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
62958         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
62959         and REPORT_BUGS_TO.
62960         ($(objpfx)xtrace): Likewise.
62961         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
62962         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
62963         (print_version): Use PKGVERSION.
62964         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
62965         (do_version): Use PKGVERSION.
62966         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
62967         REPORT_BUGS_TO.
62968         (common-ldd-rewrite): Likewise.
62969         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
62970         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
62971         (print_version): Use PKGVERSION.
62972         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
62973         * elf/pldd.c (argp_program_bug_address): Remove variable.
62974         (more_help): New function.
62975         (argp): Use more_help.
62976         (print_version): Use PKGVERSION.
62977         * elf/sln.c (main): Use PKGVERSION.
62978         (usage): Use REPORT_BUGS_TO.
62979         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
62980         (top level): Use PKGVERSION.
62981         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
62982         (print_version): Use PKGVERSION.
62983         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
62984         (print_version): Use PKGVERSION.
62985         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
62986         (print_version): Use PKGVERSION.
62987         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
62988         (print_version): Use PKGVERSION.
62989         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
62990         (print_version): Use PKGVERSION.
62991         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
62992         (print_version): Use PKGVERSION.
62993         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
62994         and BUGURL.
62995         ($(objpfx)memusage): Likewise.
62996         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
62997         (do_version): Use PKGVERSION.
62998         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
62999         (print_version): Use PKGVERSION.
63000         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63001         ($PKGVERSION): New variable.
63002         ($REPORT_BUGS_TO): Likewise.
63003         (usage): Use $REPORT_BUGS_TO.
63004         (top level): Use $PKGVERSION.
63005         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63006         ($(objpfx)pkgvers.texi): New rule.
63007         ($(objpfx)stamp-pkgvers): Likewise.
63008         * manual/install.texi: Include pkgvers.texi.
63009         (--with-pkgversion): Document new configure option.
63010         (--with-bugurl): Likewise.
63011         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63012         than necessarily for this particular distribution.  Use
63013         REPORT_BUGS_TO for where to report bugs.
63014         * INSTALL: Regenerated.
63015         * manual/libc.texinfo: Include pkgvers.texi.
63016         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63017         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63018         (print_version): Use PKGVERSION.
63019         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63020         (print_version): Use PKGVERSION.
63021         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63022         (print_version): Use PKGVERSION.
63023         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63024         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63025         macro.
63026         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63027         (print_version): Use PKGVERSION.
63028         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63029         (print_version): Use PKGVERSION.
63030         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63031         and PKGVERSION.
63033         * timezone/checktab.awk: Update from tzcode 2012i.
63034         * timezone/ialloc.c: Likewise.
63035         * timezone/private.h: Likewise.
63036         * timezone/scheck.c: Likewise.
63037         * timezone/tzfile.h: Likewise.
63038         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63039         (TZVERSION): Hardcode tzcode version number.
63040         * timezone/zdump.c: Update from tzcode 2012i.
63041         * timezone/zic.c: Likewise.
63042         * timezone/version.h: New file.
63043         * timezone/README: Describe version.h.  Update upstream location.
63045         [BZ #14824]
63046         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63047         (mktemp): Enable declaration.
63048         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63049         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63050         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63051         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63052         Likewise.
63053         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63054         Likewise.
63055         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63056         Likewise.
63057         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63058         Likewise.
63059         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63060         Likewise.
63061         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63062         Likewise.
63064         [BZ #14821]
63065         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63066         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63067         for copies of such integer values.
63068         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63069         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63071 2012-11-09  Andreas Jaeger  <aj@suse.de>
63073         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63074         definitions and declarations that are provided by
63075         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63077 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63079         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63080         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63081         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63082         definition.
63084 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63086         * elf/elf.h: Update comment before AArch64 relocations.
63088 2012-11-07  David S. Miller  <davem@davemloft.net>
63090         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63091         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63092         (__start_context): Declare.
63093         (__makecontext_ret): Delete.
63094         (__makecontext): Hook up __start_context instead of
63095         __makecontext_ret.
63096         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63097         (sysdep_routines): Add __start_context when in stdlib.
63099 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63101         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63102         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63103         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63104         hardcoded "nm".
63105         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63106         (READELF): New variable.  Use it instead of hardcoded "readelf".
63108 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63110         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63111         * sysdeps/x86/Makefile: Here.
63112         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63113         * sysdeps/x86/tst-xmmymm.sh: This.
63115 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63117         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63118         expectations.
63119         [UNIX98] (pthread_barrier_t): Do not expect.
63120         [UNIX98] (pthread_barrierattr_t): Likewise.
63121         [UNIX98] (pthread_spinlock_t): Likewise.
63122         [UNIX98] (pthread_barrier_destroy): Likewise.
63123         [UNIX98] (pthread_barrier_init): Likewise.
63124         [UNIX98] (pthread_barrier_wait): Likewise.
63125         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63126         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63127         [UNIX98] (pthread_barrierattr_init): Likewise.
63128         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63129         [UNIX98] (pthread_getcpuclockid): Likewise.
63130         [UNIX98] (pthread_mutex_timedlock): Likewise.
63131         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63132         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63133         [UNIX98] (pthread_sigmask): Likewise.
63134         [UNIX98] (pthread_spin_destroy): Likewise.
63135         [UNIX98] (pthread_spin_init): Likewise.
63136         [UNIX98] (pthread_spin_lock): Likewise.
63137         [UNIX98] (pthread_spin_trylock): Likewise.
63138         [UNIX98] (pthread_spin_unlock): Likewise.
63139         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
63140         Do not expect.
63141         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
63142         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
63143         [XPG3 || XPG4] (pthread_cond_t): Likewise.
63144         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
63145         [XPG3 || XPG4] (pthread_key_t): Likewise.
63146         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
63147         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
63148         [XPG3 || XPG4] (pthread_once_t): Likewise.
63149         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
63150         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
63151         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
63152         [XPG3 || XPG4] (pthread_t): Likewise.
63154         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
63155         not expect.
63156         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
63158         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
63159         Change function return type to int.
63161         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
63162         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
63163         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
63164         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
63165         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
63166         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
63167         [!POSIX] (posix_madvise): Likewise.
63168         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
63169         && !UNIX98].
63170         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
63171         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
63172         (mode_t): Likewise.
63173         (posix_mem_offset): Likewise.
63174         (posix_typed_mem_get_info): Likewise.
63175         (posix_typed_mem_open): Likewise.
63177         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
63178         Change condition to [XOPEN2K8].
63180         * conform/conformtest.pl: Preprocess allow-header data with -x c
63181         instead of from stdin.
63182         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
63183         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
63184         [C99-based standards] (cerfc): Likewise.
63185         [C99-based standards] (cexp2): Likewise.
63186         [C99-based standards] (cexpm1): Likewise.
63187         [C99-based standards] (clog10): Likewise.
63188         [C99-based standards] (clog1p): Likewise.
63189         [C99-based standards] (clog2): Likewise.
63190         [C99-based standards] (clgamma): Likewise.
63191         [C99-based standards] (ctgamma): Likewise.
63192         [C99-based standards] (cerff): Likewise.
63193         [C99-based standards] (cerfcf): Likewise.
63194         [C99-based standards] (cexp2f): Likewise.
63195         [C99-based standards] (cexpm1f): Likewise.
63196         [C99-based standards] (clog10f): Likewise.
63197         [C99-based standards] (clog1pf): Likewise.
63198         [C99-based standards] (clog2f): Likewise.
63199         [C99-based standards] (clgammaf): Likewise.
63200         [C99-based standards] (ctgammaf): Likewise.
63201         [C99-based standards] (cerfl): Likewise.
63202         [C99-based standards] (cerfcl): Likewise.
63203         [C99-based standards] (cexp2l): Likewise.
63204         [C99-based standards] (cexpm1l): Likewise.
63205         [C99-based standards] (clog10l): Likewise.
63206         [C99-based standards] (clog1pl): Likewise.
63207         [C99-based standards] (clog2l): Likewise.
63208         [C99-based standards] (clgammal): Likewise.
63209         [C99-based standards] (ctgammal): Likewise.
63210         * conform/data/inttypes.h-data [C99-based standards]: Include
63211         stdint.h-data.  Remove all expectations for stdint.h contents.
63212         [C99-based standards] (PRI*): Do not allow.
63213         [C99-based standards] (SCN*): Likewise.
63214         [C99-based standards] (*_t): Likewise.
63215         [C99-based-standards] (PRId8): Expect macro.
63216         [C99-based-standards] (PRIi8): Likewise.
63217         [C99-based-standards] (PRIo8): Likewise.
63218         [C99-based-standards] (PRIu8): Likewise.
63219         [C99-based-standards] (PRIx8): Likewise.
63220         [C99-based-standards] (PRIX8): Likewise.
63221         [C99-based-standards] (SCNd8): Likewise.
63222         [C99-based-standards] (SCNi8): Likewise.
63223         [C99-based-standards] (SCNo8): Likewise.
63224         [C99-based-standards] (SCNu8): Likewise.
63225         [C99-based-standards] (SCNx8): Likewise.
63226         [C99-based-standards] (PRIdLEAST8): Likewise.
63227         [C99-based-standards] (PRIiLEAST8): Likewise.
63228         [C99-based-standards] (PRIoLEAST8): Likewise.
63229         [C99-based-standards] (PRIuLEAST8): Likewise.
63230         [C99-based-standards] (PRIxLEAST8): Likewise.
63231         [C99-based-standards] (PRIXLEAST8): Likewise.
63232         [C99-based-standards] (SCNdLEAST8): Likewise.
63233         [C99-based-standards] (SCNiLEAST8): Likewise.
63234         [C99-based-standards] (SCNoLEAST8): Likewise.
63235         [C99-based-standards] (SCNuLEAST8): Likewise.
63236         [C99-based-standards] (SCNxLEAST8): Likewise.
63237         [C99-based-standards] (PRIdFAST8): Likewise.
63238         [C99-based-standards] (PRIiFAST8): Likewise.
63239         [C99-based-standards] (PRIoFAST8): Likewise.
63240         [C99-based-standards] (PRIuFAST8): Likewise.
63241         [C99-based-standards] (PRIxFAST8): Likewise.
63242         [C99-based-standards] (PRIXFAST8): Likewise.
63243         [C99-based-standards] (SCNdFAST8): Likewise.
63244         [C99-based-standards] (SCNiFAST8): Likewise.
63245         [C99-based-standards] (SCNoFAST8): Likewise.
63246         [C99-based-standards] (SCNuFAST8): Likewise.
63247         [C99-based-standards] (SCNxFAST8): Likewise.
63248         [C99-based-standards] (PRId16): Likewise.
63249         [C99-based-standards] (PRIi16): Likewise.
63250         [C99-based-standards] (PRIo16): Likewise.
63251         [C99-based-standards] (PRIu16): Likewise.
63252         [C99-based-standards] (PRIx16): Likewise.
63253         [C99-based-standards] (PRIX16): Likewise.
63254         [C99-based-standards] (SCNd16): Likewise.
63255         [C99-based-standards] (SCNi16): Likewise.
63256         [C99-based-standards] (SCNo16): Likewise.
63257         [C99-based-standards] (SCNu16): Likewise.
63258         [C99-based-standards] (SCNx16): Likewise.
63259         [C99-based-standards] (PRIdLEAST16): Likewise.
63260         [C99-based-standards] (PRIiLEAST16): Likewise.
63261         [C99-based-standards] (PRIoLEAST16): Likewise.
63262         [C99-based-standards] (PRIuLEAST16): Likewise.
63263         [C99-based-standards] (PRIxLEAST16): Likewise.
63264         [C99-based-standards] (PRIXLEAST16): Likewise.
63265         [C99-based-standards] (SCNdLEAST16): Likewise.
63266         [C99-based-standards] (SCNiLEAST16): Likewise.
63267         [C99-based-standards] (SCNoLEAST16): Likewise.
63268         [C99-based-standards] (SCNuLEAST16): Likewise.
63269         [C99-based-standards] (SCNxLEAST16): Likewise.
63270         [C99-based-standards] (PRIdFAST16): Likewise.
63271         [C99-based-standards] (PRIiFAST16): Likewise.
63272         [C99-based-standards] (PRIoFAST16): Likewise.
63273         [C99-based-standards] (PRIuFAST16): Likewise.
63274         [C99-based-standards] (PRIxFAST16): Likewise.
63275         [C99-based-standards] (PRIXFAST16): Likewise.
63276         [C99-based-standards] (SCNdFAST16): Likewise.
63277         [C99-based-standards] (SCNiFAST16): Likewise.
63278         [C99-based-standards] (SCNoFAST16): Likewise.
63279         [C99-based-standards] (SCNuFAST16): Likewise.
63280         [C99-based-standards] (SCNxFAST16): Likewise.
63281         [C99-based-standards] (PRId32): Likewise.
63282         [C99-based-standards] (PRIi32): Likewise.
63283         [C99-based-standards] (PRIo32): Likewise.
63284         [C99-based-standards] (PRIu32): Likewise.
63285         [C99-based-standards] (PRIx32): Likewise.
63286         [C99-based-standards] (PRIX32): Likewise.
63287         [C99-based-standards] (SCNd32): Likewise.
63288         [C99-based-standards] (SCNi32): Likewise.
63289         [C99-based-standards] (SCNo32): Likewise.
63290         [C99-based-standards] (SCNu32): Likewise.
63291         [C99-based-standards] (SCNx32): Likewise.
63292         [C99-based-standards] (PRIdLEAST32): Likewise.
63293         [C99-based-standards] (PRIiLEAST32): Likewise.
63294         [C99-based-standards] (PRIoLEAST32): Likewise.
63295         [C99-based-standards] (PRIuLEAST32): Likewise.
63296         [C99-based-standards] (PRIxLEAST32): Likewise.
63297         [C99-based-standards] (PRIXLEAST32): Likewise.
63298         [C99-based-standards] (SCNdLEAST32): Likewise.
63299         [C99-based-standards] (SCNiLEAST32): Likewise.
63300         [C99-based-standards] (SCNoLEAST32): Likewise.
63301         [C99-based-standards] (SCNuLEAST32): Likewise.
63302         [C99-based-standards] (SCNxLEAST32): Likewise.
63303         [C99-based-standards] (PRIdFAST32): Likewise.
63304         [C99-based-standards] (PRIiFAST32): Likewise.
63305         [C99-based-standards] (PRIoFAST32): Likewise.
63306         [C99-based-standards] (PRIuFAST32): Likewise.
63307         [C99-based-standards] (PRIxFAST32): Likewise.
63308         [C99-based-standards] (PRIXFAST32): Likewise.
63309         [C99-based-standards] (SCNdFAST32): Likewise.
63310         [C99-based-standards] (SCNiFAST32): Likewise.
63311         [C99-based-standards] (SCNoFAST32): Likewise.
63312         [C99-based-standards] (SCNuFAST32): Likewise.
63313         [C99-based-standards] (SCNxFAST32): Likewise.
63314         [C99-based-standards] (PRId64): Likewise.
63315         [C99-based-standards] (PRIi64): Likewise.
63316         [C99-based-standards] (PRIo64): Likewise.
63317         [C99-based-standards] (PRIu64): Likewise.
63318         [C99-based-standards] (PRIx64): Likewise.
63319         [C99-based-standards] (PRIX64): Likewise.
63320         [C99-based-standards] (SCNd64): Likewise.
63321         [C99-based-standards] (SCNi64): Likewise.
63322         [C99-based-standards] (SCNo64): Likewise.
63323         [C99-based-standards] (SCNu64): Likewise.
63324         [C99-based-standards] (SCNx64): Likewise.
63325         [C99-based-standards] (PRIdLEAST64): Likewise.
63326         [C99-based-standards] (PRIiLEAST64): Likewise.
63327         [C99-based-standards] (PRIoLEAST64): Likewise.
63328         [C99-based-standards] (PRIuLEAST64): Likewise.
63329         [C99-based-standards] (PRIxLEAST64): Likewise.
63330         [C99-based-standards] (PRIXLEAST64): Likewise.
63331         [C99-based-standards] (SCNdLEAST64): Likewise.
63332         [C99-based-standards] (SCNiLEAST64): Likewise.
63333         [C99-based-standards] (SCNoLEAST64): Likewise.
63334         [C99-based-standards] (SCNuLEAST64): Likewise.
63335         [C99-based-standards] (SCNxLEAST64): Likewise.
63336         [C99-based-standards] (PRIdFAST64): Likewise.
63337         [C99-based-standards] (PRIiFAST64): Likewise.
63338         [C99-based-standards] (PRIoFAST64): Likewise.
63339         [C99-based-standards] (PRIuFAST64): Likewise.
63340         [C99-based-standards] (PRIxFAST64): Likewise.
63341         [C99-based-standards] (PRIXFAST64): Likewise.
63342         [C99-based-standards] (SCNdFAST64): Likewise.
63343         [C99-based-standards] (SCNiFAST64): Likewise.
63344         [C99-based-standards] (SCNoFAST64): Likewise.
63345         [C99-based-standards] (SCNuFAST64): Likewise.
63346         [C99-based-standards] (SCNxFAST64): Likewise.
63347         [C99-based-standards] (PRIdMAX): Likewise.
63348         [C99-based-standards] (PRIiMAX): Likewise.
63349         [C99-based-standards] (PRIoMAX): Likewise.
63350         [C99-based-standards] (PRIuMAX): Likewise.
63351         [C99-based-standards] (PRIxMAX): Likewise.
63352         [C99-based-standards] (PRIXMAX): Likewise.
63353         [C99-based-standards] (SCNdMAX): Likewise.
63354         [C99-based-standards] (SCNiMAX): Likewise.
63355         [C99-based-standards] (SCNoMAX): Likewise.
63356         [C99-based-standards] (SCNuMAX): Likewise.
63357         [C99-based-standards] (SCNxMAX): Likewise.
63358         [C99-based-standards] (PRIdPTR): Likewise.
63359         [C99-based-standards] (PRIiPTR): Likewise.
63360         [C99-based-standards] (PRIoPTR): Likewise.
63361         [C99-based-standards] (PRIuPTR): Likewise.
63362         [C99-based-standards] (PRIxPTR): Likewise.
63363         [C99-based-standards] (PRIXPTR): Likewise.
63364         [C99-based-standards] (SCNdPTR): Likewise.
63365         [C99-based-standards] (SCNiPTR): Likewise.
63366         [C99-based-standards] (SCNoPTR): Likewise.
63367         [C99-based-standards] (SCNuPTR): Likewise.
63368         [C99-based-standards] (SCNxPTR): Likewise.
63369         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
63370         allow.
63371         * conform/data/stdint.h-data: Update comments to clarify
63372         requirements.
63373         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
63374         type.
63375         [C99-based standards] (INT8_MAX): Likewise.
63376         [C99-based standards] (INT16_MIN): Likewise.
63377         [C99-based standards] (INT16_MAX): Likewise.
63378         [C99-based standards] (INT32_MIN): Likewise.
63379         [C99-based standards] (INT32_MAX): Likewise.
63380         [C99-based standards] (INT64_MIN): Likewise.
63381         [C99-based standards] (INT64_MAX): Likewise.
63382         [C99-based standards] (UINT8_MAX): Likewise.
63383         [C99-based standards] (UINT16_MAX): Likewise.
63384         [C99-based standards] (UINT32_MAX): Likewise.
63385         [C99-based standards] (UINT64_MAX): Likewise.
63386         [C99-based standards] (INT_LEAST8_MIN): Likewise.
63387         [C99-based standards] (INT_LEAST8_MAX): Likewise.
63388         [C99-based standards] (INT_LEAST16_MIN): Likewise.
63389         [C99-based standards] (INT_LEAST16_MAX): Likewise.
63390         [C99-based standards] (INT_LEAST32_MIN): Likewise.
63391         [C99-based standards] (INT_LEAST32_MAX): Likewise.
63392         [C99-based standards] (INT_LEAST64_MIN): Likewise.
63393         [C99-based standards] (INT_LEAST64_MAX): Likewise.
63394         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
63395         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
63396         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
63397         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
63398         [C99-based standards] (INT_FAST8_MIN): Likewise.
63399         [C99-based standards] (INT_FAST8_MAX): Likewise.
63400         [C99-based standards] (INT_FAST16_MIN): Likewise.
63401         [C99-based standards] (INT_FAST16_MAX): Likewise.
63402         [C99-based standards] (INT_FAST32_MIN): Likewise.
63403         [C99-based standards] (INT_FAST32_MAX): Likewise.
63404         [C99-based standards] (INT_FAST64_MIN): Likewise.
63405         [C99-based standards] (INT_FAST64_MAX): Likewise.
63406         [C99-based standards] (UINT_FAST8_MAX): Likewise.
63407         [C99-based standards] (UINT_FAST16_MAX): Likewise.
63408         [C99-based standards] (UINT_FAST32_MAX): Likewise.
63409         [C99-based standards] (UINT_FAST64_MAX): Likewise.
63410         [C99-based standards] (INTPTR_MIN): Likewise.
63411         [C99-based standards] (INTPTR_MAX): Likewise.
63412         [C99-based standards] (UINTPTR_MAX): Likewise.
63413         [C99-based standards] (INTMAX_MIN): Likewise.
63414         [C99-based standards] (INTMAX_MAX): Likewise.
63415         [C99-based standards] (UINTMAX_MAX): Likewise.
63416         [C99-based standards] (PTRDIFF_MIN): Likewise.
63417         [C99-based standards] (PTRDIFF_MAX): Likewise.
63418         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
63419         [C99-based standards] (SIZE_MAX): Likewise.
63420         [C99-based standards] (WCHAR_MAX): Likewise.
63421         [C99-based standards] (WINT_MAX): Likewise.
63422         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
63423         constraint on value.
63424         [C99-based standards] (WCHAR_MIN): Likewise.
63425         [C99-based standards] (WINT_MIN): Likewise.
63426         [C99-based standards] (*_t): Allow.
63427         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
63428         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
63429         Include math.h-data and complex.h-data.  Remove all expectations
63430         of math.h and complex.h contents.
63431         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
63432         at end of line.
63433         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
63434         (struct tm): Expect tag.
63435         [C99-based-standards] (wcstof): Expect function.
63436         [C99-based-standards] (wcstold): Likewise.
63437         [C99-based-standards] (wcstoll): Likewise.
63438         [C99-based-standards] (wcstoull): Likewise.
63439         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
63440         macro-int-constant.  Specify type.
63441         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
63442         constraint on value.
63443         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63444         Specify type.
63445         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
63446         Specify value.
63447         [ISO C standards]: Do not allow headers.
63448         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
63449         wcs[abcdefghijklmnopqrstuvwxyz]*.
63450         [ISO C standards] (*_t): Do not allow.
63451         * conform/data/wctype.h-data [C99-based standards] (iswblank):
63452         Expect function.
63453         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
63454         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
63455         Specify type.
63456         [ISO C standards]: Do not allow headers.
63457         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
63458         is[abcdefghijklmnopqrstuvwxyz]*.
63459         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
63460         to[abcdefghijklmnopqrstuvwxyz]*.
63461         [ISO C standards] (*_t): Do not allow.
63462         * conform/data/stdalign.h-data: New file.
63463         * conform/data/stdbool.h-data: Likewise.
63464         * conform/data/stdnoreturn.h-data: Likewise.
63466 2012-11-07  Roland McGrath  <roland@hack.frob.com>
63468         [BZ #14815]
63469         * manual/filesys.texi (Directory Entries): Typo fix.
63470         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
63472 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63474         * elf/elf.h (EM_AARCH64): New macro.
63475         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
63476         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
63477         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
63478         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
63479         (R_AARCH64_TLSDESC): Likewise.
63480         (NT_ARM_TLS): Likewise.
63481         (NT_ARM_HW_BREAK): Likewise.
63482         (NT_ARM_HW_WATCH): Likewise.
63484 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63486         [BZ #14811]
63487         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
63488         (__ieee754_powl): Saturate nonzero exponents with absolute value
63489         below 0x1p-79 to +/- 0x1p-79.
63490         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
63491         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
63492         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
63493         nonzero exponents with absolute value below 0x1p-32 to +/-
63494         0x1p-32.
63495         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
63496         (__ieee754_powl): Saturate nonzero exponents with absolute value
63497         below 0x1p-79 to +/- 0x1p-79.
63498         * math/libm-test.inc (pow_test): Add more tests.
63500 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63502         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
63503         _dl_s390_cap_flags with kernel. Increase string length.
63504         (_dl_s390_platforms): Add z196 and zEC12.
63506 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63508         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
63509         Change XOPEN21K to XOPEN2K.
63511 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
63513         * string/memmove.c: Use memcpy when possible.
63515 2012-11-06  Andreas Jaeger  <aj@suse.de>
63517         * po/eo.po: Update from translation team.
63519 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
63521         [BZ #14793]
63522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
63523         exponent and small x and y exponents, scale x or y up.  Increase
63524         by 2 the exponent used in scaling up.
63525         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63526         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63527         * math/libm-test.inc (fma_test): Add more tests.
63528         (fma_test_towardzero): Likewise.
63529         (fma_test_downward): Likewise.
63530         (fma_test_upward): Likewise.
63532 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
63534         [BZ #14805]
63535         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
63536         fenv_t *.
63538         [BZ #14801]
63539         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
63540         namespace for names of struct fields.
63541         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
63542         fenv_t fields.
63543         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
63544         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
63546 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63548         [BZ #3665]
63549         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
63551 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63553         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
63554         PTR_DEMANGLE.
63556         [BZ #5246]
63557         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
63558         PTR_DEMANGLE.
63560 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
63562         [BZ #14797]
63563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
63564         definitely overflow as x * y not x * y + z.
63565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63567         * math/libm-test.inc (fma_test): Add more tests.
63568         (fma_test_towardzero): Likewise.
63569         (fma_test_downward): Likewise.
63570         (fma_test_upward): Likewise.
63572 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
63574         [BZ #157]
63576         * include/stub-tag.h: Remove file.
63577         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
63578         '#include' of it.
63579         * manual/maint.texi (Porting): Don't reference it.
63580         * Makerules ($(objpfx)stubs): Likewise.
63581         * dirent/closedir.c: Don't include <stub-tag.h>.
63582         * dirent/dirfd.c: Likewise.
63583         * dirent/fdopendir.c: Likewise.
63584         * dirent/getdents.c: Likewise.
63585         * dirent/getdents64.c: Likewise.
63586         * dirent/opendir.c: Likewise.
63587         * dirent/readdir.c: Likewise.
63588         * dirent/readdir64.c: Likewise.
63589         * dirent/readdir64_r.c: Likewise.
63590         * dirent/readdir_r.c: Likewise.
63591         * dirent/rewinddir.c: Likewise.
63592         * dirent/seekdir.c: Likewise.
63593         * dirent/telldir.c: Likewise.
63594         * gmon/profil.c: Likewise.
63595         * grp/setgroups.c: Likewise.
63596         * inet/if_index.c: Likewise.
63597         * io/access.c: Likewise.
63598         * io/chdir.c: Likewise.
63599         * io/chmod.c: Likewise.
63600         * io/chown.c: Likewise.
63601         * io/close.c: Likewise.
63602         * io/dup.c: Likewise.
63603         * io/dup2.c: Likewise.
63604         * io/dup3.c: Likewise.
63605         * io/euidaccess.c: Likewise.
63606         * io/faccessat.c: Likewise.
63607         * io/fchdir.c: Likewise.
63608         * io/fchmod.c: Likewise.
63609         * io/fchmodat.c: Likewise.
63610         * io/fchown.c: Likewise.
63611         * io/fchownat.c: Likewise.
63612         * io/fcntl.c: Likewise.
63613         * io/flock.c: Likewise.
63614         * io/fstatfs.c: Likewise.
63615         * io/fstatfs64.c: Likewise.
63616         * io/fstatvfs.c: Likewise.
63617         * io/fstatvfs64.c: Likewise.
63618         * io/futimens.c: Likewise.
63619         * io/fxstat.c: Likewise.
63620         * io/fxstat64.c: Likewise.
63621         * io/fxstatat.c: Likewise.
63622         * io/fxstatat64.c: Likewise.
63623         * io/getcwd.c: Likewise.
63624         * io/isatty.c: Likewise.
63625         * io/lchmod.c: Likewise.
63626         * io/lchown.c: Likewise.
63627         * io/link.c: Likewise.
63628         * io/linkat.c: Likewise.
63629         * io/lseek.c: Likewise.
63630         * io/lseek64.c: Likewise.
63631         * io/lxstat64.c: Likewise.
63632         * io/mkdir.c: Likewise.
63633         * io/mkdirat.c: Likewise.
63634         * io/mkfifo.c: Likewise.
63635         * io/mkfifoat.c: Likewise.
63636         * io/open.c: Likewise.
63637         * io/open64.c: Likewise.
63638         * io/openat.c: Likewise.
63639         * io/openat64.c: Likewise.
63640         * io/pipe.c: Likewise.
63641         * io/pipe2.c: Likewise.
63642         * io/poll.c: Likewise.
63643         * io/posix_fadvise.c: Likewise.
63644         * io/posix_fadvise64.c: Likewise.
63645         * io/posix_fallocate.c: Likewise.
63646         * io/posix_fallocate64.c: Likewise.
63647         * io/read.c: Likewise.
63648         * io/readlink.c: Likewise.
63649         * io/readlinkat.c: Likewise.
63650         * io/rmdir.c: Likewise.
63651         * io/sendfile.c: Likewise.
63652         * io/sendfile64.c: Likewise.
63653         * io/statfs.c: Likewise.
63654         * io/statfs64.c: Likewise.
63655         * io/statvfs.c: Likewise.
63656         * io/statvfs64.c: Likewise.
63657         * io/symlink.c: Likewise.
63658         * io/symlinkat.c: Likewise.
63659         * io/ttyname.c: Likewise.
63660         * io/ttyname_r.c: Likewise.
63661         * io/umask.c: Likewise.
63662         * io/unlink.c: Likewise.
63663         * io/unlinkat.c: Likewise.
63664         * io/utime.c: Likewise.
63665         * io/utimensat.c: Likewise.
63666         * io/write.c: Likewise.
63667         * io/xmknod.c: Likewise.
63668         * io/xmknodat.c: Likewise.
63669         * io/xstat.c: Likewise.
63670         * io/xstat64.c: Likewise.
63671         * login/getpt.c: Likewise.
63672         * login/grantpt.c: Likewise.
63673         * login/unlockpt.c: Likewise.
63674         * math/e_acoshl.c: Likewise.
63675         * math/e_acosl.c: Likewise.
63676         * math/e_asinl.c: Likewise.
63677         * math/e_atan2l.c: Likewise.
63678         * math/e_atanhl.c: Likewise.
63679         * math/e_coshl.c: Likewise.
63680         * math/e_expl.c: Likewise.
63681         * math/e_fmodl.c: Likewise.
63682         * math/e_gammal_r.c: Likewise.
63683         * math/e_hypotl.c: Likewise.
63684         * math/e_j0l.c: Likewise.
63685         * math/e_j1l.c: Likewise.
63686         * math/e_jnl.c: Likewise.
63687         * math/e_lgammal_r.c: Likewise.
63688         * math/e_log10l.c: Likewise.
63689         * math/e_log2l.c: Likewise.
63690         * math/e_logl.c: Likewise.
63691         * math/e_powl.c: Likewise.
63692         * math/e_rem_pio2l.c: Likewise.
63693         * math/e_sinhl.c: Likewise.
63694         * math/e_sqrtl.c: Likewise.
63695         * math/fclrexcpt.c: Likewise.
63696         * math/fedisblxcpt.c: Likewise.
63697         * math/feenablxcpt.c: Likewise.
63698         * math/fegetenv.c: Likewise.
63699         * math/fegetexcept.c: Likewise.
63700         * math/fegetround.c: Likewise.
63701         * math/feholdexcpt.c: Likewise.
63702         * math/fesetenv.c: Likewise.
63703         * math/fesetround.c: Likewise.
63704         * math/feupdateenv.c: Likewise.
63705         * math/fgetexcptflg.c: Likewise.
63706         * math/fraiseexcpt.c: Likewise.
63707         * math/fsetexcptflg.c: Likewise.
63708         * math/ftestexcept.c: Likewise.
63709         * math/k_cosl.c: Likewise.
63710         * math/k_rem_pio2l.c: Likewise.
63711         * math/k_sinl.c: Likewise.
63712         * math/k_tanl.c: Likewise.
63713         * math/s_asinhl.c: Likewise.
63714         * math/s_atanl.c: Likewise.
63715         * math/s_cbrtl.c: Likewise.
63716         * math/s_erfl.c: Likewise.
63717         * math/s_expm1l.c: Likewise.
63718         * math/s_log1pl.c: Likewise.
63719         * math/s_tanhl.c: Likewise.
63720         * misc/acct.c: Likewise.
63721         * misc/brk.c: Likewise.
63722         * misc/chflags.c: Likewise.
63723         * misc/chroot.c: Likewise.
63724         * misc/fchflags.c: Likewise.
63725         * misc/fgetxattr.c: Likewise.
63726         * misc/flistxattr.c: Likewise.
63727         * misc/fremovexattr.c: Likewise.
63728         * misc/fsetxattr.c: Likewise.
63729         * misc/fsync.c: Likewise.
63730         * misc/ftruncate.c: Likewise.
63731         * misc/futimes.c: Likewise.
63732         * misc/futimesat.c: Likewise.
63733         * misc/getdomain.c: Likewise.
63734         * misc/getdtsz.c: Likewise.
63735         * misc/gethostid.c: Likewise.
63736         * misc/gethostname.c: Likewise.
63737         * misc/getloadavg.c: Likewise.
63738         * misc/getpagesize.c: Likewise.
63739         * misc/getsysstats.c: Likewise.
63740         * misc/getxattr.c: Likewise.
63741         * misc/gtty.c: Likewise.
63742         * misc/ioctl.c: Likewise.
63743         * misc/lgetxattr.c: Likewise.
63744         * misc/listxattr.c: Likewise.
63745         * misc/llistxattr.c: Likewise.
63746         * misc/lremovexattr.c: Likewise.
63747         * misc/lsetxattr.c: Likewise.
63748         * misc/lutimes.c: Likewise.
63749         * misc/madvise.c: Likewise.
63750         * misc/mincore.c: Likewise.
63751         * misc/mlock.c: Likewise.
63752         * misc/mlockall.c: Likewise.
63753         * misc/mmap.c: Likewise.
63754         * misc/mprotect.c: Likewise.
63755         * misc/msync.c: Likewise.
63756         * misc/munlock.c: Likewise.
63757         * misc/munlockall.c: Likewise.
63758         * misc/munmap.c: Likewise.
63759         * misc/preadv.c: Likewise.
63760         * misc/preadv64.c: Likewise.
63761         * misc/ptrace.c: Likewise.
63762         * misc/pwritev.c: Likewise.
63763         * misc/pwritev64.c: Likewise.
63764         * misc/readv.c: Likewise.
63765         * misc/reboot.c: Likewise.
63766         * misc/remap_file_pages.c: Likewise.
63767         * misc/removexattr.c: Likewise.
63768         * misc/revoke.c: Likewise.
63769         * misc/select.c: Likewise.
63770         * misc/setdomain.c: Likewise.
63771         * misc/setegid.c: Likewise.
63772         * misc/seteuid.c: Likewise.
63773         * misc/sethostid.c: Likewise.
63774         * misc/sethostname.c: Likewise.
63775         * misc/setregid.c: Likewise.
63776         * misc/setreuid.c: Likewise.
63777         * misc/setxattr.c: Likewise.
63778         * misc/sstk.c: Likewise.
63779         * misc/stty.c: Likewise.
63780         * misc/swapoff.c: Likewise.
63781         * misc/swapon.c: Likewise.
63782         * misc/sync.c: Likewise.
63783         * misc/syncfs.c: Likewise.
63784         * misc/syscall.c: Likewise.
63785         * misc/truncate.c: Likewise.
63786         * misc/ualarm.c: Likewise.
63787         * misc/usleep.c: Likewise.
63788         * misc/ustat.c: Likewise.
63789         * misc/utimes.c: Likewise.
63790         * misc/vhangup.c: Likewise.
63791         * misc/writev.c: Likewise.
63792         * posix/_exit.c: Likewise.
63793         * posix/alarm.c: Likewise.
63794         * posix/execve.c: Likewise.
63795         * posix/fexecve.c: Likewise.
63796         * posix/fork.c: Likewise.
63797         * posix/fpathconf.c: Likewise.
63798         * posix/getaddrinfo.c: Likewise.
63799         * posix/getegid.c: Likewise.
63800         * posix/geteuid.c: Likewise.
63801         * posix/getgid.c: Likewise.
63802         * posix/getgroups.c: Likewise.
63803         * posix/getlogin.c: Likewise.
63804         * posix/getlogin_r.c: Likewise.
63805         * posix/getpgid.c: Likewise.
63806         * posix/getpid.c: Likewise.
63807         * posix/getppid.c: Likewise.
63808         * posix/getresgid.c: Likewise.
63809         * posix/getresuid.c: Likewise.
63810         * posix/getsid.c: Likewise.
63811         * posix/getuid.c: Likewise.
63812         * posix/glob64.c: Likewise.
63813         * posix/nanosleep.c: Likewise.
63814         * posix/pathconf.c: Likewise.
63815         * posix/pause.c: Likewise.
63816         * posix/posix_madvise.c: Likewise.
63817         * posix/pread.c: Likewise.
63818         * posix/pread64.c: Likewise.
63819         * posix/pwrite.c: Likewise.
63820         * posix/pwrite64.c: Likewise.
63821         * posix/sched_getaffinity.c: Likewise.
63822         * posix/sched_getp.c: Likewise.
63823         * posix/sched_gets.c: Likewise.
63824         * posix/sched_primax.c: Likewise.
63825         * posix/sched_primin.c: Likewise.
63826         * posix/sched_rr_gi.c: Likewise.
63827         * posix/sched_setaffinity.c: Likewise.
63828         * posix/sched_setp.c: Likewise.
63829         * posix/sched_sets.c: Likewise.
63830         * posix/sched_yield.c: Likewise.
63831         * posix/setgid.c: Likewise.
63832         * posix/setlogin.c: Likewise.
63833         * posix/setpgid.c: Likewise.
63834         * posix/setresgid.c: Likewise.
63835         * posix/setresuid.c: Likewise.
63836         * posix/setsid.c: Likewise.
63837         * posix/setuid.c: Likewise.
63838         * posix/sleep.c: Likewise.
63839         * posix/spawni.c: Likewise.
63840         * posix/sysconf.c: Likewise.
63841         * posix/times.c: Likewise.
63842         * posix/wait.c: Likewise.
63843         * posix/wait3.c: Likewise.
63844         * posix/wait4.c: Likewise.
63845         * posix/waitpid.c: Likewise.
63846         * resolv/gai_sigqueue.c: Likewise.
63847         * resource/getpriority.c: Likewise.
63848         * resource/getrlimit.c: Likewise.
63849         * resource/getrusage.c: Likewise.
63850         * resource/nice.c: Likewise.
63851         * resource/setpriority.c: Likewise.
63852         * resource/setrlimit.c: Likewise.
63853         * resource/ulimit.c: Likewise.
63854         * rt/aio_cancel.c: Likewise.
63855         * rt/aio_fsync.c: Likewise.
63856         * rt/aio_read.c: Likewise.
63857         * rt/aio_sigqueue.c: Likewise.
63858         * rt/aio_suspend.c: Likewise.
63859         * rt/aio_write.c: Likewise.
63860         * rt/clock_getres.c: Likewise.
63861         * rt/clock_gettime.c: Likewise.
63862         * rt/clock_nanosleep.c: Likewise.
63863         * rt/clock_settime.c: Likewise.
63864         * rt/lio_listio.c: Likewise.
63865         * rt/mq_close.c: Likewise.
63866         * rt/mq_getattr.c: Likewise.
63867         * rt/mq_notify.c: Likewise.
63868         * rt/mq_open.c: Likewise.
63869         * rt/mq_receive.c: Likewise.
63870         * rt/mq_send.c: Likewise.
63871         * rt/mq_setattr.c: Likewise.
63872         * rt/mq_timedreceive.c: Likewise.
63873         * rt/mq_timedsend.c: Likewise.
63874         * rt/mq_unlink.c: Likewise.
63875         * rt/shm_open.c: Likewise.
63876         * rt/shm_unlink.c: Likewise.
63877         * rt/timer_create.c: Likewise.
63878         * rt/timer_delete.c: Likewise.
63879         * rt/timer_getoverr.c: Likewise.
63880         * rt/timer_gettime.c: Likewise.
63881         * rt/timer_settime.c: Likewise.
63882         * setjmp/__longjmp.c: Likewise.
63883         * setjmp/setjmp.c: Likewise.
63884         * signal/kill.c: Likewise.
63885         * signal/killpg.c: Likewise.
63886         * signal/raise.c: Likewise.
63887         * signal/sigaction.c: Likewise.
63888         * signal/sigaltstack.c: Likewise.
63889         * signal/sigblock.c: Likewise.
63890         * signal/sigignore.c: Likewise.
63891         * signal/sigintr.c: Likewise.
63892         * signal/signal.c: Likewise.
63893         * signal/sigpause.c: Likewise.
63894         * signal/sigpending.c: Likewise.
63895         * signal/sigqueue.c: Likewise.
63896         * signal/sigreturn.c: Likewise.
63897         * signal/sigset.c: Likewise.
63898         * signal/sigsetmask.c: Likewise.
63899         * signal/sigstack.c: Likewise.
63900         * signal/sigsuspend.c: Likewise.
63901         * signal/sigtimedwait.c: Likewise.
63902         * signal/sigvec.c: Likewise.
63903         * signal/sigwait.c: Likewise.
63904         * signal/sigwaitinfo.c: Likewise.
63905         * signal/sysv_signal.c: Likewise.
63906         * socket/accept.c: Likewise.
63907         * socket/accept4.c: Likewise.
63908         * socket/bind.c: Likewise.
63909         * socket/connect.c: Likewise.
63910         * socket/getpeername.c: Likewise.
63911         * socket/getsockname.c: Likewise.
63912         * socket/getsockopt.c: Likewise.
63913         * socket/isfdtype.c: Likewise.
63914         * socket/listen.c: Likewise.
63915         * socket/recv.c: Likewise.
63916         * socket/recvfrom.c: Likewise.
63917         * socket/recvmsg.c: Likewise.
63918         * socket/send.c: Likewise.
63919         * socket/sendmsg.c: Likewise.
63920         * socket/sendto.c: Likewise.
63921         * socket/setsockopt.c: Likewise.
63922         * socket/shutdown.c: Likewise.
63923         * socket/sockatmark.c: Likewise.
63924         * socket/socket.c: Likewise.
63925         * socket/socketpair.c: Likewise.
63926         * stdio-common/ctermid.c: Likewise.
63927         * stdio-common/cuserid.c: Likewise.
63928         * stdio-common/remove.c: Likewise.
63929         * stdio-common/rename.c: Likewise.
63930         * stdio-common/renameat.c: Likewise.
63931         * stdio-common/tempname.c: Likewise.
63932         * stdlib/getcontext.c: Likewise.
63933         * stdlib/makecontext.c: Likewise.
63934         * stdlib/setcontext.c: Likewise.
63935         * stdlib/swapcontext.c: Likewise.
63936         * stdlib/system.c: Likewise.
63937         * streams/fattach.c: Likewise.
63938         * streams/fdetach.c: Likewise.
63939         * streams/getmsg.c: Likewise.
63940         * streams/getpmsg.c: Likewise.
63941         * streams/putmsg.c: Likewise.
63942         * streams/putpmsg.c: Likewise.
63943         * sysdeps/unix/bsd/getpt.c: Likewise.
63944         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
63945         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
63946         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
63947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63948         Likewise.
63949         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
63950         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63951         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
63952         * sysvipc/msgctl.c: Likewise.
63953         * sysvipc/msgget.c: Likewise.
63954         * sysvipc/msgrcv.c: Likewise.
63955         * sysvipc/msgsnd.c: Likewise.
63956         * sysvipc/semctl.c: Likewise.
63957         * sysvipc/semget.c: Likewise.
63958         * sysvipc/semop.c: Likewise.
63959         * sysvipc/semtimedop.c: Likewise.
63960         * sysvipc/shmat.c: Likewise.
63961         * sysvipc/shmctl.c: Likewise.
63962         * sysvipc/shmdt.c: Likewise.
63963         * sysvipc/shmget.c: Likewise.
63964         * termios/tcdrain.c: Likewise.
63965         * termios/tcflow.c: Likewise.
63966         * termios/tcflush.c: Likewise.
63967         * termios/tcgetattr.c: Likewise.
63968         * termios/tcgetpgrp.c: Likewise.
63969         * termios/tcsendbrk.c: Likewise.
63970         * termios/tcsetattr.c: Likewise.
63971         * termios/tcsetpgrp.c: Likewise.
63972         * time/adjtime.c: Likewise.
63973         * time/clock.c: Likewise.
63974         * time/getitimer.c: Likewise.
63975         * time/gettimeofday.c: Likewise.
63976         * time/setitimer.c: Likewise.
63977         * time/settimeofday.c: Likewise.
63978         * time/stime.c: Likewise.
63979         * time/time.c: Likewise.
63981 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
63983         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
63984         /usr/old/bin.
63986         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
63987         instead of spaces.
63988         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
63990 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
63992         [BZ #14796]
63993         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
63994         FE_TONEAREST before applying Dekker multiplication and Knuth
63995         addition.  Clear inexact exceptions and check for exact zero
63996         results afterwards.
63997         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63998         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63999         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64000         * math/libm-test.inc (fma_test): Add more tests.
64001         (fma_test_towardzero): Likewise.
64002         (fma_test_downward): Likewise.
64003         (fma_test_upward): Likewise.
64004         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64005         function.
64006         (libc_fesetround): New macro.
64007         (libc_fesetroundf): Likewise.
64008         (libc_fesetroundl): Likewise.
64009         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64010         function.
64011         (libc_fesetround_387): Likewise.
64012         (libc_fesetroundf): New macro.
64013         (libc_fesetround): Likewise.
64014         (libc_fesetroundl): Likewise.
64015         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64016         function.
64017         (libc_fesetroundf): New macro.
64018         (libc_fesetround): Likewise.
64019         (libc_fesetroundl): Likewise.
64020         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64021         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64022         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64023         libm_hidden_ver.
64024         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64025         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64026         libm_hidden_def.
64027         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64028         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64029         libm_hidden_ver.
64030         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64031         libm_hidden_def.
64033         [BZ #3439]
64034         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64035         integer constant usable in #if and use that to give value to enum
64036         constant.
64037         (FE_DIVBYZERO): Likewise.
64038         (FE_UNDERFLOW): Likewise.
64039         (FE_OVERFLOW): Likewise.
64040         (FE_INVALID): Likewise.
64041         (FE_INVALID_SNAN): Likewise.
64042         (FE_INVALID_ISI): Likewise.
64043         (FE_INVALID_IDI): Likewise.
64044         (FE_INVALID_ZDZ): Likewise.
64045         (FE_INVALID_IMZ): Likewise.
64046         (FE_INVALID_COMPARE): Likewise.
64047         (FE_INVALID_SOFTWARE): Likewise.
64048         (FE_INVALID_SQRT): Likewise.
64049         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64050         (FE_TONEAREST): Likewise.
64051         (FE_TOWARDZERO): Likewise.
64052         (FE_UPWARD): Likewise.
64053         (FE_DOWNWARD): Likewise.
64054         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64055         (FE_DIVBYZERO): Likewise.
64056         (FE_OVERFLOW): Likewise.
64057         (FE_UNDERFLOW): Likewise.
64058         (FE_INEXACT): Likewise.
64059         (FE_TONEAREST): Likewise.
64060         (FE_DOWNWARD): Likewise.
64061         (FE_UPWARD): Likewise.
64062         (FE_TOWARDZERO): Likewise.
64063         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64064         (FE_UNDERFLOW): Likewise.
64065         (FE_OVERFLOW): Likewise.
64066         (FE_DIVBYZERO): Likewise.
64067         (FE_INVALID): Likewise.
64068         (FE_TONEAREST): Likewise.
64069         (FE_TOWARDZERO): Likewise.
64070         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64071         (FE_OVERFLOW): Likewise.
64072         (FE_UNDERFLOW): Likewise.
64073         (FE_DIVBYZERO): Likewise.
64074         (FE_INEXACT): Likewise.
64075         (FE_TONEAREST): Likewise.
64076         (FE_TOWARDZERO): Likewise.
64077         (FE_UPWARD): Likewise.
64078         (FE_DOWNWARD): Likewise.
64079         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64080         (FE_DIVBYZERO): Likewise.
64081         (FE_OVERFLOW): Likewise.
64082         (FE_UNDERFLOW): Likewise.
64083         (FE_INEXACT): Likewise.
64084         (FE_TONEAREST): Likewise.
64085         (FE_DOWNWARD): Likewise.
64086         (FE_UPWARD): Likewise.
64087         (FE_TOWARDZERO): Likewise.
64089 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64091         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64093 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64095         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64096         commands.  Quote $PWD.
64097         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64098         -x" by "export".
64099         (remove_newlines): Remove.
64101 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64103         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64104         * stdlib/stdlib.h (atof): Moved to ...
64105         * include/bits/stdlib-float.h: Here.  New file.
64106         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64107         * stdlib/bits/stdlib-float.h: New file.
64108         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64109         -mno-sse -mno-mmx.
64110         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64111         <xmmintrin.h>.
64113 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64115         * conform/conformtest.pl (@headers): Add fenv.h.
64116         * conform/data/fenv.h-data: New file.
64117         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64118         include of <math/fenv.h>.
64120         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64121         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64122         && !UNIX98].  Enables tests for XOPEN2K8.
64123         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64124         POSIX2008]: Likewise.
64126         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64127         (struct rusage): Do not expect type or its members.
64129         [BZ #3439]
64130         * math/math.h (FP_NAN): Define macro to integer constant usable in
64131         #if and use that to give value to enum constant.
64132         (FP_INFINITE): Likewise.
64133         (FP_ZERO): Likewise.
64134         (FP_SUBNORMAL): Likewise.
64135         (FP_NORMAL): Likewise.
64137 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
64139         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
64140         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
64141         arguments.
64143 2012-11-02  Roland McGrath  <roland@hack.frob.com>
64145         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
64146         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
64147         autoconf-time if not.
64148         * configure.in: Remove AC_PREREQ.
64150 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64152         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
64153         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
64154         of the internal implementation.
64156 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64158         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
64159         except include of <misc/sys/syslog.h>.
64161 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
64164         function returns with a NULL context exit with zero.
64166 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64168         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
64170 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
64172         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
64173         (run_program_cmd): This.
64174         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
64175         (tst_langinfo): New variable.  Use it.
64177 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
64179         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
64180         floating point opcodes.
64182 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64184         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
64185         variable.
64187         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
64189         * sysdeps/mach/hurd/powerpc: Remove directory.
64190         * sysdeps/mach/powerpc: Likewise.
64192 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
64194         * scripts/check-local-headers.sh: Ignore c++ headers.
64196 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64198         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
64199         __libc_cleanup_region_start argument.
64201 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
64203         [BZ #14784]
64204         [BZ #14785]
64205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
64206         x * y using scaling, not as x * y + z.
64207         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64208         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64209         * math/libm-test.inc (fma_test): Add more tests.
64210         (fma_test_towardzero): Likewise.
64211         (fma_test_downward): Likewise.
64212         (fma_test_upward): Likewise.
64214 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
64216         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
64218 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64220         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
64221         New variable.
64223 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
64225         * rt/tst-shm.c (worker): Correct checking for mmap failure.
64227 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64230         Fix sort order.
64231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64232         Likewise.
64234 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64237         Fix the order of the list for glibc 2.17.
64238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64239         Likewise.
64241 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
64243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64245 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
64247         [BZ #14610]
64248         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
64249         for low part of x being zero before using __atanl (y).
64250         * math/libm-test.inc (atan2_test): Add another test.
64252         * manual/install.texi (Configuring and compiling): Document
64253         general use of test-wrapper and test-wrapper-env.
64254         * INSTALL: Regenerated.
64256         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
64257         (__fma): Do not extract and scale down low bits on after-rounding
64258         systems when result rounded to normal precision would have normal
64259         exponent.
64260         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
64261         (__fmal): Do not extract and scale down low bits on after-rounding
64262         systems when result rounded to normal precision would have normal
64263         exponent.
64264         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
64265         (__fmal): Do not extract and scale down low bits on after-rounding
64266         systems when result rounded to normal precision would have normal
64267         exponent.
64268         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
64269         macro.
64270         (fma_test): Add more tests.
64271         (fma_test_towardzero): Likewise.
64272         (fma_test_downward): Likewise.
64273         (fma_test_upward): Likewise.
64275 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
64277         * sysdeps/i386/tininess.h: Renamed to ...
64278         * sysdeps/x86/tininess.h: This.
64279         * sysdeps/x86_64/tininess.h: Removed.
64281 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64283         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
64284         input.  Use $(build-program-cmd).
64285         ($(objpfx)tst-array1-static.out): Likewise.
64286         ($(objpfx)tst-array2.out): Likewise.
64287         ($(objpfx)tst-array3.out): Likewise.
64288         ($(objpfx)tst-array4.out): Likewise.
64289         ($(objpfx)tst-array5.out): Likewise.
64290         ($(objpfx)tst-array5-static.out): Likewise.
64292 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
64294         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
64295         if defined.
64297         * nss/nsswitch.h (nss_interface_function): Provide new
64298         macro for use with NSS functions.
64299         * grp/initgroups.c: Use new macro.
64300         * nss/getXXbyYY.c: Likewise.
64301         * nss/getXXbyYY_r.c: Likewise.
64302         * nss/getXXent.c: Likewise.
64303         * nss/getXXent_r.c: Likewise.
64304         * sysdeps/posix/getaddrinfo.c: Likewise.
64306 2012-10-30  Andreas Jaeger  <aj@suse.de>
64308         * po/ru.po: Update Russion translation from translation project.
64310 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
64312         [BZ #14152]
64313         [BZ #14783]
64314         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
64315         result and shift together with sticky bit instead of replicating
64316         round-to-nearest rounding.
64317         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64318         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64319         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
64320         missing underflow exceptions.
64321         (fma_test_towardzero): Add more tests.
64322         (fma_test_downward): Likewise.
64323         (fma_test_upward): Likewise.
64325         [BZ #14047]
64326         * sysdeps/generic/tininess.h: New file.
64327         * sysdeps/i386/tininess.h: Likewise.
64328         * sysdeps/sh/tininess.h: Likewise.
64329         * sysdeps/x86_64/tininess.h: Likewise.
64330         * stdlib/tst-strtod-underflow.c: Likewise.
64331         * stdlib/tst-tininess.c: Likewise.
64332         * stdlib/strtod_l.c: Include <tininess.h>.
64333         (round_and_return): Do not set errno for exact underflow cases.
64334         Force an underflow exception when setting errno for underflow.
64335         Determine underflow based on rounding to normal precision if
64336         TININESS_AFTER_ROUNDING.
64337         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
64338         ERANGE for exact underflow cases.
64339         * stdlib/Makefile (tests): Add tst-tininess and
64340         tst-strtod-underflow.
64341         ($(objpfx)tst-tininess): Use $(link-libm).
64342         ($(objpfx)tst-strtod-underflow): Likewise.
64344 2012-10-30  Andreas Jaeger  <aj@suse.de>
64346         [BZ#14767]
64347         * elf/Makefile (tests): Remove conditional for have-initfini-array
64348         since this is now always required and the variable does not exist
64349         anymore.
64350         (tests-static): Likewise.
64351         (modules-names): Likewise.
64353         * po/eo.po: Add Esperanto translation from translation project.
64355         * elf/tst-array1.c (fini_array): Make writeable so that it can be
64356         merged with constructor/destructor.
64357         (init_array): Likewise.
64358         * elf/tst-array2dep.c (fini_array): Likewise.
64359         (init_array): Likewise.
64361 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
64363         * manual/message.texi: Delete @cartouche tags.
64365 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
64367         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
64368         EOPNOTSUPP.
64369         * sysdeps/mach/hurd/fsync.c: Likewise.
64371         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
64372         [_POSIX_REALTIME_SIGNALS]: Change condition to
64373         [_POSIX_REALTIME_SIGNALS > 0].
64375 2012-10-27  Andreas Jaeger  <aj@suse.de>
64377         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
64378         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
64379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
64380         [__WORDSIZE != 64]: Likewise.
64382 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
64384         *  iconvdata/tst-table.sh: Remove ${SHELL}.
64385         *  iconvdata/tst-tables.sh: Likewise.
64387 2012-10-25  David S. Miller  <davem@davemloft.net>
64389         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64390         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
64391         of strtoull.
64393         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
64394         ifunc-impl-list.c
64395         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
64396         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
64397         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
64398         file.
64400 2012-10-25  Roland McGrath  <roland@hack.frob.com>
64402         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64403         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
64404         __getdirentries.
64406 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64407             Jim Blandy  <jimb@codesourcery.com>
64409         * scripts/cross-test-ssh.sh: New file.
64410         * manual/install.texi (Configuring and compiling): Document use of
64411         cross-test-ssh.sh.
64412         * INSTALL: Regenerated.
64414 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
64416         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
64417         EOPNOTSUPP.
64419 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
64421         * Makeconfig (run-program-prefix): Fix comment.
64423 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64424             Jim Blandy  <jimb@codesourcery.com>
64426         * Makeconfig (test-wrapper): New variable,
64427         (test-wrapper-env): Likewise.
64428         [$(cross-compiling) = yes && $(test-wrapper) != ""]
64429         (run-built-tests): Define to yes.
64430         (run-program-prefix): Use $(test-wrapper).
64431         (built-program-cmd): Likewise.
64432         * Rules (make-test-out): Use $(test-wrapper-env) and
64433         $(host-built-program-cmd).
64434         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
64435         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
64436         tst-pathopt.sh.
64437         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
64438         $(test-wrapper-env) to tst-rtld-load-self.sh.
64439         ($(objpfx)order2.out): Use $(test-wrapper).
64440         ($(objpfx)tst-initorder.out): Likewise.
64441         ($(objpfx)tst-initorder2.out): Likewise.
64442         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
64443         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
64444         (test_wrapper_env): New variable.  Use it to run ld.so.
64445         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
64446         Use it to run ld.so.
64447         (test_wrapper_env): Likewise.
64448         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
64449         $(test-wrapper) to run-iconv-test.sh.
64450         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
64451         (ICONV): Use $test_wrapper.
64452         * posix/Makefile ($(objpfx)globtest.out): Pass
64453         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
64454         globtest.sh, not $(run-program-prefix).
64455         * posix/globtest.sh (run_via_rtld_prefix): New variable.
64456         (test_wrapper): Likewise.
64457         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
64458         set together with run_via_rtld_prefix.
64459         (run_program_prefix): Define in terms of test_wrapper and
64460         run_via_rtld_prefix.
64462 2012-10-24  Roland McGrath  <roland@hack.frob.com>
64464         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
64465         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
64466         Targets removed.
64468         [BZ #14743]
64469         * include/time.h: Remove librt_hidden_proto (clock_gettime).
64470         Declare __clock_getres, __clock_gettime, __clock_settime,
64471         __clock_nanosleep, and __clock_getcpuclockid.
64472         * rt/clock_gettime.c: Define __clock_gettime as an alias.
64473         Remove librt_hidden_def (clock_gettime).
64474         * sysdeps/unix/clock_gettime.c: Likewise.
64475         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
64476         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
64477         * rt/clock_getres.c: Define __clock_getres as an alias.
64478         * sysdeps/posix/clock_getres.c: Likewise.
64479         * rt/clock_settime.c: Define __clock_settime as an alias.
64480         * sysdeps/unix/clock_settime.c: Likewise.
64481         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
64482         * sysdeps/unix/clock_nanosleep.c: Likewise.
64483         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
64484         * rt/clock-compat.c: New file.
64485         * rt/Makefile (librt-routines): Add clock-compat and move
64486         $(clock-routines) to ...
64487         (routines): ... here, new variable.
64488         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
64489         Don't add get_clockfreq here.
64490         * rt/Versions (libc: GLIBC_2.17): New version set.
64491         Add clock_* symbols here.
64492         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
64493         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
64494         (GLIBC_2.17): Add clock_* symbols.
64495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64497         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64499         Likewise.
64500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64501         Likewise.
64502         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64503         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64506         * NEWS: Mention the move.
64508         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
64509         Use __open, __read, __close rather than their public counterparts.
64510         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64511         (__get_clockfreq_via_cpuinfo): Likewise.
64512         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
64513         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
64515         * config.h.in (HAVE_IFUNC): New #undef.
64516         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
64517         was successful.
64518         * configure: Regenerated.
64520 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64522         * configure.in: Move READELF check to start of file.
64523         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
64524         libc_cv_asm_gnu_indirect_function in the process.
64525         * configure: Regenerated.
64527 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
64529         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
64530         send the output to /dev/null.
64531         (libc_cv_cc_with_libunwind): Likewise.
64532         (libc_cv_as_noexecstack): Likewise.
64533         * configure: Regenerate.
64535 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
64537         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
64539         * posix/globtest.sh (TMPDIR): Do not set.
64540         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
64541         (testout): Likewise.
64543 2012-10-24  Andreas Jaeger  <aj@suse.de>
64545         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
64546         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
64547         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
64548         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
64549         posix_fadvise64, posix_fallocate64.
64551         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
64552         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
64553         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
64554         Likewise.
64555         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
64556         Likewise.
64557         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
64559         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
64560         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
64561         <bits/fcntl-linux.h>.
64562         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
64564         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
64565         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
64566         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
64567         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
64568         [__WORDSIZE != 64]: Likewise.
64570 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64572         * Makeconfig (run-built-tests): New variable.
64573         * Rules [$(cross-compiling) = yes]: Change condition to
64574         [$(run-built-tests) = no].
64575         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
64576         to [$(run-built-tests) = yes].
64577         * elf/Makefile [$(cross-compiling) = no]: Likewise.
64578         * grp/Makefile [$(cross-compiling) = no]: Likewise.
64579         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
64580         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
64581         * intl/Makefile [$(cross-compiling) = no]: Likewise.
64582         * io/Makefile [$(cross-compiling) = no]: Likewise.
64583         * libio/Makefile [$(cross-compiling) = no]: Likewise.
64584         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
64585         * misc/Makefile [$(cross-compiling) = no]: Likewise.
64586         * posix/Makefile [$(cross-compiling) = no]: Likewise.
64587         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
64588         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
64589         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
64590         * string/Makefile [$(cross-compiling) = no]: Likewise.
64592         * posix/Makefile ($(objpfx)globtest.out): Pass
64593         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
64594         $(rtld-installed-name).
64595         * posix/globtest.sh (elf_objpfx): Remove variable.
64596         (rtld_installed_name): Likewise.
64597         (library_path): Likewise.
64598         (run_program_prefix): New variable.  Use for running globtest
64599         binary.
64601 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
64602             Joseph Myers  <joseph@codesourcery.com>
64604         * Makeconfig (host-built-program-cmd): New variable.
64605         * elf/Makefile (tst-stackguard1-ARGS): Use
64606         $(host-built-program-cmd).
64607         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
64608         (tst-spawn-ARGS): Likewise.
64609         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
64611 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
64612             Jim Blandy  <jimb@codesourcery.com>
64614         * Makeconfig (run-via-rtld-prefix): New variable.
64615         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
64616         (built-program-cmd): Likewise.
64618 2012-10-22  Andreas Jaeger  <aj@suse.de>
64620         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
64621         __O_RSYNC if it exists, otherwise to O_SYNC.
64623 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
64624             Joseph Myers  <joseph@codesourcery.com>
64626         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
64627         /dev/null.
64628         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
64629         from /dev/null
64630         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
64631         /dev/null.
64633 2012-10-22  Andreas Jaeger  <aj@suse.de>
64635         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
64636         Define always.
64637         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
64639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64640         bits/fcntl-linux.h.
64642         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
64643         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
64645         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
64646         to __O_LARGEFILE.
64647         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
64648         to __O_LARGEFILE.
64650 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
64651             Joseph Myers  <joseph@codesourcery.com>
64653         * config.make.in (NM): New variable.
64655 2012-10-21  Andreas Jaeger  <aj@suse.de>
64657         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
64658         definitions and declarations that are provided by
64659         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64661 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64663         [BZ #14683]
64664         * elf/Makefile (tests-static): Add tst-leaks1-static.
64665         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
64666         ($(objpfx)tst-leaks1-static): New rule.
64667         ($(objpfx)tst-leaks1-static-mem): Likewise.
64668         (tst-leaks1-static-ENV): New macro.
64669         * elf/dl-open.c (dl_open_worker): Check the main application
64670         only if SHARED is defined.
64671         * elf/tst-leaks1-static.c: New file.
64673 2012-10-20  Andreas Jaeger  <aj@suse.de>
64675         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
64676         generic values for Linux.
64677         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
64678         and declarations that are provided by <bits/fcntl-linux.h> and
64679         include <bits/fcntl-linux.h>.
64680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
64681         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
64683 2012-10-20  Roland McGrath  <roland@hack.frob.com>
64685         * io/fcntl.h: Move include of <bits/types.h> to the top and
64686         include it unconditionally.
64688 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
64690         * wcsmbs/Makefile (tests-ifunc): New variable.
64691         (tests): Add $(tests-ifunc).
64692         * wcsmbs/test-wcschr-ifunc.c: New file.
64693         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
64694         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
64695         * wcsmbs/test-wcslen-ifunc.c: Likewise.
64696         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
64697         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
64699         * string/Makefile (tests-ifunc): New variable.
64700         (tests): Add $(tests-ifunc).
64701         * string/test-memccpy.c (TEST_NAME): New macro.
64702         * string/test-memchr.c (TEST_NAME): Likewise.
64703         * string/test-memcmp.c (TEST_NAME): Likewise.
64704         * string/test-memcpy.c (TEST_NAME): Likewise.
64705         * string/test-memmem.c (TEST_NAME): Likewise.
64706         * string/test-memmove.c (TEST_NAME): Likewise.
64707         * string/test-memset.c (TEST_NAME): Likewise.
64708         * string/test-rawmemchr.c (TEST_NAME): Likewise.
64709         * string/test-stpcpy.c (TEST_NAME): Likewise.
64710         * string/test-stpncpy.c (TEST_NAME): Likewise.
64711         * string/test-strcasecmp.c (TEST_NAME): Likewise.
64712         * string/test-strcasestr.c (TEST_NAME): Likewise.
64713         * string/test-strcat.c (TEST_NAME): Likewise.
64714         * string/test-strchr.c (TEST_NAME): Likewise.
64715         * string/test-strcmp.c(TEST_NAME): Likewise.
64716         * string/test-strcpy.c (TEST_NAME): Likewise.
64717         * string/test-strcspn.c (TEST_NAME): Likewise.
64718         * string/test-strlen.c (TEST_NAME): Likewise.
64719         * string/test-strncasecmp.c (TEST_NAME): Likewise.
64720         * string/test-strncmp.c (TEST_NAME): Likewise.
64721         * string/test-strncpy.c (TEST_NAME): Likewise.
64722         * string/test-strnlen.c (TEST_NAME): Likewise.
64723         * string/test-strpbrk.c (TEST_NAME): Likewise.
64724         * string/test-strrchr.c (TEST_NAME): Likewise.
64725         * string/test-strspn.c (TEST_NAME): Likewise.
64726         * string/test-strstr.c (TEST_NAME): Likewise.
64727         * string/test-bcopy-ifunc.c: New file.
64728         * string/test-bzero-ifunc.c: Likewise.
64729         * string/test-memccpy-ifunc.c: Likewise.
64730         * string/test-memchr-ifunc.c: Likewise.
64731         * string/test-memcmp-ifunc.c: Likewise.
64732         * string/test-memcpy-ifunc.c: Likewise.
64733         * string/test-memmem-ifunc.c: Likewise.
64734         * string/test-memmove-ifunc.c: Likewise.
64735         * string/test-mempcpy-ifunc.c: Likewise.
64736         * string/test-memset-ifunc.c: Likewise.
64737         * string/test-rawmemchr-ifunc.c: Likewise.
64738         * string/test-stpcpy-ifunc.c: Likewise.
64739         * string/test-stpncpy-ifunc.c: Likewise.
64740         * string/test-strcasecmp-ifunc.c: Likewise.
64741         * string/test-strcasestr-ifunc.c: Likewise.
64742         * string/test-strcat-ifunc.c: Likewise.
64743         * string/test-strchr-ifunc.c: Likewise.
64744         * string/test-strchrnul-ifunc.c: Likewise.
64745         * string/test-strcmp-ifunc.c: Likewise.
64746         * string/test-strcpy-ifunc.c: Likewise.
64747         * string/test-strcspn-ifunc.c: Likewise.
64748         * string/test-strlen-ifunc.c: Likewise.
64749         * string/test-strncasecmp-ifunc.c: Likewise.
64750         * string/test-strncat-ifunc.c: Likewise.
64751         * string/test-strncmp-ifunc.c: Likewise.
64752         * string/test-strncpy-ifunc.c: Likewise.
64753         * string/test-strnlen-ifunc.c: Likewise.
64754         * string/test-strpbrk-ifunc.c: Likewise.
64755         * string/test-strrchr-ifunc.c: Likewise.
64756         * string/test-strspn-ifunc.c: Likewise.
64757         * string/test-strstr-ifunc.c: Likewise.
64759         * debug/Makefile (tests-ifunc): New variable.
64760         (tests): Add $(tests-ifunc).
64761         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
64762         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
64763         * debug/test-stpcpy_chk-ifunc.c: New file.
64764         * debug/test-strcpy_chk-ifunc.c: Likewise.
64766 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64768         [BZ #13601]
64769         * elf/dl-load.c (open_verify): Retry read if the entire ELF
64770         header is not read in.
64772 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
64774         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
64775         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
64776         directly.  Pass built executable to script as
64777         $(built-program-cmd).
64778         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
64779         $testprogram without using LD_LIBRARY_PATH and $ldso.
64781         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
64782         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
64783         $(rtld-installed-name).
64784         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
64785         (rtld_installed_name): Likewise.
64786         (library_path): Likewise.
64787         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
64788         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
64789         $(run-program-prefix) to tst-tables.sh.
64790         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
64791         it to run tst-table-from and tst-table-to.
64792         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
64793         Pass it to tst-table.sh.
64794         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
64795         $(run-program-prefix) to tst-gettext.sh.
64796         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
64797         tst-translit.sh.
64798         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
64799         tst-gettext2.sh.
64800         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
64801         to run tst-gettext.
64802         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
64803         to run tst-gettext2.
64804         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
64805         to run tst-translit.
64806         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
64807         $(run-program-prefix) to tst-mtrace.sh.
64808         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
64809         to run tst-mtrace.
64810         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
64811         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
64812         $(rtld-installed-name).
64813         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
64814         (rtld_installed_name): Likewise.
64815         (run_program_prefix): New variable.  Use it to run wordexp-test.
64817         * Makeconfig (ARCH): Remove all definitions.
64818         (machine): Likewise.
64819         [ARCH]: Remove conditional code.
64820         [!objdir]: Give error.
64821         [!objdir] (objpfx): Remove.
64822         [!objdir] (common-objpfx): Likewise.
64823         [!objdir] (common-objdir): Likewise.
64824         * configure.in (config_makefile): Remove.  Hardcode Makefile in
64825         AC_CONFIG_FILES call.
64826         * configure: Regenerated.
64828         [BZ #13888]
64829         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
64830         or TMPDIR.
64831         (testout): Likewise.
64833         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
64834         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
64835         $(rtld-installed-name).
64836         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
64837         (rtld_installed_name): Likewise.
64838         (runit): Remove function.
64839         (run_getconf): New variable,  Use it for running getconf binary.
64841 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
64843         [BZ #14716]
64844         * string/test-memmem.c (check_result): New function.
64845         (do_one_test): Use it.
64846         (check1): New function.
64847         (test_main): Use it.
64849 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
64851         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
64853 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
64855         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
64856         (_G_LSEEK64): Likewise.
64857         (_G_MMAP64): Likewise.
64858         (_G_FSTAT64): Likewise.
64859         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
64860         (_G_LSEEK64): Likewise.
64861         (_G_MMAP64): Likewise.
64862         (_G_FSTAT64): Likewise.
64863         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
64864         unconditional.  Call __mmap64 directly.
64865         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
64866         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
64867         __lseek64 directly.
64868         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
64869         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
64870         __mmap64 directly.
64871         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
64872         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64873         __lseek64 directly.
64874         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
64875         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
64876         __lseek64 directly.
64877         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
64878         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
64879         __lseek64 directly.
64880         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
64881         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
64882         __fxstat64 directly.
64883         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
64884         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
64885         unconditional.
64886         (freopen64) [!_G_OPEN64]: Remove conditional code.
64887         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
64888         unconditional.
64889         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
64890         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
64891         unconditional.
64892         (ftello64) [!_G_LSEEK64]: Remove conditional code.
64893         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
64894         unconditional.
64895         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64896         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
64897         unconditional.
64898         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
64899         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
64900         unconditional.
64901         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64902         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
64903         unconditional.
64904         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
64905         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
64906         unconditional.
64907         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
64909 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64911         [BZ #12140]
64912         * manual/memory.texi (Malloc Tunable Parameters): Add note
64913         about free list pointers overwriting some perturb bytes.
64914         Wording suggested by Roland McGrath.
64916 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
64918         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
64919         (lgamma_test): Likewise.
64920         (tgamma_test): Likewise.
64922 2012-10-16  Florian Weimer  <fweimer@redhat.com>
64924         [BZ #14700]
64925         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
64926         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
64928 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
64930         * NEWS: Mention BZ #14716.
64931         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
64932         when removing AVAILABLE1_USES_J macro.
64934 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
64936         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
64937         (__bswap_64): __uint64_t for unsigned 64-bit int.
64939 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
64941         * include/string.h (memmem): Declare libc hidden alias.
64942         * string/memmem.c (memmem): Define libc hidden alias.
64943         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
64944         __read, __close instead of open, read, close.
64946 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
64948         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
64949         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
64950         global and hidden.
64951         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
64952         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
64953         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
64954         Likewise.
64955         (__rawmemchr_sse2): Likewise.
64956         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
64957         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
64958         (__strchr_sse2): Likewise.
64959         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
64960         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
64961         (__strcasecmp_sse2): Likewise.
64962         (__strncasecmp_sse2): Likewise.
64963         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
64964         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
64965         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
64966         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
64967         (__strrchr_sse2): Likewise.
64968         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
64969         ifunc-impl-list.c.
64970         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
64971         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
64972         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
64973         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64974         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
64975         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
64976         * sysdeps/x86_64/multiarch/memset.S: Likewise.
64977         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
64978         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
64979         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
64980         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
64981         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
64982         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
64983         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
64984         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
64985         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64986         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
64987         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
64988         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
64989         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
64990         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
64991         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
64992         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
64993         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
64994         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
64995         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64996         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
64997         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64998         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
64999         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65001         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65002         global and hidden.
65003         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65004         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65005         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65006         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65007         Likewise.
65008         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65009         Likewise.
65010         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65011         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65012         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65013         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65014         ifunc-impl-list.c.
65015         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65016         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65017         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65018         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65019         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65020         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65021         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65022         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65023         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65024         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65025         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65026         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65027         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65028         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65029         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65030         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65031         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65032         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65033         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65034         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65035         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65036         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65037         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65038         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65039         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65040         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65041         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65042         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65043         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65044         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65045         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65046         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65047         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65048         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65049         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65050         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65051         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65052         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65053         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65054         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65055         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65057         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65058         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65059         * include/ifunc-impl-list.h: New file.
65060         * misc/ifunc-impl-list.c: Likewise.
65061         * misc/Makefile (routines): Add ifunc-impl-list.
65062         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65063         * string/test-string.h: Include <ifunc-impl-list.h>.
65064         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65065         TEST_NAME]: New variables.
65066         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65067         are defined.
65068         (test_init): Call __libc_ifunc_impl_list to initialize
65069         func_list if TEST_IFUNC and TEST_NAME are defined.
65071         * string/Makefile (strop-tests): Add bcopy and bzero.
65072         * string/test-bcopy.c: New file.
65073         * string/test-bzero.c: Likewise.
65074         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65075         defined.
65076         * string/test-memset.c: Support bzero test if TEST_BZERO is
65077         defined.
65078         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65079         __libc_memmove.
65080         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65081         __libc_memset.
65082         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65083         of memset.
65085 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65087         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65088         * configure: Regenerated.
65090         * Makeconfig (+link-static-before-libc): Don't include
65091         $(link-static-libc).
65093         * libio/libio.h (_IO_pos_t): Remove.
65095 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65097         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65098         McGrath.
65100 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65102         * crypt/crypt-entry.c: Include fips-private.h.
65103         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65104         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65105         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65106         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65108 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65110         * crypt/crypt-private.h: Include stdbool.h.
65111         (_ufc_setup_salt_r): Return bool.
65112         * crypt/crypt-entry.c: Include errno.h.
65113         (__crypt_r): Return NULL with EINVAL for bad salt.
65114         * crypt/crypt_util.c (bad_for_salt): New.
65115         (_ufc_setup_salt_r): Check that salt is long enough and within
65116         the specified alphabet.
65117         * crypt/badsalttest.c: New file.
65118         * crypt/Makefile (tests): Add it.
65119         ($(objpfx)badsalttest): New.
65121 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65123         * NEWS: Add entry for BZ #14602.
65125 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65127         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65128         type-generic.
65129         * math/libm-test.inc: Update comment listing what functions and
65130         macros are tested.
65131         (isgreater_test): New function.
65132         (isgreaterequal_test): Likewise.
65133         (isless_test): Likewise.
65134         (islessequal_test): Likewise.
65135         (islessgreater_test): Likewise.
65136         (isunordered_test): Likewise.
65137         (main): Call the new functions.
65139 2012-10-09  Roland McGrath  <roland@hack.frob.com>
65141         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
65142         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
65143         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
65144         * sysdeps/i386/configure: Regenerated.
65145         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
65146         * sysdeps/mach/configure: Regenerated.
65147         * sysdeps/mach/hurd/configure: Regenerated.
65148         * sysdeps/powerpc/configure: Regenerated.
65149         * sysdeps/powerpc/powerpc32/configure: Regenerated.
65150         * sysdeps/powerpc/powerpc64/configure: Regenerated.
65151         * sysdeps/s390/s390-32/configure: Regenerated.
65152         * sysdeps/s390/s390-64/configure: Regenerated.
65153         * sysdeps/sh/configure: Regenerated.
65154         * sysdeps/sparc/configure: Regenerated.
65155         * sysdeps/unix/sysv/linux/configure: Regenerated.
65156         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
65157         * sysdeps/x86_64/configure: Regenerated.
65159         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
65160         defined.  Don't check if MAP is NULL.
65162 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65164         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
65165         (_G_stat64): Likewise.
65166         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
65167         (_G_stat64): Likewise.
65168         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
65169         instead of struct _G_stat64.
65170         * libio/fileops.c (mmap_remap_check): Likewise.
65171         (decide_maybe_mmap): Likewise.
65172         (_IO_new_file_seekoff): Likewise.
65173         (_IO_file_stat): Likewise.
65174         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
65175         _G_off64_t.
65176         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
65177         instead of struct _G_stat64.
65178         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65180 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
65182         [BZ #14602]
65183         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65184         Replace with ...
65185         (CHECK_EOL): New macro.
65186         (two_way_short_needle): Check beginning of haystack for EOL.  Use
65187         CHECK_EOL.
65188         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65189         Replace with CHECK_EOL.
65190         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
65191         Replace with CHECK_EOL.
65193 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
65195         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
65196         type-generic.
65197         * math/libm-test.inc: Update comment listing what functions and
65198         macros are tested.
65199         (finite_test): New function.
65200         (isinf_test): Likewise.
65201         (isnan_test): Likewise.
65202         (fpclassify_test): Test subnormal input.
65203         (isfinite_test): Likewise.
65204         (isnormal_test): Likewise.
65205         (main): Call the new functions.
65207 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
65209         [BZ #14660]
65210         * Makerules (%.dynsym): Force C locale when running
65211         $(OBJDUMP) --dynamic-syms.
65213 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
65215         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
65216         <stdint.h>.
65218 2012-10-06  David S. Miller  <davem@davemloft.net>
65220         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
65221         upper 32-bits of the length value in %o2 since we use branch-on-register
65222         tests which consider the entire 64-bit register.
65224 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
65226         * string/test-strstr.c (check2): Add a test for page boundary.
65228 2012-10-05  David S. Miller  <davem@davemloft.net>
65230         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
65231         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
65232         file.
65233         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65234         sysdep_routines.
65235         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65236         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
65237         and bzero when HWCAP_SPARC_CRYPTO is present.
65239 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
65241         [BZ #14602]
65242         * string/test-strstr.c (check2): New function.
65243         (test_main): Call check2.
65245         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
65246         and bug-strchr1.
65247         * string/bug-strcasestr1.c (do_test): Moved to ...
65248         * string/test-strcasestr.c (check1): Here.  New function.
65249         (do_one_test): Break out result checking code into ...
65250         (check_result): This.  New function.
65251         (do_one_test): Call check_result.
65252         (test_main): Call check1.
65253         * string/bug-strchr1.c (do_test): Moved to ...
65254         * string/test-strchr.c (check1): Here.  New function.
65255         (do_one_test): Break out result checking code into ...
65256         (check_result): This.  New function.
65257         (do_one_test): Call check_result.
65258         (test_main): Call check1.
65259         * string/bug-strstr1.c (main): Moved to ...
65260         * string/test-strstr.c (check1): Here.  New function.
65261         (do_one_test): Break out result checking code into ...
65262         (check_result): This.  New function.
65263         (do_one_test): Call check_result.
65264         (test_main): Call check1.
65265         * string/bug-strcasestr1.c: Removed.
65266         * string/bug-strchr1.c: Likewise.
65267         * string/bug-strstr1.c: Likewise.
65269         * elf/Makefile (dl-routines): Add hwcaps.
65270         * elf/dl-support.c (_dl_important_hwcaps): Removed.
65271         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
65272         (_dl_important_hwcaps): Moved to ...
65273         * elf/dl-hwcaps.c: Here.  New file.
65274         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
65276         [BZ #14557]
65277         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
65278         if IS_IN_rtld isn't defined.
65280         * elf/dl-support.c (_dl_sysinfo_map): New.
65281         Include "get-dynamic-info.h" and "setup-vdso.h".
65282         (_dl_non_dynamic_init): Call setup_vdso.
65283         * elf/dynamic-link.h: Don't include <assert.h>.
65284         (elf_get_dynamic_info): Moved to ...
65285         * elf/get-dynamic-info.h: Here.  New file.
65286         * elf/dynamic-link.h: Include "get-dynamic-info.h".
65287         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
65288         * elf/setup-vdso.h: Here.  New file.
65289         * elf/rtld.c: Include "setup-vdso.h".
65290         (dl_main): Call setup_vdso.
65292 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
65294         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
65295         creal in comment listing functions tested.  List finite, isinf,
65296         isnan, isless, islessequal, isgreater, isgreaterequal,
65297         islessgreater, isunordered, lgamma_r and pow10 as functions and
65298         macros not tested.  Mention which functions not tested are aliases
65299         for other functions.  Fix typo.  Note that signs of NaNs are not
65300         tested.
65302         * scripts/config.guess: Update from config.git.
65303         * scripts/config.sub: Likewise.
65305 2012-10-04  Roland McGrath  <roland@hack.frob.com>
65307         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
65308         * misc/madvise.c (madvise): Renamed to __madvise.
65309         Make madvise a weak alias.
65310         * include/sys/mman.h: Declare __madvise.
65311         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
65312         * sysdeps/unix/syscalls.list
65313         (madvise): Make __madvise the strong name, and madvise a weak alias.
65314         * sysdeps/unix/sysv/linux/syscalls.list
65315         (madvise, mmap): Remove redundant entries.
65316         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
65317         * malloc/malloc.c (mtrim): Likewise.
65318         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
65320 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65322         * sysdeps/mach/hurd/dl-cache.c: File removed.
65323         * config.h.in (USE_LDCONFIG): New #undef.
65324         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
65325         * configure: Regenerated.
65326         * elf/Makefile (dl-routines): Add dl-cache only under
65327         [$(use-ldconfig) = yes].
65328         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
65329         cache on [USE_LDCONFIG].
65330         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
65331         [USE_LDCONFIG].
65332         * elf/rtld.c (dl_main): Likewise.
65334 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
65336         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
65337         _SC_LEVEL4_CACHE_LINESIZE.
65339 2012-10-03  Roland McGrath  <roland@hack.frob.com>
65341         * sysdeps/unix/bsd/confstr.h: File removed.
65343 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
65345         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
65346         sys/sdt-config.h.
65348 2012-10-02  Roland McGrath  <roland@hack.frob.com>
65350         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
65351         Make 'mapoff' field ElfW(Off) rather than off_t.
65353 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
65355         * nscd/Makefile: Remove nscd-cflags and all its users.
65356         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
65357         (CFLAGS-nonlib): Add compiler flags for nscd modules.
65359         [BZ #10631]
65360         * malloc.c (malloc_printerr): Clarify error message.
65362 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
65364         [BZ #14648]
65365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65366         Set bit_FMA_Usable if FMA is supported.
65367         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
65368         macro.
65369         (bit_FMA4_Usable): Updated.
65370         (index_FMA_Usable): New macro.
65371         (CPUID_FMA): Likewise.
65372         (HAS_FMA): Defined with bit_FMA_Usable.
65374 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65376         * bits/types.h (__swblk_t): Type removed.
65377         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
65378         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
65379         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65380         (__SWBLK_T_TYPE): Likewise.
65381         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65382         (__SWBLK_T_TYPE): Likewise.
65383         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65384         (__SWBLK_T_TYPE): Likewise.
65385         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65386         (__SWBLK_T_TYPE): Likewise.
65388 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
65389             Honza Horak <hhorak@redhat.com>
65391         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
65392         (xdr_mapname): Use YPMAXMAP as maxsize.
65393         (xdr_peername): Use YPMAXPEER as maxsize.
65394         (xdr_keydat): Use YPAXRECORD as maxsize.
65395         (xdr_valdat): Use YPMAXRECORD as maxsize.
65397 2012-10-01  Roland McGrath  <roland@hack.frob.com>
65399         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
65401         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
65402         * csu/init-first.c: ... here.
65403         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
65404         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
65405         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
65406         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
65407         * sysdeps/i386/init-first.c: File removed.
65408         * sysdeps/sh/init-first.c: File removed.
65410 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
65412         [BZ #14645]
65413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
65414         if x * y might underflow to zero and z is zero.
65415         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65416         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65417         * math/libm-test.inc (min_subnorm_value): New variable.
65418         (fma_test): Add more tests.
65419         (fma_test_towardzero): Likewise.
65420         (fma_test_downward): Likewise.
65421         (fma_test_upward): Likewise.
65422         (initialize): Set min_subnorm_value.
65424 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
65426         [BZ #14638]
65427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
65428         0 + 0.
65429         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
65430         mode for addition resulting in exact zero.
65431         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
65432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
65433         exact 0 + 0.
65434         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65435         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65436         * math/libm-test.inc (fma_test): Add more tests.
65437         (fma_test_towardzero): New function.
65438         (fma_test_downward): Likewise.
65439         (fma_test_upward): Likewise.
65440         (main): Call the new functions.
65442 2012-09-28  David S. Miller  <davem@davemloft.net>
65444         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
65446 2012-09-28  Roland McGrath  <roland@hack.frob.com>
65448         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
65449         instead of SIGALRM.
65451         * sysdeps/gnu/_G_config.h: Moved to ...
65452         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
65453         * sysdeps/mach/hurd/_G_config.h: Moved to ...
65454         * sysdeps/generic/_G_config.h: ... here.
65456         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
65458         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
65460         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
65461         Conditionalize target on [libnss_test1.so-version].
65463         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
65465         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
65466         (elfobjdir): Move out of conditionals.
65468         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
65469         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
65470         (__nss_lookup_function): Conditionalize label remove_from_tree on
65471         [!DO_STATIC_NSS || SHARED], matching its only use.
65473 2012-09-28  David S. Miller  <davem@davemloft.net>
65475         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
65476         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
65477         file.
65478         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
65479         sysdep_routines.
65480         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
65481         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
65482         when HWCAP_SPARC_CRYPTO is present.
65484 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65486         * io/tst-mknodat.c: Create a FIFO instead of a socket.
65488 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
65490         [BZ #6530]
65491         * stdio-common/vfprintf.c (process_string_arg): Revert
65492         2000-07-22 change.
65494 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
65496         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
65497         for testcase.
65498         * stdio-common/tst-sprintf.c: Include <locale.h>
65499         (main): Test sprintf's handling of incomplete multibyte
65500         characters.
65502 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
65504         * elf/dl-runtime.c (VERSYMIDX): Removed.
65505         * elf/dl-version.c (VERSYMIDX): Likewise.
65506         * elf/do-rel.h (VERSYMIDX): Likewise.
65507         (VALIDX): Likewise.
65508         * elf/dynamic-link.h (VERSYMIDX): Likewise.
65509         * elf/rtld.c (VALIDX): Likewise.
65510         (ADDRIDX): Likewise.
65511         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
65512         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
65513         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
65514         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
65515         (VALIDX): Likewise.
65516         (ADDRIDX): Likewise.
65518 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65520         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
65522 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
65524         [BZ #11438]
65525         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
65526         to global scope.
65527         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
65528         addresses are in the same scope as 192.0.2/24.
65529         * posix/gai.conf: Document new scope table defaults.
65531 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65533         [BZ #5298]
65534         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
65535         for ftell.  Compute offsets from write pointers instead.
65536         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
65538 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65540         [BZ #14543]
65541         * libio/Makefile (tests): New test case tst-fseek.
65542         * libio/tst-fseek.c: New test case to verify that fseek/ftell
65543         combination works in wide mode.
65544         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
65545         state when the external buffer state changes.
65547 2012-09-27  David S. Miller  <davem@davemloft.net>
65549         [BZ #14376]
65550         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
65551         pass reloc->r_addend in as the 'high' argument to
65552         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
65554         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65556 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
65558         * rt/tst-aio2.c: Include <pthread.h>.
65559         * rt/tst-aio3.c: Likewise.
65561 2012-09-27  Steve Ellcey  <sellcey@mips.com>
65563         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
65565 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
65567         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
65568         contents on [SHARED].
65570 2012-09-26  Marek Polacek  <polacek@redhat.com>
65572         [BZ #14530]
65573         [BZ #13741]
65574         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
65575         for C++ and GCC <4.3 as well as for non GCC compilers.
65577 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65579         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65581 2012-09-25  Roland McGrath  <roland@hack.frob.com>
65583         * Makefile.in (all, install): Declare with .PHONY.
65584         Reported by Michael Hope <michael.hope@linaro.org>.
65586 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65588         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
65589         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
65590         system header.
65591         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
65592         Likewise.
65593         (sydep_routines): Add the new and the internal functions.
65594         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
65595         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
65596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
65597         (GLIBC_2.17): Add the new function.
65598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65599         (GLIBC_2.17): Likewise.
65600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
65601         (GLIBC_2.17): Likewise.
65602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
65603         (GLIBC_2.17): Likewise.
65604         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
65606 2012-09-25  Alan Modra  <amodra@gmail.com>
65608         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
65609         Add release barrier before setting once_control to say
65610         initialisation is done.  Add hints on lwarx.  Use macro in
65611         place of isync.
65612         (clear_once_control): Add release barrier.
65614 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65616         [BZ #13629]
65617         * math/s_clog.c (__clog): Handle more values close to |z| = 1
65618         specially.
65619         * math/s_clog10.c (__clog10): Likewise.
65620         * math/s_clog10f.c (__clog10f): Likewise.
65621         * math/s_clog10l.c (__clog10l): Likewise.
65622         * math/s_clogf.c (__clogf): Likewise.
65623         * math/s_clogl.c (__clogl): Likewise.
65624         * math/Makefile (libm-calls): Add x2y2m1.
65625         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
65626         (__x2y2m1): Likewise.
65627         (__x2y2m1l): Likewise.
65628         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
65629         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
65630         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
65631         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
65632         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
65633         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
65634         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
65635         * sysdeps/i386/fpu/libm-test-ulps: Update.
65636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65638         [BZ #14621]
65639         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
65640         int as type of variable DEPTH.
65641         (glob): Use size_t instead of int as type of variables NEWCOUNT
65642         and OLD_PATHC.
65644 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65646         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
65647         Add s_sincosf-sse2.
65648         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
65649         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
65650         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
65651         macros for using routine as __sincosf_ia32.
65652         Use macro for function declaration and weak_alias.
65653         * sysdeps/i386/fpu/libm-test-ulps: Update.
65655         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
65656         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65658         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
65659         subnormal argument.
65660         * math/s_cexpf.c (__cexpf): Likewise.
65661         * math/s_csinf.c (__csinf): Likewise.
65662         * math/s_csinhf.c (__csinhf): Likewise.
65663         * math/s_ctanf.c (__ctanf): Likewise.
65664         * math/s_ctanhf.c (__ctanhf): Likewise.
65665         * math/s_ccosh.c (__ccoshf): Likewise.
65666         * math/s_cexp.c (__cexpl): Likewise.
65667         * math/s_csin.c (__csin): Likewise.
65668         * math/s_csinh.c (__csinh): Likewise.
65669         * math/s_ctan.c (__ctan): Likewise.
65670         * math/s_ctanh.c (ctanh): Likewise.
65671         * math/s_ccoshl.c (__ccoshl): Likewise.
65672         * math/s_cexpl.c (__cexpl): Likewise.
65673         * math/s_csinl.c (__csinl): Likewise.
65674         * math/s_csinhl.c (__csinhl): Likewise.
65675         * math/s_ctanl.c (__ctanl): Likewise.
65676         * math/s_ctanhl.c (__ctanhl): Likewise.
65678 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
65680         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
65681         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
65682         (_IO_off_t): Define to __off_t, not _G_off_t.
65683         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
65684         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
65685         (_IO_wint_t): Define to wint_t, not _G_wint_t.
65686         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
65687         type of __dummy and __dummy2 fields.
65688         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
65689         (_G_ssize_t): Likewise.
65690         (_G_off_t): Likewise.
65691         (_G_pid_t): Likewise.
65692         (_G_uid_t): Likewise.
65693         (_G_wchar_t): Likewise.
65694         (_G_wint_t): Likewise.
65695         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
65696         (_G_ssize_t): Likewise.
65697         (_G_off_t): Likewise.
65698         (_G_pid_t): Likewise.
65699         (_G_uid_t): Likewise.
65700         (_G_wchar_t): Likewise.
65701         (_G_wint_t): Likewise.
65702         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
65703         (_G_ssize_t): Likewise.
65704         (_G_off_t): Likewise.
65705         (_G_pid_t): Likewise.
65706         (_G_uid_t): Likewise.
65707         (_G_wchar_t): Likewise.
65708         (_G_wint_t): Likewise.
65710 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65712         * malloc/arena.c: Include malloc-sysdep.h.
65713         (shrink_heap): Use check_may_shrink_heap to decide if madvise
65714         is sufficient to shrink the heap or an unmap is needed.
65715         * sysdeps/generic/malloc-sysdep.h: New file.  Define
65716         new function check_may_shrink_heap.
65717         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
65718         new function check_may_shrink_heap.
65720 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
65722         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
65723         comments.
65725 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
65727         * catgets/test-gencat.sh: Add "set -e".
65728         * elf/tst-pathopt.sh: Likewise.
65729         * grp/tst_fgetgrent.sh: Likewise.
65730         * iconvdata/run-iconv-test.sh: Likewise.
65731         * intl/tst-gettext.sh: Likewise.
65732         * intl/tst-gettext2.sh: Likewise.
65733         * intl/tst-gettext4.sh: Likewise.
65734         * intl/tst-gettext6.sh: Likewise.
65735         * intl/tst-translit.sh: Likewise.
65736         * io/ftwtest-sh: Likewise.
65737         * libio/test-freopen.sh: Likewise.
65738         * malloc/tst-mtrace.sh: Likewise.
65739         * posix/globtest.sh: Likewise.
65740         * posix/tst-getconf.sh: Likewise.
65741         * posix/wordexp-tst.sh: Likewise.
65742         * stdio-common/tst-printf.sh: Likewise.
65743         * stdio-common/tst-unbputc.sh: Likewise.
65744         * stdlib/tst-fmtmsg.sh: Likewise.
65745         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65746         * catgets/Makefile: Do not specify -e option when running
65747         testsuite shell scripts.
65748         * elf/Makefile: Likewise.
65749         * grp/Makefile: Likewise.
65750         * iconvdata/Makefile: Likewise.
65751         * intl/Makefile: Likewise.
65752         * io/Makefile: Likewise.
65753         * libio/Makefile: Likewise.
65754         * malloc/Makefile: Likewise.
65755         * posix/Makefile: Likewise.
65756         * stdio-common/Makefile: Likewise.
65757         * stdlib/Makefile: Likewise.
65758         * sysdeps/x86_64/Makefile: Likewise.
65760         * io/ftwtest-sh: Add copyright header.
65761         * posix/globtest.sh: Likewise.
65762         * posix/tst-getconf.sh: Likewise.
65763         * posix/wordexp-tst.sh: Likewise.
65764         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
65766 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
65768         [BZ #13679]
65769         * Makeconfig (+link): Defined as $(+link-static) if
65770         $(build-shared) isn't yes.
65771         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
65772         isn't yes.
65773         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
65775         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
65777         [BZ #14562]
65778         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
65779         new chunk size with MALLOC_ALIGN_MASK.
65781 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
65783         [BZ #5044]
65784         * stdio-common/printf_fphex.c: Include <stdbool.h> and
65785         <rounding-mode.h>.
65786         (__printf_fphex): Determine rounding using get_rounding_mode and
65787         round_away.
65788         * stdio-common/tst-printf-round.c (struct hex_test): New
65789         structure.
65790         (hex_tests): New variable.
65791         (test_hex_in_one_mode): New function.
65792         (do_test): Also run tests for hex float output.
65794 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
65796         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65797         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65798         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
65799         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
65800         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
65801         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
65802         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65803         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
65805 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
65807         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
65808         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
65809         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
65810         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
65812 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
65814         [BZ #14579]
65815         * elf/rtld.c (dl_main): Limit the check for self loading to normal
65816         mode only.
65817         * elf/tst-rtld-load-self.sh: New test.
65818         * elf/Makefile: Run it.
65820 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
65822         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
65823         (tst-writev-ENV): Remove.
65824         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
65826 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
65828         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
65830 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
65832         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
65833         unconditional.
65834         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
65835         Likewise.
65836         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
65837         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
65838         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
65839         Likewise.
65841 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
65843         [BZ #14587]
65844         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
65845         * config.make.in (have-cpp-asm-debuginfo): Removed.
65846         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
65847         * configure: Regenerated.
65849 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
65851         [BZ #5044]
65852         * stdio-common/printf_fp.c: Include <stdbool.h> and
65853         <rounding-mode.h>.
65854         (___printf_fp): Determine rounding using get_rounding_mode and
65855         round_away.
65856         * stdio-common/tst-printf-round.c: New file.
65857         * stdio-common/Makefile (tests): Add tst-printf-round.
65858         (link-libm): New variable.
65859         ($(objpfx)tst-printf-round): Depend in $(link-libm).
65861 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
65863         [BZ #14576]
65864         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
65865         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
65866         Likewise.
65867         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
65868         Likewise.
65870 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
65872         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
65873         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65874         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65875         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
65877 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
65879         [BZ #14518]
65880         * include/rounding-mode.h: New file.
65881         * sysdeps/generic/get-rounding-mode.h: Likewise.
65882         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
65883         * stdlib/strtod_l.c: Include <rounding-mode.h>.
65884         (MAX_VALUE): New macro.
65885         (MIN_VALUE): Likewise.
65886         (overflow_value): New function.
65887         (underflow_value): Likewise.
65888         (round_and_return): Use overflow_value and underflow_value to
65889         determine return values in overflow and underflow cases.  Use
65890         round_away to determine rounding depending on rounding mode.
65891         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
65892         determine return values in overflow and underflow cases.
65893         * stdlib/tst-strtod-round.c: Include <fenv.h>.
65894         (struct test_results): New structure.
65895         (struct test): Use struct test_results to store expected results
65896         for all rounding modes.
65897         (TEST): Include expected results for all rounding modes.
65898         (test_in_one_mode): New function.
65899         (do_test): Use test_in_one_mode to compute and check results.
65900         Check results for all rounding modes.
65901         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
65902         $(link-libm).
65904 2012-12-09  Allan McRae  <allan@archlinux.org>
65906         * sysdeps/i386/fpu/libm-test-ulps: Update
65908 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
65910         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
65911         (_G_int32_t): Likewise.
65912         (_G_uint16_t): Likewise.
65913         (_G_uint32_t): Likewise.
65914         (_G_HAVE_BOOL): Likewise.
65915         (_G_HAVE_ATEXIT): Likewise.
65916         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65917         (_G_HAVE_IO_FILE_OPEN): Likewise.
65918         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
65919         (_G_int32_t): Likewise.
65920         (_G_uint16_t): Likewise.
65921         (_G_uint32_t): Likewise.
65922         (_G_HAVE_BOOL): Likewise.
65923         (_G_HAVE_ATEXIT): Likewise.
65924         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65925         (_G_HAVE_IO_FILE_OPEN): Likewise.
65926         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
65927         (_G_int32_t): Likewise.
65928         (_G_uint16_t): Likewise.
65929         (_G_uint32_t): Likewise.
65930         (_G_HAVE_BOOL): Likewise.
65931         (_G_HAVE_ATEXIT): Likewise.
65932         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
65933         (_G_HAVE_IO_FILE_OPEN): Likewise.
65935 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
65937         * csu/libc-tls.c: Update copyright years.
65939 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
65941         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
65942         [!_G_USING_THUNKS]: Remove conditional code.
65943         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
65944         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
65946         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
65947         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
65948         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65949         (_G_VTABLE_LABEL_PREFIX): Likewise.
65950         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65951         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65952         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65953         (_G_VTABLE_LABEL_PREFIX): Likewise.
65954         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65955         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
65956         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
65957         (_G_VTABLE_LABEL_PREFIX): Likewise.
65958         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
65960 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
65962         * libio/Makefile: Include ../Makeconfig before tests.
65963         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
65964         only if $(build-shared) is yes.
65966         * iconv/gconv_db.c: Update copyright years.
65968 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65970         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
65971         unwind info if defined PIC. Fix special cases description.
65972         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
65974         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
65975         DP_HI_MASK entry.
65976         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
65978 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
65980         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
65982         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
65983         is NULL.
65985         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
65986         (LDLIBS-tst-chk4): This.
65987         (LDFLAGS-tst-chk5): Renamed to ...
65988         (LDLIBS-tst-chk5): This.
65989         (LDFLAGS-tst-chk6): Renamed to ...
65990         (LDLIBS-tst-chk6): This.
65991         (LDFLAGS-tst-lfschk4): Renamed to ...
65992         (LDLIBS-tst-lfschk4): This.
65993         (LDFLAGS-tst-lfschk5): Renamed to ...
65994         (LDLIBS-tst-lfschk5): This.
65995         (LDFLAGS-tst-lfschk6): Renamed to ...
65996         (LDLIBS-tst-lfschk6): This.
65998         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
65999         on $(common-objpfx)soversions.mk.
66001 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66003         [BZ #10014]
66004         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66005         example host name.
66007 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66009         * malloc/arena.c (arena_get_retry): New function that gets
66010         another arena for the caller to try its request on.
66011         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66012         current arena cannot fulfill the request.
66013         (__libc_memalign): Likewise.
66014         (__libc_memalign): Likewise.
66015         (__libc_pvalloc): Likewise.
66016         (__libc_calloc): Likewise.
66018 2012-09-05  John Tobey  <john.tobey@gmail.com>
66020         [BZ #13542]
66021         * manual/arith.texi (Operations on Complex): Fix description
66022         of carg branch cut.
66024 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66026         [BZ #10014]
66027         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66028         host name.
66030         [BZ #10038]
66031         * manual/memory.texi (Memory): Make order of menu items match
66032         order of sections.
66034 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66036         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66037         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66038         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66040 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66042         * csu/libc-tls.c (static_dtv): Renamed to ...
66043         (_dl_static_dtv): This.  Make it global.
66044         (_dl_initial_dtv): Removed.
66045         (__libc_setup_tls): Updated.
66046         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66047         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66048         DL_INITIAL_DTV.
66050 2012-09-06  Petr Machata  <pmachata@redhat.com>
66052         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66053         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66054         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66055         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66057 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66059         [BZ #14545]
66060         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66061         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66062         freeing dtv[-1].
66064 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66066         [BZ #14544]
66067         * Makeconfig (link-static-before-libc): Replace $(+prector)
66068         with $(+prectorT).
66069         (link-static-after-libc): Replace $(+postctor) with
66070         $(+postctorT).
66071         (link-bounded): Replace $(+prector)/$(+postctor) with
66072         $(+prectorT)/$(+postctorT).
66073         (+prectorT): New macro.
66074         (+postctorT): Likewise.
66076 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66078         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66079         (round_str): Handle values above the maximum for IBM long double
66080         as inexact.
66081         * stdlib/tst-strtod-round.c (tests): Regenerated.
66083 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66085         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66086         assembler flag.
66087         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66088         zarch_nohighgprs around the zarch optimized routines.
66089         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66090         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66091         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66092         for zarch.
66094 2012-09-05  David S. Miller  <davem@davemloft.net>
66096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66098         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66099         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66100         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66101         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66102         entries.
66104 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66106         * malloc/arena.c: Fold copyright years.
66107         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66109 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66111         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66113 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66115         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66117 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66119         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66120         change internal state upon failure.
66122 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66124         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66125         * malloc/memusage.c (mmap): Likewise.
66126         (mmap64, mremap): Likewise.  Adjust name in comment.
66128 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66130         * libio/fileops.c: Fix typos in comments.
66131         * libio/oldfileops.c: Likewise.
66132         * libio/wfileops.c: Likewise.
66134 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66136         [BZ #1349]
66137         * malloc/Makefile (tests): Add tst-malloc-usable test case.
66138         (tst-malloc-usable-ENV): Set environment for test case.
66139         * malloc/hooks.c (malloc_check_get_size): New function to get
66140         requested size.
66141         * malloc/malloc.c (musable): Use malloc_check_get_size.
66142         * malloc/tst-malloc-usable.c: New test case.
66144 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66146         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
66148 2012-09-05  Allan McRae  <allan@archlinux.org>
66150         [BZ #13966]
66151         * configure.in (CXX_SYSINCLUDES): Use compiler output to
66152         determine header location.
66153         * configure: Regenerated.
66155 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
66157         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
66158         float format.
66159         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
66160         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
66161         format.
66162         (test): Regenerate.
66164 2012-09-04  David S. Miller  <davem@davemloft.net>
66166         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
66167         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
66168         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
66170 2012-09-04  Florian Weimer  <fweimer@redhat.com>
66172         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
66173         failures.
66175         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
66177 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
66179         [BZ #9914]
66180         * libio/iogetdelim.c: Include <limits.h>.
66181         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
66182         + len + 1 would overflow.
66184 2012-09-03  Andreas Jaeger  <aj@suse.de>
66186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66187         * sysdeps/i386/fpu/libm-test-ulps: Update.
66189 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66191         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66192         Add s_sinf-sse2, s_conf-sse2.
66194         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
66195         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
66196         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
66197         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
66199         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
66200         for using routine as __sinf_ia32.
66201         Use macro for function declaration and weak_alias.
66202         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
66203         for using routine as __cosf_ia32.
66204         Use macro for function declaration and weak_alias.
66206         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
66207         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
66209         * sysdeps/x86_64/fpu/s_sinf.S: New file.
66210         * sysdeps/x86_64/fpu/s_cosf.S: New file.
66211         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66213         * math/libm-test.inc (cos_test): Add more test cases.
66214         (sin_test): Likewise.
66215         (sincos_test): Likewise.
66217 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66219         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
66220         (IFUNC_RESOLVE): Make pointers to the specialized implementations
66221         hidden.
66222         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66224 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
66226         [BZ #14538]
66227         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
66228         first element of the GOT.
66229         (elf_machine_load_address): Return the difference between
66230         the runtime address of _DYNAMIC and elf_machine_dynamic ().
66232 2012-09-01  Allan McRae  <allan@archlinux.org>
66234         [BZ #13412]
66235         * configure.in (AWK): Require gawk version 3.0 or later.
66236         * configure: Regenerated.
66238 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
66240         * sysdeps/unix/sysv/linux/kernel-features.h
66241         (__ASSUME_POSIX_CPU_TIMERS): Remove.
66242         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66243         [__NR_clock_getres]: Make code unconditional.
66244         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
66245         (clock_getcpuclockid): Remove code left unreachable by removal of
66246         conditionals.
66247         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
66248         code unconditional.
66249         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66250         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66251         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
66252         Make code unconditional.
66253         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
66254         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66255         * sysdeps/unix/sysv/linux/clock_settime.c
66256         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
66257         conditional code.
66258         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
66259         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
66261 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
66263         [BZ #14476]
66264         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
66265         scripts/test-installation.pl.
66267         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
66268         and $ld_so_version if it is set.
66270 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66272         [BZ #14516]
66273         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
66274         failure if reading from procfs failed.
66275         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
66277 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66279         * sysdeps/unix/sysv/linux/kernel-features.h
66280         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
66281         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66282         Remove conditional code.
66283         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66284         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
66285         Remove conditional code.
66286         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66287         * sysdeps/unix/sysv/linux/i386/fxstat.c
66288         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66289         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66290         * sysdeps/unix/sysv/linux/i386/fxstatat.c
66291         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66292         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66293         * sysdeps/unix/sysv/linux/i386/lxstat.c
66294         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
66295         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66296         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
66297         Remove conditional code.
66298         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66299         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
66300         Remove conditional code.
66301         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66302         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
66303         <kernel-features.h>.
66304         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
66305         Remove.
66306         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
66307         Remove conditional code.
66308         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
66309         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
66310         Remove conditional.
66312 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
66314         [BZ #5400]
66315         * NEWS: Add fixed bug number.
66317 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
66319         [BZ #14519]
66320         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
66321         underflowing exponent in case of negative sign.
66322         * stdlib/tst-strtod-round-data: Add more tests.
66323         * stdlib/tst-strtod-round.c (tests): Regenerated.
66325         [BZ #3479]
66326         * stdlib/strtod_l.c (NDIG): Remove.
66327         (HEXNDIG): Likewise.
66328         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
66329         smallest representable value.
66330         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
66331         lie within an exact representation of 1/2 ulp of the result.
66332         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
66333         unconditionally.
66334         (TENS_P9_IDX): Define unconditionally.
66335         (TENS_P9_SIZE): Likewise.
66336         (TENS_P10_IDX): Likewise.
66337         (TENS_P10_SIZE): Likewise.
66338         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
66339         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
66340         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
66341         entries for 10^2^13 and 10^2^14.
66342         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
66343         (TENS_P13_IDX): Define.
66344         (TENS_P13_SIZE): Likewise.
66345         (TENS_P14_IDX): Likewise.
66346         (TENS_P14_SIZE): Likewise.
66347         (_fpioconst_pow10): Change array size to
66348         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
66349         unconditional.
66350         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
66351         1024]: Add entries for 10^2^13 and 10^2^14.
66352         [LAST_POW10 > _LAST_POW10]: Remove #error.
66353         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
66354         (_fpioconst_pow10): Change array size to
66355         FPIOCONST_POW10_ARRAY_SIZE.
66356         * stdlib/gen-fpioconst.c: New file.
66357         * stdlib/gen-tst-strtod-round.c: Likewise.
66358         * stdlib/tst-strtod-round-data: Likewise.
66359         * stdlib/tst-strtod-round.c: Likewise.
66360         * stdlib/Makefile (tests): Add tst-strtod-round.
66362         [BZ #14459]
66363         * stdlib/strtod_l.c: Include <stdint.h>.
66364         (NDEBUG): Do not define.
66365         (round_and_return): Change EXPONENT parameter to type intmax_t.
66366         Rearrange calculations to avoid internal overflow possibilities.
66367         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
66368         Rearrange calculations to avoid internal overflow possibilities.
66369         Assert that number fits inside MPNSIZE limbs.
66370         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
66371         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
66372         calculations and add assertions to avoid internal overflow
66373         possibilities.  Add casts to avoid signed/unsigned operations.
66374         * stdlib/tst-strtod-overflow.c: New file.
66375         * stdlib/Makefile (tests): Add tst-strtod-overflow.
66377 2012-08-25  Marek Polacek  <polacek@redhat.com>
66379         * time/time.h: Fix some typos in comments.
66381 2012-08-23  Roland McGrath  <roland@hack.frob.com>
66383         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
66384         * posix/tst-rfc3484-2.c: Likewise.
66385         * posix/tst-rfc3484-3.c: Likewise.
66387 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
66389         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
66390         (EF_ARM_ABI_FLOAT_HARD): Likewise.
66392 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
66394         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
66395         #include of fxstatat64.c.
66397 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66399         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
66400         * shadow/getspent_r.c: Likewise.
66401         * shadow/getspnam.c: Likewise.
66402         * shadow/getspnam_r.c: Likewise.
66403         * gshadow/getsgent.c: Likewise.
66404         * gshadow/getsgent_r.c: Likewise.
66405         * gshadow/getsgnam.c: Likewise.
66406         * gshadow/getsgnam_r.c: Likewise.
66407         * inet/getnetbyad.c: Likewise.
66408         * inet/getnetbyad_r.c: Likewise.
66409         * inet/getnetbynm.c: Likewise.
66410         * inet/getnetbynm_r.c: Likewise.
66411         * inet/getnetent.c: Likewise.
66412         * inet/getnetent_r.c: Likewise.
66413         * inet/getproto.c: Likewise.
66414         * inet/getproto_r.c: Likewise.
66415         * inet/getprtent.c: Likewise.
66416         * inet/getprtent_r.c: Likewise.
66417         * inet/getprtname.c: Likewise.
66418         * inet/getprtname_r.c: Likewise.
66419         * inet/getrpcbyname.c: Likewise.
66420         * inet/getrpcbyname_r.c: Likewise.
66421         * inet/getrpcbynumber.c: Likewise.
66422         * inet/getrpcbynumber_r.c: Likewise.
66423         * inet/getrpcent.c: Likewise.
66424         * inet/getrpcent_r.c: Likewise.
66425         * inet/getaliasent.c: Likewise.
66426         * inet/getaliasent_r.c: Likewise.
66427         * inet/getaliasname.c: Likewise.
66428         * inet/getaliasname_r.c: Likewise.
66429         * nscd/getgrgid_r.c: Likewise.
66430         * nscd/getgrnam_r.c: Likewise.
66431         * nscd/gethstbyad_r.c: Likewise.
66432         * nscd/gethstbynm3_r.c: Likewise.
66433         * nscd/getpwnam_r.c: Likewise.
66434         * nscd/getpwuid_r.c: Likewise.
66435         * nscd/getsrvbynm_r.c: Likewise.
66436         * nscd/getsrvbypt_r.c: Likewise.
66437         * nscd/gai.c: Likewise.
66439         * configure.in (build_nscd): New substituted variable, set
66440         by --disable-build-nscd and defaults to $use_nscd.
66441         * configure: Regenerated.
66442         * config.make.in (build-nscd): New substituted variable.
66443         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
66444         Change conditional to require [$(build-nscd) = yes] as well.
66445         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
66447         [BZ# 13696]
66448         * configure.in (use_nscd): New substituted variable, set by
66449         --disable-nscd.  If enabled, define USE_NSCD.
66450         * configure: Regenerated.
66451         * config.h.in: Add USE_NSCD.
66452         * config.make.in (use-nscd): New substituted variable.
66453         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
66454         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
66455         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
66456         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
66457         (CFLAGS-getgrnam_r.c): Likewise.
66458         (CFLAGS-initgroups.c): Likewise.
66459         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
66460         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
66461         Variables removed.
66462         * inet/getnetgrent_r.c
66463         (nscd_setnetgrent): New function, broken out of ...
66464         (setnetgrent): ... here.  Call it.
66465         (innetgr): Conditionalize nscd bits on [USE_NSCD].
66466         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
66467         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
66468         * nscd/Makefile (routines, aux): Move definitions after include of
66469         Makeconfig.  Conditionalize on [$(use-nscd) != no].
66470         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
66471         Conditionalize on [USE_NSCD].
66472         (is_nscd, nscd_init_cb): Likewise.
66473         (nss_load_library): Conditionalize init callback on [USE_NSCD].
66474         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
66475         * nss/nss_db/db-init.c: Likewise.
66476         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
66477         [USE_NSCD].
66478         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
66479         (make_request): Use it.
66480         (cache_valid_p): New function.
66481         (__check_pf): Use it.
66482         * NEWS: Add item for --disable-nscd.
66484 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
66486         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
66487         to support sed >= 4.2.1-20-ga9bf076.
66488         * configure: Regenerated.
66490 2012-08-22  Roland McGrath  <roland@hack.frob.com>
66492         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
66493         Conditionalize whole body on [IREL].
66495 2012-08-22  Jeff Law <law@redhat.com>
66497         [BZ #14505]
66498         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
66499         if the family is PF_UNSPEC.
66501 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
66503         * Makerules (lib-version): Rename from V.
66504         (install-lib-nosubdir): Change V to lib-version.
66506 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
66508         [BZ #14252]
66509         * powerpc32/power6/wcschr.c: New file.
66510         * powerpc32/power6/wcscpy.c: New file.
66511         * powerpc32/power6/wcsrchr.c: New file.
66512         * powerpc64/power6/wcschr.c: New file.
66513         * powerpc64/power6/wcscpy.c: New file.
66514         * powerpc64/power6/wcsrchr.c: New file.
66516 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66518         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
66519         (two_way_short_needle): Use it.
66520         * string/strstr.c (AVAILABLE1_USES_J): Define.
66521         * string/strcasestr.c: Likewise.
66523         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
66524         array references.
66525         * string/strcasestr.c (TOLOWER): Make side-effect safe.
66527         [BZ #11607]
66528         * NEWS: Add an entry.
66529         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
66530         define their defaults.
66531         (two_way_short_needle): Detect end-of-string on-the-fly.
66532         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
66533         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
66534         * string/bug-strcasestr1.c: New test.
66535         * string/Makefile: Run it.
66537 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
66539         [BZ #11607]
66540         * string/str-two-way.h (two_way_short_needle): Optimize matching of
66541         the first character.
66543 2012-08-21  Roland McGrath  <roland@hack.frob.com>
66545         * csu/elf-init.c (__libc_csu_irel): Function removed.
66546         * csu/libc-start.c (apply_irel): New function.
66547         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
66549 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
66551         * sysdeps/unix/sysv/linux/kernel-features.h
66552         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
66553         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
66554         <kernel-features.h>.
66555         [__NR_fadvise64_64]: Make code unconditional.
66556         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
66557         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66558         !__NR_fadvise64_64)]: Likewise.
66559         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
66560         !__NR_fadvise64_64))]: Likewise.
66561         [__NR_fadvise64]: Make code unconditional.
66562         [!__NR_fadvise64]: Remove conditional code.
66563         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
66564         <kernel-features.h>.
66565         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66566         unconditional.
66567         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66568         conditional code.
66569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
66570         not include <kernel-features.h>.
66571         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66572         unconditional.
66573         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66574         conditional code.
66575         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
66576         include <kernel-features.h>.
66577         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
66578         unconditional.
66579         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
66580         conditional code.
66582 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66584         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
66585         slight instruction rearrangements per scrollpipe analysis.
66586         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
66588 2012-08-20  Roland McGrath  <roland@hack.frob.com>
66590         * manual/syslog.texi (syslog; vsyslog, closelog):
66591         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
66592         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
66594         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
66595         DSOCAPS to match condition on defining it.
66597 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
66599         * sysdeps/unix/sysv/linux/kernel-features.h
66600         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
66601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
66602         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66603         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
66605         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66606         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
66608         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
66609         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
66611         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
66612         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
66614         * sysdeps/unix/sysv/linux/kernel-features.h
66615         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
66616         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
66617         unconditional.
66618         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66619         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
66620         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66621         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66622         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
66623         Make code unconditional.
66624         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66625         (__mmap64) [!__NR_mmap2]: Likewise.
66626         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
66627         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
66628         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66629         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
66630         [__NR_mmap2]: Make code unconditional.
66631         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
66632         (__mmap64) [!__NR_mmap2]: Likewise.
66634 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66636         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
66638 2012-08-18  Andreas Jaeger  <aj@suse.de>
66640         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
66642 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66644         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
66645         * include/unistd.h (__have_sock_cloexec): Likewise.
66646         (__have_pipe2): Likewise.
66647         (__have_dup3): Likewise.
66649 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
66651         [BZ #9685]
66652         * include/unistd.h (__have_pipe2): Change define into an extern int.
66653         (__have_dup3): Likewise.
66654         * socket/have_sock_cloexec.c: Include fcntl.h.
66655         (__have_pipe2): New variable.
66656         (__have_dup3): Likewise.
66658 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
66660         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
66662 2012-08-17  Marek Polacek  <polacek@redhat.com>
66664         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
66665         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
66667 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66669         * configure.in: Add AC_SUBST for sysheaders.
66670         * configure: Regenerated.
66671         * config.make.in (sysheaders): New substituted variable.
66673         * sysdeps/unix/mkfifo.c: Moved ...
66674         * sysdeps/posix/mkfifo.c: ... here.
66675         * sysdeps/unix/mkfifoat.c: Moved ...
66676         * sysdeps/posix/mkfifoat.c: ... here.
66678         * sysdeps/unix/utime.c: Moved ...
66679         * sysdeps/posix/utime.c: ... here.
66681         * sysdeps/unix/time.c: Moved ...
66682         * sysdeps/posix/time.c: ... here.
66683         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
66684         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
66686         * sysdeps/unix/nice.c: Moved ...
66687         * sysdeps/posix/nice.c: ... here.
66689         * sysdeps/unix/alarm.c: Moved ...
66690         * sysdeps/posix/alarm.c: ... here.
66692         * intl/Makefile ($(codeset_mo)): Depend on the input file.
66694 2012-08-17  Jeff Law <law@redhat.com>
66696         * intl/Makefile (codeset_mo): New variable.
66697         ($(codeset_mo)): New target.
66698         (tst-codeset.out): Depend on that.  Remove explicit rule.
66699         (tst-gettext3.out, tst-gettext5.out): Likewise.
66700         (LOCPATH-ENV, tst-codeset-ENV): New variables.
66701         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
66702         * intl/tst-codeset.sh: Remove.
66703         * intl/tst-gettext3.sh: Likewise.
66704         * intl/tst-gettext5.sh: Likewise.
66706 2012-08-17  Roland McGrath  <roland@hack.frob.com>
66708         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
66709         * sysdeps/unix/syscalls.list: ... here.
66711         * sysdeps/posix/getaddrinfo.c
66712         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
66713         (gaiconf_init, gaiconf_reload): Use them.
66714         [!_STATBUF_ST_NSEC]
66715         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
66716         Define using time_t rather than struct timespec.
66718         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
66719         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
66720         Macros removed.
66721         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
66722         [!NO_THREADS].
66723         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
66724         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
66725         Likewise.
66727         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
66728         __libc_cleanup_push argument.
66730         * bits/param.h: New file.
66731         * misc/sys/param.h: New file.
66732         * include/sys/param.h: New file.
66733         * misc/Makefile (headers): Add bits/param.h.
66734         * sysdeps/generic/sys/param.h: File removed.
66735         * sysdeps/unix/sysv/linux/bits/param.h: New file.
66736         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
66737         * sysdeps/mach/hurd/bits/param.h: New file.
66738         * sysdeps/mach/hurd/sys/param.h: File removed.
66740         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
66741         last change.
66743         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
66744         [_IO_MTSAFE_IO].
66745         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
66746         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
66747         New macros.
66749         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
66750         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
66751         rather than -D_IO_MTSAFE_IO conditionally.
66752         * stdio-common/Makefile (CPPFLAGS): Likewise.
66753         * wcsmbs/Makefile (CPPFLAGS): Likewise.
66754         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
66755         Use $(libio-mtsafe).
66756         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
66757         of -D_IO_MTSAFE_IO.
66758         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
66759         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
66760         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
66761         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
66762         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
66763         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
66764         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
66765         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
66766         (CFLAGS-fread_u_chk.c): Likewise.
66767         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
66768         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
66769         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
66770         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
66771         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
66772         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
66773         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
66774         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
66775         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
66777         * libio/Makefile: Test [$(libc-reentrant) = yes]
66778         instead of [$(filter %REENTRANT, $(defines)) nonempty].
66780         * Makeconfig
66781         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
66782         * sysdeps/pthread/configure: File removed.
66783         * sysdeps/pthread/Makeconfig: New file.
66784         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
66785         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
66787 2012-08-16  Gary Benson  <gbenson@redhat.com>
66789         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
66790         unmapping the first object in a namespace.
66792 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66794         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
66795         (__internal_setnetgrent): ... this.  Add internal_function to
66796         definition.  Add libc_hidden_def.
66797         (setnetgrent): Update caller.
66798         (internal_endnetgrent): Renamed to ...
66799         (__internal_endnetgrent): ... this.  Add internal_function to
66800         definition.  Add libc_hidden_def.
66801         (endnetgrent): Update caller.
66802         (internal_getnetgrent_r): Renamed to ...
66803         (__internal_getnetgrent_r): ... this.  Add internal_function to
66804         definition.  Add libc_hidden_def.
66805         (__getnetgrent_r): Update caller.
66806         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
66808 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66810         * stdlib/longlong.h: Update from GCC.
66812 2012-08-16  Roland McGrath  <roland@hack.frob.com>
66814         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
66815         on _QL, which is set by umul_ppmm but never used.
66816         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
66817         variables, which are set by GMP macros but never used.
66818         * stdio-common/_itowa.c (_itowa): Likewise.
66819         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
66820         * stdlib/mod_1.c (mpn_mod_1): Likewise.
66822 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
66824         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
66825         struct La_sh_regs is not constant.
66826         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
66827         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
66828         and struct La_sparc64_regs are not constant.
66830 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
66832         * sysdeps/unix/sysv/linux/kernel-features.h
66833         (__ASSUME_POSIX_TIMERS): Remove.
66834         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
66835         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66836         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
66837         Make code unconditional.
66838         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66839         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
66840         Make code unconditional.
66841         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66842         * sysdeps/unix/sysv/linux/clock_nanosleep.c
66843         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
66844         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66845         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
66846         Make code unconditional.
66847         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
66848         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
66849         (__libc_missing_posix_timers): Remove.
66851 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66853         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
66854         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
66856         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
66858         * elf/dl-sym.c: Include <stdlib.h>.
66860         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
66861         constants, which avoids warnings in 32-bit builds.
66863         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
66864         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
66866         * misc/lseek.c: File moved to ...
66867         * io/lseek.c: ... here.
66869         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
66871         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
66872         shifting LEN more than 31 bits at once.
66874 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66876         [BZ #14195]
66877         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
66878         segmentation fault for a case of two empty input strings.
66879         * string/test-strncasecmp.c (check1): Renamed to...
66880         (bz12205): ...this.
66881         (bz14195): Add new testcase for two empty input strings and N > 0.
66882         (test_main): Call new testcase, adapt for renamed function.
66884 2012-08-15  Andreas Jaeger  <aj@suse.de>
66886         [BZ #14090]
66887         * crypt/md5test2.c: New test, based on test supplied by Serge
66888         Belyshev <belyshev@depni.sinp.msu.ru>.
66889         * crypt/Makefile (xtests): Add md5test-giant..
66890         * crypt/Makefile ($(objpfx)md5test-giant): Add.
66892 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
66894         [BZ #14090]
66895         * crypt/md5.c (md5_process_block): Don't assume the buffer
66896         length is less than 2**32.
66897         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
66898         length is less than 2**64.
66900 2012-08-15  Roland McGrath  <roland@hack.frob.com>
66902         * string/str-two-way.h: Include <sys/param.h>.
66903         (MAX): Macro removed.
66905         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
66906         Move #define and #undef of memmove to just before and after
66907         including <string.h>.
66909         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
66910         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
66911         and after including <string.h>.  Move declarations of
66912         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
66913         to before #include "string/memmove.c".
66915         * include/dirent.h: Declare __getdirentries.
66917         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
66918         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
66920 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
66922         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
66923         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
66924         * sysdeps/i386/configure: Regenerated.
66925         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
66926         STABS_CURRENT_FILE, and STABS_FUN.
66927         (END): Remove call to STABS_FUN_END.
66928         (STABS_CURRENT_FILE1): Delete.
66929         (STABS_CURRENT_FILE): Likewise.
66930         (STABS_FUN): Likewise.
66931         (STABS_FUN_END): Likewise.
66932         (STABS_FUN2): Likewise.
66933         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
66934         * sysdeps/x86_64/configure: Regenerated.
66936 2012-08-14  Roland McGrath  <roland@hack.frob.com>
66938         * elf/dl-open.c: Include <atomic.h>.
66939         * elf/dl-lookup.c: Likewise.
66941 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
66943         * sysdeps/unix/sysv/linux/kernel-features.h
66944         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
66945         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
66946         unconditionally.
66947         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
66948         unconditionally.
66949         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
66950         condition on __ASSUME_CLONE_THREAD_FLAGS.
66952 2012-08-14  Andreas Jaeger  <aj@suse.de>
66954         * sysdeps/i386/fpu/libm-test-ulps: Update.
66956 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
66958         * include/atomic.h (atomic_exchange_and_add): Split into ...
66959         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
66960         New atomic macros.
66962 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
66964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66966 2012-08-13  Jeff Law <law@redhat.com>
66968         * manual/stdio.texi (snprintf): Clarify handling of the trailing
66969         null byte in the output string.
66971 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
66973         * sysdeps/unix/sysv/linux/kernel-features.h
66974         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
66975         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
66976         (__ASSUME_ARG_MAX_STACK_BASED): Define.
66977         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
66978         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
66979         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
66980         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
66982 2012-08-09  Jeff Law <law@redhat.com>
66984         [BZ #13939]
66985         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
66986         When avoid_arena is set, don't retry in the that arena.  Pick the
66987         next one, whatever it might be.
66988         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
66989         (arena_lock): Pass in new parameter to arena_get2.
66990         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
66991         arena_get2.
66992         (__libc_malloc): Unify retrying after main arena failure with
66993         __libc_memalign version.
66994         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
66996 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
66998         [BZ #14166]
66999         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67000         to __redirect_strstr.
67001         (__strstr_sse42): Use typeof __redirect_strstr.
67002         (__strstr_ia32): Likewise.
67003         (__libc_strstr): New prototype.
67004         (strstr): Renamed to ...
67005         (__libc_strstr): This.
67006         (strstr): New strong alias of __libc_strstr.
67007         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67008         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67009         __redirect_time.
67010         Include <time.h>.
67011         (__libc_time): New prototype.
67012         (time_ifunc): Replace time with __libc_time.
67013         (time): New strong alias and hidden definition of __libc_time.
67014         (__GI_time): Remove strong alias.
67015         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67016         Include <stddef.h>.
67017         (memmove): Redefined to __redirect_memmove.
67018         (__memmove_sse2): Use typeof __redirect_memmove.
67019         (__memmove_ssse3): Likewise.
67020         (__memmove_ssse3_back): Likewise.
67021         (__libc_memmove): New prototype.
67022         (memmove): Renamed to ...
67023         (__libc_memmove): This.
67024         (memmove): New strong alias of __libc_memmove.
67026 2012-08-08  Mark Salter  <msalter@redhat.com>
67028         * elf/elf.h
67029         (R_MN10300_TLS_GD): Define.
67030         (R_MN10300_TLS_LD): Likewise.
67031         (R_MN10300_TLS_LDO): Likewise.
67032         (R_MN10300_TLS_GOTIE): Likewise.
67033         (R_MN10300_TLS_IE): Likewise.
67034         (R_MN10300_TLS_LE): Likewise.
67035         (R_MN10300_TLS_DTPMOD): Likewise.
67036         (R_MN10300_TLS_DTPOFF): Likewise.
67037         (R_MN10300_TLS_TPOFF): Likewise.
67038         (R_MN10300_SYM_DIFF): Likewise.
67039         (R_MN10300_ALIGN): Likewise.
67040         (R_MN10300_NUM): Update.
67042 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67044         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67045         Remove.
67047 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67049         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67051         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67052         sysdeps/unix -> sysdeps/posix move.
67053         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67055 2012-08-07      Allan McRae     <allan@archlinux.org>
67057         [BZ #14303]
67058         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67059         (SUNOS_CPP): Likewise.
67060         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67061         not found.
67062         (open_input): Call CPP using execvp.
67064 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67066         * sysdeps/unix/sysv/linux/kernel-features.h
67067         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67068         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67069         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67070         (__ASSUME_WAITID_SYSCALL): Likewise.
67071         * sysdeps/unix/sysv/linux/dl-execstack.c
67072         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67073         code unconditional.
67074         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67075         conditional code.
67076         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67077         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67078         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67079         code.
67080         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67081         unconditional.
67082         [__ASSUME_WAITID_SYSCALL]: Likewise.
67083         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67085 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67087         * sysdeps/unix/closedir.c: Renamed to ...
67088         * sysdeps/posix/closedir.c: ... here.
67089         * sysdeps/unix/dirfd.c: Renamed to ...
67090         * sysdeps/posix/dirfd.c: ... here.
67091         * sysdeps/unix/dirstream.h: Renamed to ...
67092         * sysdeps/posix/dirstream.h: ... here.
67093         * sysdeps/unix/fdopendir.c: Renamed to ...
67094         * sysdeps/posix/fdopendir.c: ... here.
67095         * sysdeps/unix/opendir.c: Renamed to ...
67096         * sysdeps/posix/opendir.c: ... here.
67097         * sysdeps/unix/readdir.c: Renamed to ...
67098         * sysdeps/posix/readdir.c: ... here.
67099         * sysdeps/unix/readdir_r.c: Renamed to ...
67100         * sysdeps/posix/readdir_r.c: ... here.
67101         * sysdeps/unix/rewinddir.c: Renamed to ...
67102         * sysdeps/posix/rewinddir.c: ... here.
67103         * sysdeps/unix/seekdir.c: Renamed to ...
67104         * sysdeps/posix/seekdir.c: ... here.
67105         * sysdeps/unix/telldir.c: Renamed to ...
67106         * sysdeps/posix/telldir.c: ... here.
67107         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67108         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67109         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67110         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67112         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67113         * bits/fcntl.h: ... here.
67115         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67116         not 0.
67117         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67118         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67119         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67120         (struct flock): Move l_start, l_len to the beginning.
67121         Use __pid_t for l_pid.
67122         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67123         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67124         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67125         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67126         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67127         [__USE_LARGEFILE64] (struct flock64): New type.
67128         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67130         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67131         * bits/dirent.h: ... here.
67133         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67134         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
67136 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67138         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67139         Change from 2.6.0 to 2.6.16.
67140         * sysdeps/unix/sysv/linux/configure: Regenerated.
67141         * sysdeps/unix/sysv/linux/kernel-features.h
67142         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
67143         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
67144         version.
67145         (__ASSUME_UTIMES): Likewise.
67146         (__ASSUME_CLONE_STOPPED): Remove.
67147         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
67148         architectures, not kernel version.
67149         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
67150         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67151         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67152         (__ASSUME_WAITID_SYSCALL): Likewise.
67153         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
67154         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
67155         * README: State 2.6.16 as minimum Linux kernel version.  Do not
67156         refer to older versions.
67158 2012-08-06  Roland McGrath  <roland@hack.frob.com>
67160         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
67161         Define alphasort64 as an alias.
67162         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
67163         Define versionsort64 as an alias.
67164         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
67165         Define scandir64 as an alias.
67166         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
67167         Define scandirat64 as an alias.
67168         * dirent/alphasort64.c (alphasort64):
67169         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
67170         * dirent/versionsort64.c: Likewise.
67171         * dirent/scandir64.c: Likewise.
67172         * dirent/scandirat64.c: Likewise.
67173         * sysdeps/wordsize-64/alphasort.c: File removed.
67174         * sysdeps/wordsize-64/alphasort64.c: File removed.
67175         * sysdeps/wordsize-64/scandir.c: File removed.
67176         * sysdeps/wordsize-64/scandir64.c: File removed.
67177         * sysdeps/wordsize-64/scandirat.c: File removed.
67178         * sysdeps/wordsize-64/scandirat64.c: File removed.
67179         * sysdeps/wordsize-64/versionsort.c: File removed.
67180         * sysdeps/wordsize-64/versionsort64.c: File removed.
67181         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
67182         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
67183         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
67184         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
67185         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
67186         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
67187         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
67188         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
67190         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
67191         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67192         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
67193         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67194         [defined __arch64__ || defined __sparcv9]
67195         (__INO_T_MATCHES_INO64_T): New macro.
67196         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67197         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
67198         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
67199         * sysdeps/unix/sysv/linux/bits/dirent.h
67200         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
67201         (_DIRENT_MATCHES_DIRENT64): New macro.
67203         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
67204         Define lockf64 as an alias.
67205         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
67206         Define fseeko64 as an alias.
67207         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
67208         Define ftello64 as an alias.
67209         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
67210         Define _IO_fgetpos64 and fgetpos64 as aliases.
67211         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
67212         Define _IO_fsetpos64 and fsetpos64 as aliases.
67213         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
67214         Conditionalize body on this.
67215         * libio/fseeko64.c: Likewise.
67216         * libio/ftello64.c: Likewise.
67217         * libio/iofgetpos64.c: Likewise.
67218         * libio/iofsetpos64.c: Likewise.
67219         * sysdeps/wordsize-64/lockf.c: File removed.
67220         * sysdeps/wordsize-64/lockf64.c: File removed.
67221         * sysdeps/wordsize-64/fseeko.c: File removed.
67222         * sysdeps/wordsize-64/fseeko64.c: File removed.
67223         * sysdeps/wordsize-64/ftello.c: File removed.
67224         * sysdeps/wordsize-64/ftello64.c: File removed.
67225         * sysdeps/wordsize-64/iofgetpos.c: File removed.
67226         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
67227         * sysdeps/wordsize-64/iofsetpos.c: File removed.
67228         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
67229         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
67230         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
67231         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
67232         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
67233         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
67234         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
67235         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
67236         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
67237         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
67238         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
67240         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67241         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
67242         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
67243         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67244         [defined __arch64__ || defined __sparcv9]
67245         (__OFF_T_MATCHES_OFF64_T): New macro.
67246         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
67247         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
67248         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67249         (__OFF_T_MATCHES_OFF64_T): New macro.
67251 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67253         * stdlib/secure-getenv.c (__secure_getenv): Replace
67254         GLIBC_2_16 with GLIBC_2_17.
67256 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
67258         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
67259         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67261 2012-08-03  David S. Miller  <davem@davemloft.net>
67263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67265 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67267         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
67268         Remove.
67269         (__ASSUME_CORRECT_SI_PID): Likewise.
67270         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
67271         (__ASSUME_TMPFS_NAME): Likewise.
67272         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
67273         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
67274         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
67275         (HAVE_AUX_SECURE): Make definition unconditional.
67276         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
67277         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
67279 2012-08-03  Roland McGrath  <roland@hack.frob.com>
67281         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
67282         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
67283         * sysdeps/mach/hurd/eloop-threshold.h: New file.
67284         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67285         __eloop_threshold instead of SYMLOOP_MAX.
67287         * sysdeps/generic/eloop-threshold.h: New file.
67288         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
67289         of MAXSYMLINKS.
67290         * elf/chroot_canon.c (chroot_canon): Likewise.
67292 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
67294         [BZ #13717]
67295         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67296         Change to 2.6.0 everywhere.
67297         * sysdeps/unix/sysv/linux/configure: Regenerated.
67298         * sysdeps/unix/sysv/linux/kernel-features.h
67299         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
67300         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
67301         kernel versions.
67302         (__ASSUME_POSIX_TIMERS): Define unconditionally.
67303         (__ASSUME_FUTEX_REQUEUE): Remove.
67304         (__ASSUME_STATFS64): Define unconditionally.
67305         (__ASSUME_AT_SECURE): Likewise.
67306         (__ASSUME_CORRECT_SI_PID): Likewise.
67307         (__ASSUME_TGKILL): Define without depending on kernel version for
67308         i386.
67309         (__ASSUME_UTIMES): Likewise.
67310         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
67311         kernel version.
67312         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
67313         (__ASSUME_TMPFS_NAME): Likewise.
67314         * README: Update reference to Linux kernel versions.
67316 2012-08-02  Marek Polacek  <polacek@redhat.com>
67318         [BZ# 14150]
67319         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
67320         libc_cv_asm_type_prefix with %.
67321         * configure: Regenerated.
67322         * include/libc-symbols.h: Remove comment about
67323         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67324         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
67325         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
67326         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
67327         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
67328         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
67329         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
67330         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
67331         * elf/tst-unique2mod1.c: Likewise.
67332         * elf/tst-unique1mod2.c: Likewise.
67333         * elf/tst-unique1mod1.c: Likewise.
67334         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
67335         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
67336         Replace ASM_TYPE_DIRECTIVE with .type.
67337         * sysdeps/s390/s390-64/sysdep.h: Likewise.
67338         * sysdeps/i386/sysdep.h: Likewise.
67339         * sysdeps/x86_64/sysdep.h: Likewise.
67340         * sysdeps/sh/sysdep.h: Likewise.
67341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
67342         Do not define ASM_TYPE_DIRECTIVE.
67343         * sysdeps/powerpc/sysdep.h: Likewise.
67344         * sysdeps/powerpc/powerpc32/sysdep.h:
67345         Replace ASM_TYPE_DIRECTIVE with .type.
67346         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
67347         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
67348         * sysdeps/i386/fpu/e_powf.S: Likewise.
67349         * sysdeps/i386/fpu/e_expl.S: Likewise.
67350         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67351         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67352         * sysdeps/i386/fpu/e_pow.S: Likewise.
67353         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67354         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67355         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67356         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67357         * sysdeps/i386/fpu/e_log2.S: Likewise.
67358         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67359         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67360         * sysdeps/i386/fpu/e_powl.S: Likewise.
67361         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67362         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67363         * sysdeps/i386/fpu/e_logl.S: Likewise.
67364         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67365         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67366         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67367         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67368         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67369         * sysdeps/i386/fpu/e_log.S: Likewise.
67370         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67371         * sysdeps/i386/fpu/e_logf.S: Likewise.
67372         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67373         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67374         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67375         * sysdeps/i386/fpu/e_log10.S: Likewise.
67376         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67377         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67378         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67379         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67380         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67381         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
67382         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67383         * sysdeps/i386/i686/strtok.S: Likewise.
67384         * sysdeps/i386/i386-mcount.S: Likewise.
67385         * sysdeps/i386/strtok.S: Likewise.
67386         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
67387         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67388         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67389         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67390         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
67391         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67392         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67393         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67394         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67395         * sysdeps/x86_64/_mcount.S: Likewise.
67396         * sysdeps/x86_64/strtok.S: Likewise.
67397         * sysdeps/sh/_mcount.S: Likewise.
67399 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67401         * libio/iofopen.c: Include <fcntl.h>.
67402         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
67403         (_IO_fopen64, fopen64): Define as aliases.
67404         * libio/iofopen64.c: Include <fcntl.h>.
67405         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
67406         Conditionalize body on this.
67407         * sysdeps/wordsize-64/iofopen.c: File removed.
67408         * sysdeps/wordsize-64/iofopen64.c: File removed.
67410 2012-08-01  Marek Polacek  <polacek@redhat.com>
67412         * libc/Makeconfig: Use elf in place of binfmt-subdir.
67413         Use dlfcn directly instead of a variable.
67414         (binfmt-subdir): Do not define.
67415         (dlfcn): Likewise.
67417 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
67419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
67420         Remove all definitions.
67421         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
67422         <kernel-features.h>.
67423         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67424         (miss_F_GETOWN_EX): Remove all definitions.
67425         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
67426         macro definition.
67427         [!__ASSUME_FCNTL64]: Remove conditional code.
67428         [__ASSUME_FCNTL64]: Make code unconditional.
67429         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
67430         <kernel-features.h>.
67431         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
67432         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
67433         (lockf64) [__NR_fcntl64]: Make code unconditional.
67434         (lockf64) [__ASSUME_FCNTL64]: Likewise.
67436         * sysdeps/unix/sysv/linux/kernel-features.h
67437         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
67438         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
67439         Make code unconditional.
67440         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67441         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
67443         [__NR_vfork]: Make code unconditional.
67444         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67445         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
67447         [__NR_vfork]: Make code unconditional.
67448         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
67449         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
67451 2012-08-01  Roland McGrath  <roland@hack.frob.com>
67453         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
67454         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
67456         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67457         Define mkstemp64 as an alias.
67458         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67459         Define mkstemps64 as an alias.
67460         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67461         Define mkostemp64 as an alias.
67462         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
67463         Define mkostemps64 as an alias.
67464         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67465         Conditionalize body on this.
67466         * misc/mkostemp64.c: Likewise.
67467         * misc/mkostemps64.c: Likewise.
67468         * misc/mkstemps64.c: Likewise.
67469         * sysdeps/wordsize-64/mkstemp64.c: File removed.
67470         * sysdeps/wordsize-64/mkostemp64.c: File removed.
67471         * sysdeps/wordsize-64/mkostemp.c: File removed.
67472         * sysdeps/wordsize-64/mkstemp.c: File removed.
67473         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
67474         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
67475         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
67476         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
67478         [BZ #14138]
67479         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
67480         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
67481         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
67482         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
67484         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
67485         compat_symbol macros from <shlib-compat.h> rather than the underlying
67486         default_symbol_version and symbol_version macros, so that DEFAULT
67487         lines in shlib-versions are respected.
67488         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
67490 2012-08-01  Florian Weimer  <fweimer@redhat.com>
67492         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
67493         Declare with warn_unused_result.
67494         (setgid, setregid, setegid, setresgid): Likewise.
67495         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
67496         Likewise.
67497         * WUR-REPORT: Remove set*id functions.
67499 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
67501         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
67503 2012-07-31  Roland McGrath  <roland@hack.frob.com>
67505         [BZ #10191]
67506         * include/sys/socket.h (__libc_accept, __libc_accept4):
67507         Add attribute_hidden.
67508         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
67510         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
67511         use of PTR_MANGLE.
67512         * inet/getnetgrent_r.c (setup): Likewise.
67514         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
67516 2012-07-31  David S. Miller  <davem@davemloft.net>
67518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67520 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
67522         [BZ #13629]
67523         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
67524         value between 1.0 and 2.0 and smaller part has absolute value less
67525         than 1.0.
67526         * math/s_clog10.c (__clog10): Likewise.
67527         * math/s_clog10f.c (__clog10f): Likewise.
67528         * math/s_clog10l.c (__clog10l): Likewise.
67529         * math/s_clogf.c (__clogf): Likewise.
67530         * math/s_clogl.c (__clogl): Likewise.
67531         * math/libm-test.inc (clog_test): Add more tests.
67532         (clog10_test): Likewise.
67533         * sysdeps/i386/fpu/libm-test-ulps: Update.
67534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67536 2012-07-31  Florian Weimer  <fweimer@redhat.com>
67538         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
67539         Exit with zero in case no suitable GID is found, and write a
67540         message to standard error.
67542 2012-07-30  Roland McGrath  <roland@hack.frob.com>
67544         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
67545         rather than to 1.
67546         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
67547         (MAXPATHLEN): Removed.
67548         (NOGROUP, NODEV): New macros.
67549         (setbit, clrbit, isset, isclr): New macros.
67550         (howmany, roundup, powerof2): New macros.
67551         (DEV_BSIZE): New macro.
67553         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
67554         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
67556         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
67557         definition on [!__NO_LONG_DOUBLE_MATH].
67559         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
67560         PTR_MANGLE and PTR_DEMANGLE.
67562         * socket/accept4.c (accept4): Rename to __libc_accept4.
67563         Define accept4 as a weak alias.
67565         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
67566         on [_DIRENT_HAVE_D_TYPE].
67567         * io/ftw.c (ftw_dir): Likewise.
67569         * io/xmknod.c (__xmknod): Don't check PATH for being null.
67571         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
67573         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
67574         Use the BSD numbers rather than the arbitrary ones we had.
67575         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
67576         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
67577         (SIGXCPU, SIGXFSZ): New macros.
67578         (_NSIG): Now 32.
67580         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
67581         initializer on [_LIBC_REENTRANT].
67583         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
67584         definitions inside [_POSIX_MAPPED_FILES].
67586         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
67588         * dirent/opendir.c: Include <fcntl.h>.
67590         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
67591         (__libc_getspecific): Likewise.
67592         (__libc_key_create): Likewise.
67594         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
67595         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
67596         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
67597         (tmpfile64): Define as alias.
67598         * sysdeps/wordsize-64/tmpfile.c: File removed.
67599         * sysdeps/wordsize-64/tmpfile64.c: File removed.
67600         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
67601         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
67603         * stdio-common/vfscanf.c: Include <stdbool.h>.
67604         * nss/makedb.c: Likewise.
67605         * stdio-common/_i18n_number.h: Likewise.
67606         * argp/argp-help.c: Likewise.
67607         * posix/wordexp.c: Likewise.
67608         * sysdeps/posix/spawni.c: Likewise.
67609         * nss/nss_files/files-initgroups.c: Likewise.
67610         * stdio-common/reg-modifier.c: Include <stdlib.h>.
67611         * nss/nss_files/files-initgroups.c: Likewise.
67612         * nss/nss_db/db-netgrp.c: Likewise.
67613         * nss/nss_db/db-initgroups.c: Likewise.
67614         * io/fchmodat.c: Include <sys/stat.h>.
67616         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
67617         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
67619         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
67620         [HAVE_MMAP].
67622         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
67623         Add multiple inclusion protection.
67625 2012-07-27  David S. Miller  <davem@davemloft.net>
67627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67629 2012-07-27  Gary Benson  <gbenson@redhat.com>
67631         [BZ #14298]
67632         * elf/rtld.c: Include <stap-probe.h>.
67633         (dl_main): Added static probes "init_start" and "init_complete".
67634         * elf/dl-load.c: Include <stap-probe.h>.
67635         (lose): Take new parameter "nsid".
67636         Added static probe "map_failed".
67637         (_dl_map_object_from_fd): Pass namespace id to lose.
67638         Added static probe "map_start".
67639         (open_verify): Pass namespace id to lose.
67640         * elf/dl-open.c: Include <stap-probe.h>.
67641         (dl_open_worker) Added static probes "map_complete", "reloc_start"
67642         and "reloc_complete".
67643         * elf/dl-close.c: Include <stap-probe.h>.
67644         (_dl_close_worker): Added static probes "unmap_start" and
67645         "unmap_complete".
67646         * elf/rtld-debugger-interface.txt: New file documenting the above.
67648 2012-07-26  Roland McGrath  <roland@hack.frob.com>
67650         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
67651         rather than a string variable.
67652         * sunrpc/rpc_main.c (h_output): Likewise.
67653         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
67655 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
67657         * inet/check_native.c: New file.
67659 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
67661         [BZ #13629]
67662         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
67663         if larger part has absolute value 1.0.
67664         * math/s_clog10.c (__clog10): Likewise.
67665         * math/s_clog10f.c (__clog10f): Likewise.
67666         * math/s_clog10l.c (__clog10l): Likewise.
67667         * math/s_clogf.c (__clogf): Likewise.
67668         * math/s_clogl.c (__clogl): Likewise.
67669         * math/libm-test.inc (clog_test): Add more tests.
67670         (clog10_test): Likewise.
67671         * sysdeps/i386/fpu/libm-test-ulps: Update.
67672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67674         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
67675         (pltexit): Likewise.
67676         (La_regs): Likewise.
67677         (La_retval): Likewise.
67678         (int_retval): Likewise.
67679         Update #error for removed macros to refer only to definitions in
67680         tst-audit.h.
67681         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
67682         macro.
67683         (pltexit): Likewise.
67684         (La_regs): Likewise.
67685         (La_retval): Likewise.
67686         (int_retval): Likewise.
67687         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
67688         macro.
67689         (pltexit): Likewise.
67690         (La_regs): Likewise.
67691         (La_retval): Likewise.
67692         (int_retval): Likewise.
67693         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
67694         macro.
67695         (pltexit): Likewise.
67696         (La_regs): Likewise.
67697         (La_retval): Likewise.
67698         (int_retval): Likewise.
67699         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
67700         macro.
67701         (pltexit): Likewise.
67702         (La_regs): Likewise.
67703         (La_retval): Likewise.
67704         (int_retval): Likewise.
67705         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
67706         macro.
67707         (pltexit): Likewise.
67708         (La_regs): Likewise.
67709         (La_retval): Likewise.
67710         (int_retval): Likewise.
67711         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
67712         macro.
67713         (pltexit): Likewise.
67714         (La_regs): Likewise.
67715         (La_retval): Likewise.
67716         (int_retval): Likewise.
67717         * sysdeps/generic/tst-audit.h: Update comment to refer only to
67718         macro definitions in tst-audit.h.
67719         * sysdeps/i386/tst-audit.h: New file.
67720         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
67721         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
67722         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
67723         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
67724         * sysdeps/sh/tst-audit.h: Likewise.
67725         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
67726         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
67727         * sysdeps/x86_64/tst-audit.h: Likewise.
67729 2012-07-26  Andreas Jaeger  <aj@suse.de>
67731         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
67732         ptrace.
67734         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
67735         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
67736         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
67737         PTRACE_O_MASK.
67738         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
67739         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
67740         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
67742         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
67743         value.
67745         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
67746         _sigsys.
67747         (si_call_addr, si_syscall, si_arch): Define new macro.
67748         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
67749         _sigsys.
67750         (si_call_addr, si_syscall, si_arch): Define new marcro.
67751         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
67752         _sigsys.
67753         (si_call_addr, si_syscall, si_arch): Define new macro.
67754         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
67755         _sigsys.
67756         (si_call_addr, si_syscall, si_arch): Define new macro.
67758 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67760         [BZ #13717]
67761         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
67762         Change to 2.4.21 where previously 2.4.1.
67763         * sysdeps/unix/sysv/linux/configure: Regenerated.
67764         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
67765         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
67766         Linux kernel version.
67767         (__ASSUME_STD_AUXV): Remove.
67768         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
67769         kernel version.
67770         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
67771         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
67772         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
67773         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
67774         (__ASSUME_NETLINK_SUPPORT): Likewise.
67775         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
67776         (__no_netlink_support): Remove conditional definition.
67777         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
67778         Remove.
67779         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67780         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
67781         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
67782         (if_nameindex_ioctl): Remove.
67783         (if_nameindex_netlink): Do not handle __no_netlink_support.
67784         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67785         code.
67786         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
67787         Remove conditional code.
67788         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
67789         code.
67790         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
67791         unconditional.
67792         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
67793         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
67794         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
67795         Remove.
67796         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
67797         [!__ASSUME_STD_AUXV]: Remove conditional code.
67798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
67799         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
67800         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
67801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
67802         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
67803         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67804         code.
67805         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
67807         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
67808         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67809         conditional code.
67810         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
67811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
67812         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
67813         code.
67814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
67815         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
67816         conditional code.
67817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
67818         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67819         code unconditional.
67820         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67821         conditional code.
67822         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67823         unconditional.
67824         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67825         conditional code.
67826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
67827         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67828         unconditional.
67829         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67830         conditional code.
67831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
67832         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67833         code unconditional.
67834         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67835         conditional code.
67836         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67837         unconditional.
67838         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67839         conditional code.
67840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
67841         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
67842         code unconditional.
67843         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67844         conditional code.
67845         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
67846         unconditional.
67847         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
67848         conditional code.
67850 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
67852         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
67853         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
67854         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
67855         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
67856         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
67857         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
67858         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
67859         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
67860         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
67861         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
67862         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
67863         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
67864         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
67865         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
67866         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
67867         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
67868         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
67869         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
67870         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
67871         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
67872         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
67873         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
67874         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67876 2012-07-25  Florian Weimer  <fweimer@redhat.com>
67878         * Versions.def: Add GLIBC_2.17.
67879         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
67880         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
67881         Introduce __libc_secure_getenv.
67882         * stdlib/Versions (2.17): Add secure_getenv
67883         (GLIBC_PRIVATE): Add __libc_secure_getenv.
67884         * stdlib/secure-getenv.c: Rename __secure_getenv to
67885         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
67886         symbol __secure_getenv for GLIBC_2.0.
67887         * stdlib/tst-secure-getenv.c: New.
67888         * stdlib/Makefile (tests): Add testcase.
67889         * manual/startup.texi (Environment Access): Document
67890         secure_getenv.
67891         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
67892         __libc_secure_getenv.
67893         * inet/ruserpass.c (ruserpass): Likewise.
67894         * malloc/mtrace.c (mtrace): Likewise.
67895         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
67896         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
67897         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
67898         * sysdeps/posix/tempname.c: Likewise.  Evaluate
67899         HAVE_SECURE_GETENV.
67900         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
67901         __secure_getenv to __libc_secure_getenv.
67902         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
67903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67904         Likewise.
67905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67906         Likewise.
67907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
67908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
67909         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
67911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
67912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
67915 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
67917         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
67918         (struct La_i86_retval): Likewise.
67919         (struct La_x86_64_regs): Likewise.
67920         (struct La_x86_64_retval): Likewise.
67921         (struct La_x32_regs): Likewise.
67922         (struct La_x32_retval): Likewise.
67923         (struct La_ppc32_regs): Likewise.
67924         (struct La_ppc32_retval): Likewise.
67925         (struct La_ppc64_regs): Likewise.
67926         (struct La_ppc64_retval): Likewise.
67927         (struct La_sh_regs): Likewise.
67928         (struct La_sh_retval): Likewise.
67929         (struct La_s390_32_regs): Likewise.
67930         (struct La_s390_32_retval): Likewise.
67931         (struct La_s390_64_regs): Likewise.
67932         (struct La_s390_64_retval): Likewise.
67933         (struct La_sparc32_regs): Likewise.
67934         (struct La_sparc32_retval): Likewise.
67935         (struct La_sparc64_regs): Likewise.
67936         (struct La_sparc64_retval): Likewise.
67937         (struct audit_ifaces): Remove architecture-specific pltenter and
67938         pltexit members.
67939         * sysdeps/i386/ldsodefs.h: New file.
67940         * sysdeps/powerpc/ldsodefs.h: Likewise.
67941         * sysdeps/s390/ldsodefs.h: Likewise.
67942         * sysdeps/sh/ldsodefs.h: Likewise.
67943         * sysdeps/sparc/ldsodefs.h: Likewise.
67944         * sysdeps/x86_64/ldsodefs.h: Likewise.
67946 2012-07-25  Marek Polacek  <polacek@redhat.com>
67948         [BZ #6808]
67949         * math/libm-test.inc (yn_test): Add another test.
67950         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
67951         to ERANGE when the result is +-Inf.
67952         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
67953         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
67954         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
67955         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
67957 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
67959         * conform/data/time.h-data (NULL): Use macro-constant.  Require
67960         equal to 0.
67961         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
67962         clock_t.
67963         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
67965 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
67967         * configure.in <sysdeps resolving>: Correct printing
67968         Implies_before.
67969         * configure: Regenerate.
67971 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
67973         * math/w_ilogb.c: Include <limits.h>.
67974         * math/w_ilogbl.c: Likewise.
67976 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
67978         * manual/lang.texi (__va_copy): Document primarily as ISO C99
67979         va_copy.  Document allowing for unavailable va_copy only as
67980         pre-C99 compatibility.
67981         * manual/string.texi (Copying and Concatenation): Use va_copy
67982         instead of __va_copy in concat example.
67984 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
67986         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
67987         (__sendto): Use create_address_port.  Initialize APORT and deallocate
67988         it if not null.
67990         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
67991         with O_NOLINK passed to __file_name_lookup.
67993         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
67994         with O_NOLINK passed to __file_name_lookup.
67996         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
67997         negative N or less than NGIDS.
67999         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68000         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68001         enough.  Use memcpy instead of strncpy.
68003 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68005         * elf/Makefile (check-data): Remove.
68006         (localplt.data): New vpath directive.
68007         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68008         instead of $(check-data).
68009         * scripts/data/localplt-generic.data: Move to ...
68010         * sysdeps/generic/localplt.data: ... here.
68011         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68012         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68013         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68015         ... here.
68016         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68018         ... here.
68019         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68020         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68021         ... here.
68022         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68024         ... here.
68025         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68027         ... here.
68028         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68030         ... here.
68032 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68034         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68035         PPC32 and PPC64 files.
68036         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68037         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68039 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68041         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68042         __makecontext_ret to ...
68043         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68044         ... here and call exit if uc_link is NULL.  New file.
68045         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68046         __makecontext_ret.S.
68047         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68048         __makecontext_ret to ...
68049         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68050         ... here and call exit if uc_link is NULL.  New file.
68051         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68052         __makecontext_ret.S.
68054 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68056         * elf/elf.h (R_390_IRELATIVE): New definition.
68057         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68058         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68059         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68060         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68061         (elf_machine_lazy_rel): Likewise.
68062         * sysdeps/s390/dl-irel.h: New file.
68063         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68064         * sysdeps/s390/s390-64/memset.S: New asm code.
68065         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68066         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68067         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68068         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68069         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68070         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68071         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68072         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68073         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68074         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68075         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68076         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68077         * sysdeps/s390/s390-32/memset.S: New asm code.
68078         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68080 2012-07-17  Marek Polacek  <polacek@redhat.com>
68082         [BZ #14349]
68083         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68084         * sysdeps/s390/s390-64/configure.in: Likewise.
68085         * sysdeps/sparc/configure.in: Likewise.
68086         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68087         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68088         * sysdeps/i386/configure.in: Likewise.
68089         * sysdeps/x86_64/configure.in: Likewise.
68090         * sysdeps/sh/configure.in: Likewise.
68091         * sysdeps/s390/s390-32/configure: Regenerated.
68092         * sysdeps/s390/s390-64/configure: Likewise.
68093         * sysdeps/x86_64/configure: Likewise.
68094         * sysdeps/sh/configure: Likewise.
68095         * sysdeps/powerpc/powerpc64/configure: Likewise.
68096         * sysdeps/powerpc/powerpc32/configure: Likewise.
68097         * sysdeps/sparc/configure: Likewise.
68098         * sysdeps/i386/configure: Likewise.
68100         * elf/dl-open.c: Comment fixes.
68102 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68104         * Makefile [CXX] (check-data): Remove.
68105         [CXX] (c++-types.data): New vpath directive.
68106         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68107         vpath.  Do not allow for C++ type data being missing.
68108         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68109         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68110         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68111         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68112         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68113         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68114         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68116         ... here.
68117         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68119         ... here.
68120         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68122         ... here.
68123         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68125         ... here.
68126         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68128         ... here.
68129         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68131         ... here.
68132         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68133         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68134         ... here.
68135         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
68136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
68138         * elf/tls-macros.h (TLS_LE): Move architecture-specific
68139         definitions to architecture-specific files.
68140         (TLS_IE): Likewise.
68141         (TLS_LD): Likewise.
68142         (TLS_GD): Likewise.
68143         * sysdeps/i386/tls-macros.h: New file.
68144         * sysdeps/powerpc/tls-macros.h: Likewise.
68145         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
68146         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
68147         * sysdeps/sh/tls-macros.h: Likewise.
68148         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
68149         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
68150         * sysdeps/x86_64/tls-macros.h: Likewise.
68152 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68154         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
68155         zero value for regular exit case.
68157         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
68158         (__start_context): Preserve zero value for regular exit case.
68160 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
68161             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68163         * manual/setjmp.texi (setcontext): Clarify normal process
68164         termination when uc_link is the null pointer.
68165         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
68166         exit call.
68168 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
68170         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
68171         preprocessor.  Test for each exception mask separately.
68173 2012-07-16  Andreas Jaeger  <aj@suse.de>
68175         * po/ru.po: Update from translation team.
68177 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
68179         * conform/data/string.h-data (NULL): Use macro-constant.  Require
68180         equal to 0.
68181         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
68182         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
68183         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
68184         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
68185         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68187 2012-07-13  Andreas Jaeger  <aj@suse.de>
68189         * po/fr.po: Update from translation team.
68191 2012-07-12  Marek Polacek  <polacek@redhat.com>
68193         [BZ #14173]
68194         * math/libm-test.inc (yn_test): Add test for BZ #14173.
68195         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
68196         loop condition.
68198 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
68200         [BZ #13717]
68201         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68202         Change to 2.4.1 where previously 2.4.0.
68203         * sysdeps/unix/sysv/linux/configure: Regenerated.
68204         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
68205         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
68206         version.
68207         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
68208         (__ASSUME_AT_CLKTCK): Remove.
68209         (__ASSUME_AT_PAGESIZE): Likewise.
68210         (__ASSUME_AT_XID): Likewise.
68211         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
68212         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
68213         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
68214         unconditionally.
68215         (HAVE_AUX_PAGESIZE): Likewise.
68216         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
68217         [__ASSUME_AT_CLKTCK]: Make code unconditional.
68218         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
68220 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
68222         [BZ #14307]
68223         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
68224         the temporary buffer used to invoke __gethostbyname2_r,
68225         __gethostbyaddr_r and gethostbyname4_r to make room for struct
68226         host_data / struct gaih_addrtuple.
68227         * resolv/nss_dns/dns-host.c (global scope): Move definition of
68228         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
68229         header file nss/nsswitch.h.
68230         * nss/nsswitch.h (global scope): Add definition of implementation
68231         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
68232         resolv/nss_dns/dns-host.c).
68234 2012-07-11  Andreas Jaeger  <aj@suse.de>
68236         * po/fr.po: Update from translation team.
68238         * po/sv.po: Update from translation team
68239         * po/fr.po: Another update from translation team.
68241 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68243         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
68244         for subnormals or multiply small sinh result by itself.
68245         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
68246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68248 2012-07-11  David S. Miller  <davem@davemloft.net>
68250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68252 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
68254         [BZ #14347]
68255         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
68256         (INTERNAL_MARK): Shift it here.
68258 2012-07-10  Marek Polacek  <polacek@redhat.com>
68260         [BZ #14151]
68261         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
68262         libc_cv_asm_global_directive with .globl.
68263         * configure: Regenerated.
68264         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
68265         with .globl.
68266         * sysdeps/i386/configure: Regenerated.
68267         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
68268         with .globl.
68269         * sysdeps/x86_64/configure: Regenerated.
68270         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
68271         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
68272         * elf/tst-unique2mod2.c: Likewise.
68273         * elf/tst-unique2mod1.c: Likewise.
68274         * elf/tst-unique1mod2.c: Likewise.
68275         * elf/tst-unique1mod1.c: Likewise.
68276         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68277         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68278         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68279         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68280         * sysdeps/mach/sysdep.h: Likewise.
68281         * sysdeps/i386/sysdep.h: Likewise.
68282         * sysdeps/i386/i386-mcount.S: Likewise.
68283         * sysdeps/x86_64/_mcount.S: Likewise.
68284         * sysdeps/x86_64/sysdep.h: Likewise.
68285         * sysdeps/sh/_mcount.S: Likewise.
68286         * sysdeps/sh/sysdep.h: Likewise.
68287         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
68288         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
68289         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
68290         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
68291         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
68292         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
68293         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
68294         * locale/localeinfo.h: Likewise.
68295         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
68296         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
68298 2012-07-09  Roland McGrath  <roland@hack.frob.com>
68300         [BZ #14336]
68301         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
68302         system".
68303         * manual/message.texi (The Uniforum approach): Likewise.
68304         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
68305         (glibc iconv Implementation): Likewise.
68307 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
68309         [BZ #14337]
68310         * math/s_clog.c (__clog): Avoid scaling a value down where that
68311         could result in underflow.
68312         * math/s_clog10.c (__clog10): Likewise.
68313         * math/s_clog10f.c (__clog10f): Likewise.
68314         * math/s_clog10l.c (__clog10l): Likewise.
68315         * math/s_clogf.c (__clogf): Likewise.
68316         * math/s_clogl.c (__clogl): Likewise.
68317         * math/libm-test.inc (clog_test): Add more tests.
68318         (clog10_test): Likewise.
68319         * sysdeps/i386/fpu/libm-test-ulps: Update.
68320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68322 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
68324         [BZ #14283]
68325         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
68326         by 7 not 8 to examine high bit of fractional part.
68328         [BZ #14042]
68329         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
68330         for call to __mcount_internal.
68331         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
68332         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
68333         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
68335 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
68337         [BZ #14154]
68338         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
68339         approximation for values within 0x1p-13f of an odd multiple of
68340         pi/4.
68341         * math/libm-test.inc (tan_test): Do not allow spurious underflow
68342         exception.  Add more tests.
68343         * sysdeps/i386/fpu/libm-test-ulps: Update.
68345         [BZ #6778]
68346         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
68347         inputs and return -1 for them.  Do not check for +Inf in case not
68348         reachable for +Inf.
68349         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
68350         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
68351         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68352         and return -1 for them.  Do not check for +Inf in case not
68353         reachable for +Inf.
68354         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
68355         define.
68356         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
68357         and return -1 for them.  Do not check for +Inf in case not
68358         reachable for +Inf.
68359         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
68360         spurious underflow.
68361         * sysdeps/i386/fpu/libm-test-ulps: Update.
68362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68364 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
68366         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
68368 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
68370         [BZ #14157]
68371         [BZ #14331]
68372         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
68373         could result in spurious underflow.  Scale down values above
68374         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
68375         * math/s_csqrtf.c (__csqrtf): Likewise.
68376         * math/s_csqrtl.c (__csqrtl): Likewise.
68377         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
68378         spurious underflow.
68379         * sysdeps/i386/fpu/libm-test-ulps: Update.
68380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68382 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
68384         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
68385         xopen-msg.sed.
68386         * catgets/xopen-msg.awk: New file.
68387         * catgets/xopen-msg.sed: Removed.
68389         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
68390         po2text.sed.
68391         * intl/po2test.awk: New file.
68392         * intl/po2test.sed: Removed.
68394 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
68396         [BZ #14328]
68397         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
68398         or multiply small sinh result by itself.
68399         * math/s_ctanf.c (__ctanf): Likewise.
68400         * math/s_ctanh.c (__ctanh): Likewise.
68401         * math/s_ctanhf.c (__ctanhf): Likewise.
68402         * math/s_ctanhl.c (__ctanhl): Likewise.
68403         * math/s_ctanl.c (__ctanl): Likewise.
68404         * math/libm-test.inc (ctan_test_tonearest): New function.
68405         (ctan_test_towardzero): Likewise.
68406         (ctan_test_downward): Likewise.
68407         (ctan_test_upward): Likewise.
68408         (ctanh_test_tonearest): Likewise.
68409         (ctanh_test_towardzero): Likewise.
68410         (ctanh_test_downward): Likewise.
68411         (ctanh_test_upward): Likewise.
68412         (main): Call these new functions.
68413         * sysdeps/i386/fpu/libm-test-ulps: Update.
68414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68416 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
68418         * .gitignore: Delete /ports entry.
68420 2012-07-03  Andreas Jaeger  <aj@suse.de>
68422         * po/bg.po: Update from translation team.
68423         * po/cs.po: Likewise.
68424         * po/de.po: Likewise.
68425         * po/hr.po: Likewise.
68426         * po/nl.pl: Likewise.
68427         * po/pl.po: Likewise.
68428         * po/vi.po: Likewise.
68430 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
68432         * Makeconfig [!+link] (+link-before-libc): New variable.
68433         [!+link] (+link-after-libc): Likewise.
68434         [!+link] (+link-tests): Likewise.
68435         [!+link] (+link): Define in terms of $(+link-before-libc) and
68436         $(+link-after-libc).
68437         [!+link-static] (+link-static-before-libc): New variable.
68438         [!+link-static] (+link-static-after-libc): Likewise.
68439         [!+link-static] (+link-static-tests): Likewise.
68440         [!+link-static] (+link-static): Define in terms of
68441         $(+link-static-before-libc) and $(+link-static-after-libc).
68442         [build-shared] (link-libc-before-gnulib): New variable.
68443         [build-shared] (link-libc-tests): Likewise.
68444         [build-shared] (link-libc): Define in terms of
68445         $(link-libc-before-gnulib).
68446         [!build-shared] (link-libc-tests): New variable.
68447         (link-libc-static-tests): New variable.
68448         [!gnulib] (gnulib-arch): New variable.
68449         [!gnulib] (gnulib-tests): Likewise.
68450         [!gnulib] (static-gnulib-arch): Likewise.
68451         [!gnulib] (static-gnulib-tests): Likewise.
68452         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
68453         Define with "=" instead of ":=".
68454         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
68455         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
68456         * Rules (binaries-all-notests): New variable.
68457         (binaries-all-tests): Likewise.
68458         (binaries-static-notests): Likewise.
68459         (binaries-static-tests): Likewise.
68460         (binaries-all): Define using $(binaries-all-notests) and
68461         $(binaries-all-tests).
68462         (binaries-static): Define using $(binaries-static-notests) and
68463         $(binaries-static-tests).
68464         (binaries-shared-tests): New variable.
68465         (binaries-shared-notests): Likewise.
68466         (binaries-shared): Remove variable.
68467         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
68468         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
68469         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
68470         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
68471         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
68472         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
68473         * elf/Makefile (sln-modules): New variable.
68474         (extra-objs): Add $(sln-modules:=.o).
68475         (ldconfig-modules): Add static-stubs.
68476         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
68477         * elf/static-stubs.c: New file.
68479         [BZ #14283]
68480         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
68481         by 7 not 8 to examine high bit of fractional part.  Use volatile
68482         variables when splitting into final array of floats if
68483         __FLT_EVAL_METHOD__ != 0.
68484         * math/libm-test.inc (cos_test): Add another test.
68485         (sin_test): Likewise.
68486         * sysdeps/i386/fpu/libm-test-ulps: Update.
68488         [BZ #14273]
68489         * math/libm-test.inc (cosh_test): Add more tests.
68491         * version.h (RELEASE): Set to "development".
68492         (VERSION): Set to "2.16.90".
68494 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
68496         * NEWS: Update copyright. Remove last-updated date.
68497         Mention math library bug fixes and timezone data changes.
68498         * README: Mention GNU/Hurd, x32, and HPPA support status.
68500 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
68502         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
68504 2012-06-27  Andreas Jaeger  <aj@suse.de>
68506         * manual/contrib.texi (Contributors): Add Samuel Thibault.
68508 2012-06-25  Andreas Jaeger  <aj@suse.de>
68510         * sysdeps/s390/fpu/libm-test-ulps: Update.
68512 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
68513             Thomas Schwinge  <thomas@codesourcery.com>
68515         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
68516         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
68517         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
68518         fanotify_mark.
68520 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
68522         * sysdeps/mach/start.c: Remove file.
68523         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
68524         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
68525         * sysdeps/sh/init-first.c: Likewise.
68527         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
68528         registers for frame unwinding purposes, add CFI directives.
68529         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68530         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
68531         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
68532         Likewise.
68534         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
68535         __fortify_fail returning.
68536         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
68538         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
68539         sysdeps/sh/____longjmp_chk.S.
68540         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
68541         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
68542         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
68543         (gen-as-const-headers): Append sigaltstack-offsets.sym.
68545         * sysdeps/sh/abort-instr.h: New file.
68546         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
68547         process in case exit returns.
68549         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
68550         initialize the GOT register before use.
68552         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
68553         calculation of ARGC > 4.
68555         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
68556         meaningful names to some local labels.
68558 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68559             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68561         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
68562         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
68563         (__arch_compare_and_exchange_val_16_acq): Likewise.
68564         (__arch_compare_and_exchange_val_32_acq): Likewise.
68565         (atomic_exchange_and_add): Fix gUSA sequence.
68566         (atomic_add): Likewise.
68567         (atomic_add_negative): Likewise.
68568         (atomic_add_zero): Likewise.
68569         (atomic_bit_test_set): Likewise.
68571 2012-06-22  Andreas Schwab  <schwab@redhat.com>
68573         [BZ #13579]
68574         * include/link.h (struct link_map): Add l_free_initfini.
68575         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
68576         l_initfini.
68577         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
68578         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
68579         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
68580         set.
68582 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
68584         * configure.in: Use AC_LANG_SOURCE.
68585         * configure: Regenerate.
68587 2012-06-22  Roland McGrath  <roland@hack.frob.com>
68589         * configure.in (libc_cv_localstatedir): New substituted variable.
68590         * configure: Regenerated.
68591         * config.make.in (localstatedir): New variable, substituted from
68592         libc_cv_localstatedir.
68593         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
68594         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
68595         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
68596         * sysdeps/gnu/configure: Regenerated.
68598 2012-06-21  Jeff Law  <law@redhat.com>
68600         [BZ #14277]
68601         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
68602         free.  Simplify list management for _LIBC case.
68604 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
68606         [BZ #14273]
68607         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
68608         Clear sign bit of 64-bit integer value before comparing against
68609         overflow value.
68611         * sysdeps/mach/configure: Regenerated.
68613 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
68615         [BZ #14278]
68616         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
68618 2012-06-21  Jeff Law  <law@redhat.com>
68620         [BZ #13882]
68621         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
68622         uint16_t for elements in the "seen" array to avoid char overflows.
68623         * elf/dl-fini.c (_dl_sort_fini): Likewise.
68624         * elf/dl-open.c (dl_open_worker): Likewise.
68626 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
68628         * scripts/list-sources.sh: Scan PORTS for translations.
68629         * po/libc.pot: Regenerated.
68631 2012-06-21  Andreas Jaeger  <aj@suse.de>
68633         [BZ #12194]
68634         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
68635         warning.
68636         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
68637         * bits/byteswap-16.h (__bswap_16): Likewise.
68638         * bits/byteswap.h (__bswap_constant_16): Likewise.
68640 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
68642         [BZ #14117]
68643         * sysdeps/i386/fpu_control.h: Removed.
68644         * sysdeps/x86_64/fpu_control.h: Moved to ...
68645         * sysdeps/x86/fpu_control.h: Here.
68647         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
68648         (_FPU_SETCW): Likewise.
68650 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
68652         [BZ #14117]
68653         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
68654         * sysdeps/x86/fpu/bits/mathinline.h: This.
68655         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
68657         [BZ #14050]
68658         [BZ #14117]
68659         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
68660         functions if __x86_64__ is defined.
68662 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
68664         * string/endian.h: Add !__ASSEMBLER__ condition for including
68665         conversion interfaces.
68667 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
68669         [BZ #14241]
68670         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
68671         of ABS(x) in calculating zero to negative powers other than odd
68672         integers.
68673         * math/libm-test.inc (pow_test): Add more tests.
68675 2012-06-15  Andreas Jaeger  <aj@suse.de>
68677         * manual/contrib.texi (Contributors): Update entry of Liubov
68678         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
68679         Machado Filho.
68681 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
68683         * string/string.h: Add __wur to GNU version of strerror_r.
68685 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
68687         [BZ #14229]
68688         * string/Makefile (tests): Add tst-strtok_r.
68689         * string/tst-strtok_r.c: New file.
68690         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
68691         RAX_LP/RDX_LP on SAVE_PTR.
68693 2012-06-14  Roland McGrath  <roland@hack.frob.com>
68695         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
68697 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
68699         * libm_test.inc (csqrt_test): Allow more spurious underflow
68700         exceptions.
68701         (j0_test): Likewise.
68702         (j1_test): Likewise.
68703         (y0_test): Likewise.
68704         (y1_test): Likewise.
68706 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
68708         * po/Makefile (libc.pot): Use UTF-8 charset.
68710 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
68712         [BZ #14210]
68713         Suppress sign-conversion warning from FD_SET.
68714         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
68715         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
68716         not unsigned long int.
68717         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
68719 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
68721         [BZ #14050]
68722         [BZ #14117]
68723         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
68724         __extern_always_inline instead of __extern_inline.
68725         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
68726         (__signbit): Likewise.
68727         (__signbitl): Support C++ namespace.
68728         (lrintf): New inline function.
68729         (lrint): Likewise.
68730         (llrintf): Likewise.
68731         (llrint): Likewise.
68732         (fmaxf): Likewise.
68733         (fmax): Likewise.
68734         (fminf): Likewise.
68735         (fmin): Likewise.
68736         (rint): Likewise.
68737         (rintf): Likewise.
68738         (ceil): Likewise.
68739         (ceilf): Likewise.
68740         (floor): Likewise.
68741         (floorf): Likewise.
68742         (nearbyint): Likewise.
68743         (nearbyintf): Likewise.
68745 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
68747         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
68748         non-default versions.
68750 2012-06-11  Roland McGrath  <roland@hack.frob.com>
68752         [BZ #14218]
68753         * manual/argp.texi (Argp): Reword argp_parse description slightly.
68755 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
68757         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
68758         (FE_UPWARD, FE_DOWNWARD): Don't define.
68759         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
68760         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
68762         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
68763         reading it.
68764         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
68765         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
68767 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
68769         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
68770         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
68771         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
68772         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
68774 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
68776         [BZ #14117]
68777         * sysdeps/i386/fpu/bits/fenv.h: Removed.
68778         * sysdeps/i386/fpu/Implies: New file.
68779         * sysdeps/x86_64/fpu/Implies: Likewise.
68780         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
68781         * sysdeps/x86/fpu/bits/fenv.h: This.
68783         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
68784         __SSE_MATH__.
68786 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
68788         [BZ #14134]
68789         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
68790         character 0xffff that matches the last element of the
68791         conversion table.
68793 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68795         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
68796         fmodl commit.
68798 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68800         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
68801         values higher than 25.6283.
68803 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68805         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
68806         subnormal exponent extraction and add some __builtin_expect.
68807         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
68808         Fix for subnormal mantissa calculation.
68810 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
68812         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
68813         cpu2 is -1 and errno is not ENOSYS.
68815 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
68817         [BZ #14117]
68818         * sysdeps/i386/i486/bits/string.h: Renamed to ...
68819         * sysdeps/x86/bits/string.h: This.
68820         * sysdeps/x86_64/bits/string.h: Removed.
68822         * sysdeps/i386/i486/bits/string.h: Define inline functions only
68823         if not compiling for x86-64, but compiling for >= i486.
68825         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
68826         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
68828         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
68829         New macro from Linux kernel 3.4.0.
68830         (FP_XSTATE_MAGIC2): Likewise.
68831         (FP_XSTATE_MAGIC2_SIZE): Likewise.
68832         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
68833         (struct _fpx_sw_bytes): New struct.
68834         (struct _xsave_hdr): Likewise.
68835         (struct _ymmh_state): Likewise.
68836         (struct _xstate): Likewise.
68838         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
68839         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
68840         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
68841         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
68842         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
68843         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
68845         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
68846         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
68847         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
68848         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
68849         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
68850         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
68852 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68854         [BZ #13743]
68855         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
68856         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
68857         (sysdep_headers): Include sys/platform/ppc.h.
68858         * sysdeps/powerpc/test-gettimebase.c: Test for
68859         __ppc_get_timebase() to catch future ISA opcode/insn changes.
68860         * manual/Makefile (appendices): Include platform.texi.
68861         * manual/contrib.texi (Contributors): Update @node pointers.
68862         * manual/maint.texi (Maintenance): Likewise.
68863         (Platform): New node.
68864         * manual/platform.texi: New file.  Document the new features.
68866 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
68867             Jakub Jelinek  <jakub@redhat.com>
68869         [BZ #14188]
68870         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
68871         where __builtin_expect is unavailable.
68873 2012-06-03  David S. Miller  <davem@davemloft.net>
68875         * stdlib/longlong.h: Updated from GCC.
68877 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
68879         [BZ #14042]
68880         * sysdeps/powerpc/powerpc32/mcount.c: New file.
68881         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
68882         __mcount_internal.
68883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
68884         (GLIBC_2.16): Likewise.
68886 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68888         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
68890 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
68893         (default-abi): New variable.
68894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
68895         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
68896         variable.
68897         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
68898         Likewise.
68899         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
68900         Likewise.
68901         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
68902         Likewise.
68904         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
68905         definition.  Document in comment.
68907 2012-06-01  David S. Miller  <davem@davemloft.net>
68909         * stdlib/longlong.h: Updated from GCC.
68911 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68913         [BZ #14117]
68914         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
68915         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
68916         sys/debugreg.h sys/io.h here.
68917         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
68918         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
68919         sys/io.h.
68920         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
68921         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
68922         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
68923         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
68924         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
68925         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
68927         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
68928         Define only if __x86_64__ is defined.
68930 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
68932         [BZ #14048]
68933         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
68934         Use int64_t for variable i.
68935         * math/libm-test.inc (fmod_test): Add more tests.
68937         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
68938         z computation is not scheduled after fetestexcept.
68939         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
68940         Use math_force_eval instead of asm to ensure calculation scheduled
68941         before exception test.
68942         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
68943         Ensure a1 + u.d computation is not scheduled after fetestexcept.
68945 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
68947         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
68948         computation is not scheduled after fetestexcept.
68950 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
68952         [BZ #14117]
68953         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
68954         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
68956 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68958         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
68959         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
68961 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
68963         [BZ #14117]
68964         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
68965         <bits/wordsize.h>.
68966         (__WCHAR_MIN): Support __WORDSIZE == 64.
68967         (__WCHAR_MAX): Likewise.
68969         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
68970         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
68972         [BZ #14183]
68973         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
68974         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
68976         [BZ #14117]
68977         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
68978         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
68980         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
68981         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
68983         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
68984         Defined to 1 if __x86_64__ isn't defined.
68985         (_STAT_VER_LINUX_OLD): New.
68986         (st_atime): Remove duplicate.
68987         (st_mtime): Likewise.
68988         (st_ctime): Likewise.
68990 2012-05-31  David S. Miller  <davem@davemloft.net>
68992         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
68993         entries.
68995 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
68997         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
68998         gen-libm-test.pl.
69000         [BZ #14132]
69001         * elf/dl-reloc.c: Include <_itoa.h>.
69002         (_dl_reloc_bad_type): Remove use of INTUSE.
69003         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69004         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69005         * stdio-common/psiginfo.c (psiginfo): Likewise.
69006         * stdio-common/psignal.c (psignal): Likewise.
69007         * string/strsignal.c (strsignal): Likewise.
69008         * include/signal.h (_sys_siglist): Declare hidden proto.
69009         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69010         INTVARDEF with libc_hidden_data_def.
69011         * stdio-common/itoa-udigits.c: Likewise.
69012         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69013         (_itoa_lower_digits_internal): Remove declaration.
69014         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69015         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69016         (_sys_sigabbrev_internal): Remove aliases.
69017         (_sys_siglist): Define hidden alias.
69019 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69021         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69022         bits/sysctl.h.
69024 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69026         [BZ #14117]
69027         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69028         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69030         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69031         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69032         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69033         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69034         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69035         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69037         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69038         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69039         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69041         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69042         with __addr.
69043         (insw): Likewise.
69044         (insl): Likewise.
69045         (outsb): Likewise.
69046         (outsw): Likewise.
69047         (outsl): Likewise.
69049         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69050         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69051         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69053         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69054         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69055         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69056         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69057         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69058         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69060         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69061         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69063         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69064         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69066         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69067         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69068         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69070         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69071         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69072         to ...
69073         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69075         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69076         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69077         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69079         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69080         for x86-64.
69081         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69083 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69085         * math/math.h (M_El): Use two more decimal places.
69086         (M_LOG2El): Likewise.
69087         (M_LOG10El): Likewise.
69088         (M_LN2l): Likewise.
69089         (M_LN10l): Likewise.
69090         (M_PIl): Likewise.
69091         (M_PI_2l): Likewise.
69092         (M_PI_4l): Likewise.
69093         (M_1_PIl): Likewise.
69094         (M_2_PIl): Likewise.
69095         (M_2_SQRTPIl): Likewise.
69096         (M_SQRT2l): Likewise.
69097         (M_SQRT1_2l): Likewise.
69099 2012-05-31  David S. Miller  <davem@davemloft.net>
69101         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69102         values between float registers.
69103         * sysdeps/sparc/sparc64/memset.S: Likewise.
69104         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69106 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69108         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69109         -D_FORTIFY_SOURCE=1.
69110         (CPPFLAGS-tst-longjmp_chk.c): Define.
69111         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69112         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69113         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69114         CFLAGS-tst-wchar-h.c.
69116 2012-05-31  Marek Polacek  <polacek@redhat.com>
69118         [BZ #14132]
69119         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69120         __endmntent_internal): Remove declaration.
69121         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69122         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69123         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69125 2012-05-30  David S. Miller  <davem@davemloft.net>
69127         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69128         (___Q_simulate_exceptions): Use real FP ops rather than writing
69129         into the %fsr.
69130         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69131         Likewise.
69133 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69135         [BZ #14117]
69136         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
69137         * sysdeps/x86/bits/xtitypes.h: This.
69139         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
69140         * sysdeps/x86/bits/wordsize.h: This.
69142         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
69143         * sysdeps/x86/bits/huge_vall.h: This.
69145         * sysdeps/i386/bits/select.h: Removed.
69146         * sysdeps/x86_64/bits/select.h: Renamed to ...
69147         * sysdeps/x86/bits/select.h: This.
69149         * sysdeps/i386/bits/setjmp.h: Removed.
69150         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
69151         * sysdeps/x86/bits/setjmp.h: This.
69153         * sysdeps/i386/bits/mathdef.h: Removed.
69154         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
69155         * sysdeps/x86/bits/mathdef.h: This.
69157 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
69159         [BZ #14132]
69160         * include/sys/socket.h (__connect_internal)
69161         (__libc_sa_len_internal): Remove declaration.
69162         (__connect, __libc_sa_len): Declare hidden_proto.
69163         (SA_LEN): Remove use of INTUSE.
69164         * socket/connect.c: Add libc_hidden_def.
69165         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
69166         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
69167         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
69168         alias.
69169         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
69170         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
69171         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
69172         of adding _internal alias.
69174 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69176         [BZ #14117]
69177         * sysdeps/i386/bits/link.h: Removed.
69178         * sysdeps/i386/bits/linkmap.h: Likewise.
69179         * sysdeps/x86_64/bits/link.h: Renamed to ...
69180         * sysdeps/x86/bits/link.h: This.
69181         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
69182         * sysdeps/x86/bits/linkmap.h: This.
69184         * sysdeps/i386/bits/endian.h: Removed.
69185         * sysdeps/x86_64/bits/endian.h: Renamed to ...
69186         * sysdeps/x86/bits/endian.h: This.
69188         * sysdeps/i386/bits/byteswap.h: Removed.
69189         * sysdeps/i386/bits/byteswap-16.h: Likewise.
69190         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
69191         * sysdeps/x86/bits/byteswap.h: This.
69192         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
69193         * sysdeps/x86/bits/byteswap-16.h: This.
69194         * sysdeps/i386/Implies: Add x86.
69195         * sysdeps/x86_64/Implies: Likewise.
69197 2012-05-30  David S. Miller  <davem@davemloft.net>
69199         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
69200         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
69201         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
69202         (FP_TRAPPING_EXCEPTIONS): Define.
69203         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
69204         (FP_TRAPPING_EXCEPTIONS): Define.
69205         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
69206         subnormals only when inexact has been signalled or underflow
69207         exceptions are enabled.
69208         (_FP_PACK_CANONICAL): Likewise.
69210 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69212         [BZ #14183]
69213         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69214         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
69216 2012-05-30  Richard Henderson  <rth@twiddle.net>
69218         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
69219         with #ifndef NOT_IN_libc.
69221         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
69222         marked to avoid plt entry.
69224 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
69226         [BZ #14112]
69227         * Makeconfig (default-abi): New macro.
69228         (abi-includes): Likewise.
69229         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
69230         $(abi-$(default-abi)-lib-soname) for soname if defined.
69231         ($(common-objpfx)gnu/lib-names.stmp): Generate from
69232         abi-variants.
69233         * Makefile (installed-stubs): Likewise.
69234         * include/stubs-biarch.h: Removed.
69235         * scripts/lib-names.awk: Only handle one library at a time.
69236         * scripts/soversions.awk: Remove WORDSIZE support.
69237         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
69238         entries.
69239         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
69240         Removed.
69241         (syscall-list-default-condition): Likewise.
69242         (syscall-list-default-condition): Likewise.
69243         (syscall-list-includes): Likewise.
69244         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
69245         syscall-list-* with abi-*.  Handle undefined abi-variants.
69246         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
69247         * sysdeps/unix/sysv/linux/i386/Implies: New file.
69248         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69249         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
69250         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
69251         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
69252         Removed.
69253         (syscall-list-32-options): Likewise.
69254         (syscall-list-32-condition): Likewise.
69255         (syscall-list-64-options): Likewise.
69256         (syscall-list-64-condition): Likewise.
69257         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
69258         macro.
69259         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
69260         Renamed to ...
69261         (abi-*): This.
69262         (abi-64-ld-soname): New macro.
69263         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
69264         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
69265         Renamed to ...
69266         (abi-*): This.
69267         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
69268         * sysdeps/x86_64/x32/shlib-versions: Likewise.
69270 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
69272         * sysdeps/unix/sysv/linux/kernel-features.h
69273         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
69274         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
69275         include <kernel-features.h>.
69276         [!__NR_ftruncate64]: Remove conditional code.
69277         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69278         [__NR_ftruncate64]: Make code unconditional.
69279         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69280         * sysdeps/unix/sysv/linux/truncate64.c: Do not
69281         include <kernel-features.h>.
69282         [!__NR_ftruncate64]: Remove conditional code.
69283         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69284         [__NR_ftruncate64]: Make code unconditional.
69285         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
69287         include <kernel-features.h>.
69288         [!__NR_ftruncate64]: Remove conditional code.
69289         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69290         [__NR_ftruncate64]: Make code unconditional.
69291         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
69293         include <kernel-features.h>.
69294         [!__NR_ftruncate64]: Remove conditional code.
69295         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69296         [__NR_ftruncate64]: Make code unconditional.
69297         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
69299         * configure.in (libc_cv_fpie): Weaken to a compile test using
69300         LIBC_TRY_CC_OPTION.
69301         * configure: Regenerated.
69303 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
69306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
69307         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
69308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69309         Refreshed.
69310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
69311         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
69312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
69313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
69314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
69315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69316         Refreshed.
69318 2012-05-27  David S. Miller  <davem@davemloft.net>
69320         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
69321         (___Q_zero): New.
69322         (__Q_simulate_exceptions): Return void.  Change to simulate
69323         exceptions by writing into the %fsr.
69324         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
69325         (__Qp_handle_exceptions): Likewise.
69326         (numbers): Delete.
69327         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
69328         __Qp_handle_exceptions.
69329         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
69330         __Qp_handle_exceptions.
69331         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69332         as unused and give dummy FP_RND_NEAREST initializer.
69333         (FP_INHIBIT_RESULTS): Define.
69334         (___Q_simulate_exceptions): Update declaration.
69335         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
69336         formatting.
69337         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
69338         as unused and give dummy FP_RND_NEAREST initializer.
69339         (__Qp_handle_exceptions): Update declaration.
69340         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
69341         formatting.
69343 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
69345         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
69346         the temporary FPU control word.
69347         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
69348         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
69349         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
69350         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69351         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
69352         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
69353         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
69354         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69355         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
69356         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
69357         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69359 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69361         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
69362         fields.
69364 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
69366         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
69367         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
69368         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
69369         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
69370         Likewise.
69371         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
69372         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
69373         Likewise.
69375 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
69377         * po/h.po: Update from translation team.
69379 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
69381         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
69383         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
69384         handling of denormals.
69385         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69386         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
69387         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69388         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69389         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69390         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
69391         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
69392         Likewise.
69394 2012-05-26  Marek Polacek  <polacek@redhat.com>
69396         [BZ #14152]
69397         * math/libm-test.inc (fma_test): Don't always expect underflow
69398         exception.
69400 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69402         [BZ #12416]
69403         * elf/tst-execstack.c: Include stackinfo.h.
69404         (do_test): Adjust test case to ensure that pthread_getattr_np
69405         behaviour remains the same after marking stack executable.
69407 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69409         * sysdeps/unix/sysv/linux/kernel-features.h
69410         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69411         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
69412         kernel-features.h.
69413         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69414         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69415         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
69416         kernel-features.h.
69417         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
69418         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
69420 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
69422         * configure.in: Define the default includes to being none.
69423         * configure: Regenerated.
69425 2012-05-25  Roland McGrath  <roland@hack.frob.com>
69427         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
69428         * sysdeps/x86_64/setjmp.S: Likewise.
69429         * sysdeps/i386/bsd-setjmp.S: Likewise.
69430         * sysdeps/i386/bsd-_setjmp.S: Likewise.
69431         * sysdeps/i386/setjmp.S: Likewise.
69432         * sysdeps/i386/__longjmp.S: Likewise.
69433         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
69434         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
69436         * include/stap-probe.h: New file.
69437         * configure.in: Handle --enable-systemtap.
69438         * configure: Regenerated.
69439         * config.h.in (USE_STAP_PROBE): New #undef.
69440         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
69441         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
69442         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
69444 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
69446         [BZ #13717]
69447         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69448         to 2.4.0 where earlier.
69449         * sysdeps/unix/sysv/linux/configure: Regenerated.
69450         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
69451         <kernel-features.h>.
69452         [__ASSUME_32BITUIDS]: Make code unconditional.
69453         [!__ASSUME_32BITUIDS]: Remove conditional code.
69454         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
69455         <kernel-features.h>.
69456         [__ASSUME_32BITUIDS]: Make code unconditional.
69457         [!__ASSUME_32BITUIDS]: Remove conditional code.
69458         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
69459         [__ASSUME_32BITUIDS]: Make code unconditional.
69460         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
69461         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
69462         <kernel-features.h>.
69463         [__ASSUME_32BITUIDS]: Make code unconditional.
69464         [!__ASSUME_32BITUIDS]: Remove conditional code.
69465         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
69466         <kernel-features.h>.
69467         [__ASSUME_32BITUIDS]: Make code unconditional.
69468         [!__ASSUME_32BITUIDS]: Remove conditional code.
69469         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
69470         <kernel-features.h>.
69471         [__ASSUME_32BITUIDS]: Make code unconditional.
69472         [!__ASSUME_32BITUIDS]: Remove conditional code.
69473         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
69474         <kernel-features.h>.
69475         [__ASSUME_32BITUIDS]: Make code unconditional.
69476         [!__ASSUME_32BITUIDS]: Remove conditional code.
69477         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
69478         <kernel-features.h>.
69479         [__ASSUME_32BITUIDS]: Make code unconditional.
69480         [!__ASSUME_32BITUIDS]: Remove conditional code.
69481         * sysdeps/unix/sysv/linux/i386/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
69502         <kernel-features.h>.
69503         [__NR_setresgid] (__setresgid): Do not declare.
69504         [__ASSUME_32BITUIDS]: Make code unconditional.
69505         [!__ASSUME_32BITUIDS]: Remove conditional code.
69506         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
69507         <kernel-features.h>.
69508         [__NR_setresuid] (__setresuid): Do not declare.
69509         [__ASSUME_32BITUIDS]: Make code unconditional.
69510         [!__ASSUME_32BITUIDS]: Remove conditional code.
69511         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
69512         <kernel-features.h>.
69513         [__ASSUME_32BITUIDS]: Make code unconditional.
69514         [!__ASSUME_32BITUIDS]: Remove conditional code.
69515         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
69516         <kernel-features.h>.
69517         [__ASSUME_32BITUIDS]: Make code unconditional.
69518         [!__ASSUME_32BITUIDS]: Remove conditional code.
69519         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
69520         <kernel-features.h>.
69521         [__ASSUME_32BITUIDS]: Make code unconditional.
69522         [!__ASSUME_32BITUIDS]: Remove conditional code.
69523         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
69524         <kernel-features.h>.
69525         [__ASSUME_32BITUIDS]: Make code unconditional.
69526         [!__ASSUME_32BITUIDS]: Remove conditional code.
69527         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
69528         <kernel-features.h>.
69529         [__ASSUME_32BITUIDS]: Make code unconditional.
69530         [!__ASSUME_32BITUIDS]: Remove conditional code.
69531         * sysdeps/unix/sysv/linux/i386/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
69552         (__ASSUME_SETRESUID_SYSCALL): Remove.
69553         (__ASSUME_SETRESGID_SYSCALL): Likewise.
69554         (__ASSUME_32BITUIDS): Likewise.
69555         (__ASSUME_LDT_WORKS): Likewise.
69556         (__ASSUME_O_DIRECTORY): Likewise.
69557         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
69558         architecture but not kernel version.
69559         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
69560         (__ASSUME_MMAP2_SYSCALL): Likewise.
69561         (__ASSUME_STAT64_SYSCALL): Likewise.
69562         (__ASSUME_IPC64): Likewise.
69563         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
69564         <kernel-features.h>.
69565         [__ASSUME_32BITUIDS]: Make code unconditional.
69566         [!__ASSUME_32BITUIDS]: Remove conditional code.
69567         * sysdeps/unix/sysv/linux/opendir.c: Do not include
69568         <kernel-features.h>.
69569         [__ASSUME_O_DIRECTORY]: Make code unconditional.
69570         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
69571         132096]: Remove conditional code.
69572         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
69573         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
69574         <kernel-features.h>.
69575         [__ASSUME_32BITUIDS]: Make code unconditional.
69576         [!__ASSUME_32BITUIDS]: Remove conditional code.
69577         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
69578         <kernel-features.h>.
69579         [__ASSUME_32BITUIDS]: Make code unconditional.
69580         [!__ASSUME_32BITUIDS]: Remove conditional code.
69581         * sysdeps/unix/sysv/linux/setegid.c: Do not include
69582         <kernel-features.h>.
69583         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
69584         unconditional.
69585         (__setresgid): Do not declare.
69586         [__ASSUME_32BITUIDS]: Make code unconditional.
69587         [!__ASSUME_32BITUIDS]: Remove conditional code.
69588         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
69589         <kernel-features.h>.
69590         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
69591         unconditional.
69592         (__setresuid): Do not declare.
69593         [__ASSUME_32BITUIDS]: Make code unconditional.
69594         [!__ASSUME_32BITUIDS]: Remove conditional code.
69595         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
69596         <kernel-features.h>.
69597         [__ASSUME_32BITUIDS]: Make code unconditional.
69598         [!__ASSUME_32BITUIDS]: Remove conditional code.
69599         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
69600         <kernel-features.h>.
69601         [__ASSUME_32BITUIDS]: Make code unconditional.
69602         [!__ASSUME_32BITUIDS]: Remove conditional code.
69604 2012-05-25  Richard Henderson  <rth@twiddle.net>
69606         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
69607         dl_hwcap to ifunc resolver.
69608         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
69609         elf_ifunc_invoke.
69610         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
69611         dl_hwcap to ifunc resolver.
69612         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
69614 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69616         [BZ #14153]
69617         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
69618         for |x| <= 2**-26, not 2**-57.
69619         * math/libm-test.inc (acos_test): Do not allow spurious underflow
69620         exception.
69622 2012-05-24  Jeff Law  <law@redhat.com>
69624         * stdio-common/Makefile (tests): Add bug25.
69625         * stdio-common/bug25.c: New test.
69627 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69629         [BZ #13576]
69630         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
69631         multiple of MALLOC_ALIGNMENT in size.
69632         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
69634 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69636         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
69637         Require >= 256.
69638         (FILENAME_MAX): Use macro-int-constant.
69639         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
69640         (_IOFBF): Use macro-int-constant.
69641         (_IOLBF): Likewise.
69642         (_IONBF): Likewise.
69643         (SEEK_CUR): Likewise.
69644         (SEEK_END): Likewise.
69645         (SEEK_SET): Likewise.
69646         (TMP_MAX): Likewise.
69647         (EOF): Use macro-int-constant.  Require < 0.
69648         (NULL): Use macro-constant.  Require == 0.
69649         (stdin): Require type to be FILE *.
69650         (stdout): Likewise.
69651         (stderr): Likewise.
69652         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
69653         macro-int-constant.
69654         (EXIT_SUCCESS): Likewise.
69655         (NULL): Use macro-constant.  Require == 0.
69656         (RAND_MAX): Use macro-int-constant.
69657         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
69658         [C99-based standards] (strtof): Require function.
69659         [C99-based standards] (strtold): Likewise.
69660         [C99-based standards] (strtoll): Likewise.
69661         [C99-based standards] (strtoull): Likewise.
69662         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69663         [ISO || ISO99 || ISO11] (limits.h): Likewise.
69664         [ISO || ISO99 || ISO11] (math.h): Likewise.
69665         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
69666         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69667         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69669 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
69671         [BZ #14132]
69672         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
69673         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
69674         * intl/dgettext.c (DCGETTEXT): Likewise.
69675         * intl/gettext.c (DCGETTEXT): Likewise.
69676         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
69677         * posix/regex_internal.h (gettext): Likewise.
69678         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
69679         Remove declaration.
69680         * include/argz.h (__argz_count_internal)
69681         (__argz_stringify_internal): Remove declaration.
69682         (__argz_count, __argz_stringify): Declare hidden proto.
69683         * intl/dcgettext.c: Remove use of INTDEF.
69684         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
69685         * string/argz-stringify.c: Likewise.
69686         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69687         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69688         Declare hidden proto.
69689         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
69690         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
69691         Declare hidden proto.
69692         * include/stdio.h (__asprintf_internal): Don't declare.
69693         (__asprintf): Don't define as macro.  Declare hidden proto.
69694         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
69695         (__fsetlocking): Declare hidden proto.
69696         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
69697         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
69698         hidden proto.
69699         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
69700         (_IO_setlinebuf): Remove use of INTUSE.
69701         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
69702         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
69703         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
69704         Remove declaration.
69705         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
69706         (_IO_do_flush): Remove use of INTUSE.
69707         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
69708         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
69709         (_IO_adjust_column, _IO_least_wmarker)
69710         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
69711         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
69712         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
69713         (_IO_default_doallocate, _IO_wdefault_doallocate)
69714         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
69715         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
69716         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
69717         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
69718         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
69719         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
69720         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
69721         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
69722         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
69723         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
69724         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
69725         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
69726         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
69727         proto.
69728         (_IO_flush_all_internal, _IO_adjust_column_internal)
69729         (_IO_default_uflow_internal, _IO_default_finish_internal)
69730         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
69731         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
69732         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
69733         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
69734         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
69735         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
69736         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
69737         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
69738         (_IO_file_close_internal, _IO_file_close_it_internal)
69739         (_IO_file_underflow_internal, _IO_file_overflow_internal)
69740         (_IO_file_init_internal, _IO_file_attach_internal)
69741         (_IO_file_fopen_internal, _IO_file_read_internal)
69742         (_IO_file_sync_internal, _IO_file_seek_internal)
69743         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
69744         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
69745         (_IO_str_underflow_internal, _IO_str_overflow_internal)
69746         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
69747         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
69748         (_IO_list_all_internal, _IO_link_in_internal)
69749         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
69750         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
69751         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
69752         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
69753         (_IO_do_write_internal, _IO_padn_internal)
69754         (_IO_getline_info_internal, _IO_getline_internal)
69755         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
69756         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
69757         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
69758         (_IO_vfscanf_internal, _IO_vfprintf_internal)
69759         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
69760         (_IO_init_internal, _IO_un_link_internal): Don't declare.
69761         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
69762         with libc_hidden_ver, remove use of INTUSE.
69763         * libio/genops.c: Likewise.
69764         * libio/freopen.c: Likewise.
69765         * libio/freopen64.c: Likewise.
69766         * libio/iofclose.c: Likewise.
69767         * libio/iofdopen.c: Likewise.
69768         * libio/iofflush.c: Likewise.
69769         * libio/iofflush_u.c: Likewise.
69770         * libio/iofgets.c: Likewise.
69771         * libio/iofgets_u.c: Likewise.
69772         * libio/iofopen.c: Likewise.
69773         * libio/iofopncook.c: Likewise.
69774         * libio/iofread.c: Likewise.
69775         * libio/iofread_u.c: Likewise.
69776         * libio/ioftell.c: Likewise.
69777         * libio/iofwrite.c: Likewise.
69778         * libio/iogetline.c: Likewise.
69779         * libio/iogets.c: Likewise.
69780         * libio/iogetwline.c: Likewise.
69781         * libio/iopadn.c: Likewise.
69782         * libio/iopopen.c: Likewise.
69783         * libio/ioseekoff.c: Likewise.
69784         * libio/ioseekpos.c: Likewise.
69785         * libio/iosetbuffer.c: Likewise.
69786         * libio/iosetvbuf.c: Likewise.
69787         * libio/ioungetc.c: Likewise.
69788         * libio/ioungetwc.c: Likewise.
69789         * libio/iovdprintf.c: Likewise.
69790         * libio/iovsprintf.c: Likewise.
69791         * libio/iovsscanf.c: Likewise.
69792         * libio/memstream.c: Likewise.
69793         * libio/obprintf.c: Likewise.
69794         * libio/oldfileops.c: Likewise.
69795         * libio/oldiofclose.c: Likewise.
69796         * libio/oldiofdopen.c: Likewise.
69797         * libio/oldiofopen.c: Likewise.
69798         * libio/oldiopopen.c: Likewise.
69799         * libio/oldstdfiles.c: Likewise.
69800         * libio/putc.c: Likewise.
69801         * libio/setbuf.c: Likewise.
69802         * libio/setlinebuf.c: Likewise.
69803         * libio/stdfiles.c: Likewise.
69804         * libio/strops.c: Likewise.
69805         * libio/vasprintf.c: Likewise.
69806         * libio/vscanf.c: Likewise.
69807         * libio/vsnprintf.c: Likewise.
69808         * libio/vswprintf.c: Likewise.
69809         * libio/wfiledoalloc.c: Likewise.
69810         * libio/wfileops.c: Likewise.
69811         * libio/wgenops.c: Likewise.
69812         * libio/wmemstream.c: Likewise.
69813         * libio/wstrops.c: Likewise.
69814         * libio/__fpurge.c: Likewise.
69815         * libio/__fsetlocking.c: Likewise.
69816         * assert/assert.c: Likewise.
69817         * debug/fgets_chk.c: Likewise.
69818         * debug/fgets_u_chk.c: Likewise.
69819         * debug/fread_chk.c: Likewise.
69820         * debug/fread_u_chk.c: Likewise.
69821         * debug/gets_chk.c: Likewise.
69822         * debug/obprintf_chk.c: Likewise.
69823         * debug/vasprintf_chk.c: Likewise.
69824         * debug/vdprintf_chk.c: Likewise.
69825         * debug/vsnprintf_chk.c: Likewise.
69826         * debug/vsprintf_chk.c: Likewise.
69827         * malloc/mtrace.c: Likewise.
69828         * misc/error.c: Likewise.
69829         * misc/syslog.c: Likewise.
69830         * stdio-common/asprintf.c: Likewise.
69831         * stdio-common/fxprintf.c: Likewise.
69832         * stdio-common/getw.c: Likewise.
69833         * stdio-common/isoc99_fscanf.c: Likewise.
69834         * stdio-common/isoc99_scanf.c: Likewise.
69835         * stdio-common/isoc99_vfscanf.c: Likewise.
69836         * stdio-common/isoc99_vscanf.c: Likewise.
69837         * stdio-common/isoc99_vsscanf.c: Likewise.
69838         * stdio-common/printf-prs.c: Likewise.
69839         * stdio-common/printf_fp.c: Likewise.
69840         * stdio-common/printf_fphex.c: Likewise.
69841         * stdio-common/printf_size.c: Likewise.
69842         * stdio-common/putw.c: Likewise.
69843         * stdio-common/scanf.c: Likewise.
69844         * stdio-common/sprintf.c: Likewise.
69845         * stdio-common/tmpfile.c: Likewise.
69846         * stdio-common/vfprintf.c: Likewise.
69847         * stdio-common/vfscanf.c: Likewise.
69848         * stdlib/strfmon_l.c: Likewise.
69849         * sunrpc/openchild.c: Likewise.
69850         * sunrpc/xdr_stdio.c: Likewise.
69851         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
69852         * sysdeps/mach/hurd/tmpfile.c: Likewise.
69854 2012-05-24  Roland McGrath  <roland@hack.frob.com>
69856         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
69858         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
69859         in the third column, to generate for the shared library an IFUNC
69860         that uses _dl_vdso_vsym.
69861         * Makerules (COMPILE.c, compile-stdin.c): New variables.
69862         * Makeconfig (object-suffixes-noshared): New variable.
69864         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
69865         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
69866         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
69867         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
69869         [BZ #14132]
69870         * include/sys/time.h (__gettimeofday): Remove macro.
69871         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
69872         * time/gettimeofday.c (__gettimeofday): Remove #undef.
69873         Remove INTDEF.
69874         (__gettimeofday): Add libc_hidden_def.
69875         (gettimeofday): Add libc_hidden_weak.
69876         * sysdeps/mach/gettimeofday.c: Likewise.
69877         * sysdeps/posix/gettimeofday.c: Likewise.
69878         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
69879         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
69880         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
69881         (__gettimeofday_internal): Remove strong_alias.
69882         (__gettimeofday): Add libc_hidden_def.
69883         (gettimeofday): Add libc_hidden_weak.
69884         * sysdeps/unix/syscalls.list (gettimeofday):
69885         Remove __gettimeofday_internal alias.
69887 2012-05-24  Daniel Jacobowitz  <drow@false.org>
69888             H.J. Lu  <hongjiu.lu@intel.com>
69890         [BZ #12495]
69891         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
69892         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
69893         (largebin_index_32_big): New.
69894         (largebin_index): Use it for 16-byte alignment.
69895         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
69896         correction with front_misalign.
69898 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
69900         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
69901         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
69902         Likewise.
69903         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
69904         Likewise.
69905         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
69906         Likewise.
69907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
69908         Likewise.
69909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
69910         Likewise.
69911         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
69912         Likewise.
69913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
69914         Likewise.
69915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
69916         Likewise.
69917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
69918         Likewise.
69919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
69920         Likewise.
69921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
69922         Likewise.
69923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
69924         Likewise.
69926         * scripts/data/c++-types-x32-linux-gnu.data: New file.
69927         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
69929 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
69931         [BZ #10846]
69932         [BZ #14036]
69933         * math/libm-test.inc (exp_test): Add test from bug 14036.
69934         (pow_test): Add test from bug 10846.
69936         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
69937         and other flags.
69938         (special_function): Do not include flags in test name.
69939         (parse_args): Likewise.
69940         * sysdeps/i386/fpu/libm-test-ulps: Update.
69941         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69942         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
69943         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
69944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69946         * math/gen-libm-test.pl (%beautify): Add entries for underflow
69947         exceptions.
69948         * math/libm-test.inc ("Philosophy"): Update comment about
69949         exception testing.
69950         (UNDERFLOW_EXCEPTION): New macro.
69951         (UNDERFLOW_EXCEPTION_OK): Likewise.
69952         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
69953         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
69954         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
69955         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
69956         (INVALID_EXCEPTION_OK): Update value.
69957         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69958         (OVERFLOW_EXCEPTION_OK): Likewise.
69959         (IGNORE_ZERO_INF_SIGN): Likewise.
69960         (test_exceptions): Handle underflow exceptions.
69961         (acos_test): Update for underflow exception expectations.
69962         (cexp_test): Likewise.
69963         (clog_test): Likewise.
69964         (clog10_test): Likewise.
69965         (csqrt_test): Likewise.
69966         (ctan_test): Likewise.
69967         (ctanh_test): Likewise.
69968         (exp_test): Likewise.
69969         (exp10_test): Likewise.
69970         (exp2_test): Likewise.
69971         (expm1_test): Likewise.
69972         (fma_test): Likewise.
69973         (j0_test): Likewise.
69974         (jn_test): Likewise.
69975         (nexttoward_test): Likewise.
69976         (pow_test): Likewise.
69977         (scalbn_test): Likewise.
69978         (scalbln_test): Likewise.
69979         (tan_test): Likewise.
69980         (y1_test): Likewise.
69981         * sysdeps/i386/fpu/libm-test-ulps: Update.
69982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69984 2012-05-23  David S. Miller  <davem@davemloft.net>
69986         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69987         (__libc_sigaction): Remove unused local variables.
69989 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
69991         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
69993 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
69995         mktime: avoid signed integer overflow
69996         * time/mktime.c (__mktime_internal): Do not mishandle the case
69997         where diff == INT_MIN.
69999         mktime: simplify computation of average
70000         * time/mktime.c (ranged_convert): Use new time_t_avg function
70001         instead of rolling our own (probably-slower) code.
70003         mktime: do not assume signed right shift propagates sign bit
70004         * time/mktime.c (isdst_differ): New static function.
70005         (__mktime_internal): No need to normalize tm_isdst now.
70006         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70007         tm_isdst values.
70009         mktime: merge another wrapv change from gnulib
70010         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70011         from some compilers.
70013         mktime: remove incorrect attempt at unusual arithmetics
70014         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70015         The code didn't really work on such machines anyway.
70016         (TYPE_MINIMUM): Assume two's complement.
70017         (twos_complement_arithmetic): Verify that long_int and time_t
70018         are two's complement (or unsigned, in the latter case).
70020         mktime: check signed shifts on long_int and time_t, too
70021         * time/mktime.c (SHR): Check that shifts work as desired
70022         on the types long_int and time_t too, as SHR is used on
70023         such types.
70025         mktime: do not assume 'long' is wide enough
70026         * time/mktime.c (verify): Move decl up.
70027         (long_int): New type.
70028         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70029         to remove assumption in the code that 'long' is wide enough to
70030         store year values.  This assumption is not true on x32 and on
70031         some non-glibc platforms.
70033         mktime: merge wrapv change from gnulib
70034         * time/mktime.c (WRAPV): New macro.
70035         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70036         (guess_time_tm, __mktime_internal): Do not assume that signed
70037         integer overflow wraps around; modern compilers generate code
70038         where this assumption is no longer valid.
70040 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70042         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70043         Replace "jmp L(pseudo_end)" with "ret".
70044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70045         Likewise.
70047 2012-05-23  Andreas Jaeger  <aj@suse.de>
70049         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70050         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70052 2012-05-23  Andreas Jaeger  <aj@suse.de>
70053             Maximilian Attems  <max@stro.at>
70055         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70056         New macros.
70058 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70060         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70061         code so that pseudo_end is just ret and the stack pointer is
70062         correct also for static library in error case.
70064 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70066         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70067         move to syscalls.list.
70068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70073         * manual/install.texi (Running make install): Do not mention Linux
70074         kernel version for which pt_chown is not needed.
70075         (Linux): Do not mention problems with nscd with 2.0 kernels.
70076         * INSTALL: Regenerated.
70078 2012-05-23  Andreas Jaeger  <aj@suse.de>
70080         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70081         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70082         macro.
70083         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70084         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70085         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70086         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70087         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70088         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70089         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70090         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70091         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70092         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70093         * sysdeps/unix/sysv/linux/bits/in.h
70094         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70096 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70098         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70099         (PREPARE_VERSION): Just use assert instead, it will be elided
70100         under [NDEBUG] anyway.
70102 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70104         * sysdeps/unix/sysv/linux/Makefile: Include
70105         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70106         (sysdep_routines): Remove sysctl.
70107         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70108         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70109         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70110         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70111         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70113 2012-05-22  Andreas Jaeger  <aj@suse.de>
70115         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70116         that pseudo_end is just ret and the stack pointer is correct also
70117         for static library in error case.
70119 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70121         [BZ #14122]
70122         * nss/nsswitch.c (defconfig_entries): New variable.
70123         (__nss_database_lookup): Don't leak defconfig entries.
70124         (nss_parse_service_list): Don't leak on error paths.
70125         (free_database_entries): New function.
70126         (free_defconfig): New function.
70127         (free_mem): Move common code to free_database_entries.
70129 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70131         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70132         Add arch_prctl.
70133         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
70135         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
70136         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
70137         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
70138         New macro.
70139         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
70140         (INTERNAL_SYSCALL_TYPES): Likewise.
70141         (LOAD_ARGS_TYPES_[1-6]): Likewise.
70142         (LOAD_REGS_TYPES_[1-6]): Likewise.
70143         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
70144         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
70146 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70148         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
70149         copysignl for GLIBC_2_0.
70150         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
70151         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
70152         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
70153         logbl for GLIBC_2_0.
70154         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
70155         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
70157 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70159         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
70160         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70162         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70163         Use "neg %eax".
70165         * time/mktime.c: Update copyright years.
70167 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
70169         mktime: merge comment-quoting-style change from gnulib
70170         * time/mktime.c: Quote 'like this' in comments.
70171         The GNU coding standards suggest that we no longer quote `like this',
70172         as "`" and "'" are typically rendered asymmetrically nowadays.
70173         The typical gnulib style is to quote 'like this' when quoting
70174         code, and "like this" when quoting English.
70176         * time/mktime.c (compile-command): Add "-I.".
70178         mktime: merge mktime-internal.h change from gnulib
70179         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
70181         mktime: merge time_r change from gnulib
70182         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
70184         mktime: merge DEBUG change from gnulib
70185         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
70186         case system <time.h> has a #define.
70188         mktime: merge <sys/types.h> change from gnulib
70189         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
70190         since <time.t> is now guaranteed to define time_t.
70192         mktime: merge HAVE_CONFIG_H change from gnulib
70193         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
70195 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70197         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70198         Use "neg %eax".
70200         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
70201         __rlim_t cast.
70202         (struct rusage): Use anonymous union to pad each field to
70203         __syscall_slong_t.
70205 2012-05-21  David S. Miller  <davem@davemloft.net>
70207         * Makefules (o-iterator): Remove .s cases.
70208         (compile-command.s): Delete.
70209         (COMPILE.s): Delete.
70210         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
70212 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
70214         * configure.in (libc_cv_predef_stack_protector): Only consider
70215         "foobar" and "__stack_chk_fail" lines in libc_undefs.
70216         * configure: Regenerated.
70218 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
70221         New macro.  Use R*LP on int and pointer.
70222         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
70223         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
70224         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
70225         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
70227         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
70228         [__WORDSIZE_TIME64_COMPAT32] instead of
70229         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
70230         (struct utmp): Likewise.
70231         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
70232         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
70233         Renamed to ...
70234         (__WORDSIZE_TIME64_COMPAT32): This.
70235         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70236         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
70237         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
70238         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
70239         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
70240         (__WORDSIZE_TIME64_COMPAT32): New macro.
70242 2012-05-21  Andreas Jaeger  <aj@suse.de>
70244         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
70245         only if [SHARED]. Add prototype for __wcschr_ia32.
70247 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70249         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
70250         of %rbp unmolested in the jmp_buf while mangling the low bits.
70251         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
70252         unmolested high bits of %rbp while demangling the low bits.
70253         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70255 2012-05-21  Andreas Jaeger  <aj@suse.de>
70257         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
70258         * sunrpc/svc_simple.c: Use it for registerrpc.
70259         * sunrpc/xcrypt.c: Use it for passwd2des.
70261         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
70263 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70265         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
70266         Don't define if [__SYSCALL_WORDSIZE != 32].
70267         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
70268         New macro.
70270 2012-05-21  Bruno Haible  <bruno@clisp.org>
70271             Andreas Jaeger  <aj@suse.de>
70273         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
70274         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
70275         inptr and inend for must_buffer_ch.
70276         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
70277         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
70278         * stdio-common/Makefile (tests): Remove bug15.
70279         (bug15-ENV): Remove macro.
70280         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
70281         anymore.
70283 2012-05-19  Andreas Jaeger  <aj@suse.de>
70284             Roland McGrath  <roland@hack.frob.com>
70286         * manual/contrib.texi: Completely rewritten. It contains now an
70287         alphabetical list of contributors and their contributions.
70289 2012-05-21  Richard Henderson  <rth@twiddle.net>
70291         * misc/getauxval.c (__getauxval): Use unsigned long int.
70292         * misc/sys/auxv.h: Include <sys/cdefs.h>.
70293         (getauxval): Use unsigned long int.
70295 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
70297         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70299 2012-05-21  Roland McGrath  <roland@hack.frob.com>
70301         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
70302         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
70303         __alignof__ (long double).
70305 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70309 2012-05-20  Richard Henderson  <rth@twiddle.net>
70311         * misc/getauxval.c: New file.
70312         * misc/sys/auxv.h: New file.
70313         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
70314         (routines): Add getauxval.
70315         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
70316         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
70317         * elf/dl-sysdep.c (_dl_auxv): Remove.
70318         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
70319         * elf/dl-support.c (_dl_auxv): New variable.
70320         (_dl_aux_init): Initialize it.
70321         * manual/startup.texi (Auxiliary Vector): New node.
70322         * sysdeps/generic/bits/hwcap.h: New file.
70323         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
70324         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
70325         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
70326         * sysdeps/sparc/sysdep.h: ... here.  Include it.
70327         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
70328         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
70329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70330         Update.
70331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
70332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
70333         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
70334         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
70335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70336         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
70337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
70338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
70340 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70344 2012-05-19  David S. Miller  <davem@davemloft.net>
70346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70348 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70350         [BZ #14123]
70351         * math/s_ccosh.c: Include <float.h>
70352         (__ccosh): Avoid internal overflow calculating sinh and cosh
70353         values before multiplying by sin and cos values.
70354         * math/s_ccoshf.c: Likewise.
70355         * math/s_ccoshl.c: Likewise.
70356         * math/s_csin.c: Likewise.
70357         * math/s_csinf.c: Likewise.
70358         * math/s_csinl.c: Likewise.
70359         * math/s_csinh.c: Likewise.
70360         * math/s_csinhf.c: Likewise.
70361         * math/s_csinhl.c: Likewise.
70362         * math/libm-test.inc (ccos_test): Add more tests.
70363         (ccosh_test): Likewise.
70364         (csin_test): Likewise.
70365         (csinh_test): Likewise.
70366         * sysdeps/i386/fpu/libm-test-ulps: Update.
70367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70369 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
70371         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
70372         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
70374         * sysdeps/x86_64/x32/_itoa.h: Add comment.
70376 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
70378         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
70379         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
70380         * sysdeps/powerpc/soft-fp/Versions: Likewise.
70381         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
70382         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
70383         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
70384         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
70385         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
70386         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
70387         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
70388         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
70389         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
70390         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
70391         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
70392         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
70393         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
70394         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
70395         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
70396         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
70397         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
70398         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
70399         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
70400         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
70401         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
70402         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
70403         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
70404         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
70405         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
70406         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
70407         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
70408         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
70410 2012-05-18  Andreas Jaeger  <aj@suse.de>
70412         * csu/.gitignore: Delete.
70414 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70416         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
70417         (timex): Use __syscall_slong_t.
70419 2012-05-18  Andreas Jaeger  <aj@suse.de>
70420             Carlos O'Donell  <carlos_odonell@mentor.com>
70422         * manual/install.texi (Configuring and compiling): Update
70423         description about files modified in the source directory.
70424         * INSTALL: Regenerated.
70426 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70428         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
70429         value.  Use "or" to set return value to -1.
70430         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
70431         negate return value.
70433 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70435         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
70436         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
70437         failure if the compiler has Graphite support disabled.
70438         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
70439         Likewise.
70440         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
70441         (CFLAGS-memmove.c): Likewise.
70442         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
70443         Likewise.
70445 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
70447         * sysdeps/x86_64/x32/_itoa.h: New file.
70449         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
70450         getdents system call only if kernel and user dirents have the
70451         same d_ino and d_off.
70453         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70454         LLONG_MAX != LONG_MAX.
70455         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70456         (_fitoa_word): Likewise.
70458         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
70459         years.
70460         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
70461         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
70462         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
70464         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
70465         include <bits/wordsize.h>.  Check __x86_64__ instead of
70466         __WORDSIZE.
70467         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
70468         if __x86_64__ is defined.  Use anonymous union on fpstate.
70470         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
70471         anonymous union.
70473 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
70475         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
70476         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
70477         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
70478         Refer to _rtld_local_ro instead of _rtld_global_ro.
70479         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
70480         Likewise.
70481         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
70482         Likewise.
70483         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
70484         Likewise.
70485         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
70486         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
70487         of _rtld_global, and rtld_progname instead of _dl_argv[0].
70489         [BZ #10882]
70490         * sysdeps/powerpc/powerpc32/dl-machine.c
70491         (__elf_machine_runtime_setup) [PROF]: Don't reference
70492         _dl_prof_resolve.
70494 2012-05-18  Andreas Jaeger  <aj@suse.de>
70496         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
70497         function only available for GCCs before 3.4 since GCC 3.4
70498         introduced a builtin.
70499         (lrint): Likewise.
70500         (llrintf): Likewise.
70501         (llrint): Likewise.
70502         (fmaxf): Likewise.
70503         (fmax): Likewise.
70504         (fminf): Likewise.
70505         (fmin): Likewise.
70506         (rint): Likewise.
70507         (rintf): Likewise.
70508         (nearbyint): Likewise.
70509         (nearbyintf): Likewise.
70510         (ceil): Likewise.
70511         (ceilf): Likewise.
70512         (floor): Likewise.
70513         (floorf): Likewise.
70515 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70517         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
70518         on both fields and cast pointer to __syscall_ulong_t.
70520         * bits/types.h (__fsword_t): New type.
70521         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
70522         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
70523         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70524         (__FSWORD_T_TYPE): Likewise.
70525         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70526         (__FSWORD_T_TYPE): Likewise.
70527         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70528         (__FSWORD_T_TYPE): Likewise.
70529         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
70530         (__FSWORD_T_TYPE): Likewise.
70531         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
70532         __SWORD_TYPE with __fsword_t.
70533         (statfs64): Likewise.
70535 2012-05-17  David S. Miller  <davem@davemloft.net>
70537         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
70539 2012-05-17  Andreas Jaeger  <aj@suse.de>
70541         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
70542         warning.
70544 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70546         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
70548 2012-05-17  Andreas Jaeger  <aj@suse.de>
70550         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
70551         when it is used.
70553 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70555         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
70557 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70559         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
70560         * sysdeps/x86_64/tst-mallocalign1.c: New file.
70562 2012-05-17  Andreas Jaeger  <aj@suse.de>
70563             Carlos O'Donell  <carlos_odonell@mentor.com>
70565         [BZ #14059]
70566         * sysdeps/x86_64/multiarch/init-arch.h
70567         (bit_YMM_Usable): Rename to...
70568         (bit_AVX_Usable): ... this.
70569         (bit_FMA4_Usable): New macro.
70570         (bit_XMM_state): New macro.
70571         (bit_YMM_state): New macro.
70572         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
70573         [__ASSEMBLER__] (index_AVX_Usable): ... this.
70574         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
70575         (CPUID_OSXSAVE): New macro.
70576         (CPUID_AVX): New macro.
70577         (CPUID_FMA4): New macro.
70578         (index_YMM_Usable): Rename to...
70579         (index_AVX_Usable): ... this.
70580         (HAS_AVX): Use HAS_ARCH_FEATURE.
70581         (HAS_FMA4): Likewise.
70582         (HAS_YMM_USABLE): Remove.
70583         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70584         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
70585         are present.
70586         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
70587         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
70588         * sysdeps/x86_64/multiarch/Makefile: Likewise.
70589         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
70590         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
70592 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
70594         * math/libm-test.c: Support platforms without multiple rounding modes.
70595         * math/bug-nextafter.c: Support platforms without FP exceptions.
70596         * math/bug-nexttoward.c: Likewise.
70597         * math/test-fenv.c: Likewise.
70598         * math/test-misc.c: Likewise.
70599         * stdlib/bug-getcontext.c: Likewise.
70601 2012-05-17  Andreas Jaeger  <aj@suse.de>
70603         * manual/examples/search.c (critter_cmp): Change signature to
70604         avoid warnings.
70605         * manual/string.texi (Collation Functions): Likewise.
70607 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70609         * bits/types.h: Fold copyright years.
70610         * bits/typesizes.h: Likewise.
70611         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
70612         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
70613         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
70614         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
70615         * time/time.h: Likewise.
70617 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
70619         [BZ #208]
70620         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
70621         in instead of returning them.  Return void.
70622         (__libc_mallinfo): Accumulate over all arenas.
70623         (__malloc_stats): Adjust for change in int_mallinfo interface.
70625 2012-05-16  Roland McGrath  <roland@hack.frob.com>
70627         [BZ #10375]
70628         * configure.in (NM): Add AC_CHECK_TOOL for it.
70629         (libc_extra_cflags): New substituted variable.
70630         Check for -fstack-protector being used implicitly.
70631         * configure: Regenerated.
70632         * config.make.in (config-extra-cflags): New variable,
70633         gets @libc_extra_cflags@.
70634         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
70636         [BZ #10375]
70637         * configure.in: Check for _FORTIFY_SOURCE being predefined.
70638         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
70639         * configure: Regenerated.
70640         * config.make.in (CPPUNDEFS): New substituted variable.
70641         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
70642         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
70643         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
70645 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70647         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
70648         (mq_attr): Use __syscall_slong_t.
70650 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70652         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
70653         Check __x86_64__ instead of __WORDSIZE.
70654         (_STAT_VER_LINUX): Likewise.
70655         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
70656         __syscall_ulong_t and __syscall_slong_t.
70657         (stat64): Likewise.
70659 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70661         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
70663 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70665         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
70667 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70669         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
70670         __syscall_ulong_t.
70672         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
70673         include <bits/wordsize.h>.  Check __x86_64__ instead of
70674         __WORDSIZE.
70675         (greg_t): Use "__extension__ long long int" if __x86_64__ is
70676         defined.
70677         (mcontext_t): Replace "unsigned long" with "unsigned long long".
70679         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
70680         include <bits/wordsize.h>.  Check __x86_64__ instead of
70681         __WORDSIZE.
70682         (user_regs_struct): Use "__extension__ unsigned long long"
70683         instead of "unsigned long" if __x86_64__ is defined.
70684         (user): Likewise.  Pad after pointer field if __ILP32__ is
70685         defined.
70687 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
70689         * configure.in (makeinfo): Require version 4.5 or later.  Allow
70690         versions 5 to 9.
70691         * configure: Regenerated.
70692         * manual/install.texi (texinfo): Increase version requirement to
70693         4.5 or later.
70694         * INSTALL: Regenerated.
70696         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
70698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70700         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
70702         * sysdeps/x86_64/x32/ffs.c: New file.
70704         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
70705         __syscall_ulong_t.
70706         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
70707         defined.  Use __syscall_ulong_t.
70708         (shminfo): Use __syscall_ulong_t.
70709         (shm_info): Likewise.
70711         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
70712         __syscall_ulong_t.
70714         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
70715         <bits/wordsize.h>.
70716         (msgqnum_t): Use __syscall_ulong_t.
70717         (msglen_t): Likewise.
70718         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
70719         __syscall_ulong_t.
70721         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
70722         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70724         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
70726         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
70727         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
70729         * sysvipc/sys/msg.h (msgbuf): Replace long int with
70730         __syscall_slong_t.
70732         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
70733         include <bits/wordsize.h>.  Check __x86_64__ instead of
70734         __WORDSIZE.
70736         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
70737         "unsigned long long int" if __x86_64__ is defined.
70738         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
70740         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
70741         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
70742         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
70744         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
70745         <stdint.h>.
70746         (GET_PC): Cast to uintptr_t first.
70747         (GET_FRAME): Likewise.
70748         (GET_STACK): Likewise.
70750         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
70751         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
70752         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
70753         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
70754         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
70755         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
70756         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
70757         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
70758         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
70759         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
70760         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
70761         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
70762         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
70763         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
70764         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
70765         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
70766         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
70767         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
70768         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
70769         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
70770         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
70771         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
70772         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
70773         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
70774         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
70775         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
70776         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
70777         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
70778         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
70780 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
70782         * Makerules (+depfiles): Also collect depfiles from .oS in
70783         $(extra-objs).
70784         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
70785         .oS, $(libnldbl-routines)).
70787         * Makerules (native-compile-mkdep-flags): Define.
70788         * sunrpc/Makefile (extra-objs): Add $(addprefix
70789         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
70790         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
70791         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
70792         calling $(make-target-directory).
70794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70796         * bits/types.h (__snseconds_t): Removed.
70797         * time/time.h (struct timespec): Replace __snseconds_t with
70798         __syscall_slong_t.
70799         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
70800         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
70801         Likewise.
70802         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70803         (__SNSECONDS_T_TYPE): Likewise.
70804         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70805         (__SNSECONDS_T_TYPE): Likewise.
70806         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70807         (__SNSECONDS_T_TYPE): Likewise.
70809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70811         * sysdeps/mach/hurd/bits/typesizes.h
70812         (__SYSCALL_SLONG_TYPE): New macro.
70813         (__SYSCALL_ULONG_TYPE): Likewise.
70815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70817         * bits/types.h (__syscall_slong_t): New type.
70818         (__syscall_ulong_t): Likewise.
70820         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
70821         (__SYSCALL_ULONG_TYPE): Likewise.
70822         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70823         (__SYSCALL_SLONG_TYPE): Likewise.
70824         (__SYSCALL_ULONG_TYPE): Likewise.
70825         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70826         (__SYSCALL_SLONG_TYPE): Likewise.
70827         (__SYSCALL_ULONG_TYPE): Likewise.
70828         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70829         (__SYSCALL_SLONG_TYPE): Likewise.
70830         (__SYSCALL_ULONG_TYPE): Likewise.
70832 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70834         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
70835         Add sigaltstack-offsets.sym.
70836         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
70837         <sigaltstack-offsets.h>.
70838         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
70839         longjmp_msg pointer.
70840         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
70841         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
70842         signal stack.
70843         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
70845 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
70847         * elf/stackguard-macros.h: Remove file.
70848         * sysdeps/generic/stackguard-macros.h: New file.
70849         * sysdeps/i386/stackguard-macros.h: Likewise.
70850         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
70851         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
70852         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
70853         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
70854         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
70855         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
70856         * sysdeps/x86_64/stackguard-macros.h: Likewise.
70857         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
70858         <elf/stackguard-macros.h>.
70860         [BZ #14109]
70861         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
70862         __aligned__ in attribute.
70863         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
70864         (gregset_t): Likewise.
70866 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70868         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
70869         * sysdeps/x86_64/64/Implies-after: Here.  New file.
70870         * sysdeps/x86_64/x32/Implies-after: New file.
70872 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70874         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
70875         and access return value for _dl_profile_fixup.  Use R10_LP to
70876         load frame size.
70878 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70880         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
70882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70884         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
70885         * sysdeps/x86_64/x32/sysdep.h: New file.
70887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70889         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
70890         * sysdeps/x86_64/setjmp.S: Likewise.
70892 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70894         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
70895         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
70896         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
70897         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
70898         remove unused global constant.
70900 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
70902         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
70903         include of <not-cancel.h>.
70905 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70907         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
70909 2012-05-15  Jeff Law  <law@redhat.com>
70910             Andreas Jaeger  <aj@suse.de>
70912         [BZ #13594]
70913         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
70914         out from...
70915         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
70916         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
70917         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
70918         code changing __hst_map_handle.map.
70920 2012-05-15  Roland McGrath  <roland@hack.frob.com>
70922         * configure.in (sysnames): Look for Implies-before and Implies-after
70923         files.
70924         * configure: Regenerated.
70926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70928         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
70929         8-byte data alignment with LP_SIZE alignment.
70931 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70933         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
70934         into R10_LP.
70936 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70938         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
70940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70942         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
70943         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
70944         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
70945         Likewise.
70946         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
70948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70950         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
70951         (stackinfo_sub_sp): Likewise.
70953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70955         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
70956         RAX_LP.
70958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70960         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
70961         into R*_LP.
70963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70965         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
70966         sizes into R*_LP.
70968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70970         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
70972 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70974         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
70975         into R11_LP and load __x86_64_shared_cache_size_half into
70976         R8_LP.
70978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
70980         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
70981         R8_LP.
70983 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70985         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
70986         logb for POWER7.
70987         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
70988         logbf for POWER7.
70989         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
70990         logbl for POWER7.
70991         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
70992         powerpc32/power7/fpu/s_logb.c via #include.
70993         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
70994         powerpc32/power7/fpu/s_logbf.c via #include.
70995         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
70996         powerpc32/power7/fpu/s_logbl.c via #include.
70998 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71000         * README.libm: Remove file.
71002 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71004         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71005         count for x32.  Use R*_LP and omit operand-size suffix.
71007 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71009         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71010         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71011         * sysdeps/x86_64/x32/shlib-versions: New file.
71013 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71015         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71016         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71017         Use _dl_fatal_printf instead.
71019 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71021         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71022         set if not set by the user.  Do not allow for being unset.
71023         * sysdeps/unix/sysv/linux/configure: Regenerated.
71025 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71027         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71028         the `q' suffix from lea and replace .quad with ASM_ADDR.
71030 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71033         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71034         instead of $17.
71035         (PTR_DEMANGLE): Likewise.
71037 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71039         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71040         (LP_OP): Likewise.
71041         (ASM_ADDR): Likewise.
71042         (RAX_LP): Likewise.
71043         (RBP_LP): Likewise.
71044         (RBX_LP): Likewise.
71045         (RCX_LP): Likewise.
71046         (RDI_LP): Likewise.
71047         (RSI_LP): Likewise.
71048         (RSP_LP): Likewise.
71049         (R8_LP): Likewise.
71050         (R9_LP): Likewise.
71051         (R10_LP): Likewise.
71052         (R10_LP): Likewise.
71053         (R11_LP): Likewise.
71054         (R12_LP): Likewise.
71055         (R13_LP): Likewise.
71056         (R14_LP): Likewise.
71057         (R15_LP): Likewise.
71059 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71061         * sysdeps/x86_64/x32/dl-machine.h: New file.
71063 2012-05-14  Andreas Jaeger  <aj@suse.de>
71065         * manual/Makefile (subdir): Remove export of subdir.
71066         (all): Remove target.
71067         (.PHONY): Remove all from list.
71068         (mkinstalldirs): Remove.
71069         (.PHONY): Remove installdirs from list.
71070         ($(inst_infodir)/libc.info): Use make-target-directory.
71071         (installdirs): Remove.
71072         (subdir_%): Remove.
71073         (glibc-targets): Remove.
71074         (lib): Remove.
71075         (stubs): Remove.
71076         ($(objpfx)stubs ../po/manual.pot): Remove.
71077         ($(objpfx)stamp%): Remove.
71078         (make-target-directory): Remove.
71079         (subdir_install): Remove.
71080         (routines): Remove.
71081         (aux): Remove.
71082         (sources): Remove.
71083         (objects): Remove.
71084         (headers): Remove.
71086         [BZ #13750]
71087         * manual/.gitignore: Remove, it's not needed anymore.
71088         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71089         all files in it.
71090         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71091         directory.
71092         (texis): Renamed to $(objpfx)texis.
71093         (texis-path): New, contains path to generated files.
71094         (chapters.%): Use texis-path for complete path, add extra argument
71095         libc-texinfo.sh.
71096         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71097         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71098         (summary,texi, stamp-summary): Use complete path of
71099         files. Generate files in build dir.
71100         (dir-add.texi): Build in build dir.
71101         (libm-err.texi,stamp-libm-err): Likewise.
71102         (version.texi, stamp-version): Likewise.
71103         (.%c.texi): Likewise.
71104         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71105         (mostlyclean): Remove target.
71106         (realclean): Remove target.
71107         (generated): Add new variable with contents from mostlyclean and
71108         realclean, remove entries duplicated in common-mostlyclean, add
71109         stamp-libm-err and stamp-version.
71110         (generated-dirs): Add libc directory.
71111         ($(inst_infodir)/libc.info): Install files from build dir.
71113         * manual/install.texi (Configuring and compiling): Adjust since
71114         the info files are not part of the tar ball anymore.
71116 2012-05-14  Andreas Jaeger  <aj@suse.de>
71118         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71119         variable.
71121 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71123         [BZ #13717]
71124         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71125         to 2.2.0 where earlier.
71126         * sysdeps/unix/sysv/linux/configure: Regenerated.
71127         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71128         Remove conditional code.
71129         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71130         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71131         Remove conditional code.
71132         [!__NR_lchown]: Likewise.
71133         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71134         [__NR_lchown]: Likewise.
71135         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
71136         comment referencing __ASSUME_LCHOWN_SYSCALL.
71137         * sysdeps/unix/sysv/linux/i386/sigaction.c
71138         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71139         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71140         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
71141         Remove conditional code.
71142         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
71143         (__protocol_available): Remove #if 0 code.
71144         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
71145         conditional code.
71146         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
71147         * sysdeps/unix/sysv/linux/kernel-features.h
71148         (__ASSUME_GETCWD_SYSCALL): Don't define.
71149         (__ASSUME_REALTIME_SIGNALS): Likewise.
71150         (__ASSUME_PREAD_SYSCALL): Likewise.
71151         (__ASSUME_PWRITE_SYSCALL): Likewise.
71152         (__ASSUME_POLL_SYSCALL): Likewise.
71153         (__ASSUME_LCHOWN_SYSCALL): Likewise.
71154         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
71155         non-SPARC.
71156         (__ASSUME_SIOCGIFNAME): Don't define.
71157         (__ASSUME_MSG_NOSIGNAL): Likewise.
71158         (__ASSUME_SENDFILE): Define unconditionally.
71159         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
71160         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
71161         conditional code.
71162         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
71163         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
71164         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71165         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71166         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
71167         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
71168         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
71170         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71171         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
71173         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71174         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
71176         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71177         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
71179         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71180         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
71182         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71183         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
71185         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
71186         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
71188         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71189         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
71191         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71192         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71193         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
71194         Remove conditional code.
71195         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71196         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71197         Remove conditional code.
71198         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71199         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
71200         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
71201         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71202         Remove conditional code.
71203         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71204         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
71205         Remove conditional code.
71206         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71207         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
71208         Remove conditional code.
71209         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71210         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
71211         Remove conditional code.
71212         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
71213         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
71214         Remove conditional code.
71215         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71216         * sysdeps/unix/sysv/linux/sh/pwrite64.c
71217         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
71218         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
71219         * sysdeps/unix/sysv/linux/sigaction.c
71220         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71221         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71222         * sysdeps/unix/sysv/linux/sigpending.c
71223         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71224         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71225         * sysdeps/unix/sysv/linux/sigprocmask.c
71226         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71227         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71228         * sysdeps/unix/sysv/linux/sigsuspend.c
71229         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
71230         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
71231         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71232         (__libc_missing_rt_sigs): Remove.
71233         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
71234         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
71235         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
71236         Remove conditional code.
71237         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
71238         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
71239         return 1.
71240         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
71241         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
71242         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
71243         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
71245 2012-05-14  Andreas Jaeger  <aj@suse.de>
71247         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
71248         it's not used in glibc.
71249         (__coshm1): Likewise.
71250         (__acosh1p): Likewise.
71251         (__sgn): Likewise.
71253         * manual/string.texi (Copying and Concatenation): Add missing
71254         variable in concat example.
71255         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
71257 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71259         [BZ #14103]
71260         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
71261         __builtin_clzl with __builtin_clzll.
71263 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71265         [BZ #14104]
71266         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
71267         libc_freeres_ptr.
71269 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71271         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
71272         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
71273         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
71274         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
71276 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
71278         * NEWS: Update ia64 info.
71280 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
71282         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
71283         used as bcopy.
71285 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
71287         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
71288         * sysdeps/unix/syscalls.list (dup3): Likewise.
71289         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
71290         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
71292 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71294         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
71295         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
71297 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
71299         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
71300         thread pointer.
71301         (TLS_IE): Use mov/add instead of movq/addq to load thread
71302         pointer.
71303         (TLS_GD_PREFIX): New.
71304         (TLS_GD): Use it.
71306 2012-05-11  David S. Miller  <davem@davemloft.net>
71308         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
71309         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
71310         (_FPU_SETCW): Likewise.
71312 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71314         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
71315         is 32-byte aligned.
71317 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
71319         [BZ #11837]
71320         * iconvdata/gb18030.c: Update tables.
71321         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
71322         characters specially.
71323         (BODY for TO_LOOP): Add encoding of missing ranges.
71325 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
71327         [BZ #13673]
71328         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
71329         * sysdeps/mach/hurd/dup3.c: Likewise.
71330         * sysdeps/mach/hurd/readlinkat.c: Likewise.
71331         * sysdeps/powerpc/memmove.c:: Likewise.
71333 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71335         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
71336         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
71338 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71340         * elf/elf.h (R_X86_64_RELATIVE64): New.
71341         (R_X86_64_NUM): Updated.
71342         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71343         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
71344         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
71345         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
71346         tst-quad1pie tst-quad2pie
71347         (modules-names): Add tst-quadmod1 tst-quadmod2.
71348         ($(objpfx)tst-quad1): New dependency.
71349         ($(objpfx)tst-quad2): Likewise.
71350         ($(objpfx)tst-quad1pie): Likewise.
71351         ($(objpfx)tst-quad2pie): Likewise.
71352         * sysdeps/x86_64/tst-quad1.c: New file.
71353         * sysdeps/x86_64/tst-quad1pie.c: New file.
71354         * sysdeps/x86_64/tst-quad2.c: Likewise.
71355         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
71356         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
71357         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
71358         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
71359         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
71361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71363         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
71364         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
71365         * streams/stropts.h (t_scalar_t): Define type.
71367         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
71368         (_PATH_PRESERVE): Set to "/var/lib".
71369         (_PATH_RWHODIR): Set to "/var/spool/rwho".
71371         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
71372         instead of int.
71374         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
71375         if __dir_mkfile succeeded.
71377         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
71378         checking for _hurd_dtablesize.  Unlock it right after having
71379         finished _hurd_dtable allocation.
71381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71383         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
71384         * sysdeps/mach/hurd/configure: Regenerated.
71385         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
71386         special-casing to...
71387         * sysdeps/gnu/configure.in: ... this new file.
71388         * sysdeps/unix/sysv/linux/configure: Regenerated.
71389         * sysdeps/gnu/configure: New generated file.
71391         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
71392         for Linux: use nsec instead of usec, as well as:
71393         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
71394         members of type struct timespec.
71395         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
71396         New macros.
71397         (struct stat64): Likewise.
71398         (_STATBUF_ST_NSEC): New macro.
71399         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
71401         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71402         __strtoul_internal rather than strtoul.
71404 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71406         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
71407         and reject them.
71409 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71411         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
71412         which preserves existing values.
71413         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
71415 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71417         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
71418         TIMEOUT values.  Return EINVAL for NFDS values either negative or
71419         greater than FD_SETSIZE.
71421 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71423         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
71424         allocated, call __vm_protect to finish enabling the existing space, and
71425         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
71426         allocate the remainder.
71428 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71430         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
71431         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
71433 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71435         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
71436         sysdeps/mach/hurd/readlink.c.
71438         * posix/tst-sysconf.c (posix_options): Only use
71439         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
71440         _POSIX_SYNCHRONIZED_IO when they are defined
71441         * sysdeps/mach/hurd/bits/posix_opt.h:
71442         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
71443         (_XOPEN_REALTIME): Undefine macro.
71444         (_XOPEN_REALTIME_THREADS): Undefine macro.
71445         (_XOPEN_SHM): Undefine macro.
71446         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
71447         macro to -1.
71448         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
71449         macro to -1.
71450         (_POSIX_ASYNC_IO): Undefine macro.
71451         (_POSIX_PRIORITIZED_IO): Undefine macro.
71452         (_POSIX_SPIN_LOCKS): Define macro to -1.
71454         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
71455         SA_NODEFER, SA_RESETHAND.
71456         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
71457         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
71458         F_DUPFD_CLOEXEC.
71460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71462         * elf/Makefile (pldd-modules): Define unconditionally.
71464 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71466         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
71468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71470         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
71471         Return ENOENT when name is empty.
71472         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
71474 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71476         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
71478         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
71480 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71482         Fix mlock in all cases except non-readable pages.
71483         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
71484         instead of VM_PROT_ALL as parameter to __vm_wire function.
71486         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
71487         (__mkdir): When path is `/', just fail with EEXIST.
71488         * sysdeps/mach/hurd/mkdirat.c: Likewise.
71490 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71492         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
71493         <sys/uio.h> (for writev).
71494         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
71495         and <sys/param.h> (for MIN).
71497 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
71499         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
71500         REQUESTED_TIME.  Properly set the remaining time and return EINTR
71501         if interrupted.
71503 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71505         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
71506         Depend on against $(link-rpcuserlibs).
71508 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71510         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
71511         (__libc_stack_end): Do not use attribute_relro.
71512         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
71513         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
71514         to libthread-provided value.
71515         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
71516         attribute_relro.
71518 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71520         [BZ #3748]
71521         * bits/libc-lock.h (__libc_once_get): New macro.
71522         * sysdeps/mach/bits/libc-lock.h: Likewise.
71523         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
71524         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
71525         instead of using implementation details.
71527         * libio/fileops.c: Unconditionally include <kernel-features.h>.
71528         * libio/freopen.c: Likewise.
71529         * libio/freopen64.c: Likewise.
71530         * misc/syslog.c: Likewise.
71531         * nscd/connections.c: Likewise.
71532         * nscd/netgroupcache.c: Likewise.
71533         * sysdeps/posix/getcwd.c: Likewise.
71535 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71537         * math/w_ilogbf.c: Add #include <limits.h>.
71539 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71541         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
71542         path instead of returning without unlocking.
71544         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
71545         immediate-write ioctls.
71546         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
71548 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71550         * sysdeps/mach/hurd/i386/init-first.c (init): Use
71551         __builtin_frame_address instead of making assumptions about the
71552         location of the return address relative to DATA.  Force early load of
71553         the return address.
71554         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
71555         __builtin_frame_address.
71557         dup3 for GNU Hurd.
71558         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
71559         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
71560         implement dup3 and do some further code clean-ups.
71561         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
71562         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
71564 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71566         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
71568         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
71569         HURD_CRITICAL_END around holding _hurd_dtable_lock.
71570         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
71571         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
71572         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
71573         d->port.lock.
71575         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
71576         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
71577         when handler == SIG_ERR, not when handler != SIG_ERR.
71579 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71581         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
71582         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
71583         definitions.
71585         accept4 for GNU Hurd.
71586         * include/sys/socket.h (__libc_accept4): New prototype.
71587         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
71588         to implement __libc_accept4.
71589         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
71590         __libc_accept4.
71591         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
71593         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
71594         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
71595         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
71596         signal-defines.sym.
71598 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71600         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
71602 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
71604         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
71605         assertion on O_CLOEXEC flag.
71606         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
71607         * hurd/intern-fd.c: Likewise.
71608         * hurd/port2fd.c: Likewise.
71610 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71612         [BZ #3906]
71613         * bits/in.h (IPV6_PKTINFO): Define new macro.
71614         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
71616 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71618         [BZ #13954]
71619         [BZ #13955]
71620         [BZ #13956]
71621         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
71622         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
71623         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
71624         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
71625         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
71626         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
71627         * math/libm-test.inc (logb_test) : Additional logb tests.
71629 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
71630             Andreas Jaeger  <aj@suse.de>
71632         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
71633         * configure: Regenerated.
71634         * config.h.in (LINK_OBSOLETE_RPC): New macro.
71635         * config.make.in (link-obsolete-rpc): New substituted variable.
71636         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
71637         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
71638         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71639         (shared-only-routines): Don't set it under [link-obsolete-rpc],
71640         so that libc.a contains the symbols.
71641         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
71642         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
71643         * sunrpc/auth_none.c: Likewise.
71644         * sunrpc/auth_unix.c: Likewise.
71645         * sunrpc/authdes_prot.c: Likewise.
71646         * sunrpc/authuxprot.c: Likewise.
71647         * sunrpc/clnt_gen.c: Likewise.
71648         * sunrpc/clnt_perr.c: Likewise.
71649         * sunrpc/clnt_raw.c: Likewise.
71650         * sunrpc/clnt_simp.c: Likewise.
71651         * sunrpc/clnt_tcp.c: Likewise.
71652         * sunrpc/clnt_udp.c: Likewise.
71653         * sunrpc/clnt_unix.c: Likewise.
71654         * sunrpc/des_crypt.c: Likewise.
71655         * sunrpc/des_soft.c: Likewise.
71656         * sunrpc/get_myaddr.c: Likewise.
71657         * sunrpc/key_call.c: Likewise.
71658         * sunrpc/key_prot.c: Likewise.
71659         * sunrpc/netname.c: Likewise.
71660         * sunrpc/pm_getmaps.c: Likewise.
71661         * sunrpc/pm_getport.c: Likewise.
71662         * sunrpc/pmap_clnt.c: Likewise.
71663         * sunrpc/pmap_prot.c: Likewise.
71664         * sunrpc/pmap_prot2.c: Likewise.
71665         * sunrpc/pmap_rmt.c: Likewise.
71666         * sunrpc/publickey.c: Likewise.
71667         * sunrpc/rpc_cmsg.c: Likewise.
71668         * sunrpc/rpc_common.c: Likewise.
71669         * sunrpc/rpc_dtable.c: Likewise.
71670         * sunrpc/rpc_prot.c: Likewise.
71671         * sunrpc/rpc_thread.c: Likewise.
71672         * sunrpc/rtime.c: Likewise.
71673         * sunrpc/svc.c: Likewise.
71674         * sunrpc/svc_auth.c: Likewise.
71675         * sunrpc/svc_raw.c: Likewise.
71676         * sunrpc/svc_run.c: Likewise.
71677         * sunrpc/svc_tcp.c: Likewise.
71678         * sunrpc/svc_udp.c: Likewise.
71679         * sunrpc/svc_unix.c: Likewise.
71680         * sunrpc/svcauth_des.c: Likewise.
71681         * sunrpc/xcrypt.c: Likewise.
71682         * sunrpc/xdr.c: Likewise.
71683         * sunrpc/xdr_array.c: Likewise.
71684         * sunrpc/xdr_float.c: Likewise.
71685         * sunrpc/xdr_intXX_t.c: Likewise.
71686         * sunrpc/xdr_mem.c: Likewise.
71687         * sunrpc/xdr_rec.c: Likewise.
71688         * sunrpc/xdr_ref.c: Likewise.
71689         * sunrpc/xdr_sizeof.c: Likewise.
71690         * sunrpc/xdr_stdio.c: Likewise.
71692 2012-05-10  Roland McGrath  <roland@hack.frob.com>
71694         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
71695         change.  Update copyright years.
71697 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71699         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
71701 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
71702             Joseph Myers  <joseph@codesourcery.com>
71703             Paul Pluzhnikov  <ppluzhnikov@google.com>
71705         [BZ #14012]
71706         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
71707         requiring rpcgen.
71708         [cross-compiling] (extra-libs): Likewise.
71709         [cross-compiling] (extra-libs-others): Likewise.
71710         [cross-compiling] (librpcsvc-routines): Likewise.
71711         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
71712         [cross-compiling] (omit-deps): Likewise.
71713         (sunrpc-CPPFLAGS): New variable.
71714         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
71715         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
71716         (cross-rpcgen-objs): New variable.
71717         (extra-objs): Append $(cross-rpcgen-objs).
71718         ($(cross-rpcgen-objs)): New rule.
71719         ($(objpfx)cross-rpcgen): Likewise.
71720         (rpcgen-cmd): Define to use $(built-program-file).  Expand
71721         comment.
71722         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
71723         ($(objpfx)x%.stmp): Likewise.
71724         * sunrpc/proto.h [IS_IN_build] (_): Define.
71725         [IS_IN_build] (_libc_intl_domainname): Likewise.
71727 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
71729         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
71730         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
71731         and R_X86_64_TPOFF64.
71733 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
71735         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
71736         sysdeps/unix/sysv/syscalls.list.
71737         (stime): Likewise.
71738         (utime): Likewise.
71739         * sysdeps/unix/sysv/syscalls.list: Remove file.
71741 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
71743         [BZ #3440]
71744         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
71745         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
71746         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
71747         (__LC_IDENTIFICATION): Make these macros useful in #if
71748         expressions, as required by C99.
71750 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
71752         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
71753         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
71754         after this.
71756 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
71758         * stdlib/longlong.h: Updated from GCC.
71760 2012-05-09  Andreas Jaeger  <aj@suse.de>
71762         * nscd/nscd.c (run_modes): Make named enum, reorder so that
71763         default is first entry.
71764         (run_mode): Set type.
71765         (main): Remove informal message about syslog.
71766         (options): Fix typo.
71768         [BZ #14053]
71769         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
71770         to asm.
71771         (lrint): Likewise.
71772         (llrintf): Likewise.
71773         (llrint): Likewise.
71774         (rint): Likewise.
71775         (rintf): Likewise.
71776         (nearbyint): Likewise.
71777         (nearbyintf): Likewise.
71779 2012-05-09  Andreas Jaeger  <aj@suse.de>
71780             Pedro Alves  <palves@redhat.com>
71782         * nscd/nscd.c (run_mode): Use enum.
71783         (main): Cleanup coding style issue.
71785 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
71786             Andreas Jaeger  <aj@suse.de>
71788         * nscd/nscd.c (go_background): Replaced with...
71789         (run_mode): ... this.
71790         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
71791         (options): Add -F --foreground.
71792         (main): Implement it.
71793         (parse_opt): Parse it.
71795 2012-05-09  Andreas Jaeger  <aj@suse.de>
71797         [BZ #14083]
71798         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
71799         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
71800         -Wconversion warning.
71801         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
71802         Likewise.
71804 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
71806         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
71807         == 0.
71808         (LC_ALL): Use macro-int-constant.
71809         (LC_COLLATE): Likewise.
71810         (LC_CTYPE): Likewise.
71811         (LC_MESSAGES): Likewise.
71812         (LC_MONETARY): Likewise.
71813         (LC_NUMERIC): Likewise.
71814         (LC_TIME): Likewise.
71815         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
71816         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71817         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71818         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
71819         Specify type.
71820         [C99-based standards] (float_t): Expect type.
71821         [C99-based standards] (double_t): Expect type.
71822         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
71823         type.
71824         [C99-based standards] (HUGE_VALL): Likewise.
71825         [C99-based standards] (INFINITY): Likewise.
71826         [C99-based standards] (NAN): Likewise.
71827         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
71828         [C99-based standards] (FP_NAN): Likewise.
71829         [C99-based standards] (FP_NORMAL): Likewise.
71830         [C99-based standards] (FP_SUBNORMAL): Likewise.
71831         [C99-based standards] (FP_ZERO): Likewise.
71832         [C99-based standards] (FP_FAST_FMA): Use
71833         optional-macro-int-constant.  Specify type.  Require == 1.
71834         [C99-based standards] (FP_FAST_FMAF): Likewise.
71835         [C99-based standards] (FP_FAST_FMAL): Likewise.
71836         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
71837         [C99-based standards] (FP_ILOGBNAN): Likewise.
71838         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
71839         Specify type.
71840         [C99-based standards] (MATH_ERREXCEPT): Likewise.
71841         [C99-based standards] (math_errhandling): Specify type.
71842         [ISO99 || ISO11] (signgam): Do not allow.
71843         [non-C99-based standards] (copysignf): Do not allow.
71844         [non-C99-based standards] (exp2f): Likewise.
71845         [non-C99-based standards] (log2f): Likewise.
71846         [non-C99-based standards] (modff): Allow.
71847         [non-C99-based standards] (erff): Do not allow.
71848         [non-C99-based standards] (erfcf): Likewise.
71849         [non-C99-based standards] (gammaf): Likewise.
71850         [non-C99-based standards] (hypotf): Likewise.
71851         [non-C99-based standards] (j0f): Likewise.
71852         [non-C99-based standards] (j1f): Likewise.
71853         [non-C99-based standards] (jnf): Likewise.
71854         [non-C99-based standards] (lgammaf): Likewise.
71855         [non-C99-based standards] (tgammaf): Likewise.
71856         [non-C99-based standards] (y0f): Likewise.
71857         [non-C99-based standards] (y1f): Likewise.
71858         [non-C99-based standards] (ynf): Likewise.
71859         [non-C99-based standards] (isnanf): Likewise.
71860         [non-C99-based standards] (acoshf): Likewise.
71861         [non-C99-based standards] (asinhf): Likewise.
71862         [non-C99-based standards] (atanhf): Likewise.
71863         [non-C99-based standards] (cbrtf): Likewise.
71864         [non-C99-based standards] (expm1f): Likewise.
71865         [non-C99-based standards] (ilogbf): Likewise.
71866         [non-C99-based standards] (log1pf): Likewise.
71867         [non-C99-based standards] (logbf): Likewise.
71868         [non-C99-based standards] (nextafterf): Likewise.
71869         [non-C99-based standards] (remainderf): Likewise.
71870         [non-C99-based standards] (rintf): Likewise.
71871         [non-C99-based standards] (scalbf): Likewise.
71872         [non-C99-based standards] (copysignl): Likewise.
71873         [non-C99-based standards] (exp2l): Likewise.
71874         [non-C99-based standards] (log2l): Likewise.
71875         [non-C99-based standards] (modfl): Allow.
71876         [non-C99-based standards] (erfl): Do not allow.
71877         [non-C99-based standards] (erfcl): Likewise.
71878         [non-C99-based standards] (gammal): Likewise.
71879         [non-C99-based standards] (hypotl): Likewise.
71880         [non-C99-based standards] (j0l): Likewise.
71881         [non-C99-based standards] (j1l): Likewise.
71882         [non-C99-based standards] (jnl): Likewise.
71883         [non-C99-based standards] (lgammal): Likewise.
71884         [non-C99-based standards] (tgammal): Likewise.
71885         [non-C99-based standards] (y0l): Likewise.
71886         [non-C99-based standards] (y1l): Likewise.
71887         [non-C99-based standards] (ynl): Likewise.
71888         [non-C99-based standards] (isnanl): Likewise.
71889         [non-C99-based standards] (acoshl): Likewise.
71890         [non-C99-based standards] (asinhl): Likewise.
71891         [non-C99-based standards] (atanhl): Likewise.
71892         [non-C99-based standards] (cbrtl): Likewise.
71893         [non-C99-based standards] (expm1l): Likewise.
71894         [non-C99-based standards] (ilogbl): Likewise.
71895         [non-C99-based standards] (log1pl): Likewise.
71896         [non-C99-based standards] (logbl): Likewise.
71897         [non-C99-based standards] (nextafterl): Likewise.
71898         [non-C99-based standards] (remainderl): Likewise.
71899         [non-C99-based standards] (rintl): Likewise.
71900         [non-C99-based standards] (scalbl): Likewise.
71901         [ISO || ISO99 || ISO11] (*_t): Do not allow.
71902         [non-C99-based standards] (FP_*): Do not allow.
71903         [C99-based standards] (FP_*): Change to
71904         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
71905         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71906         allow.
71907         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
71908         (SIG_ERR): Likewise.
71909         [X/Open-based standards] (SIG_HOLD): Likewise.
71910         (SIG_IGN): Likewise.
71911         (SIGABRT): Use macro-int-constant.  Specify type.  Require
71912         positive value.
71913         (SIGFPE): Likewise.
71914         (SIGILL): Likewise.
71915         (SIGINT): Likewise.
71916         (SIGSEGV): Likewise.
71917         (SIGTER): Likewise.
71918         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
71919         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
71920         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
71921         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
71922         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
71923         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
71924         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
71925         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
71926         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
71927         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
71928         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
71929         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
71930         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
71931         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
71932         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
71933         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
71934         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
71935         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
71936         [X/Open-based standards] (SIGTRAP): Likewise.
71937         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
71938         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
71939         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
71940         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
71941         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
71942         allow.
71944 2012-05-08  Ian Wienand  <ianw@vmware.com>
71946         [BZ #14080]
71947         * time/tzset.c (__tzset_parse_tz): Update default rules for
71948         daylight time changes in the Energy Policy Act of 2005.
71950 2012-05-09  Andreas Jaeger  <aj@suse.de>
71952         [BZ #13983]
71953         * elf/ldconfig.c (parse_conf): Change string to make clear that
71954         ldconfig only issued a warning if ld.so.conf does not exist.
71956 2012-05-08  David S. Miller  <davem@davemloft.net>
71958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
71959         movxtod instead of popping the value on the stack.
71961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71963 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
71965         * config.h.in: Add HAVE_ARM_PCS_VFP.
71967 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
71969         [BZ #13979]
71970         * include/features.h: Warn if user requests __FORTIFY_SOURCE
71971         checking but the checks are disabled for any reason.
71973 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
71975         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
71976         and ELF64_R_TYPE with ELFW(R_TYPE).
71978 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
71980         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
71981         (ulimit): Likewise.
71983         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
71984         (settimeofday): Likewise.
71986 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
71988         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
71989         a struct th_u2 inside the union, and move tu_block/tu_code into
71990         a new th_u3 union of tu_block/tu_code inside of that.  Move
71991         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
71992         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
71993         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
71994         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
71995         (th_stuff): Change to th_u1.tu_stuff.
71996         (th_data): Define.
71997         (th_msg): Change to th_u1.th_u2.tu_data.
71999 2012-05-07  David S. Miller  <davem@davemloft.net>
72001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72003         [BZ #14074]
72004         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72005         (SETUP_PIC_REG): Use it.
72006         (SETUP_PIC_REG_LEAF): Use it.
72008 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72010         [BZ #13885]
72011         [BZ #13923]
72012         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72013         USE_AS_EXPM1L.
72014         (EXPL_FINITE): Likewise.
72015         (FLDLOG): Likewise.
72016         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72017         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72018         e_expl.S.
72019         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72020         USE_AS_EXPM1L.
72021         (EXPL_FINITE): Likewise.
72022         (FLDLOG): Likewise.
72023         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72024         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72025         e_expl.S.
72026         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72027         test of -max_value argument for long double.
72028         * sysdeps/i386/fpu/libm-test-ulps: Update.
72029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72031 2012-05-06  David S. Miller  <davem@davemloft.net>
72033         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72034         quad soft-float symbols whose references which are compiler
72035         generated.
72036         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72038 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72040         [BZ #13884]
72041         [BZ #13914]
72042         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72043         USE_AS_EXP10L.
72044         (EXPL_FINITE): Likewise.
72045         (FLDLOG): Likewise.
72046         (c0): Likewise.
72047         (c1): Likewise.
72048         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72049         Adjust comments for base varying.
72050         (__expl_finite): Change alias to EXPL_FINITE.
72051         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72052         e_expl.S.
72053         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72054         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72055         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72056         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72057         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72058         USE_AS_EXP10L.
72059         (EXPL_FINITE): Likewise.
72060         (FLDLOG): Likewise.
72061         (c0): Likewise.
72062         (c1): Likewise.
72063         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72064         Adjust comments for base varying.
72065         (__expl_finite): Change alias to EXPL_FINITE.
72066         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72067         tests for bugs.
72068         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72070         [BZ #14064]
72071         * math/libm-test.inc (check_float_internal): Correct ulp
72072         calculation for subnormal expected results.
72074 2012-05-06  Andreas Jaeger  <aj@suse.de>
72076         * Makeconfig (+math-flags): New, set to -frounding-math.
72077         (+cflags): Add +math-flags so that all of glibc gets compiled with
72078         it.
72080         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72082 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72084         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72085         Disable one test.
72087         [BZ #13787]
72088         [BZ #13922]
72089         [BZ #14036]
72090         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72091         (__ieee754_expl): Allow for and saturate large arguments.
72092         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72093         (u_threshold): Likewise.
72094         (__exp): Call __ieee754_exp before checking for overflow and
72095         underflow.
72096         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72097         (u_threshold): Likewise.
72098         (__expf): Call __ieee754_expf before checking for overflow and
72099         underflow.
72100         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72101         (u_threshold): Likewise.
72102         (__expl): Call __ieee754_expl before checking for overflow and
72103         underflow.
72104         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72105         (__ieee754_expl): Allow for and saturate large arguments.
72106         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72107         missing overflow exception on overflow.
72108         (expm1_test): Do not allow missing overflow exception on overflow.
72110         * sysdeps/i386/fpu/e_expl.c: Move to ...
72111         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72112         rather than using inline asm.
72113         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72114         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72115         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72117         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72118         (nice): Likewise.
72119         (poll): Likewise.
72120         (signal): Likewise.
72121         (time): Likewise.
72122         (times): Likewise.
72124 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72126         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72127         sysdeps/unix/common/syscalls.list.
72128         (fchmod): Likewise.
72129         (fchown): Likewise.
72130         (ftruncate): Likewise.
72131         (getrusage): Likewise.
72132         (gettimeofday): Likewise.
72133         (setpgid): Likewise.
72134         (setregid): Likewise.
72135         (setreuid): Likewise.
72136         (sigaction): Likewise.
72137         (truncate): Likewise.
72138         (vhangup): Likewise.
72139         * sysdeps/unix/common/syscalls.list: Remove file.
72140         * sysdeps/unix/bsd/Implies: Don't include unix/common.
72141         * sysdeps/unix/sysv/linux/Implies: Likewise.
72143 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
72145         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
72146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
72147         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
72148         Moved to ...
72149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
72150         Here.
72151         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
72152         to ...
72153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
72154         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
72155         to ...
72156         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
72157         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
72158         to ...
72159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
72160         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
72161         to ...
72162         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
72163         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
72164         to ...
72165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
72166         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
72167         to ...
72168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
72169         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
72170         to ...
72171         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
72172         Here.
72173         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
72174         to ...
72175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
72176         Here.
72177         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
72178         to ...
72179         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
72180         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
72181         Moved to ...
72182         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
72183         Here.
72184         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
72185         to ...
72186         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
72188 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72190         * sysdeps/unix/common/bits/dirent.h: Remove file.
72191         * sysdeps/unix/common/bits/fcntl.h: Likewise.
72193         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
72194         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
72195         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
72196         * sysdeps/unix/bsd/isatty.c: Likewise.
72197         * sysdeps/unix/bsd/tcdrain.c: Likewise.
72198         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
72199         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
72201 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72203         [BZ #13563]
72204         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
72205         long double comparison inaccuracies.
72206         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
72207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72209 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
72211         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
72212         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
72214 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72216         [BZ #14049]
72217         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
72218         nonzero digits before rounding a hex value.
72219         * stdlib/tst-strtod.c (tests): Add another test.
72221 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72223         * sysdeps/s390/fpu/libm-test-ulps: Update.
72225 2012-05-03  Andreas Jaeger  <aj@suse.de>
72227         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
72228         does not get optimized out.
72229         (malloc_opt_barrier): New.
72231 2012-05-03  Andreas Jaeger  <aj@suse.de>
72232             Roland McGrath  <roland@hack.frob.com>
72234         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
72235         intermediate file deletion.
72236         (generated): Add .symlist files.
72238 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
72240         [BZ #13775]
72241         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
72242         Redirect under this condition.
72243         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72244         [__USE_GNU] (__dprintf_chk): Not under this condition.
72245         [__USE_GNU] (__vdprintf_chk): Likewise.
72246         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
72247         under this condition.
72248         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72249         [__USE_XOPEN2K8] (dprintf): Define under this condition.
72250         [__USE_XOPEN2K8] (vdprintf): Likewise.
72251         [__USE_GNU] (__dprintf_chk): Not under this condition.
72252         [__USE_GNU] (__vdprintf_chk): Likewise.
72253         [__USE_GNU] (dprintf): Likewise.
72254         [__USE_GNU] (vdprintf): Likewise.
72256 2012-05-03  Roland McGrath  <roland@hack.frob.com>
72258         * elf/Makefile (common-generated): Set this instead of generated for
72259         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
72260         $(all-built-dso)-derived lists.
72262 2012-05-03  Andreas Jaeger  <aj@suse.de>
72264         * sysdeps/i386/fpu/libm-test-ulps: Update.
72266         * FAQ: Removed.
72267         * FAQ.in: Likewise.
72268         * scripts/gen-FAQ.pl: Likewise.
72269         * manual/install.texi (Installation): Point to online location of
72270         FAQ.
72271         * Makefile (files-for-dist): Remove FAQ.
72272         (FAQ): Remove.
72274 2012-05-02  Allan McRae  <allan@archlinux.org>
72276         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
72277         (LDFLAGS-reldepmod5.so): Likewise.
72278         (LDFLAGS-reldep6mod1.so): Likewise.
72279         (LDFLAGS-reldep6mod4.so): Likewise.
72280         (LDFLAGS-reldep8mod3.so): Likewise.
72281         (LDFLAGS-unload4mod1.so): Likewise.
72282         (LDFLAGS-unload4mod2.so): Likewise.
72283         (LDFLAGS-tst-initorder): Likewise.
72284         (LDFLAGS-tst-initordera2.so): Likewise.
72285         (LDFLAGS-tst-initordera3.so): Likewise.
72286         (LDFLAGS-tst-initordera4.so): Likewise.
72287         (LDFLAGS-tst-initorderb2.so): Likewise.
72288         (LDFLAGS-noload): Likewise.
72289         (LDFLAGS-next): Likewise.
72290         (LDFLAGS-order2mod1.so): Likewise.
72291         (LDFLAGS-order2mod2.so): Likewise.
72292         (LDFLAGS-tst-initorder2): Likewise.
72293         (LDFLAGS-tst-initorder2a.so): Likewise.
72294         (LDFLAGS-tst-initorder2b.so): Likewise.
72295         (LDFLAGS-tst-initorder2c.so): Likewise.
72296         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
72298 2012-05-02  David S. Miller  <davem@davemloft.net>
72300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72302 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
72304         [BZ #14055]
72305         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
72307 2012-05-02  Andreas Jaeger  <aj@suse.de>
72309         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
72310         since we manipulate rounding mode.
72311         (CPPFLAGS-test-idouble.c): Likewise.
72312         (CPPFLAGS-test-ifloat.c): Likewise.
72313         (CFLAGS-test-ldouble.c): Likewise.
72314         (CFLAGS-test-double.c): Likewise.
72315         (CFLAGS-test-float.c): Likewise.
72316         (CFLAGS-test-misc.c): Likewise.
72317         (CFLAGS-test-test-fenv.c): Likewise.
72319 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72321         [BZ #2550]
72322         [BZ #2570]
72323         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
72324         comparisons to determine direction to adjust input.
72326 2012-05-01  Roland McGrath  <roland@hack.frob.com>
72328         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
72329         output to the target.
72331         * scripts/localplt.awk: New file.
72332         * elf/Makefile ($(objpfx)check-localplt): Target removed.
72333         (check-localplt-CFLAGS): Variable removed.
72334         ($(all-built-dso:=.jmprel)): New static pattern rule.
72335         (generated): Add those targets.
72336         (localplt-built-dso): New variable.
72337         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
72339         * elf/check-localplt.c: File removed.
72341         * scripts/check-execstack.awk: New file.
72342         * elf/Makefile ($(objpfx)check-execstack): Target removed.
72343         (check-execstack-CFLAGS): Variable removed.
72344         ($(objpfx)check-execstack.h): Target removed.
72345         ($(objpfx)execstack-default): New target.
72346         (generated): Add that instead of check-execstack.h.
72347         ($(all-built-dso:=.phdr)): New static pattern rule.
72348         (generated): Add those targets.
72349         * elf/check-execstack.c: File removed.
72351         * scripts/check-textrel.awk: New file.
72352         * elf/Makefile ($(objpfx)check-textrel): Target removed.
72353         (check-textrel-CFLAGS): Variable removed.
72354         (all-built-dso): Use := to define.o
72355         ($(all-built-dso:=.dyn)): New static pattern rule.
72356         (generated): Add those targets.
72357         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
72358         * config.make.in (READELF): New substituted variable.
72359         * elf/check-textrel.c: File removed.
72361 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72363         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72364         allow.
72365         * conform/data/ctype.h-data [C99-based standards] (isblank):
72366         Expect function.
72367         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
72368         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
72369         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72370         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
72371         Specify type.  Require positive value.
72372         (EILSEQ): Likewise.
72373         (ERANGE): Likewise.
72374         [ISO || POSIX] (EILSEQ): Do not expect.
72375         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
72376         Specify type.  Require positive value.
72377         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
72378         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
72379         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
72380         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
72381         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
72382         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
72383         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
72384         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
72385         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
72386         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
72387         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
72388         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
72389         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
72390         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
72391         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
72392         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
72393         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
72394         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
72395         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
72396         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
72397         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
72398         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
72399         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
72400         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
72401         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
72402         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
72403         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
72404         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
72405         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
72406         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
72407         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
72408         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
72409         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
72410         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
72411         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
72412         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
72413         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
72414         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
72415         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
72416         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
72417         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
72418         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
72419         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
72420         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
72421         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
72422         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
72423         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
72424         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
72425         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
72426         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
72427         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
72428         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
72429         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
72430         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
72431         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
72432         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
72433         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
72434         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
72435         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
72436         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
72437         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
72438         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
72439         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
72440         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
72441         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
72442         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
72443         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
72444         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
72445         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
72446         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
72447         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
72448         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
72449         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
72450         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
72451         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
72452         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
72453         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
72454         Require >= 2.
72455         (FLT_ROUNDS): Expect as macro, not constant.
72456         (FLT_MANT_DIG): Use macro-int-constant.
72457         (DBL_MANT_DIG): Likewise.
72458         (LDBL_MANT_DIG): Likewise.
72459         (FLT_DIG): Likewise.
72460         (DBL_DIG): Likewise.
72461         (LDBL_DIG): Likewise.
72462         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
72463         (DBL_MIN_EXP): Likewise.
72464         (LDBL_MIN_EXP): Likewise.
72465         (FLT_MAX_EXP): Use macro-int-constant.
72466         (DBL_MAX_EXP): Likewise.
72467         (LDBL_MAX_EXP): Likewise.
72468         (FLT_MAX_10_EXP): Likewise.
72469         (DBL_MAX_10_EXP): Likewise.
72470         (LDBL_MAX_10_EXP): Likewise.
72471         (FLT_MAX): Use macro-constant.
72472         (DBL_MAX): Likewise.
72473         (LDBL_MAX): Likewise.
72474         (FLT_EPSILON): Use macro-constant.  Give upper bound.
72475         (DBL_EPSILON): Likewise.
72476         (LDBL_EPSILON): Likewise.
72477         (FLT_MIN): Likewise.
72478         (DBL_MIN): Likewise.
72479         (LDBL_MIN): Likewise.
72480         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
72481         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
72482         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
72483         [ISO11] (FLT_HAS_SUBNORM): Likewise.
72484         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
72485         [ISO11] (DBL_DECIMAL_DIG): Likewise.
72486         [ISO11] (FLT_DECIMAL_DIG): Likewise.
72487         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
72488         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
72489         [ISO11] (FLT_TRUE_MIN): Likewise.
72490         [ISO11] (LDBL_TRUE_MIN): Likewise.
72491         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72492         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
72493         (SCHAR_MIN): Use macro-int-constant.  Specify type.
72494         (SCHAR_MAX): Likewise.
72495         (UCHAR_MAX): Likewise.
72496         (CHAR_MIN): Likewise.
72497         (CHAR_MAX): Likewise.
72498         (MB_LEN_MAX): Use macro-int-constant.
72499         (SHRT_MIN): Use macro-int-constant.  Specify type.
72500         (SHRT_MAX): Likewise.
72501         (USHRT_MAX): Likewise.
72502         (INT_MAX): Likewise.
72503         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
72504         bound negative.
72505         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72506         bound with "U".
72507         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72508         bound with "L".
72509         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
72510         bound negative.  Suffix upper bound with "L".
72511         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
72512         bound with "UL".
72513         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
72514         Specify type.
72515         [C99-based standards] (LLONG_MAX): Likewise.
72516         [C99-based standards] (ULLONG_MAX): Likewise.
72517         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
72518         == 0.
72519         [ISO11] (max_align_t): Require type.
72520         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72522         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
72523         from $CFLAGS, without defining away __attribute__ calls.
72524         (checknamespace): Use $CFLAGS_namespace.
72526         * conform/conformtest.pl (@keywords): Only include C99 keywords
72527         for standards based on C99 or C11.
72529         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
72530         Disable tests.
72531         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
72532         UNIX98]: Likewise.
72534         * conform/conformtest.pl: Handle "macro-int-constant" and test for
72535         usability of symbols in #if.
72537         * conform/conformtest.pl: If macro or constant types start
72538         "promoted:", expect the symbol to be of the following type
72539         promoted by the integer promotions.
72541         * conform/conformtest.pl: Parse all "constant" and "macro" lines
72542         in one place.  Also handle "macro-constant".
72544         * conform/conformtest.pl: Only accept expected macro values with
72545         "==".  Parse all "macro" lines in one place.
72546         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
72548         * conform/conformtest.pl: Handle braced types on "constant" lines
72549         instead of handling "typed-constant".
72550         * conform/data/signal.h-data: Use "constant" instead of
72551         "typed-constant".
72553         * conform/conformtest.pl: Handle "optional-" at start of lines in
72554         one place rather than duplicating several cases.  Handle each
72555         format of "macro" line with initial "optional-".
72557         * conform/conformtest.pl: Only accept expected constant or
72558         optional-constant values with "==".  Parse all "constant" lines in
72559         one place.  Parse all "optional-constant" lines in one place.
72560         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
72561         * conform/data/fmtmsg.h-data: Likewise.
72562         * conform/data/netinet/in.h-data: Likewise.
72563         * conform/data/tar.h-data: Likewise.
72564         * conform/data/limits.h-data: Use "==" form on "constant" and
72565         "optional-constant" lines.
72567         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
72568         Use -std=c99 for XOPEN2K.
72569         (@knownproblems): Remove.
72570         (newtoken): Don't check %isknown.
72572         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
72573         Do not expect macro.
72574         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
72575         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
72576         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
72577         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
72578         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
72579         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
72580         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
72581         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
72582         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
72583         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
72584         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
72585         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
72586         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
72587         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
72588         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
72589         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
72590         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
72591         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
72592         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
72593         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
72594         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
72595         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
72596         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
72597         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
72598         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
72599         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
72600         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
72601         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
72602         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
72603         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
72604         [XPG3] (acosh): Likewise.
72605         [XPG3] (asinh): Likewise.
72606         [XPG3] (atanh): Likewise.
72607         [XPG3] (cbrt): Likewise.
72608         [XPG3] (expm1): Likewise.
72609         [XPG3] (ilogb): Likewise.
72610         [XPG3] (log1p): Likewise.
72611         [XPG3] (logb): Likewise.
72612         [XPG3] (nextafter): Likewise.
72613         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
72614         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
72615         [XPG3] (remainder): Likewise.
72616         [XPG3] (rint): Likewise.
72617         [XPG3 || XPG4 || UNIX98] (round): Likewise.
72618         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
72619         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
72620         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
72621         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
72622         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
72623         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
72624         [UNIX98 || XOPEN2K] (scalb): Expect.
72625         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
72626         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
72627         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
72628         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
72629         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
72630         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
72631         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
72632         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
72633         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
72634         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
72635         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
72636         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
72637         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
72638         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
72639         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
72640         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
72641         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
72642         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
72643         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
72644         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
72645         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
72646         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
72647         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
72648         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
72649         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
72650         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
72651         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
72652         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
72653         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
72654         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
72655         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
72656         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
72657         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
72658         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
72659         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
72660         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
72661         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
72662         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
72663         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
72664         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
72665         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
72666         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
72667         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
72668         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
72669         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
72670         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
72671         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
72672         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
72673         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
72674         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
72675         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
72676         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
72677         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
72678         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
72679         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
72680         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
72681         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
72682         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
72683         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
72684         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
72685         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
72686         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
72687         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
72688         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
72689         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
72690         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
72691         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
72692         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
72693         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
72694         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
72695         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
72696         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
72697         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
72698         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
72699         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
72700         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
72701         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
72702         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
72703         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
72704         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
72705         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
72706         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
72707         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
72708         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
72709         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
72710         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
72711         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
72712         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
72713         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
72714         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
72715         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
72716         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
72717         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
72718         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
72719         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
72720         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
72721         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
72722         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
72723         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
72724         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
72725         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
72726         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
72727         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
72728         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
72729         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
72730         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
72731         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
72732         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
72733         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
72734         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
72735         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
72736         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
72737         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
72738         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
72739         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
72740         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
72741         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
72742         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
72743         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
72744         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
72745         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
72746         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
72747         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
72748         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
72749         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
72750         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
72751         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
72752         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
72753         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
72754         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
72755         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
72756         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
72757         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
72758         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
72759         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
72760         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
72761         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
72763         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
72764         _XOPEN_SOURCE_EXTENDED for XPG4.
72766         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
72768         * Makeconfig (localtime): Remove variable.
72769         (inst_localtime-file): Likewise.
72771 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
72774         Update.
72775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72776         Update.
72777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
72778         Update.
72779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
72780         Update.
72781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
72782         Update.
72783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
72784         Update.
72785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72786         Update.
72787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
72788         Update.
72789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
72790         Update.
72792 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
72794         [BZ #2550]
72795         [BZ #2570]
72796         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
72797         comparisons to determine direction to adjust input.
72798         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
72799         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
72800         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
72801         Likewise.
72802         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
72803         Likewise.
72804         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
72805         Likewise.
72806         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
72807         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
72808         Likewise.
72809         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
72810         Likewise.
72811         * math/libm-test.inc (nexttoward_test): Add more tests.
72813 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
72815         [BZ #14040]
72816         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
72817         in version GLIBC_2.1, not GLIBC_2.0.
72818         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
72819         Likewise.
72821 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
72823         [BZ #13942]
72824         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
72825         (1 - x) * (1 + x).
72826         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72827         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
72828         * math/libm-test.inc (acos_test): Add more tests.
72829         (asin_test): Likewise.
72830         * sysdeps/i386/fpu/libm-test-ulps: Update.
72831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72833         [BZ #14034]
72834         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
72835         of square root.
72836         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
72837         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
72838         * math/libm-test.inc (acos_test_tonearest): New function.
72839         (acos_test_towardzero): Likewise.
72840         (acos_test_downward): Likewise.
72841         (acos_test_upward): Likewise.
72842         (asin_test_tonearest): Likewise.
72843         (asin_test_towardzero): Likewise.
72844         (asin_test_downward): Likewise.
72845         (asin_test_upward): Likewise.
72846         (main): Call the new functions.
72847         * sysdeps/i386/fpu/libm-test-ulps: Update.
72848         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72850         [BZ #13884]
72851         [BZ #13924]
72852         * math/e_exp10.c: Include <float.h>.
72853         (__ieee754_exp10): Handle underflow here rather than multiplying
72854         large negative argument by M_LN10.
72855         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
72856         of __ieee754_expf.
72857         * math/e_exp10l.c: Include <float.h>.
72858         (__ieee754_exp10l): Handle underflow here rather than multiplying
72859         large negative argument by M_LN10l.
72860         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
72861         spurious overflow exception on underflow.
72863 2012-04-29  Marek Polacek  <polacek@redhat.com>
72865         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
72866         (__fortify_function): New macro.
72867         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
72868         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
72869         __extern_always_inline.
72870         * libio/bits/stdio2.h: Likewise.
72871         * libio/bits/stdio.h: Likewise.
72872         * string/string.h: Likewise.
72873         * string/bits/string3.h: Likewise.
72874         * include/stdio.h: Likewise.
72875         * stdlib/bits/stdlib.h: Likewise.
72876         * stdlib/stdlib.h: Likewise.
72877         * rt/bits/mqueue2.h: Likewise.
72878         * rt/mqueue.h: Likewise.
72879         * posix/bits/unistd.h: Likewise.
72880         * posix/unistd.h: Likewise.
72881         * io/bits/poll2.h: Likewise.
72882         * io/bits/fcntl2.h: Likewise.
72883         * io/fcntl.h: Likewise.
72884         * io/sys/poll.h: Likewise.
72885         * misc/bits/syslog.h: Likewise.
72886         * misc/bits/syslog-ldbl.h: Likewise.
72887         * misc/sys/syslog.h: Likewise.
72888         * socket/bits/socket2.h: Likewise.
72889         * socket/sys/socket.h: Likewise.
72890         * debug/tst-chk1.c: Likewise.
72891         * wcsmbs/bits/wchar2.h: Likewise.
72892         * wcsmbs/bits/wchar-ldbl.h: Likewise.
72893         * wcsmbs/wchar.h: Likewise.
72895 2012-04-29  Andreas Jaeger  <aj@suse.de>
72897         * Makerules (tests): Remove enable-check-abi protection.
72898         (check-abi-warn): Remove.
72899         (check-abi-%): Remove check-abi-warn usage.
72901         * configure.in: Remove check-abi configure option.
72902         * configure: Regenerated.
72903         * config.make.in (enable-check-abi): Remove.
72905 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
72907         [BZ #14033]
72908         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
72909         double functions to double *_finite functions.
72911         [BZ #13941]
72912         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
72913         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
72914         LDBL_MIN_EXP.
72915         * stdio-common/Makefile (tests): Add tst-sprintf3.
72916         * stdio-common/tst-sprintf3.c: New file.
72918         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
72919         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
72921 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
72923         * conform/conformtest.pl: Remove duplicate typed-constant
72924         handling.
72926 2012-04-28  David S. Miller  <davem@davemloft.net>
72928         * Makerules (%.abilist): Add vpath on sysdep_dirs.
72929         (check-abi-%): Remove AWK script prerequisite and explicit
72930         abilist directory.
72931         (check-abi): Rewrite to just diff the symlist with the abilist.
72932         (config-tls, config-abi-config): Delete, no longer used.
72933         (update-abi-%): Remove AWK script and explicit abilist directory.
72934         (update-abi): Rewrite to simply compare and conditionally copy the
72935         symlist and the sysdep abilist file.  Remove update-abi-config
72936         checks.
72937         * abilist/ld.abilist: Remove.
72938         * abilist/libBrokenLocale.abilist: Remove.
72939         * abilist/libanl.abilist: Remove.
72940         * abilist/libcrypt.abilist: Remove.
72941         * abilist/libdl.abilist: Remove.
72942         * abilist/librt.abilist: Remove.
72943         * abilist/libthread_db.abilist: Remove.
72944         * abilist/libutil.abilist: Remove.
72945         * scripts/extract-abilist.awk: Remove.
72946         * scripts/merge-abilist.awk: Remove.
72947         * sysdeps/generic/libcidn.abilist: New file.
72948         * sysdeps/generic/libnss_compat.abilist: New file.
72949         * sysdeps/generic/libnss_db.abilist: New file.
72950         * sysdeps/generic/libnss_dns.abilist: New file.
72951         * sysdeps/generic/libnss_files.abilist: New file.
72952         * sysdeps/generic/libnss_hesiod.abilist: New file.
72953         * sysdeps/generic/libnss_nis.abilist: New file.
72954         * sysdeps/generic/libnss_nisplus.abilist: New file.
72955         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
72956         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
72957         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
72958         file.
72959         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
72960         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
72961         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
72962         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
72963         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
72964         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
72965         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
72966         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
72967         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
72968         file.
72969         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
72970         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
72971         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
72972         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
72973         file.
72974         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
72975         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
72976         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
72977         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
72978         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
72979         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
72980         file.
72981         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
72982         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
72983         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
72984         file.
72985         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
72986         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
72987         New file.
72988         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
72989         New file.
72990         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
72991         New file.
72992         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
72993         New file.
72994         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
72995         New file.
72996         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
72997         New file.
72998         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
72999         New file.
73000         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73001         New file.
73002         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73003         New file.
73004         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73005         New file.
73006         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73007         New file.
73008         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73009         New file.
73010         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73011         New file.
73012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73013         file.
73014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73015         New file.
73016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73017         New file.
73018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73019         file.
73020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73021         New file.
73022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73023         New file.
73024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73025         file.
73026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73027         New file.
73028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73029         New file.
73030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73031         New file.
73032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73033         New file.
73034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73035         New file.
73036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73037         New file.
73038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73039         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73040         file.
73041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73042         New file.
73043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73044         file.
73045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73046         file.
73047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73048         file.
73049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73050         file.
73051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73052         file.
73053         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73054         New file.
73055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73056         file.
73057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73058         file.
73059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73060         New file.
73061         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73062         file.
73063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73064         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73065         file.
73066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73067         New file.
73068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73069         file.
73070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73071         file.
73072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73073         file.
73074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73075         file.
73076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73077         file.
73078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73079         New file.
73080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73081         file.
73082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73083         file.
73084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73085         New file.
73086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73087         file.
73088         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73089         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73090         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73091         file.
73092         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73093         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73094         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73095         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73096         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73097         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73098         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73099         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73100         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73101         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73103         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73104         file.
73105         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73106         New file.
73107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73108         file.
73109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73110         file.
73111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73112         file.
73113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73114         file.
73115         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73116         file.
73117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73118         New file.
73119         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73120         New file.
73121         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73122         file.
73123         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73124         New file.
73125         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73126         file.
73127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73129         file.
73130         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73131         New file.
73132         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73133         file.
73134         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
73135         file.
73136         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
73137         file.
73138         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
73139         file.
73140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
73141         file.
73142         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
73143         New file.
73144         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
73145         New file.
73146         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
73147         file.
73148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
73149         New file.
73150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
73151         file.
73153 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73155         * conform/conformtest.pl: Fix typo in handling typed-constant from
73156         allow-header.
73158 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73160         * README: Cut down references to pre-2.6 Linux kernels and
73161         Linuxthreads.  Update lists of configurations in libc and ports
73162         and sort alphabetically.  Say "or newer" with Linux kernel version
73163         requirements.
73165         * config.h.in [IS_IN_build]: Allow compiling without optimization.
73167 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
73169         [BZ #887]
73170         * math/libm-test.inc (logb_test_downward): New test to expose
73171         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
73172         rounding mode.
73174 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
73176         [BZ #14027]
73177         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
73178         to be done.
73179         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
73180         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
73182 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
73184         * sysdeps/unix/i386/brk.S: Remove file.
73185         * sysdeps/unix/i386/dl-brk.S: Likewise.
73186         * sysdeps/unix/i386/pipe.S: Likewise.
73187         * sysdeps/unix/i386/sigreturn.S: Likewise.
73188         * sysdeps/unix/i386/syscall.S: Likewise.
73189         * sysdeps/unix/i386/vfork.S: Likewise.
73190         * sysdeps/unix/i386/wait.S: Likewise.
73192         * sysdeps/unix/common/tcsendbrk.c: Move to ...
73193         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
73195         * configure.in (arm*-none*): Do not allow without
73196         --enable-hacker-mode.
73197         (netbsd*): Remove case setting base_os.
73198         (386bsd*): Likewise.
73199         (freebsd*): Likewise.
73200         (bsdi*): Likewise.
73201         (osf*): Likewise.
73202         (sunos*): Likewise.
73203         (ultrix*): Likewise.
73204         (newsos*): Likewise.
73205         (dynix*): Likewise.
73206         (*bsd*): Likewise.
73207         (sysv*): Likewise.
73208         (isc*): Likewise.
73209         (esix*): Likewise.
73210         (sco*): Likewise.
73211         (minix*): Likewise.
73212         (irix4*): Likewise.
73213         (irix6*): Likewise.
73214         (solaris[2-9]*): Likewise.
73215         (none): Likewise.
73216         * configure: Regenerated.
73218 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73220         [BZ #11521]
73221         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
73222         overflow or cancellation in calculating denominator.
73223         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
73224         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
73225         down expression to avoid unexpected rounding in newer GCCs.
73226         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
73228 2012-04-26  David S. Miller  <davem@davemloft.net>
73230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
73231         long-double compat symbols.
73232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
73236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
73238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
73239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
73240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
73241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
73242         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
73243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
73244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73246 2012-04-25  David S. Miller  <davem@davemloft.net>
73248         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
73249         HWCAP_* values only after the memory barriers have been defined.
73250         (atomic_full_barrier): Define.
73251         (atomic_read_barrier): Define.
73252         (atomic_write_barrier): Define.
73254 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73256         * shlib-versions: Add libgcc_s version information.
73257         * sysdeps/generic/libgcc_s.h: Remove.
73258         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
73259         libgcc_s.h.
73260         * sysdeps/gnu/unwind-resume.c: Likewise.
73261         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
73263 2012-04-25  David S. Miller  <davem@davemloft.net>
73265         * sysdeps/unix/sparc/brk.S: Delete.
73266         * sysdeps/unix/sparc/dl-brk.S: Delete.
73267         * sysdeps/unix/sparc/pipe.S: Delete.
73268         * sysdeps/unix/sparc/sysdep.S: Delete.
73269         * sysdeps/unix/sparc/sysdep.h: Delete.
73270         * sysdeps/unix/sparc/vfork.S: Delete.
73271         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
73272         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
73273         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
73274         (ret_ERRVAL, r0, r1, MOVE): Define.
73275         (JUMPTARGET): Remove.
73276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
73277         sysdeps/unix/sparc/sysdep.h
73278         (ENTRY, END): Remove.
73279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73281 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
73283         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
73284         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
73285         -DIS_IN_build.
73287         * timezone/README: Update upstream location and email address for
73288         tzcode and tzdata.
73289         * timezone/zdump.c: Update from tzcode 2012b.
73290         * timezone/zic.c: Likewise.
73292         * configure.in (libc_cv_as_needed): Remove test.
73293         * configure: Regenerated.
73294         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
73295         conditional definition.
73296         [$(have-as-needed) != yes] (no-as-needed): Likewise.
73297         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
73298         * config.make.in (have-as-needed): Remove variable.
73300 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73301             Paul Pluzhnikov  <ppluzhnikov@google.com>
73303         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
73304         strings correctly.
73306 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
73308         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
73309         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
73310         * sysdeps/sh/strlen.S: Likewise.
73312 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73314         * sysdeps/unix/fork.S: Remove file.
73315         * sysdeps/unix/i386/fork.S: Likewise.
73316         * sysdeps/unix/sparc/fork.S: Likewise.
73318         * sysdeps/unix/system.c: Remove file.
73319         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
73321         * sysdeps/unix/getegid.S: Remove file.
73322         * sysdeps/unix/geteuid.S: Likewise.
73324 2012-04-24  Roland McGrath  <roland@hack.frob.com>
73326         * scripts/check-localplt.awk: New file.
73327         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
73328         of diff.
73329         * scripts/data/localplt-generic.data: Add a comment.
73331         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
73332         NODE when __dir_mkfile failed.
73333         * sysdeps/mach/hurd/symlinkat.c: Likewise.
73334         Reported by Ludovic Courtès <ludo@gnu.org>.
73336 2012-04-24  Andreas Jaeger  <aj@suse.de>
73338         * Makerules (common-clean): Also remove gen-as-const-headers
73339         files.
73341 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73343         * Makerules (native-compile): Do not change working directory for
73344         build.  Use $(OUTPUT_OPTION) in command.
73345         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
73347 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73349         [BZ #13886]
73350         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
73351         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
73352         * math/libm-test.inc (floor_test): Add more tests.
73353         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
73355 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
73357         * sysdeps/unix/getdents.c: Remove file.
73358         * sysdeps/unix/sysv/getdents.c: Likewise.
73359         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
73361         * sysdeps/unix/syscalls.list (madvise): Add syscall from
73362         sysdeps/unix/mman/syscalls.list.
73363         (mmap): Likewise.
73364         (mprotect): Likewise.
73365         (msync): Likewise.
73366         (munmap): Likewise.
73367         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
73368         * sysdeps/unix/mman/syscalls.list: Remove.
73369         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
73371         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
73372         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
73373         * configure: Regenerated.
73374         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
73375         $(libgcc_s_suffix).
73376         * config.make.in (libgcc_s_suffix): Remove variable.
73378 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
73380         * sysdeps/unix/sysv/gethostname.c: Move to ...
73381         * sysdeps/posix/gethostname.c: ... here.
73383         * sysdeps/unix/execve.S: Remove file.
73385         * sysdeps/unix/_exit.S: Remove file.
73387 2012-04-23  Andreas Jaeger  <aj@suse.de>
73389         [BZ #13739]
73390         * manual/Makefile: Remove make dist support, there's no
73391         need for a stand-alone documentation tar ball.
73392         (TEXI2DVI): Define always, it's not in Makeconfig.
73393         (dist): Removed.
73394         (tar-it): Removed.
73395         (edition): Removed.
73396         (glibc-doc-$(edition).tar): Removed
73397         (%.Z): Removed.
73398         (%.gz): Removed.
73399         (%.uu): Removed.
73400         (ETAGS): Remove, it's in Makeconfig.
73401         (move-if-change): Remove, it's in Makeconfig.
73403 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
73405         [BZ #13970]
73406         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
73407         (strtod, strtof, strtold, strtol, strtoul, strtoq)
73408         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
73409         (strtod_l, strtof_l, strtold_l): Remove __wur.
73410         It is not necessarily an error to ignore strtol's return value.
73411         One can reliably look at the stored endptr to decide whether
73412         the number had valid syntax.
73414 2012-04-21  Andreas Jaeger  <aj@suse.de>
73416         [BZ #13739]
73417         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
73419 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
73421         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
73422         * sysdeps/unix/sysv/Versions: Remove file.
73424 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
73426         [BZ #13927]
73427         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73429 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
73431         [BZ #7064]
73432         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
73433         version from __vm86.
73435 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
73437         * sysdeps/unix/common/lxstat.c: Remove file.
73438         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
73440         * sysdeps/unix/sysv/Makefile: Remove file.
73442         * sysdeps/unix/sysv/direct.h: Remove file.
73444         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
73445         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
73446         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
73447         * sysdeps/unix/sysv/bits/signum.h: Likewise.
73448         * sysdeps/unix/sysv/bits/stat.h: Likewise.
73449         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
73450         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
73452         * sysdeps/unix/sysv/setrlimit.c: Remove file.
73454         * sysdeps/unix/xmknod.c: Remove file.
73455         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
73457         * sysdeps/unix/sysv/settimeofday.c: Remove file.
73459         * sysdeps/unix/sysv/i386/time.S: Remove file.
73461         * sysdeps/unix/fxstat.c: Remove file.
73462         * sysdeps/unix/xstat.c: Likewise.
73463         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
73465         * sysdeps/unix/sysv/sigaction.c: Remove file.
73467         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
73468         (sysdep_headers): Remove variable.
73469         [termio.h not in sysdep_headers] (generated): Likewise.
73470         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
73471         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
73472         * sysdeps/unix/sysv/tcdrain.c: Likewise.
73473         * sysdeps/unix/sysv/tcflow.c: Likewise.
73474         * sysdeps/unix/sysv/tcflush.c: Likewise.
73475         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
73476         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
73477         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
73478         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
73479         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
73481         * sysdeps/unix/siglist.c: Remove file.
73483         * sysdeps/unix/getppid.S: Remove file.
73485         * sysdeps/unix/mkdir.c: Remove file.
73486         * sysdeps/unix/rmdir.c: Likewise.
73488 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
73490         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
73491         ERR_MAX value.
73492         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
73493         errlist-compat value.
73495 2012-04-18  David S. Miller  <davem@davemloft.net>
73497         * sysdeps/generic/memcopy.h (reg_char): Delete.
73498         * debug/strcat_chk.c: Use char, not reg_char.
73499         * debug/strcpy_chk.c: Likewise.
73500         * debug/strncat_chk.c: Likewise.
73501         * debug/strncpy_chk.c: Likewise.
73502         * string/memchr.c: Likewise.
73503         * string/memrchr.c: Likewise.
73504         * string/rawmemchr.c: Likewise.
73505         * string/strcat.c: Likewise.
73506         * string/strchr.c: Likewise.
73507         * string/strchrnul.c: Likewise.
73508         * string/strcmp.c: Likewise.
73509         * string/strcpy.c: Likewise.
73510         * string/strncat.c: Likewise.
73511         * string/strncmp.c: Likewise.
73512         * string/strncpy.c: Likewise.
73514 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73516         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
73517         __builtin_memcopy is called when src and dest ranges are known to not
73518         overlap.
73520 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73522         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
73523         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
73524         fwd_align_merge macro call.
73525         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
73526         bwd_align_merge macro call.
73527         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73529 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
73531         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
73532         bwd_align_merge macros.
73533         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
73534         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
73535         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
73537 2012-04-18  David S. Miller  <davem@davemloft.net>
73539         * sysdeps/sparc/sparc64/memcopy.h: Delete.
73541 2012-04-18  Andreas Jaeger  <aj@suse.de>
73543         [BZ# 6794]
73544         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
73545         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
73546         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73548         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
73549         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
73550         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73552         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
73553         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
73554         Adjust for changed ldbl-128 files.
73556         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
73557         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
73558         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73560 2012-04-17  David S. Miller  <davem@davemloft.net>
73562         * sysdeps/sparc/sparc32/memcopy.h: Delete.
73564 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
73566         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73567         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
73568         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
73569         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
73570         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
73571         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
73573 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73575         [BZ #6794]
73576         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
73577         * math/libm-test.inc: Add ilogb errno and exception tests.
73578         * math/w_ilogb.c: New file: ilogb wrapper.
73579         * math/w_ilogbf.c: New file: ilogbf wrapper.
73580         * math/w_ilogbl.c: New file: ilogbl wrapper.
73581         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
73582         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
73583         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
73584         exception being thrown with 0.0 as argument.
73585         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
73586         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
73587         exception being thrown with 0.0 as argument.
73588         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
73589         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73590         exception being thrown with 0.0 as argument.
73591         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
73592         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
73593         exception being thrown with 0.0 as argument.
73594         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
73595         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
73596         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
73597         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
73598         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
73599         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
73600         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73601         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
73602         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
73604 2012-04-17  Petr Baudis  <pasky@ucw.cz>
73606         * include/sys/uio.h: Change __vector to __iovec to avoid clash
73607         with altivec.
73609 2012-04-16  Marek Polacek  <polacek@redhat.com>
73611         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
73613 2012-04-16  Marek Polacek  <polacek@redhat.com>
73615         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
73616         operands of fdivp instruction.
73618 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73620         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
73621         * elf/tst-auditmod3b.c: Likewise.
73622         * elf/tst-auditmod4b.c: Likewise.
73623         * elf/tst-auditmod5b.c: Likewise.
73624         * elf/tst-auditmod6b.c: Likewise.
73625         * elf/tst-auditmod6c.c: Likewise.
73626         * elf/tst-auditmod7b.c: Likewise.
73627         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
73628         * sysdeps/x86_64/preconfigure.in: Likewise.
73629         * sysdeps/x86_64/preconfigure: Regenerated.
73631 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
73633         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
73634         __ILP32__.
73636 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
73638         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73639         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
73641 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
73643         [BZ #13973]
73644         * locale/iso-639.def: Fix gl language name. Spotted by
73645         Yaron Shahrabani.
73647 2012-04-12  Roland McGrath  <roland@hack.frob.com>
73649         [BZ #2074]
73650         * libio/libio.h (__io_write_fn): Update comment.
73652 2012-04-12  Petr Baudis  <pasky@ucw.cz>
73654         [BZ #2074]
73655         * stdio.texi (Hook Functions): The user provided writer function
73656         is not allowed to return -1.
73658 2012-04-11  David S. Miller  <davem@davemloft.net>
73660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73662 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
73664         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
73665         Add a leading slash to rtkaio.
73667 2012-04-11  Jim Meyering  <meyering@redhat.com>
73669         [BZ #11959]
73670         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
73671         It is not necessarily an error to ignore fwrite's return
73672         value.  One can reliably use ferror to test for errors after
73673         the fact.
73675 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73677         * bits/types.h (__snseconds_t): New type.
73678         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
73680         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
73681         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73682         (__SNSECONDS_T_TYPE): Likewise.
73683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73684         (__SNSECONDS_T_TYPE): Likewise.
73685         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73686         (__SNSECONDS_T_TYPE): Likewise.
73688 2012-04-10  Andreas Jaeger  <aj@suse.de>
73690         [BZ #2636]
73691         * manual/time.texi (Processor Time): Return type of times is
73692         elapsed real time since an arbitrary point in the past.
73693         (CPU Time): Move CLK_TCK from here...
73694         (Processor Time): ...to here.  Correct description.
73695         * manual/conf.texi (Constants for Sysconf): Correct description of
73696         _SC_CLK_TCK.
73698 2012-04-10  David S. Miller  <davem@davemloft.net>
73700         [BZ #13967]
73701         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
73702         where the is a gap between DT_REL(A) and DT_JMPREL.
73704 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
73706         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
73707         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73708         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73710 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
73712         * elf/dl-support.c (_dl_inhibit_cache): New variable.
73713         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
73714         (dl_main): Handle --inhibit-cache.
73715         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
73716         _dl_inhibit_cache.
73717         * elf/dl-load.c (_dl_map_object): Use it.
73718         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73720 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73722         [BZ #13872]
73723         * sysdeps/i386/fpu/e_powl.S (p78): New object.
73724         (__ieee754_powl): Saturate large exponents rather than testing for
73725         overflow of y*log2(x).
73726         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73727         * math/libm-test.inc (pow_test): Do not permit spurious overflow
73728         exceptions.
73730         [BZ #11521]
73731         * math/s_ctan.c: Include <float.h>.
73732         (__ctan): Avoid internal overflow or cancellation in calculating
73733         denominator.
73734         * math/s_ctanf.c: Likewise.
73735         * math/s_ctanl.c: Likewise.
73736         * math/s_ctanh.c: Likewise.
73737         * math/s_ctanhf.c: Likewise.
73738         * math/s_ctanhl.c: Likewise.
73739         * math/libm-test.inc (ctan_test): Add more tests.
73740         (ctanh_test): Likewise.
73741         * sysdeps/i386/fpu/libm-test-ulps: Update.
73742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73744 2012-04-09  Andreas Jaeger  <aj@suse.de>
73746         [BZ #6894]
73747         * manual/filesys.texi (Directory Entries): Mention that d_namlen
73748         is an optional BSD extension.
73750         [BZ #10254]
73751         * manual/stdio.texi (Opening Streams): Document additional fopen
73752         parameters.
73754 2012-04-09  Roland McGrath  <roland@hack.frob.com>
73756         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
73757         %eax without telling the compiler.
73759 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
73761         [BZ # 13963]
73762         * manual/install.texi: Use sourceware.org.
73764 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
73766         [BZ #13873]
73767         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
73768         (__ieee754_pow): Generate overflow and underflow using huge*huge
73769         and tiny*tiny rather than just returning constant infinity or zero
73770         for large exponents.
73771         * math/libm-test.inc (pow_test): Require overflow exceptions for
73772         applicable cases of large exponents.
73774         [BZ #706]
73775         * sysdeps/i386/fpu/e_pow.S (p10): New object.
73776         (__ieee754_pow): Use iterative multiplication algorithm only for
73777         integer exponents with absolute value below 1024.  Check for odd
73778         integer exponents when using algorithm for real exponents.
73779         * math/libm-test.inc (pow_test): Add more tests.
73780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73782 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
73784         [BZ #13705]
73785         * math/libm-test.inc (exp_test): Do not allow overflow exception
73786         on underflow test.
73788 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
73790         [BZ #13705]
73791         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
73792         instead of __kernel_standard_f.
73794 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
73796         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
73797         * sysdeps/x86_64/memset_chk.S: Likewise.
73799 2012-04-08  Andreas Jaeger  <aj@suse.de>
73801         [BZ #10153]
73802         * manual/startup.texi (Environment Access): Describe return value
73803         for putenv and setenv.
73805         [BZ #6895]
73806         * manual/filesys.texi (Directory Entries): Add description for
73807         DT_LNK.
73809         [BZ #6890]
73810         * manual/filesys.texi (Directory Entries): Clarify that it's file
73811         system not operating system in the description of DT_UNKNOWN.
73813         [BZ #6578]
73814         * manual/syslog.texi (closelog): Fix reference, it's openlog.
73816 2012-04-08  Stephen Compall  <s11@member.fsf.org>
73818         [BZ #6649]
73819         * manual/llio.texi (Opening and Closing Files): Add cross
73820         reference to explain mode argument.
73822 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
73824         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
73825         * sysdeps/x86_64/memset_chk.S: Likewise.
73827 2012-04-07  David S. Miller  <davem@davemloft.net>
73829         * elf/elf.h (R_SPARC_WDISP10): Define.
73830         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
73831         R_SPARC_SIZE32.
73832         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
73833         R_SPARC_SIZE64 and R_SPARC_H34.
73835 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
73837         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
73838         conditions and remove no longer applicable assertion.
73840 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73842         * bits/byteswap.h: Include <features.h>.
73843         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
73844         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
73846 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
73848         * bits/byteswap.h (__bswap_16): Removed.
73849         Include <bits/byteswap-16.h> to get __bswap_16.
73850         * sysdeps/i386/bits/byteswap.h: Likewise.
73851         * sysdeps/s390/bits/byteswap.h: Likewise.
73852         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73853         * bits/byteswap-16.h: New file.
73854         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73855         * sysdeps/s390/bits/byteswap-16.h: Likewise.
73856         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
73857         * string/Makefile (headers): Add bits/byteswap-16.h.
73859 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73861         [BZ #13895]
73862         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
73863         extra indirection.
73864         * nss/Makefile (tests-static, tests): Add tst-nss-static.
73865         * nss/tst-nss-static.c: New.
73867 2012-04-06  Robert Millan  <rmh@gnu.org>
73869         [BZ #6486]
73870         * manual/llio.texi (File Position Primitive): lseek
73871         refers to WHENCE when it really means OFFSET.
73873 2012-04-06  Andreas Jaeger  <aj@suse.de>
73875         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
73876         strncmp declarations.
73878         * abilist/libc.abilist: Add __poll and __ppoll.
73880 2012-04-05  David S. Miller  <davem@davemloft.net>
73882         * scripts/check-local-headers.sh: Accept a host triplet in the
73883         path matched by the exclude regexp.
73885         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
73886         definition.
73887         * sysdeps/powerpc/powerpc32/dl-machine.h
73888         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
73889         * sysdeps/s390/s390-32/dl-machine.h
73890         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73891         * sysdeps/sparc/sparc32/dl-machine.h
73892         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73893         * sysdeps/sparc/sparc64/dl-machine.h
73894         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
73896         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
73897         lazy binding.
73898         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
73899         undefined symbol errors.
73901         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
73902         DT_NEEDED entries.
73904 2012-04-05  Michael Matz  <matz@suse.de>
73906         [BZ #13592]
73907         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
73909 2012-04-05  Andreas Jaeger  <aj@suse.de>
73911         [BZ #13908]
73912         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
73913         comment.
73915 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73917         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
73918         which ROUND is no valid rounding mode.
73920 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73922         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
73923         read again.
73924         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
73926 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73928         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
73929         an exception using FPU order intentionally.
73931 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
73933         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
73934         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
73935         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
73936         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
73938 2012-04-05  Simon Josefsson  <simon@josefsson.org>
73940         [BZ #12340]
73941         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
73942         EINVAL when BUFLEN is too smal.
73944 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
73946         [BZ #13553]
73947         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
73948         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
73950 2012-04-03  Andreas Jaeger  <aj@suse.de>
73952         [BZ #13938]
73953         * manual/setjmp.texi (System V contexts): Fix sentence.
73955         [BZ #13926]
73956         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
73957         New macro for this case.
73958         [!__GNUC__] (__bswap_64): New inline function for this case.
73959         * sysdeps/x86_64/bits/byteswap.h: Likewise.
73960         * bits/byteswap.h: Likewise.
73961         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
73962         ull, guard with __GLIBC_HAVE_LONG_LONG.
73964         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
73965         __GLIBC_HAVE_LONG_LONG.
73967         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
73968         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
73970 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
73972         [BZ #13691]
73973         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
73974         inptr and inend, rather than using last_ch.
73976 2012-04-02  David S. Miller  <davem@davemloft.net>
73978         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
73979         * stdio-common/printf-parse.h (read_int): Change return type to
73980         'int', return -1 on INT_MAX overflow.
73981         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
73982         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
73983         overflows INT_MAX.  Check for overflow of in-format-string precision
73984         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
73985         SIZE_MAX not INT_MAX for integer overflow test.
73986         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
73987         skip the construct in the format string but do not record anything.
73988         * stdio-common/bug22.c: Adjust to test both width/prevision
73989         INT_MAX overflow as well as total length INT_MAX overflow.  Check
73990         explicitly for proper errno values.
73992 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
73994         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
73995         CHAR_MAX.
73996         * string/test-strcmp.c [! WIDE]: Likewise.
73997         * time/tst-mktime2.c: Likewise for INT_MAX.
73998         * string/test-string.h: #include <sys/param.h> for MIN.
74000         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74001         * sysdeps/i386/init-first.c (init): Likewise.
74002         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74003         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74004         * sysdeps/sh/init-first.c (init): Likewise.
74006 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74008         * po/ru.po: Update from translation team.
74009         * po/vi.po: Likewise.
74011 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74013         * resolv/nss_dns/dns-host.c: Merge copyright years.
74015 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74017         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74018         Optimize memcpy with prefetch if
74019         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74020         src, dst pointers have unequal 16 byte alignments.
74022 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74024         [BZ #13928]
74025         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74026         from a CNAME entry and return the minimum ttl for the query.
74027         (gaih_getanswer_slice): Likewise.
74029 2012-03-30  Jeff Law  <law@redhat.com>
74031         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74032         due to long keys.
74033         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74034         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74036         * resolv/nss_dns/dns-host.c: Update copyright year.
74038 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74040         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74041         requests to save a system call.  Fix check that all bytes are sent.
74043         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74044         comments for sendmmsg.
74046 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74048         [BZ #13691]
74049         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74050         with only 1 character between 0x0041 and 0x01b0.
74051         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74052         * wcsmbs/tst-mbsnrtowcs.c: New file.
74054 2012-03-29  David S. Miller  <davem@davemloft.net>
74056         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74057         small copies by hand.
74059 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74061         [BZ #13761]
74062         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74063         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74064         group memberships.
74066 2012-03-28  David S. Miller  <davem@davemloft.net>
74068         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74069         that branches into memcpy.
74070         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74071         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74072         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74073         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74074         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74075         bits.
74076         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74077         implementation too.
74078         * sysdeps/sparc/mempcpy.S: New file.
74080         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74081         the IFUNC routine in the libc case.
74082         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74084         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74085         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74086         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74087         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74088         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74089         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74090         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74091         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74093         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74094         loop to 256 bytes instead of 64 bytes and fix test signedness.
74096         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74097         * sysdeps/sparc/sparc32/Makefile: rather than here...
74098         * sysdeps/sparc/sparc64/Makefile: and here.
74100 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74102         * malloc/mallocbug.c: Avoid warnings about unused variables.
74104 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74106         [BZ #13760]
74107         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74108         in the right place. Discard and retry query if response is
74109         larger than input buffer size.
74111 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74113         [BZ #369]
74114         [BZ #2678]
74115         [BZ #3866]
74116         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74117         x for large integer exponent.
74118         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74119         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74120         sign of result as needed afterwards.
74121         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74122         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74123         result for underflowing pow the same as for overflow.
74124         (__kernel_standard_l): Handle powl overflow and underflow here
74125         rather than calling __kernel_standard.
74126         * math/libm-test.inc (pow_test): Add more tests.
74128         [BZ #3868]
74129         [BZ #13879]
74130         [BZ #13910]
74131         [BZ #13911]
74132         [BZ #13912]
74133         [BZ #13913]
74134         [BZ #13915]
74135         [BZ #13916]
74136         [BZ #13917]
74137         [BZ #13918]
74138         [BZ #13919]
74139         [BZ #13920]
74140         [BZ #13921]
74141         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
74142         * sysdeps/ieee754/k_standard.c: Include <float.h>.
74143         (__kernel_standard_l): New function.
74144         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
74145         __kernel_standard.
74146         * math/w_acosl.c (__acosl): Likewise.
74147         * math/w_asinl.c (__asinl): Likewise.
74148         * math/w_atan2l.c (__atan2l): Likewise.
74149         * math/w_atanhl.c (__atanhl): Likewise.
74150         * math/w_coshl.c (__coshl): Likewise.
74151         * math/w_exp10l.c (__exp10l): Likewise.
74152         * math/w_exp2l.c (__exp2l): Likewise.
74153         * math/w_fmodl.c (__fmodl): Likewise.
74154         * math/w_hypotl.c (__hypotl): Likewise.
74155         * math/w_j0l.c (__j0l, __y0l): Likewise.
74156         * math/w_j1l.c (__j1l, __y1l): Likewise.
74157         * math/w_jnl.c (__jnl, __ynl): Likewise.
74158         * math/w_lgammal.c (__lgammal): Likewise.
74159         * math/w_log10l.c (__log10l): Likewise.
74160         * math/w_log2l.c (__log2l): Likewise.
74161         * math/w_logl.c (__logl): Likewise.
74162         * math/w_powl.c (__powl): Likewise.
74163         * math/w_remainderl.c (__remainderl): Likewise.
74164         * math/w_scalbl.c (sysv_scalbl): Likewise.
74165         * math/w_sinhl.c (__sinhl): Likewise.
74166         * math/w_sqrtl.c (__sqrtl): Likewise.
74167         * math/w_tgammal.c (__tgammal): Likewise.
74168         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
74169         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
74170         * math/libm-test.inc (acos_test): Add more tests.
74171         (acosh_test): Likewise.
74172         (asin_test): Likewise.
74173         (atanh_test): Likewise.
74174         (exp_test): Likewise.
74175         (exp10_test): Likewise.
74176         (exp2_test): Likewise.
74177         (expm1_test): Likewise.
74178         (lgamma_test): Likewise.
74179         (log_test): Likewise.
74180         (log10_test): Likewise.
74181         (log1p_test): Likewise.
74182         (log2_test): Likewise.
74183         (pow_test): Do not allow some spurious overflow exceptions.
74184         (sqrt_test): Add more tests.
74185         (tgamma_test): Likewise.
74186         (y0_test): Likewise.
74187         (y1_test): Likewise.
74188         (yn_test): Likewise.
74190 2012-03-27  Anton Blanchard  <anton@samba.org>
74192         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
74193         MAP_HUGETLB.
74194         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74195         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74196         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74198 2012-03-27  David S. Miller  <davem@davemloft.net>
74200         * conform/Makefile: Run run-conformtest.sh using $(BASH).
74202         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
74203         have-as-vis3 check.
74205 2012-03-27  Andreas Jaeger  <aj@suse.de>
74207         * sysdeps/x86_64/elf/configure.in: Moved to ...
74208         * sysdeps/x86_64/configure.in: ... here.
74209         * sysdeps/x86_64/elf/start.S: Moved to ...
74210         * sysdeps/x86_64/start.S: ... here.
74211         * sysdeps/x86_64/elf/configure: Delete.
74213         * sysdeps/x86_64/configure.in: Merge contents from
74214         sysdeps/i386/configure.in (without i686 check).
74216         * sysdeps/i386/elf/Versions: Merge into ...
74217         * sysdeps/i386/Versions: ... this.
74218         * sysdeps/i386/elf/Versions: Delete file.
74219         * sysdeps/i386/elf/start.S: Moved to ...
74220         * sysdeps/i386/start.S: ...here.
74221         * sysdeps/i386/elf/configure.in: Merge into...
74222         * sysdeps/i386/configure.in: ...here.
74223         * sysdeps/i386/elf/configure.in: Delete file.
74224         * sysdeps/i386/elf/configure: Delete file.
74226         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
74227         * debug/backtracesyms.c: ... here.
74228         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
74229         * debug/backtracesymsfd.c: ... here.
74230         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
74231         * sysdeps/generic/ifunc-sel.h: ... here.
74233         * sysdeps/unix/i386/start.c: Delete file.
74234         * sysdeps/unix/sparc/start.c: Delete file.
74235         * sysdeps/unix/start.c: Delete file.
74237         * sysdeps/sh/elf/configure.in: Moved to ...
74238         * sysdeps/sh/configure.in: ... here.
74239         * sysdeps/sh/elf/start.S: Moved to ...
74240         * sysdeps/sh/start.S: ... here.
74241         * sysdeps/sh/elf/configure: Delete file.
74243         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
74244         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
74245         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
74246         * sysdeps/powerpc/powerpc64/entry.h: ... here.
74247         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
74248         * sysdeps/powerpc/powerpc64/start.S: here.
74249         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
74250         * sysdeps/powerpc/powerpc64/Makefile: ... this.
74251         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
74252         * sysdeps/powerpc/powerpc64/configure.in: ... this.
74253         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
74255         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
74256         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
74257         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
74258         * sysdeps/powerpc/powerpc32/start.S: ... here.
74259         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
74260         * sysdeps/powerpc/powerpc32/configure.in: ... this.
74261         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
74263         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
74264         * sysdeps/powerpc/ifunc-sel.h: ... here.
74265         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
74266         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
74268         * sysdeps/sparc/elf/configure.in: Moved to ...
74269         * sysdeps/sparc/configure.in: ... here.
74270         * sysdeps/sparc/elf/configure: Delete file.
74271         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
74272         * sysdeps/sparc/sparc32/start.S: ... here.
74273         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
74274         * sysdeps/sparc/sparc64/start.S: ... here.
74275         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
74276         * sysdeps/sparc/sparc32/Makefile: ... this.
74277         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
74278         * sysdeps/sparc/sparc64/Makefile: ... this.
74280         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
74281         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
74282         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
74283         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
74284         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
74285         * sysdeps/s390/s390-32/setjmp.S: ... here.
74286         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
74287         * sysdeps/s390/s390-32/configure.in: ... here.
74288         * sysdeps/s390/s390-32/elf/configure: Delete file.
74289         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
74290         * sysdeps/s390/s390-32/start.S: ... here.
74292         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
74293         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
74294         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
74295         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
74296         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
74297         * sysdeps/s390/s390-64/setjmp.S: ... here.
74298         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
74299         * sysdeps/s390/s390-64/configure.in: ... here
74300         * sysdeps/s390/s390-64/elf/configure: Delete file.
74301         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
74302         * sysdeps/s390/s390-64/start.S: ... here.
74303         * sysdeps/s390/s390-64/elf/configure: Delete.
74305         * configure.in: Remove support for elf directories in sysdeps.
74307         * configure: Regenerated.
74308         * sysdeps/i386/configure: Regenerated.
74309         * sysdeps/powerpc/powerpc32/configure: Regenerated.
74310         * sysdeps/powerpc/powerpc64/configure: Regenerated.
74311         * sysdeps/s390/s390-32/configure: Regenerated.
74312         * sysdeps/s390/s390-64/configure: Regenerated.
74313         * sysdeps/sh/configure: Regenerated.
74314         * sysdeps/sparc/configure: Regenerated.
74315         * sysdeps/x86_64/configure: Regenerated.
74317 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
74319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74321         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
74322         denormal result into account.
74324 2012-03-25  Roland McGrath  <roland@hack.frob.com>
74326         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
74327         Reported by Allan McRae <allan@archlinux.org>.
74329 2012-03-23  Jeff Law  <law@redhat.com>
74331         * nss/getnssent.c (__nss_getent): Fix typo.
74333 2012-03-23  David S. Miller  <davem@davemloft.net>
74335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74337 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
74339         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
74340         to pad to uint64_t for each field.
74341         (dl_tls_index): Replace unsigned long with uint64_t.
74343 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
74344         Paul Pluzhnikov  <ppluzhnikov@google.com>
74346         [BZ #6528]
74347         * grp/Makefile (otherlibs): Don't set it.
74348         * inet/Makefile (otherlibs): Likewise.
74349         * login/Makefile (otherlibs): Likewise.
74350         * nscd/Makefile (otherlibs): Likewise.
74351         * posix/Makefile (otherlibs): Likewise.
74352         * pwd/Makefile (otherlibs): Likewise.
74353         * rt/Makefile (otherlibs): Likewise.
74354         * sunrpc/Makefile (otherlibs): Likewise.
74355         * nss/Makefile (otherlibs): Likewise.
74356         Add libnss_files to routines and static-only-routines.
74357         ($(objpfx)getent): Remove rule.
74358         * resolv/Makefile: Add libnss_dns and libresolv to routines and
74359         static-only-routines.
74361 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74363         [BZ #13892]
74364         * math/s_cexp.c: Include <float.h>.
74365         (__cexp): Handle exp result overflowing not necessarily
74366         overflowing both real and imaginary parts of result.
74367         * math/s_cexpf.c: Likewise.
74368         * math/s_cexpl.c: Likewise.
74369         * math/libm-test.inc (cexp_test): Add more tests.
74370         * sysdeps/i386/fpu/libm-test-ulps: Update.
74371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74373 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74375         * include/link.h (ELFW): New macro.
74376         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
74377         Replace ELF64_R_TYPE with ELFW(R_TYPE).
74379 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74381         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
74382         with uint64_t.
74384 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74386         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
74387         declaration.
74388         (struct La_x32_retval): Likewise.
74390 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
74392         * sysdeps/x86_64/preconfigure.in: New file.
74393         * sysdeps/x86_64/preconfigure: New generated file.
74395 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
74397         [BZ #13824]
74398         * math/e_exp2l.c: Include <float.h>.
74399         (__ieee754_exp2l): Handle overflow and underflow cases
74400         separately.  Only pass fractional part of argument to
74401         __ieee754_expl.
74402         * math/libm-test.inc (exp2_test): Add more tests.
74404         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
74405         negating x to take absolute value.
74406         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
74407         Likewise.
74408         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
74409         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
74410         Likewise.
74411         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
74412         computing low part if x was negated.
74413         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
74415 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74417         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
74418         la_x32_gnu_pltexit.
74419         (pltexit): Cast int_retval to ptrdiff_t.
74420         * elf/tst-auditmod3b.c: Likewise.
74421         * elf/tst-auditmod4b.c: Likewise.
74422         * elf/tst-auditmod5b.c: Likewise.
74423         * elf/tst-auditmod6b.c: Likewise.
74424         * elf/tst-auditmod6c.c: Likewise.
74425         * elf/tst-auditmod7b.c: Likewise.
74427         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
74428         and x32_gnu_pltexit.
74430         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
74431         __ELF_NATIVE_CLASS.
74432         (La_x32_regs): New macro.
74433         (La_x32_retval): Likewise.
74434         (la_x32_gnu_pltenter): New function prototype.
74435         (la_x32_gnu_pltexit): Likewise.
74437 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
74439         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
74440         exponent.
74442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74444         * configure.in (libc_cv_cc_nofma): Check for option to disable
74445         generation of FMA instructions.
74446         * configure: Regenerate.
74447         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
74448         * sysdeps/ieee754/dbl-64/Makefile: New file.
74449         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
74450         Remove brandred-fma4.
74451         (CFLAGS-brandred-fma4.c): Remove.
74452         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
74453         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
74454         define.
74455         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
74456         define.
74458 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74460         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74461         LLONG_MAX != LONG_MAX.
74462         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74463         (_fitoa_word): Likewise.
74464         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
74465         LLONG_MAX != LONG_MAX.
74466         * stdio-common/_itowa.h: Include <_itoa.h>.
74467         (_itowa_word): Use _ITOA_WORD_TYPE on value.
74468         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
74469         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
74470         only if not defined.
74471         (_ITOA_WORD_TYPE): Likewise.
74472         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74473         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
74475 2012-03-21  David S. Miller  <davem@davemloft.net>
74477         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74479 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
74481         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
74482         of x86_64 when setting libc_cv_slibdir, libdir and
74483         libc_cv_localedir.
74484         * sysdeps/unix/sysv/linux/configure: Regenerated.
74486 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74488         * manual/lang.texi (Old Varargs): Remove section.
74489         (How Variadic): Update menu.
74490         (va_start): Do not mention varargs.h.
74492 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74493             Joseph Myers  <joseph@codesourcery.com>
74495         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
74496         link test.
74497         * configure: Regenerated.
74499 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
74501         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
74502         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
74503         conformtest.pl
74505 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74507         * NOTES: Remove.
74508         * Makefile (files-for-dist): Remove NOTES.
74509         (NOTES): Remove rule.
74510         * README: Don't refer to NOTES.
74511         * manual/creature.texi: Don't include macros.texi.
74512         * manual/intro.texi (creature.texi): Remove comment referring to
74513         NOTES.
74515         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
74516         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
74517         * configure: Regenerated.
74518         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
74519         LIBC_TRY_CC_OPTION.
74520         (libc_cv_as_i686): Likewise.
74521         (libc_cv_cc_avx): Likewise.
74522         (libc_cv_cc_sse2avx): Likewise.
74523         (libc_cv_cc_fma4): Likewise.
74524         (libc_cv_cc_novzeroupper): Likewise.
74525         * sysdeps/i386/configure: Regenerated.
74527         [BZ #13883]
74528         * sysdeps/i386/fpu/s_cexp.S: Remove.
74529         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
74530         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
74531         * math/libm-test.inc (cexp_test): Add more tests.
74532         * sysdeps/i386/fpu/libm-test-ulps: Update.
74533         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74535 2012-03-21  Allan McRae  <allan@archlinux.org>
74537         * timezone/Makefile: Do not install iso3166.tab and zone.tab
74539 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
74541         [BZ #13871]
74542         * math/w_exp2.c: Do not include <float.h>.
74543         (o_threshold, u_threshold): Remove.
74544         (__exp2): Calculate result before checking finiteness and calling
74545         __kernel_standard.
74546         * math/w_exp2f.c: Likewise.
74547         * math/w_exp2l.c: Likewise.
74548         * math/libm-test.inc (exp2_test): Require overflow exception for
74549         1e6 input.
74551         [BZ #3866]
74552         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
74553         range of signed 64-bit integers before using fistpll.  Remove
74554         checks for whether integers fit in mantissa bits.
74555         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
74556         the range of signed 32-bit integers before using fistpl.  Remove
74557         checks for whether integers fit in mantissa bits.
74558         * sysdeps/i386/fpu/e_powl.S (p64): New object.
74559         (__ieee754_powl): Test for y outside the range of signed 64-bit
74560         integers before using fistpll.  Reduce 64-bit values to 63-bit
74561         ones as needed.
74562         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
74563         divide-by-zero is raised for zero to large negative powers.
74564         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
74565         (__ieee754_powl): Test for y outside the range of signed 64-bit
74566         integers before using fistpll.  Reduce 64-bit values to 63-bit
74567         ones as needed.
74568         * math/libm-test.inc (pow_test): Add more tests.
74570 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74572         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
74573         <stdio-common/_itoa.h>.
74574         * debug/segfault.c: Likewise.
74575         * elf/dl-cache.c: Likewise.
74576         * elf/dl-minimal.c: Likewise.
74577         * elf/dl-misc.c: Likewise.
74578         * elf/dl-sysdep.c: Likewise.
74579         * elf/dl-version.c: Likewise.
74580         * elf/rtld.c: Likewise.
74581         * hurd/hurdsock.c: Likewise.
74582         * hurd/lookup-retry.c: Likewise.
74583         * malloc/malloc.c: Likewise.
74584         * malloc/mtrace.c: Likewise.
74585         * nscd/nscd_getgr_r.c: Likewise.
74586         * nscd/nscd_getpw_r.c: Likewise.
74587         * nscd/nscd_getserv_r.c: Likewise.
74588         * posix/getopt_init.c: Likewise.
74589         * posix/wordexp.c: Likewise.
74590         * stdio-common/_itoa.c: Likewise.
74591         * stdio-common/printf_fphex.c: Likewise.
74592         * stdio-common/vfprintf.c: Likewise.
74593         * string/_strerror.c: Likewise.
74594         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
74595         * sysdeps/i386/i686/hp-timing.h: Likewise.
74596         * sysdeps/mach/_strerror.c: Likewise.
74597         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
74598         * sysdeps/mach/hurd/sethostid.c: Likewise.
74599         * sysdeps/mach/hurd/xmknodat.c: Likewise.
74600         * sysdeps/mach/xpg-strerror.c: Likewise.
74601         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
74602         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
74603         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
74604         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
74605         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
74606         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
74607         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
74608         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
74609         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
74610         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
74611         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
74612         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
74613         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
74614         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
74615         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
74616         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
74617         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
74618         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
74619         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
74620         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
74621         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
74623         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
74625         * stdio-common/_itoa.h: Moved to ...
74626         * sysdeps/generic/_itoa.h: Here.
74628         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
74630         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
74631         instead of "_itoa.h" and "_itowa.h".
74632         * stdio-common/vfprintf.: Likewise.
74634 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74636         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
74637         <bits/wordsize.h>.
74638         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
74639         (__signbit): Likewise.
74640         (llrintf): Likewise.
74641         (llrint): Likewise.
74643 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
74645         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
74646         __WORDSIZE != 64.
74648 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
74650         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
74651         OVERFLOW_EXCEPTION_OK.
74652         * math/libm-test.inc ("Philosophy"): Update comment about
74653         exception testing.
74654         (OVERFLOW_EXCEPTION): Define.
74655         (OVERFLOW_EXCEPTION_OK): Likewise.
74656         (INVALID_EXCEPTION_OK): Renumber.
74657         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
74658         (IGNORE_ZERO_INF_SIGN): Likewise.
74659         (test_exceptions): Handle FE_OVERFLOW.
74660         (exp10_test): Expect overflow exceptions.
74661         (exp2_test): Likewise.
74662         (expm1_test): Likewise.
74663         (nextafter_test): Likewise.
74664         (pow_test): Likewise.
74665         (scalbn_test): Likewise.
74666         (scalbln_test): Likewise.
74668 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74670         * sysdeps/x86_64/bits/atomic.h
74671         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
74672         64bit integer.
74673         (atomic_exchange_acq): Likewise.
74674         (__arch_exchange_and_add_body): Likewise.
74675         (__arch_add_body): Likewise.
74676         (atomic_add_negative): Likewise.
74677         (atomic_add_zero): Likewise.
74679 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74681         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
74682         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
74684 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74686         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
74687         Check __x86_64__ instead of __WORDSIZE.
74689 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74691         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
74693 2012-03-19  David S. Miller  <davem@davemloft.net>
74695         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74697         * sysdeps/sparc/fpu/fenv_private.h: New file.
74698         * sysdeps/sparc/fpu/math_private.h: Use it.
74699         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
74700         Remove.
74701         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
74702         (libc_feholdexcept_setroundl): Remove.
74703         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
74704         Remove.
74705         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
74706         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
74708 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74710         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
74711         int64_t instead of long int.
74712         (INSERT_WORDS64): Likewise.
74714 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
74716         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
74717         _Unwind_GetCFA return to _Unwind_Ptr first.
74719 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
74721         [BZ #13629]
74722         * math/s_clog.c: Include <float.h>.
74723         (__clog): Scale large or subnormal inputs.
74724         * math/s_clogf.c: Likewise.
74725         * math/s_clogl.c: Likewise.
74726         * math/s_clog10.c: Include <float.h>.
74727         (M_LOG10_2): Define.
74728         (__clog10): Scale large or subnormal inputs.
74729         * math/s_clog10f.c: Likewise.
74730         * math/s_clog10l.c: Likewise.
74731         * math/libm-test.inc (clog_test): Add more tests.
74732         (clog10_test): Likewise.
74733         * sysdeps/i386/fpu/libm-test-ulps: Update.
74734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74736         [BZ #11451]
74737         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
74738         x and y.
74739         * math/libm-test.inc (atan2_test): Add another test.
74741         * Makerules (common-objdir-compile): Remove.
74742         * sysdeps/unix/Makefile (config-generated): Do not add
74743         $(unix-generated) to variable.
74744         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
74745         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
74746         Remove rule.
74747         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
74748         Likewise.
74749         [generic bits/local_lim.h] (before-compile): Do not append to
74750         variable.
74751         [generic bits/local_lim.h] (common-generated): Likewise.
74752         [generic sys/param.h] (before-compile): Do not append to variable.
74753         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
74754         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
74755         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
74756         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
74757         include.
74758         [generic sys/param.h] (sys/param.h-includes): Remove variable.
74759         [generic sys/param.h] (sys/param.h-includes): Remove rule.
74760         [generic sys/param.h] ($(addprefix
74761         $(common-objpfx),$(sys/param.h-includes))): Likewise.
74762         [generic sys/param.h] (common-generated): Do not append to
74763         variable.
74764         [generic sys/param.h] (sysdep_headers): Likewise.
74765         [generic bits/errno.h] (before-compile): Do not append to
74766         variable.
74767         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
74768         rule.
74769         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
74770         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
74771         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
74772         [generic bits/errno.h] (common-generated): Do not append to
74773         variable.
74774         [generic bits/ioctls.h] (before-compile): Do not append to
74775         variable.
74776         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
74777         rule.
74778         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
74779         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
74780         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
74781         rule.
74782         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
74783         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
74784         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
74785         [generic bits/ioctls.h] (common-generated): Do not append to
74786         variable.
74787         [generic sys/syscall.h] (syscall.h): Remove variable.
74788         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
74789         rule.
74790         [generic sys/syscall.h] (before-compile): Do not append to
74791         variable.
74792         [generic sys/syscall.h] (common-generated): Likewise.
74793         * sysdeps/unix/errnos-tmpl.c: Remove file.
74794         * sysdeps/unix/errnos.awk: Likewise.
74795         * sysdeps/unix/ioctls-tmpl.c: Likewise.
74796         * sysdeps/unix/ioctls.awk: Likewise.
74797         * sysdeps/unix/mk-local_lim.c: Likewise.
74798         * sysdeps/unix/snarf-ioctls: Likewise.
74800 2012-03-19  Richard Henderson  <rth@twiddle.net>
74802         * sysdeps/i386/fpu/fenv_private.h: New file.
74803         * sysdeps/i386/fpu/math_private.h: Use it.
74804         (math_opt_barrier, math_force_eval): Remove.
74805         (libc_feholdexcept_setround_53bit): Remove.
74806         (libc_feupdateenv_53bit): Remove.
74807         * sysdeps/x86_64/fpu/math_private.h: Likewise.
74808         (math_opt_barrier, math_force_eval): Remove.
74809         (libc_feholdexcept): Remove.
74810         (libc_feholdexcept_setround): Remove.
74811         (libc_fetestexcept, libc_fesetenv): Remove.
74812         (libc_feupdateenv_test): Remove.
74813         (libc_feupdateenv, libc_feholdsetround): Remove.
74814         (libc_feresetround): Remove.
74816         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
74817         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
74819         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
74820         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
74821         (libc_feupdateenv_testl): New.
74822         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
74823         (libc_feupdateenv_testf): New.
74824         (libc_feupdateenv): Use libc_feupdateenv_test.
74825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
74826         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
74828         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
74829         (libc_feholdsetroundf, libc_feholdsetroundl): New.
74830         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
74831         (libc_feresetround_noex): New.
74832         (libc_feresetround_noexf): New.
74833         (libc_feresetround_noexl): New.
74834         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
74835         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
74836         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
74837         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
74838         SET_RESTORE_ROUND.
74839         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
74840         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
74841         (__cos): Likewise.
74842         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
74843         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
74844         SET_RESTORE_ROUND_NOEX.
74845         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
74846         SET_RESTORE_ROUND_NOEXF.
74847         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
74848         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
74849         (libc_feholdsetroundf): New.
74850         (libc_feresetround, libc_feresetroundf): New.
74852         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
74853         (libc_feholdexcept_setround_53bit): Convert from macro to function.
74854         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
74856         * sysdeps/generic/math_private.h: Include <fenv.h>.
74857         (default_libc_feholdexcept): New.
74858         (default_libc_feholdexcept_setround): New.
74859         (default_libc_fesetenv, default_libc_feupdateenv): New.
74860         (libc_feholdexcept): Only define if undefined.
74861         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
74862         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
74863         (libc_feholdexcept_setroundl): Likewise.
74864         (libc_feholdexcept_setround_53bit): Likewise.
74865         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
74866         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
74867         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
74868         (libc_feupdateenv_53bit): Likewise.
74869         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
74870         (libc_feholdexcept): Convert from macro to inline function.
74871         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
74872         (libc_fesetenv, libc_feupdateenv): Likewise.
74874         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
74875         not previously defined.
74876         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
74877         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
74878         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
74879         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
74880         * sysdeps/ieee754/flt-32/math_private.h: New file.
74881         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
74882         math_private.h below SET_FLOAT_WORD.
74883         (__isnan, __isinf_ns, __finite): Remove.
74884         (__isnanf, __isinf_nsf, __finitef): Remove.
74886 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
74888         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74890 2012-03-17  David S. Miller  <davem@davemloft.net>
74892         [BZ #6471]
74893         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
74894         for 2.16.
74896 2012-03-16  David S. Miller  <davem@davemloft.net>
74898         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
74899         warnings.
74901         [BZ #6471]
74902         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
74903         properly.
74904         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
74905         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
74906         sysdep_routines when subdir is sysvipc.
74907         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
74908         __getshmlba helper.
74910         * sysdeps/sparc/fpu/libm-test/ulps: Update.
74912 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74914         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
74915         [__LP64__].
74917 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74919         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
74920         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
74921         (__lround): Renamed to ...
74922         (__llround): This.  Replace long int with long long int.
74923         Define lround functions as aliases of llround functions.
74924         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
74926 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74928         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
74929         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
74930         adresses to uintptr_t.  Replace "long int" and "unsigned long
74931         int" with "greg_t" on va_arg.
74933 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
74935         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
74936         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
74938         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
74939         Move e_machine check before EI_CLASS check.  Handle x32
74940         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
74941         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
74942         SKIP_EM_IA_64 and include
74943         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
74945         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
74946         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
74947         (add_system_dir): New macro.
74949         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
74950         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
74952 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
74954         [BZ #2551]
74955         [BZ #2552]
74956         [BZ #2553]
74957         [BZ #2554]
74958         [BZ #2562]
74959         [BZ #2563]
74960         [BZ #2565]
74961         [BZ #2566]
74962         [BZ #2576]
74963         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
74964         (y0): Likewise.
74965         * math/w_j0f.c (j0f): Likewise.
74966         (y0f): Likewise.
74967         * math/w_j0l.c (__j0l): Likewise.
74968         (__y0l): Likewise.
74969         * math/w_j1.c (j1): Likewise.
74970         (y1): Likewise.
74971         * math/w_j1f.c (j1f): Likewise.
74972         (y1f): Likewise.
74973         * math/w_j1l.c (__j1l): Likewise.
74974         (__y1l): Likewise.
74975         * math/w_jn.c (jn): Likewise.
74976         (yn): Likewise.
74977         * math/w_jnf.c (jnf): Likewise.
74978         (ynf): Likewise.
74979         * math/w_jnl.c (__jnl): Likewise.
74980         (__ynl): Likewise.
74981         * math/libm-test.inc (j0_test): Add more tests.
74982         (j1_test): Likewise.
74983         (jn_test): Likewise.  Add trailing semicolon to existing test.
74984         (y0_test): Likewise.
74985         (y1_test): Likewise.
74986         * sysdeps/i386/fpu/libm-test-ulps: Update.
74987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74989         [BZ #13851]
74990         [BZ #13854]
74991         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
74992         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
74993         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
74994         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
74995         (__tanl): Set errno for infinite argument.
74996         * sysdeps/i386/fpu/mptan.c: Remove.
74997         * sysdeps/i386/fpu/s_tan.S: Likewise.
74998         * sysdeps/i386/fpu/s_tanl.S: Likewise.
74999         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75000         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75001         * math/libm-test.inc (tan_test): Add more tests and enable more
75002         tests for double and long double.
75003         * sysdeps/i386/fpu/libm-test-ulps: Update.
75004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75006 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75008         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75009         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75011 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75013         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75014         * configure.in: Use it for both main tree and add-ons.
75015         * configure: Regenerated.
75017 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75019         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75021 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75023         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75024         in comment.
75026         [BZ #13851]
75027         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75028         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75029         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75030         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75031         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75032         infinite argument.
75033         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75034         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75035         != 0 for prec == 2.
75036         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75037         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75038         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75039         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75040         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75041         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75042         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75043         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75044         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75045         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75046         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75047         * math/libm-test.inc (cos_test): Add more tests and enable more
75048         tests for long double.
75049         (sin_test): Likewise.
75050         (sincos_test): Likewise.
75051         * sysdeps/i386/fpu/libm-test-ulps: Update.
75052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75054 2012-03-16  David S. Miller  <davem@davemloft.net>
75056         * sysdeps/sparc/fpu/math_private.h: New file.
75058 2012-03-15  David S. Miller  <davem@davemloft.net>
75060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75061         file.
75062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75064         file.
75065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75070         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75071         sysdep routines.
75072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75074         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75075         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75077         * sysdeps/sparc/sparc-ifunc.h: New file.
75078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75079         sparc-ifunc.h
75080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75082         Likewise.
75083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75084         Likewise.
75085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75089         Likewise.
75090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75095         Likewise.
75096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75097         Likewise.
75098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75102         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75104         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75105         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75116         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75117         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75118         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75119         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75120         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75121         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75123 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75125         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75126         scaling.
75127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75129 2012-03-15  Andreas Jaeger  <aj@suse.de>
75131         [BZ #13852]
75132         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75133         ieee754/flt-32 implementation for sin, cos and sincos.
75134         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
75135         * sysdeps/i386/fpu/s_cosf.S: Likewise.
75136         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
75137         * sysdeps/i386/fpu/s_sinf.S: Likewise.
75138         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
75139         ieee754/flt-32 implementation for tan.
75141         * math/libm-test.inc (cos_test): Enable some large input tests for
75142         float as well
75143         (sin_test): Likewise.
75144         (sincos_test): Likewise.
75145         (tan_test): Add tests for large input.
75147         * sysdeps/i386/fpu/libm-test-ulps: Update.
75149 2012-03-15  Andreas Jaeger  <aj@suse.de>
75151         [BZ #13658]
75152         * math/libm-test.inc (cos_test): Add more test cases.
75153         (sin_test): Likewise.
75154         (sincos_test): Likewise.
75156 2012-03-15  Andreas Jaeger  <aj@suse.de>
75158         [BZ #13837]
75159         * math/libm-test.inc (cos_test): Add a test case for large input
75160         value.
75161         (sin_test): Likewise.
75162         (sincos_test): Likewise.
75164 2012-03-15  Andreas Jaeger  <aj@suse.de>
75165             Joseph Myers  <joseph@codesourcery.com>
75167         [BZ #13658]
75168         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
75169         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
75170         * sysdeps/i386/fpu/branred.c: Likewise.
75171         * sysdeps/i386/fpu/dosincos.c: Likewise.
75172         * sysdeps/i386/fpu/mpa.c: Likewise.
75173         * sysdeps/i386/fpu/s_cos.S: Likewise.
75174         * sysdeps/i386/fpu/s_sin.S: Likewise.
75175         * sysdeps/i386/fpu/s_sincos.S: Likewise.
75176         * sysdeps/i386/fpu/sincos32.c: Likewise.
75178         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
75179         Define.
75180         (libc_feupdateenv_53bit): Define.
75181         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
75182         Define.
75183         (libc_feupdateenv_53bit): Define.
75185         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
75186         53 bit (without extend i386 double precision).
75188         * math/libm-test.inc (sincos_test): Add tests for large input.
75189         (sin): Likewise.
75190         (cos): Likewise.
75192         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
75194 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75198 2012-03-15  David S. Miller  <davem@davemloft.net>
75200         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
75201         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
75202         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
75203         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
75204         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
75205         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
75206         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
75207         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
75208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
75209         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
75210         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
75211         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
75212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
75213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
75214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
75215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
75216         file.
75217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
75218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
75219         file.
75220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
75221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
75222         file.
75223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
75224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
75225         file.
75226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
75227         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
75228         fmin/fmax sysdep routines.
75229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75231 2012-03-14  David S. Miller  <davem@davemloft.net>
75233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
75234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
75235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
75236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
75237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
75238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
75239         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
75240         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
75241         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
75242         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
75243         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
75244         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
75245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
75246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
75247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
75248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
75249         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
75250         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
75251         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
75252         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
75253         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
75254         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
75255         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
75256         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
75257         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
75258         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
75259         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
75260         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
75261         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
75262         routines.
75263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
75264         file.
75265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
75266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
75267         file.
75268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
75269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
75270         file.
75271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
75272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
75273         file.
75274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
75275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
75276         file.
75277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
75278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
75279         file.
75280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
75281         file.
75282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
75283         file.
75284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
75285         file.
75286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
75287         New file.
75288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
75289         file.
75290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
75291         file.
75292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
75293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
75294         file.
75295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
75296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
75297         file.
75298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
75299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
75300         file.
75301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
75302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
75303         VIS3 routines.
75305         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
75306         New file.
75308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75310         * sysdeps/sparc/configure.in: New file.
75311         * sysdeps/sparc/configure: Generate.
75312         * configure.in (libc_cv_sparc_as_vis3): Substitute.
75313         * configure: Regenerate.
75314         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
75315         * config.make.in (have-as-vis3): New.
75316         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
75317         available use -Av9d instead of -Av9a.
75318         * sysdeps/sparc/sparc64/Makefile: Likewise.
75319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
75320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
75321         New file.
75322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
75323         file.
75324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
75325         New file.
75326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
75327         file.
75328         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
75329         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
75330         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
75331         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
75332         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
75334         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
75335         fzeros/fnegs to load 0x80000000 into a float register instead of
75336         using the stack.
75337         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
75339 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75341         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75342         bits/syscall.h.
75343         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
75344         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
75345         ($(inst_includedir)/bits/syscall.h): Remove rule.
75346         ($(objpfx)bits/syscall.d): Include instead of
75347         $(objpfx)syscall-list.d.
75348         (generated): Change syscall-list.h and syscall-list.d to
75349         bits/syscall.h and bits/syscall.d.
75351 2012-03-14  Roland McGrath  <roland@hack.frob.com>
75353         [BZ #13846]
75354         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
75356 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
75358         [BZ #13841]
75359         * math/s_csqrt.c: Include <float.h>.
75360         (__csqrt): Scale large or subnormal inputs.
75361         * math/s_csqrtf.c: Likewise.
75362         * math/s_csqrtl.c: Likewise.
75363         * math/libm-test.inc (csqrt_test): Add more tests.
75364         * sysdeps/i386/fpu/libm-test-ulps: Update.
75365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75367         [BZ #13840]
75368         * math/libm-test.inc (hypot_test): Add more tests.
75370 2012-03-13  David S. Miller  <davem@davemloft.net>
75372         [BZ #13840]
75373         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
75374         double-precision for the calculation instead of scaling.
75376 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
75378         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
75379         manipulate bits before adding and subtracting TWO52[sx].
75380         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
75381         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
75382         Likewise.
75383         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
75385 2012-03-13  David S. Miller  <davem@davemloft.net>
75387         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
75388         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
75389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
75390         rtld-global-offsets.h
75391         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75393         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
75394         large parameters.
75396         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
75398         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
75399         'err' in the ifdef scope in which it is actually used.
75401         * nss/nss_db/db-init.c: Include string.h
75403 2012-03-12  David S. Miller  <davem@davemloft.net>
75405         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75406         masking out of the most significant byte of random value used.
75407         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75408         Fix coding style in previous change.
75410         * sysdeps/unix/sysv/linux/kernel-features.h
75411         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
75412         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
75413         expression.
75414         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
75415         later.
75417 2012-03-11  David S. Miller  <davem@davemloft.net>
75419         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
75420         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
75421         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
75422         for 'resultvar' otherwise things get truncated on 64-bit.
75424         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
75425         Fix masking out of the most significant byte of random value used.
75427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75429 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
75431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75433 2012-03-09  David S. Miller  <davem@davemloft.net>
75435         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
75436         variables with appropriate CPP guards.
75437         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
75438         from the frame pointer, not the stack pointer.  Correct layout
75439         comments.  Fix test on resulting framesize and the management of
75440         the outregs buffer for pltexit.  Preserve floating point return
75441         values across _dl_call_pltexit call.
75442         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
75443         framesize and the management of the outregs buffer for pltexit.
75444         Preserve floating point return values across _dl_call_pltexit
75445         call.
75446         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
75447         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
75448         (la_sparc64_gnu_pltexit): New functions.
75449         (print_exit): Fix format string for return register value.
75451 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
75453         * sunrpc/Makefile (others): Add rpcgen.
75454         ($(objpfx)rpcgen): Remove special build rule and dependency on
75455         libc.
75456         * sunrpc/rpcgen.c: New file.
75458 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
75460         [BZ #13673]
75461         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
75462         * stdio-common/bug-vfprintf-nargs.c: Likewise.
75463         * sysdeps/i386/crti.S: Likewise.
75464         * sysdeps/i386/crtn.S: Likewise.
75465         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
75466         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
75467         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
75468         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
75469         * sysdeps/sh/crti.S: Likewise.
75470         * sysdeps/sh/crtn.S: Likewise.
75471         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75473         [BZ #13673]
75474         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
75475         with URL.
75476         * locale/programs/locfile-kw.gperf: Likewise.
75477         * locale/programs/charmap-kw.h: Regenerated.
75478         * locale/programs/locfile-kw.h: Likewise.
75480         [BZ #13673]
75481         * intl/plural.y: Replace FSF snail mail address with URL.
75482         * intl/plural.c: Regenerated.
75484 2012-03-09  Richard Henderson  <rth@twiddle.net>
75486         * include/math_private.h: Remove file.
75487         * math/math_private.h: Move file ...
75488         * sysdeps/generic/math_private.h: ... here.
75490         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
75491         * sysdeps/powerpc/fpu/math_private.h: Likewise.
75492         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75494         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
75495         and <math_private.h>.
75496         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75497         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75498         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75499         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75500         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75501         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
75502         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75503         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75504         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
75505         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75506         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75507         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
75508         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
75509         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75510         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
75511         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
75512         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75513         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
75514         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
75515         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
75516         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75517         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
75518         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
75519         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75520         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
75521         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
75522         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
75523         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
75524         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75525         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75526         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
75527         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75528         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
75529         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75530         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75531         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75532         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75533         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75534         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75535         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75536         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
75537         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75538         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75539         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
75540         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
75541         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75542         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
75543         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
75544         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75545         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75546         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
75547         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
75548         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
75549         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75550         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
75551         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
75552         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75553         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
75554         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
75555         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
75556         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75557         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
75558         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75559         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75560         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
75561         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75562         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75563         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75564         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
75565         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
75566         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
75567         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75568         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
75569         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75570         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
75571         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
75572         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
75573         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75574         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
75575         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
75576         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
75577         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
75578         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
75579         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
75580         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75581         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
75582         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
75583         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
75584         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
75585         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75586         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75587         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
75588         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75589         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
75590         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
75591         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
75592         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75593         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
75594         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75595         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
75596         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
75597         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
75598         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
75599         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
75600         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75601         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
75602         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
75603         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
75604         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75605         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75606         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75607         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75608         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
75609         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75610         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
75611         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75612         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75613         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75614         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75615         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75616         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75617         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75618         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75619         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
75620         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75621         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75622         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
75623         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
75624         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75625         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
75626         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
75627         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75628         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75629         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
75630         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
75631         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75632         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
75633         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75634         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
75635         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
75636         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75637         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75638         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75639         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
75640         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
75641         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75642         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75643         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75644         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
75645         * sysdeps/ieee754/k_standard.c: Likewise.
75646         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
75647         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
75648         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75649         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
75650         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
75651         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
75652         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
75653         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
75654         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
75655         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
75656         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75657         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
75658         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
75659         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
75660         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
75661         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
75662         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
75663         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
75664         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
75665         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
75666         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
75667         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
75668         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75669         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75670         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
75671         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
75672         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75673         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75674         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75675         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75676         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
75677         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75678         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75679         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75680         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
75681         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75682         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75683         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
75684         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
75685         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75686         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
75687         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
75688         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
75689         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75690         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
75691         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
75692         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75693         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75694         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75695         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75696         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75697         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
75698         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75699         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
75700         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75701         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75702         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
75703         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
75704         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75705         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75706         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75707         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
75708         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75709         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
75710         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75711         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75712         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
75713         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
75714         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
75715         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
75716         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
75717         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75718         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
75719         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
75720         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
75721         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
75722         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
75723         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
75724         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
75725         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
75726         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
75727         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
75728         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75729         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75730         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
75731         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75732         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75733         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
75734         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
75735         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75736         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
75737         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75738         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
75739         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
75740         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75741         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75742         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
75743         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
75744         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
75745         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
75746         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75747         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75748         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75749         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75750         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
75751         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75752         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75753         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
75754         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
75755         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75756         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75757         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75758         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
75759         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75760         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
75761         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75762         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
75763         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75764         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75765         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
75766         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75767         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
75768         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
75769         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
75770         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75771         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
75772         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75773         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75774         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75775         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75776         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75777         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75778         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75779         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
75780         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75781         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75782         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
75783         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
75784         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75785         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
75786         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
75787         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75788         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
75789         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
75790         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75791         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75792         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75793         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75794         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75795         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
75796         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75797         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75798         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75799         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75800         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
75801         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
75802         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75803         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75804         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75805         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
75806         * sysdeps/ieee754/s_lib_version.c: Likewise.
75807         * sysdeps/ieee754/s_matherr.c: Likewise.
75808         * sysdeps/ieee754/s_signgam.c: Likewise.
75809         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
75810         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
75811         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
75812         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
75813         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
75814         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
75815         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
75816         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
75817         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
75818         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
75819         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
75820         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
75821         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75822         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75823         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
75824         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
75825         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
75826         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
75827         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
75828         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75829         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75831 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75833         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
75834         * sunrpc/rpc_main.c: Likewise.
75835         * sunrpc/rpc_svcout.c: Likewise.
75837 2012-03-09  David S. Miller  <davem@davemloft.net>
75839         * include/math_private.h: New file.
75841 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
75843         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
75844         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
75845         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
75846         from <bits/socket_type.h>.
75847         (enum __socket_type): Don't define here.
75848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
75849         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75850         bits/socket_type.h.
75852         [BZ #13566]
75853         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
75854         checking __USE_GNU.
75856         * Makerules ($(inst_includedir)/%.h): New rule.
75857         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
75858         (install-others): Remove variable setting.
75859         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
75861 2012-03-08  Richard Henderson  <rth@twiddle.net>
75863         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
75864         from macro to inline function; merge with the
75865         !__LIBC_INTERNAL_MATH_INLINES version.
75866         (__ieee754_sqrtf): Likewise.
75868         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
75869         to inline function.
75870         (__rintf, __floor, __floorf): Likewise.
75872         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
75873         macro to inline function.
75874         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
75876         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
75877         not <math/math_private.h>.
75879 2012-03-08  David S. Miller  <davem@davemloft.net>
75881         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
75882         copyright year.
75883         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
75885 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
75887         * resolv/gai_misc.c (handle_requests): Fix struct timespec
75888         normalization.
75889         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
75890         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
75892 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
75894         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
75895         be defined individually, they must be defined as a block.  Define
75896         S for printing a string instead of hidint the different by using a
75897         macro for adding the 'l'.
75898         * stdio-common/tst-fphex-wide.c: Adjust.
75900 2012-03-07  Marek Polacek  <polacek@redhat.com>
75902         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
75904 2012-03-08  Marek Polacek  <polacek@redhat.com>
75906         [BZ #13806]
75907         * stdio-common/Makefile (tests): Add tst-fphex-wide.
75908         * stdio-common/tst-fphex.c: Define a few macros to make the
75909         test reusable.  Use them.
75910         * stdio-common/tst-fphex-wide.c: New file.
75912 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
75914         [BZ #6911]
75915         * manual/macros.texi (gnusystems): New macro.
75916         (nongnusystems): Likewise.
75917         (gnulinuxhurdsystems): Likewise.
75918         (gnuhurdsystems): Likewise..
75919         (gnulinuxsystems): Likewise.
75920         * manual/charset.texi: Use new macros or @theglibc{} to refer to
75921         variants of the GNU system, not "GNU system".
75922         * manual/conf.texi: Likewise.
75923         * manual/errno.texi: Likewise.  Update example of errno macro
75924         expansion.
75925         * manual/filesys.texi: Likewise.
75926         (getumask): Document as specific to GNU/Hurd.
75927         * manual/install.texi: Likewise.  Reword some references to
75928         GNU/Linux.
75929         * manual/intro.texi: Likewise.
75930         * manual/io.texi: Likewise.
75931         (File Name Portability): Detail which constraints are inapplicable
75932         to all GNU systems and which are only inapplicable to GNU/Hurd.
75933         * manual/job.texi: Likewise.
75934         * manual/llio.texi: Likewise.
75935         (O_NOCTTY): Document as present on GNU/Linux.
75936         * manual/maint.texi: Likewise.
75937         * manual/memory.texi: Likewise.
75938         * manual/pattern.texi: Likewise.
75939         * manual/pipe.texi: Likewise.
75940         * manual/process.texi: Likewise.
75941         * manual/resource.texi: Likewise.
75942         (RUSAGE_CHILDREN): Remove statement about specifying a particular
75943         child on GNU/Hurd.
75944         * manual/setjmp.texi: Likewise.
75945         * manual/signal.texi: Likewise.
75946         * manual/startup.texi: Likewise.
75947         * manual/stdio.texi: Likewise.
75948         * manual/terminal.texi: Likewise.
75949         (ONLCR): Document as POSIX.
75950         (OXTABS): Document availability on GNU/Linux as XTABS.
75951         (ONOEOT): Document availability separately from other bits.
75952         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
75953         * manual/time.texi: Likewise.
75954         * manual/users.texi: Likewise.
75955         * INSTALL: Regenerated.
75956         * sysdeps/gnu/errlist.c: Regenerated.
75958         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
75959         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
75960         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
75961         puts.
75962         * configure: Regenerated.
75964 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
75966         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
75967         default includes instead of AC_HEADER_CHECK.
75968         * sysdeps/i386/configure: Regenerated.
75970         [BZ #10716]
75971         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
75972         * math/s_cacoshf.c (__cacoshf): Likewise.
75973         * math/s_cacoshl.c (__cacoshl): Likewise.
75974         * math/s_casinh.c (__casinh): Set signs of result from argument.
75975         * math/s_casinhf.c (__casinhf): Likewise.
75976         * math/s_casinhl.c (__casinhl): Likewise.
75977         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
75978         (casinh_test): Add more tests.
75979         * sysdeps/i386/fpu/libm-test-ulps: Update.
75980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75982 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
75984         * po/zh_TW.po: Update from translation team.
75986         * login/Makefile (distribute): Remove variable.
75987         * catgets/Makefile: Likewise.
75988         * mach/Makefile: Likewise.
75989         * malloc/Makefile: Likewise.
75990         * misc/Makefile: Likewise.
75991         * iconv/Makefile: Likewise.
75992         * nscd/Makefile: Likewise.
75993         * hurd/Makefile: Likewise.
75994         * manual/Makefile: Likewise.
75995         * locale/Makefile: Likewise.
75996         * intl/Makefile: Likewise.
75997         * conform/Makefile: Likewise.
75998         * nss/Makefile: Likewise.
75999         * time/Makefile: Likewise.
76000         * soft-fp/Makefile: Likewise.
76001         * dirent/Makefile: Likewise.
76002         * gmon/Makefile: Likewise.
76003         * po/Makefile: Likewise.
76004         * rt/Makefile: Likewise.
76005         * socket/Makefile: Likewise.
76006         * math/Makefile: Likewise.
76007         * signal/Makefile: Likewise.
76008         * debug/Makefile: Likewise.
76009         * elf/Makefile: Likewise.
76010         * timezone/Makefile: Likewise.
76011         * stdlib/Makefile: Likewise.
76012         * iconvdata/Makefile: Likewise.
76013         * sunrpc/Makefile: Likewise.
76014         * io/Makefile: Likewise.
76015         * argp/Makefile: Likewise.
76016         * inet/Makefile: Likewise.
76017         * hesiod/Makefile: Likewise.
76018         * grp/Makefile: Likewise.
76019         * csu/Makefile: Likewise.
76020         * wctype/Makefile: Likewise.
76021         * crypt/Makefile: Likewise.
76022         * libio/Makefile: Likewise.
76023         * string/Makefile: Likewise.
76024         * nis/Makefile: Likewise.
76025         * resolv/Makefile: Likewise.
76026         * stdio-common/Makefile: Likewise.
76027         * wcsmbs/Makefile: Likewise.
76028         * dlfcn/Makefile: Likewise.
76029         * posix/Makefile: Likewise.
76031         [BZ #6959]
76032         * timezone/Makefile: Don't install timezone files, just the programs
76033         and scripts.
76035 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76037         * nss/databases.def: Add missing gshadow entry.
76039         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76041 2012-03-06  Marek Polacek  <polacek@redhat.com>
76043         [BZ #13726]
76044         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76045         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76046         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76047         * stdio-common/tst-long-dbl-fphex.c: New file.
76049 2012-03-06  David S. Miller  <davem@davemloft.net>
76051         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76052         (set_obp_int): New function.
76053         (get_obp_int): New function.
76054         (__get_clockfreq_via_dev_openprom): Likewise.
76055         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76056         Avoid unused variable warnings on 'val' and use builtin_expect.
76057         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76058         __builtin_expect.
76059         (INLINE_CLONE_SYSCALL): Likewise.
76061 2012-03-05  David S. Miller  <davem@davemloft.net>
76063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76065 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76069         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76070         only for |x| >= 40.
76071         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76073 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76075         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76076         Replace gettimeofday with __vdso_gettimeofday.
76078         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76079         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76080         __vdso_clock_gettime and __vdso_getcpu.
76082         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76083         time with __vdso_time.
76085 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76087         * manual/lang.texi (size_t): Note types to which size_t may be
76088         equivalent with the GNU C Library, but do not describe when
76089         differences between them are significant.
76091 2012-03-05  Andreas Jaeger  <aj@suse.de>
76093         * sysdeps/i386/fpu/libm-test-ulps: Update.
76095 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76097         [BZ #3976]
76098         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76099         (__ieee754_pow): Save and restore rounding mode and use
76100         round-to-nearest for main computations.
76101         * math/libm-test.inc (pow_test_tonearest): New function.
76102         (pow_test_towardzero): Likewise.
76103         (pow_test_downward): Likewise.
76104         (pow_test_upward): Likewise.
76105         (main): Call the new functions.
76106         * sysdeps/i386/fpu/libm-test-ulps: Update.
76107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76109         [BZ #3976]
76110         * math/libm-test.inc (cosh_test_tonearest): New function.
76111         (cosh_test_towardzero): Likewise.
76112         (cosh_test_downward): Likewise.
76113         (cosh_test_upward): Likewise.
76114         (sinh_test_tonearest): Likewise.
76115         (sinh_test_towardzero): Likewise.
76116         (sinh_test_downward): Likewise.
76117         (sinh_test_upward): Likewise.
76118         (main): Call the new functions.
76119         * sysdeps/i386/fpu/libm-test-ulps: Update.
76120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76122 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76124         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76125         default stack guard is set in last bytes.
76126         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76128 2012-03-05  Kees Cook  <keescook@chromium.org>
76130         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76132         [BZ #13656]
76133         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76134         possibly allocate from heap instead of stack.
76135         * stdio-common/bug-vfprintf-nargs.c: New file.
76136         * stdio-common/Makefile (tests): Add nargs overflow test.
76138 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
76140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76142 2012-03-03  Marek Polacek  <polacek@redhat.com>
76144         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
76145         * math/math_private.h: Likewise.
76146         * stdlib/tst-strtod.c: Likewise.
76147         * sysdeps/i386/i486/bits/atomic.h: Likewise.
76148         * sysdeps/x86_64/bits/atomic.h: Likewise.
76150 2012-03-02  David S. Miller  <davem@davemloft.net>
76152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
76153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
76154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
76155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
76156         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
76157         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
76158         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
76159         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
76161 2012-03-02  Roland McGrath  <roland@hack.frob.com>
76163         [BZ #13792]
76164         * manual/examples/README: New file, says the example source files
76165         can be used under GPL>=2.
76166         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
76167         line containing just "*/".
76168         * manual/examples/add.c: Add copyright header (GPL>=2).
76169         * manual/examples/argp-ex1.c: Likewise.
76170         * manual/examples/argp-ex2.c: Likewise.
76171         * manual/examples/argp-ex3.c: Likewise.
76172         * manual/examples/argp-ex4.c: Likewise.
76173         * manual/examples/atexit.c: Likewise.
76174         * manual/examples/db.c: Likewise.
76175         * manual/examples/dir.c: Likewise.
76176         * manual/examples/dir2.c: Likewise.
76177         * manual/examples/execinfo.c: Likewise.
76178         * manual/examples/filecli.c: Likewise.
76179         * manual/examples/filesrv.c: Likewise.
76180         * manual/examples/fmtmsgexpl.c: Likewise.
76181         * manual/examples/genpass.c: Likewise.
76182         * manual/examples/inetcli.c: Likewise.
76183         * manual/examples/inetsrv.c: Likewise.
76184         * manual/examples/isockad.c: Likewise.
76185         * manual/examples/longopt.c: Likewise.
76186         * manual/examples/memopen.c: Likewise.
76187         * manual/examples/memstrm.c: Likewise.
76188         * manual/examples/mkfsock.c: Likewise.
76189         * manual/examples/mkisock.c: Likewise.
76190         * manual/examples/mygetpass.c: Likewise.
76191         * manual/examples/pipe.c: Likewise.
76192         * manual/examples/popen.c: Likewise.
76193         * manual/examples/rprintf.c: Likewise.
76194         * manual/examples/search.c: Likewise.
76195         * manual/examples/select.c: Likewise.
76196         * manual/examples/setjmp.c: Likewise.
76197         * manual/examples/sigh1.c: Likewise.
76198         * manual/examples/sigusr.c: Likewise.
76199         * manual/examples/stpcpy.c: Likewise.
76200         * manual/examples/strdupa.c: Likewise.
76201         * manual/examples/strftim.c: Likewise.
76202         * manual/examples/strncat.c: Likewise.
76203         * manual/examples/subopt.c: Likewise.
76204         * manual/examples/swapcontext.c: Likewise.
76205         * manual/examples/termios.c: Likewise.
76206         * manual/examples/testopt.c: Likewise.
76207         * manual/examples/testpass.c: Likewise.
76208         * manual/examples/timeval_subtract.c: Likewise.
76210         [BZ #13792]
76211         * manual/time.texi (Elapsed Time): Move timeval_subtract example
76212         function to ...
76213         * manual/timeval_subtract.c.texi: ... here, new file.
76215 2012-03-02  David S. Miller  <davem@davemloft.net>
76217         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
76219 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
76221         [BZ #3976]
76222         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
76223         (__sin): Save and restore rounding mode and use round-to-nearest
76224         for all computations.
76225         (__cos): Save and restore rounding mode and use round-to-nearest
76226         for all computations.
76227         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
76228         <fenv.h>.
76229         (tan): Save and restore rounding mode and use round-to-nearest for
76230         all computations.
76231         * math/libm-test.inc (cos_test_tonearest): New function.
76232         (cos_test_towardzero): Likewise.
76233         (cos_test_downward): Likewise.
76234         (cos_test_upward): Likewise.
76235         (sin_test_tonearest): Likewise.
76236         (sin_test_towardzero): Likewise.
76237         (sin_test_downward): Likewise.
76238         (sin_test_upward): Likewise.
76239         (tan_test_tonearest): Likewise.
76240         (tan_test_towardzero): Likewise.
76241         (tan_test_downward): Likewise.
76242         (tan_test_upward): Likewise.
76243         (main): Call the new functions.
76244         * sysdeps/i386/fpu/libm-test-ulps: Update.
76245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76247         [BZ #10135]
76248         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
76249         small n, then large n, before computing and testing k+n.
76250         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
76251         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
76252         Likewise.
76253         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
76254         Likewise.
76255         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
76256         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
76257         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
76258         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
76259         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
76260         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
76261         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
76262         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
76263         * math/libm-test.inc (scalbn_test): Add more tests.
76264         (scalbln_test): Likewise.
76266         * manual/filesys.texi (mode_t): Describe constraints on size and
76267         signedness, not exact equivalence to a particular type.
76268         (ino_t): Likewise.
76269         (ino64_t): Likewise.
76270         (dev_t): Likewise.
76271         (nlink_t): Likewise.
76272         (blkcnt_t): Likewise.
76273         (blkcnt64_t): Likewise.
76274         * manual/llio.texi (off_t): Likewise.
76276         [BZ #3976]
76277         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
76278         (__ieee754_exp): Save and restore rounding mode and use
76279         round-to-nearest for all computations.
76280         * math/libm-test.inc (exp_test_tonearest): New function.
76281         (exp_test_towardzero): Likewise.
76282         (exp_test_downward): Likewise.
76283         (exp_test_upward): Likewise.
76284         (main): Call the new functions.
76285         * sysdeps/i386/fpu/libm-test-ulps: Update.
76286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76288 2012-03-01  Chris Demetriou  <cgd@google.com>
76290         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
76291         have predictable order.
76293 2012-03-01  David S. Miller  <davem@davemloft.net>
76295         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
76297         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
76298         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
76299         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
76300         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
76302         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
76303         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
76304         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
76305         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
76306         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
76307         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
76308         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
76309         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
76310         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
76312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76314         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
76315         * sysdeps/sparc/fpu/libm-test-ulps: to here.
76316         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
76318         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
76319         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
76320         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76321         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
76322         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
76323         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
76324         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
76325         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
76326         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76327         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
76328         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
76329         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76330         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
76331         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76332         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76333         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
76334         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
76335         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
76336         * sysdeps/sparc/elf/configure: Regenerated.
76338 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
76340         * configure.in (AS, LD): Require binutils 2.20 or later.
76341         * configure: Regenerated.
76342         * manual/install.texi (Tools for Compilation): Give binutils 2.20
76343         as required minimum version.
76344         * INSTALL: Regenerated.
76346         [BZ #2541]
76347         [BZ #4108]
76348         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
76349         before squaring exponent.
76350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
76351         bottom long double and 27 bits of top long double before squaring
76352         exponent.
76353         * math/libm-test.inc (erfc_test): Add more tests.
76354         * sysdeps/i386/fpu/libm-test-ulps: Update.
76355         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76358 2012-03-01  Kai Tietz  <ktietz@redhat.com>
76360         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
76361         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
76362         containing bit-fields.
76363         * soft-fp/extended.h (_FP_UNION_E): Likewise.
76364         * soft-fp/single.h (_FP_UNION_S): Likewise.
76365         * soft-fp/double.h (_FP_UNION_D): Likewise.
76367 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76369         [BZ #13786]
76370         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
76371         not include ../strcmp.S.
76372         [USE_AS_STRNCASECMP_L]: Likewise.
76373         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
76374         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
76375         * sysdeps/i386/i686/multiarch/strncase_l-c.c
76376         (__strncasecmp_l_ia32): Define as alias to
76377         __strncasecmp_l_nonascii.
76379         [BZ #5794]
76380         * math/libm-test.inc (expm1_test): Add test for bug 5794.
76381         * sysdeps/i386/fpu/libm-test-ulps: Update.
76382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76384         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
76385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76387 2012-02-29  Jeff Law  <law@redhat.com>
76389         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
76390         out of bounds read.
76392 2012-02-29  Marek Polacek  <polacek@redhat.com>
76394         [BZ #13706]
76395         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
76396         * elf/Makefile: Add rules to run tst-unused-dep.out.
76398 2012-02-28  David S. Miller  <davem@davemloft.net>
76400         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
76401         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
76402         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
76403         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
76404         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
76405         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
76407 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
76409         * math/libm-test.inc (llround_test): Move one test from
76410         lround_test.  Use TEST_f_L in moved test.
76411         (lround_test): Move misplaced test to llround_test.  Add testcase
76412         from bug 2561.
76414 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
76416         * sysdeps/x86_64/fpu/e_expf.S: New file.
76417         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
76419 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
76421         [BZ #13637]
76422         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
76423         of remain_len that may cause incomplete multi-byte character and
76424         false match.
76425         * posix/bug-regex33.c: New file.
76426         * posix/Makefile (tests): Add bug-regex33.
76428 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
76430         * manual/macros.texi: New file.
76431         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
76432         * manual/libc.texinfo: Include macros.texi.
76433         * manual/creatute.texi: Likewise.
76434         * manual/install.texi: Likewise.
76435         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
76436         @glibcadj{} in references to the GNU C Library.
76437         * manual/charset.texi: Likewise.
76438         * manual/conf.texi: Likewise.
76439         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
76440         when not using those macros.
76441         * manual/creature.texi: Likewise.
76442         * manual/crypt.texi: Likewise.
76443         * manual/errno.texi: Likewise.
76444         * manual/filesys.texi: Likewise.
76445         * manual/header.texi: Likewise.
76446         * manual/install.texi: Likewise.
76447         * manual/intro.texi: Likewise.
76448         * manual/io.texi: Likewise.
76449         * manual/job.texi: Likewise.
76450         * manual/lang.texi: Likewise.
76451         * manual/libc.texiinfo: Likewise.
76452         * manual/llio.texi: Likewise.
76453         * manual/locale.texi: Likewise.
76454         * manual/maint.texi: Likewise.
76455         * manual/math.texi: Likewise.
76456         * manual/memory.texi: Likewise.
76457         * manual/message.texi: Likewise.
76458         * manual/nss.texi: Likewise.
76459         * manual/pattern.texi: Likewise.
76460         * manual/process.texi: Likewise.
76461         * manual/resource.texi: Likewise.
76462         * manual/search.texi: Likewise.
76463         * manual/setjmp.texi: Likewise.
76464         * manual/signal.texi: Likewise.
76465         * manual/socket.texi: Likewise.
76466         * manual/startup.texi: Likewise.
76467         * manual/stdio.texi: Likewise.
76468         * manual/string.texi: Likewise.
76469         * manual/sysinfo.texi: Likewise.
76470         * manual/syslog.texi: Likewise.
76471         * manual/terminal.texi: Likewise.
76472         * manual/time.texi: Likewise.
76473         * manual/users.texi: Likewise.
76474         * INSTALL: Regenerated.
76475         * NOTES: Regenerated.
76476         * sysdeps/gnu/errlist.c: Regenerated.
76478 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
76480         * include/dirent.h: Include <dirstream.h> before
76481         <dirent/dirent.h>.
76483 2012-02-28  David S. Miller  <davem@davemloft.net>
76485         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
76486         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
76487         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
76488         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
76490 2012-02-27  David S. Miller  <davem@davemloft.net>
76492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
76493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
76494         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
76495         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
76497         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
76498         frame pointer instead of stack pointer relative arg slot.
76499         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76500         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76501         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76503 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
76505         [BZ #3992]
76506         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
76508 2012-02-27  David S. Miller  <davem@davemloft.net>
76510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
76511         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
76512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
76513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
76514         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
76515         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
76516         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
76517         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
76519 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76521         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
76522         later.  Allow versions 5-9.
76523         * configure: Regenerated.
76524         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
76525         required minimum version and 4.6 as recommended version.  Do not
76526         mention bugs in GCC 2.7 and 2.8.
76527         * INSTALL: Regenerated.
76529 2012-02-27  David S. Miller  <davem@davemloft.net>
76531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
76532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
76533         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
76534         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
76535         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
76536         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
76537         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
76538         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
76540         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
76541         manipulate bits before adding and subtracting TWO112[sx].
76542         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
76544 2012-02-27  Roland McGrath  <roland@hack.frob.com>
76546         [BZ #13775]
76547         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
76548         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
76549         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
76550         being in POSIX, because they are in 1003.1-2008.
76552         * rt/tst-aio.c: Include <fcntl.h>.
76553         * rt/tst-aio7.c: Likewise.
76554         * rt/tst-aio64.c: Likewise.
76556         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
76558 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
76560         * manual/install.texi (--with-headers): Describe headers as
76561         interface headers, not private headers.
76562         (Specific advice for GNU/Linux systems): Describe use of headers
76563         from "make headers_install", not private headers from older
76564         kernels.
76565         * INSTALL: Regenerated.
76566         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
76567         Change to 2.6.19.
76568         * sysdeps/unix/sysv/linux/configure: Regenerated.
76570         * manual/llio.texi (fclean): Remove documentation.
76572         * manual/Makefile (libc-texi-generated): New variable.  Include
76573         version.texi.
76574         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
76575         $(libc-texi-generated), not duplicated list of files.
76576         (version.texi, stamp-version): New rules.
76577         (realclean): Remove $(libc-texi-generated), not individual files
76578         from that list.  Do not remove dir-add.texinfo.
76579         * manual/libc.texinfo: Comment out uses of edition numbers and
76580         references to printed manual.  Remove last-updated dates.
76581         (EDITION): Comment out.
76582         (ISBN): Likewise.
76583         (VERSION, UPDATED): Remove.
76584         (version.texi): Include.
76586 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
76588         * sysdeps/posix/spawni.c: Include <signal.h>.
76589         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
76590         * sysdeps/pthread/aio_fsync.c: Likewise.
76592 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
76594         * conform/Makefile (tests): Run only when not cross-compiling and
76595         when fast-check is not defined.
76597         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
76598         * conform/data/limits.h-data: Fixes for POSIX2008.
76599         * conform/run-conformtest.sh: Run all tests.
76600         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
76601         headers.
76602         * include/bits/dlfcn.h: Likewise.
76603         * include/langinfo.h: Likewise.
76604         * include/monetary.h: Likewise.
76605         * include/sys/poll.h: Likewise.
76607         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
76608         for __USE_GNU.
76609         * posix/spawn.h: Define __need_sigset_t.
76610         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
76611         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
76612         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
76613         to get sigevent_t only.
76614         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
76615         only for __USE_GNU.
76616         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76617         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
76618         process_vm_writev only for __USE_GNU.
76619         * termios/termios.h: Declare tcgetsid also for POSIX2008.
76621         * conform/Makefile: For now ignore errors from run-conformtest.
76622         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
76623         POSIX to avoid namespace pollution.  Don't prepend headers.
76624         * conform/data/aio.h-data: Fixes for POSIX testing.
76625         * conform/data/fcntl.h-data: Likewise.
76626         * conform/data/glob.h-data: Likewise.
76627         * conform/data/grp.h-data: Likewise.
76628         * conform/data/pthread.h-data: Likewise.
76629         * conform/data/pwd.h-data: Likewise.
76630         * conform/data/signal.h-data: Likewise.
76631         * conform/data/spawn.h-data: Likewise.
76632         * conform/data/stdio.h-data: Likewise.
76633         * conform/data/stdlib.h-data: Likewise.
76634         * conform/data/stropts.h-data: Likewise.
76635         * conform/data/sys/mman.h-data: Likewise.
76636         * conform/data/sys/stat.h-data: Likewise.
76637         * conform/data/sys/types.h-data: Likewise.
76638         * conform/data/sys/wait.h-data: Likewise.
76639         * conform/data/time.h-data: Likewise.
76640         * conform/data/unistd.h-data: Likewise.
76641         * conform/data/utime.h-data: Likewise.
76643         * io/sys/stat.h: fchmod was always in POSIX.
76644         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
76645         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
76646         * rt/aio.h: Define __need_timespec before including <time.h>.
76647         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
76648         struct.  Add forward declaration of pthread_attr_t and use it in
76649         sigevent.
76650         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76651         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76652         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
76653         always remove CLK_TCK definition.
76655 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
76657         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
76659 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
76661         * conform/run-conformtest.sh: New file.
76662         * conform/Makefile: Run run-conformtest for tests.
76663         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
76664         support.
76666         * conform/data/uchar.h-data: New file.
76667         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
76668         * conform/data/arpa/inet.h-data: Likewise.
76669         * conform/data/assert.h-data: Likewise.
76670         * conform/data/complex.h-data: Likewise.
76671         * conform/data/cpio.h-data: Likewise.
76672         * conform/data/ctype.h-data: Likewise.
76673         * conform/data/dirent.h-data: Likewise.
76674         * conform/data/dlfcn.h-data: Likewise.
76675         * conform/data/errno.h-data: Likewise.
76676         * conform/data/fcntl.h-data: Likewise.
76677         * conform/data/float.h-data: Likewise.
76678         * conform/data/fmtmsg.h-data: Likewise.
76679         * conform/data/fnmatch.h-data: Likewise.
76680         * conform/data/ftw.h-data: Likewise.
76681         * conform/data/glob.h-data: Likewise.
76682         * conform/data/grp.h-data: Likewise.
76683         * conform/data/iconv.h-data: Likewise.
76684         * conform/data/inttypes.h-data: Likewise.
76685         * conform/data/langinfo.h-data: Likewise.
76686         * conform/data/libgen.h-data: Likewise.
76687         * conform/data/limits.h-data: Likewise.
76688         * conform/data/locale.h-data: Likewise.
76689         * conform/data/math.h-data: Likewise.
76690         * conform/data/monetary.h-data: Likewise.
76691         * conform/data/mqueue.h-data: Likewise.
76692         * conform/data/ndbm.h-data: Likewise.
76693         * conform/data/net/if.h-data: Likewise.
76694         * conform/data/netdb.h-data: Likewise.
76695         * conform/data/netinet/in.h-data: Likewise.
76696         * conform/data/nl_types.h-data: Likewise.
76697         * conform/data/poll.h-data: Likewise.
76698         * conform/data/pthread.h-data: Likewise.
76699         * conform/data/pwd.h-data: Likewise.
76700         * conform/data/regex.h-data: Likewise.
76701         * conform/data/sched.h-data: Likewise.
76702         * conform/data/search.h-data: Likewise.
76703         * conform/data/semaphore.h-data: Likewise.
76704         * conform/data/setjmp.h-data: Likewise.
76705         * conform/data/signal.h-data: Likewise.
76706         * conform/data/spawn.h-data: Likewise.
76707         * conform/data/stdarg.h-data: Likewise.
76708         * conform/data/stdio.h-data: Likewise.
76709         * conform/data/stdlib.h-data: Likewise.
76710         * conform/data/string.h-data: Likewise.
76711         * conform/data/strings.h-data: Likewise.
76712         * conform/data/stropts.h-data: Likewise.
76713         * conform/data/sys/ipc.h-data: Likewise.
76714         * conform/data/sys/mman.h-data: Likewise.
76715         * conform/data/sys/msg.h-data: Likewise.
76716         * conform/data/sys/resource.h-data: Likewise.
76717         * conform/data/sys/select.h-data: Likewise.
76718         * conform/data/sys/sem.h-data: Likewise.
76719         * conform/data/sys/shm.h-data: Likewise.
76720         * conform/data/sys/socket.h-data: Likewise.
76721         * conform/data/sys/stat.h-data: Likewise.
76722         * conform/data/sys/statvfs.h-data: Likewise.
76723         * conform/data/sys/time.h-data: Likewise.
76724         * conform/data/sys/timeb.h-data: Likewise.
76725         * conform/data/sys/times.h-data: Likewise.
76726         * conform/data/sys/types.h-data: Likewise.
76727         * conform/data/sys/uio.h-data: Likewise.
76728         * conform/data/sys/un.h-data: Likewise.
76729         * conform/data/sys/utsname.h-data: Likewise.
76730         * conform/data/sys/wait.h-data: Likewise.
76731         * conform/data/syslog.h-data: Likewise.
76732         * conform/data/tar.h-data: Likewise.
76733         * conform/data/termios.h-data: Likewise.
76734         * conform/data/utime.h-data: Likewise.
76735         * conform/data/utmpx.h-data: Likewise.
76736         * conform/data/varargs.h-data: Likewise.
76737         * conform/data/wchar.h-data: Likewise.
76738         * conform/data/wctype.h-data: Likewise.
76739         * conform/data/wordexp.h-data: Likewise.
76741         * include/stropts.h: New file.
76742         * include/uchar.h: New file.
76743         * include/aio.h: Changes to allow conformtest.pl to use the headers.
76744         * include/assert.h: Likewise.
76745         * include/ctype.h: Likewise.
76746         * include/dirent.h: Likewise.
76747         * include/dlfcn.h: Likewise.
76748         * include/fcntl.h: Likewise.
76749         * include/fnmatch.h: Likewise.
76750         * include/glob.h: Likewise.
76751         * include/grp.h: Likewise.
76752         * include/libio.h: Likewise.
76753         * include/locale.h: Likewise.
76754         * include/math.h: Likewise.
76755         * include/net/if.h: Likewise.
76756         * include/netdb.h: Likewise.
76757         * include/netinet/in.h: Likewise.
76758         * include/pthread.h: Likewise.
76759         * include/pwd.h: Likewise.
76760         * include/regex.h: Likewise.
76761         * include/sched.h: Likewise.
76762         * include/search.h: Likewise.
76763         * include/setjmp.h: Likewise.
76764         * include/signal.h: Likewise.
76765         * include/stdio.h: Likewise.
76766         * include/stdlib.h: Likewise.
76767         * include/string.h: Likewise.
76768         * include/sys/cdefs.h: Likewise.
76769         * include/sys/mman.h: Likewise.
76770         * include/sys/msg.h: Likewise.
76771         * include/sys/resource.h: Likewise.
76772         * include/sys/select.h: Likewise.
76773         * include/sys/socket.h: Likewise.
76774         * include/sys/stat.h: Likewise.
76775         * include/sys/statvfs.h: Likewise.
76776         * include/sys/time.h: Likewise.
76777         * include/sys/times.h: Likewise.
76778         * include/sys/uio.h: Likewise.
76779         * include/sys/utsname.h: Likewise.
76780         * include/sys/wait.h: Likewise.
76781         * include/termios.h: Likewise.
76782         * include/time.h: Likewise.
76783         * include/ulimit.h: Likewise.
76784         * include/unistd.h: Likewise.
76785         * include/utime.h: Likewise.
76786         * include/wchar.h: Likewise.
76787         * include/wctype.h: Likewise.
76788         * include/wordexp.h: Likewise.
76790         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
76792         * time/time.h: TIME_UTC must be a macro.
76793         Make timespec_get available for ISO C11 only as well.
76795 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
76797         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
76798         Reported by Peng Haitao <penght@cn.fujitsu.com>.
76800 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76802         * configure.in: Use -o not -a in test for unsupported multi-arch.
76804 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76806         * manual/texinfo.tex: Update to version 2012-01-19.16.
76808 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
76810         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
76812 2012-02-24  Roland McGrath  <roland@hack.frob.com>
76814         [BZ #13738]
76815         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
76816         * manual/fdl-1.3.texi: New file.
76817         * manual/fdl-1.1.texi: File removed.
76819         [BZ #13738]
76820         * manual/libc.texinfo (FDL_VERSION): New @set.
76821         Use it for mention of FDL in cover text.
76822         (Documentation License): Use it in @include file name.
76824 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76825             Roland McGrath  <roland@hack.frob.com>
76827         [BZ #5461]
76828         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
76829         (not LONG_LONG_MAX and LONG_LONG_MIN.
76830         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
76831         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
76832         name.
76833         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
76835 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76837         [BZ #2547]
76838         [BZ #11365]
76839         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
76840         manipulate bits before adding and subtracting TWO23[sx].
76841         * math/libm-test.inc (nearbyint_test): Add more tests.
76843 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76845         [BZ #2548]
76846         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
76847         bits before adding and subtracting TWO23[sx].
76848         * math/libm-test.inc (rint_test): Add more tests.
76849         (rint_test_tonearest): Likewise.
76850         (rint_test_towardzero): Likewise.
76851         (rint_test_downward): Likewise.
76852         (rint_test_upward: Likewise.
76854 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76856         [BZ #10110]
76857         * include/stdc-predef.h: New file.  Extracted from features.h.
76858         * include/features.h: Include stdc-predef.h.
76859         * Makefile (headers): Add stdc-predef.h.
76860         * CONFORMANCE (Compiler limitations): Update.
76862 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
76864         * manual/libc.texinfo (VERSION, UPDATED): Revert.
76866 2012-02-21  David S. Miller  <davem@davemloft.net>
76868         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
76869         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76871 2012-02-20  David S. Miller  <davem@davemloft.net>
76873         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
76874         using a normal save/restore sequence, rather than allocating a
76875         dummy stack frame just to store a frame pointer and restore.
76876         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76878 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76880         * manual/install.texi: Fix stray word in line-wrapped comment.
76882 2012-02-20  David S. Miller  <davem@davemloft.net>
76884         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
76885         both binutils and gcc support GOTDATA.
76887         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
76888         "rd %pc" in the PIC register setup sequences.
76890         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
76891         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
76892         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
76893         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
76894         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
76895         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
76896         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76897         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
76898         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
76899         (SYSCALL_ERROR_HANDLER): Likewise.
76900         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
76901         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
76902         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
76903         (SYSCALL_ERROR_HANDLER): Likewise.
76905         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
76906         (HAVE_GCC_GOTDATA): New.
76907         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
76908         relocation support in both binutils and gcc.
76909         * sysdeps/sparc/elf/configure: Regenerate.
76911         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
76912         * sysdeps/sparc/sparc32/elf/configure: Delete.
76913         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
76914         * sysdeps/sparc/sparc64/elf/configure: Delete.
76915         * sysdeps/sparc/elf/configure.in: New file.
76916         * sysdeps/sparc/elf/configure: Generate.
76918         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
76919         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
76920         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
76921         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
76922         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
76924 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76926         * manual/install.texi: Do not mention specific glibc version
76927         numbers.
76928         * manual/libc.texinfo (VERSION, UPDATED): Update.
76929         (@copying): Use @copyright{} and range of years.
76931 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
76933         [BZ #13695]
76934         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
76935         [crti.S not in sysdirs] (generated): Do not append.
76936         [crti.S not in sysdirs] (omit-deps): Likewise.
76937         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
76938         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
76939         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
76940         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
76941         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
76942         Likewise.
76943         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
76944         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
76945         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
76946         * csu/defs.awk: Remove file.
76947         * sysdeps/generic/initfini.c: Likewise.
76948         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
76949         variable.
76950         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
76951         Likewise.
76953 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76955         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
76956         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
76957         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
76958         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
76959         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76960         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
76961         <bits/epoll.h>.
76962         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
76963         (__EPOLL_PACKED): Define to empty if not defined by
76964         <bits/epoll.h>.
76965         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
76966         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76967         bits/epoll.h.
76969 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76971         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
76972         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
76973         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
76974         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
76975         <bits/timerfd.h>.
76976         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
76977         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76978         bits/timerfd.h.
76980 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
76982         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
76983         in C locale.
76984         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
76985         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
76986         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
76987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76989 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
76991         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76992         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
76994 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
76996         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
76997         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
76998         defined.
76999         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77000         Likewise.
77001         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77002         entry for 2.16.
77004 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77006         * math/w_acos.c: Use non-signaling floating-point comparisons.
77007         * math/w_acosf.c: Likewise.
77008         * math/w_acosh.c: Likewise.
77009         * math/w_acoshf.c: Likewise.
77010         * math/w_acoshl.c: Likewise.
77011         * math/w_acosl.c: Likewise.
77012         * math/w_asin.c: Likewise.
77013         * math/w_asinf.c: Likewise.
77014         * math/w_asinl.c: Likewise.
77015         * math/w_atanh.c: Likewise.
77016         * math/w_atanhf.c: Likewise.
77017         * math/w_atanhl.c: Likewise.
77018         * math/w_exp2.c: Likewise.
77019         * math/w_exp2f.c: Likewise.
77020         * math/w_exp2l.c: Likewise.
77021         * math/w_j0.c: Likewise.
77022         * math/w_j0f.c: Likewise.
77023         * math/w_j0l.c: Likewise.
77024         * math/w_j1.c: Likewise.
77025         * math/w_j1f.c: Likewise.
77026         * math/w_j1l.c: Likewise.
77027         * math/w_jn.c: Likewise.
77028         * math/w_jnf.c: Likewise.
77029         * math/w_log.c: Likewise.
77030         * math/w_log10.c: Likewise.
77031         * math/w_log10f.c: Likewise.
77032         * math/w_log10l.c: Likewise.
77033         * math/w_log2.c: Likewise.
77034         * math/w_log2f.c: Likewise.
77035         * math/w_log2l.c: Likewise.
77036         * math/w_logf.c: Likewise.
77037         * math/w_logl.c: Likewise.
77038         * math/w_sqrt.c: Likewise.
77039         * math/w_sqrtf.c: Likewise.
77040         * math/w_sqrtl.c: Likewise.
77041         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77042         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77043         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77044         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77045         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77047 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77049         [BZ #9739]
77050         * manual/string.texi (strnlen): Use correct parameter name in
77051         equivalent expression.
77053 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77055         [BZ #11174]
77056         * manual/users.texi (seteuid): Consistently use neweuid for
77057         argument name.
77059 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77061         [BZ #13704]
77062         * manual/nss.texi (Services in the NSS configuration): Correct
77063         list of services in example configuration file.
77065 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77067         [BZ #11322]
77068         * manual/arith.texi: Remove statements about negative zero
77069         behaving identically to zero.
77071 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77073         [BZ #5993]
77074         * manual/install.texi: Do not document upgrading from libc5.
77076 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77078         [BZ #4596]
77079         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77081 2012-02-18  David S. Miller  <davem@davemloft.net>
77083         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77084         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77085         %o7 across the call.
77086         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77087         instead.
77088         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77089         SETUP_PIC_REG_LEAF.
77090         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77091         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77092         * sysdeps/sparc/crtn.S: Likewise.
77094 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77096         * aout/Makefile: Remove.
77098 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77100         [BZ #13058]
77101         * manual/examples/argp-ex1.c (main): Format definition in GNU
77102         style.
77103         * manual/examples/argp-ex2.c (main): Likewise.
77104         * manual/examples/argp-ex3.c (main): Likewise.
77105         * manual/examples/argp-ex4.c (main): Likewise.
77106         * manual/examples/longopt.c (main): Use new-style prototype
77107         definition.
77108         * manual/examples/strncat.c (main): Specify return type and use
77109         (void) for arguments.
77110         * manual/examples/subopt.c (main): Use char **argv argument.
77112 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77114         [BZ #5077]
77115         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77116         rounding modes.
77118 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77120         [BZ #6907]
77121         * manual/string.texi (strchr): Change when strchrnul is
77122         recommended.
77124 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77126         [BZ #174]
77127         * manual/locale.texi (setlocale): Document LOCPATH.
77129 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77131         [BZ #10210]
77132         * manual/process.texi (execle): Move @dots{} before last argument.
77134 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
77136         [BZ #12047]
77137         * manual/charset.texi (Generic Charset Conversion): Fix typo
77138         (LC_TYPE -> LC_CTYPE).
77140 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
77142         [BZ #5805]
77143         * manual/arith.texi (scalbn): Use @var{} on parameter names.
77144         (scalbnf): Likewise.
77145         (scalbnl): Likewise.
77146         (scalbln): Likewise.
77147         (scalblnf): Likewise.
77148         (scalblnl): Likewise.
77149         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
77150         (vwarnx): Likewise.
77151         (verr): Likewise.
77152         (verrx): Likewise.
77153         * manual/filesys.texi (telldir): Use braces around return type.
77154         * manual/llio.texi (mmap): Add space after comma.
77155         (mmap64): Likewise.
77156         * manual/math.texi (jn): Use @var{} on parameter names.
77157         (jnf): Likewise.
77158         (jnl): Likewise.
77159         (yn): Likewise.
77160         (ynf): Likewise.
77161         (ynl): Likewise.
77162         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
77163         line.
77164         * manual/resource.texi (ulimit): Use @dots{} instead of literal
77165         "...".
77166         (sched_get_priority_min): Remove semicolon on @deftypefun line.
77167         (sched_get_priority_max): Likewise.
77168         * manual/signal.texi (sigvec): Add space after comma.
77169         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
77170         names.
77171         (if_indextoname): Likewise.
77172         (if_freenameindex): Likewise.
77173         (sendto): Use ',' instead of '.' in prototype.
77174         * manual/startup.texi (syscall): Use @dots{} instead of literal
77175         "...".
77176         * manual/stdio.texi (__fpending): Separate initial words of
77177         paragraph from @deftypefun line.
77178         * manual/syslog.texi (syslog): Use @dots{} instead of literal
77179         "...".
77180         (vsyslog): Use @var{} on parameter names.
77181         * manual/terminal.texi (stty): Use @var{} on parameter names.
77182         * manual/users.texi (getutmp): Use @var{} on parameter names.
77183         (getutmpx): Likewise.
77185 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77187         [BZ #6884]
77188         * manual/stdio.texi (fopen): Fix typos in description of
77189         ",ccs=STRING".
77191 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
77193         [BZ #4026]
77194         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
77195         get clock_id definition.
77197 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
77199         [BZ #4822]
77200         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
77201         (madvise): Cast every argument to void on its own.
77203 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77205         [BZ #9902]
77206         * manual/startup.texi (Exit Status): Fix typo.
77208 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77210         [BZ #10140]
77211         * manual/examples/argp-ex1.c: Include <stdlib.h>.
77212         * manual/examples/argp-ex2.c: Likewise.
77213         * manual/examples/argp-ex3.c: Likewise.
77215 2012-02-16  Richard Henderson  <rth@redhat.com>
77217         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
77218         * sysdeps/s390/s390-32/initfini.c: Remove.
77219         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
77220         * sysdeps/s390/s390-64/initfini.c: Remove.
77222 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77224         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
77225         compiler output for sysdeps/generic/initfini.c.
77226         * sysdeps/sh/elf/initfini.c: Remove file.
77228 2012-02-16  David S. Miller  <davem@davemloft.net>
77230         [BZ #11494]
77231         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
77233         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
77234         * sysdeps/sparc/crti.S: New file.
77235         * sysdeps/sparc/crtn.S: New file.
77236         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
77237         * sysdeps/sparc/sparc64/Makefile: Likewise.
77239 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
77241         [BZ #3335]
77242         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
77244 2012-02-15  Roland McGrath  <roland@hack.frob.com>
77246         [BZ #4822]
77247         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
77249         * mach/devstream.c (cookie_io_functions_t): Macro removed.
77250         (write, read, close): Likewise.
77251         Patch by Aurelien Jarno <aurelien@aurel32.net>.
77253 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
77255         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
77256         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
77257         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
77258         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
77259         <bits/signalfd.h>.
77260         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
77261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77262         bits/signalfd.h.
77264 2012-02-14  Marek Polacek  <polacek@redhat.com>
77266         * sysdeps/x86_64/crti.S: New file.
77267         * sysdeps/x86_64/crtn.S: New file.
77268         * sysdeps/x86_64/elf/initfini.c: Remove file.
77270 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77272         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
77273         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
77274         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
77275         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
77276         <bits/inotify.h>.
77277         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
77278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77279         bits/inotify.h.
77281 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
77283         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
77284         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
77285         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
77286         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
77287         <bits/eventfd.h>.
77288         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
77289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77290         bits/eventfd.h.
77292 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
77294         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
77295         __feraiseexcept instead of feraiseexcept.
77297         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
77298         nanosleep invocations.
77299         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
77300         strings, and add error checking for a nanosleep invocations.
77302 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
77304         Replace FSF snail mail address with URLs, as per GNU coding standards.
77305         Most of the snail mail addresses were wrong anyway, and omitting
77306         them makes the source code easier to maintain.  Almost all of the
77307         changes are to license notices and to locale LC_IDENTIFICATION
77308         addresses, except for this one:
77309         * manual/libc.texinfo: In "Published by", give the FSF's URL,
77310         not its snail mail address.
77312 2012-02-09  Richard Henderson  <rth@twiddle.net>
77314         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
77315         of kernel-features.h.
77317         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
77319 2012-02-08  Marek Polacek  <polacek@redhat.com>
77321         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
77322         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
77323         * sysdeps/gnu/_G_config.h: Likewise.
77324         * sysdeps/generic/_G_config.h: Likewise.
77326 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
77328         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
77329         tests.
77330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77332         * sysdeps/powerpc/powerpc32/crti.S: New file.
77333         * sysdeps/powerpc/powerpc32/crtn.S: New file.
77334         * sysdeps/powerpc/powerpc64/crti.S: New file.
77335         * sysdeps/powerpc/powerpc64/crtn.S: New file.
77337         * Makeconfig (have-initfini): Don't set.
77338         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
77339         * configure.in (nopic_initfini): Don't substitute.
77340         * config.h.in (HAVE_INITFINI): Don't #undef.
77341         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
77342         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
77344 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
77346         Support crti.S and crtn.S provided directly by architectures.
77347         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
77348         [crti.S in sysdirs] (omit-deps): Likewise.
77349         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
77350         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
77351         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
77352         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
77353         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
77354         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
77355         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
77356         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
77357         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
77358         compiler output for sysdeps/generic/initfini.c.
77359         * sysdeps/i386/elf/Makefile: Remove file.
77360         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
77362 2012-02-07  Marek Polacek  <polacek@redhat.com>
77364         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
77365         * sysdeps/gnu/_G_config.h: Likewise.
77366         * sysdeps/mach/hurd/_G_config.h: Likewise.
77368 2012-02-07  Marek Polacek  <polacek@redhat.com>
77370         * math/Makefile (tests): Add tst-CMPLX2.
77371         * math/tst-CMPLX2.c: New file.
77373 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
77375         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77377         * math/libm-test.inc (jn_test): Add missing L suffix.
77379 2012-02-06  Marek Polacek  <polacek@redhat.com>
77381         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
77382         * sysdeps/i386/fpu/e_powf.S: Likewise.
77383         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77384         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
77385         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77386         * sysdeps/i386/fpu/e_pow.S: Likewise.
77387         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
77388         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77389         * sysdeps/i386/fpu/s_expm1.S: Likewise.
77390         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
77391         * sysdeps/i386/fpu/e_log2.S: Likewise.
77392         * sysdeps/i386/fpu/e_log2l.S: Likewise.
77393         * sysdeps/i386/fpu/e_scalb.S: Likewise.
77394         * sysdeps/i386/fpu/e_powl.S: Likewise.
77395         * sysdeps/i386/fpu/s_log1p.S: Likewise.
77396         * sysdeps/i386/fpu/e_log10f.S: Likewise.
77397         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
77398         * sysdeps/i386/fpu/e_logl.S: Likewise.
77399         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
77400         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
77401         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
77402         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
77403         * sysdeps/i386/fpu/e_log2f.S: Likewise.
77404         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77405         * sysdeps/i386/fpu/e_log.S: Likewise.
77406         * sysdeps/i386/fpu/s_cexp.S: Likewise.
77407         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
77408         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
77409         * sysdeps/i386/fpu/e_logf.S: Likewise.
77410         * sysdeps/i386/fpu/e_log10l.S: Likewise.
77411         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77412         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
77413         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
77414         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
77415         * sysdeps/i386/fpu/e_log10.S: Likewise.
77416         * sysdeps/i386/fpu/s_frexp.S: Likewise.
77417         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77418         * sysdeps/i386/fpu/s_asinh.S: Likewise.
77419         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
77420         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
77421         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
77422         * sysdeps/i386/asm-syntax.h: Likewise.
77423         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
77424         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77425         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
77426         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
77427         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
77428         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
77429         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
77430         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
77431         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
77432         * sysdeps/powerpc/sysdep.h: Likewise.
77433         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
77434         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
77436 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77438         [BZ #411]
77439         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
77441 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
77443         * sysdeps/i386/sysdep.h: Include <features.h>.
77444         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
77445         version.
77447 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
77449         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
77450         Define.
77451         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
77452         LOAD_PIC_REG_STR.
77454 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77456         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
77457         (SETUP_PIC_REG): Use GET_PC_THUNK.
77458         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
77459         macro.
77461 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77463         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
77464         for non-PIC compilation.
77465         (SETUP_PIC_REG): Add .p2align directive.
77466         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
77467         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
77468         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
77469         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
77470         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
77471         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
77472         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
77473         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77474         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
77475         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
77476         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
77477         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
77478         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
77479         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
77480         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
77481         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
77482         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
77483         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
77484         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
77485         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
77486         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
77487         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
77488         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
77489         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
77490         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
77491         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
77492         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
77493         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
77494         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
77495         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
77496         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
77497         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
77498         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
77499         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
77500         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
77501         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
77502         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
77503         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
77504         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
77505         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
77506         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
77508 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
77510         * math/tst-CMPLX.c: Include <stdio.h>.
77512 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
77514         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
77515         float.
77516         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77517         * sysdeps/sparc/bits/mathdef.h: Likewise.
77519 2012-01-31  Marek Polacek  <polacek@redhat.com>
77521         * libio/libio.h: Don't define _PARAMS.
77522         * locale/programs/config.h: Don't define PARAMS.
77523         * stdlib/strtol_l.c: Likewise.
77524         (__strtol_l): Remove PARAMS from the prototype.
77526 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
77528         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
77529         names.  Just use the correct names.  Remove unnecessary wrapper
77530         functions.
77531         * malloc/arena.c: Likewise.
77532         * malloc/hooks.c: Likewise.
77534         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
77535         ARENA_TEST says not to.  Simplify test for creation of a new arena.
77536         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
77538 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
77540         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
77541         into tail calls.
77542         (update_get_addr): New function.
77543         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
77544         GET_ADDR_MODULE parameter.
77546 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77548         * crypt/cert.c: Remove __STDC__ conditionals.
77549         * crypt/crypt-entry.c: Likewise.
77550         * crypt/crypt_util.c: Likewise.
77551         * libio/filedoalloc.c: Likewise.
77552         * libio/fileops.c: Likewise.
77553         * libio/genops.c: Likewise.
77554         * libio/iofclose.c: Likewise.
77555         * libio/iofdopen.c: Likewise.
77556         * libio/iofopen.c: Likewise.
77557         * libio/iofopen64.c: Likewise.
77558         * libio/iogetdelim.c: Likewise.
77559         * libio/iopopen.c: Likewise.
77560         * libio/obprintf.c: Likewise.
77561         * libio/oldfileops.c: Likewise.
77562         * libio/oldiofclose.c: Likewise.
77563         * libio/oldiofdopen.c: Likewise.
77564         * libio/oldiofopen.c: Likewise.
77565         * libio/oldiopopen.c: Likewise.
77566         * libio/wfiledoalloc.c: Likewise.
77567         * libio/wgenops.c: Likewise.
77568         * locale/programs/xmalloc.c: Likewise.
77569         * misc/syslog.c: Likewise.
77570         * stdio-common/xbug.c: Likewise.
77571         * string/memchr.c: Likewise.
77572         * string/memcmp.c: Likewise.
77573         * string/memrchr.c: Likewise.
77574         * string/rawmemchr.c: Likewise.
77575         * sysdeps/posix/getcwd.c: Likewise.
77576         * time/strftime_l.c: Likewise.
77578 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
77580         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
77581         * config.make.in (config-cflags-sse2avx): Define.
77582         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
77583         Fix typo.
77585 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
77587         * scripts/config.guess: Update from upstream config git repository.
77588         * scripts/config.sub: Likewise.
77590 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
77592         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
77593         (EM_NUM): Update.
77594         (R_TILEPRO_*, R_TILEGX_*): New macros.
77596         * scripts/firstversions.awk: Fix bug in version range handling.
77598         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
77600         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
77602         * include/sys/epoll.h: New file.
77603         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
77604         libc_hidden_def.
77606 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
77608         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
77609         Avoid unnecessary __WORDSIZE == 64 test.
77610         (fmaxf): Use VEX format if possible.
77611         (fmax): Likewise.
77612         (fminf): Likewise.
77613         (fmin): Likewise.
77615         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
77616         * math/math_private.h: Remove libc_fegetround* and
77617         libc_fesetround*.
77618         * sysdeps/i386/configure.in: Check for -msse2avx.
77619         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
77620         also if SSE2AVX is defined.
77621         Remove libc_fegetround* and libc_fesetround*.
77622         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
77623         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
77624         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
77625         of HAS_YMM_USABLE.
77626         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77627         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77628         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77629         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77630         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77632         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
77634 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77636         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
77637         size is not set.
77638         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77640 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
77642         [BZ #13618]
77643         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
77644         relocation.
77645         * Makeconfig (libm): Define.
77646         * elf/Makefile: Add rules to build and run tst-relsort1.
77647         * elf/tst-relsort1.c: New file.
77648         * elf/tst-relsort1mod1.c: New file.
77649         * elf/tst-relsort1mod2.c: New file.
77651 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
77653         * math/s_ldexp.c: Remove __STDC__ conditionals.
77654         * math/s_ldexpf.c: Likewise.
77655         * math/s_ldexpl.c: Likewise.
77656         * math/s_nextafter.c: Likewise.
77657         * math/s_nexttowardf.c: Likewise.
77658         * math/s_significand.c: Likewise.
77659         * math/s_significandf.c: Likewise.
77660         * math/s_significandl.c: Likewise.
77661         * math/w_jnl.c: Likewise.
77662         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
77663         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
77664         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
77665         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
77666         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
77667         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
77668         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
77669         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
77670         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
77671         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
77672         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
77673         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77674         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
77675         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
77676         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
77677         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
77678         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
77679         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
77680         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
77681         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
77682         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
77683         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
77684         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
77685         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
77686         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
77687         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
77688         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
77689         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
77690         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
77691         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
77692         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
77693         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
77694         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
77695         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
77696         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
77697         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
77698         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
77699         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
77700         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
77701         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
77702         * sysdeps/ieee754/k_standard.c: Likewise.
77703         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
77704         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
77705         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
77706         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
77707         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
77708         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
77709         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
77710         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
77711         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
77712         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
77713         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
77714         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
77715         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
77716         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
77717         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
77718         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
77719         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
77720         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
77721         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
77722         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
77723         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
77724         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
77725         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
77726         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
77727         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
77728         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
77729         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
77730         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
77731         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77732         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
77733         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
77734         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
77735         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
77736         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
77737         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
77738         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
77739         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
77740         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
77741         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
77742         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
77743         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
77744         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
77745         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
77746         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
77747         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
77748         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
77749         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
77750         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
77751         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
77752         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
77753         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
77754         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
77755         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
77756         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
77757         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
77758         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
77759         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
77760         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
77761         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
77762         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
77763         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
77764         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
77765         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
77766         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
77767         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
77768         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
77769         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
77770         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
77771         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
77772         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
77773         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
77774         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
77775         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
77776         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
77777         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
77778         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
77779         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
77780         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
77781         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
77782         * sysdeps/ieee754/s_matherr.c: Likewise.
77783         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
77784         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
77785         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77786         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77788 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77790         * crypt/md5.h: Remove __STDC__ conditionals.
77791         * libio/libioP.h: Likewise.
77792         * locale/programs/config.h: Likewise.
77793         * sysdeps/generic/sysdep.h: Likewise.
77794         * sysdeps/i386/asm-syntax.h: Likewise.
77795         * sysdeps/s390/asm-syntax.h: Likewise.
77796         * sysdeps/unix/sysdep.h: Likewise.
77797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
77798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
77800 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
77802         * libio/libio.h: Remove __STDC__ conditionals.
77803         * malloc/obstack.h: Likewise.
77804         * math/complex.h: Likewise.
77805         * math/math.h: Likewise.
77806         * sysdeps/generic/_G_config.h: Likewise.
77807         * sysdeps/gnu/_G_config.h: Likewise.
77808         * sysdeps/mach/hurd/_G_config.h: Likewise.
77809         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77810         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
77811         * sysdeps/sparc/bits/mathdef.h: Likewise.
77813 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
77815         [BZ #13583]
77816         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
77817         Clean up HAS_* macros.
77818         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
77819         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
77820         possible.
77821         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
77822         HAS_AVX.
77823         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77824         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77825         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77826         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77827         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77829 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
77831         * elf/tst-unique3.cc (gets): Remove declaration.
77832         * elf/tst-unique3lib.cc (gets): Likewise.
77833         * elf/tst-unique3lib2.cc (gets): Likewise.
77834         * elf/tst-unique4.cc (gets): Likewise.
77836 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
77838         * include/stdio.h: Add C++ protection.  Add gets declarations and
77839         definitions.
77840         * debug/tst-chk1.c: Don't declare gets here.
77841         * stdio-common/tst-gets.c: Likewise.
77843 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77845         * posix/glob: Remove directory.
77847 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
77849         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
77851 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
77853         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
77854         of the non-standard EPFNOSUPPORT.
77856 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77858         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
77859         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
77860         ANYWHERE set to 1 only on KERN_NO_SPACE error.
77862 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
77864         * wcsmbs/uchar.h: Test __STDC_VERSION__.
77866 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
77868         * nscd/aicache.c (addhstaiX): Do not cache negative results of
77869         transient errors.
77870         * nscd/grpcache.c (cache_addgr): Likewise.
77871         * nscd/hstcache.c (cache_addhst): Likewise.
77872         * nscd/initgrcache.c (addinitgroupsX): Likewise.
77873         * nscd/pwdcache.c (cache_addpw): Likewise.
77874         * nscd/servicescache.c (cache_addserv): Likewise.
77876 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
77878         * malloc/malloc.c: Various cleanups.
77879         * malloc/hooks.c: Likewise.
77881         * stdlib/Makefile (tests): Add bug-fmtmsg1.
77882         * stdlib/bug-fmtmsg1.c: New file.
77884         * stdlib/fmtmsg.c (init): Add missing unlock.
77885         Patch by Peng Haitao <penght@cn.fujitsu.com>.
77887 2012-01-12  Marek Polacek  <polacek@redhat.com>
77889         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
77890         and _GNU_SOURCE.
77892 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77894         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
77895         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
77896         macro to ensure uniqueness of label name.
77897         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
77898         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
77900 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
77902         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
77904         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
77905         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
77906         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
77907         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
77909 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
77911         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
77913         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
77914         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
77915         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
77917         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
77919         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
77920         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
77921         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
77922         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
77924         * math/bits/math-finite.h: Add ldexp support.
77926 2012-01-10  Marek Polacek  <polacek@redhat.com>
77928         * locale/programs/localedef.h (show_archive_content): Add noreturn
77929         attribute.
77931 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
77933         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
77935 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77937         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
77939         * io/Makefile (headers): Add bits/poll2.h.
77941 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
77943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
77944         typo #include statement.
77946 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77948         * include/sys/cdefs.h: Define __attribute_alloc_size.
77949         * catgets/gencat.c: Add alloc_size attribute and apply consistently
77950         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
77951         * elf/pldd.c: Likewise.
77952         * iconv/iconv_charmap.c: Likewise.
77953         * iconv/iconvconfig.c: Likewise.
77954         * iconv/strtab.c: Likewise.
77955         * locale/programs/locale.c: Likewise.
77956         * locale/programs/localedef.h: Likewise.
77957         * locale/programs/simple-hash.c: Likewise.
77958         * nscd/nscd.h: Likewise.
77959         * nss/makedb.c: Likewise.
77960         * sysdeps/generic/ldconfig.h: Likewise.
77961         * locale/programs/localedef.c: Remove xmalloc prototype.
77962         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
77964 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77966         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
77967         appropriate.
77969 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
77971         * math/Makefile (tests): Add tst-CMPLX.
77972         * math/tst-CMPLX.c: New file.
77974         * math/complex.h (CMPLXL): Fix typo.
77976         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
77977         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
77978         GLIBC_2.16.
77979         * debug/tst-chk1.c: Add poll and ppoll tests.
77980         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
77981         * include/sys/poll.h: Add hidden proto for ppoll.
77982         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
77983         * sysdeps/mach/hurd/ppoll.c: Likewise.
77984         * io/ppoll.c: Likewise.
77985         * debug/poll_chk.c: New file.
77986         * debug/ppoll_chk.c: New file.
77987         * include/bits/poll2.h: New file.
77988         * io/bits/poll2.h: New file.
77990         [BZ #1350]
77991         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
77993         * configure.in: static is always set to yes.  Remove.
77994         * config.make.in: Don't set build-static.
77995         * Makeconfig: Remove use of build-static.
77996         * dlfcn/Makefile: Likewise.
77997         * elf/Makefile: Likewise.
77998         * math/Makefile: Likewise.
77999         * misc/Makefile: Likewise.
78000         * nptl/Makefile: Likewise.
78001         * sysdeps/mach/hurd/Makefile: Likewise.
78003         * configure.in: PWD_P is not used anymore.
78004         * config.make.in: Remove PWD_P entry.
78006         * configure.in: Remove last remnants of RANLIB.
78007         No need to check for signed size_t anymore.
78008         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78009         and IA-64.
78010         Remove __builtin_expect test because we require at least gcc 3.4.
78011         * aclocal.m4: Likewise.
78013         * wcsmbs/mbrtoc16.c: Implement using towc function.
78014         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78015         * wcsmbs/wcsmbsload.c: Likewise.
78016         * iconv/gconv_simple.c: Likewise.
78017         * iconv/gconv_int.h: Likewise.
78018         * iconv/gconv_builtin.h: Likewise.
78019         * iconv/iconv_prog.c: Remove CHAR16 handling.
78021         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78023         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78025         * configure.in: Remove --with-elf and --enable-bounded options.
78026         Dont set base_machine for ia64.  More non-ELF conditions removed.
78027         Remove testing and setting of leading underscore information.
78028         * config.make.in (build-bounded): Set to no.
78029         * config.h.in: Remove NO_UNDERSCORES entry.
78030         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78031         them.
78032         * csu/start.c: Remove !NO_UNDERSCORE code.
78033         * locale/localeinfo.h: Likewise.
78034         * sysdeps/generic/machine-gmon.h: Likewise.
78035         * sysdeps/generic/sysdep.h: Likewise.
78036         * sysdeps/i386/sysdep.h: Likewise.
78037         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78038         * sysdeps/mach/sysdep.h: Likewise.
78039         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78040         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78041         * sysdeps/sh/sysdep.h: Likewise.
78042         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78043         * sysdeps/unix/i386/sysdep.S: Likewise.
78044         * sysdeps/unix/sparc/start.c: Likewise.
78045         * sysdeps/unix/sparc/sysdep.S: Likewise.
78046         * sysdeps/unix/sparc/sysdep.h: Likewise.
78047         * sysdeps/unix/start.c: Likewise.
78048         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78049         * sysdeps/x86_64/sysdep.h: Likewise.
78051 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78053         [BZ #13553]
78054         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78055         for non-gcc.
78056         * argp/argp-fmtstream.h: Use const instead __const.
78057         * argp/argp.h: Likewise.
78058         * assert/assert.h: Likewise.
78059         * bits/fenv.h: Likewise.
78060         * bits/sched.h: Likewise.
78061         * bits/sigset.h: Likewise.
78062         * bits/sigthread.h: Likewise.
78063         * catgets/nl_types.h: Likewise.
78064         * conform/data/pthread.h-data: Likewise.
78065         * crypt/crypt-private.h: Likewise.
78066         * crypt/crypt.h: Likewise.
78067         * crypt/crypt_util.c: Likewise.
78068         * ctype/ctype.h: Likewise.
78069         * debug/execinfo.h: Likewise.
78070         * debug/mbsnrtowcs_chk.c: Likewise.
78071         * debug/mbsrtowcs_chk.c: Likewise.
78072         * debug/wcsnrtombs_chk.c: Likewise.
78073         * debug/wcsrtombs_chk.c: Likewise.
78074         * debug/wcstombs_chk.c: Likewise.
78075         * dirent/dirent.h: Likewise.
78076         * dlfcn/dlfcn.h: Likewise.
78077         * elf/neededtest4.c: Likewise.
78078         * grp/grp.h: Likewise.
78079         * gshadow/gshadow.h: Likewise.
78080         * iconv/gconv.h: Likewise.
78081         * iconv/gconv_int.h: Likewise.
78082         * iconv/gconv_simple.c: Likewise.
78083         * iconv/iconv.h: Likewise.
78084         * iconv/loop.c: Likewise.
78085         * iconv/skeleton.c: Likewise.
78086         * include/aio.h: Likewise.
78087         * include/aliases.h: Likewise.
78088         * include/argz.h: Likewise.
78089         * include/arpa/inet.h: Likewise.
78090         * include/assert.h: Likewise.
78091         * include/dirent.h: Likewise.
78092         * include/dlfcn.h: Likewise.
78093         * include/execinfo.h: Likewise.
78094         * include/fcntl.h: Likewise.
78095         * include/fenv.h: Likewise.
78096         * include/glob.h: Likewise.
78097         * include/grp.h: Likewise.
78098         * include/libintl.h: Likewise.
78099         * include/mntent.h: Likewise.
78100         * include/netdb.h: Likewise.
78101         * include/pwd.h: Likewise.
78102         * include/rpc/netdb.h: Likewise.
78103         * include/sched.h: Likewise.
78104         * include/search.h: Likewise.
78105         * include/shadow.h: Likewise.
78106         * include/signal.h: Likewise.
78107         * include/stdio.h: Likewise.
78108         * include/stdlib.h: Likewise.
78109         * include/string.h: Likewise.
78110         * include/sys/socket.h: Likewise.
78111         * include/sys/stat.h: Likewise.
78112         * include/sys/statfs.h: Likewise.
78113         * include/sys/statvfs.h: Likewise.
78114         * include/sys/syslog.h: Likewise.
78115         * include/sys/time.h: Likewise.
78116         * include/sys/uio.h: Likewise.
78117         * include/time.h: Likewise.
78118         * include/unistd.h: Likewise.
78119         * include/utmp.h: Likewise.
78120         * include/wchar.h: Likewise.
78121         * include/wctype.h: Likewise.
78122         * inet/aliases.h: Likewise.
78123         * inet/arpa/inet.h: Likewise.
78124         * inet/netinet/ether.h: Likewise.
78125         * inet/netinet/in.h: Likewise.
78126         * intl/libintl.h: Likewise.
78127         * io/bits/fcntl2.h: Likewise.
78128         * io/fcntl.h: Likewise.
78129         * io/ftw.h: Likewise.
78130         * io/sys/poll.h: Likewise.
78131         * io/sys/stat.h: Likewise.
78132         * io/sys/statfs.h: Likewise.
78133         * io/sys/statvfs.h: Likewise.
78134         * io/utime.h: Likewise.
78135         * libio/bits/stdio.h: Likewise.
78136         * libio/bits/stdio2.h: Likewise.
78137         * libio/libio.h: Likewise.
78138         * libio/libioP.h: Likewise.
78139         * libio/stdio.h: Likewise.
78140         * locale/lc-ctype.c: Likewise.
78141         * locale/locale.h: Likewise.
78142         * login/utmp.h: Likewise.
78143         * malloc/arena.c: Likewise.
78144         * malloc/malloc.c: Likewise.
78145         * malloc/malloc.h: Likewise.
78146         * malloc/mcheck.c: Likewise.
78147         * malloc/mtrace.c: Likewise.
78148         * math/bits/mathcalls.h: Likewise.
78149         * math/fenv.h: Likewise.
78150         * math/math_private.h: Likewise.
78151         * misc/bits/error.h: Likewise.
78152         * misc/bits/syslog.h: Likewise.
78153         * misc/err.h: Likewise.
78154         * misc/error.h: Likewise.
78155         * misc/fstab.h: Likewise.
78156         * misc/mntent.h: Likewise.
78157         * misc/regexp.h: Likewise.
78158         * misc/search.h: Likewise.
78159         * misc/sgtty.h: Likewise.
78160         * misc/sys/mman.h: Likewise.
78161         * misc/sys/syslog.h: Likewise.
78162         * misc/sys/uio.h: Likewise.
78163         * misc/sys/xattr.h: Likewise.
78164         * misc/ttyent.h: Likewise.
78165         * nis/rpcsvc/ypclnt.h: Likewise.
78166         * nss/nss.h: Likewise.
78167         * posix/bits/unistd.h: Likewise.
78168         * posix/fnmatch.h: Likewise.
78169         * posix/glob.h: Likewise.
78170         * posix/sched.h: Likewise.
78171         * posix/spawn.h: Likewise.
78172         * posix/sys/wait.h: Likewise.
78173         * posix/unistd.h: Likewise.
78174         * posix/wordexp.h: Likewise.
78175         * pwd/pwd.h: Likewise.
78176         * resolv/netdb.h: Likewise.
78177         * resource/sys/resource.h: Likewise.
78178         * rt/aio.h: Likewise.
78179         * rt/bits/mqueue2.h: Likewise.
78180         * rt/mqueue.h: Likewise.
78181         * shadow/shadow.h: Likewise.
78182         * signal/signal.h: Likewise.
78183         * socket/send.c: Likewise.
78184         * socket/sendto.c: Likewise.
78185         * socket/sys/socket.h: Likewise.
78186         * stdio-common/printf.h: Likewise.
78187         * stdlib/bits/stdlib.h: Likewise.
78188         * stdlib/fmtmsg.h: Likewise.
78189         * stdlib/monetary.h: Likewise.
78190         * stdlib/stdlib.h: Likewise.
78191         * stdlib/ucontext.h: Likewise.
78192         * streams/stropts.h: Likewise.
78193         * string/argz.h: Likewise.
78194         * string/bits/string2.h: Likewise.
78195         * string/string.h: Likewise.
78196         * string/strings.h: Likewise.
78197         * sunrpc/rpc/auth.h: Likewise.
78198         * sunrpc/rpc/auth_des.h: Likewise.
78199         * sunrpc/rpc/clnt.h: Likewise.
78200         * sunrpc/rpc/netdb.h: Likewise.
78201         * sunrpc/rpc/pmap_clnt.h: Likewise.
78202         * sunrpc/rpc/xdr.h: Likewise.
78203         * sysdeps/generic/inttypes.h: Likewise.
78204         * sysdeps/generic/net/if.h: Likewise.
78205         * sysdeps/generic/sys/swap.h: Likewise.
78206         * sysdeps/gnu/net/if.h: Likewise.
78207         * sysdeps/gnu/utmpx.h: Likewise.
78208         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
78209         * sysdeps/i386/i486/bits/string.h: Likewise.
78210         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
78211         * sysdeps/s390/bits/string.h: Likewise.
78212         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
78213         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
78214         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
78215         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
78216         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
78217         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
78218         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
78219         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
78220         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
78221         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
78222         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
78223         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
78224         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
78225         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
78226         * sysdeps/unix/sysv/linux/readv.c: Likewise.
78227         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
78228         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
78229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78230         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
78231         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
78232         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78233         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
78234         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
78235         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
78236         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
78237         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
78238         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
78239         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78240         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
78241         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
78242         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
78243         * sysvipc/sys/ipc.h: Likewise.
78244         * sysvipc/sys/msg.h: Likewise.
78245         * sysvipc/sys/sem.h: Likewise.
78246         * sysvipc/sys/shm.h: Likewise.
78247         * termios/termios.h: Likewise.
78248         * time/sys/time.h: Likewise.
78249         * time/time.h: Likewise.
78250         * wcsmbs/bits/wchar2.h: Likewise.
78251         * wcsmbs/uchar.h: Likewise.
78252         * wcsmbs/wchar.h: Likewise.
78253         * wctype/wctype.h: Likewise.
78255         [BZ #13551]
78256         * Makeconfig: Remove all but ELF support including AIX support.
78257         * Makerules: Likewise.
78258         * config.h.in: Likewise.
78259         * config.make.in: Likewise.
78260         * configure: Likewise.
78261         * configure.in: Likewise.
78262         * csu/Makefile: Likewise.
78263         * csu/version.c: Likewise.
78264         * debug/Makefile: Likewise.
78265         * dlfcn/Makefile: Likewise.
78266         * elf/Makefile: Likewise.
78267         * extra-lib.mk: Likewise.
78268         * iconv/Makefile: Likewise.
78269         * include/libc-symbols.h: Likewise.
78270         * include/shlib-compat.h: Likewise.
78271         * resolv/Makefile: Likewise.
78272         * resolv/res_libc.c: Likewise.
78273         * rt/Makefile: Likewise.
78274         * sysdeps/i386/asm-syntax.h: Likewise.
78275         * sysdeps/i386/sysdep.h: Likewise.
78276         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78277         * sysdeps/mach/sysdep.h: Likewise.
78278         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
78279         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
78280         * sysdeps/s390/asm-syntax.h: Likewise.
78281         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78282         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78283         * sysdeps/sh/sysdep.h: Likewise.
78284         * sysdeps/unix/sparc/sysdep.h: Likewise.
78285         * sysdeps/wordsize-32/divdi3.c: Likewise.
78286         * sysdeps/x86_64/sysdep.h: Likewise.
78288         * argp/Versions: Remove _argp_unlock_xxx.
78290         [BZ #13559]
78291         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
78292         * abilist/libBrokenLocale.abilist: Likewise.
78293         * abilist/libanl.abilist: Likewise.
78294         * abilist/libc.abilist: Likewise.
78295         * abilist/libcrypt.abilist: Likewise.
78296         * abilist/libdl.abilist: Likewise.
78297         * abilist/libm.abilist: Likewise.
78298         * abilist/libnsl.abilist: Likewise.
78299         * abilist/libpthread.abilist: Likewise.
78300         * abilist/libresolv.abilist: Likewise.
78301         * abilist/librt.abilist: Likewise.
78302         * abilist/libthread_db.abilist: Likewise.
78303         * abilist/libutil.abilist: Likewise.
78304         * abilist/libnss_db.abilist: New file.
78306         * scripts/abilist.awk: Add support for indirect functions.
78308         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
78310         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
78312         * shlib-versions: Remove entries for ports architectures.
78314         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
78315         files in ports.
78316         * elf/stackguard-macros.h: Remove support for IA-64.
78317         * elf/tst-auditmod1.c: Likewise.
78318         * sysdeps/generic/ldsodefs.h: Likewise.
78320         * sysdeps/unix/sysv/linux/configure.in: Ports should define
78321         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
78322         configure files.
78324         [BZ #13552]
78325         * configure.in: Remove --enable-omitfp support.
78326         * FAQ.in: Adjust.
78327         * config.make.in: Likewise.
78328         * Makeconfig: Likewise.
78329         * manual/install.texi: Likewise.
78331         In case anyone cares, the IA-64 architecture could move to ports.
78332         * sysdeps/ia64/*: Removed.
78333         * sysdeps/unix/sysv/linux/ia64/*: Removed.
78334         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
78336         [BZ #13555]
78337         * configure.in: Remove entries for unsupported architectures.
78339         [BZ #13533]
78340         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
78341         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
78342         routines.
78343         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
78344         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
78345         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
78346         fall back to using wcrtomb.
78347         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
78348         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
78349         renaming.
78350         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
78351         * wcsmbs/tst-c16c32-1.c: New file.
78353         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
78354         local variable.
78356         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
78358         * elf/tst-unique3.cc: Add explicit declaration of gets.
78359         * elf/tst-unique3lib.cc: Likewise.
78360         * elf/tst-unique3lib2.cc: Likewise.
78361         * elf/tst-unique4.cc: Likewise.
78363         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
78365 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
78367         [BZ #13566]
78368         * assert/assert.h (static_assert): Don't define for C++.
78369         * libio/stdio.h (gets): Do declare for C++ <= C++11.
78370         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
78372 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
78374         * iconv/loop.c (single loop): Fix assertion in storing of
78375         remaining bytes.
78377         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
78379 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
78381         * posix/getconf.c: Update copyright year.
78382         * nss/getent.c: Likewise.
78383         * nss/makedb.c: Likewise.
78384         * iconv/iconvconfig.c: Likewise.
78385         * iconv/iconv_prog.c: Likewise.
78386         * elf/ldconfig.c: Likewise.
78387         * elf/pldd.c: Likewise.
78388         * elf/sotruss.ksh: Likewise.
78389         * catgets/gencat.c: Likewise.
78390         * csu/version.c: Likewise.
78391         * elf/ldd.bash.in: Likewise.
78392         * elf/sprof.c (print_version): Likewise.
78393         * locale/programs/locale.c: Likewise.
78394         * locale/programs/localedef.c: Likewise.
78395         * login/programs/pt_chown.c: Likewise.
78396         * nscd/nscd.c (print_version): Likewise.
78397         * debug/xtrace.sh: Likewise.
78398         * malloc/memusage.sh: Likewise.
78399         * malloc/mtrace.pl: Likewise.
78400         * debug/catchsegv.sh: Likewise.
78402 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
78404         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
78405         pure attribute.
78407 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
78409         [BZ #13533]
78410         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
78411         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
78412         transformations.
78413         * iconv/gconv_int.h: Likewise.
78414         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
78415         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
78416         from libc for GLIBC_2.16.
78417         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
78418         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
78419         * wcsmbs/uchar.h: Really define mbstate_t.
78420         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
78421         * wcsmbs/c16rtomb.c: New file.
78422         * wcsmbs/mbrtoc16.c: New file.
78423         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
78424         for C/POSIX locale.
78425         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
78426         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
78428         * wcsmbs/wchar.h: Add missing __restrict.
78430 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78432         [BZ #13532]
78433         * time/Makefile (routines): Add timespec_get.
78434         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
78435         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
78436         timespec for ISO C11.
78437         * time/timespec_get.c: New file.
78438         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
78439         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
78441         [BZ #13531]
78442         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
78443         * stdlib/stdlib.h: Declare aligned_alloc.
78444         * Versions.def: Add GLIBC_2.16 for libc.
78445         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
78447         [BZ 13527]
78448         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
78449         ISO C11.
78451         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
78452         code.
78454         [BZ #13528]
78455         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
78457         [BZ #13529]
78458         * assert/assert.h (static_assert): Define.
78460         * version.h: Update for 2.16 development version.
78462         [BZ #13526]
78463         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
78464         _ISOC11_SOURCE.
78466         * version.h (RELEASE): Bump for 2.15 release.
78467         * include/features.h (__GLIBC_MINOR__): Bump to 15.
78469         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
78470         Patch by Marek Polacek <mpolacek@redhat.com>.
78472         * bits/byteswap.h: Protect long long constants with __extension__.
78473         * sysdeps/i386/bits/byteswap.h: Likewise.
78474         * sysdeps/ia64/bits/byteswap.h: Likewise.
78475         * sysdeps/s390/bits/byteswap.h: Likewise.
78476         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78478 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78480         [BZ #13540]
78481         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
78482         destination buffer.
78483         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
78485 2011-12-23  Marek Polacek  <polacek@redhat.com>
78487         * elf/dl-addr.c (determine_info): Add inline keyword.
78488         * elf/tst-auditmod4b.c (check_avx): Likewise.
78489         * elf/tst-auditmod6b.c (check_avx): Likewise.
78490         * elf/tst-auditmod6c.c (check_avx): Likewise.
78491         * elf/tst-auditmod7b.c (check_avx): Likewise.
78493 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
78495         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
78496         !__SSE_MATH__.
78498 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78500         [BZ #13540]
78501         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
78502         processing for last bytes.
78504 2011-08-06  Bruno Haible  <bruno@clisp.org>
78506         [BZ #13061]
78507         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
78508         U+0385, not to U+1FEE.
78510         [BZ #13062]
78511         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
78512         entry for U+00A5 U+0301.
78514 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78516         [BZ #13166]
78517         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
78518         buffer for the output is too small.
78520         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
78521         optimization.
78523         [BZ #13185]
78524         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
78525         SSE flags if possible.
78527 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78529         [BZ #13540]
78530         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
78531         processing for last bytes.
78533 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
78535         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
78536         (syscall-list-default-options, syscall-list-default-condition)
78537         (syscall-list-includes): Define.
78538         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
78539         list of ABIs and options and #if conditions for each ABI.  Do not
78540         handle common syscalls between ABIs specially.
78541         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
78542         Remove.
78543         (syscall-list-variants, syscall-list-32bit-options)
78544         (syscall-list-32bit-condition, syscall-list-64bit-options)
78545         (syscall-list-64bit-condition): Define.
78546         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
78547         (syscall-list-variants, syscall-list-32bit-options)
78548         (syscall-list-32bit-condition, syscall-list-64bit-options)
78549         (syscall-list-64bit-condition): Define.
78550         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
78551         Remove.
78552         (syscall-list-variants, syscall-list-32bit-options)
78553         (syscall-list-32bit-condition, syscall-list-64bit-options)
78554         (syscall-list-64bit-condition): Define.
78555         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
78556         Remove.
78557         (syscall-list-variants, syscall-list-32bit-options)
78558         (syscall-list-32bit-condition, syscall-list-64bit-options)
78559         (syscall-list-64bit-condition): Define.
78561 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
78563         * locale/iso-639.def: Add brx entry.
78565         [BZ #13328]
78566         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
78567         Proposed by Mariusz_Cukr <marcukr@op.pl>.
78569         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
78570         __feraiseexcept_renamed.
78572 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78574         [BZ #13538]
78575         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
78576         EPOLLET with unsigned values.
78577         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78578         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
78580         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
78581         to large cancellation.
78582         * math/s_cacoshf.c: Likewise.
78583         * math/s_cacoshl.c: Likewise.
78585 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
78587         [BZ #13305]
78588         [BZ #12786]
78589         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
78590         * math/s_cacoshf.c: Likewise.
78591         * math/s_cacoshl.c: Likewise.
78593 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
78595         [BZ #13439]
78596         * iconv/gconv.h: Define __GCONV_SWAP.
78597         * iconvdata/unicode.c: The swap bit must be stored in __flags.
78598         * iconvdata/utf-16.c: Likewise.
78599         * iconvdata/utf-32.c: Likewise.
78601 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
78603         [BZ #13524]
78604         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
78605         numerator after shifting it by one limb.
78607 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
78609         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
78610         under [__USE_EXTERN_INLINES].
78612 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78614         [BZ #13446]
78615         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
78617 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78619         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
78620         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
78621         optimized code.
78622         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
78623         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
78624         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
78625         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
78626         for strncasecmp/strncasecmp_l compilation.
78627         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
78628         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
78630 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
78632         [BZ #13484]
78633         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
78634         of __asm__.
78636 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
78638         [BZ #13506]
78639         * time/tzfile.c (__tzfile_read): Check values from file header.
78641 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
78643         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
78644         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
78645         * powerpc/powerpc32/dl-start.S: Likewise.
78646         * powerpc/powerpc32/elf/start.S: Likewise.
78647         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
78648         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
78649         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
78650         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
78651         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
78652         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
78653         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
78654         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
78655         * powerpc/powerpc32/fpu/s_round.S: Likewise.
78656         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
78657         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
78658         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
78659         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
78660         * powerpc/powerpc32/memset.S: Likewise.
78661         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
78662         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
78663         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
78664         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
78665         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
78666         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
78667         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
78668         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
78669         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
78670         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
78671         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
78672         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78673         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78675 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78677         * math/libm-test.inc: Added more nearbyint tests.
78678         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
78679         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
78680         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
78681         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
78683 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
78685         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
78686         FD_CLOEXEC.
78688 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78690         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
78691         Add wcscpy-ssse3 wcscpy-c.
78692         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
78693         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
78694         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
78695         * sysdeps/x86_64/wcschr.S: New file.
78696         * sysdeps/x86_64/wcsrchr.S: New file.
78697         * string/test-strcmp.c: Remove checking of wcscmp function for
78698         wrong alignments.
78699         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
78700         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
78701         wcsrchr-sse2 wcsrchr-c.
78702         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
78703         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
78704         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
78705         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
78706         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
78707         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
78708         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
78709         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
78710         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
78711         * wcsmbc/wcschr.c (WCSCHR): New macro.
78713 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78715         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
78716         * wcsmbs/test-wcsrchr.c: New file.
78717         * string/test-strrchr.c: Add wcsrchr support.
78718         (WIDE): New macro.
78719         * wcsmbs/test-wcscpy.c: New file.
78720         * string/test-strcpy.c: Add wcscpy support.
78721         (WIDE): New macro.
78723 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
78725         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
78726         the inner loop.
78728 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
78730         [BZ #13472]
78731         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
78733 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
78735         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
78736         Minor optimizations.
78738         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
78739         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
78740         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
78742 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
78744         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
78745         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
78746         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
78747         for gcc to avoid warnings.
78748         * inet/Makefile (tests): Add tst-checks.
78749         * inet/tst-checks.c: New file.
78751         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
78752         warning.
78754         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
78755         __wmemcmp_sse2.
78757         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
78758         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
78760         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
78762 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
78764         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
78765         problem.
78767         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
78769 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
78771         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
78772         conditional on GCC version.
78773         (__arch_compare_and_exchange_val_8_acq)
78774         (__arch_compare_and_exchange_val_16_acq)
78775         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
78776         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
78777         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
78779 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
78781         * sysdeps/sh/backtrace.c: New file.
78783 2011-12-02  Andreas Schwab  <schwab@redhat.com>
78785         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
78786         parenthesis.
78788 2011-12-01  Andreas Schwab  <schwab@redhat.com>
78790         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
78791         falling back to utime.
78793 2011-11-30  Andreas Schwab  <schwab@redhat.com>
78795         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
78796         expectations for float.
78798 2011-11-29  Andreas Schwab  <schwab@redhat.com>
78800         * locale/weight.h (findidx): Add parameter len.
78801         * locale/weightwc.h (findidx): Likewise.
78802         * posix/fnmatch_loop.c (FCT): Adjust caller.
78803         * posix/regcomp.c (build_equiv_class): Likewise.
78804         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
78805         * posix/regexec.c (check_node_accept_bytes): Likewise.
78806         * string/strcoll_l.c (STRCOLL): Likewise.
78807         * string/strxfrm_l.c (STRXFRM): Likewise.
78809 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
78811         * Makefile.in: Remove CVSOPT handling.
78812         * configure.in: Remove use of AC_REVISION.
78813         * iconvdata/Makefile (distribute): No need to filter out CVS.
78814         * scripts/list-sources.sh: Remove CVS, subversion and monotone
78815         handling.
78817 2011-11-16  Andreas Schwab  <schwab@redhat.com>
78819         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
78820         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
78821         [USE_AS_STRNCASECMP_L]: Likewise.
78822         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
78823         NO_TLS_DIRECT_SEG_REFS.
78824         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
78825         Fix argument offsets for non-PIC.
78826         [USE_AS_STRNCASECMP_L]: Likewise.
78827         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
78828         NO_TLS_DIRECT_SEG_REFS.
78830 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78832         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
78833         O_CLOEXEC.
78834         * locale/loadlocale.c (_nl_load_locale): Likewise.
78836 2011-11-15  Andreas Schwab  <schwab@redhat.com>
78838         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
78839         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
78840         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
78841         (SYSCALL_GETTIME): Set errno on error.
78843         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
78844         count references to noai6ai_cached.
78846 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
78848         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
78850         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
78851         FD_CLOEXEC for /proc/self/maps.
78853         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
78854         FD_CLOEXEC for /proc/meminfo.
78856         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
78857         gai.conf.
78859         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
78860         FD_CLOEXEC for given file.
78862         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
78864         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
78865         FD_CLOEXEC for /etc/hosts.
78866         (_gethtent): Likewise.
78868         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
78870         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
78871         cancellation and set FD_CLOEXEC for /etc/netgroup.
78873         * nss/nss_files/files-key.c (search): Don't allow cancellation when
78874         reading /etc/publickey.
78876         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
78877         allow cancellation when reading /etc/group.
78879         * nss/nss_files/files-alias.c (internal_setent): Don't allow
78880         cancellation.
78881         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
78883         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
78884         when using data file.
78886         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
78888         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
78889         (write_nis_obj): Use "c" and "e" in fopen.
78891         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
78893         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
78895         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
78897         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
78899         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
78900         locale.alias.
78902         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
78904         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
78906         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
78908         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
78909         file parsing and set FD_CLOEXEC.
78911 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78913         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
78915 2011-11-14  Andreas Schwab  <schwab@redhat.com>
78917         * malloc/arena.c (arena_get2): Don't call reused_arena when
78918         _int_new_arena failed.
78920 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
78922         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
78923         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
78924         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
78925         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78926         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78927         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
78928         to compile strcasecmp and strncasecmp.
78929         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
78930         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
78932         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
78934 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
78936         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
78937         locale-defines.sym to gen-as-const-headers.
78938         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
78939         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
78940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
78941         to compile strcasecmp and strncasecmp.
78942         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
78943         strcasecmp_l and strncasecmp_l.
78944         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
78945         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
78946         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
78947         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
78948         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
78949         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
78950         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
78951         * sysdeps/i386/i686/multiarch/strncase.S: New file.
78952         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
78953         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
78954         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
78956 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
78958         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
78959         result of SYSDEP_GETTIME_CPU to retval.
78960         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
78961         parameter list to macro.  Remove trailing semicolon.  Adjust users.
78963         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
78964         variable.
78966         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
78967         mantissa words.
78968         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
78970         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
78971         from unused variable.
78973         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
78974         DWARF definitions.
78975         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
78976         for assembling.
78978         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
78979         over namespaces.
78981         * sunrpc/rpc_prot.c (rejected): Fix case value.
78983         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
78984         unsigned long long int to avoid warnings in shift.
78986         * posix/regex_internal.c (re_string_reconstruct): Actually use result
78987         of use of trans.
78988         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
78989         variable tmp.
78991         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
78992         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
78993         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
78995         * nis/nis_table.c (nis_list): Use variable of correct type for
78996         result of __follow_path call.
78998 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79000         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79001         of math functions ceil, trunc, floor, round, and sqrt, when
79002         avaliable on the platform.
79003         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79004         name clash.
79005         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79006         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79007         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79009 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79011         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79012         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79014 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79016         * include/unistd.h: Fix __readlink return type.
79017         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79019 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79021         * stdlib/ucontext.h: Undo last change for makecontext.
79023 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79025         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79027         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79028         * setjmp/setjmp.h: Mark functions as non-leaf.
79029         * setjmp/bits/setjmp2.h: Likewise.
79030         * stdlib/ucontext.h: Likewise.
79032 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79034         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79035         (reused_arena): Don't check arena limit.
79036         (arena_get2): Atomically check arena limit.
79038 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79040         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79041         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79043         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79044         instructions.
79046 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79048         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79049         handler when locking.
79051         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79052         Fix size of allocated buffer.
79054 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79056         [BZ #10103]
79057         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79058         declarations for long double functions.
79059         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79061         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79063 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79065         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79066         installed.
79068         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79069         is disabled.
79071 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79073         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79075 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79077         * include/alloca.h (stackinfo_alloca_round): Define.
79078         (extend_alloca): Use it.
79079         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79080         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79081         here.
79083         * scripts/check-local-headers.sh: Ignore libaudit.h.
79085         * nscd/Makefile (extra-objs): Make recursively expanded.
79087 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79089         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79090         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79092         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79093         * posix/tst-rfc3484-2.c: Likewise.
79094         * posix/tst-rfc3484-3.c: Likewise.
79096         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79097         process_vm_writev.
79098         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79099         process_vm_writev.
79100         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79101         process_vm_writev from libc using GLIBC_2.15 version.
79103         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79105 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79107         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79108         stack usage.
79110 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79112         [BZ #13367]
79113         * nss/getent.c (initgroups_keys): Show error message in case no group
79114         names are given.
79116         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79117         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79118         __bump_nl_timestamp.
79119         * nscd/connections (nscd_init): When host database is served open
79120         netlink socket and request notification about configuration changes.
79121         (main_loop_poll): Track netlink file descriptor and bump timestamp
79122         in case data becomes available.
79123         (main_loop_epoll): Likewise.
79124         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79125         (database_pers_head): Add extra_data fileds.
79126         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79127         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79128         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79129         Adjust caller.
79130         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79131         in6ai data, call __free_in6ai.
79132         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79133         Add -DHAVE_NETLINK.
79134         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
79135         interface information.  Reuse previous data if netlink timestamp
79136         is not changed.
79137         (__bump_nl_timestamp): New function.
79138         (__free_in6ai): New function.
79140 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
79142         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
79143         close_not_cancel_no_status here.
79144         (__check_pf): Reorganize code a bit to not call close twice if OOM.
79146 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79148         [BZ #13276]
79149         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
79150         return value.
79152         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
79153         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
79154         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
79156 2011-07-03  Andreas Jaeger  <aj@suse.de>
79158         [BZ #10709]
79159         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
79160         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
79161         * math/libm-test.inc (sin_test): Add test case.
79163 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
79165         [BZ #13337]
79166         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
79167         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79169         * elf/chroot_canon.c (chroot_canon): Cleanups.
79171         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
79173         [BZ #13335]
79174         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
79175         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
79177         * string/test-strchr.c: Make usable for strchrnul testing.
79178         * string/test-strchrnul.c: New file.
79179         * string/Makefile (strop-tests): Add strchrnul.
79181         * po/it.po: Update from translation team.
79182         * po/es.po: Likewise.
79184 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
79186         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
79187         the three constants needed as parameters.  Drop the others.
79188         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
79189         __m128i_strloadu_tolower.
79190         Create and initialize variable zero and use it in all the places
79191         where _mm_setzero_si128 was used.
79193         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
79194         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
79195         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
79196         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
79197         anymore.
79198         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
79199         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
79200         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
79201         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
79202         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
79203         __mpranred, __mptan.
79204         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
79205         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
79206         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
79207         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
79208         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
79209         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
79210         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
79211         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
79212         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
79214 2011-10-28  Andreas Schwab  <schwab@redhat.com>
79216         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
79217         redefine if SHARED.
79218         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
79220         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
79221         wide char related routines to wcsmbs subdir.
79223 2011-10-27  Andreas Schwab  <schwab@redhat.com>
79225         [BZ #13344]
79226         * misc/sys/cdefs.h (__THROWNL): Define.
79227         * posix/unistd.h: Use __THREADNL instead of __THREAD
79228         for memory synchronization functions.
79230 2011-10-26  Roland McGrath  <roland@hack.frob.com>
79232         [BZ #13349]
79233         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
79234         doesn't exist.
79235         * manual/stdio.texi (Obstack Streams): Node removed.
79237 2011-10-26  Andreas Schwab  <schwab@redhat.com>
79239         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
79240         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79241         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79243         * math/math_private.h (math_force_eval): Allow non-addressable
79244         arguments.
79245         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
79247 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79249         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
79250         file is not needed.
79252         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
79253         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
79254         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
79255         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
79256         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
79257         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79258         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79259         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
79260         Add AVX variants.
79261         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
79262         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
79263         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
79264         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
79265         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
79266         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
79267         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
79268         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
79269         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
79270         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
79271         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
79272         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
79273         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
79274         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
79275         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
79276         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
79277         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
79278         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
79279         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
79281         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
79282         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
79284         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
79285         place.  Use VEX encoding when compiling for AVX.
79287 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79289         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
79290         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
79292         * string/test-strchr.c (do_test): Don't generate NUL bytes.
79294 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79296         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
79297         useless if() expression.
79298         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79299         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79300         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79301         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79302         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79303         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79304         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79305         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79306         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79307         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79308         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79309         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79310         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79311         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79312         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79313         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79314         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79315         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79316         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79318         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
79320 2011-10-25  Andreas Schwab  <schwab@redhat.com>
79322         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
79323         condition.
79324         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79326 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
79328         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
79329         .text section.  Avoid duplicate constants.
79330         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79331         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79332         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79333         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79334         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79335         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79336         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79337         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79338         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
79339         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
79340         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
79341         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
79342         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
79343         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
79344         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
79345         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
79346         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
79347         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
79348         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79349         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79350         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79351         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79352         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79353         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
79354         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
79355         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
79356         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
79357         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
79358         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
79359         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
79360         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
79361         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
79362         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
79363         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
79364         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
79365         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
79366         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
79367         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
79368         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
79369         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
79370         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
79371         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
79372         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
79373         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
79374         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
79376 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
79378         * sysdeps/x86_64/dla.h: Move to ...
79379         * sysdeps/x86_64/fpu/dla.h: ...here.
79380         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
79381         situations.  Use __builtin_fma only for gcc 4.6 and up.
79383         * config.make.in: Add have-mfma4 entry.
79384         * configure.in: Substitute libc_cv_cc_fma4.
79385         * math/Makefile (dbl-only-routines): Add sincostab.
79386         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
79387         Use __sincostab not sincos.
79388         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
79389         name is a macro.
79390         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79391         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79392         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79393         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
79394         using __copysign.
79395         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
79396         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
79397         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
79398         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
79399         and __inv.
79400         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
79401         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
79402         __copysign.
79403         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
79404         define aliases when function name is a macro.
79405         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
79406         sysdeps/ieee754/dbl-64/sincos.tbl.
79407         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
79408         fma4-enabled routines.
79409         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
79410         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
79411         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
79412         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
79413         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
79414         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
79415         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
79416         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
79417         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
79418         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
79419         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
79420         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
79421         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
79422         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
79423         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
79424         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
79425         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
79426         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
79427         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
79428         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
79429         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
79430         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
79431         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
79432         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
79433         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
79434         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
79435         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
79436         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
79437         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
79438         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
79440         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
79441         rename.
79442         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79443         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79444         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79445         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79446         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79447         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79448         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79449         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79451 2011-10-24  Andreas Schwab  <schwab@redhat.com>
79453         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
79455 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79457         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
79459         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
79460         prediction.
79461         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
79463         * string/strnlen.c: Don't define STRNLEN, reverse logic.
79464         Remove unused variable magic_bits.
79465         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
79467         * string/strnlen.c: Define and use STRNLEN macro.
79468         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
79469         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
79470         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
79471         * wcsmbs/wcslen.c: Define and use WCSLEN.
79472         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
79473         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
79474         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
79475         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
79476         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
79477         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
79478         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
79480 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79482         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79483         strnlen-sse2-no-bsf.
79484         Rename strlen-no-bsf to strlen-sse2-no-bsf.
79485         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
79486         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
79487         Add strnlen support.
79488         (USE_AS_STRNLEN): New macro.
79489         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
79490         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
79491         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
79492         * sysdeps/x86_64/wcslen.S: New file.
79494 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
79496         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79497         XMM-moves are used for copying on small sizes.
79499 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79501         * wcsmbs/Makefile (strop-tests): Add wcschr.
79502         * wcsmbs/test-wcschr.c: New file.
79503         * string/test-strchr.c: Update.
79504         Add wcschr support.
79505         (WIDE): New macro.
79507 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79509         * wcsmbs/Makefile (strop-tests): Add wcslen.
79510         * wcsmbs/test-wcslen.c: New file.
79511         * string/test-strlen.c: Update.
79512         Add wcslen support.
79513         (WIDE): New macro.
79515 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79517         * po/it.po: Update from translation team.
79519 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79521         * sysdeps/x86_64/wcscmp.S: Update.
79522         Fix wrong comparison semantics.
79523         wcscmp shall use signed comparison not unsigned.
79524         Don't use substraction to avoid overflow bug.
79525         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
79526         * wcsmbc/wcscmp.c: Likewise.
79527         * string/test-strcmp.c: Likewise.
79528         Add new tests to check cases with negative values.
79530 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
79532         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
79533         * sysdeps/x86_64/dla.h: ...here.  New file.
79534         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
79535         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79536         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79538         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79539         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79540         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79541         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79542         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79544 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
79546         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
79547         __ynl_finite aliases.
79549 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79553         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
79554         define DLA_FMA.
79555         [DLA_FMA] (EMULV): Use DLA_FMA.
79556         [DLA_FMA] (MUL12): Use EMULV.
79557         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
79558         that are not needed.
79559         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79560         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79561         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79562         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79564         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79565         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79567 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
79569         * math/s_nan.c: Undef __nan.
79570         * math/s_nanf.c: Undef __nanf.
79571         * math/s_nanl.c: Undef __nanl.
79572         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
79573         "math_private.h".
79575 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
79577         * math/s_catan.c: Add branch predictions.
79578         * math/s_catanf.c: Likewise.
79579         * math/s_catanh.c: Likewise.
79580         * math/s_catanhf.c: Likewise.
79581         * math/s_catanhl.c: Likewise.
79582         * math/s_catanl.c: Likewise.
79583         * math/s_cexp.c: Likewise.
79584         * math/s_cexpf.c: Likewise.
79585         * math/s_cexpl.c: Likewise.
79586         * math/s_clog.c: Likewise.
79587         * math/s_clog10.c: Likewise.
79588         * math/s_clog10f.c: Likewise.
79589         * math/s_clog10l.c: Likewise.
79590         * math/s_clogf.c: Likewise.
79591         * math/s_clogl.c: Likewise.
79592         * math/s_csqrt.c: Likewise.
79593         * math/s_csqrtf.c: Likewise.
79594         * math/s_csqrtl.c: Likewise.
79595         * math/s_ctanf.c: Likewise.
79596         * math/s_ctanh.c: Likewise.
79597         * math/s_ctanhf.c: Likewise.
79598         * math/s_ctanhl.c: Likewise.
79599         * math/s_ctanl.c: Likewise.
79601         * math/math_private.h: Define __nan, __nanf, __nanl.
79602         * math/s_cacosh.c: Include <math_private.h>.
79603         * math/s_cacoshl.c: Likewise.
79604         * math/s_casinh.c: Likewise.
79605         * math/s_casinhf.c: Likewise.
79606         * math/s_casinhl.c: Likewise.
79607         * math/s_ccos.c: Rely entire on ccosh.
79608         * math/s_ccosf.c: Rely entire on ccoshf.
79609         * math/s_ccosl.c: Rely entirely on ccoshl.
79610         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
79611         Remove tests for FE_INVALID.
79612         * math/s_ccoshf.c: Likewise.
79613         * math/s_ccoshl.c: Likewise.
79614         * math/s_csin.c: Likewise.
79615         * math/s_csinf.c: Likewise.
79616         * math/s_csinh.c Likewise.
79617         * math/s_csinhf.c: Likewise.
79618         * math/s_csinhl.c: Likewise.
79619         * math/s_csinl.c: Likewise.
79620         * math/s_ctan.c: Likewise.
79621         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
79622         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
79623         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
79625 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
79627         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
79628         compilation problems.
79630         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
79631         __builtin_expect.
79633 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
79635         * sysdeps/i386/configure.in: Test for -mfma4 option.
79636         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
79637         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
79638         COMMON_CPUID_INDEX_80000001.
79639         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
79640         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
79641         use it if FMA3 is not supported.
79642         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
79644         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
79645         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
79647 2011-10-20  Andreas Schwab  <schwab@redhat.com>
79649         [BZ #12892]
79650         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
79651         it would create a cycle with a link time dependency.
79653 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
79655         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
79656         instruction.
79657         * string/Makefile (strop-tests): Add rawmemchr.
79658         * string/test-rawmemchr.c: New file.
79660         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
79661         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
79662         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
79663         when compiling str{,n}casecmp and when AVX is available.  Hook up
79664         new optimized code in initializers.
79666 2011-10-19  Andreas Schwab  <schwab@redhat.com>
79668         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
79669         __feraiseexcept instead of feraiseexcept.
79671 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
79673         * math/math_private.h: Define defaults for libc_fetestexcept and
79674         libc_feupdateenv.
79675         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
79676         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
79677         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
79678         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79679         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79680         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79681         libc_fetestexcept and libc_feupdateenv.
79683         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
79684         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
79685         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
79686         * sysdeps/x86_64/fpu/math_private.h: Define special version of
79687         libc_feholdexcept_setround.
79689         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
79690         Add s_nearbyint-c and s_nearbyintf-c.
79691         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
79692         nearbyintf inlines.
79693         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
79694         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
79695         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
79696         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
79698         * math/math_private.h: Define defaults for libc_fegetround,
79699         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
79700         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
79701         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
79702         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
79703         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
79704         standard functions.
79705         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
79706         Remove comments and hacks for old compiler versions.
79707         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
79708         libc_fegetround, libc_fesetround, libc_feholdexcept, and
79709         libc_feholdexceptl.
79711 2011-10-18  Andreas Schwab  <schwab@redhat.com>
79713         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
79714         (__feraiseexcept_renamed): Add __NTH.
79715         (feraiseexcept): Add __NTH.  Rename local variables to fix
79716         namespace violations.
79718 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
79720         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
79722         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
79724         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
79725         recently added interfaces.
79726         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
79728         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
79729         about macro parameter expansion.
79731         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
79732         __NO_MATH_INLINES is defined.  Cleanups.
79734         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
79735         and __floorf is target has SSE4.1.
79736         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
79737         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
79738         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
79739         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
79741         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
79742         name.
79743         (floorf): Likewise.
79745         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
79747 2011-10-17  Andreas Schwab  <schwab@redhat.com>
79749         * misc/sys/cdefs.h: Fix last change.
79751         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
79752         database lookup.
79754 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
79756         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
79758         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
79759         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79760         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79761         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79762         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79763         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79764         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79765         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79766         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79767         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
79768         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
79769         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
79770         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
79771         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
79772         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
79773         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
79774         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
79775         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
79776         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
79777         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
79778         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
79779         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
79781         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
79782         ceil, ceilf, floor, floorf.
79784         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
79785         Perform IRELATIVE relocations last.
79787         * elf/do-rel.h: Add another parameter nrelative, replacing the
79788         local variable with the same name.  Change name of the function
79789         to end in Rel or Rela (uppercase).
79790         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
79791         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
79792         elf_dynamic_do_##reloc function.
79794 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79796         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
79797         is sufficient, at least on modern CPUs.
79799         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
79801         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
79802         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
79804         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
79805         __expl_finite.
79806         * math/bits/math-finite.h: Add entries for exp.
79807         * math/e_expl.c: Add __*_finite alias.
79808         * sysdeps/i386/fpu/e_exp.S: Likewise.
79809         * sysdeps/i386/fpu/e_expf.S: Likewise.
79810         * sysdeps/i386/fpu/e_expl.c: Likewise.
79811         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79812         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
79813         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
79814         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
79815         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
79816         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
79817         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
79819         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
79820         is sufficient, at least on modern CPUs.
79822         * ctype/ctype-info.c (__ctype_init): Define.
79823         * include/ctype.h (__ctype_init): Declare.
79824         (__ctype_b_loc): The variable is always initialized.
79825         (__ctype_toupper_loc): Likewise.
79826         (__ctype_tolower_loc): Likewise.
79827         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
79828         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
79830 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
79832         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
79834         * configure.in: Also look in $cxxmachine/include for C++ system
79835         headers.
79837 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79839         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
79840         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
79841         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
79842         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
79843         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
79844         (USE_AS_WMEMCMP): New macro.
79845         Fixing indents.
79846         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
79847         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
79848         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
79849         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
79850         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79851         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
79852         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
79853         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
79854         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
79855         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
79856         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
79857         (USE_AS_WMEMCMP): New macro.
79858         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
79859         * sysdeps/string/test-memcmp.c: Update.
79860         Fix simple_wmemcmp.
79861         Add new tests.
79862         * wcsmbs/wmemcmp.c: Update.
79863         (WMEMCMP): New macro.
79864         Fix overflow bug.
79866 2011-10-12  Andreas Jaeger  <aj@suse.de>
79868         [BZ #13268]
79869         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
79871 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
79873         * libio/iofwide.c (do_length): Avoid warning.
79875         * ctype/ctype.h (__isctype_f): Add missing __THROW.
79877 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
79879         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
79881         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
79882         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
79883         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
79884         * sysdeps/i386/i686/fpu/e_log.S: New file.
79885         * sysdeps/i386/i686/fpu/e_logf.S: New file.
79886         * sysdeps/i386/i686/fpu/e_logl.S: New file.
79888         * ctype/ctype.h: Add support for inlined isXXX functions when
79889         compiling C++ code.
79891 2011-10-14  Andreas Schwab  <schwab@redhat.com>
79893         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
79895         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
79897 2011-10-13  Roland McGrath  <roland@hack.frob.com>
79899         [BZ #13291]
79900         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
79902 2011-10-13  Andreas Schwab  <schwab@redhat.com>
79904         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
79905         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
79906         feraiseexcept.
79908         * sysdeps/x86_64/memrchr.S: Check for zero size.
79910         * string/stratcliff.c: Add memrchr tests.
79912 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79914         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79915         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
79916         rawmemchr-sse2 rawmemchr-sse2-bsf.
79917         * sysdeps/i386/i686/multiarch/memchr.S: New file.
79918         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
79919         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
79920         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
79921         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
79922         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
79923         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
79924         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
79925         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
79926         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
79927         * string/memrchr.c (MEMRCHR): New macro.
79929 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
79931         Add integration with gcc's -ffinite-math-only and optimize wrapper
79932         functions in libm.
79933         * Versions.def: Define GLIBC_2.15 version for libm.
79934         * math/Makefile (headers): Add bits/math-finite.h.
79935         * math/bits/math-finite.h: New file.
79936         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
79937         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
79938         * math/e_acoshl.c: Add __*_finite alias.
79939         * math/e_acosl.c: Likewise.
79940         * math/e_asinl.c: Likewise.
79941         * math/e_atan2l.c: Likewise.
79942         * math/e_atanhl.c: Likewise.
79943         * math/e_coshl.c: Likewise.
79944         * math/e_exp10.c: Likewise.
79945         * math/e_exp10f.c: Likewise.
79946         * math/e_exp10l.c: Likewise.
79947         * math/e_exp2l.c: Likewise.
79948         * math/e_fmodl.c: Likewise.
79949         * math/e_gammal_r.c: Likewise.
79950         * math/e_hypotl.c: Likewise.
79951         * math/e_j0l.c: Likewise.
79952         * math/e_j1l.c: Likewise.
79953         * math/e_jnl.c: Likewise.
79954         * math/e_lgammal_r.c: Likewise.
79955         * math/e_log10l.c: Likewise.
79956         * math/e_log2l.c: Likewise.
79957         * math/e_logl.c: Likewise.
79958         * math/e_powl.c: Likewise.
79959         * math/e_sinhl.c: Likewise.
79960         * math/e_sqrtl.c: Likewise.
79961         * math/e_scalb.c: Completely rewritten and optimized.
79962         * math/e_scalbf.c: Likewise.
79963         * math/e_scalbl.c: Likewise.
79964         * math/w_acos.c: Likewise.
79965         * math/w_acosf.c: Likewise.
79966         * math/w_acosl.c: Likewise.
79967         * math/w_acosh.c: Likewise.
79968         * math/w_acoshf.c: Likewise.
79969         * math/w_acoshl.c: Likewise.
79970         * math/w_asin.c: Likewise.
79971         * math/w_asinf.c: Likewise.
79972         * math/w_asinl.c: Likewise.
79973         * math/w_atan2.c: Likewise.
79974         * math/w_atan2f.c: Likewise.
79975         * math/w_atan2l.c: Likewise.
79976         * math/w_atanh.c: Likewise.
79977         * math/w_atanhf.c: Likewise.
79978         * math/w_atanhl.c: Likewise.
79979         * math/w_exp10.c: Likewise.
79980         * math/w_exp10f.c: Likewise.
79981         * math/w_exp10l.c: Likewise.
79982         * math/w_fmod.c: Likewise.
79983         * math/w_fmodf.c: Likewise.
79984         * math/w_fmodl.c: Likewise.
79985         * math/w_j0.c: Likewise.
79986         * math/w_j0f.c: Likewise.
79987         * math/w_j0l.c: Likewise.
79988         * math/w_j1.c: Likewise.
79989         * math/w_j1f.c: Likewise.
79990         * math/w_j1l.c: Likewise.
79991         * math/w_jn.c: Likewise.
79992         * math/w_jnf.c: Likewise.
79993         * math/w_log.c: Likewise.
79994         * math/w_logf.c: Likewise.
79995         * math/w_logl.c: Likewise.
79996         * math/w_log10.c: Likewise.
79997         * math/w_log10f.c: Likewise.
79998         * math/w_log10l.c: Likewise.
79999         * math/w_log2.c: Likewise.
80000         * math/w_log2f.c: Likewise.
80001         * math/w_log2l.c: Likewise.
80002         * math/w_pow.c: Likewise.
80003         * math/w_powf.c: Likewise.
80004         * math/w_powl.c: Likewise.
80005         * math/w_remainder.c: Likewise.
80006         * math/w_remainderf.c: Likewise.
80007         * math/w_remainderl.c: Likewise.
80008         * math/w_scalb.c: Likewise.
80009         * math/w_scalbf.c: Likewise.
80010         * math/w_scalbl.c: Likewise.
80011         * math/w_sqrt.c: Likewise.
80012         * math/w_sqrtf.c: Likewise.
80013         * math/w_sqrtl.c: Likewise.
80014         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80015         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80016         used.
80017         * math/math_private.h: Declare __kernel_standard_f.
80018         * math/w_cosh.c: Remove cruft and optimize a bit.
80019         * math/w_coshf.c: Likewise.
80020         * math/w_coshl.c: Likewise.
80021         * math/w_exp2.c: Likewise.
80022         * math/w_exp2f.c: Likewise.
80023         * math/w_exp2l.c: Likewise.
80024         * math/w_hypot.c: Likewise.
80025         * math/w_hypotf.c: Likewise.
80026         * math/w_hypotl.c: Likewise.
80027         * math/w_lgamma.c: Likewise.
80028         * math/w_lgamma_r.c: Likewise.
80029         * math/w_lgammaf.c: Likewise.
80030         * math/w_lgammaf_r.c: Likewise.
80031         * math/w_lgammal.c: Likewise.
80032         * math/w_lgammal_r.c: Likewise.
80033         * math/w_sinh.c: Likewise.
80034         * math/w_sinhf.c: Likewise.
80035         * math/w_sinhl.c: Likewise.
80036         * math/w_tgamma.c: Likewise.
80037         * math/w_tgammaf.c: Likewise.
80038         * math/w_tgammal.c: Likewise.
80039         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80040         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80041         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80042         Minor optimizations.  Pretty printing.  Remove cruft.
80043         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80044         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80045         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80046         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80047         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80048         * sysdeps/i386/fpu/e_asin.S: Likewise.
80049         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80050         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80051         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80052         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80053         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80054         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80055         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80056         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80057         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80058         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80059         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80060         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80061         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80062         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80063         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80064         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80065         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80066         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80067         * sysdeps/i386/fpu/e_log.S: Likewise.
80068         * sysdeps/i386/fpu/e_log10.S: Likewise.
80069         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80070         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80071         * sysdeps/i386/fpu/e_log2.S: Likewise.
80072         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80073         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80074         * sysdeps/i386/fpu/e_logf.S: Likewise.
80075         * sysdeps/i386/fpu/e_logl.S: Likewise.
80076         * sysdeps/i386/fpu/e_pow.S: Likewise.
80077         * sysdeps/i386/fpu/e_powf.S: Likewise.
80078         * sysdeps/i386/fpu/e_powl.S: Likewise.
80079         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80080         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80081         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80082         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80083         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80084         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80085         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80086         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80087         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80088         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80089         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80090         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80091         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80092         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80093         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80094         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80095         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80096         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80097         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80098         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80099         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80100         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80101         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80102         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80103         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80104         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80105         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80106         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80107         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80108         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80109         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80110         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80111         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80112         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80113         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80114         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80115         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80116         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80117         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80118         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80119         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80120         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80121         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80122         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80123         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80124         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80125         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80126         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80127         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80128         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80129         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80130         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80131         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80132         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80133         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80134         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
80135         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
80136         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
80137         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
80138         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
80139         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
80140         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
80141         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80142         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
80143         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
80144         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
80145         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
80146         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
80147         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
80148         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
80149         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
80150         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
80151         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
80152         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
80153         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
80154         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
80155         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
80156         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
80157         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
80158         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
80159         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
80160         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
80161         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
80162         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
80163         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
80164         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
80165         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
80166         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
80167         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
80168         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80169         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
80170         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
80171         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
80172         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80173         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
80174         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80175         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
80176         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
80177         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
80178         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
80179         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
80180         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
80181         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
80182         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80183         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80184         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80185         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
80186         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
80187         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
80188         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
80189         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
80190         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
80191         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
80192         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
80193         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
80194         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
80195         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
80196         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
80197         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
80198         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
80199         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
80200         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
80201         (__isnanf): Likewise.
80202         (__isinf_ns): Likewise.
80203         (__isinf_nsf): Likewise.
80204         (__finite): Likewise.
80205         (__finitef): Likewise.
80206         (__ieee754_sqrt): Define as macro.
80207         (__ieee754_sqrtf): Define as macro.
80208         (__ieee754_sqrtl): Define as macro.
80209         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
80210         inlined copy.
80211         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
80212         __FINITE_MATH_ONLY__ consistent.
80213         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
80215 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
80217         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
80218         of rawmemchr.
80220         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
80222 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
80224         * po/ja.po: Update from translation team.
80226 2011-10-08  Roland McGrath  <roland@hack.frob.com>
80228         * locale/programs/locarchive.c (prepare_address_space): New function.
80229         (create_archive, enlarge_archive, open_archive): Use it.
80231         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
80232         inside [SHARED], where it is used.
80234         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
80236         * nss/getent.c (netgroup_keys): Remove unused variable.
80237         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
80239 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
80241         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
80242         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
80243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
80244         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
80245         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
80246         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
80247         * math/Makefile (libm-calls): Add s_isinf_ns.
80248         * math/divtc3.c: Use __isinf_nsl instead of isinf.
80249         * math/multc3.c: Likewise.
80250         * math/s_casin.c: Likewise.
80251         * math/s_casinf.c: Likewise.
80252         * math/s_casinl.c: Likewise.
80253         * math/s_ccos.c: Likewise.
80254         * math/s_ccosf.c: Likewise.
80255         * math/s_ccosl.c: Likewise.
80256         * math/s_ctan.c: Likewise.
80257         * math/s_ctanf.c: Likewise.
80258         * math/s_ctanh.c: Likewise.
80259         * math/s_ctanhf.c: Likewise.
80260         * math/s_ctanhl.c: Likewise.
80261         * math/s_ctanl.c: Likewise.
80262         * math/w_fmod.c: Likewise.
80263         * math/w_fmodf.c: Likewise.
80264         * math/w_fmodl.c: Likewise.
80265         * math/w_remainder.c: Likewise.
80266         * math/w_remainderf.c: Likewise.
80267         * math/w_remainderl.c: Likewise.
80268         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
80269         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
80270         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
80271         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
80272         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
80273         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
80274         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
80275         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
80277         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
80278         of the number.
80279         * stdio-common/printf_fphex.c: Likewise.
80280         * stdio-common/printf_size.c: Likewise.
80282         * math/e_exp10.c: Include math_private.h using <...> not "...".
80283         * math/e_exp10f.c: Likewise.
80284         * math/e_exp10l.c: Likewise.
80285         * math/e_exp2l.c: Likewise.
80286         * math/e_j0l.c: Likewise.
80287         * math/e_j1l.c: Likewise.
80288         * math/e_jnl.c: Likewise.
80289         * math/e_lgammal_r.c: Likewise.
80290         * math/e_rem_pio2l.c: Likewise.
80291         * math/e_scalb.c: Likewise.
80292         * math/e_scalbf.c: Likewise.
80293         * math/e_scalbl.c: Likewise.
80294         * math/k_cosl.c: Likewise.
80295         * math/k_sinl.c: Likewise.
80296         * math/k_tanl.c: Likewise.
80297         * math/s_cacoshf.c: Likewise.
80298         * math/s_catan.c: Likewise.
80299         * math/s_catanf.c: Likewise.
80300         * math/s_catanh.c: Likewise.
80301         * math/s_catanhf.c: Likewise.
80302         * math/s_catanhl.c: Likewise.
80303         * math/s_catanl.c: Likewise.
80304         * math/s_ccosh.c: Likewise.
80305         * math/s_ccoshf.c: Likewise.
80306         * math/s_ccoshl.c: Likewise.
80307         * math/s_cexp.c: Likewise.
80308         * math/s_cexpf.c: Likewise.
80309         * math/s_cexpl.c: Likewise.
80310         * math/s_clog.c: Likewise.
80311         * math/s_clog10.c: Likewise.
80312         * math/s_clog10f.c: Likewise.
80313         * math/s_clog10l.c: Likewise.
80314         * math/s_clogf.c: Likewise.
80315         * math/s_clogl.c: Likewise.
80316         * math/s_csin.c: Likewise.
80317         * math/s_csinf.c: Likewise.
80318         * math/s_csinh.c: Likewise.
80319         * math/s_csinhf.c: Likewise.
80320         * math/s_csinhl.c: Likewise.
80321         * math/s_csinl.c: Likewise.
80322         * math/s_csqrt.c: Likewise.
80323         * math/s_csqrtf.c: Likewise.
80324         * math/s_csqrtl.c: Likewise.
80325         * math/s_ctan.c: Likewise.
80326         * math/s_ctanf.c: Likewise.
80327         * math/s_ctanh.c: Likewise.
80328         * math/s_ctanhf.c: Likewise.
80329         * math/s_ctanhl.c: Likewise.
80330         * math/s_ctanl.c: Likewise.
80331         * math/s_ldexp.c: Likewise.
80332         * math/s_ldexpf.c: Likewise.
80333         * math/s_ldexpl.c: Likewise.
80334         * math/s_significand.c: Likewise.
80335         * math/s_significandf.c: Likewise.
80336         * math/s_significandl.c: Likewise.
80337         * math/w_acos.c: Likewise.
80338         * math/w_acosf.c: Likewise.
80339         * math/w_acosh.c: Likewise.
80340         * math/w_acoshf.c: Likewise.
80341         * math/w_acoshl.c: Likewise.
80342         * math/w_acosl.c: Likewise.
80343         * math/w_asin.c: Likewise.
80344         * math/w_asinf.c: Likewise.
80345         * math/w_asinl.c: Likewise.
80346         * math/w_atan2.c: Likewise.
80347         * math/w_atan2f.c: Likewise.
80348         * math/w_atan2l.c: Likewise.
80349         * math/w_atanh.c: Likewise.
80350         * math/w_atanhf.c: Likewise.
80351         * math/w_atanhl.c: Likewise.
80352         * math/w_cosh.c: Likewise.
80353         * math/w_coshf.c: Likewise.
80354         * math/w_coshl.c: Likewise.
80355         * math/w_dremf.c: Likewise.
80356         * math/w_exp10.c: Likewise.
80357         * math/w_exp10f.c: Likewise.
80358         * math/w_exp10l.c: Likewise.
80359         * math/w_exp2.c: Likewise.
80360         * math/w_exp2f.c: Likewise.
80361         * math/w_fmod.c: Likewise.
80362         * math/w_fmodf.c: Likewise.
80363         * math/w_fmodl.c: Likewise.
80364         * math/w_hypot.c: Likewise.
80365         * math/w_hypotf.c: Likewise.
80366         * math/w_hypotl.c: Likewise.
80367         * math/w_j0.c: Likewise.
80368         * math/w_j0f.c: Likewise.
80369         * math/w_j0l.c: Likewise.
80370         * math/w_j1.c: Likewise.
80371         * math/w_j1f.c: Likewise.
80372         * math/w_j1l.c: Likewise.
80373         * math/w_jn.c: Likewise.
80374         * math/w_jnf.c: Likewise.
80375         * math/w_jnl.c: Likewise.
80376         * math/w_lgamma.c: Likewise.
80377         * math/w_lgamma_r.c: Likewise.
80378         * math/w_lgammaf.c: Likewise.
80379         * math/w_lgammaf_r.c: Likewise.
80380         * math/w_lgammal.c: Likewise.
80381         * math/w_lgammal_r.c: Likewise.
80382         * math/w_log.c: Likewise.
80383         * math/w_log10.c: Likewise.
80384         * math/w_log10f.c: Likewise.
80385         * math/w_log10l.c: Likewise.
80386         * math/w_log2.c: Likewise.
80387         * math/w_log2f.c: Likewise.
80388         * math/w_log2l.c: Likewise.
80389         * math/w_logf.c: Likewise.
80390         * math/w_logl.c: Likewise.
80391         * math/w_pow.c: Likewise.
80392         * math/w_powf.c: Likewise.
80393         * math/w_powl.c: Likewise.
80394         * math/w_remainder.c: Likewise.
80395         * math/w_remainderf.c: Likewise.
80396         * math/w_remainderl.c: Likewise.
80397         * math/w_scalb.c: Likewise.
80398         * math/w_scalbf.c: Likewise.
80399         * math/w_scalbl.c: Likewise.
80400         * math/w_sinh.c: Likewise.
80401         * math/w_sinhf.c: Likewise.
80402         * math/w_sinhl.c: Likewise.
80403         * math/w_sqrt.c: Likewise.
80404         * math/w_sqrtf.c: Likewise.
80405         * math/w_sqrtl.c: Likewise.
80406         * math/w_tgamma.c: Likewise.
80407         * math/w_tgammaf.c: Likewise.
80408         * math/w_tgammal.c: Likewise.
80410         * po/ja.po: Update from translation team.
80412 2011-09-29  Andreas Jaeger  <aj@suse.de>
80414         [BZ #13179]
80415         * sunrpc/netname.c (netname2host): Fix logic.
80417         [BZ #6779]
80418         [BZ #6783]
80419         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
80420         correctly.
80421         * math/w_remainder.c (__remainder): Likewise.
80422         * math/w_remainderf.c (__remainderf): Likewise.
80423         * math/libm-test.inc (remainder_test): Add test cases.
80425 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80427         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
80428         sdiv_qrnnd.
80430 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80432         * string/test-memcmp.c: Avoid unncessary #defines.
80433         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80435 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80437         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
80438         Use new sse2 version for core i3 - i7 as it's faster
80439         than sse42 version.
80440         (bit_Prefer_PMINUB_for_stringop): New.
80441         * sysdeps/x86_64/rawmemchr.S: Update.
80442         Replace with faster SSE2 version.
80443         * sysdeps/x86_64/memrchr.S: New file.
80444         * sysdeps/x86_64/memchr.S: Update.
80445         Replace with faster SSE2 version.
80447 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
80449         * elf/dl-load.c (lose): Add cast to avoid warning.
80451 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
80453         * po/ca.po: Update from translation team.
80455         * inet/getnetgrent_r.c: Hook up nscd.
80456         * nscd/Makefile (routines): Add nscd_netgroup.
80457         (nscd-modules): Add netgroupcache.
80458         (CFLAGS-netgroupcache.c): Define.
80459         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
80460         (cache_search): Add const to second parameter.
80461         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
80462         INNETGR.
80463         (dbs): Add netgrdb entry.
80464         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
80465         (verify_persistent_db): Handle netgrdb.
80466         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
80467         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
80468         GETFDNETGR.
80469         (netgroup_response_header): Define.
80470         (innetgroup_response_header): Define.
80471         (datahead): Add netgroup_response_header and innetgroup_response_header
80472         elements.
80473         * nscd/nscd.conf: Add entries for netgroup cache.
80474         * nscd/nscd.h (dbtype): Add netgrdb.
80475         (_PATH_NSCD_NETGROUP_DB): Define.
80476         (netgroup_iov_disabled): Declare.
80477         (xmalloc, xcalloc, xrealloc): Move declarations here.
80478         (cache_search): Adjust prototype.
80479         Add netgroup-related prototypes.
80480         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
80481         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
80482         (__nscd_innetgr): Declare.
80483         * nscd/selinux.c (perms): Use access_vector_t as element type and
80484         add netgroup-related initializers.
80485         * nscd/netgroupcache.c: New file.
80486         * nscd/nscd_netgroup.c: New file.
80487         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
80488         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
80489         For four parameters use innetgr.
80490         * nss/nss_files/files-init.c: Add definition and callback for netgr.
80491         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
80492         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
80493         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
80495         * nscd/connections.c (register_traced_file): Don't register file
80496         for disabled databases.
80498 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
80500         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
80502         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
80503         from tree and freeing node.
80505 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
80507         * nss/nsswitch.c (__nss_database_lookup): Handle
80508         nss_parse_service_list out of memory case.
80510 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
80512         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
80513         out of memory case.
80515 2011-10-04  Andreas Schwab  <schwab@redhat.com>
80517         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
80518         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
80519         pass it down.
80520         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
80521         elf_machine_rela, elf_machine_lazy_rel.
80522         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
80523         (ELF_DYNAMIC_DO_REL): Likewise.
80524         (ELF_DYNAMIC_DO_RELA): Likewise.
80525         (ELF_DYNAMIC_RELOCATE): Likewise.
80526         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
80527         to ELF_DYNAMIC_DO_REL.
80528         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
80529         (dl_main): In trace mode always set __RTLD_NOIFUNC.
80530         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
80531         elf_machine_rela.
80532         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
80533         skip_ifunc, don't call ifunc function if non-zero.
80534         (elf_machine_rela): Likewise.
80535         (elf_machine_lazy_rel): Likewise.
80536         (elf_machine_lazy_rela): Likewise.
80537         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
80538         (elf_machine_lazy_rel): Likewise.
80539         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
80540         Likewise.
80541         (elf_machine_lazy_rel): Likewise.
80542         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80543         Likewise.
80544         (elf_machine_lazy_rel): Likewise.
80545         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
80546         (elf_machine_lazy_rel): Likewise.
80547         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
80548         (elf_machine_lazy_rel): Likewise.
80549         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
80550         (elf_machine_lazy_rel): Likewise.
80551         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
80552         (elf_machine_lazy_rel): Likewise.
80553         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
80554         (elf_machine_lazy_rel): Likewise.
80555         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
80556         (elf_machine_lazy_rel): Likewise.
80558 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
80560         * nss/nss_files/files-init.c (_nss_files_init): Use static
80561         initialization for all the *_traced_file variables.
80563 2011-09-28  Andreas Schwab  <schwab@redhat.com>
80565         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80567 2011-09-27  Roland McGrath  <roland@hack.frob.com>
80569         [BZ #13226]
80570         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
80572 2011-09-27  Andreas Schwab  <schwab@redhat.com>
80574         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80575         Reread the line before reparsing it.
80577 2011-09-26  Andreas Schwab  <schwab@redhat.com>
80579         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
80581 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
80582             Maxim Kuvyrkov  <maxim@codesourcery.com>
80583             Joseph Myers  <joseph@codesourcery.com>
80585         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
80586         if needed for __stack_chk_guard.
80588 2011-09-19  Roland McGrath  <roland@hack.frob.com>
80590         * sysdeps/posix/spawni.c (script_execute): Always define it.
80591         It will be optimized away if unused.
80592         (maybe_script_execute): New function.
80593         (__spawni): Call it.
80595         * Makerules: Don't include tls.make.
80596         (config-tls): Always set to thread.
80597         * tls.make.c: File removed.
80599 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
80601         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
80602         * config.make.in (CPPFLAGS-config): New substituted variable.
80604 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80606         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
80608         [BZ #13192]
80609         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
80610         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
80612 2011-09-15  Roland McGrath  <roland@hack.frob.com>
80614         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
80615         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
80616         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80617         (CALL_FAIL): Likewise.
80618         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
80619         (CALL_FAIL): Macro removed.
80620         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
80622 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
80624         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
80625         for __FINITE_MATH_ONLY__ == 1.
80627 2011-09-15  Andreas Schwab  <schwab@redhat.com>
80629         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
80630         __ieee754_sqrt instead of sqrt.
80631         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
80632         __ieee754_sqrtf instead of sqrtf.
80633         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
80634         __floorf instead of floorf.
80635         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
80636         __floorf, __truncf instead of floorf, truncf.
80638 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
80640         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
80642         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
80643         __extern_always_inline.
80644         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
80645         32-bit.
80647 2011-09-14  Andreas Schwab  <schwab@redhat.com>
80649         * elf/rtld.c (dl_main): Also relocate in dependency order when
80650         doing symbol dependency testing.
80652 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
80654         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80655         Always define `refsym'.
80657 2011-09-13  Andreas Schwab  <schwab@redhat.com>
80659         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
80660         (__FD_ELT): Renamed from __FDELT.
80661         * misc/bits/select2.h (__FD_ELT): Likewise.
80662         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
80663         __FD_MASK instead of __FDELT, __FDMASK.
80664         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80665         Likewise.
80666         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
80667         Likewise.
80669         * elf/Makefile (gen-ldd): Fix pattern.
80671         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
80672         (init_tls): Likewise.
80674 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
80676         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
80678 2011-09-12  Andreas Schwab  <schwab@redhat.com>
80680         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
80681         `struct cmsghdr *' instead of `void *'.
80682         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
80683         Likewise.
80685 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
80687         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
80688         if non-absolute.
80689         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
80690         ldd_rewrite_script.
80692 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
80694         * configure.in: Remove --with-tls option.
80695         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
80696         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
80697         out in case it is missing.
80698         * sysdeps/ia64/elf/configure.in: Likewise.
80699         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
80700         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
80701         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
80702         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
80703         * sysdeps/sh/elf/configure.in: Likewise.
80704         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
80705         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80706         * sysdeps/x86_64/elf/configure.in: Likewise.
80707         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
80708         * sysdeps/mach/hurd/tls.h: Likewise.
80710         [BZ #13067]
80711         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
80713         [BZ #13090]
80714         * configure.in: Fix use of AC_INIT.
80716         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
80718 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
80720         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
80721         __set_errno.
80722         * malloc/hooks.c: Likewise.
80724         [BZ #11929]
80725         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
80726         variables statically.
80727         (narenas): Initialize.
80728         (list_lock): Initialize.
80729         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
80730         initializtion of main_arena and list_lock.  Small cleanups.
80731         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
80732         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
80733         Add initializers to main_arena and mp_.
80734         (malloc_state): Remove pagesize member.  Change all users to use
80735         GLRO(dl_pagesize).
80737         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
80738         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
80739         is always initialized.
80741         * malloc/malloc.c: Removed unused configurations and dead code.
80742         * malloc/arena.c: Likewise.
80743         * malloc/hooks.c: Likewise.
80744         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
80746         * include/tls.h: Removed.  USE___THREAD must always be defined.
80747         * bits/libc-tsd.h: Don't handle !USE___THREAD.
80748         * elf/dl-libc.c: Likewise.
80749         * elf/dl-tsd.c: Likewise.
80750         * include/errno.h: Likewise.
80751         * include/netdb.h: Likewise.
80752         * include/resolv.h: Likewise.
80753         * inet/herrno-loc.c: Likewise.
80754         * inet/herrno.c: Likewise.
80755         * malloc/arena.c: Likewise.
80756         * malloc/hooks.c: Likewise.
80757         * malloc/malloc.c: Likewise.
80758         * resolv/res-state.c: Likewise.
80759         * resolv/res_libc.c: Likewise.
80760         * sysdeps/i386/dl-machine.h: Likewise.
80761         * sysdeps/ia64/dl-machine.h: Likewise.
80762         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
80763         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
80764         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
80765         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
80766         * sysdeps/sh/dl-machine.h: Likewise.
80767         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80768         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80769         * sysdeps/unix/i386/sysdep.S: Likewise.
80770         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
80771         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
80772         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
80773         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
80774         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
80775         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
80776         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
80777         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80778         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
80780         * sysdeps/unix/x86_64/sysdep.S: Likewise.
80781         * sysdeps/x86_64/dl-machine.h: Likewise.
80782         * tls.make.c: Likewise.
80784         * configure.in: Remove --with-__thread option.  Make tests for
80785         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
80786         tls_model attribute fail if no support is available.  Remove
80787         USE_IN_LIBIO.
80788         * Makeconfig: Adjust for dropped configure option.  All features are
80789         now mandatory.
80790         * Makerules: Likewise.
80791         * Versions.def: Likewise.
80792         * argp/argp-fmtstream.c: Likewise.
80793         * argp/argp-fmtstream.h: Likewise.
80794         * argp/argp-help.c: Likewise.
80795         * assert/assert.c: Likewise.
80796         * config.h.in: Likewise.
80797         * config.make.in: Likewise.
80798         * configure: Likewise.
80799         * configure.in: Likewise.
80800         * csu/Versions: Likewise.
80801         * csu/init.c: Likewise.
80802         * elf/tst-audit2.c: Likewise.
80803         * elf/tst-tls10.c: Likewise.
80804         * elf/tst-tls10.h: Likewise.
80805         * elf/tst-tls11.c: Likewise.
80806         * elf/tst-tls12.c: Likewise.
80807         * elf/tst-tls14.c: Likewise.
80808         * elf/tst-tlsmod11.c: Likewise.
80809         * elf/tst-tlsmod12.c: Likewise.
80810         * elf/tst-tlsmod13.c: Likewise.
80811         * elf/tst-tlsmod13a.c: Likewise.
80812         * elf/tst-tlsmod14a.c: Likewise.
80813         * elf/tst-tlsmod15b.c: Likewise.
80814         * elf/tst-tlsmod16a.c: Likewise.
80815         * elf/tst-tlsmod16b.c: Likewise.
80816         * elf/tst-tlsmod7.c: Likewise.
80817         * elf/tst-tlsmod8.c: Likewise.
80818         * elf/tst-tlsmod9.c: Likewise.
80819         * gmon/gmon.c: Likewise.
80820         * grp/fgetgrent_r.c: Likewise.
80821         * grp/putgrent.c: Likewise.
80822         * hurd/fopenport.c: Likewise.
80823         * include/libc-symbols.h: Likewise.
80824         * include/tls.h: Likewise.
80825         * intl/gettextP.h: Likewise.
80826         * intl/loadinfo.h: Likewise.
80827         * locale/global-locale.c: Likewise.
80828         * locale/localeinfo.h: Likewise.
80829         * mach/devstream.c: Likewise.
80830         * malloc/arena.c: Likewise.
80831         * malloc/set-freeres.c: Likewise.
80832         * misc/err.c: Likewise.
80833         * misc/getttyent.c: Likewise.
80834         * misc/mntent_r.c: Likewise.
80835         * posix/getopt.c: Likewise.
80836         * posix/wordexp.c: Likewise.
80837         * pwd/fgetpwent_r.c: Likewise.
80838         * resolv/Versions: Likewise.
80839         * resolv/res_hconf.c: Likewise.
80840         * shadow/fgetspent_r.c: Likewise.
80841         * shadow/putspent.c: Likewise.
80842         * stdio-common/printf_fphex.c: Likewise.
80843         * stdio-common/tmpfile.c: Likewise.
80844         * stdlib/abort.c: Likewise.
80845         * stdlib/fmtmsg.c: Likewise.
80846         * sunrpc/auth_unix.c: Likewise.
80847         * sunrpc/clnt_perr.c: Likewise.
80848         * sunrpc/clnt_tcp.c: Likewise.
80849         * sunrpc/clnt_udp.c: Likewise.
80850         * sunrpc/clnt_unix.c: Likewise.
80851         * sunrpc/openchild.c: Likewise.
80852         * sunrpc/svc_simple.c: Likewise.
80853         * sunrpc/svc_tcp.c: Likewise.
80854         * sunrpc/svc_udp.c: Likewise.
80855         * sunrpc/svc_unix.c: Likewise.
80856         * sunrpc/xdr.c: Likewise.
80857         * sunrpc/xdr_array.c: Likewise.
80858         * sunrpc/xdr_rec.c: Likewise.
80859         * sunrpc/xdr_ref.c: Likewise.
80860         * sunrpc/xdr_stdio.c: Likewise.
80862 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80864         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80866 2011-07-03  Andreas Jaeger  <aj@suse.de>
80868         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
80869         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
80870         regenerate with gen-libm-tests.pl.
80872 2010-05-12  Petr Baudis  <pasky@suse.cz>
80874         [BZ #11589]
80875         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
80876         around j0() zero points by switching to j1().
80877         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80878         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
80879         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
80880         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
80882 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80884         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
80885         instead of 0.
80886         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
80887         instead of 0.
80888         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80889         Patch in part by Pavel Roskin <proski@gnu.org>.
80891         [BZ #13138]
80892         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
80893         realloc.
80894         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
80895         Free memory block if necessary.
80897         [BZ #12847]
80898         * libio/genops.c (INTDEF): For string streams the _lock pointer can
80899         be NULL.  Don't lock in this case.
80901 2011-09-09  Roland McGrath  <roland@hack.frob.com>
80903         * elf/elf.h (ELFOSABI_GNU): New macro.
80904         (ELFOSABI_LINUX): Define to that.
80906 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
80908         * string/strncat.c (strncat): Undef the symbol in case it has been
80909         defined in bits/string.h.
80911 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
80913         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
80915         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
80916         link map.
80918 2011-08-17  Andreas Jaeger  <aj@suse.de>
80920         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
80922 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
80923             Ian Lance Taylor  <iant@google.com>
80925         * math/libm-test.inc (lround_test): New testcase.
80926         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
80928 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
80930         * Makefile: Remove support for automatic cvs check-ins.
80931         * Makerules: Likewise.
80932         * config.make.in: Likewise.
80933         * configure.in: Likewise.
80934         * intl/Makefile: Likewise.
80935         * locale/Makefile: Likewise.
80936         * po/Makefile: Likewise.
80937         * posix/Makefile: Likewise.
80938         * sysdeps/gnu/Makefile: Likewise.
80939         * sysdeps/mach/hurd/Makefile: Likewise.
80940         * sysdeps/sparc/sparc32/Makefile: Likewise.
80942         [BZ #13118]
80943         * posix/Makefile (bug-regex32-ENV): Define.
80944         Patch by John Stanley <jpsinthemix@verizon.net>.
80946         * misc/Makefile (headers): Add bits/select2.h.
80947         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
80948         * misc/bits/select2.h: New file.
80949         * include/bits/select2.h: New file.
80950         * debug/Makefile (routines): Add fdelt_chk.
80951         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
80952         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
80953         FD_ISSET.
80954         * debug/fdelt_chk.c: New file.
80956         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
80957         * wcsmbs/test-wmemcmp.c: Likewise.
80958         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
80959         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
80961 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80963         * string/Makefile (strop-tests): Add memcmp.
80964         * string/test-wmemcmp.c: New file.
80965         * string/test-memcmp.c: Add wmemcmp support.
80967 2011-09-08  Roland McGrath  <roland@hack.frob.com>
80969         [BZ #13153]
80970         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
80971         2011-07-19 change.
80973         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
80974         garbage value in a __mach_port_mod_refs call in the cases of the
80975         task-self and thread-self ports.
80977 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80979         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
80981 2011-09-08  Andreas Schwab  <schwab@redhat.com>
80983         * elf/dl-load.c (lose): Check for non-null L.
80985 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
80987         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
80989         * elf/dl-libc.c (dlerror_run): Pass back error code from
80990         dl_catch_error.
80992         [BZ #13123]
80993         * elf/dl-load.c (lose): Free l_origin if it is valid.
80995         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
80996         names.
80997         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
80998         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
80999         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81000         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81001         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81002         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81004 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81006         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81007         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81008         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81009         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81010         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81011         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81012         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81013         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81014         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81015         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81017 2011-08-15  Alan Modra  <amodra@gmail.com>
81019         [BZ #13092]
81020         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81021         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81022         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81023         ppc_mcount to static-only-routines.
81024         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81025         __mcount_internal.
81026         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81027         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81029 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81031         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81032         for finite and infinity parameters.
81034 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81036         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81037         and add nop instructions for throughput optimization.
81038         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81040 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81042         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81043         aligned copy for power7 with vector-scalar instructions.
81044         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81046 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81048         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81049         AVX check.
81051 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81053         [BZ #13144]
81054         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81055         last change.
81057 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81059         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81060         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81061         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81062         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81063         clock_gettime.
81065 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81067         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81068         Forgot to demangle the pointer.
81070         * sysdeps/i386/sysdep.h: Define atom_text_section.
81071         * sysdeps/x86_64/sysdep.h: Likewise.
81072         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81073         section with atom_text_section.
81074         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81075         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81076         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81077         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81078         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81080         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81081         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81082         already be defined.  Change to take two parameters and don't assign
81083         result to variable.  Adjust all users.
81084         Define INTERNAL_GETTIME if not already defined.
81085         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81086         call.
81087         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81088         HAVE_CLOCK_GETTIME_VSYSCALL.
81089         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81091         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81092         gettimeofday vsyscall, just use time.
81094 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81096         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81097         <errno.h>.
81099 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81101         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81102         syscall on x86-64.
81103         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81104         syscall.
81105         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81106         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81107         syscall if possible.
81109 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81111         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81112         e_ident.  Don't pass to find_mapsXX.
81113         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81115 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81117         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81118         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81119         * sysdeps/x86_64/multiarch/strchr.S: Update.
81120         Check bit_slow_BSF bit.
81121         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81122         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81123         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81125 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81127         [BZ #13134]
81128         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81129         before glibc 2.15.
81130         (tryshell): Define.
81131         (__spawni): Change last parameter to be flag.  Test
81132         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81133         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81134         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
81135         * posix/spawni.c: Likewise.
81136         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
81137         * posix/spawnp.c: Likewise.  Change normal version to use
81138         SPAWN_XFLAGS_USE_PATH.
81139         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
81140         SPAWN_XFLAGS_TRY_SHELL.
81142         [BZ #13150]
81143         * posix/glob.h: Remove gcc 1.x support.
81145         [BZ #13068]
81146         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
81148 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81150         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81151         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
81152         strrchr-sse2-bsf
81153         * sysdeps/i386/i686/multiarch/strchr.S: New file.
81154         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
81155         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
81156         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
81157         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
81158         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
81160 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81162         * sysdeps/x86_64/wcscmp.S: New file.
81164         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
81165         wcscmp-c wcscmp-sse2
81166         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
81167         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
81168         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
81169         * wcsmbs/wcscmp.c: Allow renaming.
81171 2011-09-05  David S. Miller  <davem@davemloft.net>
81173         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
81174         stack slot, rather than the struct return pointer slot.
81175         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
81176         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
81177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
81178         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
81180 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81182         * po/ja.po: Update from translation team.
81184         [BZ #13144]
81185         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
81186         kernel in 64-bit binaries.
81188 2011-09-01  David S. Miller  <davem@davemloft.net>
81190         * elf/elf.h (HWCAP_SPARC_*): Move to..
81191         * sysdeps/sparc/sysdep.h: this new file and add new values.
81192         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
81193         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
81194         _DL_HWCAP_COUNT to 24.
81195         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
81196         entries.
81197         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
81198         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
81199         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
81200         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
81201         instead of magic constants.
81202         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81204 2011-08-31  David S. Miller  <davem@davemloft.net>
81206         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
81207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
81208         Reimplement to do errno handling inline.
81209         (SYSCALL_ERROR_HANDLER): New macro.
81210         (__SYSCALL_STRING): Do not do errno handling in asm.
81211         (__CLONE_SYSCALL_STRING): Delete.
81212         (__INTERNAL_SYSCALL_STRING): Delete.
81213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
81214         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
81215         (PSEUDO): Reimplement to do errno handling inline.
81216         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
81217         (SYSCALL_ERROR_HANDLER): New macro.
81218         (__SYSCALL_STRING): Do not do errno handling in asm.
81219         (__CLONE_SYSCALL_STRING): Delete.
81220         (__INTERNAL_SYSCALL_STRING): Delete.
81221         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
81222         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
81223         i386.
81224         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
81225         (inline_syscall*): Add 'err' argument.
81226         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
81227         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
81228         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
81229         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
81231         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
81232         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
81234 2011-08-30  Andreas Schwab  <schwab@redhat.com>
81236         * elf/rtld.c (dl_main): Relocate objects in dependency order.
81238 2011-08-29  Jiri Olsa <jolsa@redhat.com>
81240         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
81241         directive.
81243 2011-08-24  David S. Miller  <davem@davemloft.net>
81245         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
81247 2011-08-24  Andreas Schwab  <schwab@redhat.com>
81249         * elf/Makefile: Add rules to build and run unload8 test.
81250         * elf/unload8.c: New file.
81251         * elf/unload8mod1.c: New file.
81252         * elf/unload8mod1x.c: New file.
81253         * elf/unload8mod2.c: New file.
81254         * elf/unload8mod3.c: New file.
81256         * elf/dl-close.c (_dl_close_worker): Reset private search list if
81257         it wasn't used.
81259 2011-08-23  David S. Miller  <davem@davemloft.net>
81261         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
81262         subtract stack bias.
81263         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
81264         %sp not %fp in calculations.
81265         (_JMPBUF_UNWINDS_ADJ): Likewise.
81267         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
81268         (aio_suspend): Call it to force an exception region around the
81269         AIO_MISC_WAIT() invocation.
81271 2011-08-23  Andreas Schwab  <schwab@redhat.com>
81273         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
81274         backslash.
81276 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
81278         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
81279         protection macro.
81280         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
81281         and <dl-machine.h>.
81282         (Elf64_FuncDesc): Remove.
81284 2011-08-22  David S. Miller  <davem@davemloft.net>
81286         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
81287         sigaltstack check, add missing cfi directives.
81288         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
81289         missing cfi directives, and sigaltstack handling.
81291 2011-08-16  Andreas Schwab  <schwab@redhat.com>
81293         [BZ #11724]
81294         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
81295         object is seen twice.
81296         * elf/dl-fini.c (_dl_sort_fini): Likewise.
81298         * elf/Makefile (distribute): Add tst-initorder2.c.
81299         (tests): Add tst-initorder2.
81300         (modules-names): Add tst-initorder2a tst-initorder2b
81301         tst-initorder2c tst-initorder2d.  Add rules to build them.
81302         ($(objpfx)tst-initorder2.out): New rule.
81303         * elf/tst-initorder2.c: New file.
81304         * elf/tst-initorder2.exp: New file.
81306 2011-08-22  Andreas Schwab  <schwab@redhat.com>
81308         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
81310         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
81311         dependencies back to end of function.
81313         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81314         $(elfobjdir)/ld.so.
81316 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
81318         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
81319         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
81320         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
81321         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
81322         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
81323         of __vdso_gettimeofday.
81324         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
81325         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
81326         attribute_hidden.
81327         (_libc_vdso_platform_setup): Remove initialization of
81328         __vdso_gettimeofday and __vdso_time.
81330 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81332         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
81333         and fgetc_unlocked.
81334         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
81335         getc_unlocked.
81337         * elf/dl-open.c (add_to_global): Report additions to the global scope
81338         for LD_DEBUG=scopes.
81339         (dl_open_worker): Also print scope of newly loaded dependencies.
81340         (_dl_show_scope): Indicate if there is no scope.
81342         [BZ #13114]
81343         * stdio-common/Makefile (tests): Add bug24.
81344         * stdio-common/bug24.c: New file.
81346 2011-08-19  Andreas Jaeger  <aj@suse.de>
81348         [BZ #13114]
81349         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
81350         non-existant file when using close-on-exec mode.
81352 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
81354         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
81355         the very first instruction.
81357         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
81358         the CFI state in the end.
81359         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
81360         inclusion of dl-trampoline.h.
81361         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
81363 2011-08-19  Andreas Schwab  <schwab@redhat.com>
81365         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
81366         expectations for long double.
81368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
81369         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
81371 2011-08-14  David S. Miller  <davem@davemloft.net>
81373         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
81374         artificual limit depends upon the system page size.
81376 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81378         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
81379         * resolv/Makefile: Define CFLAGS-libresolv.
81381 2011-08-17  Andreas Schwab  <schwab@redhat.com>
81383         * nss/makedb.c (compute_tables): Make variables used in nested
81384         function static.
81386 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
81388         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
81389         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
81390         if buffer was too small.
81392         * elf/pldd.c (main): Attach to all threads in the process.
81393         Rewrite /proc handling to use *at functions.
81395 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
81397         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
81398         specifies first scope to show.
81399         (dl_open_worker): Update callers.  Move printing scope of new
81400         object to before the relocation.
81401         * elf/rtld.c (dl_main): Update _dl_show_scope call.
81402         * sysdeps/generic/ldsodefs.h: Update declaration.
81404         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
81405         string for the scope number.
81407 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
81409         * nscd/servicescache.c (cache_addserv): Make sure written is always
81410         initialized.
81412 2011-08-14  Roland McGrath  <roland@hack.frob.com>
81414         * sysdeps/i386/i486/bits/atomic.h
81415         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
81416         statement expression, so as to suppress "set but not used" warning.
81417         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
81419         * string/strncat.c (STRNCAT): Use prototype definition.
81421         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
81422         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
81423         -Iprograms here.
81424         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
81425         (localedef-modules): Add localedef.
81426         (locale-modules): Add locale.
81428         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
81429         * elf/rtld.c (dl_main): Invert order of assignment in last change,
81430         to avoid a warning.
81432 2011-08-14  David S. Miller  <davem@davemloft.net>
81434         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
81435         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
81437 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
81439         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
81440         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
81441         * elf/rtld.c (dl_main): Set l_name of vDSO.
81442         Call _dl_show_scope when DL_DEBUG_SCOPES.
81443         (process_dl_debug): Recognize scopes flag and also set it for all.
81444         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
81445         Declare _dl_show_scope.
81447         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
81448         (do_dlopen): Pass caller_dlopen to dl_open.
81449         (__libc_dlopen_mode): Initialize caller_dlopen.
81451         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
81452         of libc.  Make tolower call locale-independent.  Optimize a bit by
81453         using isdigit instead of isalnum.
81454         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
81456 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
81458         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
81459         was a dependency or dynamically loaded.
81461 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
81463         * intl/l10nflist.c: Allow architecture-specific pop function.
81464         * sysdeps/x86_64/l10nflist.c: New file.
81466         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
81467         classification.
81469 2011-08-10  Andreas Schwab  <schwab@redhat.com>
81471         * include/dirent.h: Add libc_hidden_proto for scandirat and
81472         scandirat64.  Don't declare __scandirat64.
81473         * dirent/scandirat.c: Add libc_hidden_def.
81474         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
81475         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
81477 2011-08-10  David S. Miller  <davem@davemloft.net>
81479         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
81480         enum.
81481         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81482         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81483         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81485 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
81487         * Versions.def [libc]: Add GLIBC_2.15.
81488         * dirent/Makefile (routines): Add scandirat and scandirat64.
81489         * dirent/Versions [libc]: Export scandirat and scandirat64 for
81490         GLIBC_2.15.
81491         * dirent/dirent.h: Declare scandirat and scandirat64.
81492         * dirent/scandirat.c: New file.
81493         * dirent/scandirat64.c: New file.
81494         * sysdeps/wordsize-64/scandirat.c: New file.
81495         * sysdeps/wordsize-64/scandirat64.c: New file.
81496         * dirent/opendir.c: Define opendirat.
81497         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
81498         using scandirat.
81499         * dirent/scandir64.c: Adjust for scandir.c change.
81500         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
81501         __scandirat64, and __scandir_cancel_handler.
81502         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
81503         additional parameter and use openat instead of open (outside of ld.so).
81504         Add new __opendir as wrapper around __opendirat.
81505         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
81506         here without requiring old scandirat implementation.
81508 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
81510         * dirent/scandir.c (cancel_handler): Renamed to
81511         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
81512         defined.  Adjust users.
81513         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
81514         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
81516 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
81518         * string/test-string.h (IMPL): Use __STRING to expand name and then
81519         stringify it.
81521         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
81522         of cleanups.
81524 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81526         * string/Makefile: Update.
81527         (strop-tests): Append strncat.
81528         * string/test-wcscmp.c: New file.
81529         New comprehensive test for wcscmp.
81530         * string/test-strcmp.c: Update.
81531         (WIDE): New define.
81533 2011-07-22  Andreas Schwab  <schwab@redhat.com>
81535         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
81536         line.
81538 2011-07-26  Andreas Schwab  <schwab@redhat.com>
81540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81541         encoding to ACE if AI_IDN.
81543 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
81545         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
81546         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
81548 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81550         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
81551         Fix overflow bug in strncat.
81552         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
81554         * string/test-strncat.c: Update.
81555         Add new tests for checking overflow bugs.
81557 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81559         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81560         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
81561         * sysdeps/i386/i686/multiarch/strcat.S: New file.
81562         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
81563         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
81564         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
81565         * sysdeps/i386/i686/multiarch/strncat.S: New file.
81566         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
81567         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
81569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
81570         (USE_AS_STRCAT): Define.
81571         Add strcat and strncat support.
81572         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81574 2011-07-25  Andreas Schwab  <schwab@redhat.com>
81576         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
81577         __n bigger than INT_MAX+1.
81578         (__strncmp_g): Likewise.
81580 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
81582         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
81583         * libio/stido.h: Likewise.
81585         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
81586         (AF_NFC): Define.
81587         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
81588         (AF_NFC): Define.
81590         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
81591         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
81592         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
81593         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
81594         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
81596         [BZ #13021]
81597         * scripts/test-installation.pl: Don't expect libnss_test1 to be
81598         installed.
81600         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
81601         typo.
81602         (_dl_x86_64_save_sse): Likewise.
81604 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
81606         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
81607         OSXSAVE.
81608         (_dl_x86_64_save_sse): Likewise.
81610         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
81612         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
81614 2011-07-21  Andreas Schwab  <schwab@redhat.com>
81616         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
81617         change.
81618         (_dl_x86_64_save_sse): Use correct AVX check.
81620 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81622         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
81623         bug in strncpy/strncat.
81624         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
81626 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
81628         * string/tester.c (test_strcat): Add tests for different alignments
81629         of source and destination.
81630         (test_strncat): Likewise.
81632 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81634         [BZ #12852]
81635         * posix/glob.c (glob): Check passed in values before using them in
81636         expressions to avoid some overflows.
81637         (glob_in_dir): Likewise.
81639         [BZ #13007]
81640         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
81641         check for AVX enablement so that we don't crash with old kernels and
81642         new hardware.
81643         * elf/tst-audit4.c: Add same checks here.
81644         * elf/tst-audit6.c: Likewise.
81646         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
81648 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
81650         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
81652 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
81654         * po/cs.po: Update from translation team.
81655         * po/bg.po: Likewise.
81657 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
81659         * misc/sys/cdefs.h: Add support for const attribute.
81660         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
81661         to gnu_dev_{major,minor,makedev} functions.
81663 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
81665         * intl/dcigettext.c (get_output_charset): Add missing bracket.
81667 2011-07-20  Andreas Schwab  <schwab@redhat.com>
81669         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
81670         strlen results.
81672 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81674         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
81675         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
81676         register in order to avoid conflicts with the soft frame pointer
81677         being held in r11 when necessary.
81678         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
81679         (INTERNAL_VSYSCALL_NCS): Likewise.
81681 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
81683         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
81684         * elf/dl-fini.c (_dl_fini): Adjust caller.
81685         * elf/dl-close.c (_dl_close_worker): Likewise.
81686         * sysdeps/generic/ldsodefs.h: Adjust declaration.
81688 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81690         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
81691         "aux_cache->nlibs < 0".
81693         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
81694         in the reload-count case.
81696 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81698         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81699         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
81700         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
81701         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
81702         * sysdeps/x86_64/multiarch/strcat.S: New file.
81703         * sysdeps/x86_64/multiarch/strncat.S: New file.
81704         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
81705         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
81706         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
81707         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
81708         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
81709         (USE_AS_STRCAT): Define.
81710         Add strcat and strncat support.
81711         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81712         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
81713         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
81714         * string/strncat.c: Update.
81715         (USE_AS_STRNCAT): Define.
81716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81717         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
81718         and i7.
81719         * sysdeps/x86_64/multiarch/init-arch.h
81720         (bit_Prefer_PMINUB_for_stringop): New.
81721         (index_Prefer_PMINUB_for_stringop): Likewise.
81722         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
81723         bit_Prefer_PMINUB_for_stringop.
81725 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81727         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
81728         buffer64.
81729         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
81730         of casting of buffer.
81731         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
81732         buffer32 and buffer64.
81733         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
81734         writes instead of casting of buffer.
81735         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
81736         buffer32.
81737         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
81738         casting of buffer.
81740 2011-07-19  Andreas Schwab  <schwab@redhat.com>
81742         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
81744 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
81746         * nscd/nscd.c (termination_handler): Don't do anything for a database
81747         if it has not yet been initialized.
81749 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81751         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81753 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
81755         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
81757 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
81759         * po/nl.po: Update from translation team.
81760         * po/sv.po: Likewise.
81762 2011-07-16  Roland McGrath  <roland@hack.frob.com>
81764         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
81765         now disallowed by GCC.
81767         * configure.in (use-default-link): Default to yes if a test -shared
81768         link meets our qualifications.
81769         * configure: Regenerated.
81771         * config.make.in (output-format): New variable.
81772         * configure.in: Check for ld --print-output-format support.
81773         * configure: Regenerated.
81774         * Makerules ($(common-objpfx)format.lds)
81775         [$(output-format) != unknown]: Just use $(output-format),
81776         instead of the linker-script munging.
81778 2011-07-14  Roland McGrath  <roland@hack.frob.com>
81780         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
81781         of $(common-objpfx)shlib.lds.
81782         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
81784         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
81785         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
81787         * configure.in (-z relro check): Adjust test code to add a large
81788         writable data section after it.
81789         * configure: Regenerated.
81791 2011-07-11  Roland McGrath  <roland@hack.frob.com>
81793         * configure.in (-z relro check): Fix test code to make the variable
81794         truly const.
81795         * configure: Regenerated.
81797 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
81799         * nscd/nscd.h (struct traced_file): Define.
81800         (struct database_dyn): Remove inotify_descr, reset_res, and filename
81801         elements.  Add traced_files.
81802         (inotify_fd): Declare.
81803         (register_traced_file): Declare.
81804         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
81805         (inotify_fd): Export.
81806         (resolv_conf_descr): Remove.
81807         (nscd_init): Move inotify descriptor creation to main.
81808         Don't register files for notification here.
81809         (register_traced_file): New function.
81810         (invalidate_cache): Don't use reset_res to determine whether to call
81811         res_init, go through the list of registered files.
81812         (main_loop_poll): The inotify descriptors are now stored in the
81813         structures for the traced files.
81814         (main_loop_epoll): Likewise.
81815         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
81816         to __nss_disable_nscd.
81817         * nscd/cache.c (prune_cache): There is no single inotify descriptor
81818         for a database anymore.  Check the records for all the registered
81819         files instead.
81820         * nss/Makefile (libnss_files-routines): Add files-init.
81821         (libnss_db-routines): Add db-init.
81822         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
81823         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
81824         * nss/nss_db/db-init.c: New file.
81825         * nss/nss_files/files-init.c: New file.
81826         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
81827         __nss_lookup_function.
81828         (__nss_lookup_function): Call nss_load_library.
81829         (nss_load_all_libraries): New function.
81830         (__nss_disable_nscd): Take parameter with callback function for files
81831         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
81832         used for the cached services.
81833         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
81834         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
81835         options for features to all the files in nscd.
81837         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
81839 2011-07-10  Roland McGrath  <roland@hack.frob.com>
81841         * csu/elf-init.c (__libc_csu_init): Comment typo.
81843 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
81845         * po/pl.po: Update from translation team.
81846         * po/ja.po: Likewise.
81847         * po/ru.po: Likewise.
81848         * po/ko.po: Likewise.
81849         * po/fr.po: Likewise.
81851 2011-07-09  Roland McGrath  <roland@hack.frob.com>
81853         * configure.in (.ctors/.dtors header and trailer check):
81854         Use an empirical test on a built program.
81855         * configure: Regenerated.
81857         * configure.in (-z relro check): Use an empirical test on a built DSO.
81858         Detect, but do not require, on ia64.
81859         * configure: Regenerated.
81861         * configure.in (READELF): Find it with AC_CHECK_TOOL.
81862         Update tests that use readelf to use $READELF instead.
81863         * configure: Regenerated.
81865 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
81867         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
81868         if the result is not used.
81870 2011-07-05  Andreas Jaeger  <aj@suse.de>
81872         [BZ#9696]
81873         * stdlib/tst-strtod.c: Add testcase.
81875 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
81877         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
81878         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
81879         The latter has a higher limit.  Take additional parameter to pass to
81880         the new function.
81881         (__pathconf): Pass file to __statfs_link_max.
81882         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
81883         __statfs_link_max.
81884         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
81885         __statfs_link_max.
81887         [BZ #12868]
81888         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
81889         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81890         Handle Lustre.
81891         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
81892         (__statfs_filesize_max): Likewise.
81893         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
81895 2011-07-05  Andreas Jaeger  <aj@suse.de>
81897         * resolv/res_comp.c (dn_skipname): Remove unused variable.
81899 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
81901         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
81902         `status' variable.
81903         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
81904         Likewise.
81906 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
81908         * Makefile (strop-tests): Add strncat.
81909         * string/test-strncat.c: New file.
81911 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
81913         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
81915 2011-06-21  Andreas Jaeger  <aj@suse.de>
81917         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
81918         Copy rule from iconvdata/Makefile.
81920 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81922         [BZ #12922]
81923         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
81924         but no long options are defined, just return 'W'.
81926 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
81928         [BZ #9696]
81929         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
81931 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
81933         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
81934         netgroups to read.
81935         (innetgr): Likewise.
81937 2011-07-05  Roland McGrath  <roland@hack.frob.com>
81939         * config.make.in (install_root): Default to $(DESTDIR).
81941 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
81943         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
81945 2011-07-02  Roland McGrath  <roland@hack.frob.com>
81947         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
81949         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
81950         containing directory rather than embedding absolute directory names.
81952         * scripts/check-local-headers.sh: Rewritten using awk.
81953         Match by word, not by line.  Print error messages for matches.
81954         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
81956         * Makerules [shlib-lds-flags empty]:
81957         ($(common-objpfx)libc_pic.opts): New target.
81958         ($(common-objpfx)libc_pic.os.clean): New target.
81959         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
81961         * config.make.in (OBJCOPY): New variable.
81962         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
81963         * configure: Regenerated.
81965         * config.make.in (use-default-link): New variable.
81966         * configure.in (use_default_link): Grok --with-default-link to set it.
81967         * configure: Regenerated.
81968         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
81969         (shlib-lds, shlib-lds-flags): Define to empty.
81971         * Makerules (shlib-lds): New variable.
81972         (shlib-lds-flags): New variable.
81973         (build-shlib, build-moduile, build-module-asneeded): Use it.
81974         ($(common-objpfx)libc.so): Use $(shlib-lds).
81975         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
81976         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
81978         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
81979         DT_FLAGS/DT_FLAGS_1 with zero flags.
81981         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
81982         linker script munging.
81984 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
81986         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
81987         as 128-bit value.
81988         * crypt/sha512.c (sha512_process_block): Perform total addition using
81989         128-bit if possible.
81990         (__sha512_finish_ctx): Likewise.
81991         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
81992         as 64-bit value.
81993         * crypt/sha256.c (SWAP64): Define.
81994         (sha256_process_block): Perform total addition using 64-bit if
81995         possible.
81996         (__sha256_finish_ctx): Likewise.
81998 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82000         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82001         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82002         * nscd/hstcache.c (cache_addhst): Likewise.
82003         * nscd/grpcache.c (cache_addgr): Likewise.
82004         * nscd/aicache.c (addhstaiX): Likewise.
82005         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82007 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82009         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82010         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82011         * nscd/hstcache.c (cache_addhst): Likewise.
82012         * nscd/grpcache.c (cache_addgr): Likewise.
82013         * nscd/aicache.c (addhstaiX): Likewise.
82015 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82017         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82018         domain only when needed.
82020 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82023         is always restored.
82025 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82027         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82028         are re-adding the entry.
82029         * nscd/servicescache.c (cache_addserv): Likewise.
82031 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82033         * sysdeps/generic/dl-irel.h: fix protection against multiple
82034         inclusions.
82035         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82037 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82039         [BZ #12935]
82040         * malloc/memusage.sh: Fix quoting in message.
82041         * debug/xtrace.sh: Likewise.
82043         * configure.in: Remove support for --experimental-malloc option, make
82044         it the default.
82045         * config.make.in: Likewise.
82046         * malloc/Makefile: Likewise.
82048 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82050         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82051         two-byte characters.
82053 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82055         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82056         AC_CACHE_CHECK invocation.
82057         * configure: Regenerated.
82059         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82061 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82063         [BZ #12350]
82064         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82065         bit from old_res_options.
82067         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82069         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82070         value type for setfct.
82072 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82074         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82075         __gettimeofday instead of gettimeofday.
82077 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82079         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82081 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82083         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82085         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82086         info.
82088 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82091         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82092         strcpy-sse2-unaligned strncpy-sse2-unaligned
82093         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82094         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82095         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82096         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82097         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82098         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82099         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82100         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82101         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82102         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82103         (STRCPY): Support SSE2 and SSSE3 versions.
82105 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82107         [BZ #12874]
82108         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82109         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82110         kernels which artificially limit size of requests.
82112 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82114         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82115         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82116         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82117         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82118         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82119         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82120         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82121         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82122         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82123         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82124         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82125         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82126         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82127         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82128         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82129         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82130         Enable unaligned load optimization for Intel Core i3, i5 and i7
82131         processors.
82132         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82133         Define.
82134         (index_Fast_Unaligned_Load): Define.
82135         (HAS_FAST_UNALIGNED_LOAD): Define.
82137 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
82139         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
82141 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82143         [BZ #12907]
82144         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
82145         until it is clear that the information is realy needed.
82146         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
82148 2011-06-22  Andreas Schwab  <schwab@redhat.com>
82150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
82152 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
82154         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82155         /sys/devices/system/cpu/online if it is usable.
82157         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
82158         reading the information from the /proc filesystem to once a second.
82160 2011-06-21  Andreas Jaeger  <aj@suse.de>
82162         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
82163         NULL after inclusion of kernel headers.
82165 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
82167         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
82168         calls to internal_setent.
82170         [BZ #12885]
82171         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
82172         addresses using gethostbyname4_r ignore IPv4 addresses.
82174         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
82175         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
82177         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
82179 2011-06-20  David S. Miller  <davem@davemloft.net>
82181         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
82182         inclusions.
82183         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
82185         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
82186         (elf_irel): Use it.
82187         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
82188         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
82189         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
82190         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
82191         * sysdeps/x86_64/dl-irel.h: Likewise.
82193         * elf/dl-runtime.c: Use elf_ifunc_invoke.
82194         * elf/dl-sym.c: Likewise.
82196 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82198         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
82199         need to dereference resplen2.
82201 2011-06-14  Andreas Schwab  <schwab@redhat.com>
82203         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
82205 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
82207         * Makeconfig: Define vardbdir and inst_vardbdir.
82208         * nss/Makefile: Add rules to install db-Makefile.
82210         * nss/nss_db/db-XXX.c: Cleanup.
82212         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
82213         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
82214         GLIBC_PRIVATE.
82215         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
82216         * nss/makedb.c: Implement -g option to specify that value strings
82217         are generated and should not be added to table iterated over for
82218         get*ent calls.
82219         * nss/nss_db/db-initgroups.c: New file.
82221         * nss/getent.c: Add support for initgroups lookups through getgrouplist
82222         interface.
82224         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
82225         (internal_getgrouplist): Adjust to name change.
82226         Update use_initgroups_entry if this is not the first call.
82227         * nss/databases.def: Add initgroups entry.
82229         * nss/makedb.c (compute_tables): Check result of multiple hash table
82230         sizes to minimize maximum chain length.
82232 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
82234         * Versions.def: Add entry for libnss_db.
82235         * shlib-versions: Likewise.
82236         * nss/Makefile: Add rules to build libnss_db.
82237         * nss/Versions: Add libnss_db information.  Organize libnss_files
82238         entries better.
82239         * nss/db-Makefile: Add gshadow support.  Change rules for the new
82240         makedb progra.  Some minor improvements to generate smaller files.
82241         * nss/nss_db/nss_db.h: Move NSS database header data structures to
82242         here from...
82243         * nss/makedb.c: ...here.
82244         Improve database format to be smaller and require less memory at
82245         runtime.
82246         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
82247         db anymore.
82248         * nss/nss_db/db-netgrp.c: Likewise.
82249         * nss/nss_db/db-open.c: Likewise.
82250         * nss/nss_files/flies-XXX.x: Adjust comments.
82251         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
82252         * nss/nss_files/files-grp.c: Likewise.
82253         * nss/nss_files/files-hosts.c: Likewise.
82254         * nss/nss_files/files-network.c: Likewise.
82255         * nss/nss_files/files-proto.c: Likewise.
82256         * nss/nss_files/files-pwd.c: Likewise.
82257         * nss/nss_files/files-rpc.c: Likewise.
82258         * nss/nss_files/files-service.c: Likewise.
82259         * nss/nss_files/files-sgrp.c: Likewise.
82260         * nss/nss_files/files-spwd.c: Likewise.
82261         * nss/nss_db/db-alias.c: Removed.
82262         * nss/nss_db/dummy-db.h: Removed.
82264 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
82266         * nss/makedb.c: Rewritten to not use database library.
82267         * nss/Makefile: Update to build new makedb program.
82269 2011-06-14  Andreas Jaeger  <aj@suse.de>
82271         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
82272         memset declaration.
82274 2011-06-10  Andreas Schwab  <schwab@redhat.com>
82276         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
82277         tmpbuf.
82279 2011-06-10  Roland McGrath  <roland@hack.frob.com>
82281         * Makerules (shlib.lds): Fail if the linker script comes out empty.
82282         * elf/Makefile ($(objpfx)ld.so): Likewise.
82284         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
82285         Don't list ld.so twice in dependencies.
82287         * posix/bug-regex31.c: Include <stdlib.h>.
82289         * nscd/hstcache.c (cache_addhst): Remove unused variable.
82291         * nis/nss_compat/compat-spwd.c
82292         (getspent_next_nss_netgr): Remove unused variable.
82293         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
82295         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
82296         nonmembers" output to use the right array.
82298         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
82300         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
82302         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
82303         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
82304         * catgets/gencat.c (read_input_file): Likewise.
82305         * locale/programs/locarchive.c (enlarge_archive): Likewise.
82307         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
82308         variable definition inside #if's controlling its use.
82310         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
82312         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
82314         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
82316         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
82317         unreachable code.
82319         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
82321         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
82322         * configure: Regenerated.
82324         * Makerules: Revert last change.
82325         * elf/Makefile: Likewise.
82327 2011-06-09  Roland McGrath  <roland@hack.frob.com>
82329         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
82330         * elf/Makefile ($(objpfx)librtld.os): Likewise.
82331         (reloc-link): Likewise.
82333 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
82335         * elf/Makefile: Add rules to build pldd.
82336         * elf/pldd.c: New file.
82337         * elf/pldd-xx.c: New file.
82339 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
82341         * version.h: Update for 2.15 development version.
82343 2011-06-07  David S. Miller  <davem@davemloft.net>
82345         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
82346         ifuncs.
82347         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
82348         elf_machine_lazy_rel): Likewise.
82349         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
82350         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
82351         elf_machine_lazy_rel): Likewise.
82352         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
82353         dl_hwcap via passed in argument.
82354         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
82355         Likewise.
82357 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82359         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
82361 2011-06-06  Roland McGrath  <roland@hack.frob.com>
82363         [BZ #12849]
82364         * manual/fdl-1.1.texi: New file, verbatim from:
82365         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
82366         * manual/lgpl-2.1.texi: New file, verbatim from:
82367         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
82368         * manual/Makefile (licenses): New variable, list those new file names.
82369         (texis): Use it.
82370         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
82372         * manual/fdl.texi: File removed.
82373         * manual/lesser.texi: File removed.
82374         * manual/libc.texinfo (Copying, Documentation License):
82375         Use new @include file names, put @appendix directive before @include.
82377 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
82379         [BZ #12841]
82380         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
82381         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
82382         (mq_open): Add __NTH.
82384 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
82386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82387         Assume Intel Core i3/i5/i7 processor if AVX is available.
82389 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82391         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
82392         typo.
82394 2011-05-31  Andreas Schwab  <schwab@redhat.com>
82396         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
82397         memory.  Use alloca_account.  Fix memory leak when retrying.
82399 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
82401         * version.h (RELEASE): Bump for 2.14 release.
82402         * include/features.h (__GLIBC_MINOR__): Bump to 14.
82404         * config.make.in (RANLIB): Remove entry.
82406 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
82408         * po/Makefile (po-sed-cmd): Add ksh to extensions.
82409         (libc.pot): Work around missing support for .ksh extension in xgettext.
82411         [BZ #12684]
82412         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
82413         if both request failed.
82414         (send_dg): In case of server errors clear resplen or *resplen2.
82416         [BZ #12454]
82417         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
82418         when there are multiple maps.
82419         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
82420         (_dl_fini): Remove test here.
82422         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
82424 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
82426         [BZ #12350]
82427         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
82428         bit from old_res_options.
82429         (gaih_inet): Likewise.
82431         [BZ #11099]
82432         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
82433         as signed.
82435         * resolv/res_init.c (res_setoptions): Make the code more compact.
82437         [BZ #11558]
82438         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
82439         set RES_USEVC.
82441         [BZ #11634]
82442         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
82444         * malloc/malloc.h: Mark malloc hook variables as deprecated.
82446         [BZ #11781]
82447         * malloc/malloc.h: Declare malloc hook variables as volatile.
82449         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
82450         in last patch.
82452         [BZ #11799]
82453         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
82454         raise in the comment.
82455         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82456         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82457         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
82459 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
82461         [BZ #12811]
82462         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
82463         grow the buffers more if it already has to be sufficient.
82464         (build_wcs_upper_buffer): Likewise.
82465         * posix/regexec.c (check_matching): Likewise.
82466         (clean_state_log_if_needed): Likewise.
82467         (extend_buffers): Don't enlarge buffers beyond size of the input
82468         buffer.
82469         Patches mostly by Emil Wojak <emil@wojak.eu>.
82470         * posix/bug-regex32.c: New file.
82471         * posix/Makefile (tests): Add bug-regex32.
82473         * locale/findlocale.c (_nl_find_locale): Return right away if
82474         _nl_explode_name failed.
82475         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
82477         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
82479         * debug/xtrace.sh: Unify messages.
82480         * malloc/memusage.sh: Likewise.
82482         [BZ #12813]
82483         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
82484         time symbol from vDSO.  Substitute with vsyscall if not available.
82485         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
82486         __vdso_time.
82488         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
82489         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
82490         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
82491         Add sendmmsg and internal_sendmmsg.
82492         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
82493         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
82494         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
82496         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
82497         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
82498         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
82500 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
82502         [BZ #12813]
82503         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
82504         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
82505         available.
82506         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
82507         __vdso_getcpu.
82509         [BZ #12814]
82510         * iconvdata/Makefile (tests): Add bug-iconv9.
82511         * iconvdata/bug-iconv9.c: New file.
82513 2011-05-27  Andreas Schwab  <schwab@redhat.com>
82515         [BZ #12814]
82516         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
82518 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
82520         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82521         (struct user_regs_struct): Change intcs field back to cs.
82523 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
82525         * po/ja.po: Update from translation team.
82527 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
82529         [BZ #12795]
82530         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
82531         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
82533 2011-05-20  Andreas Schwab  <schwab@redhat.com>
82535         * stdlib/longlong.h: Update from GCC.
82537 2011-05-23  Andreas Schwab  <schwab@redhat.com>
82539         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
82540         parameter name.
82541         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
82542         Add parameter name.
82543         (__sysconf): Pass it down.
82545 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
82547         [BZ #12671]
82548         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
82549         some situations.
82550         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
82551         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
82552         add in in __libc_use_alloca calls.  Adjust callers.
82553         (glob): Use malloc in some situations.
82555         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
82556         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
82557         pltexit.
82559 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
82561         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
82562         and CLOCK_BOOTTIME_ALARM.
82564         [BZ #12782]
82565         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
82566         is returned.
82568         * string/_strerror.c (__strerror_r): Print negative errors as signed
82569         numbers.
82571         [BZ #12777]
82572         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
82573         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
82574         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
82576         * configure.in: Fix typo in redirection and correct removal of test
82577         files in two cases.
82579         [BZ #12788]
82580         * locale/setlocale.c (new_composite_name): Fix test to check for
82581         identical name of all categories.
82583         [BZ #12792]
82584         * libio/filedoalloc.c (local_isatty): New function.
82585         (_IO_file_doallocate): Use local_isatty.
82586         * stdio-common/perror.c (perror): In case a new stream is used
82587         forward the stream error.
82588         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
82589         error flag.
82591 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
82593         [BZ #11884]
82594         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
82595         alloca.
82596         * include/alloca.h (extend_alloca_account): Define.
82598         [BZ #11857]
82599         * posix/regex.h: Fix comments with documentation of user-accessible
82600         fields after compilation and describe correct free'ing of pattern
82601         after re_compile_pattern.
82602         Patch by Reuben Thomas <rrt@sc3d.org>.
82604 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
82606         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
82607         and -mno-altivec to prevent the compiler from using Altivec and/or
82608         VSX instructions when the corresponding registers are not available.
82610 2011-05-19  Andreas Schwab  <schwab@redhat.com>
82612         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
82614 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
82616         * libio/freopen.c (freopen): Use __dup2, not dup2.
82617         * libio/freopen64.c (freopen64): Likewise.
82619 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82621         [BZ #12775]
82622         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
82623         * math/Makefile (tests): Add test-powl.
82624         (CFLAGS-test-powl.c): Define.
82625         * math/test-powl.c: New file.
82627 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82629         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
82631 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
82633         [BZ #11837]
82634         * iconvdata/gb18030.c: Update to GB18020-2005.
82636 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
82638         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
82639         RE_SYNTAX_POSIX_AWK): Update to match recent development.
82640         Patch by Aharon Robbins <arnold@skeeve.com>.
82642         [BZ #11892]
82643         * stdlib/putenv.c (putenv): Don't always create copy of the variable
82644         on the stack.
82646         [BZ #11895]
82647         * misc/pselect.c (__pselect): Handle timeout value errors hidden
82648         through underflows.
82650         [BZ #12766]
82651         * misc/error.c (error_at_line): Ensure file_name and old_file_name
82652         point to strings before performing equality test for error_one_per_line
82653         mode.
82655         [BZ #11697]
82656         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
82658         [BZ #11820]
82659         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
82660         (struct user_fpregs_struct): Avoid __uint*_t types.
82662         [BZ #6420]
82663         * malloc/mtrace.c (tr_where): Add additional parameter to point to
82664         symbol info.  Use it instead of calling _dl_addr locally.
82665         (lock_and_info): New function.
82666         (tr_freehook): Call lock_and_info and pass symbol info as additional
82667         parameter to tr_where.
82668         (tr_mallochook): Likewise.
82669         (tr_reallochook): Likewise.
82670         (tr_memalignhook): Likewise.
82672         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
82673         used and couldn't be at all thread-safe.
82675 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
82677         * libio/freopen.c (freopen): Don't close old file descriptor
82678         before the new one is opened.  Instead dup the new file descriptor
82679         to the old one after the new stream is created.
82680         * libio/freopen64.c (freopen64): Likewise.
82681         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
82682         * libio/fileops.c (_IO_new_file_close_it): Handle new
82683         _IO_FLAGS2_NOCLOSE flag.
82684         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
82685         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
82686         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
82687         _IO_FLAGS2_NOCLOSE flag.
82688         * include/unistd.h: Add hidden_proto for dup3.
82689         Define __have_dup3.
82690         * io/dup3.c: Define hidden symbol.
82691         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
82693         [BZ #7101]
82694         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
82695         when an incomplete long option is used.
82696         * posix/tst-getopt_long1.c: New file.
82697         * posix/Makefile (tests): Add tst-getopt_long1.
82699         [BZ #10138]
82700         * scripts/config.guess: Update from autoconf-2.68.
82701         * scripts/config.sub: Likewise.
82703         [BZ #10157]
82704         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
82705         tests into ...
82706         (has_cpuclock): ...this.  New function.
82707         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
82708         macro here based on has_cpuclock code.
82710         [BZ #10149]
82711         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82712         First byte (not low byte) is now always NUL.
82713         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
82715         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
82716         Use non-cancelable interfaces.
82718         [BZ #9809]
82719         * locale/iso-639.def: Add entry for Sorani.
82721         [BZ #11901]
82722         * include/stdlib.h: Move include protection to the right place.
82723         Define abort_msg_s.  Declare __abort_msg with it.
82724         * stdlib/abort.c (__abort_msg): Adjust type.
82725         * assert/assert.c (__assert_fail_base): New function.  Majority
82726         of code from __assert_fail.  Allocate memory for __abort_msg with
82727         mmap.
82728         (__assert_fail): Now call __assert_fail_base.
82729         * assert/assert-perr.c: Remove bulk of implementation.  Use
82730         __assert_fail_base.
82731         * include/assert.hL Declare __assert_fail_base.
82732         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
82733         mmap.
82734         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
82736 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
82738         [BZ #11952]
82739         [BZ #12453]
82740         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
82741         until all modules are registered in the DTV.
82742         * elf/Makefile: Add rules to build and run tst-tls19.
82743         * elf/tst-tls19.c: New file.
82744         * elf/tst-tls19mod1.c: New file.
82745         * elf/tst-tls19mod2.c: New file.
82746         * elf/tst-tls19mod3.c: New file.
82747         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
82749         [BZ #12083]
82750         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
82751         correctly.
82753         [BZ #12601]
82754         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
82755         two-byte sequence errors.
82756         * iconvdata/Makefile (tests): Add bug-iconv8.
82757         * iconvdata/bug-iconv8.c: New file.
82759         [BZ #12626]
82760         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
82761         buf2 definition.
82763         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
82765         [BZ #12432]
82766         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
82767         (dummy_getcfa): New function.
82768         (init): Get _Unwind_GetCFA address, use dummy if not found.
82769         (backtrace_helper): In recursion check, also check whether CFA changes.
82770         (__backtrace): Completely initialize arg.
82772         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
82773         storing incomplete byte sequence in state object.  Avoid testing for
82774         guaranteed too small input if we know there is enough data available.
82776 2011-05-11  Andreas Schwab  <schwab@redhat.com>
82778         * Makeconfig (+link-pie): Indent.
82779         * Rules (binaries-pie): Define if $(have-fpie) and
82780         $(build-shared).
82781         (binaries-shared): Also filter out $(binaries-pie).
82782         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
82783         * nscd/Makefile (others-pie): Add nscd.
82784         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
82785         ($(objpfx)nscd): Remove command override.
82786         * login/Makefile (others-pie): Add pt_chown.
82787         ($(objpfx)pt_chown): Remove command override.
82788         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
82789         remove command overrides.
82791 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
82793         * libio/tst_putwc.c: Fix error messages.
82795         [BZ #12724]
82796         * libio/fileops.c (_IO_new_file_close_it): Always flush when
82797         currently writing and seek to current position when not.
82798         * libio/Makefile (tests): Add bug-fclose1.
82799         * libio/bug-fclose1.c: New file.
82801 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
82803         [BZ #12511]
82804         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
82805         don't set DF_1_NODELETE here.
82806         (do_lookup_x): When entering new entry test for copy relocation
82807         and if necessary set DF_1_NODELETE flag.
82808         * elf/tst-unique4.cc: New file.
82809         * elf/tst-unique4.h: New file.
82810         * elf/tst-unique4lib.cc: New file.
82811         * elf/Makefile: Add rules to build and run tst-unique4.
82812         Patch by Piotr Bury <pbury@goahead.com>.
82814 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
82816         [BZ #12052]
82817         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
82819         [BZ #12625]
82820         * misc/mntent_r.c (addmntent): Flush the stream after the output
82822         [BZ #12393]
82823         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
82824         (is_trusted_path_normalize): Skip initial colon.  Append slash
82825         to empty buffer.  Duplicate is_trusted_path code but allow
82826         constructed patch to be prefix.
82827         (is_dst): Allow $ORIGIN followed by /.
82828         (_dl_dst_substitute): Correct clearing of check_for_trusted.
82829         Correct testing of result of is_trusted_path_normalize
82830         (decompose_rpath): Fix warning.
82832 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
82834         [BZ #11257]
82835         * grp/initgroups.c (internal_getgrouplist): When we found the service
82836         list through the initgroups entry in nsswitch.conf do not always
82837         continue on a successful lookup.  Don't always use the
82838         __nss_group_database value if it is set.
82839         * nss/nsswitch.conf (initgroups): Change action for successful db
82840         lookup to continue for compatibility.
82842 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
82844         [BZ #11532]
82845         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
82846         and CP774 modules.
82847         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
82848         and CP774 modules.
82849         * iconvdata/tst-tables.sh: Likewise.
82850         * iconvdata/cp770.c: New file.
82851         * iconvdata/cp771.c: New file.
82852         * iconvdata/cp772.c: New file.
82853         * iconvdata/cp773.c: New file.
82854         * iconvdata/cp774.c: New file.
82855         * iconvdata/testdata/CP770: New file.
82856         * iconvdata/testdata/CP770..UTF8: New file.
82857         * iconvdata/testdata/CP771: New file.
82858         * iconvdata/testdata/CP771..UTF8: New file.
82859         * iconvdata/testdata/CP772: New file.
82860         * iconvdata/testdata/CP772..UTF8: New file.
82861         * iconvdata/testdata/CP773: New file.
82862         * iconvdata/testdata/CP773..UTF8: New file.
82863         * iconvdata/testdata/CP774: New file.
82864         * iconvdata/testdata/CP774..UTF8: New file.
82866         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
82867         END CHARMAP line.
82868         * iconvdata/gen-8bit-gap.sh: Likewise.
82869         * iconvdata/gen-8bit.sh: Likewise.
82871         * locale/iso-639.def: Add ary entry.
82873         [BZ #11258]
82874         * locale/C-translit.h.in: Add U20A1 transliteration.
82876         [BZ #12178]
82877         * locale/iso-639.def: Add wae entry.
82878         Patch by Kevin Bortis <bortis@translate-wae.ch>.
82880         [BZ #12545]
82881         * locale/programs/localedef.c (construct_output_path): Use ssize_t
82882         for n.
82884         [BZ #12711]
82885         * locale/C-translit.h.in: Add entry for U20B9.
82886         Patch by pravin.d.s@gmail.com.
82888 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
82890         [BZ #12713]
82891         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
82892         ENAMETOOLONG use generic getcwd.
82893         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
82894         in rtld.  Use *stat64.
82895         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
82896         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
82897         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
82898         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
82899         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
82900         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
82901         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
82902         __fstatat64 macros.
82903         * include/dirent.h: Add libc_hidden_proto for rewinddir.
82904         * dirent/rewinddir.c: Add libc_hidden_def.
82905         * sysdeps/mach/hurd/rewinddir.c: Likewise.
82906         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
82908         * include/dirent.h (__alloc_dir): Add flags parameter.
82909         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
82910         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
82911         __alloc_dir.
82912         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
82913         from fdopendir if O_CLOEXEC is already set.
82915 2011-03-15  Alan Modra  <amodra@gmail.com>
82917         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
82918         l_tls_firstbyte_offset non-zero.  Save padding offset in
82919         l_tls_firstbyte_offset for later use.
82920         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
82921         freeing static tls block.
82923 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
82925         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
82926         where #ifdef was intended.  The intent is to prevent ARG_MAX from
82927         being defined by the kernel headers.
82929 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
82931         [BZ #12734]
82932         * resolv/resolv.h: Define RES_NOTLDQUERY.
82933         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
82934         no-tld-query and set RES_NOTLDQUERY.
82935         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
82936         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
82937         modern BIND to search name as TLD unless forbidden.
82939 2011-05-07  Petr Baudis  <pasky@suse.cz>
82940             Ulrich Drepper  <drepper@gmail.com>
82942         [BZ #12393]
82943         * elf/dl-load.c (fillin_rpath): Move trusted path check...
82944         (is_trusted_path): ...to here.
82945         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
82946         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
82947         using is_trusted_path_normalize() in setuid scripts.
82949 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82951         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
82952         __BEGIN/__END_DECLS.
82954 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
82956         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
82957         NSS_STATUS_NOTFOUND if no record was found.
82959 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82961         * sunrpc/Makefile (headers): Add rpc/netdb.h.
82962         (headers-not-in-tirpc): Remove rpc/netdb.h
82963         * resolv/netdb.h: Revert last change.
82965 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
82967         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
82968         circular dependency between libgcc.a and libc.a.
82970 2011-05-05  Andreas Schwab  <schwab@redhat.com>
82972         * resolv/netdb.h: Don't include <rpc/netdb.h>.
82973         * nis/Makefile: Don't install rpcsvc/*.
82974         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
82975         instead of <rpc/types.h>.
82976         (MAXHOSTNAMELEN): Define.
82978 2011-05-03  Andreas Schwab  <schwab@redhat.com>
82980         * elf/ldconfig.c (add_dir): Don't crash on empty path.
82982 2011-04-28  Maciej Babinski  <mbabinski@google.com>
82984         [BZ #12714]
82985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
82986         gethostbyname4_r when IPv6 results are possible.
82988 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
82990         [BZ #12723]
82991         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
82992         _PC_PIPE_BUF handling.
82994 2011-04-30  Bruno Haible  <bruno@clisp.org>
82996         [BZ #12717]
82997         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
82998         * resolv/netdb.h (getnameinfo): Change type of flags parameter
82999         to 'int'.
83000         * inet/getnameinfo.c (getnameinfo): Likewise.
83002 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83004         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83005         to groups setting in database lookup.
83006         * nss/nsswitch.conf: Add initgroups entry.
83008 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83010         [BZ #12685]
83011         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83012         mode string.
83013         Patch by Eric Blake <eblake@redhat.com>.
83015 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83017         * sunrpc/Makefile (need-export-routines): Add svc_run.
83018         (routines): Remove svc_run.
83019         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83020         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83021         * sunrpc/svc_run.c (svc_run): Likewise.
83022         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83024 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83026         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83027         problem in reallocation in last patch.
83029 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83031         * sunrpc/Makefile: Move inclusion of Rules.
83033 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83035         * nss/nss_files/files-initgroups.c: New file.
83036         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83037         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83038         _nss_files_initgroups_dyn.
83040 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83042         * elf/elf.h (R_ARM_IRELATIVE): Define.
83044 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83046         * po/ru.po: Update from translation team.
83048 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83050         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83051         dependencies.
83053 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83055         [BZ #12653]
83056         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83057         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83058         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83059         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83060         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83062 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83064         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83065         differing bytes.
83066         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83067         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83068         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83070 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83072         [BZ #12420]
83073         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83074         storing it.
83075         * stdlib/bug-getcontext.c: New file.
83076         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83078 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83080         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83081         instructions into .machine "z9-109".
83082         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83083         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83085 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83087         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83088         between environment variables and auxiliary vector.
83090 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83092         * Makefile: Add rules to build linkobj/libc.so.
83093         * include/libc-symbols.h: Define libc_hidden_nolink.
83094         * include/rpc/auth.h: Mark functions which are to be hidden.
83095         * include/rpc/auth_des.h: Likewise.
83096         * include/rpc/auth_unix.h: Likewise.
83097         * include/rpc/clnt.h: Likewise.
83098         * include/rpc/des_crypt.h: Likewise.
83099         * include/rpc/key_prot.h: Likewise.
83100         * include/rpc/pmap_clnt.h: Likewise.
83101         * include/rpc/pmap_prot.h: Likewise.
83102         * include/rpc/pmap_rmt.h: Likewise.
83103         * include/rpc/rpc_msg.h: Likewise.
83104         * include/rpc/svc.h: Likewise.
83105         * include/rpc/svc_auth.h: Likewise.
83106         * include/rpc/xdr.h: Likewise.
83107         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83108         * nss/Makefile: Likewise.
83109         * sunrpc/Makefile: Don't install headers.  Build library with normal
83110         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83111         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83112         for the compat linking library.  Remove use of INTDEF/INTUSE.
83113         * sunrpc/auth_none.c: Likewise.
83114         * sunrpc/auth_unix.c: Likewise.
83115         * sunrpc/authdes_prot.c: Likewise.
83116         * sunrpc/authuxprot.c: Likewise.
83117         * sunrpc/clnt_gen.c: Likewise.
83118         * sunrpc/clnt_perr.c: Likewise.
83119         * sunrpc/clnt_raw.c: Likewise.
83120         * sunrpc/clnt_simp.c: Likewise.
83121         * sunrpc/clnt_tcp.c: Likewise.
83122         * sunrpc/clnt_udp.c: Likewise.
83123         * sunrpc/clnt_unix.c: Likewise.
83124         * sunrpc/des_crypt.c: Likewise.
83125         * sunrpc/des_soft.c: Likewise.
83126         * sunrpc/get_myaddr.c: Likewise.
83127         * sunrpc/key_call.c: Likewise.
83128         * sunrpc/key_prot.c: Likewise.
83129         * sunrpc/netname.c: Likewise.
83130         * sunrpc/pm_getmaps.c: Likewise.
83131         * sunrpc/pm_getport.c: Likewise.
83132         * sunrpc/pmap_clnt.c: Likewise.
83133         * sunrpc/pmap_prot.c: Likewise.
83134         * sunrpc/pmap_prot2.c: Likewise.
83135         * sunrpc/pmap_rmt.c: Likewise.
83136         * sunrpc/publickey.c: Likewise.
83137         * sunrpc/rpc_cmsg.c: Likewise.
83138         * sunrpc/rpc_common.c: Likewise.
83139         * sunrpc/rpc_dtable.c: Likewise.
83140         * sunrpc/rpc_prot.c: Likewise.
83141         * sunrpc/rpc_thread.c: Likewise.
83142         * sunrpc/rtime.c: Likewise.
83143         * sunrpc/svc.c: Likewise.
83144         * sunrpc/svc_auth.c: Likewise.
83145         * sunrpc/svc_authux.c: Likewise.
83146         * sunrpc/svc_raw.c: Likewise.
83147         * sunrpc/svc_run.c: Likewise.
83148         * sunrpc/svc_simple.c: Likewise.
83149         * sunrpc/svc_tcp.c: Likewise.
83150         * sunrpc/svc_udp.c: Likewise.
83151         * sunrpc/svc_unix.c: Likewise.
83152         * sunrpc/svcauth_des.c: Likewise.
83153         * sunrpc/xcrypt.c: Likewise.
83154         * sunrpc/xdr.c: Likewise.
83155         * sunrpc/xdr_array.c: Likewise.
83156         * sunrpc/xdr_float.c: Likewise.
83157         * sunrpc/xdr_intXX_t.c: Likewise.
83158         * sunrpc/xdr_mem.c: Likewise.
83159         * sunrpc/xdr_rec.c: Likewise.
83160         * sunrpc/xdr_ref.c: Likewise.
83161         * sunrpc/xdr_sizeof.c: Likewise.
83162         * sunrpc/xdr_stdio.c: Likewise.
83164 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
83166         [BZ #12650]
83167         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
83168         * sysdeps/ia64/dl-tls.h: Likewise.
83169         * sysdeps/powerpc/dl-tls.h: Likewise.
83170         * sysdeps/s390/dl-tls.h: Likewise.
83171         * sysdeps/sh/dl-tls.h: Likewise.
83172         * sysdeps/sparc/dl-tls.h: Likewise.
83173         * sysdeps/x86_64/dl-tls.h: Likewise.
83174         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
83176 2011-03-14  Andreas Schwab  <schwab@redhat.com>
83178         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
83179         rpath element also skip the following colon.
83180         (expand_dynamic_string_token): Add is_path parameter and pass
83181         down to DL_DST_REQUIRED and _dl_dst_substitute.
83182         (decompose_rpath): Call expand_dynamic_string_token with
83183         non-zero is_path.  Ignore empty rpaths.
83184         (_dl_map_object_from_fd): Call expand_dynamic_string_token
83185         with zero is_path.
83187 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
83189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
83190         Make cancelable.
83192 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
83194         [BZ #12655]
83195         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
83196         Patch by Filipe David Manana <fdmanana@apache.org>.
83198 2011-04-07  Andreas Schwab  <schwab@redhat.com>
83200         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
83201         Maintain aligned stack.
83202         (CHECK_RSP): Remove unused macro.
83204 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
83206         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
83207         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
83209 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
83211         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
83213         * include/features.h: Mention __USE_XOPEN2K8 in comment.
83215 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
83217         [BZ #12518]
83218         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
83219         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
83220         * sysdeps/x86_64/memmove.c: New file.
83221         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
83222         (memcpy): Renamed to ...
83223         (__new_memcpy): This.
83224         (memcpy): Provide GLIBC_2_14 memcpy.
83225         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
83226         (memcpy): Provide GLIBC_2_2_5 memcpy.
83228 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83230         [BZ #12631]
83231         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
83233 2011-03-30  Andreas Schwab  <schwab@redhat.com>
83235         * misc/syncfs.c: New file.
83236         * misc/Makefile (routines): Add syncfs.
83237         * posix/unistd.h: Declare syncfs.
83238         * sysdeps/unix/syscalls.list: Add syncfs.
83240 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83242         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
83243         open_by_handle_at.
83244         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83245         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83246         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83247         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83249         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
83250         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83252 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83254         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
83255         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83256         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
83257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83258         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83259         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83260         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83262         * io/Makefile: Compile fallocate.c, fallocate64.c, and
83263         sync_file_range.c with -fexceptions.
83264         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
83265         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
83266         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83267         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
83268         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
83269         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
83270         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
83271         sync_file_range as cancellation point
83272         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
83273         now a wrapper around __call_sync_file_range with cancellation handling.
83274         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
83275         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
83276         function name to __call_sync_file_range.
83277         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
83278         Add call_sync_file_range.
83280 2011-04-01  Andreas Schwab  <schwab@redhat.com>
83282         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83283         bits/timex.h.
83285 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
83287         * iconv/iconv.h: Fix typo in comment.
83288         * io/fcntl.h: Likewise.
83289         * libio/stdio.h: Likewise.
83290         * posix/spawn.h: Likewise.
83291         * posix/unistd.h: Likewise.
83292         * stdlib/stdlib.h: Likewise.
83293         * time/time.h: Likewise.
83294         * wcsmbs/wchar.h: Likewise.
83296         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
83297         open_by_handle): Add.
83298         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
83299         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
83300         Augment a few comments.
83301         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83302         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83303         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83304         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83305         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83306         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
83307         open_by_handle.
83309         * io/fcntl.h (AT_EMPTY_PATH): Define.
83311 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
83313         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
83314         * sysdeps/unix/sysv/linux/bits/time.h: New file.
83315         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
83316         to...
83317         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
83318         * Versions.def: Add GLIBC_2.14.
83319         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
83320         Export.
83322 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
83324         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
83325         round counter.
83326         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83328 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
83330         [BZ #12597]
83331         * string/test-strncmp.c (do_page_test): New function.
83332         (check2): Likewise.
83333         (test_main): Call check2.
83334         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
83336 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
83338         [BZ #12587]
83339         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
83340         Handle cache information in CPU leaf 4.
83341         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
83343 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
83345         [BZ #12583]
83346         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
83347         character representation.
83348         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
83350 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
83352         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
83353         END(__isnan) to END(__isnanf) to match function entry point/label
83354         EALIGN(__isnanf,...).
83356 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
83358         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
83360 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
83362         [BZ #12510]
83363         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
83364         copy from the symbol referenced in the relocation to initialize the
83365         used variable.
83366         Patch by Piotr Bury <pbury@goahead.com>.
83367         * elf/Makefile: Add rules to build and tst-unique3.
83368         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
83369         * elf/tst-unique3.cc: New file.
83370         * elf/tst-unique3.h: New file.
83371         * elf/tst-unique3lib.cc: New file.
83372         * elf/tst-unique3lib2.cc: New file.
83374         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
83376 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
83378         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
83379         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
83380         to _start.
83382 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
83384         * elf/dl-load.c (_dl_map_object): If we are looking for the first
83385         to-be-loaded object along a path to loader is ld.so.
83387 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83388             Ulrich Drepper  <drepper@gmail.com>
83390         * sysdeps/x86_64/memset.S: After aligning destination, code
83391         branches to different locations depending on the value of
83392         misalignment, when multiarch is enabled. Fix this.
83394 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
83396         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
83397         Set _x86_64_preferred_memory_instruction for AMD processsors.
83398         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83399         Set bit_Prefer_SSE_for_memop for AMD processors.
83401 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
83403         * libio/fmemopen.c (fmemopen): Optimize a bit.
83405 2011-03-03  Andreas Schwab  <schwab@redhat.com>
83407         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
83409 2011-03-03  Roland McGrath  <roland@redhat.com>
83411         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
83413 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
83415         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
83416         __bzero_ultra1 instead of __memset_ultra1.
83418 2011-02-23  Andreas Schwab  <schwab@redhat.com>
83419             Ulrich Drepper  <drepper@gmail.com>
83421         [BZ #12509]
83422         * include/link.h (struct link_map): Add l_orig_initfini.
83423         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
83424         returning unsuccessfully.
83425         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
83426         close of a file loaded at startup, restore the original l_initfini
83427         list.
83428         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
83429         list, store the pointer.
83430         * elf/Makefile ($(objpfx)noload-mem): New rule.
83431         (noload-ENV): Define.
83432         (tests): Add $(objpfx)noload-mem.
83433         * elf/noload.c: Include <memcheck.h>.
83434         (main): Call mtrace.  Close all opened handles.
83436 2011-02-17  Andreas Schwab  <schwab@redhat.com>
83438         [BZ #12454]
83439         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
83440         dependencies are missing.
83442 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83444         Fix __if_freereq crash: Unlike the generic version which uses free,
83445         Hurd needs munmap.
83446         * sysdeps/mach/hurd/ifreq.h: New file.
83448 2011-01-27  Petr Baudis  <pasky@suse.cz>
83449             Ulrich Drepper  <drepper@gmail.com>
83451         [BZ 12445]#
83452         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
83453         to extend_alloca().
83454         * stdio-common/bug23.c: New file.
83455         * stdio-common/Makefile (tests): Add bug23.
83457 2010-09-28  Andreas Schwab  <schwab@redhat.com>
83458             Ulrich Drepper  <drepper@gmail.com>
83460         [BZ #12489]
83461         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
83462         before performing relro protection.  At old place add assertion
83463         to make sure nothing changed.
83465 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
83466             Glauber de Oliveira Costa  <glommer@gmail.com>
83468         * elf/elf.h: Add new ARM TLS relocs.
83470 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
83472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
83473         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
83474         cast from r3.
83475         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
83476         'tests' variable.
83477         * sysdeps/wordsize-64/tst-writev.c: New file.
83479 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
83481         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
83482         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
83483         insns in _dl_start to prevent a TOC reference before relocs are
83484         resolved.
83486 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
83488         [BZ #12469]
83489         * Makeconfig: Remove RANLIB definition.
83490         * Makerules: Don't use RANLIB.
83491         * aclocal.m4: Remove ranlib test.
83492         * configure.in: No need to check for ranlib.
83493         * elf/rtld-Rules: Don't use RANLIB.
83495 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83497         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
83498         protection macro.
83499         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
83500         inclusion protection macro.
83502         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
83503         SIGRTMIN and SIGRTMAX and print information in that case only when
83504         SIGRTMIN is defined.
83506 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
83508         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
83509         arginfo fn returning -1.
83511         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
83512         and thousands string is zero terminated.
83514 2011-02-03  Andreas Schwab  <schwab@redhat.com>
83516         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
83517         sysdeps/unix/sysv/linux/bits/socket.h.
83519 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83521         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
83522         (__CPU_COUNT): Remove old macros.
83523         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
83524         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
83525         (__CPU_ALLOC, __CPU_FREE): Add macros.
83526         (__sched_cpualloc, __sched_cpufree): Add declarations.
83528 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
83530         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
83531         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
83532         * nscd/aicache.c (addhstaiX): Return timeout of added value.
83533         (readdhstai): Return value of addhstaiX call.
83534         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
83535         (addgrbyX): Return value returned by cache_addgr.
83536         (readdgrbyname): Return value returned by addgrbyX.
83537         (readdgrbygid): Likewise.
83538         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
83539         (addpwbyX): Return value returned by cache_addpw.
83540         (readdpwbyname): Return value returned by addhstbyX.
83541         (readdpwbyuid): Likewise.
83542         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
83543         (addservbyX): Return value returned by cache_addserv.
83544         (readdservbyname): Return value returned by addservbyX:
83545         (readdservbyport): Likewise.
83546         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
83547         (addhstbyX): Return value returned by cache_addhst.
83548         (readdhstbyname): Return value returned by addhstbyX.
83549         (readdhstbyaddr): Likewise.
83550         (readdhstbynamev6): Likewise.
83551         (readdhstbyaddrv6): Likewise.
83552         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
83553         (readdinitgroups): Return value returned by addinitgroupsX.
83554         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
83555         (prune_cache): Keep track of timeout value of re-added entries.
83556         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
83557         * nscd/nscd.h: Adjust prototypes of readd* functions.
83559 2011-02-04  Roland McGrath  <roland@redhat.com>
83561         * nis/nis_server.c (nis_servstate): Use the right name for 0.
83562         (nis_stats): Likewise.
83563         * nis/nis_modify.c (nis_modify): Likewise.
83564         * nis/nis_remove.c (nis_remove): Likewise.
83565         * nis/nis_add.c (nis_add): Likewise.
83567         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
83569         * posix/fnmatch_loop.c: Add some consts.
83571         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
83573 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
83575         [BZ #12460]
83576         * config.make.in (config-cflags-novzeroupper): Define.
83577         * configure.in: Substitute libc_cv_cc_novzeroupper.
83578         * elf/Makefile (AVX-CFLAGS): Define.
83579         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
83580         (CFLAGS-tst-auditmod4a.c): Likewise.
83581         (CFLAGS-tst-auditmod4b.c): Likewise.
83582         (CFLAGS-tst-auditmod6b.c): Likewise.
83583         (CFLAGS-tst-auditmod6c.c): Likewise.
83584         (CFLAGS-tst-auditmod7b.c): Likewise.
83585         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
83587 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
83589         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
83590         function to the callback.
83591         Patch partly by Jiri Olsa <jolsa@redhat.com>.
83593 2011-02-02  Andreas Schwab  <schwab@redhat.com>
83595         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
83596         of errno.
83598 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
83600         [BZ #11724]
83601         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
83602         of constructors.
83603         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
83604         of destructors.
83605         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
83607         [BZ #11724]
83608         * elf/Makefile: Add rules to build and run new test.
83609         * elf/tst-initorder.c: New file.
83610         * elf/tst-initorder.exp: New file.
83611         * elf/tst-initordera1.c: New file.
83612         * elf/tst-initordera2.c: New file.
83613         * elf/tst-initordera3.c: New file.
83614         * elf/tst-initordera4.c: New file.
83615         * elf/tst-initorderb1.c: New file.
83616         * elf/tst-initorderb2.c: New file.
83617         * elf/tst-order-a1.c: New file.
83618         * elf/tst-order-a2.c: New file.
83619         * elf/tst-order-a3.c: New file.
83620         * elf/tst-order-a4.c: New file.
83621         * elf/tst-order-b1.c: New file.
83622         * elf/tst-order-b2.c: New file.
83623         * elf/tst-order-main.c: New file.
83624         New test case by George Gensure <werkt0@gmail.com>.
83626 2010-10-01  Andreas Schwab  <schwab@redhat.com>
83628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
83629         decoding ACE if AI_CANONIDN.
83631 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
83633         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
83635 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
83637         * version.h (RELEASE): Bump for 2.13 release.
83638         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
83640         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
83642         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
83643         MADV_NOHUGEPAGE.
83644         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
83645         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
83646         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
83647         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
83648         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
83649         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83651         * posix/getconf.c: Update copyright year.
83652         * catgets/gencat.c: Likewise.
83653         * csu/version.c: Likewise.
83654         * debug/catchsegv.sh: Likewise.
83655         * debug/xtrace.sh: Likewise.
83656         * elf/ldconfig.c: Likewise.
83657         * elf/ldd.bash.in: Likewise.
83658         * elf/sprof.c (print_version): Likewise.
83659         * iconv/iconv_prog.c: Likewise.
83660         * iconv/iconvconfig.c: Likewise.
83661         * locale/programs/locale.c: Likewise.
83662         * locale/programs/localedef.c: Likewise.
83663         * malloc/memusage.sh: Likewise.
83664         * malloc/mtrace.pl: Likewise.
83665         * nscd/nscd.c (print_version): Likewise.
83666         * nss/getent.c: Likewise.
83668         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
83669         PF_CAIF, and PF_ALG.
83670         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83672 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
83674         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
83675         (modules-names): Use them.
83676         (ifunc-test-modules, ifunc-pie-tests): Define.
83677         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
83678         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
83679         (test-extras): Likewise.
83680         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
83681         $(compile-command.c).
83682         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
83683         (all-built-dso): Define.
83684         (check-textrel.out, check-execstack.out): Depend on it.
83686         * configure.in: Don't override --enable-multi-arch.
83688 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
83690         [BZ #6812]
83691         * nscd/hstcache.c (tryagain): Define.
83692         (cache_addhst): Return tryagain not notfound for temporary errors.
83693         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
83694         failed.
83696 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
83698         [BZ #10563]
83699         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
83700         to make the syscall.
83701         * sysdeps/unix/sysv/linux/setgroups.c: New file.
83703         [BZ #12378]
83704         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
83705         and fall back to matching as normal character if the string ends before
83706         the matching ']' is found.  This is what POSIX requires.
83707         * posix/testfnm.c: Adjust test result.
83708         * posix/globtest.sh: Adjust test result.  Add new test.
83709         * posix/tst-fnmatch.input: Likewise.
83710         * posix/tst-fnmatch2.c: Add new test.
83712 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
83714         * elf/Makefile (check-execstack): Revert last change.  Depend on
83715         check-execstack.h.
83716         (check-execstack.h): New target.
83717         (generated): Add check-execstack.h.
83718         * elf/check-execstack.c: Include "check-execstack.h".
83719         (main): Revert last change.
83720         (handle_file): Return zero if GNU_STACK is absent and
83721         DEFAULT_STACK_PERMS doesn't include PF_X.
83723 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
83725         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
83726         in child fails because the descriptor is already closed.
83727         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
83728         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
83729         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
83731         [BZ #12397]
83732         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
83733         syscall.
83735         [BZ #10484]
83736         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
83737         temporary buffer used to handle multi lookups locally.
83738         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
83740 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83742         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
83743         loader is ld.so.
83745 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
83747         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
83748         alignment for SSE2.
83750 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
83752         [BZ #12394]
83753         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
83754         characters.  When rounding increased number of integer digits recompute
83755         number of groups.
83756         * stdio-common/tst-grouping.c: New file.
83757         * stdio-common/Makefile: Add rules to build and run tst-grouping.
83759 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
83761         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
83762         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
83764         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
83765         void.
83766         * bits/select.h: Likewise.
83768 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
83770         * po/ja.po: Update from translation team.
83772 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
83774         [BZ #11155]
83775         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
83776         implementation just like for lxstat, fxstatat, et al.
83778 2010-12-27  Jim Meyering  <meyering@redhat.com>
83780         [BZ #12348]
83781         * posix/regexec.c (build_trtable): Return failure indication upon
83782         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
83784 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
83786         [BZ #12201]
83787         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
83788         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
83789         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
83790         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
83792         [BZ #12207]
83793         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
83795         [BZ #12204]
83796         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
83797         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
83799 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
83801         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
83802         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
83803         script has SORT_BY_INIT_PRIORITY.
83804         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
83805         NO_CTORS_DTORS_SECTIONS is defined.
83806         * elf/soinit.c: Likewise.
83807         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
83808         NO_CTORS_DTORS_SECTIONS is defined.
83809         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
83810         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
83811         * sysdeps/sh/init-first.c: Likewise.
83812         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
83814 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
83816         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
83817         always use the slow path.
83819 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
83821         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
83822         similar rule which adds the sysdep directories to the header search in
83823         order to pick up the correct platform stackinfo.h.
83824         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
83825         perform test if it is, otherwise return successfully without testing.
83826         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
83827         DEFAULT_STACK_PERMS define in stackinfo.h.
83828         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
83829         defined in stackinfo.h.
83830         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
83831         DEFAULT_STACK_PERMS defined in stackinfo.h.
83832         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
83833         * sysdeps/ia64/stackinfo.h: Likewise.
83834         * sysdeps/s390/stackinfo.h: Likewise.
83835         * sysdeps/sh/stackinfo.h: Likewise.
83836         * sysdeps/sparc/stackinfo.h: Likewise.
83837         * sysdeps/x86_64/stackinfo.h: Likewise.
83838         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
83839         PF_X for powerpc64.  Retain PF_X for powerpc32.
83841 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
83843         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
83844         accurately.
83845         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
83846         GETDENTS_64BIT_ALIGNED.
83848 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
83850         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
83852 2010-12-10  Andreas Schwab  <schwab@redhat.com>
83854         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
83855         _GNU_SOURCE.
83857         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
83858         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
83859         Remove __restrict.
83860         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
83861         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
83863 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
83865         [BZ #11655]
83866         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
83867         are initialized.
83869 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
83871         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
83873 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
83875         * po/it.po: Update from translation team.
83877 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
83879         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
83880         unused codes.
83882 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
83884         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
83886 2010-11-24  Andreas Schwab  <schwab@redhat.com>
83888         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
83889         specially.
83890         (gaih_getanswer_slice): Likewise.
83892 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
83894         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
83896 2010-05-31  Petr Baudis  <pasky@suse.cz>
83898         [BZ #11149]
83899         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
83900         silently even in the chroot mode.
83902 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
83904         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
83905         last patch a bit.  Pretty printing
83907 2010-05-31  Petr Baudis <pasky@suse.cz>
83909         [BZ #10085]
83910         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
83911         initialization of skip_initgroups_dyn.
83913 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
83915         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
83916         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
83918 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
83920         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
83922 2010-11-11  Andreas Schwab  <schwab@redhat.com>
83924         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
83925         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
83926         (tst-fnmatch-ENV): Set MALLOC_TRACE.
83927         ($(objpfx)tst-fnmatch-mem): New rule.
83928         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
83929         * posix/tst-fnmatch.c (main): Call mtrace.
83931 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
83933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83934         Support Intel processor model 6 and model 0x2c.
83936 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
83938         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
83939           signed comparison.
83941 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
83943         [BZ #12205]
83944         * string/test-strncasecmp.c (check_result): New function.
83945         (do_one_test): Use it.
83946         (check1): New function.
83947         (test_main): Use it.
83948         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
83949         Support strcasecmp and strncasecmp.
83951 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
83953         [BZ #12194]
83954         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
83955         * sysdeps/x86_64/bits/byteswap.h: Likewise.
83957 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
83959         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
83960         IFUNC support.
83961         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83962         memset-x86-64.
83963         * sysdeps/x86_64/multiarch/bzero.S: New file.
83964         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
83965         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
83966         * sysdeps/x86_64/multiarch/memset.S: New file.
83967         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
83968         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83969         Set bit_Prefer_SSE_for_memop for Intel processors.
83970         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
83971         Define.
83972         (index_Prefer_SSE_for_memop): Define.
83973         (HAS_PREFER_SSE_FOR_MEMOP): Define.
83975 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
83977         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
83978         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
83980 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
83982         [BZ #12191]
83983         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83984         (__x86_64_raw_data_cache_size_half): Likewise.
83985         (__x86_64_raw_shared_cache_size): Likewise.
83986         (__x86_64_raw_shared_cache_size_half): Likewise.
83988         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
83989         (__x86_64_raw_data_cache_size_half): Likewise.
83990         (__x86_64_raw_shared_cache_size): Likewise.
83991         (__x86_64_raw_shared_cache_size_half): Likewise.
83992         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
83993         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
83994         and __x86_64_raw_shared_cache_size_half.  Round
83995         __x86_64_data_cache_size_half, __x86_64_data_cache_size
83996         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
83997         to multiple of 256 bytes.
83999 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84001         [BZ #12167]
84002         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84003         of inacessible symlinks.  Verify result of symlink before returning it.
84004         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84005         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84007 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84009         * math/math.h (isinf): Fix typo in comment.
84011 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84013         * po/da.po: Update from translation team.
84015 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84017         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84018         is added to the list.
84020 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84021             Ulrich Drepper  <drepper@gmail.com>
84023         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84024         the global list here.  Move code to...
84025         (_dl_add_to_namespace_list): ...here.  New function.
84026         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84027         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84028         * elf/dl-load.c (lose): Don't remove the element from the list.
84029         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84030         (_dl_map_object): Likewise.
84032 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84034         [BZ #12159]
84035         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84036         into all bytes of SSE register.
84037         Patch by Richard Li <richardpku@gmail.com>.
84039 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84041         [BZ #12140]
84042         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84043         perturbing.
84045 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84047         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84048         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84049         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84050         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84052         submachine.
84053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84055 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84057         * include/dlfcn.h (__RTLD_SECURE): Define.
84058         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84059         mode & __RTLD_SECURE instead.
84060         (open_path): Rename preloaded parameter to secure.
84061         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84062         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84063         * elf/dl-deps.c (openaux): Likewise.
84064         * elf/rtld.c (struct map_args): Remove is_preloaded.
84065         (map_doit): Don't use it.
84066         (dl_main): Likewise.
84067         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84068         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84070 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84072         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84073         (sysd-rules-targets): Remove duplicates.
84074         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84075         rtld-%.$o dependency.
84077 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84079         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84080         _dl_map_object do it.
84082 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84084         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84085         fast fma builtins, define the macros in the C99 standard.
84086         (FP_FAST_FMAF): Likewise.
84087         (FP_FAST_FMAL): Likewise.
84088         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84090         * bits/mathdef.h: Update copyright year.
84091         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84093 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84095         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84096         builtins, define the macros in the C99 standard.
84097         (FP_FAST_FMAF): Likewise.
84098         (FP_FAST_FMAL): Likewise.
84099         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84100         multiply/add.
84101         (FP_FAST_FMAF): Likewise.
84103 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84105         [BZ #3268]
84106         * math/libm-test.inc (fma_test): Some new testcases.
84107         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84108         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84109         y and infinite z.  Do multiplication by C already in long double.
84110         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84111         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84112         y and infinite z.  Do bitwise or of inexact bit into u.d.
84113         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84114         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84115         * sysdeps/i386/fpu/s_fma.S: Removed.
84116         * sysdeps/i386/fpu/s_fmal.S: Removed.
84118 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84120         [BZ #3268]
84121         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84122         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84123         computation is not scheduled after fetestexcept.  Fix value
84124         of minimum denormal long double.
84126 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84128         [BZ #3268]
84129         * math/libm-test.inc (fma_test): Add some more tests.
84130         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84131         correctly.
84133 2010-10-15  Andreas Schwab  <schwab@redhat.com>
84135         * scripts/data/localplt-s390-linux-gnu.data: New file.
84136         * scripts/data/localplt-s390x-linux-gnu.data: New file.
84138 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
84140         [BZ #3268]
84141         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
84142         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
84143         instead of dbl-64.
84144         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
84145         inlines.
84146         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
84147         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
84148         if one of x and y is very large and the other is subnormal.
84149         * sysdeps/s390/fpu/s_fmaf.c: New file.
84150         * sysdeps/s390/fpu/s_fma.c: New file.
84151         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
84152         * sysdeps/powerpc/fpu/s_fma.S: New file.
84153         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
84154         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
84155         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
84157 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
84159         [BZ #3268]
84160         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
84161         fma tests.
84162         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
84163         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
84164         * sysdeps/i386/i686/multiarch/s_fma.c: Include
84165         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
84166         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
84167         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
84168         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
84170 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
84172         [BZ #12078]
84173         * posix/regcomp.c (parse_branch): One more memory leak plugged.
84174         * posix/bug-regex31.input: Add test case.
84176 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84178         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
84179         * posix/bug-regex31.input: New file.
84181         [BZ #12078]
84182         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
84183         (parse_sub_exp): Fix last change, use postorder.
84185         * posix/bug-regex31.c: New file.
84186         * posix/Makefile: Add rules to build and run bug-regex31.
84188         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
84190         [BZ #12078]
84191         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
84193         [BZ #12108]
84194         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
84195         to have entries in sys_siglist.
84197         [BZ #12093]
84198         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
84199         be NULL.
84201 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
84203         [BZ #3268]
84204         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
84205         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
84206         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
84207         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
84208         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
84209         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
84210         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
84211         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
84212         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
84213         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
84214         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
84215         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
84216         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
84217         * math/ftestexcept.c (fetestexcept): Likewise.
84218         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
84219         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
84220         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
84221         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
84222         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
84223         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
84224         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
84226 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
84228         [BZ #12107]
84229         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
84230         newline.
84232 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
84234         * string/bug-strstr1.c: New file.
84235         * string/Makefile: Add rules to build and run bug-strstr1.
84237 2010-10-05  Eric Blake  <eblake@redhat.com>
84239         [BZ #12092]
84240         * string/str-two-way.h (two_way_long_needle): Always clear memory
84241         when skipping input due to the shift table.
84243 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
84245         [BZ #12005]
84246         * malloc/mcheck.c: Handle large requests.
84248         [BZ #12077]
84249         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
84250         for strncmp and strncasecmp.
84251         * string/stratcliff.c: Add tests for strcmp and strncmp.
84252         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
84254 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84256         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
84257         __set_fpscr.
84259 2010-09-30  Andreas Jaeger  <aj@suse.de>
84261         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
84262         (CGROUP_SUPER_MAGIC): Define.
84263         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84264         Handle btrfs and cgroup file systems.
84265         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
84266         Likewise.
84268 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
84270         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
84271         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
84273 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84275         [BZ #12067]
84276         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
84277         trying to locate the ELF header.
84279 2010-09-27  Andreas Schwab  <schwab@redhat.com>
84281         [BZ #11611]
84282         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
84283         Mask out sign-bit copies when constructing f_fsid.
84285 2010-09-24  Petr Baudis <pasky@suse.cz>
84287         * debug/stack_chk_fail_local.c: Add missing licence exception.
84288         * debug/warning-nop.c: Likewise.
84290 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
84292         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
84293         implementing getdents64 using getdents syscall, set d_type if
84294         __ASSUME_GETDENTS32_D_TYPE.
84296 2010-09-16  Andreas Schwab  <schwab@redhat.com>
84298         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
84299         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
84301 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
84303         [BZ #12037]
84304         * posix/unistd.h: Undo change of feature selection for ftruncate from
84305         2010-01-11.
84307 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
84309         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
84310         detection.
84312 2010-09-20  Andreas Schwab  <schwab@redhat.com>
84314         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
84315         fanotify_mark.
84316         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84318 2010-09-14  Andreas Schwab  <schwab@redhat.com>
84320         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
84321         variables after CHECK_SP call.
84322         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
84324 2010-09-13  Andreas Schwab  <schwab@redhat.com>
84325             Ulrich Drepper  <drepper@redhat.com>
84327         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
84328         re-relocationg ld.so.
84329         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
84330         _dl_init_paths call.
84331         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
84332         here anymore.
84334 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
84336         * resolv/res_init.c (__res_vinit): Count the default server we added.
84338 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
84339             Ulrich Drepper  <drepper@redhat.com>
84341         [BZ #11968]
84342         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84343         (____longjmp_chk): Use %ebx for saving value across system call.
84344         Add unwind info.
84346 2010-09-06  Andreas Schwab  <schwab@redhat.com>
84348         * manual/Makefile: Don't mix pattern rules with normal rules.
84350 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
84352         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
84353         operation.
84354         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
84355         * libio/iofopncook.c (_IO_cookie_init): Likewise.
84356         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
84357         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
84358         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84359         Likewise.
84361 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
84363         [BZ #11979]
84364         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
84365         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
84367 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
84369         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
84370         * sysdeps/x86_64/addmul_1.S: Likewise.
84371         * sysdeps/x86_64/lshift.S: Likewise.
84372         * sysdeps/x86_64/mul_1.S: Likewise.
84373         * sysdeps/x86_64/rshift.S: Likewise.
84374         * sysdeps/x86_64/sub_n.S: Likewise.
84375         * sysdeps/x86_64/submul_1.S: Likewise.
84377 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84379         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
84380         Define __sched_param instead of SCHED_* and sched_param when
84381         <bits/sched.h> is included with __need_schedparam defined.
84382         * bits/sched.h [__need_schedparam]
84383         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
84384         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
84385         (__defined_schedparam): Define to 1.
84386         (__sched_param): New structure, identical to sched_param.
84387         (__need_schedparam): Undefine.
84389 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
84391         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
84392         (epoll_create1): Declare.
84394         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
84396 2010-08-31  Andreas Schwab  <schwab@redhat.com>
84398         [BZ #7066]
84399         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
84400         shifting retval into place.
84402 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
84404         * nis/rpcsvc/nis.h: Update copyright notice.
84405         * nis/rpcsvc/nis.x: Likewise.
84406         * nis/rpcsvc/nis_callback.h: Likewise.
84407         * nis/rpcsvc/nis_callback.x: Likewise.
84408         * nis/rpcsvc/nis_object.x: Likewise.
84409         * nis/rpcsvc/nis_tags.h: Likewise.
84410         * nis/rpcsvc/yp.h: Likewise.
84411         * nis/rpcsvc/yp.x: Likewise.
84412         * nis/rpcsvc/ypupd.h: Likewise.
84413         * nis/yp_xdr.c: Likewise.
84414         * nis/ypupdate_xdr.c: Likewise.
84416         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
84417         mainly the body of pmap_getport.  Add parameters to specify timeouts.
84418         (pmap_getport): Use __libc_rpc_getport.
84419         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
84420         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
84421         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
84423 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
84425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
84426         fanotify_mark.
84428 2010-08-27  Roland McGrath  <roland@redhat.com>
84430         * sysdeps/i386/i686/multiarch/Makefile
84431         (CFLAGS-varshift.c): New variable.
84433 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
84435         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
84436         * sysdeps/i386/i686/multiarch/varshift.c: New file.
84438         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
84440         * sysdeps/x86_64/strlen.S: Minimal code improvement.
84442 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
84444         * sysdeps/x86_64/strlen.S: Unroll the loop.
84445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84446         strlen-sse2 strlen-sse2-bsf.
84447         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
84448         __strlen_no_bsf if bit_Slow_BSF is set.
84449         (__strlen_sse42): Removed.
84450         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
84451         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
84453 2010-08-25  Roland McGrath  <roland@redhat.com>
84455         * sysdeps/x86_64/multiarch/varshift.S: File removed.
84456         * sysdeps/x86_64/multiarch/varshift.c: New file.
84457         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
84458         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
84459         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
84460         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
84462 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
84464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84465         strlen-sse2 strlen-sse2-bsf.
84466         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
84467         __strlen_sse2_bsf if bit_Slow_BSF is unset.
84468         (__strlen_sse2): Removed.
84469         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
84470         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
84471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
84472         bit_Slow_BSF for Atom.
84473         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
84474         (index_Slow_BSF): Define.
84475         (HAS_SLOW_BSF): Define.
84477 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
84479         [BZ #10851]
84480         * resolv/res_init.c (__res_vinit): When no server address at all
84481         is given default to loopback.
84483 2010-08-24  Roland McGrath  <roland@redhat.com>
84485         * configure.in: Remove config-name.h generation.
84486         * configure: Regenerated.
84487         * config-name.in: File removed.
84488         * scripts/config-uname.sh: New file.
84489         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
84490         ($(objdir)config-name.h): New target.
84492         * sunrpc/rpc_parse.h: Avoid nested comment.
84494 2010-08-24  Richard Henderson  <rth@redhat.com>
84495             Ulrich Drepper  <drepper@redhat.com>
84496             H.J. Lu  <hongjiu.lu@intel.com>
84498         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
84499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
84500         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
84501         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
84502         _mm_alignr_epi8 with _mm_loadu_si128.
84503         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
84504         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
84505         (__m128i_shift_right): Removed.
84506         * sysdeps/i386/i686/multiarch/varshift.h: New file.
84507         * sysdeps/i386/i686/multiarch/varshift.S: New file.
84508         * sysdeps/x86_64/multiarch/varshift.h: New file.
84509         * sysdeps/x86_64/multiarch/varshift.S: New file.
84511 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
84513         * configure.in: Move assembler checks to before sysdep dir checking.
84515 2010-08-20  Petr Baudis  <pasky@suse.cz>
84517         * LICENSES: Sync the sunrpc license.
84519 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
84521         * sunrpc/auth_des.c: Update copyright notice once again.
84522         * sunrpc/auth_none.c: Likewise.
84523         * sunrpc/auth_unix.c: Likewise.
84524         * sunrpc/authdes_prot.c: Likewise.
84525         * sunrpc/authuxprot.c: Likewise.
84526         * sunrpc/bindrsvprt.c: Likewise.
84527         * sunrpc/clnt_gen.c: Likewise.
84528         * sunrpc/clnt_perr.c: Likewise.
84529         * sunrpc/clnt_raw.c: Likewise.
84530         * sunrpc/clnt_simp.c: Likewise.
84531         * sunrpc/clnt_tcp.c: Likewise.
84532         * sunrpc/clnt_udp.c: Likewise.
84533         * sunrpc/clnt_unix.c: Likewise.
84534         * sunrpc/des_crypt.c: Likewise.
84535         * sunrpc/des_soft.c: Likewise.
84536         * sunrpc/get_myaddr.c: Likewise.
84537         * sunrpc/getrpcport.c: Likewise.
84538         * sunrpc/key_call.c: Likewise.
84539         * sunrpc/key_prot.c: Likewise.
84540         * sunrpc/openchild.c: Likewise.
84541         * sunrpc/pm_getmaps.c: Likewise.
84542         * sunrpc/pm_getport.c: Likewise.
84543         * sunrpc/pmap_clnt.c: Likewise.
84544         * sunrpc/pmap_prot.c: Likewise.
84545         * sunrpc/pmap_prot2.c: Likewise.
84546         * sunrpc/pmap_rmt.c: Likewise.
84547         * sunrpc/rpc/auth.h: Likewise.
84548         * sunrpc/rpc/auth_unix.h: Likewise.
84549         * sunrpc/rpc/clnt.h: Likewise.
84550         * sunrpc/rpc/des_crypt.h: Likewise.
84551         * sunrpc/rpc/key_prot.h: Likewise.
84552         * sunrpc/rpc/netdb.h: Likewise.
84553         * sunrpc/rpc/pmap_clnt.h: Likewise.
84554         * sunrpc/rpc/pmap_prot.h: Likewise.
84555         * sunrpc/rpc/pmap_rmt.h: Likewise.
84556         * sunrpc/rpc/rpc.h: Likewise.
84557         * sunrpc/rpc/rpc_des.h: Likewise.
84558         * sunrpc/rpc/rpc_msg.h: Likewise.
84559         * sunrpc/rpc/svc.h: Likewise.
84560         * sunrpc/rpc/svc_auth.h: Likewise.
84561         * sunrpc/rpc/types.h: Likewise.
84562         * sunrpc/rpc/xdr.h: Likewise.
84563         * sunrpc/rpc_clntout.c: Likewise.
84564         * sunrpc/rpc_cmsg.c: Likewise.
84565         * sunrpc/rpc_common.c: Likewise.
84566         * sunrpc/rpc_cout.c: Likewise.
84567         * sunrpc/rpc_dtable.c: Likewise.
84568         * sunrpc/rpc_hout.c: Likewise.
84569         * sunrpc/rpc_main.c: Likewise.
84570         * sunrpc/rpc_parse.c: Likewise.
84571         * sunrpc/rpc_parse.h: Likewise.
84572         * sunrpc/rpc_prot.c: Likewise.
84573         * sunrpc/rpc_sample.c: Likewise.
84574         * sunrpc/rpc_scan.c: Likewise.
84575         * sunrpc/rpc_scan.h: Likewise.
84576         * sunrpc/rpc_svcout.c: Likewise.
84577         * sunrpc/rpc_tblout.c: Likewise.
84578         * sunrpc/rpc_util.c: Likewise.
84579         * sunrpc/rpc_util.h: Likewise.
84580         * sunrpc/rpcinfo.c: Likewise.
84581         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
84582         * sunrpc/rpcsvc/key_prot.x: Likewise.
84583         * sunrpc/rpcsvc/klm_prot.x: Likewise.
84584         * sunrpc/rpcsvc/mount.x: Likewise.
84585         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
84586         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
84587         * sunrpc/rpcsvc/rex.x: Likewise.
84588         * sunrpc/rpcsvc/rstat.x: Likewise.
84589         * sunrpc/rpcsvc/rusers.x: Likewise.
84590         * sunrpc/rpcsvc/sm_inter.x: Likewise.
84591         * sunrpc/rpcsvc/spray.x: Likewise.
84592         * sunrpc/rpcsvc/yppasswd.x: Likewise.
84593         * sunrpc/rtime.c: Likewise.
84594         * sunrpc/svc.c: Likewise.
84595         * sunrpc/svc_auth.c: Likewise.
84596         * sunrpc/svc_authux.c: Likewise.
84597         * sunrpc/svc_raw.c: Likewise.
84598         * sunrpc/svc_run.c: Likewise.
84599         * sunrpc/svc_simple.c: Likewise.
84600         * sunrpc/svc_tcp.c: Likewise.
84601         * sunrpc/svc_udp.c: Likewise.
84602         * sunrpc/svc_unix.c: Likewise.
84603         * sunrpc/svcauth_des.c: Likewise.
84604         * sunrpc/xcrypt.c: Likewise.
84605         * sunrpc/xdr.c: Likewise.
84606         * sunrpc/xdr_array.c: Likewise.
84607         * sunrpc/xdr_float.c: Likewise.
84608         * sunrpc/xdr_mem.c: Likewise.
84609         * sunrpc/xdr_rec.c: Likewise.
84610         * sunrpc/xdr_ref.c: Likewise.
84611         * sunrpc/xdr_sizeof.c: Likewise.
84612         * sunrpc/xdr_stdio.c: Likewise.
84614         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
84615         handling.
84617 2010-08-19  Andreas Schwab  <schwab@redhat.com>
84619         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
84621 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
84623         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
84624         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
84625         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
84626         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
84627         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
84628         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
84629         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
84630         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
84631         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
84632         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
84633         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
84634         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
84635         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
84636         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
84638 2010-07-26  Anton Blanchard  <anton@samba.org>
84640         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
84641         * malloc/arena.c (heap_trim): Likewise.
84643 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
84645         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
84646         here.  Not...
84647         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
84648         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
84650 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
84652         * sysdeps/i386/elf/Makefile: New file.
84654 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84656         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
84657         from fanotify_init.
84658         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
84659         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84661 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
84663         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
84664         of strncasecmp_l.
84665         * sysdeps/multiarch/strcmp.S: Likewise.
84667 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
84669         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84670         strncase_l-nonascii.
84671         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84672         Add strncase_l-ssse3.
84673         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
84674         * sysdeps/x86_64/strcmp.S: Likewise.
84675         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
84676         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
84677         * sysdeps/x86_64/strncase.S: New file.
84678         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
84679         * sysdeps/x86_64/strncase_l.S: New file.
84680         * string/Makefile (strop-tests): Add strncasecmp.
84681         * string/test-strncasecmp.c: New file.
84683         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
84684         warning.
84686         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
84687         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
84689 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
84691         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
84693 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
84695         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
84696         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
84697         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
84699 2010-05-01  Alan Modra  <amodra@gmail.com>
84701         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
84702         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
84703         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
84704         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
84705         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
84706         tidying.  Don't tail-call __sigjmp_save for static lib.
84707         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
84708         save location.
84709         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
84710         (CALL_MCOUNT): Add eh info, and nop after bl.
84711         (TAIL_CALL_SYSCALL_ERROR): New macro.
84712         (PSEUDO_RET): Use it.
84713         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
84714         Correct save location of integer regs and cr.
84715         (_dl_profile_resolve): Correct cr save location.  Delete nops
84716         after bl when SHARED.  Reduce cfi size a little by better
84717         placement of cfi directives.
84718         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
84719         make a stack frame.  Instead use parm save area as a temp.
84720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
84721         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
84722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
84723         Don't make a stack frame for parent, use parm save area.
84724         Increase child stack frame to 112 bytes.  Don't save unused reg,
84725         and adjust reg usage.  Set up cfi on error recovery and
84726         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
84727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
84728         (__makecontext): Add dummy nop after jump to exit.
84729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
84730         Use correct parm save area and cr save, reduce stack frame.
84731         Correct cfi for possible PSEUDO_RET frame setup.
84732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
84733         Branch to local label emitted by PSEUDO_RET rather than
84734         __syscall_error.
84736 2010-08-12  Andreas Schwab  <schwab@redhat.com>
84738         [BZ #11904]
84739         * locale/programs/locale.c (print_assignment): New function.
84740         (show_locale_vars): Use it.
84742 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
84744         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
84745         field.
84746         (struct statfs64): Likewise.
84747         (_STATFS_F_FLAGS): Define.
84748         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
84749         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
84750         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
84751         (ST_VALID): Define locally.
84752         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
84753         __statvfs_getflags, use the provided value.
84754         * sysdeps/unix/sysv/linux/kernel-features.h: Define
84755         __ASSUME_STATFS_F_FLAGS.
84757         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
84759         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
84760         Add sys/fanotify.h.
84761         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
84762         fanotify_mask for GLIBC_2.13.
84763         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
84764         fanotify_init and fanotify_mark.
84765         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
84766         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
84768         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
84769         Add prlimit.
84770         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
84771         prlimit64 for GLIBC_2.13.
84772         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
84773         prlimit64.
84774         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
84775         syscall.
84776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
84777         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
84778         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
84779         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
84780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
84781         add prlimit alias.
84782         * sysdeps/unix/sysv/linux/prlimit.c: New file.
84784         [BZ #11903]
84785         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
84786         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
84788         * nss/Makefile: Add rules to build and run tst-nss-test1.
84789         * shlib-versions: Add entry for libnss_test1.
84790         * nss/nss_test1.c: New file.
84791         * nss/tst-nss-test1.c: New file.
84793         * nss/nsswitch.c (__nss_database_custom): Define new variable.
84794         (__nss_configure_lookup): Set appropriate entry in
84795         __nss_configure_lookup to true.
84796         * nss/nsswitch.h: Define enum with indeces of databases in
84797         databases and __nss_database_custom arrays.  Declare
84798         __nss_database_custom.
84799         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
84800         to avoid using nscd when custom rules are installed.
84801         * nss/getXXbyYY_r.c: Likewise.
84802         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
84804         * nss/nss_files/files-parse.c: Whitespace fixes.
84806 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
84808         [BZ #11883]
84809         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
84810         * posix/fnmatch_loop.c: Likewise.
84812 2010-07-17  Andi Kleen  <ak@linux.intel.com>
84814         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
84815         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
84816         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
84817         * Versions.def [GLIBC_2.13]: Add.
84819 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
84821         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
84822         Also fail if tpwd after pwuid call is NULL.
84824 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84826         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
84827         when converting to ms.
84829 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84831         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
84832         EOPNOTSUPP errors with ENOTTY.
84833         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
84834         EOPNOTSUPP errors with ENOTTY.
84836 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
84838         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
84839         Add strcasecmp_l-ssse3.
84840         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
84841         strcasecmp.
84842         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
84843         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
84844         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
84846 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
84848         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
84850         * string/Makefile (strop-tests): Add strcasecmp.
84851         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
84852         strcasecmp_l-nonascii.
84853         (gen-as-const-headers): Add locale-defines.sym.
84854         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
84855         * sysdeps/x86_64/strcasecmp.S: New file.
84856         * sysdeps/x86_64/strcasecmp_l.S: New file.
84857         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
84858         * sysdeps/x86_64/locale-defines.sym: New file.
84859         * string/test-strcasecmp.c: New file.
84861         * string/test-strcasestr.c: Test both ends of the range of characters.
84862         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
84864 2010-07-29  Roland McGrath  <roland@redhat.com>
84866         [BZ #11856]
84867         * manual/locale.texi (Yes-or-No Questions): Fix example code.
84869 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
84871         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
84872         for ld.so.
84874 2010-07-27  Andreas Schwab  <schwab@redhat.com>
84876         * manual/memory.texi (Malloc Tunable Parameters): Document
84877         M_PERTURB.
84879 2010-07-26  Roland McGrath  <roland@redhat.com>
84881         [BZ #11840]
84882         * configure.in (-fgnu89-inline check): Set and substitute
84883         gnu89_inline, not libc_cv_gnu89_inline.
84884         * configure: Regenerated.
84885         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
84887 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
84889         * string/test-strnlen.c: New file.
84890         * string/Makefile (strop-tests): Add strnlen.
84891         * string/tester.c (test_strnlen): Add a few more test cases.
84892         * string/tst-strlen.c: Better error reporting.
84894         * sysdeps/x86_64/strnlen.S: New file.
84896 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
84898         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
84899         lower-latency instructions.
84901 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
84903         * string/test-strcasestr.c: New file.
84904         * string/test-strstr.c: New file.
84905         * string/Makefile (strop-tests): Add strstr and strcasestr.
84906         * string/str-two-way.h: Don't undefine MAX.
84907         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
84909 2010-07-21  Andreas Schwab  <schwab@redhat.com>
84911         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84912         strcasestr-nonascii.
84913         (CFLAGS-strcasestr-nonascii.c): Define.
84914         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
84915         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
84916         Remove unused attribute.
84918 2010-07-20  Roland McGrath  <roland@redhat.com>
84920         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
84921         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
84922         ld.so.cache was broken.  With it, there is no way to disable dsocaps
84923         like LD_HWCAP_MASK can disable hwcaps.
84925 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
84927         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
84929 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
84931         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
84932         call in strcasestr.
84933         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
84934         __strcasestr_sse42_nonascii.
84935         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
84936         strcasestr-nonascii.c.
84937         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
84939 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
84941         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
84942         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
84943         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
84944         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
84946 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
84948         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
84949         fcntl.
84951 2010-07-06  Andreas Schwab  <schwab@redhat.com>
84953         [BZ #11577]
84954         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
84955         dl_signal_cerror.
84957 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
84959         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
84960         _PC_PIPE_BUF using F_GETPIPE_SZ.
84962 2010-07-05  Roland McGrath  <roland@redhat.com>
84964         * manual/arith.texi (Rounding Functions): Fix rint description
84965         implicit in round description.
84967 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
84969         * elf/Makefile: Fix linking for a few tests to make recent linker
84970         happy.
84972 2010-06-30  Andreas Schwab  <schwab@redhat.com>
84974         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
84975         $(common-objpfx)libc_nonshared.a.
84977 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
84979         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
84980         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
84981         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84982         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84983         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
84984         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
84985         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84986         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
84987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
84988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
84989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
84990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
84991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
84992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
84993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
84994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
84995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
84996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
84997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
84998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
84999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85001         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85002         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85003         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85004         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85005         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85006         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85007         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85008         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85009         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85010         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85011         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85012         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85028 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85030         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85031         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85032         * string/memmove.c (memmove): Renamed to ...
85033         (MEMMOVE): ...this.  Default to memmove.
85034         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85035         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85036         (END_CHK): Define.
85037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85038         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85039         mempcpy-ssse3-back memmove-ssse3-back.
85040         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85041         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85042         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85043         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85044         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85045         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85046         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85047         * sysdeps/x86_64/multiarch/memmove.c: New file.
85048         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85049         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85050         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85051         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85052         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85053         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85054         Define.
85055         (index_Fast_Copy_Backward): Define.
85056         (HAS_ARCH_FEATURE): Define.
85057         (HAS_FAST_REP_STRING): Define.
85058         (HAS_FAST_COPY_BACKWARD): Define.
85060 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85062         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85063         Restore proper fallback handling.
85065 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85067         [BZ #11701]
85068         * posix/group_member.c (__group_member): Correct checking loop.
85070         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85071         OOM in getpwuid_r correctly.  Return error number when the caller
85072         should return, otherwise -1.
85073         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85074         call returning > 0 value.
85075         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85077 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85079         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85080         libc_nonshared.a from targets in modules-names.
85082 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85084         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85085         requires it.
85087 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85089         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85090         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85091         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85092         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85094 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85096         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85098 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85100         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85101         and F_GETPIPE_SZ.
85102         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85103         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85104         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85105         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85106         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85107         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85109 2010-06-14  Roland McGrath  <roland@redhat.com>
85111         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85113 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85115         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85116         __REDIRECT followed by __THROW.
85117         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85118         * posix/getopt.h (getopt): Likewise.
85120 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85122         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85123         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85124         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85125         in AT_FLAGS.
85126         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85127         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85129 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85131         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85133 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
85135         [BZ #11640]
85136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85137         Properly check family and model.
85139 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
85141         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
85143 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
85145         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
85147 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
85149         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
85150         symbol reference.
85152 2010-05-19  Andreas Schwab  <schwab@redhat.com>
85154         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
85155         symbol reference.
85157 2010-05-21  Andreas Schwab  <schwab@redhat.com>
85159         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
85160         and internal_recvmmsg.
85161         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
85162         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
85163         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
85164         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
85166         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
85167         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
85168         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
85170 2010-05-20  Andreas Schwab  <schwab@redhat.com>
85172         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
85174 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
85176         POWER7 optimizations.
85177         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
85178         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
85180 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
85182         * version.h: Update for 2.13 development version.
85184 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
85186         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
85187         exceptions.  Return 0.
85189 2010-05-07  Roland McGrath  <roland@redhat.com>
85191         * elf/ldconfig.c (main): Add a const.
85193 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
85195         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
85196         (args_options): Add no-idn option.
85197         (ahosts_keys_int): Add idn_flags to ai_flags.
85198         (parse_option): Handle 'i' option to clear idn_flags.
85200         * malloc/malloc.c (_int_free): Possible race in the most recently
85201         added check.  Only act on the data if no current modification
85202         happened.
85204 See ChangeLog.17 for earlier changes.